kernel32: Make CompareStringEx semi-stub flag FIXME only show once.
[wine.git] / configure
blob4d513c25c600434aded5d7337266cfa5a5305b3c
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.8.
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.8'
584 PACKAGE_STRING='Wine 1.8'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 LINGUAS
629 ALL_VARS_RULES
630 LDAP_LIBS
631 RT_LIBS
632 POLL_LIBS
633 DL_LIBS
634 TOOLSEXT
635 UNWINDFLAGS
636 EXCESS_PRECISION_CFLAGS
637 BUILTINFLAG
638 EXTRACFLAGS
639 PROCSTAT_LIBS
640 KSTAT_LIBS
641 MPG123_LIBS
642 MPG123_CFLAGS
643 TIFF_LIBS
644 TIFF_CFLAGS
645 PNG_LIBS
646 PNG_CFLAGS
647 JPEG_LIBS
648 JPEG_CFLAGS
649 FONTCONFIG_LIBS
650 FONTCONFIG_CFLAGS
651 CUPS_CFLAGS
652 CAPI20_LIBS
653 CAPI20_CFLAGS
654 OSS4_CFLAGS
655 ALSA_LIBS
656 GSTREAMER_LIBS
657 GSTREAMER_CFLAGS
658 PULSE_LIBS
659 PULSE_CFLAGS
660 GETTEXTPO_LIBS
661 Z_LIBS
662 FREETYPE_LIBS
663 FREETYPE_CFLAGS
664 LCMS2_LIBS
665 LCMS2_CFLAGS
666 RESOLV_LIBS
667 GPHOTO2_PORT_LIBS
668 GPHOTO2_PORT_CFLAGS
669 GPHOTO2_LIBS
670 GPHOTO2_CFLAGS
671 SANE_LIBS
672 SANE_CFLAGS
673 GNUTLS_LIBS
674 GNUTLS_CFLAGS
675 HAL_LIBS
676 HAL_CFLAGS
677 DBUS_LIBS
678 DBUS_CFLAGS
679 XSLT_LIBS
680 XSLT_CFLAGS
681 XML2_LIBS
682 XML2_CFLAGS
683 PCAP_LIBS
684 X_EXTRA_LIBS
685 X_LIBS
686 X_PRE_LIBS
687 X_CFLAGS
688 XMKMF
689 PTHREAD_LIBS
690 CROSSCC
691 CROSSTARGET
692 PRELINK
693 WINELOADER_DEPENDS
694 CARBON_LIBS
695 QUICKTIME_LIBS
696 OPENCL_LIBS
697 OPENAL_LIBS
698 COREAUDIO_LIBS
699 SECURITY_LIBS
700 DISKARBITRATION_LIBS
701 APPKIT_LIBS
702 CORESERVICES_LIBS
703 APPLICATIONSERVICES_LIBS
704 FORCEFEEDBACK_LIBS
705 IOKIT_LIBS
706 COREFOUNDATION_LIBS
707 LIBWINE_DEPENDS
708 LIBWINE_LDFLAGS
709 LIBWINE_INSTALL_DEV
710 LIBWINE_INSTALL_LIB
711 LIBWINE_IMPORTLIB
712 LIBWINE_SHAREDLIB
713 SOCKET_LIBS
714 DLLTOOL
715 WINELOADER_PROGRAMS
716 ALL_TEST_RESOURCES
717 READELF
718 OTOOL
720 LDEXECFLAGS
721 LDRPATH_LOCAL
722 LDRPATH_INSTALL
723 DLLFLAGS
724 dlldir
726 OPENGL_LIBS
727 ICOTOOL
728 CONVERT
729 RSVG
730 FONTFORGE
731 PKG_CONFIG
732 MSGFMT
733 LDCONFIG
734 EGREP
735 GREP
736 LN_S
737 RANLIB
738 ARFLAGS
739 STRIP
740 ac_ct_AR
742 BISON
743 FLEX
744 TOOLSDIR
745 TARGETFLAGS
747 CPPBIN
748 ac_ct_CXX
749 CXXFLAGS
751 OBJEXT
752 EXEEXT
753 ac_ct_CC
754 CPPFLAGS
755 LDFLAGS
756 CFLAGS
758 SET_MAKE
759 host_os
760 host_vendor
761 host_cpu
762 host
763 build_os
764 build_vendor
765 build_cpu
766 build
767 target_alias
768 host_alias
769 build_alias
770 LIBS
771 ECHO_T
772 ECHO_N
773 ECHO_C
774 DEFS
775 mandir
776 localedir
777 libdir
778 psdir
779 pdfdir
780 dvidir
781 htmldir
782 infodir
783 docdir
784 oldincludedir
785 includedir
786 runstatedir
787 localstatedir
788 sharedstatedir
789 sysconfdir
790 datadir
791 datarootdir
792 libexecdir
793 sbindir
794 bindir
795 program_transform_name
796 prefix
797 exec_prefix
798 PACKAGE_URL
799 PACKAGE_BUGREPORT
800 PACKAGE_STRING
801 PACKAGE_VERSION
802 PACKAGE_TARNAME
803 PACKAGE_NAME
804 PATH_SEPARATOR
805 SHELL'
806 ac_subst_files=''
807 ac_user_opts='
808 enable_option_checking
809 enable_win16
810 enable_win64
811 enable_tests
812 enable_maintainer_mode
813 with_alsa
814 with_capi
815 with_cms
816 with_coreaudio
817 with_cups
818 with_curses
819 with_dbus
820 with_fontconfig
821 with_freetype
822 with_gettext
823 with_gettextpo
824 with_gphoto
825 with_glu
826 with_gnutls
827 with_gsm
828 with_gstreamer
829 with_hal
830 with_jpeg
831 with_ldap
832 with_mpg123
833 with_netapi
834 with_openal
835 with_opencl
836 with_opengl
837 with_osmesa
838 with_oss
839 with_pcap
840 with_png
841 with_pthread
842 with_pulse
843 with_sane
844 with_tiff
845 with_v4l
846 with_xcomposite
847 with_xcursor
848 with_xinerama
849 with_xinput
850 with_xinput2
851 with_xml
852 with_xrandr
853 with_xrender
854 with_xshape
855 with_xshm
856 with_xslt
857 with_xxf86vm
858 with_zlib
859 with_wine_tools
860 with_wine64
861 enable_largefile
862 with_x
863 enable_acledit
864 enable_aclui
865 enable_activeds
866 enable_actxprxy
867 enable_advapi32
868 enable_advpack
869 enable_amstream
870 enable_api_ms_win_core_com_l1_1_0
871 enable_api_ms_win_core_console_l1_1_0
872 enable_api_ms_win_core_datetime_l1_1_0
873 enable_api_ms_win_core_datetime_l1_1_1
874 enable_api_ms_win_core_debug_l1_1_0
875 enable_api_ms_win_core_debug_l1_1_1
876 enable_api_ms_win_core_errorhandling_l1_1_0
877 enable_api_ms_win_core_errorhandling_l1_1_1
878 enable_api_ms_win_core_errorhandling_l1_1_2
879 enable_api_ms_win_core_fibers_l1_1_0
880 enable_api_ms_win_core_fibers_l1_1_1
881 enable_api_ms_win_core_file_l1_1_0
882 enable_api_ms_win_core_file_l1_2_0
883 enable_api_ms_win_core_file_l2_1_0
884 enable_api_ms_win_core_file_l2_1_1
885 enable_api_ms_win_core_handle_l1_1_0
886 enable_api_ms_win_core_heap_l1_1_0
887 enable_api_ms_win_core_heap_l1_2_0
888 enable_api_ms_win_core_heap_obsolete_l1_1_0
889 enable_api_ms_win_core_interlocked_l1_1_0
890 enable_api_ms_win_core_interlocked_l1_2_0
891 enable_api_ms_win_core_io_l1_1_1
892 enable_api_ms_win_core_kernel32_legacy_l1_1_0
893 enable_api_ms_win_core_libraryloader_l1_1_0
894 enable_api_ms_win_core_libraryloader_l1_1_1
895 enable_api_ms_win_core_localization_l1_2_0
896 enable_api_ms_win_core_localization_l1_2_1
897 enable_api_ms_win_core_localization_obsolete_l1_1_0
898 enable_api_ms_win_core_localregistry_l1_1_0
899 enable_api_ms_win_core_memory_l1_1_0
900 enable_api_ms_win_core_memory_l1_1_1
901 enable_api_ms_win_core_misc_l1_1_0
902 enable_api_ms_win_core_namedpipe_l1_1_0
903 enable_api_ms_win_core_namedpipe_l1_2_0
904 enable_api_ms_win_core_path_l1_1_0
905 enable_api_ms_win_core_processenvironment_l1_1_0
906 enable_api_ms_win_core_processenvironment_l1_2_0
907 enable_api_ms_win_core_processthreads_l1_1_0
908 enable_api_ms_win_core_processthreads_l1_1_1
909 enable_api_ms_win_core_processthreads_l1_1_2
910 enable_api_ms_win_core_profile_l1_1_0
911 enable_api_ms_win_core_psapi_l1_1_0
912 enable_api_ms_win_core_registry_l1_1_0
913 enable_api_ms_win_core_rtlsupport_l1_1_0
914 enable_api_ms_win_core_rtlsupport_l1_2_0
915 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
916 enable_api_ms_win_core_string_l1_1_0
917 enable_api_ms_win_core_synch_l1_1_0
918 enable_api_ms_win_core_synch_l1_2_0
919 enable_api_ms_win_core_sysinfo_l1_1_0
920 enable_api_ms_win_core_sysinfo_l1_2_0
921 enable_api_ms_win_core_sysinfo_l1_2_1
922 enable_api_ms_win_core_threadpool_legacy_l1_1_0
923 enable_api_ms_win_core_timezone_l1_1_0
924 enable_api_ms_win_core_url_l1_1_0
925 enable_api_ms_win_core_util_l1_1_0
926 enable_api_ms_win_core_winrt_error_l1_1_0
927 enable_api_ms_win_core_winrt_error_l1_1_1
928 enable_api_ms_win_core_winrt_l1_1_0
929 enable_api_ms_win_core_winrt_string_l1_1_0
930 enable_api_ms_win_core_xstate_l2_1_0
931 enable_api_ms_win_crt_conio_l1_1_0
932 enable_api_ms_win_crt_convert_l1_1_0
933 enable_api_ms_win_crt_environment_l1_1_0
934 enable_api_ms_win_crt_filesystem_l1_1_0
935 enable_api_ms_win_crt_heap_l1_1_0
936 enable_api_ms_win_crt_locale_l1_1_0
937 enable_api_ms_win_crt_math_l1_1_0
938 enable_api_ms_win_crt_multibyte_l1_1_0
939 enable_api_ms_win_crt_private_l1_1_0
940 enable_api_ms_win_crt_process_l1_1_0
941 enable_api_ms_win_crt_runtime_l1_1_0
942 enable_api_ms_win_crt_stdio_l1_1_0
943 enable_api_ms_win_crt_string_l1_1_0
944 enable_api_ms_win_crt_time_l1_1_0
945 enable_api_ms_win_crt_utility_l1_1_0
946 enable_api_ms_win_downlevel_advapi32_l1_1_0
947 enable_api_ms_win_downlevel_advapi32_l2_1_0
948 enable_api_ms_win_downlevel_normaliz_l1_1_0
949 enable_api_ms_win_downlevel_ole32_l1_1_0
950 enable_api_ms_win_downlevel_shell32_l1_1_0
951 enable_api_ms_win_downlevel_shlwapi_l1_1_0
952 enable_api_ms_win_downlevel_shlwapi_l2_1_0
953 enable_api_ms_win_downlevel_user32_l1_1_0
954 enable_api_ms_win_downlevel_version_l1_1_0
955 enable_api_ms_win_eventing_provider_l1_1_0
956 enable_api_ms_win_ntuser_dc_access_l1_1_0
957 enable_api_ms_win_security_base_l1_1_0
958 enable_api_ms_win_security_base_l1_2_0
959 enable_api_ms_win_security_sddl_l1_1_0
960 enable_api_ms_win_service_core_l1_1_1
961 enable_api_ms_win_service_management_l1_1_0
962 enable_api_ms_win_service_winsvc_l1_2_0
963 enable_apphelp
964 enable_appwiz_cpl
965 enable_atl
966 enable_atl100
967 enable_atl110
968 enable_atl80
969 enable_atl90
970 enable_authz
971 enable_avicap32
972 enable_avifil32
973 enable_avrt
974 enable_bcrypt
975 enable_bluetoothapis
976 enable_browseui
977 enable_bthprops_cpl
978 enable_cabinet
979 enable_capi2032
980 enable_cards
981 enable_cfgmgr32
982 enable_clusapi
983 enable_combase
984 enable_comcat
985 enable_comctl32
986 enable_comdlg32
987 enable_compstui
988 enable_comsvcs
989 enable_connect
990 enable_credui
991 enable_crtdll
992 enable_crypt32
993 enable_cryptdlg
994 enable_cryptdll
995 enable_cryptext
996 enable_cryptnet
997 enable_cryptui
998 enable_ctapi32
999 enable_ctl3d32
1000 enable_d2d1
1001 enable_d3d10
1002 enable_d3d10_1
1003 enable_d3d10core
1004 enable_d3d11
1005 enable_d3d8
1006 enable_d3d9
1007 enable_d3dcompiler_33
1008 enable_d3dcompiler_34
1009 enable_d3dcompiler_35
1010 enable_d3dcompiler_36
1011 enable_d3dcompiler_37
1012 enable_d3dcompiler_38
1013 enable_d3dcompiler_39
1014 enable_d3dcompiler_40
1015 enable_d3dcompiler_41
1016 enable_d3dcompiler_42
1017 enable_d3dcompiler_43
1018 enable_d3dcompiler_46
1019 enable_d3dcompiler_47
1020 enable_d3dim
1021 enable_d3drm
1022 enable_d3dx10_33
1023 enable_d3dx10_34
1024 enable_d3dx10_35
1025 enable_d3dx10_36
1026 enable_d3dx10_37
1027 enable_d3dx10_38
1028 enable_d3dx10_39
1029 enable_d3dx10_40
1030 enable_d3dx10_41
1031 enable_d3dx10_42
1032 enable_d3dx10_43
1033 enable_d3dx11_42
1034 enable_d3dx11_43
1035 enable_d3dx9_24
1036 enable_d3dx9_25
1037 enable_d3dx9_26
1038 enable_d3dx9_27
1039 enable_d3dx9_28
1040 enable_d3dx9_29
1041 enable_d3dx9_30
1042 enable_d3dx9_31
1043 enable_d3dx9_32
1044 enable_d3dx9_33
1045 enable_d3dx9_34
1046 enable_d3dx9_35
1047 enable_d3dx9_36
1048 enable_d3dx9_37
1049 enable_d3dx9_38
1050 enable_d3dx9_39
1051 enable_d3dx9_40
1052 enable_d3dx9_41
1053 enable_d3dx9_42
1054 enable_d3dx9_43
1055 enable_d3dxof
1056 enable_davclnt
1057 enable_dbgeng
1058 enable_dbghelp
1059 enable_dciman32
1060 enable_ddraw
1061 enable_ddrawex
1062 enable_devenum
1063 enable_dhcpcsvc
1064 enable_difxapi
1065 enable_dinput
1066 enable_dinput8
1067 enable_dispex
1068 enable_dmband
1069 enable_dmcompos
1070 enable_dmime
1071 enable_dmloader
1072 enable_dmscript
1073 enable_dmstyle
1074 enable_dmsynth
1075 enable_dmusic
1076 enable_dmusic32
1077 enable_dnsapi
1078 enable_dplay
1079 enable_dplayx
1080 enable_dpnaddr
1081 enable_dpnet
1082 enable_dpnhpast
1083 enable_dpnlobby
1084 enable_dpvoice
1085 enable_dpwsockx
1086 enable_drmclien
1087 enable_dsound
1088 enable_dssenh
1089 enable_dswave
1090 enable_dwmapi
1091 enable_dwrite
1092 enable_dxdiagn
1093 enable_dxgi
1094 enable_dxva2
1095 enable_esent
1096 enable_evr
1097 enable_explorerframe
1098 enable_ext_ms_win_gdi_devcaps_l1_1_0
1099 enable_faultrep
1100 enable_fltlib
1101 enable_fltmgr_sys
1102 enable_fntcache
1103 enable_fontsub
1104 enable_fusion
1105 enable_fwpuclnt
1106 enable_gameux
1107 enable_gdi32
1108 enable_gdiplus
1109 enable_glu32
1110 enable_gphoto2_ds
1111 enable_gpkcsp
1112 enable_hal
1113 enable_hhctrl_ocx
1114 enable_hid
1115 enable_hidclass_sys
1116 enable_hlink
1117 enable_hnetcfg
1118 enable_httpapi
1119 enable_iccvid
1120 enable_icmp
1121 enable_ieframe
1122 enable_imaadp32_acm
1123 enable_imagehlp
1124 enable_imm32
1125 enable_inetcomm
1126 enable_inetcpl_cpl
1127 enable_inetmib1
1128 enable_infosoft
1129 enable_initpki
1130 enable_inkobj
1131 enable_inseng
1132 enable_iphlpapi
1133 enable_itircl
1134 enable_itss
1135 enable_joy_cpl
1136 enable_jscript
1137 enable_jsproxy
1138 enable_kernel32
1139 enable_ksuser
1140 enable_ktmw32
1141 enable_loadperf
1142 enable_localspl
1143 enable_localui
1144 enable_lz32
1145 enable_mapi32
1146 enable_mapistub
1147 enable_mciavi32
1148 enable_mcicda
1149 enable_mciqtz32
1150 enable_mciseq
1151 enable_mciwave
1152 enable_mf
1153 enable_mfplat
1154 enable_mfreadwrite
1155 enable_mgmtapi
1156 enable_midimap
1157 enable_mlang
1158 enable_mmcndmgr
1159 enable_mmdevapi
1160 enable_mountmgr_sys
1161 enable_mpr
1162 enable_mprapi
1163 enable_msacm32_drv
1164 enable_msacm32
1165 enable_msadp32_acm
1166 enable_msasn1
1167 enable_mscat32
1168 enable_mscms
1169 enable_mscoree
1170 enable_msctf
1171 enable_msctfp
1172 enable_msdaps
1173 enable_msdelta
1174 enable_msdmo
1175 enable_msftedit
1176 enable_msg711_acm
1177 enable_msgsm32_acm
1178 enable_mshtml_tlb
1179 enable_mshtml
1180 enable_msi
1181 enable_msident
1182 enable_msimg32
1183 enable_msimsg
1184 enable_msimtf
1185 enable_msisip
1186 enable_msisys_ocx
1187 enable_msls31
1188 enable_msnet32
1189 enable_mspatcha
1190 enable_msrle32
1191 enable_msscript_ocx
1192 enable_mssign32
1193 enable_mssip32
1194 enable_mstask
1195 enable_msvcirt
1196 enable_msvcm80
1197 enable_msvcm90
1198 enable_msvcp100
1199 enable_msvcp110
1200 enable_msvcp120
1201 enable_msvcp120_app
1202 enable_msvcp60
1203 enable_msvcp70
1204 enable_msvcp71
1205 enable_msvcp80
1206 enable_msvcp90
1207 enable_msvcr100
1208 enable_msvcr110
1209 enable_msvcr120
1210 enable_msvcr120_app
1211 enable_msvcr70
1212 enable_msvcr71
1213 enable_msvcr80
1214 enable_msvcr90
1215 enable_msvcrt
1216 enable_msvcrt20
1217 enable_msvcrt40
1218 enable_msvcrtd
1219 enable_msvfw32
1220 enable_msvidc32
1221 enable_mswsock
1222 enable_msxml
1223 enable_msxml2
1224 enable_msxml3
1225 enable_msxml4
1226 enable_msxml6
1227 enable_nddeapi
1228 enable_ndis_sys
1229 enable_netapi32
1230 enable_netcfgx
1231 enable_netprofm
1232 enable_newdev
1233 enable_normaliz
1234 enable_npmshtml
1235 enable_npptools
1236 enable_ntdll
1237 enable_ntdsapi
1238 enable_ntoskrnl_exe
1239 enable_ntprint
1240 enable_objsel
1241 enable_odbc32
1242 enable_odbccp32
1243 enable_odbccu32
1244 enable_ole32
1245 enable_oleacc
1246 enable_oleaut32
1247 enable_olecli32
1248 enable_oledb32
1249 enable_oledlg
1250 enable_olepro32
1251 enable_olesvr32
1252 enable_olethk32
1253 enable_openal32
1254 enable_opencl
1255 enable_opengl32
1256 enable_packager
1257 enable_pdh
1258 enable_photometadatahandler
1259 enable_pidgen
1260 enable_powrprof
1261 enable_printui
1262 enable_prntvpt
1263 enable_propsys
1264 enable_psapi
1265 enable_pstorec
1266 enable_qcap
1267 enable_qedit
1268 enable_qmgr
1269 enable_qmgrprxy
1270 enable_quartz
1271 enable_query
1272 enable_rasapi32
1273 enable_rasdlg
1274 enable_regapi
1275 enable_resutils
1276 enable_riched20
1277 enable_riched32
1278 enable_rpcrt4
1279 enable_rsabase
1280 enable_rsaenh
1281 enable_rstrtmgr
1282 enable_rtutils
1283 enable_samlib
1284 enable_sane_ds
1285 enable_scarddlg
1286 enable_sccbase
1287 enable_schannel
1288 enable_schedsvc
1289 enable_scrrun
1290 enable_scsiport_sys
1291 enable_secur32
1292 enable_security
1293 enable_sensapi
1294 enable_serialui
1295 enable_setupapi
1296 enable_sfc
1297 enable_sfc_os
1298 enable_shdoclc
1299 enable_shdocvw
1300 enable_shell32
1301 enable_shfolder
1302 enable_shlwapi
1303 enable_slbcsp
1304 enable_slc
1305 enable_snmpapi
1306 enable_softpub
1307 enable_spoolss
1308 enable_stdole2_tlb
1309 enable_stdole32_tlb
1310 enable_sti
1311 enable_svrapi
1312 enable_sxs
1313 enable_t2embed
1314 enable_tapi32
1315 enable_taskschd
1316 enable_tdi_sys
1317 enable_traffic
1318 enable_twain_32
1319 enable_ucrtbase
1320 enable_unicows
1321 enable_updspapi
1322 enable_url
1323 enable_urlmon
1324 enable_usbd_sys
1325 enable_user32
1326 enable_userenv
1327 enable_usp10
1328 enable_uxtheme
1329 enable_vbscript
1330 enable_vcomp
1331 enable_vcomp100
1332 enable_vcomp110
1333 enable_vcomp120
1334 enable_vcomp90
1335 enable_vcruntime140
1336 enable_vdmdbg
1337 enable_version
1338 enable_vssapi
1339 enable_wbemdisp
1340 enable_wbemprox
1341 enable_webservices
1342 enable_wer
1343 enable_wevtapi
1344 enable_wiaservc
1345 enable_wimgapi
1346 enable_windowscodecs
1347 enable_windowscodecsext
1348 enable_winealsa_drv
1349 enable_winecoreaudio_drv
1350 enable_wined3d
1351 enable_winegstreamer
1352 enable_winejoystick_drv
1353 enable_winemac_drv
1354 enable_winemapi
1355 enable_winemp3_acm
1356 enable_wineoss_drv
1357 enable_wineps_drv
1358 enable_winepulse_drv
1359 enable_wineqtdecoder
1360 enable_winex11_drv
1361 enable_wing32
1362 enable_winhttp
1363 enable_wininet
1364 enable_winmm
1365 enable_winnls32
1366 enable_winscard
1367 enable_winspool_drv
1368 enable_winsta
1369 enable_wintab32
1370 enable_wintrust
1371 enable_wlanapi
1372 enable_wldap32
1373 enable_wmi
1374 enable_wmiutils
1375 enable_wmp
1376 enable_wmvcore
1377 enable_wnaspi32
1378 enable_wpcap
1379 enable_ws2_32
1380 enable_wshom_ocx
1381 enable_wsnmp32
1382 enable_wsock32
1383 enable_wtsapi32
1384 enable_wuapi
1385 enable_wuaueng
1386 enable_x3daudio1_0
1387 enable_x3daudio1_1
1388 enable_x3daudio1_2
1389 enable_x3daudio1_3
1390 enable_x3daudio1_4
1391 enable_x3daudio1_5
1392 enable_x3daudio1_6
1393 enable_x3daudio1_7
1394 enable_xapofx1_1
1395 enable_xapofx1_2
1396 enable_xapofx1_3
1397 enable_xapofx1_4
1398 enable_xapofx1_5
1399 enable_xaudio2_0
1400 enable_xaudio2_1
1401 enable_xaudio2_2
1402 enable_xaudio2_3
1403 enable_xaudio2_4
1404 enable_xaudio2_5
1405 enable_xaudio2_6
1406 enable_xaudio2_7
1407 enable_xaudio2_8
1408 enable_xinput1_1
1409 enable_xinput1_2
1410 enable_xinput1_3
1411 enable_xinput1_4
1412 enable_xinput9_1_0
1413 enable_xmllite
1414 enable_xolehlp
1415 enable_xpsprint
1416 enable_xpssvcs
1417 enable_fonts
1418 enable_include
1419 enable_libs_port
1420 enable_libs_wine
1421 enable_libs_wpp
1422 enable_loader
1423 enable_arp
1424 enable_aspnet_regiis
1425 enable_attrib
1426 enable_cabarc
1427 enable_cacls
1428 enable_clock
1429 enable_cmd
1430 enable_conhost
1431 enable_control
1432 enable_cscript
1433 enable_dpnsvr
1434 enable_dxdiag
1435 enable_eject
1436 enable_expand
1437 enable_explorer
1438 enable_extrac32
1439 enable_findstr
1440 enable_hh
1441 enable_hostname
1442 enable_icinfo
1443 enable_iexplore
1444 enable_ipconfig
1445 enable_lodctr
1446 enable_mofcomp
1447 enable_mshta
1448 enable_msiexec
1449 enable_net
1450 enable_netsh
1451 enable_netstat
1452 enable_ngen
1453 enable_notepad
1454 enable_oleview
1455 enable_ping
1456 enable_plugplay
1457 enable_presentationfontcache
1458 enable_progman
1459 enable_reg
1460 enable_regasm
1461 enable_regedit
1462 enable_regsvcs
1463 enable_regsvr32
1464 enable_rpcss
1465 enable_rundll32
1466 enable_sc
1467 enable_schtasks
1468 enable_sdbinst
1469 enable_secedit
1470 enable_servicemodelreg
1471 enable_services
1472 enable_spoolsv
1473 enable_start
1474 enable_svchost
1475 enable_systeminfo
1476 enable_taskkill
1477 enable_tasklist
1478 enable_taskmgr
1479 enable_termsv
1480 enable_uninstaller
1481 enable_unlodctr
1482 enable_view
1483 enable_wevtutil
1484 enable_wineboot
1485 enable_winebrowser
1486 enable_winecfg
1487 enable_wineconsole
1488 enable_winedbg
1489 enable_winedevice
1490 enable_winefile
1491 enable_winemenubuilder
1492 enable_winemine
1493 enable_winemsibuilder
1494 enable_winepath
1495 enable_winetest
1496 enable_winhlp32
1497 enable_winver
1498 enable_wmic
1499 enable_wmplayer
1500 enable_wordpad
1501 enable_write
1502 enable_wscript
1503 enable_wusa
1504 enable_xcopy
1505 enable_server
1506 enable_tools
1508 ac_precious_vars='build_alias
1509 host_alias
1510 target_alias
1512 CFLAGS
1513 LDFLAGS
1514 LIBS
1515 CPPFLAGS
1517 CXXFLAGS
1520 XMKMF
1521 XML2_CFLAGS
1522 XML2_LIBS
1523 XSLT_CFLAGS
1524 XSLT_LIBS
1525 DBUS_CFLAGS
1526 DBUS_LIBS
1527 HAL_CFLAGS
1528 HAL_LIBS
1529 GNUTLS_CFLAGS
1530 GNUTLS_LIBS
1531 SANE_CFLAGS
1532 SANE_LIBS
1533 GPHOTO2_CFLAGS
1534 GPHOTO2_LIBS
1535 GPHOTO2_PORT_CFLAGS
1536 GPHOTO2_PORT_LIBS
1537 LCMS2_CFLAGS
1538 LCMS2_LIBS
1539 FREETYPE_CFLAGS
1540 FREETYPE_LIBS
1541 PULSE_CFLAGS
1542 PULSE_LIBS
1543 GSTREAMER_CFLAGS
1544 GSTREAMER_LIBS
1545 CAPI20_CFLAGS
1546 CAPI20_LIBS
1547 FONTCONFIG_CFLAGS
1548 FONTCONFIG_LIBS
1549 JPEG_CFLAGS
1550 JPEG_LIBS
1551 PNG_CFLAGS
1552 PNG_LIBS
1553 TIFF_CFLAGS
1554 TIFF_LIBS
1555 MPG123_CFLAGS
1556 MPG123_LIBS'
1559 # Initialize some variables set by options.
1560 ac_init_help=
1561 ac_init_version=false
1562 ac_unrecognized_opts=
1563 ac_unrecognized_sep=
1564 # The variables have the same names as the options, with
1565 # dashes changed to underlines.
1566 cache_file=/dev/null
1567 exec_prefix=NONE
1568 no_create=
1569 no_recursion=
1570 prefix=NONE
1571 program_prefix=NONE
1572 program_suffix=NONE
1573 program_transform_name=s,x,x,
1574 silent=
1575 site=
1576 srcdir=
1577 verbose=
1578 x_includes=NONE
1579 x_libraries=NONE
1581 # Installation directory options.
1582 # These are left unexpanded so users can "make install exec_prefix=/foo"
1583 # and all the variables that are supposed to be based on exec_prefix
1584 # by default will actually change.
1585 # Use braces instead of parens because sh, perl, etc. also accept them.
1586 # (The list follows the same order as the GNU Coding Standards.)
1587 bindir='${exec_prefix}/bin'
1588 sbindir='${exec_prefix}/sbin'
1589 libexecdir='${exec_prefix}/libexec'
1590 datarootdir='${prefix}/share'
1591 datadir='${datarootdir}'
1592 sysconfdir='${prefix}/etc'
1593 sharedstatedir='${prefix}/com'
1594 localstatedir='${prefix}/var'
1595 runstatedir='${localstatedir}/run'
1596 includedir='${prefix}/include'
1597 oldincludedir='/usr/include'
1598 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1599 infodir='${datarootdir}/info'
1600 htmldir='${docdir}'
1601 dvidir='${docdir}'
1602 pdfdir='${docdir}'
1603 psdir='${docdir}'
1604 libdir='${exec_prefix}/lib'
1605 localedir='${datarootdir}/locale'
1606 mandir='${datarootdir}/man'
1608 ac_prev=
1609 ac_dashdash=
1610 for ac_option
1612 # If the previous option needs an argument, assign it.
1613 if test -n "$ac_prev"; then
1614 eval $ac_prev=\$ac_option
1615 ac_prev=
1616 continue
1619 case $ac_option in
1620 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1621 *=) ac_optarg= ;;
1622 *) ac_optarg=yes ;;
1623 esac
1625 # Accept the important Cygnus configure options, so we can diagnose typos.
1627 case $ac_dashdash$ac_option in
1629 ac_dashdash=yes ;;
1631 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1632 ac_prev=bindir ;;
1633 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1634 bindir=$ac_optarg ;;
1636 -build | --build | --buil | --bui | --bu)
1637 ac_prev=build_alias ;;
1638 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1639 build_alias=$ac_optarg ;;
1641 -cache-file | --cache-file | --cache-fil | --cache-fi \
1642 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1643 ac_prev=cache_file ;;
1644 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1645 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1646 cache_file=$ac_optarg ;;
1648 --config-cache | -C)
1649 cache_file=config.cache ;;
1651 -datadir | --datadir | --datadi | --datad)
1652 ac_prev=datadir ;;
1653 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1654 datadir=$ac_optarg ;;
1656 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1657 | --dataroo | --dataro | --datar)
1658 ac_prev=datarootdir ;;
1659 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1660 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1661 datarootdir=$ac_optarg ;;
1663 -disable-* | --disable-*)
1664 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1665 # Reject names that are not valid shell variable names.
1666 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1667 as_fn_error $? "invalid feature name: $ac_useropt"
1668 ac_useropt_orig=$ac_useropt
1669 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1670 case $ac_user_opts in
1672 "enable_$ac_useropt"
1673 "*) ;;
1674 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1675 ac_unrecognized_sep=', ';;
1676 esac
1677 eval enable_$ac_useropt=no ;;
1679 -docdir | --docdir | --docdi | --doc | --do)
1680 ac_prev=docdir ;;
1681 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1682 docdir=$ac_optarg ;;
1684 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1685 ac_prev=dvidir ;;
1686 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1687 dvidir=$ac_optarg ;;
1689 -enable-* | --enable-*)
1690 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1691 # Reject names that are not valid shell variable names.
1692 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1693 as_fn_error $? "invalid feature name: $ac_useropt"
1694 ac_useropt_orig=$ac_useropt
1695 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1696 case $ac_user_opts in
1698 "enable_$ac_useropt"
1699 "*) ;;
1700 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1701 ac_unrecognized_sep=', ';;
1702 esac
1703 eval enable_$ac_useropt=\$ac_optarg ;;
1705 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1706 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1707 | --exec | --exe | --ex)
1708 ac_prev=exec_prefix ;;
1709 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1710 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1711 | --exec=* | --exe=* | --ex=*)
1712 exec_prefix=$ac_optarg ;;
1714 -gas | --gas | --ga | --g)
1715 # Obsolete; use --with-gas.
1716 with_gas=yes ;;
1718 -help | --help | --hel | --he | -h)
1719 ac_init_help=long ;;
1720 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1721 ac_init_help=recursive ;;
1722 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1723 ac_init_help=short ;;
1725 -host | --host | --hos | --ho)
1726 ac_prev=host_alias ;;
1727 -host=* | --host=* | --hos=* | --ho=*)
1728 host_alias=$ac_optarg ;;
1730 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1731 ac_prev=htmldir ;;
1732 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1733 | --ht=*)
1734 htmldir=$ac_optarg ;;
1736 -includedir | --includedir | --includedi | --included | --include \
1737 | --includ | --inclu | --incl | --inc)
1738 ac_prev=includedir ;;
1739 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1740 | --includ=* | --inclu=* | --incl=* | --inc=*)
1741 includedir=$ac_optarg ;;
1743 -infodir | --infodir | --infodi | --infod | --info | --inf)
1744 ac_prev=infodir ;;
1745 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1746 infodir=$ac_optarg ;;
1748 -libdir | --libdir | --libdi | --libd)
1749 ac_prev=libdir ;;
1750 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1751 libdir=$ac_optarg ;;
1753 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1754 | --libexe | --libex | --libe)
1755 ac_prev=libexecdir ;;
1756 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1757 | --libexe=* | --libex=* | --libe=*)
1758 libexecdir=$ac_optarg ;;
1760 -localedir | --localedir | --localedi | --localed | --locale)
1761 ac_prev=localedir ;;
1762 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1763 localedir=$ac_optarg ;;
1765 -localstatedir | --localstatedir | --localstatedi | --localstated \
1766 | --localstate | --localstat | --localsta | --localst | --locals)
1767 ac_prev=localstatedir ;;
1768 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1769 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1770 localstatedir=$ac_optarg ;;
1772 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1773 ac_prev=mandir ;;
1774 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1775 mandir=$ac_optarg ;;
1777 -nfp | --nfp | --nf)
1778 # Obsolete; use --without-fp.
1779 with_fp=no ;;
1781 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1782 | --no-cr | --no-c | -n)
1783 no_create=yes ;;
1785 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1786 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1787 no_recursion=yes ;;
1789 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1790 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1791 | --oldin | --oldi | --old | --ol | --o)
1792 ac_prev=oldincludedir ;;
1793 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1794 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1795 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1796 oldincludedir=$ac_optarg ;;
1798 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1799 ac_prev=prefix ;;
1800 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1801 prefix=$ac_optarg ;;
1803 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1804 | --program-pre | --program-pr | --program-p)
1805 ac_prev=program_prefix ;;
1806 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1807 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1808 program_prefix=$ac_optarg ;;
1810 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1811 | --program-suf | --program-su | --program-s)
1812 ac_prev=program_suffix ;;
1813 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1814 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1815 program_suffix=$ac_optarg ;;
1817 -program-transform-name | --program-transform-name \
1818 | --program-transform-nam | --program-transform-na \
1819 | --program-transform-n | --program-transform- \
1820 | --program-transform | --program-transfor \
1821 | --program-transfo | --program-transf \
1822 | --program-trans | --program-tran \
1823 | --progr-tra | --program-tr | --program-t)
1824 ac_prev=program_transform_name ;;
1825 -program-transform-name=* | --program-transform-name=* \
1826 | --program-transform-nam=* | --program-transform-na=* \
1827 | --program-transform-n=* | --program-transform-=* \
1828 | --program-transform=* | --program-transfor=* \
1829 | --program-transfo=* | --program-transf=* \
1830 | --program-trans=* | --program-tran=* \
1831 | --progr-tra=* | --program-tr=* | --program-t=*)
1832 program_transform_name=$ac_optarg ;;
1834 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1835 ac_prev=pdfdir ;;
1836 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1837 pdfdir=$ac_optarg ;;
1839 -psdir | --psdir | --psdi | --psd | --ps)
1840 ac_prev=psdir ;;
1841 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1842 psdir=$ac_optarg ;;
1844 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1845 | -silent | --silent | --silen | --sile | --sil)
1846 silent=yes ;;
1848 -runstatedir | --runstatedir | --runstatedi | --runstated \
1849 | --runstate | --runstat | --runsta | --runst | --runs \
1850 | --run | --ru | --r)
1851 ac_prev=runstatedir ;;
1852 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1853 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1854 | --run=* | --ru=* | --r=*)
1855 runstatedir=$ac_optarg ;;
1857 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1858 ac_prev=sbindir ;;
1859 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1860 | --sbi=* | --sb=*)
1861 sbindir=$ac_optarg ;;
1863 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1864 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1865 | --sharedst | --shareds | --shared | --share | --shar \
1866 | --sha | --sh)
1867 ac_prev=sharedstatedir ;;
1868 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1869 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1870 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1871 | --sha=* | --sh=*)
1872 sharedstatedir=$ac_optarg ;;
1874 -site | --site | --sit)
1875 ac_prev=site ;;
1876 -site=* | --site=* | --sit=*)
1877 site=$ac_optarg ;;
1879 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1880 ac_prev=srcdir ;;
1881 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1882 srcdir=$ac_optarg ;;
1884 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1885 | --syscon | --sysco | --sysc | --sys | --sy)
1886 ac_prev=sysconfdir ;;
1887 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1888 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1889 sysconfdir=$ac_optarg ;;
1891 -target | --target | --targe | --targ | --tar | --ta | --t)
1892 ac_prev=target_alias ;;
1893 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1894 target_alias=$ac_optarg ;;
1896 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1897 verbose=yes ;;
1899 -version | --version | --versio | --versi | --vers | -V)
1900 ac_init_version=: ;;
1902 -with-* | --with-*)
1903 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1904 # Reject names that are not valid shell variable names.
1905 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1906 as_fn_error $? "invalid package name: $ac_useropt"
1907 ac_useropt_orig=$ac_useropt
1908 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1909 case $ac_user_opts in
1911 "with_$ac_useropt"
1912 "*) ;;
1913 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1914 ac_unrecognized_sep=', ';;
1915 esac
1916 eval with_$ac_useropt=\$ac_optarg ;;
1918 -without-* | --without-*)
1919 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1920 # Reject names that are not valid shell variable names.
1921 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1922 as_fn_error $? "invalid package name: $ac_useropt"
1923 ac_useropt_orig=$ac_useropt
1924 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1925 case $ac_user_opts in
1927 "with_$ac_useropt"
1928 "*) ;;
1929 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1930 ac_unrecognized_sep=', ';;
1931 esac
1932 eval with_$ac_useropt=no ;;
1934 --x)
1935 # Obsolete; use --with-x.
1936 with_x=yes ;;
1938 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1939 | --x-incl | --x-inc | --x-in | --x-i)
1940 ac_prev=x_includes ;;
1941 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1942 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1943 x_includes=$ac_optarg ;;
1945 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1946 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1947 ac_prev=x_libraries ;;
1948 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1949 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1950 x_libraries=$ac_optarg ;;
1952 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1953 Try \`$0 --help' for more information"
1956 *=*)
1957 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1958 # Reject names that are not valid shell variable names.
1959 case $ac_envvar in #(
1960 '' | [0-9]* | *[!_$as_cr_alnum]* )
1961 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1962 esac
1963 eval $ac_envvar=\$ac_optarg
1964 export $ac_envvar ;;
1967 # FIXME: should be removed in autoconf 3.0.
1968 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1969 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1970 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1971 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1974 esac
1975 done
1977 if test -n "$ac_prev"; then
1978 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1979 as_fn_error $? "missing argument to $ac_option"
1982 if test -n "$ac_unrecognized_opts"; then
1983 case $enable_option_checking in
1984 no) ;;
1985 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1986 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1987 esac
1990 # Check all directory arguments for consistency.
1991 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1992 datadir sysconfdir sharedstatedir localstatedir includedir \
1993 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1994 libdir localedir mandir runstatedir
1996 eval ac_val=\$$ac_var
1997 # Remove trailing slashes.
1998 case $ac_val in
1999 */ )
2000 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2001 eval $ac_var=\$ac_val;;
2002 esac
2003 # Be sure to have absolute directory names.
2004 case $ac_val in
2005 [\\/$]* | ?:[\\/]* ) continue;;
2006 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2007 esac
2008 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2009 done
2011 # There might be people who depend on the old broken behavior: `$host'
2012 # used to hold the argument of --host etc.
2013 # FIXME: To remove some day.
2014 build=$build_alias
2015 host=$host_alias
2016 target=$target_alias
2018 # FIXME: To remove some day.
2019 if test "x$host_alias" != x; then
2020 if test "x$build_alias" = x; then
2021 cross_compiling=maybe
2022 elif test "x$build_alias" != "x$host_alias"; then
2023 cross_compiling=yes
2027 ac_tool_prefix=
2028 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2030 test "$silent" = yes && exec 6>/dev/null
2033 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2034 ac_ls_di=`ls -di .` &&
2035 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2036 as_fn_error $? "working directory cannot be determined"
2037 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2038 as_fn_error $? "pwd does not report name of working directory"
2041 # Find the source files, if location was not specified.
2042 if test -z "$srcdir"; then
2043 ac_srcdir_defaulted=yes
2044 # Try the directory containing this script, then the parent directory.
2045 ac_confdir=`$as_dirname -- "$as_myself" ||
2046 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2047 X"$as_myself" : 'X\(//\)[^/]' \| \
2048 X"$as_myself" : 'X\(//\)$' \| \
2049 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2050 $as_echo X"$as_myself" |
2051 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2052 s//\1/
2055 /^X\(\/\/\)[^/].*/{
2056 s//\1/
2059 /^X\(\/\/\)$/{
2060 s//\1/
2063 /^X\(\/\).*/{
2064 s//\1/
2067 s/.*/./; q'`
2068 srcdir=$ac_confdir
2069 if test ! -r "$srcdir/$ac_unique_file"; then
2070 srcdir=..
2072 else
2073 ac_srcdir_defaulted=no
2075 if test ! -r "$srcdir/$ac_unique_file"; then
2076 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2077 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2079 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2080 ac_abs_confdir=`(
2081 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2082 pwd)`
2083 # When building in place, set srcdir=.
2084 if test "$ac_abs_confdir" = "$ac_pwd"; then
2085 srcdir=.
2087 # Remove unnecessary trailing slashes from srcdir.
2088 # Double slashes in file names in object file debugging info
2089 # mess up M-x gdb in Emacs.
2090 case $srcdir in
2091 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2092 esac
2093 for ac_var in $ac_precious_vars; do
2094 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2095 eval ac_env_${ac_var}_value=\$${ac_var}
2096 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2097 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2098 done
2101 # Report the --help message.
2103 if test "$ac_init_help" = "long"; then
2104 # Omit some internal or obsolete options to make the list less imposing.
2105 # This message is too long to be a string in the A/UX 3.1 sh.
2106 cat <<_ACEOF
2107 \`configure' configures Wine 1.8 to adapt to many kinds of systems.
2109 Usage: $0 [OPTION]... [VAR=VALUE]...
2111 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2112 VAR=VALUE. See below for descriptions of some of the useful variables.
2114 Defaults for the options are specified in brackets.
2116 Configuration:
2117 -h, --help display this help and exit
2118 --help=short display options specific to this package
2119 --help=recursive display the short help of all the included packages
2120 -V, --version display version information and exit
2121 -q, --quiet, --silent do not print \`checking ...' messages
2122 --cache-file=FILE cache test results in FILE [disabled]
2123 -C, --config-cache alias for \`--cache-file=config.cache'
2124 -n, --no-create do not create output files
2125 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2127 Installation directories:
2128 --prefix=PREFIX install architecture-independent files in PREFIX
2129 [$ac_default_prefix]
2130 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2131 [PREFIX]
2133 By default, \`make install' will install all the files in
2134 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2135 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2136 for instance \`--prefix=\$HOME'.
2138 For better control, use the options below.
2140 Fine tuning of the installation directories:
2141 --bindir=DIR user executables [EPREFIX/bin]
2142 --sbindir=DIR system admin executables [EPREFIX/sbin]
2143 --libexecdir=DIR program executables [EPREFIX/libexec]
2144 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2145 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2146 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2147 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2148 --libdir=DIR object code libraries [EPREFIX/lib]
2149 --includedir=DIR C header files [PREFIX/include]
2150 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2151 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2152 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2153 --infodir=DIR info documentation [DATAROOTDIR/info]
2154 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2155 --mandir=DIR man documentation [DATAROOTDIR/man]
2156 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2157 --htmldir=DIR html documentation [DOCDIR]
2158 --dvidir=DIR dvi documentation [DOCDIR]
2159 --pdfdir=DIR pdf documentation [DOCDIR]
2160 --psdir=DIR ps documentation [DOCDIR]
2161 _ACEOF
2163 cat <<\_ACEOF
2165 X features:
2166 --x-includes=DIR X include files are in DIR
2167 --x-libraries=DIR X library files are in DIR
2169 System types:
2170 --build=BUILD configure for building on BUILD [guessed]
2171 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2172 _ACEOF
2175 if test -n "$ac_init_help"; then
2176 case $ac_init_help in
2177 short | recursive ) echo "Configuration of Wine 1.8:";;
2178 esac
2179 cat <<\_ACEOF
2181 Optional Features:
2182 --disable-option-checking ignore unrecognized --enable/--with options
2183 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2184 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2185 --disable-win16 do not include Win16 support
2186 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2187 binaries)
2188 --disable-tests do not build the regression tests
2189 --enable-maintainer-mode
2190 enable maintainer-specific build rules
2191 --disable-largefile omit support for large files
2193 Optional Packages:
2194 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2195 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2196 --without-alsa do not use the Alsa sound support
2197 --without-capi do not use CAPI (ISDN support)
2198 --without-cms do not use CMS (color management support)
2199 --without-coreaudio do not use the CoreAudio sound support
2200 --without-cups do not use CUPS
2201 --without-curses do not use (n)curses
2202 --without-dbus do not use DBus (dynamic device support)
2203 --without-fontconfig do not use fontconfig
2204 --without-freetype do not use the FreeType library
2205 --without-gettext do not use gettext
2206 --with-gettextpo use the GetTextPO library to rebuild po files
2207 --without-gphoto do not use gphoto (Digital Camera support)
2208 --without-glu do not use the GLU library
2209 --without-gnutls do not use GnuTLS (schannel support)
2210 --without-gsm do not use libgsm (GSM 06.10 codec support)
2211 --without-gstreamer do not use GStreamer (codecs support)
2212 --without-hal do not use HAL (dynamic device support)
2213 --without-jpeg do not use JPEG
2214 --without-ldap do not use LDAP
2215 --without-mpg123 do not use the mpg123 library
2216 --without-netapi do not use the Samba NetAPI library
2217 --without-openal do not use OpenAL
2218 --without-opencl do not use OpenCL
2219 --without-opengl do not use OpenGL
2220 --without-osmesa do not use the OSMesa library
2221 --without-oss do not use the OSS sound support
2222 --without-pcap do not use the Packet Capture library
2223 --without-png do not use PNG
2224 --without-pthread do not use the pthread library
2225 --without-pulse do not use PulseAudio sound support
2226 --without-sane do not use SANE (scanner support)
2227 --without-tiff do not use TIFF
2228 --without-v4l do not use v4l1 (v4l support)
2229 --without-xcomposite do not use the Xcomposite extension
2230 --without-xcursor do not use the Xcursor extension
2231 --without-xinerama do not use Xinerama (multi-monitor support)
2232 --without-xinput do not use the Xinput extension
2233 --without-xinput2 do not use the Xinput 2 extension
2234 --without-xml do not use XML
2235 --without-xrandr do not use Xrandr (resolution changes)
2236 --without-xrender do not use the Xrender extension
2237 --without-xshape do not use the Xshape extension
2238 --without-xshm do not use XShm (shared memory extension)
2239 --without-xslt do not use XSLT
2240 --without-xxf86vm do not use XFree video mode extension
2241 --without-zlib do not use Zlib (data compression)
2242 --with-wine-tools=DIR use Wine tools from directory DIR
2243 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2244 --with-x use the X Window System
2246 Some influential environment variables:
2247 CC C compiler command
2248 CFLAGS C compiler flags
2249 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2250 nonstandard directory <lib dir>
2251 LIBS libraries to pass to the linker, e.g. -l<library>
2252 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2253 you have headers in a nonstandard directory <include dir>
2254 CXX C++ compiler command
2255 CXXFLAGS C++ compiler flags
2256 CPP C preprocessor
2257 XMKMF Path to xmkmf, Makefile generator for X Window System
2258 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2259 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2260 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2261 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2262 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2263 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2264 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2265 HAL_LIBS Linker flags for hal, overriding pkg-config
2266 GNUTLS_CFLAGS
2267 C compiler flags for gnutls, overriding pkg-config
2268 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2269 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2270 SANE_LIBS Linker flags for libsane, overriding pkg-config
2271 GPHOTO2_CFLAGS
2272 C compiler flags for libgphoto2, overriding pkg-config
2273 GPHOTO2_LIBS
2274 Linker flags for libgphoto2, overriding pkg-config
2275 GPHOTO2_PORT_CFLAGS
2276 C compiler flags for libgphoto2_port, overriding pkg-config
2277 GPHOTO2_PORT_LIBS
2278 Linker flags for libgphoto2_port, overriding pkg-config
2279 LCMS2_CFLAGS
2280 C compiler flags for lcms2, overriding pkg-config
2281 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2282 FREETYPE_CFLAGS
2283 C compiler flags for freetype2, overriding pkg-config
2284 FREETYPE_LIBS
2285 Linker flags for freetype2, overriding pkg-config
2286 PULSE_CFLAGS
2287 C compiler flags for libpulse, overriding pkg-config
2288 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2289 GSTREAMER_CFLAGS
2290 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2291 GSTREAMER_LIBS
2292 Linker flags for gstreamer-app-0.10, overriding pkg-config
2293 CAPI20_CFLAGS
2294 C compiler flags for capi20, overriding pkg-config
2295 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2296 FONTCONFIG_CFLAGS
2297 C compiler flags for fontconfig, overriding pkg-config
2298 FONTCONFIG_LIBS
2299 Linker flags for fontconfig, overriding pkg-config
2300 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2301 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2302 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2303 PNG_LIBS Linker flags for libpng, overriding pkg-config
2304 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2305 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2306 MPG123_CFLAGS
2307 C compiler flags for libmpg123, overriding pkg-config
2308 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2310 Use these variables to override the choices made by `configure' or to help
2311 it to find libraries and programs with nonstandard names/locations.
2313 Report bugs to <wine-devel@winehq.org>.
2314 Wine home page: <http://www.winehq.org>.
2315 _ACEOF
2316 ac_status=$?
2319 if test "$ac_init_help" = "recursive"; then
2320 # If there are subdirs, report their specific --help.
2321 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2322 test -d "$ac_dir" ||
2323 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2324 continue
2325 ac_builddir=.
2327 case "$ac_dir" in
2328 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2330 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2331 # A ".." for each directory in $ac_dir_suffix.
2332 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2333 case $ac_top_builddir_sub in
2334 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2335 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2336 esac ;;
2337 esac
2338 ac_abs_top_builddir=$ac_pwd
2339 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2340 # for backward compatibility:
2341 ac_top_builddir=$ac_top_build_prefix
2343 case $srcdir in
2344 .) # We are building in place.
2345 ac_srcdir=.
2346 ac_top_srcdir=$ac_top_builddir_sub
2347 ac_abs_top_srcdir=$ac_pwd ;;
2348 [\\/]* | ?:[\\/]* ) # Absolute name.
2349 ac_srcdir=$srcdir$ac_dir_suffix;
2350 ac_top_srcdir=$srcdir
2351 ac_abs_top_srcdir=$srcdir ;;
2352 *) # Relative name.
2353 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2354 ac_top_srcdir=$ac_top_build_prefix$srcdir
2355 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2356 esac
2357 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2359 cd "$ac_dir" || { ac_status=$?; continue; }
2360 # Check for guested configure.
2361 if test -f "$ac_srcdir/configure.gnu"; then
2362 echo &&
2363 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2364 elif test -f "$ac_srcdir/configure"; then
2365 echo &&
2366 $SHELL "$ac_srcdir/configure" --help=recursive
2367 else
2368 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2369 fi || ac_status=$?
2370 cd "$ac_pwd" || { ac_status=$?; break; }
2371 done
2374 test -n "$ac_init_help" && exit $ac_status
2375 if $ac_init_version; then
2376 cat <<\_ACEOF
2377 Wine configure 1.8
2378 generated by GNU Autoconf 2.69
2380 Copyright (C) 2012 Free Software Foundation, Inc.
2381 This configure script is free software; the Free Software Foundation
2382 gives unlimited permission to copy, distribute and modify it.
2383 _ACEOF
2384 exit
2387 ## ------------------------ ##
2388 ## Autoconf initialization. ##
2389 ## ------------------------ ##
2391 # ac_fn_c_try_compile LINENO
2392 # --------------------------
2393 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2394 ac_fn_c_try_compile ()
2396 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2397 rm -f conftest.$ac_objext
2398 if { { ac_try="$ac_compile"
2399 case "(($ac_try" in
2400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2401 *) ac_try_echo=$ac_try;;
2402 esac
2403 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2404 $as_echo "$ac_try_echo"; } >&5
2405 (eval "$ac_compile") 2>conftest.err
2406 ac_status=$?
2407 if test -s conftest.err; then
2408 grep -v '^ *+' conftest.err >conftest.er1
2409 cat conftest.er1 >&5
2410 mv -f conftest.er1 conftest.err
2412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2413 test $ac_status = 0; } && {
2414 test -z "$ac_c_werror_flag" ||
2415 test ! -s conftest.err
2416 } && test -s conftest.$ac_objext; then :
2417 ac_retval=0
2418 else
2419 $as_echo "$as_me: failed program was:" >&5
2420 sed 's/^/| /' conftest.$ac_ext >&5
2422 ac_retval=1
2424 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2425 as_fn_set_status $ac_retval
2427 } # ac_fn_c_try_compile
2429 # ac_fn_cxx_try_compile LINENO
2430 # ----------------------------
2431 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2432 ac_fn_cxx_try_compile ()
2434 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2435 rm -f conftest.$ac_objext
2436 if { { ac_try="$ac_compile"
2437 case "(($ac_try" in
2438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2439 *) ac_try_echo=$ac_try;;
2440 esac
2441 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2442 $as_echo "$ac_try_echo"; } >&5
2443 (eval "$ac_compile") 2>conftest.err
2444 ac_status=$?
2445 if test -s conftest.err; then
2446 grep -v '^ *+' conftest.err >conftest.er1
2447 cat conftest.er1 >&5
2448 mv -f conftest.er1 conftest.err
2450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2451 test $ac_status = 0; } && {
2452 test -z "$ac_cxx_werror_flag" ||
2453 test ! -s conftest.err
2454 } && test -s conftest.$ac_objext; then :
2455 ac_retval=0
2456 else
2457 $as_echo "$as_me: failed program was:" >&5
2458 sed 's/^/| /' conftest.$ac_ext >&5
2460 ac_retval=1
2462 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2463 as_fn_set_status $ac_retval
2465 } # ac_fn_cxx_try_compile
2467 # ac_fn_c_try_link LINENO
2468 # -----------------------
2469 # Try to link conftest.$ac_ext, and return whether this succeeded.
2470 ac_fn_c_try_link ()
2472 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2473 rm -f conftest.$ac_objext conftest$ac_exeext
2474 if { { ac_try="$ac_link"
2475 case "(($ac_try" in
2476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2477 *) ac_try_echo=$ac_try;;
2478 esac
2479 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2480 $as_echo "$ac_try_echo"; } >&5
2481 (eval "$ac_link") 2>conftest.err
2482 ac_status=$?
2483 if test -s conftest.err; then
2484 grep -v '^ *+' conftest.err >conftest.er1
2485 cat conftest.er1 >&5
2486 mv -f conftest.er1 conftest.err
2488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2489 test $ac_status = 0; } && {
2490 test -z "$ac_c_werror_flag" ||
2491 test ! -s conftest.err
2492 } && test -s conftest$ac_exeext && {
2493 test "$cross_compiling" = yes ||
2494 test -x conftest$ac_exeext
2495 }; then :
2496 ac_retval=0
2497 else
2498 $as_echo "$as_me: failed program was:" >&5
2499 sed 's/^/| /' conftest.$ac_ext >&5
2501 ac_retval=1
2503 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2504 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2505 # interfere with the next link command; also delete a directory that is
2506 # left behind by Apple's compiler. We do this before executing the actions.
2507 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2508 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2509 as_fn_set_status $ac_retval
2511 } # ac_fn_c_try_link
2513 # ac_fn_c_try_cpp LINENO
2514 # ----------------------
2515 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2516 ac_fn_c_try_cpp ()
2518 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2519 if { { ac_try="$ac_cpp conftest.$ac_ext"
2520 case "(($ac_try" in
2521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2522 *) ac_try_echo=$ac_try;;
2523 esac
2524 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2525 $as_echo "$ac_try_echo"; } >&5
2526 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2527 ac_status=$?
2528 if test -s conftest.err; then
2529 grep -v '^ *+' conftest.err >conftest.er1
2530 cat conftest.er1 >&5
2531 mv -f conftest.er1 conftest.err
2533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2534 test $ac_status = 0; } > conftest.i && {
2535 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2536 test ! -s conftest.err
2537 }; then :
2538 ac_retval=0
2539 else
2540 $as_echo "$as_me: failed program was:" >&5
2541 sed 's/^/| /' conftest.$ac_ext >&5
2543 ac_retval=1
2545 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2546 as_fn_set_status $ac_retval
2548 } # ac_fn_c_try_cpp
2550 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2551 # -------------------------------------------------------
2552 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2553 # the include files in INCLUDES and setting the cache variable VAR
2554 # accordingly.
2555 ac_fn_c_check_header_mongrel ()
2557 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2558 if eval \${$3+:} false; then :
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2560 $as_echo_n "checking for $2... " >&6; }
2561 if eval \${$3+:} false; then :
2562 $as_echo_n "(cached) " >&6
2564 eval ac_res=\$$3
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2566 $as_echo "$ac_res" >&6; }
2567 else
2568 # Is the header compilable?
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2570 $as_echo_n "checking $2 usability... " >&6; }
2571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2572 /* end confdefs.h. */
2574 #include <$2>
2575 _ACEOF
2576 if ac_fn_c_try_compile "$LINENO"; then :
2577 ac_header_compiler=yes
2578 else
2579 ac_header_compiler=no
2581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2583 $as_echo "$ac_header_compiler" >&6; }
2585 # Is the header present?
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2587 $as_echo_n "checking $2 presence... " >&6; }
2588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2589 /* end confdefs.h. */
2590 #include <$2>
2591 _ACEOF
2592 if ac_fn_c_try_cpp "$LINENO"; then :
2593 ac_header_preproc=yes
2594 else
2595 ac_header_preproc=no
2597 rm -f conftest.err conftest.i conftest.$ac_ext
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2599 $as_echo "$ac_header_preproc" >&6; }
2601 # So? What about this header?
2602 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2603 yes:no: )
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2605 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2607 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2609 no:yes:* )
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2611 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2613 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2615 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2617 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2619 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2620 ( $as_echo "## ------------------------------------ ##
2621 ## Report this to wine-devel@winehq.org ##
2622 ## ------------------------------------ ##"
2623 ) | sed "s/^/$as_me: WARNING: /" >&2
2625 esac
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2627 $as_echo_n "checking for $2... " >&6; }
2628 if eval \${$3+:} false; then :
2629 $as_echo_n "(cached) " >&6
2630 else
2631 eval "$3=\$ac_header_compiler"
2633 eval ac_res=\$$3
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2635 $as_echo "$ac_res" >&6; }
2637 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2639 } # ac_fn_c_check_header_mongrel
2641 # ac_fn_c_try_run LINENO
2642 # ----------------------
2643 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2644 # that executables *can* be run.
2645 ac_fn_c_try_run ()
2647 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2648 if { { ac_try="$ac_link"
2649 case "(($ac_try" in
2650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2651 *) ac_try_echo=$ac_try;;
2652 esac
2653 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2654 $as_echo "$ac_try_echo"; } >&5
2655 (eval "$ac_link") 2>&5
2656 ac_status=$?
2657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2658 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2659 { { case "(($ac_try" in
2660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2661 *) ac_try_echo=$ac_try;;
2662 esac
2663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2664 $as_echo "$ac_try_echo"; } >&5
2665 (eval "$ac_try") 2>&5
2666 ac_status=$?
2667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2668 test $ac_status = 0; }; }; then :
2669 ac_retval=0
2670 else
2671 $as_echo "$as_me: program exited with status $ac_status" >&5
2672 $as_echo "$as_me: failed program was:" >&5
2673 sed 's/^/| /' conftest.$ac_ext >&5
2675 ac_retval=$ac_status
2677 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2678 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2679 as_fn_set_status $ac_retval
2681 } # ac_fn_c_try_run
2683 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2684 # -------------------------------------------------------
2685 # Tests whether HEADER exists and can be compiled using the include files in
2686 # INCLUDES, setting the cache variable VAR accordingly.
2687 ac_fn_c_check_header_compile ()
2689 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2691 $as_echo_n "checking for $2... " >&6; }
2692 if eval \${$3+:} false; then :
2693 $as_echo_n "(cached) " >&6
2694 else
2695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2696 /* end confdefs.h. */
2698 #include <$2>
2699 _ACEOF
2700 if ac_fn_c_try_compile "$LINENO"; then :
2701 eval "$3=yes"
2702 else
2703 eval "$3=no"
2705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2707 eval ac_res=\$$3
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2709 $as_echo "$ac_res" >&6; }
2710 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2712 } # ac_fn_c_check_header_compile
2714 # ac_fn_c_check_func LINENO FUNC VAR
2715 # ----------------------------------
2716 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2717 ac_fn_c_check_func ()
2719 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2721 $as_echo_n "checking for $2... " >&6; }
2722 if eval \${$3+:} false; then :
2723 $as_echo_n "(cached) " >&6
2724 else
2725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2726 /* end confdefs.h. */
2727 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2728 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2729 #define $2 innocuous_$2
2731 /* System header to define __stub macros and hopefully few prototypes,
2732 which can conflict with char $2 (); below.
2733 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2734 <limits.h> exists even on freestanding compilers. */
2736 #ifdef __STDC__
2737 # include <limits.h>
2738 #else
2739 # include <assert.h>
2740 #endif
2742 #undef $2
2744 /* Override any GCC internal prototype to avoid an error.
2745 Use char because int might match the return type of a GCC
2746 builtin and then its argument prototype would still apply. */
2747 #ifdef __cplusplus
2748 extern "C"
2749 #endif
2750 char $2 ();
2751 /* The GNU C library defines this for functions which it implements
2752 to always fail with ENOSYS. Some functions are actually named
2753 something starting with __ and the normal name is an alias. */
2754 #if defined __stub_$2 || defined __stub___$2
2755 choke me
2756 #endif
2759 main ()
2761 return $2 ();
2763 return 0;
2765 _ACEOF
2766 if ac_fn_c_try_link "$LINENO"; then :
2767 eval "$3=yes"
2768 else
2769 eval "$3=no"
2771 rm -f core conftest.err conftest.$ac_objext \
2772 conftest$ac_exeext conftest.$ac_ext
2774 eval ac_res=\$$3
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2776 $as_echo "$ac_res" >&6; }
2777 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2779 } # ac_fn_c_check_func
2781 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2782 # ----------------------------------------------------
2783 # Tries to find if the field MEMBER exists in type AGGR, after including
2784 # INCLUDES, setting cache variable VAR accordingly.
2785 ac_fn_c_check_member ()
2787 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2789 $as_echo_n "checking for $2.$3... " >&6; }
2790 if eval \${$4+:} false; then :
2791 $as_echo_n "(cached) " >&6
2792 else
2793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2794 /* end confdefs.h. */
2797 main ()
2799 static $2 ac_aggr;
2800 if (ac_aggr.$3)
2801 return 0;
2803 return 0;
2805 _ACEOF
2806 if ac_fn_c_try_compile "$LINENO"; then :
2807 eval "$4=yes"
2808 else
2809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2810 /* end confdefs.h. */
2813 main ()
2815 static $2 ac_aggr;
2816 if (sizeof ac_aggr.$3)
2817 return 0;
2819 return 0;
2821 _ACEOF
2822 if ac_fn_c_try_compile "$LINENO"; then :
2823 eval "$4=yes"
2824 else
2825 eval "$4=no"
2827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2831 eval ac_res=\$$4
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2833 $as_echo "$ac_res" >&6; }
2834 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2836 } # ac_fn_c_check_member
2838 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2839 # -------------------------------------------
2840 # Tests whether TYPE exists after having included INCLUDES, setting cache
2841 # variable VAR accordingly.
2842 ac_fn_c_check_type ()
2844 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2846 $as_echo_n "checking for $2... " >&6; }
2847 if eval \${$3+:} false; then :
2848 $as_echo_n "(cached) " >&6
2849 else
2850 eval "$3=no"
2851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2852 /* end confdefs.h. */
2855 main ()
2857 if (sizeof ($2))
2858 return 0;
2860 return 0;
2862 _ACEOF
2863 if ac_fn_c_try_compile "$LINENO"; then :
2864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2865 /* end confdefs.h. */
2868 main ()
2870 if (sizeof (($2)))
2871 return 0;
2873 return 0;
2875 _ACEOF
2876 if ac_fn_c_try_compile "$LINENO"; then :
2878 else
2879 eval "$3=yes"
2881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2885 eval ac_res=\$$3
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2887 $as_echo "$ac_res" >&6; }
2888 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2890 } # ac_fn_c_check_type
2891 cat >config.log <<_ACEOF
2892 This file contains any messages produced by compilers while
2893 running configure, to aid debugging if configure makes a mistake.
2895 It was created by Wine $as_me 1.8, which was
2896 generated by GNU Autoconf 2.69. Invocation command line was
2898 $ $0 $@
2900 _ACEOF
2901 exec 5>>config.log
2903 cat <<_ASUNAME
2904 ## --------- ##
2905 ## Platform. ##
2906 ## --------- ##
2908 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2909 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2910 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2911 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2912 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2914 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2915 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2917 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2918 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2919 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2920 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2921 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2922 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2923 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2925 _ASUNAME
2927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2928 for as_dir in $PATH
2930 IFS=$as_save_IFS
2931 test -z "$as_dir" && as_dir=.
2932 $as_echo "PATH: $as_dir"
2933 done
2934 IFS=$as_save_IFS
2936 } >&5
2938 cat >&5 <<_ACEOF
2941 ## ----------- ##
2942 ## Core tests. ##
2943 ## ----------- ##
2945 _ACEOF
2948 # Keep a trace of the command line.
2949 # Strip out --no-create and --no-recursion so they do not pile up.
2950 # Strip out --silent because we don't want to record it for future runs.
2951 # Also quote any args containing shell meta-characters.
2952 # Make two passes to allow for proper duplicate-argument suppression.
2953 ac_configure_args=
2954 ac_configure_args0=
2955 ac_configure_args1=
2956 ac_must_keep_next=false
2957 for ac_pass in 1 2
2959 for ac_arg
2961 case $ac_arg in
2962 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2963 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2964 | -silent | --silent | --silen | --sile | --sil)
2965 continue ;;
2966 *\'*)
2967 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2968 esac
2969 case $ac_pass in
2970 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2972 as_fn_append ac_configure_args1 " '$ac_arg'"
2973 if test $ac_must_keep_next = true; then
2974 ac_must_keep_next=false # Got value, back to normal.
2975 else
2976 case $ac_arg in
2977 *=* | --config-cache | -C | -disable-* | --disable-* \
2978 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2979 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2980 | -with-* | --with-* | -without-* | --without-* | --x)
2981 case "$ac_configure_args0 " in
2982 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2983 esac
2985 -* ) ac_must_keep_next=true ;;
2986 esac
2988 as_fn_append ac_configure_args " '$ac_arg'"
2990 esac
2991 done
2992 done
2993 { ac_configure_args0=; unset ac_configure_args0;}
2994 { ac_configure_args1=; unset ac_configure_args1;}
2996 # When interrupted or exit'd, cleanup temporary files, and complete
2997 # config.log. We remove comments because anyway the quotes in there
2998 # would cause problems or look ugly.
2999 # WARNING: Use '\'' to represent an apostrophe within the trap.
3000 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3001 trap 'exit_status=$?
3002 # Save into config.log some information that might help in debugging.
3004 echo
3006 $as_echo "## ---------------- ##
3007 ## Cache variables. ##
3008 ## ---------------- ##"
3009 echo
3010 # The following way of writing the cache mishandles newlines in values,
3012 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3013 eval ac_val=\$$ac_var
3014 case $ac_val in #(
3015 *${as_nl}*)
3016 case $ac_var in #(
3017 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3018 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3019 esac
3020 case $ac_var in #(
3021 _ | IFS | as_nl) ;; #(
3022 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3023 *) { eval $ac_var=; unset $ac_var;} ;;
3024 esac ;;
3025 esac
3026 done
3027 (set) 2>&1 |
3028 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3029 *${as_nl}ac_space=\ *)
3030 sed -n \
3031 "s/'\''/'\''\\\\'\'''\''/g;
3032 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3033 ;; #(
3035 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3037 esac |
3038 sort
3040 echo
3042 $as_echo "## ----------------- ##
3043 ## Output variables. ##
3044 ## ----------------- ##"
3045 echo
3046 for ac_var in $ac_subst_vars
3048 eval ac_val=\$$ac_var
3049 case $ac_val in
3050 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3051 esac
3052 $as_echo "$ac_var='\''$ac_val'\''"
3053 done | sort
3054 echo
3056 if test -n "$ac_subst_files"; then
3057 $as_echo "## ------------------- ##
3058 ## File substitutions. ##
3059 ## ------------------- ##"
3060 echo
3061 for ac_var in $ac_subst_files
3063 eval ac_val=\$$ac_var
3064 case $ac_val in
3065 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3066 esac
3067 $as_echo "$ac_var='\''$ac_val'\''"
3068 done | sort
3069 echo
3072 if test -s confdefs.h; then
3073 $as_echo "## ----------- ##
3074 ## confdefs.h. ##
3075 ## ----------- ##"
3076 echo
3077 cat confdefs.h
3078 echo
3080 test "$ac_signal" != 0 &&
3081 $as_echo "$as_me: caught signal $ac_signal"
3082 $as_echo "$as_me: exit $exit_status"
3083 } >&5
3084 rm -f core *.core core.conftest.* &&
3085 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3086 exit $exit_status
3088 for ac_signal in 1 2 13 15; do
3089 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3090 done
3091 ac_signal=0
3093 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3094 rm -f -r conftest* confdefs.h
3096 $as_echo "/* confdefs.h */" > confdefs.h
3098 # Predefined preprocessor variables.
3100 cat >>confdefs.h <<_ACEOF
3101 #define PACKAGE_NAME "$PACKAGE_NAME"
3102 _ACEOF
3104 cat >>confdefs.h <<_ACEOF
3105 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3106 _ACEOF
3108 cat >>confdefs.h <<_ACEOF
3109 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3110 _ACEOF
3112 cat >>confdefs.h <<_ACEOF
3113 #define PACKAGE_STRING "$PACKAGE_STRING"
3114 _ACEOF
3116 cat >>confdefs.h <<_ACEOF
3117 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3118 _ACEOF
3120 cat >>confdefs.h <<_ACEOF
3121 #define PACKAGE_URL "$PACKAGE_URL"
3122 _ACEOF
3125 # Let the site file select an alternate cache file if it wants to.
3126 # Prefer an explicitly selected file to automatically selected ones.
3127 ac_site_file1=NONE
3128 ac_site_file2=NONE
3129 if test -n "$CONFIG_SITE"; then
3130 # We do not want a PATH search for config.site.
3131 case $CONFIG_SITE in #((
3132 -*) ac_site_file1=./$CONFIG_SITE;;
3133 */*) ac_site_file1=$CONFIG_SITE;;
3134 *) ac_site_file1=./$CONFIG_SITE;;
3135 esac
3136 elif test "x$prefix" != xNONE; then
3137 ac_site_file1=$prefix/share/config.site
3138 ac_site_file2=$prefix/etc/config.site
3139 else
3140 ac_site_file1=$ac_default_prefix/share/config.site
3141 ac_site_file2=$ac_default_prefix/etc/config.site
3143 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3145 test "x$ac_site_file" = xNONE && continue
3146 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3148 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3149 sed 's/^/| /' "$ac_site_file" >&5
3150 . "$ac_site_file" \
3151 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3152 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3153 as_fn_error $? "failed to load site script $ac_site_file
3154 See \`config.log' for more details" "$LINENO" 5; }
3156 done
3158 if test -r "$cache_file"; then
3159 # Some versions of bash will fail to source /dev/null (special files
3160 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3161 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3163 $as_echo "$as_me: loading cache $cache_file" >&6;}
3164 case $cache_file in
3165 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3166 *) . "./$cache_file";;
3167 esac
3169 else
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3171 $as_echo "$as_me: creating cache $cache_file" >&6;}
3172 >$cache_file
3175 # Check that the precious variables saved in the cache have kept the same
3176 # value.
3177 ac_cache_corrupted=false
3178 for ac_var in $ac_precious_vars; do
3179 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3180 eval ac_new_set=\$ac_env_${ac_var}_set
3181 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3182 eval ac_new_val=\$ac_env_${ac_var}_value
3183 case $ac_old_set,$ac_new_set in
3184 set,)
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3186 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3187 ac_cache_corrupted=: ;;
3188 ,set)
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3190 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3191 ac_cache_corrupted=: ;;
3192 ,);;
3194 if test "x$ac_old_val" != "x$ac_new_val"; then
3195 # differences in whitespace do not lead to failure.
3196 ac_old_val_w=`echo x $ac_old_val`
3197 ac_new_val_w=`echo x $ac_new_val`
3198 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3200 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3201 ac_cache_corrupted=:
3202 else
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3204 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3205 eval $ac_var=\$ac_old_val
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3208 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3210 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3211 fi;;
3212 esac
3213 # Pass precious variables to config.status.
3214 if test "$ac_new_set" = set; then
3215 case $ac_new_val in
3216 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3217 *) ac_arg=$ac_var=$ac_new_val ;;
3218 esac
3219 case " $ac_configure_args " in
3220 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3221 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3222 esac
3224 done
3225 if $ac_cache_corrupted; then
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3227 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3229 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3230 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3232 ## -------------------- ##
3233 ## Main body of script. ##
3234 ## -------------------- ##
3236 ac_ext=c
3237 ac_cpp='$CPP $CPPFLAGS'
3238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3244 ac_config_headers="$ac_config_headers include/config.h"
3246 ac_aux_dir=
3247 for ac_dir in tools "$srcdir"/tools; do
3248 if test -f "$ac_dir/install-sh"; then
3249 ac_aux_dir=$ac_dir
3250 ac_install_sh="$ac_aux_dir/install-sh -c"
3251 break
3252 elif test -f "$ac_dir/install.sh"; then
3253 ac_aux_dir=$ac_dir
3254 ac_install_sh="$ac_aux_dir/install.sh -c"
3255 break
3256 elif test -f "$ac_dir/shtool"; then
3257 ac_aux_dir=$ac_dir
3258 ac_install_sh="$ac_aux_dir/shtool install -c"
3259 break
3261 done
3262 if test -z "$ac_aux_dir"; then
3263 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3266 # These three variables are undocumented and unsupported,
3267 # and are intended to be withdrawn in a future Autoconf release.
3268 # They can cause serious problems if a builder's source tree is in a directory
3269 # whose full name contains unusual characters.
3270 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3271 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3272 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3276 libwine_version="1.0"
3280 # Check whether --enable-win16 was given.
3281 if test "${enable_win16+set}" = set; then :
3282 enableval=$enable_win16;
3285 # Check whether --enable-win64 was given.
3286 if test "${enable_win64+set}" = set; then :
3287 enableval=$enable_win64;
3290 # Check whether --enable-tests was given.
3291 if test "${enable_tests+set}" = set; then :
3292 enableval=$enable_tests;
3295 # Check whether --enable-maintainer-mode was given.
3296 if test "${enable_maintainer_mode+set}" = set; then :
3297 enableval=$enable_maintainer_mode;
3302 # Check whether --with-alsa was given.
3303 if test "${with_alsa+set}" = set; then :
3304 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3308 # Check whether --with-capi was given.
3309 if test "${with_capi+set}" = set; then :
3310 withval=$with_capi;
3314 # Check whether --with-cms was given.
3315 if test "${with_cms+set}" = set; then :
3316 withval=$with_cms;
3320 # Check whether --with-coreaudio was given.
3321 if test "${with_coreaudio+set}" = set; then :
3322 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3326 # Check whether --with-cups was given.
3327 if test "${with_cups+set}" = set; then :
3328 withval=$with_cups;
3332 # Check whether --with-curses was given.
3333 if test "${with_curses+set}" = set; then :
3334 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3338 # Check whether --with-dbus was given.
3339 if test "${with_dbus+set}" = set; then :
3340 withval=$with_dbus;
3344 # Check whether --with-fontconfig was given.
3345 if test "${with_fontconfig+set}" = set; then :
3346 withval=$with_fontconfig;
3350 # Check whether --with-freetype was given.
3351 if test "${with_freetype+set}" = set; then :
3352 withval=$with_freetype;
3356 # Check whether --with-gettext was given.
3357 if test "${with_gettext+set}" = set; then :
3358 withval=$with_gettext;
3362 # Check whether --with-gettextpo was given.
3363 if test "${with_gettextpo+set}" = set; then :
3364 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3368 # Check whether --with-gphoto was given.
3369 if test "${with_gphoto+set}" = set; then :
3370 withval=$with_gphoto;
3374 # Check whether --with-glu was given.
3375 if test "${with_glu+set}" = set; then :
3376 withval=$with_glu;
3380 # Check whether --with-gnutls was given.
3381 if test "${with_gnutls+set}" = set; then :
3382 withval=$with_gnutls;
3386 # Check whether --with-gsm was given.
3387 if test "${with_gsm+set}" = set; then :
3388 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3392 # Check whether --with-gstreamer was given.
3393 if test "${with_gstreamer+set}" = set; then :
3394 withval=$with_gstreamer;
3398 # Check whether --with-hal was given.
3399 if test "${with_hal+set}" = set; then :
3400 withval=$with_hal;
3404 # Check whether --with-jpeg was given.
3405 if test "${with_jpeg+set}" = set; then :
3406 withval=$with_jpeg;
3410 # Check whether --with-ldap was given.
3411 if test "${with_ldap+set}" = set; then :
3412 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3416 # Check whether --with-mpg123 was given.
3417 if test "${with_mpg123+set}" = set; then :
3418 withval=$with_mpg123;
3422 # Check whether --with-netapi was given.
3423 if test "${with_netapi+set}" = set; then :
3424 withval=$with_netapi;
3428 # Check whether --with-openal was given.
3429 if test "${with_openal+set}" = set; then :
3430 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3434 # Check whether --with-opencl was given.
3435 if test "${with_opencl+set}" = set; then :
3436 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3440 # Check whether --with-opengl was given.
3441 if test "${with_opengl+set}" = set; then :
3442 withval=$with_opengl;
3446 # Check whether --with-osmesa was given.
3447 if test "${with_osmesa+set}" = set; then :
3448 withval=$with_osmesa;
3452 # Check whether --with-oss was given.
3453 if test "${with_oss+set}" = set; then :
3454 withval=$with_oss;
3458 # Check whether --with-pcap was given.
3459 if test "${with_pcap+set}" = set; then :
3460 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3464 # Check whether --with-png was given.
3465 if test "${with_png+set}" = set; then :
3466 withval=$with_png;
3470 # Check whether --with-pthread was given.
3471 if test "${with_pthread+set}" = set; then :
3472 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3476 # Check whether --with-pulse was given.
3477 if test "${with_pulse+set}" = set; then :
3478 withval=$with_pulse;
3482 # Check whether --with-sane was given.
3483 if test "${with_sane+set}" = set; then :
3484 withval=$with_sane;
3488 # Check whether --with-tiff was given.
3489 if test "${with_tiff+set}" = set; then :
3490 withval=$with_tiff;
3494 # Check whether --with-v4l was given.
3495 if test "${with_v4l+set}" = set; then :
3496 withval=$with_v4l;
3500 # Check whether --with-xcomposite was given.
3501 if test "${with_xcomposite+set}" = set; then :
3502 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3506 # Check whether --with-xcursor was given.
3507 if test "${with_xcursor+set}" = set; then :
3508 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3512 # Check whether --with-xinerama was given.
3513 if test "${with_xinerama+set}" = set; then :
3514 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3518 # Check whether --with-xinput was given.
3519 if test "${with_xinput+set}" = set; then :
3520 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3524 # Check whether --with-xinput2 was given.
3525 if test "${with_xinput2+set}" = set; then :
3526 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3530 # Check whether --with-xml was given.
3531 if test "${with_xml+set}" = set; then :
3532 withval=$with_xml;
3536 # Check whether --with-xrandr was given.
3537 if test "${with_xrandr+set}" = set; then :
3538 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3542 # Check whether --with-xrender was given.
3543 if test "${with_xrender+set}" = set; then :
3544 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3548 # Check whether --with-xshape was given.
3549 if test "${with_xshape+set}" = set; then :
3550 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3554 # Check whether --with-xshm was given.
3555 if test "${with_xshm+set}" = set; then :
3556 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3560 # Check whether --with-xslt was given.
3561 if test "${with_xslt+set}" = set; then :
3562 withval=$with_xslt;
3566 # Check whether --with-xxf86vm was given.
3567 if test "${with_xxf86vm+set}" = set; then :
3568 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
3572 # Check whether --with-zlib was given.
3573 if test "${with_zlib+set}" = set; then :
3574 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3579 # Check whether --with-wine-tools was given.
3580 if test "${with_wine_tools+set}" = set; then :
3581 withval=$with_wine_tools;
3585 # Check whether --with-wine64 was given.
3586 if test "${with_wine64+set}" = set; then :
3587 withval=$with_wine64;
3591 # Make sure we can run config.sub.
3592 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3593 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3596 $as_echo_n "checking build system type... " >&6; }
3597 if ${ac_cv_build+:} false; then :
3598 $as_echo_n "(cached) " >&6
3599 else
3600 ac_build_alias=$build_alias
3601 test "x$ac_build_alias" = x &&
3602 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3603 test "x$ac_build_alias" = x &&
3604 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3605 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3606 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3610 $as_echo "$ac_cv_build" >&6; }
3611 case $ac_cv_build in
3612 *-*-*) ;;
3613 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3614 esac
3615 build=$ac_cv_build
3616 ac_save_IFS=$IFS; IFS='-'
3617 set x $ac_cv_build
3618 shift
3619 build_cpu=$1
3620 build_vendor=$2
3621 shift; shift
3622 # Remember, the first character of IFS is used to create $*,
3623 # except with old shells:
3624 build_os=$*
3625 IFS=$ac_save_IFS
3626 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3630 $as_echo_n "checking host system type... " >&6; }
3631 if ${ac_cv_host+:} false; then :
3632 $as_echo_n "(cached) " >&6
3633 else
3634 if test "x$host_alias" = x; then
3635 ac_cv_host=$ac_cv_build
3636 else
3637 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3638 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3643 $as_echo "$ac_cv_host" >&6; }
3644 case $ac_cv_host in
3645 *-*-*) ;;
3646 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3647 esac
3648 host=$ac_cv_host
3649 ac_save_IFS=$IFS; IFS='-'
3650 set x $ac_cv_host
3651 shift
3652 host_cpu=$1
3653 host_vendor=$2
3654 shift; shift
3655 # Remember, the first character of IFS is used to create $*,
3656 # except with old shells:
3657 host_os=$*
3658 IFS=$ac_save_IFS
3659 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3663 case "$srcdir" in
3664 .) ;;
3665 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3666 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3667 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3668 fi ;;
3669 esac
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3673 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3674 set x ${MAKE-make}
3675 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3676 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3677 $as_echo_n "(cached) " >&6
3678 else
3679 cat >conftest.make <<\_ACEOF
3680 SHELL = /bin/sh
3681 all:
3682 @echo '@@@%%%=$(MAKE)=@@@%%%'
3683 _ACEOF
3684 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3685 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3686 *@@@%%%=?*=@@@%%%*)
3687 eval ac_cv_prog_make_${ac_make}_set=yes;;
3689 eval ac_cv_prog_make_${ac_make}_set=no;;
3690 esac
3691 rm -f conftest.make
3693 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3695 $as_echo "yes" >&6; }
3696 SET_MAKE=
3697 else
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3699 $as_echo "no" >&6; }
3700 SET_MAKE="MAKE=${MAKE-make}"
3703 ac_ext=c
3704 ac_cpp='$CPP $CPPFLAGS'
3705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3708 if test -n "$ac_tool_prefix"; then
3709 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3710 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3712 $as_echo_n "checking for $ac_word... " >&6; }
3713 if ${ac_cv_prog_CC+:} false; then :
3714 $as_echo_n "(cached) " >&6
3715 else
3716 if test -n "$CC"; then
3717 ac_cv_prog_CC="$CC" # Let the user override the test.
3718 else
3719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3720 for as_dir in $PATH
3722 IFS=$as_save_IFS
3723 test -z "$as_dir" && as_dir=.
3724 for ac_exec_ext in '' $ac_executable_extensions; do
3725 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3726 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3728 break 2
3730 done
3731 done
3732 IFS=$as_save_IFS
3736 CC=$ac_cv_prog_CC
3737 if test -n "$CC"; then
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3739 $as_echo "$CC" >&6; }
3740 else
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3742 $as_echo "no" >&6; }
3747 if test -z "$ac_cv_prog_CC"; then
3748 ac_ct_CC=$CC
3749 # Extract the first word of "gcc", so it can be a program name with args.
3750 set dummy gcc; ac_word=$2
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3752 $as_echo_n "checking for $ac_word... " >&6; }
3753 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3754 $as_echo_n "(cached) " >&6
3755 else
3756 if test -n "$ac_ct_CC"; then
3757 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3758 else
3759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3760 for as_dir in $PATH
3762 IFS=$as_save_IFS
3763 test -z "$as_dir" && as_dir=.
3764 for ac_exec_ext in '' $ac_executable_extensions; do
3765 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3766 ac_cv_prog_ac_ct_CC="gcc"
3767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3768 break 2
3770 done
3771 done
3772 IFS=$as_save_IFS
3776 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3777 if test -n "$ac_ct_CC"; then
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3779 $as_echo "$ac_ct_CC" >&6; }
3780 else
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3782 $as_echo "no" >&6; }
3785 if test "x$ac_ct_CC" = x; then
3786 CC=""
3787 else
3788 case $cross_compiling:$ac_tool_warned in
3789 yes:)
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3791 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3792 ac_tool_warned=yes ;;
3793 esac
3794 CC=$ac_ct_CC
3796 else
3797 CC="$ac_cv_prog_CC"
3800 if test -z "$CC"; then
3801 if test -n "$ac_tool_prefix"; then
3802 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3803 set dummy ${ac_tool_prefix}cc; ac_word=$2
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3805 $as_echo_n "checking for $ac_word... " >&6; }
3806 if ${ac_cv_prog_CC+:} false; then :
3807 $as_echo_n "(cached) " >&6
3808 else
3809 if test -n "$CC"; then
3810 ac_cv_prog_CC="$CC" # Let the user override the test.
3811 else
3812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3813 for as_dir in $PATH
3815 IFS=$as_save_IFS
3816 test -z "$as_dir" && as_dir=.
3817 for ac_exec_ext in '' $ac_executable_extensions; do
3818 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3819 ac_cv_prog_CC="${ac_tool_prefix}cc"
3820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3821 break 2
3823 done
3824 done
3825 IFS=$as_save_IFS
3829 CC=$ac_cv_prog_CC
3830 if test -n "$CC"; then
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3832 $as_echo "$CC" >&6; }
3833 else
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3835 $as_echo "no" >&6; }
3841 if test -z "$CC"; then
3842 # Extract the first word of "cc", so it can be a program name with args.
3843 set dummy cc; ac_word=$2
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3845 $as_echo_n "checking for $ac_word... " >&6; }
3846 if ${ac_cv_prog_CC+:} false; then :
3847 $as_echo_n "(cached) " >&6
3848 else
3849 if test -n "$CC"; then
3850 ac_cv_prog_CC="$CC" # Let the user override the test.
3851 else
3852 ac_prog_rejected=no
3853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3854 for as_dir in $PATH
3856 IFS=$as_save_IFS
3857 test -z "$as_dir" && as_dir=.
3858 for ac_exec_ext in '' $ac_executable_extensions; do
3859 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3860 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3861 ac_prog_rejected=yes
3862 continue
3864 ac_cv_prog_CC="cc"
3865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3866 break 2
3868 done
3869 done
3870 IFS=$as_save_IFS
3872 if test $ac_prog_rejected = yes; then
3873 # We found a bogon in the path, so make sure we never use it.
3874 set dummy $ac_cv_prog_CC
3875 shift
3876 if test $# != 0; then
3877 # We chose a different compiler from the bogus one.
3878 # However, it has the same basename, so the bogon will be chosen
3879 # first if we set CC to just the basename; use the full file name.
3880 shift
3881 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3886 CC=$ac_cv_prog_CC
3887 if test -n "$CC"; then
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3889 $as_echo "$CC" >&6; }
3890 else
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3892 $as_echo "no" >&6; }
3897 if test -z "$CC"; then
3898 if test -n "$ac_tool_prefix"; then
3899 for ac_prog in cl.exe
3901 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3902 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3904 $as_echo_n "checking for $ac_word... " >&6; }
3905 if ${ac_cv_prog_CC+:} false; then :
3906 $as_echo_n "(cached) " >&6
3907 else
3908 if test -n "$CC"; then
3909 ac_cv_prog_CC="$CC" # Let the user override the test.
3910 else
3911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3912 for as_dir in $PATH
3914 IFS=$as_save_IFS
3915 test -z "$as_dir" && as_dir=.
3916 for ac_exec_ext in '' $ac_executable_extensions; do
3917 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3918 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3920 break 2
3922 done
3923 done
3924 IFS=$as_save_IFS
3928 CC=$ac_cv_prog_CC
3929 if test -n "$CC"; then
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3931 $as_echo "$CC" >&6; }
3932 else
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3934 $as_echo "no" >&6; }
3938 test -n "$CC" && break
3939 done
3941 if test -z "$CC"; then
3942 ac_ct_CC=$CC
3943 for ac_prog in cl.exe
3945 # Extract the first word of "$ac_prog", so it can be a program name with args.
3946 set dummy $ac_prog; ac_word=$2
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3948 $as_echo_n "checking for $ac_word... " >&6; }
3949 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3950 $as_echo_n "(cached) " >&6
3951 else
3952 if test -n "$ac_ct_CC"; then
3953 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3954 else
3955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3956 for as_dir in $PATH
3958 IFS=$as_save_IFS
3959 test -z "$as_dir" && as_dir=.
3960 for ac_exec_ext in '' $ac_executable_extensions; do
3961 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3962 ac_cv_prog_ac_ct_CC="$ac_prog"
3963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3964 break 2
3966 done
3967 done
3968 IFS=$as_save_IFS
3972 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3973 if test -n "$ac_ct_CC"; then
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3975 $as_echo "$ac_ct_CC" >&6; }
3976 else
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3978 $as_echo "no" >&6; }
3982 test -n "$ac_ct_CC" && break
3983 done
3985 if test "x$ac_ct_CC" = x; then
3986 CC=""
3987 else
3988 case $cross_compiling:$ac_tool_warned in
3989 yes:)
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3991 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3992 ac_tool_warned=yes ;;
3993 esac
3994 CC=$ac_ct_CC
4001 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4002 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4003 as_fn_error $? "no acceptable C compiler found in \$PATH
4004 See \`config.log' for more details" "$LINENO" 5; }
4006 # Provide some information about the compiler.
4007 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4008 set X $ac_compile
4009 ac_compiler=$2
4010 for ac_option in --version -v -V -qversion; do
4011 { { ac_try="$ac_compiler $ac_option >&5"
4012 case "(($ac_try" in
4013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4014 *) ac_try_echo=$ac_try;;
4015 esac
4016 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4017 $as_echo "$ac_try_echo"; } >&5
4018 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4019 ac_status=$?
4020 if test -s conftest.err; then
4021 sed '10a\
4022 ... rest of stderr output deleted ...
4023 10q' conftest.err >conftest.er1
4024 cat conftest.er1 >&5
4026 rm -f conftest.er1 conftest.err
4027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4028 test $ac_status = 0; }
4029 done
4031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4032 /* end confdefs.h. */
4035 main ()
4039 return 0;
4041 _ACEOF
4042 ac_clean_files_save=$ac_clean_files
4043 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4044 # Try to create an executable without -o first, disregard a.out.
4045 # It will help us diagnose broken compilers, and finding out an intuition
4046 # of exeext.
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4048 $as_echo_n "checking whether the C compiler works... " >&6; }
4049 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4051 # The possible output files:
4052 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4054 ac_rmfiles=
4055 for ac_file in $ac_files
4057 case $ac_file in
4058 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4059 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4060 esac
4061 done
4062 rm -f $ac_rmfiles
4064 if { { ac_try="$ac_link_default"
4065 case "(($ac_try" in
4066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4067 *) ac_try_echo=$ac_try;;
4068 esac
4069 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4070 $as_echo "$ac_try_echo"; } >&5
4071 (eval "$ac_link_default") 2>&5
4072 ac_status=$?
4073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4074 test $ac_status = 0; }; then :
4075 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4076 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4077 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4078 # so that the user can short-circuit this test for compilers unknown to
4079 # Autoconf.
4080 for ac_file in $ac_files ''
4082 test -f "$ac_file" || continue
4083 case $ac_file in
4084 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4086 [ab].out )
4087 # We found the default executable, but exeext='' is most
4088 # certainly right.
4089 break;;
4090 *.* )
4091 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4092 then :; else
4093 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4095 # We set ac_cv_exeext here because the later test for it is not
4096 # safe: cross compilers may not add the suffix if given an `-o'
4097 # argument, so we may need to know it at that point already.
4098 # Even if this section looks crufty: it has the advantage of
4099 # actually working.
4100 break;;
4102 break;;
4103 esac
4104 done
4105 test "$ac_cv_exeext" = no && ac_cv_exeext=
4107 else
4108 ac_file=''
4110 if test -z "$ac_file"; then :
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4112 $as_echo "no" >&6; }
4113 $as_echo "$as_me: failed program was:" >&5
4114 sed 's/^/| /' conftest.$ac_ext >&5
4116 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4117 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4118 as_fn_error 77 "C compiler cannot create executables
4119 See \`config.log' for more details" "$LINENO" 5; }
4120 else
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4122 $as_echo "yes" >&6; }
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4125 $as_echo_n "checking for C compiler default output file name... " >&6; }
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4127 $as_echo "$ac_file" >&6; }
4128 ac_exeext=$ac_cv_exeext
4130 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4131 ac_clean_files=$ac_clean_files_save
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4133 $as_echo_n "checking for suffix of executables... " >&6; }
4134 if { { ac_try="$ac_link"
4135 case "(($ac_try" in
4136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4137 *) ac_try_echo=$ac_try;;
4138 esac
4139 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4140 $as_echo "$ac_try_echo"; } >&5
4141 (eval "$ac_link") 2>&5
4142 ac_status=$?
4143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4144 test $ac_status = 0; }; then :
4145 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4146 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4147 # work properly (i.e., refer to `conftest.exe'), while it won't with
4148 # `rm'.
4149 for ac_file in conftest.exe conftest conftest.*; do
4150 test -f "$ac_file" || continue
4151 case $ac_file in
4152 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4153 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4154 break;;
4155 * ) break;;
4156 esac
4157 done
4158 else
4159 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4160 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4161 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4162 See \`config.log' for more details" "$LINENO" 5; }
4164 rm -f conftest conftest$ac_cv_exeext
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4166 $as_echo "$ac_cv_exeext" >&6; }
4168 rm -f conftest.$ac_ext
4169 EXEEXT=$ac_cv_exeext
4170 ac_exeext=$EXEEXT
4171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4172 /* end confdefs.h. */
4173 #include <stdio.h>
4175 main ()
4177 FILE *f = fopen ("conftest.out", "w");
4178 return ferror (f) || fclose (f) != 0;
4181 return 0;
4183 _ACEOF
4184 ac_clean_files="$ac_clean_files conftest.out"
4185 # Check that the compiler produces executables we can run. If not, either
4186 # the compiler is broken, or we cross compile.
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4188 $as_echo_n "checking whether we are cross compiling... " >&6; }
4189 if test "$cross_compiling" != yes; then
4190 { { ac_try="$ac_link"
4191 case "(($ac_try" in
4192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4193 *) ac_try_echo=$ac_try;;
4194 esac
4195 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4196 $as_echo "$ac_try_echo"; } >&5
4197 (eval "$ac_link") 2>&5
4198 ac_status=$?
4199 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4200 test $ac_status = 0; }
4201 if { ac_try='./conftest$ac_cv_exeext'
4202 { { case "(($ac_try" in
4203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4204 *) ac_try_echo=$ac_try;;
4205 esac
4206 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4207 $as_echo "$ac_try_echo"; } >&5
4208 (eval "$ac_try") 2>&5
4209 ac_status=$?
4210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4211 test $ac_status = 0; }; }; then
4212 cross_compiling=no
4213 else
4214 if test "$cross_compiling" = maybe; then
4215 cross_compiling=yes
4216 else
4217 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4218 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4219 as_fn_error $? "cannot run C compiled programs.
4220 If you meant to cross compile, use \`--host'.
4221 See \`config.log' for more details" "$LINENO" 5; }
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4226 $as_echo "$cross_compiling" >&6; }
4228 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4229 ac_clean_files=$ac_clean_files_save
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4231 $as_echo_n "checking for suffix of object files... " >&6; }
4232 if ${ac_cv_objext+:} false; then :
4233 $as_echo_n "(cached) " >&6
4234 else
4235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4236 /* end confdefs.h. */
4239 main ()
4243 return 0;
4245 _ACEOF
4246 rm -f conftest.o conftest.obj
4247 if { { ac_try="$ac_compile"
4248 case "(($ac_try" in
4249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4250 *) ac_try_echo=$ac_try;;
4251 esac
4252 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4253 $as_echo "$ac_try_echo"; } >&5
4254 (eval "$ac_compile") 2>&5
4255 ac_status=$?
4256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4257 test $ac_status = 0; }; then :
4258 for ac_file in conftest.o conftest.obj conftest.*; do
4259 test -f "$ac_file" || continue;
4260 case $ac_file in
4261 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4262 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4263 break;;
4264 esac
4265 done
4266 else
4267 $as_echo "$as_me: failed program was:" >&5
4268 sed 's/^/| /' conftest.$ac_ext >&5
4270 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4271 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4272 as_fn_error $? "cannot compute suffix of object files: cannot compile
4273 See \`config.log' for more details" "$LINENO" 5; }
4275 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4278 $as_echo "$ac_cv_objext" >&6; }
4279 OBJEXT=$ac_cv_objext
4280 ac_objext=$OBJEXT
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4282 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4283 if ${ac_cv_c_compiler_gnu+:} false; then :
4284 $as_echo_n "(cached) " >&6
4285 else
4286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4287 /* end confdefs.h. */
4290 main ()
4292 #ifndef __GNUC__
4293 choke me
4294 #endif
4297 return 0;
4299 _ACEOF
4300 if ac_fn_c_try_compile "$LINENO"; then :
4301 ac_compiler_gnu=yes
4302 else
4303 ac_compiler_gnu=no
4305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4306 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4310 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4311 if test $ac_compiler_gnu = yes; then
4312 GCC=yes
4313 else
4314 GCC=
4316 ac_test_CFLAGS=${CFLAGS+set}
4317 ac_save_CFLAGS=$CFLAGS
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4319 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4320 if ${ac_cv_prog_cc_g+:} false; then :
4321 $as_echo_n "(cached) " >&6
4322 else
4323 ac_save_c_werror_flag=$ac_c_werror_flag
4324 ac_c_werror_flag=yes
4325 ac_cv_prog_cc_g=no
4326 CFLAGS="-g"
4327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4328 /* end confdefs.h. */
4331 main ()
4335 return 0;
4337 _ACEOF
4338 if ac_fn_c_try_compile "$LINENO"; then :
4339 ac_cv_prog_cc_g=yes
4340 else
4341 CFLAGS=""
4342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4343 /* end confdefs.h. */
4346 main ()
4350 return 0;
4352 _ACEOF
4353 if ac_fn_c_try_compile "$LINENO"; then :
4355 else
4356 ac_c_werror_flag=$ac_save_c_werror_flag
4357 CFLAGS="-g"
4358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4359 /* end confdefs.h. */
4362 main ()
4366 return 0;
4368 _ACEOF
4369 if ac_fn_c_try_compile "$LINENO"; then :
4370 ac_cv_prog_cc_g=yes
4372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4377 ac_c_werror_flag=$ac_save_c_werror_flag
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4380 $as_echo "$ac_cv_prog_cc_g" >&6; }
4381 if test "$ac_test_CFLAGS" = set; then
4382 CFLAGS=$ac_save_CFLAGS
4383 elif test $ac_cv_prog_cc_g = yes; then
4384 if test "$GCC" = yes; then
4385 CFLAGS="-g -O2"
4386 else
4387 CFLAGS="-g"
4389 else
4390 if test "$GCC" = yes; then
4391 CFLAGS="-O2"
4392 else
4393 CFLAGS=
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4397 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4398 if ${ac_cv_prog_cc_c89+:} false; then :
4399 $as_echo_n "(cached) " >&6
4400 else
4401 ac_cv_prog_cc_c89=no
4402 ac_save_CC=$CC
4403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4404 /* end confdefs.h. */
4405 #include <stdarg.h>
4406 #include <stdio.h>
4407 struct stat;
4408 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4409 struct buf { int x; };
4410 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4411 static char *e (p, i)
4412 char **p;
4413 int i;
4415 return p[i];
4417 static char *f (char * (*g) (char **, int), char **p, ...)
4419 char *s;
4420 va_list v;
4421 va_start (v,p);
4422 s = g (p, va_arg (v,int));
4423 va_end (v);
4424 return s;
4427 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4428 function prototypes and stuff, but not '\xHH' hex character constants.
4429 These don't provoke an error unfortunately, instead are silently treated
4430 as 'x'. The following induces an error, until -std is added to get
4431 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4432 array size at least. It's necessary to write '\x00'==0 to get something
4433 that's true only with -std. */
4434 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4436 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4437 inside strings and character constants. */
4438 #define FOO(x) 'x'
4439 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4441 int test (int i, double x);
4442 struct s1 {int (*f) (int a);};
4443 struct s2 {int (*f) (double a);};
4444 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4445 int argc;
4446 char **argv;
4448 main ()
4450 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4452 return 0;
4454 _ACEOF
4455 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4456 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4458 CC="$ac_save_CC $ac_arg"
4459 if ac_fn_c_try_compile "$LINENO"; then :
4460 ac_cv_prog_cc_c89=$ac_arg
4462 rm -f core conftest.err conftest.$ac_objext
4463 test "x$ac_cv_prog_cc_c89" != "xno" && break
4464 done
4465 rm -f conftest.$ac_ext
4466 CC=$ac_save_CC
4469 # AC_CACHE_VAL
4470 case "x$ac_cv_prog_cc_c89" in
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4473 $as_echo "none needed" >&6; } ;;
4474 xno)
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4476 $as_echo "unsupported" >&6; } ;;
4478 CC="$CC $ac_cv_prog_cc_c89"
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4480 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4481 esac
4482 if test "x$ac_cv_prog_cc_c89" != xno; then :
4486 ac_ext=c
4487 ac_cpp='$CPP $CPPFLAGS'
4488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4492 ac_ext=cpp
4493 ac_cpp='$CXXCPP $CPPFLAGS'
4494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4497 if test -z "$CXX"; then
4498 if test -n "$CCC"; then
4499 CXX=$CCC
4500 else
4501 if test -n "$ac_tool_prefix"; then
4502 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4504 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4505 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4507 $as_echo_n "checking for $ac_word... " >&6; }
4508 if ${ac_cv_prog_CXX+:} false; then :
4509 $as_echo_n "(cached) " >&6
4510 else
4511 if test -n "$CXX"; then
4512 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4513 else
4514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4515 for as_dir in $PATH
4517 IFS=$as_save_IFS
4518 test -z "$as_dir" && as_dir=.
4519 for ac_exec_ext in '' $ac_executable_extensions; do
4520 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4521 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4523 break 2
4525 done
4526 done
4527 IFS=$as_save_IFS
4531 CXX=$ac_cv_prog_CXX
4532 if test -n "$CXX"; then
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4534 $as_echo "$CXX" >&6; }
4535 else
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4537 $as_echo "no" >&6; }
4541 test -n "$CXX" && break
4542 done
4544 if test -z "$CXX"; then
4545 ac_ct_CXX=$CXX
4546 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4548 # Extract the first word of "$ac_prog", so it can be a program name with args.
4549 set dummy $ac_prog; ac_word=$2
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4551 $as_echo_n "checking for $ac_word... " >&6; }
4552 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4553 $as_echo_n "(cached) " >&6
4554 else
4555 if test -n "$ac_ct_CXX"; then
4556 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4557 else
4558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4559 for as_dir in $PATH
4561 IFS=$as_save_IFS
4562 test -z "$as_dir" && as_dir=.
4563 for ac_exec_ext in '' $ac_executable_extensions; do
4564 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4565 ac_cv_prog_ac_ct_CXX="$ac_prog"
4566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4567 break 2
4569 done
4570 done
4571 IFS=$as_save_IFS
4575 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4576 if test -n "$ac_ct_CXX"; then
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4578 $as_echo "$ac_ct_CXX" >&6; }
4579 else
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4581 $as_echo "no" >&6; }
4585 test -n "$ac_ct_CXX" && break
4586 done
4588 if test "x$ac_ct_CXX" = x; then
4589 CXX="g++"
4590 else
4591 case $cross_compiling:$ac_tool_warned in
4592 yes:)
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4594 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4595 ac_tool_warned=yes ;;
4596 esac
4597 CXX=$ac_ct_CXX
4603 # Provide some information about the compiler.
4604 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4605 set X $ac_compile
4606 ac_compiler=$2
4607 for ac_option in --version -v -V -qversion; do
4608 { { ac_try="$ac_compiler $ac_option >&5"
4609 case "(($ac_try" in
4610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4611 *) ac_try_echo=$ac_try;;
4612 esac
4613 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4614 $as_echo "$ac_try_echo"; } >&5
4615 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4616 ac_status=$?
4617 if test -s conftest.err; then
4618 sed '10a\
4619 ... rest of stderr output deleted ...
4620 10q' conftest.err >conftest.er1
4621 cat conftest.er1 >&5
4623 rm -f conftest.er1 conftest.err
4624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4625 test $ac_status = 0; }
4626 done
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4629 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4630 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4631 $as_echo_n "(cached) " >&6
4632 else
4633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4634 /* end confdefs.h. */
4637 main ()
4639 #ifndef __GNUC__
4640 choke me
4641 #endif
4644 return 0;
4646 _ACEOF
4647 if ac_fn_cxx_try_compile "$LINENO"; then :
4648 ac_compiler_gnu=yes
4649 else
4650 ac_compiler_gnu=no
4652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4653 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4657 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4658 if test $ac_compiler_gnu = yes; then
4659 GXX=yes
4660 else
4661 GXX=
4663 ac_test_CXXFLAGS=${CXXFLAGS+set}
4664 ac_save_CXXFLAGS=$CXXFLAGS
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4666 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4667 if ${ac_cv_prog_cxx_g+:} false; then :
4668 $as_echo_n "(cached) " >&6
4669 else
4670 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4671 ac_cxx_werror_flag=yes
4672 ac_cv_prog_cxx_g=no
4673 CXXFLAGS="-g"
4674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4675 /* end confdefs.h. */
4678 main ()
4682 return 0;
4684 _ACEOF
4685 if ac_fn_cxx_try_compile "$LINENO"; then :
4686 ac_cv_prog_cxx_g=yes
4687 else
4688 CXXFLAGS=""
4689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4690 /* end confdefs.h. */
4693 main ()
4697 return 0;
4699 _ACEOF
4700 if ac_fn_cxx_try_compile "$LINENO"; then :
4702 else
4703 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4704 CXXFLAGS="-g"
4705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4706 /* end confdefs.h. */
4709 main ()
4713 return 0;
4715 _ACEOF
4716 if ac_fn_cxx_try_compile "$LINENO"; then :
4717 ac_cv_prog_cxx_g=yes
4719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4724 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4727 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4728 if test "$ac_test_CXXFLAGS" = set; then
4729 CXXFLAGS=$ac_save_CXXFLAGS
4730 elif test $ac_cv_prog_cxx_g = yes; then
4731 if test "$GXX" = yes; then
4732 CXXFLAGS="-g -O2"
4733 else
4734 CXXFLAGS="-g"
4736 else
4737 if test "$GXX" = yes; then
4738 CXXFLAGS="-O2"
4739 else
4740 CXXFLAGS=
4743 ac_ext=c
4744 ac_cpp='$CPP $CPPFLAGS'
4745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4749 if test -n "$ac_tool_prefix"; then
4750 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4751 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4753 $as_echo_n "checking for $ac_word... " >&6; }
4754 if ${ac_cv_prog_CPPBIN+:} false; then :
4755 $as_echo_n "(cached) " >&6
4756 else
4757 if test -n "$CPPBIN"; then
4758 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4759 else
4760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4761 for as_dir in $PATH
4763 IFS=$as_save_IFS
4764 test -z "$as_dir" && as_dir=.
4765 for ac_exec_ext in '' $ac_executable_extensions; do
4766 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4767 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4769 break 2
4771 done
4772 done
4773 IFS=$as_save_IFS
4777 CPPBIN=$ac_cv_prog_CPPBIN
4778 if test -n "$CPPBIN"; then
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4780 $as_echo "$CPPBIN" >&6; }
4781 else
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4783 $as_echo "no" >&6; }
4788 if test -z "$ac_cv_prog_CPPBIN"; then
4789 ac_ct_CPPBIN=$CPPBIN
4790 # Extract the first word of "cpp", so it can be a program name with args.
4791 set dummy cpp; ac_word=$2
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4793 $as_echo_n "checking for $ac_word... " >&6; }
4794 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4795 $as_echo_n "(cached) " >&6
4796 else
4797 if test -n "$ac_ct_CPPBIN"; then
4798 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4799 else
4800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4801 for as_dir in $PATH
4803 IFS=$as_save_IFS
4804 test -z "$as_dir" && as_dir=.
4805 for ac_exec_ext in '' $ac_executable_extensions; do
4806 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4807 ac_cv_prog_ac_ct_CPPBIN="cpp"
4808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4809 break 2
4811 done
4812 done
4813 IFS=$as_save_IFS
4817 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4818 if test -n "$ac_ct_CPPBIN"; then
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4820 $as_echo "$ac_ct_CPPBIN" >&6; }
4821 else
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4823 $as_echo "no" >&6; }
4826 if test "x$ac_ct_CPPBIN" = x; then
4827 CPPBIN="cpp"
4828 else
4829 case $cross_compiling:$ac_tool_warned in
4830 yes:)
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4832 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4833 ac_tool_warned=yes ;;
4834 esac
4835 CPPBIN=$ac_ct_CPPBIN
4837 else
4838 CPPBIN="$ac_cv_prog_CPPBIN"
4842 cat >>confdefs.h <<_ACEOF
4843 #define EXEEXT "$ac_exeext"
4844 _ACEOF
4846 if test -n "$ac_tool_prefix"; then
4847 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4848 set dummy ${ac_tool_prefix}ld; ac_word=$2
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4850 $as_echo_n "checking for $ac_word... " >&6; }
4851 if ${ac_cv_prog_LD+:} false; then :
4852 $as_echo_n "(cached) " >&6
4853 else
4854 if test -n "$LD"; then
4855 ac_cv_prog_LD="$LD" # Let the user override the test.
4856 else
4857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4858 for as_dir in $PATH
4860 IFS=$as_save_IFS
4861 test -z "$as_dir" && as_dir=.
4862 for ac_exec_ext in '' $ac_executable_extensions; do
4863 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4864 ac_cv_prog_LD="${ac_tool_prefix}ld"
4865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4866 break 2
4868 done
4869 done
4870 IFS=$as_save_IFS
4874 LD=$ac_cv_prog_LD
4875 if test -n "$LD"; then
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4877 $as_echo "$LD" >&6; }
4878 else
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4880 $as_echo "no" >&6; }
4885 if test -z "$ac_cv_prog_LD"; then
4886 ac_ct_LD=$LD
4887 # Extract the first word of "ld", so it can be a program name with args.
4888 set dummy ld; ac_word=$2
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4890 $as_echo_n "checking for $ac_word... " >&6; }
4891 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4892 $as_echo_n "(cached) " >&6
4893 else
4894 if test -n "$ac_ct_LD"; then
4895 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4896 else
4897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4898 for as_dir in $PATH
4900 IFS=$as_save_IFS
4901 test -z "$as_dir" && as_dir=.
4902 for ac_exec_ext in '' $ac_executable_extensions; do
4903 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4904 ac_cv_prog_ac_ct_LD="ld"
4905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4906 break 2
4908 done
4909 done
4910 IFS=$as_save_IFS
4914 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4915 if test -n "$ac_ct_LD"; then
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4917 $as_echo "$ac_ct_LD" >&6; }
4918 else
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4920 $as_echo "no" >&6; }
4923 if test "x$ac_ct_LD" = x; then
4924 LD=""
4925 else
4926 case $cross_compiling:$ac_tool_warned in
4927 yes:)
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4929 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4930 ac_tool_warned=yes ;;
4931 esac
4932 LD=$ac_ct_LD
4934 else
4935 LD="$ac_cv_prog_LD"
4939 case $host in
4940 *-darwin*)
4941 if test "x$enable_win64" = "xyes"
4942 then
4943 CC="$CC -m64"
4944 CXX="$CXX -m64"
4945 host_cpu="x86_64"
4946 notice_platform="64-bit "
4947 TARGETFLAGS="-m64"
4949 else
4950 CC="$CC -m32"
4951 CXX="$CXX -m32"
4952 host_cpu="i386"
4953 notice_platform="32-bit "
4954 TARGETFLAGS="-m32"
4956 enable_win16=${enable_win16:-yes}
4958 with_fontconfig=${with_fontconfig:-no}
4960 x86_64*|amd64*)
4961 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4962 then
4963 CC="$CC -m32"
4964 CXX="$CXX -m32"
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4966 $as_echo_n "checking whether $CC works... " >&6; }
4968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4969 /* end confdefs.h. */
4972 main ()
4976 return 0;
4978 _ACEOF
4979 if ac_fn_c_try_link "$LINENO"; then :
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4981 $as_echo "yes" >&6; }
4982 else
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4984 $as_echo "no" >&6; }
4985 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4987 rm -f core conftest.err conftest.$ac_objext \
4988 conftest$ac_exeext conftest.$ac_ext
4989 host_cpu="i386"
4990 notice_platform="32-bit "
4991 TARGETFLAGS="-m32"
4993 enable_win16=${enable_win16:-yes}
4994 else
4995 if test "x${GCC}" = "xyes"
4996 then
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4998 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5000 /* end confdefs.h. */
5001 #include <stdarg.h>
5003 main ()
5005 void func(__builtin_ms_va_list *args);
5007 return 0;
5009 _ACEOF
5010 if ac_fn_c_try_compile "$LINENO"; then :
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5012 $as_echo "yes" >&6; }
5013 else
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5015 $as_echo "no" >&6; }
5016 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
5018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5020 host_cpu="x86_64"
5021 TARGETFLAGS="-m64"
5025 arm*)
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5027 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5029 /* end confdefs.h. */
5030 int ac_test(int i) { return i; }
5032 main ()
5034 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5036 return 0;
5038 _ACEOF
5039 if ac_fn_c_try_link "$LINENO"; then :
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5041 $as_echo "yes" >&6; }
5042 else
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5044 $as_echo "no" >&6; }
5045 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5047 rm -f core conftest.err conftest.$ac_objext \
5048 conftest$ac_exeext conftest.$ac_ext
5049 CFLAGS="$CFLAGS -marm"
5050 TARGETFLAGS="-marm"
5053 *-mingw32*|*-cygwin*)
5054 enable_win16=${enable_win16:-no}
5055 CFLAGS="$CFLAGS -D_WIN32"
5057 i[3456789]86*)
5058 enable_win16=${enable_win16:-yes}
5060 esac
5062 enable_win16=${enable_win16:-no}
5063 enable_win64=${enable_win64:-no}
5065 enable_winetest=${enable_winetest:-$enable_tests}
5067 if test -n "$with_wine64"
5068 then
5069 if test "x$enable_win64" = "xyes"
5070 then
5071 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5072 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5074 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5075 You should create a separate build directory and run configure from there." "$LINENO" 5
5076 enable_fonts=${enable_fonts:-no}
5077 enable_server=${enable_server:-no}
5078 elif test "x$enable_win64" = "xyes"
5079 then
5080 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5084 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5085 if ${wine_cv_toolsdir+:} false; then :
5086 $as_echo_n "(cached) " >&6
5087 else
5088 wine_cv_toolsdir="$with_wine_tools"
5089 if test -z "$with_wine_tools"; then
5090 if test "$cross_compiling" = "yes"; then
5091 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5092 elif test -n "$with_wine64"; then
5093 wine_cv_toolsdir="$with_wine64"
5096 if test -z "$wine_cv_toolsdir"; then
5097 wine_makedep=tools/makedep
5098 wine_cv_toolsdir="\$(top_builddir)"
5099 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5100 wine_makedep=$wine_cv_toolsdir/tools/makedep
5101 case "$wine_cv_toolsdir" in
5102 /*) ;;
5103 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5104 esac
5105 enable_tools=${enable_tools:-no}
5106 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5107 else
5108 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5112 $as_echo "$wine_cv_toolsdir" >&6; }
5113 TOOLSDIR=$wine_cv_toolsdir
5115 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5116 then
5117 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5121 for ac_prog in flex
5123 # Extract the first word of "$ac_prog", so it can be a program name with args.
5124 set dummy $ac_prog; ac_word=$2
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5126 $as_echo_n "checking for $ac_word... " >&6; }
5127 if ${ac_cv_prog_FLEX+:} false; then :
5128 $as_echo_n "(cached) " >&6
5129 else
5130 if test -n "$FLEX"; then
5131 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5132 else
5133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5134 for as_dir in $PATH
5136 IFS=$as_save_IFS
5137 test -z "$as_dir" && as_dir=.
5138 for ac_exec_ext in '' $ac_executable_extensions; do
5139 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5140 ac_cv_prog_FLEX="$ac_prog"
5141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5142 break 2
5144 done
5145 done
5146 IFS=$as_save_IFS
5150 FLEX=$ac_cv_prog_FLEX
5151 if test -n "$FLEX"; then
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5153 $as_echo "$FLEX" >&6; }
5154 else
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5156 $as_echo "no" >&6; }
5160 test -n "$FLEX" && break
5161 done
5162 test -n "$FLEX" || FLEX="none"
5164 if test "$FLEX" = "none"
5165 then
5166 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5169 $as_echo_n "checking whether flex is recent enough... " >&6; }
5170 cat >conftest.l <<EOF
5171 %top{
5172 #include "prediluvian.h"
5176 if $FLEX -t conftest.l >/dev/null 2>&5
5177 then
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5179 $as_echo "yes" >&6; }
5180 else
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5182 $as_echo "no" >&6; }
5183 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5186 for ac_prog in bison
5188 # Extract the first word of "$ac_prog", so it can be a program name with args.
5189 set dummy $ac_prog; ac_word=$2
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5191 $as_echo_n "checking for $ac_word... " >&6; }
5192 if ${ac_cv_prog_BISON+:} false; then :
5193 $as_echo_n "(cached) " >&6
5194 else
5195 if test -n "$BISON"; then
5196 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5197 else
5198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5199 for as_dir in $PATH
5201 IFS=$as_save_IFS
5202 test -z "$as_dir" && as_dir=.
5203 for ac_exec_ext in '' $ac_executable_extensions; do
5204 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5205 ac_cv_prog_BISON="$ac_prog"
5206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5207 break 2
5209 done
5210 done
5211 IFS=$as_save_IFS
5215 BISON=$ac_cv_prog_BISON
5216 if test -n "$BISON"; then
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5218 $as_echo "$BISON" >&6; }
5219 else
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5221 $as_echo "no" >&6; }
5225 test -n "$BISON" && break
5226 done
5227 test -n "$BISON" || BISON="none"
5229 if test "$BISON" = "none"
5230 then
5231 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5234 if test -n "$ac_tool_prefix"; then
5235 for ac_prog in ar gar
5237 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5238 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5240 $as_echo_n "checking for $ac_word... " >&6; }
5241 if ${ac_cv_prog_AR+:} false; then :
5242 $as_echo_n "(cached) " >&6
5243 else
5244 if test -n "$AR"; then
5245 ac_cv_prog_AR="$AR" # Let the user override the test.
5246 else
5247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5248 for as_dir in $PATH
5250 IFS=$as_save_IFS
5251 test -z "$as_dir" && as_dir=.
5252 for ac_exec_ext in '' $ac_executable_extensions; do
5253 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5254 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5256 break 2
5258 done
5259 done
5260 IFS=$as_save_IFS
5264 AR=$ac_cv_prog_AR
5265 if test -n "$AR"; then
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5267 $as_echo "$AR" >&6; }
5268 else
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5270 $as_echo "no" >&6; }
5274 test -n "$AR" && break
5275 done
5277 if test -z "$AR"; then
5278 ac_ct_AR=$AR
5279 for ac_prog in ar gar
5281 # Extract the first word of "$ac_prog", so it can be a program name with args.
5282 set dummy $ac_prog; ac_word=$2
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5284 $as_echo_n "checking for $ac_word... " >&6; }
5285 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5286 $as_echo_n "(cached) " >&6
5287 else
5288 if test -n "$ac_ct_AR"; then
5289 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5290 else
5291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5292 for as_dir in $PATH
5294 IFS=$as_save_IFS
5295 test -z "$as_dir" && as_dir=.
5296 for ac_exec_ext in '' $ac_executable_extensions; do
5297 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5298 ac_cv_prog_ac_ct_AR="$ac_prog"
5299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5300 break 2
5302 done
5303 done
5304 IFS=$as_save_IFS
5308 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5309 if test -n "$ac_ct_AR"; then
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5311 $as_echo "$ac_ct_AR" >&6; }
5312 else
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5314 $as_echo "no" >&6; }
5318 test -n "$ac_ct_AR" && break
5319 done
5321 if test "x$ac_ct_AR" = x; then
5322 AR="ar"
5323 else
5324 case $cross_compiling:$ac_tool_warned in
5325 yes:)
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5327 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5328 ac_tool_warned=yes ;;
5329 esac
5330 AR=$ac_ct_AR
5334 if test -n "$ac_tool_prefix"; then
5335 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5336 set dummy ${ac_tool_prefix}strip; ac_word=$2
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5338 $as_echo_n "checking for $ac_word... " >&6; }
5339 if ${ac_cv_prog_STRIP+:} false; then :
5340 $as_echo_n "(cached) " >&6
5341 else
5342 if test -n "$STRIP"; then
5343 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5344 else
5345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5346 for as_dir in $PATH
5348 IFS=$as_save_IFS
5349 test -z "$as_dir" && as_dir=.
5350 for ac_exec_ext in '' $ac_executable_extensions; do
5351 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5352 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5354 break 2
5356 done
5357 done
5358 IFS=$as_save_IFS
5362 STRIP=$ac_cv_prog_STRIP
5363 if test -n "$STRIP"; then
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5365 $as_echo "$STRIP" >&6; }
5366 else
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5368 $as_echo "no" >&6; }
5373 if test -z "$ac_cv_prog_STRIP"; then
5374 ac_ct_STRIP=$STRIP
5375 # Extract the first word of "strip", so it can be a program name with args.
5376 set dummy strip; ac_word=$2
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5378 $as_echo_n "checking for $ac_word... " >&6; }
5379 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5380 $as_echo_n "(cached) " >&6
5381 else
5382 if test -n "$ac_ct_STRIP"; then
5383 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5384 else
5385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5386 for as_dir in $PATH
5388 IFS=$as_save_IFS
5389 test -z "$as_dir" && as_dir=.
5390 for ac_exec_ext in '' $ac_executable_extensions; do
5391 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5392 ac_cv_prog_ac_ct_STRIP="strip"
5393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5394 break 2
5396 done
5397 done
5398 IFS=$as_save_IFS
5402 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5403 if test -n "$ac_ct_STRIP"; then
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5405 $as_echo "$ac_ct_STRIP" >&6; }
5406 else
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5408 $as_echo "no" >&6; }
5411 if test "x$ac_ct_STRIP" = x; then
5412 STRIP="strip"
5413 else
5414 case $cross_compiling:$ac_tool_warned in
5415 yes:)
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5417 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5418 ac_tool_warned=yes ;;
5419 esac
5420 STRIP=$ac_ct_STRIP
5422 else
5423 STRIP="$ac_cv_prog_STRIP"
5426 ARFLAGS=rc
5428 if test -n "$ac_tool_prefix"; then
5429 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5430 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5432 $as_echo_n "checking for $ac_word... " >&6; }
5433 if ${ac_cv_prog_RANLIB+:} false; then :
5434 $as_echo_n "(cached) " >&6
5435 else
5436 if test -n "$RANLIB"; then
5437 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5438 else
5439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5440 for as_dir in $PATH
5442 IFS=$as_save_IFS
5443 test -z "$as_dir" && as_dir=.
5444 for ac_exec_ext in '' $ac_executable_extensions; do
5445 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5446 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5448 break 2
5450 done
5451 done
5452 IFS=$as_save_IFS
5456 RANLIB=$ac_cv_prog_RANLIB
5457 if test -n "$RANLIB"; then
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5459 $as_echo "$RANLIB" >&6; }
5460 else
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5462 $as_echo "no" >&6; }
5467 if test -z "$ac_cv_prog_RANLIB"; then
5468 ac_ct_RANLIB=$RANLIB
5469 # Extract the first word of "ranlib", so it can be a program name with args.
5470 set dummy ranlib; ac_word=$2
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5472 $as_echo_n "checking for $ac_word... " >&6; }
5473 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5474 $as_echo_n "(cached) " >&6
5475 else
5476 if test -n "$ac_ct_RANLIB"; then
5477 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5478 else
5479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5480 for as_dir in $PATH
5482 IFS=$as_save_IFS
5483 test -z "$as_dir" && as_dir=.
5484 for ac_exec_ext in '' $ac_executable_extensions; do
5485 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5486 ac_cv_prog_ac_ct_RANLIB="ranlib"
5487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5488 break 2
5490 done
5491 done
5492 IFS=$as_save_IFS
5496 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5497 if test -n "$ac_ct_RANLIB"; then
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5499 $as_echo "$ac_ct_RANLIB" >&6; }
5500 else
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5502 $as_echo "no" >&6; }
5505 if test "x$ac_ct_RANLIB" = x; then
5506 RANLIB=":"
5507 else
5508 case $cross_compiling:$ac_tool_warned in
5509 yes:)
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5511 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5512 ac_tool_warned=yes ;;
5513 esac
5514 RANLIB=$ac_ct_RANLIB
5516 else
5517 RANLIB="$ac_cv_prog_RANLIB"
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5521 $as_echo_n "checking whether ln -s works... " >&6; }
5522 LN_S=$as_ln_s
5523 if test "$LN_S" = "ln -s"; then
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5525 $as_echo "yes" >&6; }
5526 else
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5528 $as_echo "no, using $LN_S" >&6; }
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5532 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5533 if ${ac_cv_path_GREP+:} false; then :
5534 $as_echo_n "(cached) " >&6
5535 else
5536 if test -z "$GREP"; then
5537 ac_path_GREP_found=false
5538 # Loop through the user's path and test for each of PROGNAME-LIST
5539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5540 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5542 IFS=$as_save_IFS
5543 test -z "$as_dir" && as_dir=.
5544 for ac_prog in grep ggrep; do
5545 for ac_exec_ext in '' $ac_executable_extensions; do
5546 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5547 as_fn_executable_p "$ac_path_GREP" || continue
5548 # Check for GNU ac_path_GREP and select it if it is found.
5549 # Check for GNU $ac_path_GREP
5550 case `"$ac_path_GREP" --version 2>&1` in
5551 *GNU*)
5552 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5554 ac_count=0
5555 $as_echo_n 0123456789 >"conftest.in"
5556 while :
5558 cat "conftest.in" "conftest.in" >"conftest.tmp"
5559 mv "conftest.tmp" "conftest.in"
5560 cp "conftest.in" "conftest.nl"
5561 $as_echo 'GREP' >> "conftest.nl"
5562 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5563 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5564 as_fn_arith $ac_count + 1 && ac_count=$as_val
5565 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5566 # Best one so far, save it but keep looking for a better one
5567 ac_cv_path_GREP="$ac_path_GREP"
5568 ac_path_GREP_max=$ac_count
5570 # 10*(2^10) chars as input seems more than enough
5571 test $ac_count -gt 10 && break
5572 done
5573 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5574 esac
5576 $ac_path_GREP_found && break 3
5577 done
5578 done
5579 done
5580 IFS=$as_save_IFS
5581 if test -z "$ac_cv_path_GREP"; then
5582 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5584 else
5585 ac_cv_path_GREP=$GREP
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5590 $as_echo "$ac_cv_path_GREP" >&6; }
5591 GREP="$ac_cv_path_GREP"
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5595 $as_echo_n "checking for egrep... " >&6; }
5596 if ${ac_cv_path_EGREP+:} false; then :
5597 $as_echo_n "(cached) " >&6
5598 else
5599 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5600 then ac_cv_path_EGREP="$GREP -E"
5601 else
5602 if test -z "$EGREP"; then
5603 ac_path_EGREP_found=false
5604 # Loop through the user's path and test for each of PROGNAME-LIST
5605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5606 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5608 IFS=$as_save_IFS
5609 test -z "$as_dir" && as_dir=.
5610 for ac_prog in egrep; do
5611 for ac_exec_ext in '' $ac_executable_extensions; do
5612 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5613 as_fn_executable_p "$ac_path_EGREP" || continue
5614 # Check for GNU ac_path_EGREP and select it if it is found.
5615 # Check for GNU $ac_path_EGREP
5616 case `"$ac_path_EGREP" --version 2>&1` in
5617 *GNU*)
5618 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5620 ac_count=0
5621 $as_echo_n 0123456789 >"conftest.in"
5622 while :
5624 cat "conftest.in" "conftest.in" >"conftest.tmp"
5625 mv "conftest.tmp" "conftest.in"
5626 cp "conftest.in" "conftest.nl"
5627 $as_echo 'EGREP' >> "conftest.nl"
5628 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5629 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5630 as_fn_arith $ac_count + 1 && ac_count=$as_val
5631 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5632 # Best one so far, save it but keep looking for a better one
5633 ac_cv_path_EGREP="$ac_path_EGREP"
5634 ac_path_EGREP_max=$ac_count
5636 # 10*(2^10) chars as input seems more than enough
5637 test $ac_count -gt 10 && break
5638 done
5639 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5640 esac
5642 $ac_path_EGREP_found && break 3
5643 done
5644 done
5645 done
5646 IFS=$as_save_IFS
5647 if test -z "$ac_cv_path_EGREP"; then
5648 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5650 else
5651 ac_cv_path_EGREP=$EGREP
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5657 $as_echo "$ac_cv_path_EGREP" >&6; }
5658 EGREP="$ac_cv_path_EGREP"
5661 # Extract the first word of "ldconfig", so it can be a program name with args.
5662 set dummy ldconfig; ac_word=$2
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5664 $as_echo_n "checking for $ac_word... " >&6; }
5665 if ${ac_cv_path_LDCONFIG+:} false; then :
5666 $as_echo_n "(cached) " >&6
5667 else
5668 case $LDCONFIG in
5669 [\\/]* | ?:[\\/]*)
5670 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5674 for as_dir in /sbin /usr/sbin $PATH
5676 IFS=$as_save_IFS
5677 test -z "$as_dir" && as_dir=.
5678 for ac_exec_ext in '' $ac_executable_extensions; do
5679 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5680 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5682 break 2
5684 done
5685 done
5686 IFS=$as_save_IFS
5688 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5690 esac
5692 LDCONFIG=$ac_cv_path_LDCONFIG
5693 if test -n "$LDCONFIG"; then
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5695 $as_echo "$LDCONFIG" >&6; }
5696 else
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5698 $as_echo "no" >&6; }
5702 for ac_prog in msgfmt
5704 # Extract the first word of "$ac_prog", so it can be a program name with args.
5705 set dummy $ac_prog; ac_word=$2
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5707 $as_echo_n "checking for $ac_word... " >&6; }
5708 if ${ac_cv_prog_MSGFMT+:} false; then :
5709 $as_echo_n "(cached) " >&6
5710 else
5711 if test -n "$MSGFMT"; then
5712 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5713 else
5714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5715 for as_dir in $PATH
5717 IFS=$as_save_IFS
5718 test -z "$as_dir" && as_dir=.
5719 for ac_exec_ext in '' $ac_executable_extensions; do
5720 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5721 ac_cv_prog_MSGFMT="$ac_prog"
5722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5723 break 2
5725 done
5726 done
5727 IFS=$as_save_IFS
5731 MSGFMT=$ac_cv_prog_MSGFMT
5732 if test -n "$MSGFMT"; then
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5734 $as_echo "$MSGFMT" >&6; }
5735 else
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5737 $as_echo "no" >&6; }
5741 test -n "$MSGFMT" && break
5742 done
5743 test -n "$MSGFMT" || MSGFMT="false"
5745 if ${ac_tool_prefix+:} false; then :
5746 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5747 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5749 $as_echo_n "checking for $ac_word... " >&6; }
5750 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5751 $as_echo_n "(cached) " >&6
5752 else
5753 if test -n "$PKG_CONFIG"; then
5754 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5755 else
5756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5757 for as_dir in $PATH
5759 IFS=$as_save_IFS
5760 test -z "$as_dir" && as_dir=.
5761 for ac_exec_ext in '' $ac_executable_extensions; do
5762 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5763 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5765 break 2
5767 done
5768 done
5769 IFS=$as_save_IFS
5773 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5774 if test -n "$PKG_CONFIG"; then
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5776 $as_echo "$PKG_CONFIG" >&6; }
5777 else
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5779 $as_echo "no" >&6; }
5784 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5785 if test "x$cross_compiling" = xyes; then :
5787 else
5788 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5789 # Extract the first word of "pkg-config", so it can be a program name with args.
5790 set dummy pkg-config; ac_word=$2
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5792 $as_echo_n "checking for $ac_word... " >&6; }
5793 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5794 $as_echo_n "(cached) " >&6
5795 else
5796 if test -n "$PKG_CONFIG"; then
5797 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5798 else
5799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5800 for as_dir in $PATH
5802 IFS=$as_save_IFS
5803 test -z "$as_dir" && as_dir=.
5804 for ac_exec_ext in '' $ac_executable_extensions; do
5805 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5806 ac_cv_prog_PKG_CONFIG="pkg-config"
5807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5808 break 2
5810 done
5811 done
5812 IFS=$as_save_IFS
5816 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5817 if test -n "$PKG_CONFIG"; then
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5819 $as_echo "$PKG_CONFIG" >&6; }
5820 else
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5822 $as_echo "no" >&6; }
5827 else
5828 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5831 if test "x$enable_maintainer_mode" != "xyes"
5832 then
5833 FONTFORGE=""
5834 RSVG=""
5835 CONVERT=""
5836 ICOTOOL=""
5837 else
5838 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5839 for ac_prog in fontforge
5841 # Extract the first word of "$ac_prog", so it can be a program name with args.
5842 set dummy $ac_prog; ac_word=$2
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5844 $as_echo_n "checking for $ac_word... " >&6; }
5845 if ${ac_cv_prog_FONTFORGE+:} false; then :
5846 $as_echo_n "(cached) " >&6
5847 else
5848 if test -n "$FONTFORGE"; then
5849 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5850 else
5851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5852 for as_dir in $PATH
5854 IFS=$as_save_IFS
5855 test -z "$as_dir" && as_dir=.
5856 for ac_exec_ext in '' $ac_executable_extensions; do
5857 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5858 ac_cv_prog_FONTFORGE="$ac_prog"
5859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5860 break 2
5862 done
5863 done
5864 IFS=$as_save_IFS
5868 FONTFORGE=$ac_cv_prog_FONTFORGE
5869 if test -n "$FONTFORGE"; then
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5871 $as_echo "$FONTFORGE" >&6; }
5872 else
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5874 $as_echo "no" >&6; }
5878 test -n "$FONTFORGE" && break
5879 done
5880 test -n "$FONTFORGE" || FONTFORGE="false"
5882 for ac_prog in rsvg-convert rsvg
5884 # Extract the first word of "$ac_prog", so it can be a program name with args.
5885 set dummy $ac_prog; ac_word=$2
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5887 $as_echo_n "checking for $ac_word... " >&6; }
5888 if ${ac_cv_prog_RSVG+:} false; then :
5889 $as_echo_n "(cached) " >&6
5890 else
5891 if test -n "$RSVG"; then
5892 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5893 else
5894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5895 for as_dir in $PATH
5897 IFS=$as_save_IFS
5898 test -z "$as_dir" && as_dir=.
5899 for ac_exec_ext in '' $ac_executable_extensions; do
5900 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5901 ac_cv_prog_RSVG="$ac_prog"
5902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5903 break 2
5905 done
5906 done
5907 IFS=$as_save_IFS
5911 RSVG=$ac_cv_prog_RSVG
5912 if test -n "$RSVG"; then
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5914 $as_echo "$RSVG" >&6; }
5915 else
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5917 $as_echo "no" >&6; }
5921 test -n "$RSVG" && break
5922 done
5923 test -n "$RSVG" || RSVG="false"
5925 for ac_prog in convert
5927 # Extract the first word of "$ac_prog", so it can be a program name with args.
5928 set dummy $ac_prog; ac_word=$2
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5930 $as_echo_n "checking for $ac_word... " >&6; }
5931 if ${ac_cv_prog_CONVERT+:} false; then :
5932 $as_echo_n "(cached) " >&6
5933 else
5934 if test -n "$CONVERT"; then
5935 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5936 else
5937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5938 for as_dir in $PATH
5940 IFS=$as_save_IFS
5941 test -z "$as_dir" && as_dir=.
5942 for ac_exec_ext in '' $ac_executable_extensions; do
5943 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5944 ac_cv_prog_CONVERT="$ac_prog"
5945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5946 break 2
5948 done
5949 done
5950 IFS=$as_save_IFS
5954 CONVERT=$ac_cv_prog_CONVERT
5955 if test -n "$CONVERT"; then
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5957 $as_echo "$CONVERT" >&6; }
5958 else
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5960 $as_echo "no" >&6; }
5964 test -n "$CONVERT" && break
5965 done
5966 test -n "$CONVERT" || CONVERT="false"
5968 for ac_prog in icotool
5970 # Extract the first word of "$ac_prog", so it can be a program name with args.
5971 set dummy $ac_prog; ac_word=$2
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5973 $as_echo_n "checking for $ac_word... " >&6; }
5974 if ${ac_cv_prog_ICOTOOL+:} false; then :
5975 $as_echo_n "(cached) " >&6
5976 else
5977 if test -n "$ICOTOOL"; then
5978 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5979 else
5980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5981 for as_dir in $PATH
5983 IFS=$as_save_IFS
5984 test -z "$as_dir" && as_dir=.
5985 for ac_exec_ext in '' $ac_executable_extensions; do
5986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5987 ac_cv_prog_ICOTOOL="$ac_prog"
5988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5989 break 2
5991 done
5992 done
5993 IFS=$as_save_IFS
5997 ICOTOOL=$ac_cv_prog_ICOTOOL
5998 if test -n "$ICOTOOL"; then
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6000 $as_echo "$ICOTOOL" >&6; }
6001 else
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6003 $as_echo "no" >&6; }
6007 test -n "$ICOTOOL" && break
6008 done
6009 test -n "$ICOTOOL" || ICOTOOL="false"
6011 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6012 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6014 if test "$CONVERT" = false
6015 then
6016 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6017 else
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6019 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6020 convert_version=`convert --version | head -n1`
6021 if test "x$convert_version" != "x"
6022 then
6023 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6024 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6025 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6026 then
6027 CONVERT=false
6030 if test "$CONVERT" = false
6031 then
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6033 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6034 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6035 else
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6037 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6041 if test "$ICOTOOL" = false
6042 then
6043 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6044 else
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6046 $as_echo_n "checking for recent enough icotool... " >&6; }
6047 icotool_version=`icotool --version | head -n1`
6048 if test "x$icotool_version" != "x"
6049 then
6050 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6051 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6052 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6053 then
6054 ICOTOOL=false
6055 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6058 if test "$ICOTOOL" = false
6059 then
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6061 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6062 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6063 else
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6065 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6069 with_gettext=yes
6070 with_gettextpo=yes
6071 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6074 test "x$with_gettext" != xno || MSGFMT=false
6075 if test "$MSGFMT" != "false"
6076 then
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6078 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6079 cat >conftest.po <<EOF
6080 # comment
6081 msgctxt "ctxt"
6082 msgid "id"
6083 msgstr "str"
6085 if $MSGFMT -o /dev/null conftest.po 2>&5
6086 then
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6088 $as_echo "yes" >&6; }
6089 else
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6091 $as_echo "no" >&6; }
6092 MSGFMT=false
6095 if test "$MSGFMT" = false; then :
6096 case "x$with_gettext" in
6097 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6098 xno) ;;
6099 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6100 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6101 esac
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6106 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6107 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6108 $as_echo_n "(cached) " >&6
6109 else
6110 ac_check_lib_save_LIBS=$LIBS
6111 LIBS="-li386 $LIBS"
6112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6113 /* end confdefs.h. */
6115 /* Override any GCC internal prototype to avoid an error.
6116 Use char because int might match the return type of a GCC
6117 builtin and then its argument prototype would still apply. */
6118 #ifdef __cplusplus
6119 extern "C"
6120 #endif
6121 char i386_set_ldt ();
6123 main ()
6125 return i386_set_ldt ();
6127 return 0;
6129 _ACEOF
6130 if ac_fn_c_try_link "$LINENO"; then :
6131 ac_cv_lib_i386_i386_set_ldt=yes
6132 else
6133 ac_cv_lib_i386_i386_set_ldt=no
6135 rm -f core conftest.err conftest.$ac_objext \
6136 conftest$ac_exeext conftest.$ac_ext
6137 LIBS=$ac_check_lib_save_LIBS
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6140 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6141 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6142 cat >>confdefs.h <<_ACEOF
6143 #define HAVE_LIBI386 1
6144 _ACEOF
6146 LIBS="-li386 $LIBS"
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6151 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6152 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6153 $as_echo_n "(cached) " >&6
6154 else
6155 ac_check_lib_save_LIBS=$LIBS
6156 LIBS="-lossaudio $LIBS"
6157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6158 /* end confdefs.h. */
6160 /* Override any GCC internal prototype to avoid an error.
6161 Use char because int might match the return type of a GCC
6162 builtin and then its argument prototype would still apply. */
6163 #ifdef __cplusplus
6164 extern "C"
6165 #endif
6166 char _oss_ioctl ();
6168 main ()
6170 return _oss_ioctl ();
6172 return 0;
6174 _ACEOF
6175 if ac_fn_c_try_link "$LINENO"; then :
6176 ac_cv_lib_ossaudio__oss_ioctl=yes
6177 else
6178 ac_cv_lib_ossaudio__oss_ioctl=no
6180 rm -f core conftest.err conftest.$ac_objext \
6181 conftest$ac_exeext conftest.$ac_ext
6182 LIBS=$ac_check_lib_save_LIBS
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6185 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6186 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6187 cat >>confdefs.h <<_ACEOF
6188 #define HAVE_LIBOSSAUDIO 1
6189 _ACEOF
6191 LIBS="-lossaudio $LIBS"
6196 OPENGL_LIBS=""
6200 # Check whether --enable-largefile was given.
6201 if test "${enable_largefile+set}" = set; then :
6202 enableval=$enable_largefile;
6205 if test "$enable_largefile" != no; then
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6208 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6209 if ${ac_cv_sys_largefile_CC+:} false; then :
6210 $as_echo_n "(cached) " >&6
6211 else
6212 ac_cv_sys_largefile_CC=no
6213 if test "$GCC" != yes; then
6214 ac_save_CC=$CC
6215 while :; do
6216 # IRIX 6.2 and later do not support large files by default,
6217 # so use the C compiler's -n32 option if that helps.
6218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6219 /* end confdefs.h. */
6220 #include <sys/types.h>
6221 /* Check that off_t can represent 2**63 - 1 correctly.
6222 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6223 since some C++ compilers masquerading as C compilers
6224 incorrectly reject 9223372036854775807. */
6225 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6226 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6227 && LARGE_OFF_T % 2147483647 == 1)
6228 ? 1 : -1];
6230 main ()
6234 return 0;
6236 _ACEOF
6237 if ac_fn_c_try_compile "$LINENO"; then :
6238 break
6240 rm -f core conftest.err conftest.$ac_objext
6241 CC="$CC -n32"
6242 if ac_fn_c_try_compile "$LINENO"; then :
6243 ac_cv_sys_largefile_CC=' -n32'; break
6245 rm -f core conftest.err conftest.$ac_objext
6246 break
6247 done
6248 CC=$ac_save_CC
6249 rm -f conftest.$ac_ext
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6253 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6254 if test "$ac_cv_sys_largefile_CC" != no; then
6255 CC=$CC$ac_cv_sys_largefile_CC
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6259 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6260 if ${ac_cv_sys_file_offset_bits+:} false; then :
6261 $as_echo_n "(cached) " >&6
6262 else
6263 while :; do
6264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6265 /* end confdefs.h. */
6266 #include <sys/types.h>
6267 /* Check that off_t can represent 2**63 - 1 correctly.
6268 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6269 since some C++ compilers masquerading as C compilers
6270 incorrectly reject 9223372036854775807. */
6271 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6272 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6273 && LARGE_OFF_T % 2147483647 == 1)
6274 ? 1 : -1];
6276 main ()
6280 return 0;
6282 _ACEOF
6283 if ac_fn_c_try_compile "$LINENO"; then :
6284 ac_cv_sys_file_offset_bits=no; break
6286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6288 /* end confdefs.h. */
6289 #define _FILE_OFFSET_BITS 64
6290 #include <sys/types.h>
6291 /* Check that off_t can represent 2**63 - 1 correctly.
6292 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6293 since some C++ compilers masquerading as C compilers
6294 incorrectly reject 9223372036854775807. */
6295 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6296 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6297 && LARGE_OFF_T % 2147483647 == 1)
6298 ? 1 : -1];
6300 main ()
6304 return 0;
6306 _ACEOF
6307 if ac_fn_c_try_compile "$LINENO"; then :
6308 ac_cv_sys_file_offset_bits=64; break
6310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6311 ac_cv_sys_file_offset_bits=unknown
6312 break
6313 done
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6316 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6317 case $ac_cv_sys_file_offset_bits in #(
6318 no | unknown) ;;
6320 cat >>confdefs.h <<_ACEOF
6321 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6322 _ACEOF
6324 esac
6325 rm -rf conftest*
6326 if test $ac_cv_sys_file_offset_bits = unknown; then
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6328 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6329 if ${ac_cv_sys_large_files+:} false; then :
6330 $as_echo_n "(cached) " >&6
6331 else
6332 while :; do
6333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6334 /* end confdefs.h. */
6335 #include <sys/types.h>
6336 /* Check that off_t can represent 2**63 - 1 correctly.
6337 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6338 since some C++ compilers masquerading as C compilers
6339 incorrectly reject 9223372036854775807. */
6340 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6341 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6342 && LARGE_OFF_T % 2147483647 == 1)
6343 ? 1 : -1];
6345 main ()
6349 return 0;
6351 _ACEOF
6352 if ac_fn_c_try_compile "$LINENO"; then :
6353 ac_cv_sys_large_files=no; break
6355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6357 /* end confdefs.h. */
6358 #define _LARGE_FILES 1
6359 #include <sys/types.h>
6360 /* Check that off_t can represent 2**63 - 1 correctly.
6361 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6362 since some C++ compilers masquerading as C compilers
6363 incorrectly reject 9223372036854775807. */
6364 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6365 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6366 && LARGE_OFF_T % 2147483647 == 1)
6367 ? 1 : -1];
6369 main ()
6373 return 0;
6375 _ACEOF
6376 if ac_fn_c_try_compile "$LINENO"; then :
6377 ac_cv_sys_large_files=1; break
6379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6380 ac_cv_sys_large_files=unknown
6381 break
6382 done
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6385 $as_echo "$ac_cv_sys_large_files" >&6; }
6386 case $ac_cv_sys_large_files in #(
6387 no | unknown) ;;
6389 cat >>confdefs.h <<_ACEOF
6390 #define _LARGE_FILES $ac_cv_sys_large_files
6391 _ACEOF
6393 esac
6394 rm -rf conftest*
6401 ac_ext=c
6402 ac_cpp='$CPP $CPPFLAGS'
6403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6407 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6408 # On Suns, sometimes $CPP names a directory.
6409 if test -n "$CPP" && test -d "$CPP"; then
6410 CPP=
6412 if test -z "$CPP"; then
6413 if ${ac_cv_prog_CPP+:} false; then :
6414 $as_echo_n "(cached) " >&6
6415 else
6416 # Double quotes because CPP needs to be expanded
6417 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6419 ac_preproc_ok=false
6420 for ac_c_preproc_warn_flag in '' yes
6422 # Use a header file that comes with gcc, so configuring glibc
6423 # with a fresh cross-compiler works.
6424 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6425 # <limits.h> exists even on freestanding compilers.
6426 # On the NeXT, cc -E runs the code through the compiler's parser,
6427 # not just through cpp. "Syntax error" is here to catch this case.
6428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6429 /* end confdefs.h. */
6430 #ifdef __STDC__
6431 # include <limits.h>
6432 #else
6433 # include <assert.h>
6434 #endif
6435 Syntax error
6436 _ACEOF
6437 if ac_fn_c_try_cpp "$LINENO"; then :
6439 else
6440 # Broken: fails on valid input.
6441 continue
6443 rm -f conftest.err conftest.i conftest.$ac_ext
6445 # OK, works on sane cases. Now check whether nonexistent headers
6446 # can be detected and how.
6447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6448 /* end confdefs.h. */
6449 #include <ac_nonexistent.h>
6450 _ACEOF
6451 if ac_fn_c_try_cpp "$LINENO"; then :
6452 # Broken: success on invalid input.
6453 continue
6454 else
6455 # Passes both tests.
6456 ac_preproc_ok=:
6457 break
6459 rm -f conftest.err conftest.i conftest.$ac_ext
6461 done
6462 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6463 rm -f conftest.i conftest.err conftest.$ac_ext
6464 if $ac_preproc_ok; then :
6465 break
6468 done
6469 ac_cv_prog_CPP=$CPP
6472 CPP=$ac_cv_prog_CPP
6473 else
6474 ac_cv_prog_CPP=$CPP
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6477 $as_echo "$CPP" >&6; }
6478 ac_preproc_ok=false
6479 for ac_c_preproc_warn_flag in '' yes
6481 # Use a header file that comes with gcc, so configuring glibc
6482 # with a fresh cross-compiler works.
6483 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6484 # <limits.h> exists even on freestanding compilers.
6485 # On the NeXT, cc -E runs the code through the compiler's parser,
6486 # not just through cpp. "Syntax error" is here to catch this case.
6487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6488 /* end confdefs.h. */
6489 #ifdef __STDC__
6490 # include <limits.h>
6491 #else
6492 # include <assert.h>
6493 #endif
6494 Syntax error
6495 _ACEOF
6496 if ac_fn_c_try_cpp "$LINENO"; then :
6498 else
6499 # Broken: fails on valid input.
6500 continue
6502 rm -f conftest.err conftest.i conftest.$ac_ext
6504 # OK, works on sane cases. Now check whether nonexistent headers
6505 # can be detected and how.
6506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6507 /* end confdefs.h. */
6508 #include <ac_nonexistent.h>
6509 _ACEOF
6510 if ac_fn_c_try_cpp "$LINENO"; then :
6511 # Broken: success on invalid input.
6512 continue
6513 else
6514 # Passes both tests.
6515 ac_preproc_ok=:
6516 break
6518 rm -f conftest.err conftest.i conftest.$ac_ext
6520 done
6521 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6522 rm -f conftest.i conftest.err conftest.$ac_ext
6523 if $ac_preproc_ok; then :
6525 else
6526 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6527 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6528 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6529 See \`config.log' for more details" "$LINENO" 5; }
6532 ac_ext=c
6533 ac_cpp='$CPP $CPPFLAGS'
6534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6540 $as_echo_n "checking for ANSI C header files... " >&6; }
6541 if ${ac_cv_header_stdc+:} false; then :
6542 $as_echo_n "(cached) " >&6
6543 else
6544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6545 /* end confdefs.h. */
6546 #include <stdlib.h>
6547 #include <stdarg.h>
6548 #include <string.h>
6549 #include <float.h>
6552 main ()
6556 return 0;
6558 _ACEOF
6559 if ac_fn_c_try_compile "$LINENO"; then :
6560 ac_cv_header_stdc=yes
6561 else
6562 ac_cv_header_stdc=no
6564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6566 if test $ac_cv_header_stdc = yes; then
6567 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6569 /* end confdefs.h. */
6570 #include <string.h>
6572 _ACEOF
6573 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6574 $EGREP "memchr" >/dev/null 2>&1; then :
6576 else
6577 ac_cv_header_stdc=no
6579 rm -f conftest*
6583 if test $ac_cv_header_stdc = yes; then
6584 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6586 /* end confdefs.h. */
6587 #include <stdlib.h>
6589 _ACEOF
6590 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6591 $EGREP "free" >/dev/null 2>&1; then :
6593 else
6594 ac_cv_header_stdc=no
6596 rm -f conftest*
6600 if test $ac_cv_header_stdc = yes; then
6601 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6602 if test "$cross_compiling" = yes; then :
6604 else
6605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6606 /* end confdefs.h. */
6607 #include <ctype.h>
6608 #include <stdlib.h>
6609 #if ((' ' & 0x0FF) == 0x020)
6610 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6611 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6612 #else
6613 # define ISLOWER(c) \
6614 (('a' <= (c) && (c) <= 'i') \
6615 || ('j' <= (c) && (c) <= 'r') \
6616 || ('s' <= (c) && (c) <= 'z'))
6617 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6618 #endif
6620 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6622 main ()
6624 int i;
6625 for (i = 0; i < 256; i++)
6626 if (XOR (islower (i), ISLOWER (i))
6627 || toupper (i) != TOUPPER (i))
6628 return 2;
6629 return 0;
6631 _ACEOF
6632 if ac_fn_c_try_run "$LINENO"; then :
6634 else
6635 ac_cv_header_stdc=no
6637 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6638 conftest.$ac_objext conftest.beam conftest.$ac_ext
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6644 $as_echo "$ac_cv_header_stdc" >&6; }
6645 if test $ac_cv_header_stdc = yes; then
6647 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6651 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6652 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6653 inttypes.h stdint.h unistd.h
6654 do :
6655 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6656 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6658 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6659 cat >>confdefs.h <<_ACEOF
6660 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6661 _ACEOF
6665 done
6668 for ac_header in \
6669 AL/al.h \
6670 ApplicationServices/ApplicationServices.h \
6671 AudioToolbox/AudioConverter.h \
6672 AudioUnit/AudioUnit.h \
6673 AudioUnit/AudioComponent.h \
6674 CL/cl.h \
6675 Carbon/Carbon.h \
6676 CoreAudio/CoreAudio.h \
6677 CoreServices/CoreServices.h \
6678 DiskArbitration/DiskArbitration.h \
6679 IOKit/IOKitLib.h \
6680 IOKit/hid/IOHIDLib.h \
6681 OpenAL/al.h \
6682 OpenCL/opencl.h \
6683 QuickTime/ImageCompression.h \
6684 Security/Security.h \
6685 alias.h \
6686 alsa/asoundlib.h \
6687 arpa/inet.h \
6688 arpa/nameser.h \
6689 asm/types.h \
6690 asm/user.h \
6691 curses.h \
6692 direct.h \
6693 dirent.h \
6694 dlfcn.h \
6695 elf.h \
6696 float.h \
6697 fnmatch.h \
6698 getopt.h \
6699 gettext-po.h \
6700 grp.h \
6701 gsm.h \
6702 gsm/gsm.h \
6703 ieeefp.h \
6704 inet/mib2.h \
6705 io.h \
6706 kstat.h \
6707 lber.h \
6708 ldap.h \
6709 libproc.h \
6710 link.h \
6711 linux/cdrom.h \
6712 linux/compiler.h \
6713 linux/filter.h \
6714 linux/hdreg.h \
6715 linux/input.h \
6716 linux/ioctl.h \
6717 linux/joystick.h \
6718 linux/major.h \
6719 linux/param.h \
6720 linux/serial.h \
6721 linux/types.h \
6722 linux/ucdrom.h \
6723 lwp.h \
6724 mach-o/nlist.h \
6725 mach-o/loader.h \
6726 mach/mach.h \
6727 mach/machine.h \
6728 machine/cpu.h \
6729 machine/limits.h \
6730 machine/sysarch.h \
6731 mntent.h \
6732 ncurses.h \
6733 netdb.h \
6734 netinet/in.h \
6735 netinet/in_systm.h \
6736 netinet/tcp.h \
6737 netinet/tcp_fsm.h \
6738 pcap/pcap.h \
6739 poll.h \
6740 port.h \
6741 process.h \
6742 pthread.h \
6743 pwd.h \
6744 sched.h \
6745 scsi/scsi.h \
6746 scsi/scsi_ioctl.h \
6747 scsi/sg.h \
6748 stdbool.h \
6749 stdint.h \
6750 stropts.h \
6751 sys/asoundlib.h \
6752 sys/attr.h \
6753 sys/cdio.h \
6754 sys/elf32.h \
6755 sys/epoll.h \
6756 sys/event.h \
6757 sys/exec_elf.h \
6758 sys/filio.h \
6759 sys/inotify.h \
6760 sys/ioctl.h \
6761 sys/ipc.h \
6762 sys/limits.h \
6763 sys/link.h \
6764 sys/mman.h \
6765 sys/modem.h \
6766 sys/msg.h \
6767 sys/mtio.h \
6768 sys/param.h \
6769 sys/poll.h \
6770 sys/prctl.h \
6771 sys/protosw.h \
6772 sys/ptrace.h \
6773 sys/queue.h \
6774 sys/resource.h \
6775 sys/scsiio.h \
6776 sys/shm.h \
6777 sys/signal.h \
6778 sys/socket.h \
6779 sys/socketvar.h \
6780 sys/sockio.h \
6781 sys/statvfs.h \
6782 sys/strtio.h \
6783 sys/syscall.h \
6784 sys/tihdr.h \
6785 sys/time.h \
6786 sys/timeout.h \
6787 sys/times.h \
6788 sys/uio.h \
6789 sys/user.h \
6790 sys/utsname.h \
6791 sys/vm86.h \
6792 sys/vnode.h \
6793 sys/wait.h \
6794 syscall.h \
6795 termios.h \
6796 unistd.h \
6797 utime.h \
6798 valgrind/memcheck.h \
6799 valgrind/valgrind.h \
6800 zlib.h
6802 do :
6803 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6804 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6805 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6806 cat >>confdefs.h <<_ACEOF
6807 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6808 _ACEOF
6812 done
6814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6815 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6816 if ${ac_cv_header_stat_broken+:} false; then :
6817 $as_echo_n "(cached) " >&6
6818 else
6819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6820 /* end confdefs.h. */
6821 #include <sys/types.h>
6822 #include <sys/stat.h>
6824 #if defined S_ISBLK && defined S_IFDIR
6825 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6826 #endif
6828 #if defined S_ISBLK && defined S_IFCHR
6829 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6830 #endif
6832 #if defined S_ISLNK && defined S_IFREG
6833 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6834 #endif
6836 #if defined S_ISSOCK && defined S_IFREG
6837 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6838 #endif
6840 _ACEOF
6841 if ac_fn_c_try_compile "$LINENO"; then :
6842 ac_cv_header_stat_broken=no
6843 else
6844 ac_cv_header_stat_broken=yes
6846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6849 $as_echo "$ac_cv_header_stat_broken" >&6; }
6850 if test $ac_cv_header_stat_broken = yes; then
6852 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6858 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6859 do :
6860 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6861 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6862 #ifdef HAVE_SYS_PARAM_H
6863 # include <sys/param.h>
6864 #endif
6866 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6867 cat >>confdefs.h <<_ACEOF
6868 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6869 _ACEOF
6873 done
6876 for ac_header in \
6877 netinet/ip.h \
6878 net/if.h \
6879 net/if_arp.h \
6880 net/if_dl.h \
6881 net/if_types.h \
6882 net/route.h \
6883 netinet/if_ether.h \
6884 netinet/if_inarp.h \
6885 netinet/in_pcb.h \
6886 netinet/ip_icmp.h \
6887 netinet/ip_var.h \
6888 netinet/udp.h \
6889 netipx/ipx.h \
6890 sys/un.h \
6892 do :
6893 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6894 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6895 #ifdef HAVE_SYS_SOCKET_H
6896 # include <sys/socket.h>
6897 #endif
6898 #ifdef HAVE_SYS_SOCKETVAR_H
6899 # include <sys/socketvar.h>
6900 #endif
6901 #ifdef HAVE_NET_ROUTE_H
6902 # include <net/route.h>
6903 #endif
6904 #ifdef HAVE_NETINET_IN_H
6905 # include <netinet/in.h>
6906 #endif
6907 #ifdef HAVE_NETINET_IN_SYSTM_H
6908 # include <netinet/in_systm.h>
6909 #endif
6910 #ifdef HAVE_NET_IF_H
6911 # include <net/if.h>
6912 #endif
6913 #ifdef HAVE_NETINET_IP_H
6914 # include <netinet/ip.h>
6915 #endif
6917 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6918 cat >>confdefs.h <<_ACEOF
6919 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6920 _ACEOF
6924 done
6927 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6928 do :
6929 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6930 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6931 #ifdef HAVE_ALIAS_H
6932 # include <alias.h>
6933 #endif
6934 #ifdef HAVE_SYS_SOCKET_H
6935 # include <sys/socket.h>
6936 #endif
6937 #ifdef HAVE_SYS_SOCKETVAR_H
6938 # include <sys/socketvar.h>
6939 #endif
6940 #ifdef HAVE_SYS_TIMEOUT_H
6941 # include <sys/timeout.h>
6942 #endif
6943 #ifdef HAVE_NETINET_IN_H
6944 # include <netinet/in.h>
6945 #endif
6946 #ifdef HAVE_NETINET_IN_SYSTM_H
6947 # include <netinet/in_systm.h>
6948 #endif
6949 #ifdef HAVE_NETINET_IP_H
6950 # include <netinet/ip.h>
6951 #endif
6952 #ifdef HAVE_NETINET_IP_VAR_H
6953 # include <netinet/ip_var.h>
6954 #endif
6955 #ifdef HAVE_NETINET_IP_ICMP_H
6956 # include <netinet/ip_icmp.h>
6957 #endif
6958 #ifdef HAVE_NETINET_UDP_H
6959 # include <netinet/udp.h>
6960 #endif
6961 #ifdef HAVE_NETINET_TCP_H
6962 # include <netinet/tcp.h>
6963 #endif
6964 #ifdef HAVE_NETINET_TCP_TIMER_H
6965 #include <netinet/tcp_timer.h>
6966 #endif
6968 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6969 cat >>confdefs.h <<_ACEOF
6970 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6971 _ACEOF
6975 done
6978 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6979 do :
6980 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6981 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6982 #ifdef HAVE_ASM_TYPES_H
6983 # include <asm/types.h>
6984 #endif
6985 #ifdef HAVE_SYS_SOCKET_H
6986 # include <sys/socket.h>
6987 #endif
6988 #ifdef HAVE_LINUX_TYPES_H
6989 # include <linux/types.h>
6990 #endif
6992 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6993 cat >>confdefs.h <<_ACEOF
6994 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6995 _ACEOF
6999 done
7002 for ac_header in mach-o/dyld_images.h
7003 do :
7004 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7005 # include <stdbool.h>
7006 #endif
7007 #ifdef HAVE_STDINT_H
7008 # include <stdint.h>
7009 #endif
7011 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7012 cat >>confdefs.h <<_ACEOF
7013 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7014 _ACEOF
7018 done
7021 for ac_header in resolv.h
7022 do :
7023 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7024 #ifdef HAVE_SYS_SOCKET_H
7025 # include <sys/socket.h>
7026 #endif
7027 #ifdef HAVE_NETINET_IN_H
7028 # include <netinet/in.h>
7029 #endif
7030 #ifdef HAVE_ARPA_NAMESER_H
7031 # include <arpa/nameser.h>
7032 #endif
7034 if test "x$ac_cv_header_resolv_h" = xyes; then :
7035 cat >>confdefs.h <<_ACEOF
7036 #define HAVE_RESOLV_H 1
7037 _ACEOF
7041 done
7044 for ac_header in ifaddrs.h
7045 do :
7046 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7048 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7049 cat >>confdefs.h <<_ACEOF
7050 #define HAVE_IFADDRS_H 1
7051 _ACEOF
7055 done
7058 for ac_header in sys/ucontext.h
7059 do :
7060 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7062 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7063 cat >>confdefs.h <<_ACEOF
7064 #define HAVE_SYS_UCONTEXT_H 1
7065 _ACEOF
7069 done
7072 for ac_header in sys/thr.h
7073 do :
7074 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7075 #ifdef HAVE_SYS_UCONTEXT_H
7076 #include <sys/ucontext.h>
7077 #endif
7079 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7080 cat >>confdefs.h <<_ACEOF
7081 #define HAVE_SYS_THR_H 1
7082 _ACEOF
7086 done
7089 for ac_header in pthread_np.h
7090 do :
7091 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7092 #include <pthread.h>
7093 #endif
7095 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7096 cat >>confdefs.h <<_ACEOF
7097 #define HAVE_PTHREAD_NP_H 1
7098 _ACEOF
7102 done
7105 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7106 do :
7107 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7108 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7109 #include <sys/time.h>
7110 #endif
7111 #include <sys/types.h>
7112 #ifdef HAVE_ASM_TYPES_H
7113 #include <asm/types.h>
7114 #endif
7116 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7117 cat >>confdefs.h <<_ACEOF
7118 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7119 _ACEOF
7123 done
7126 for ac_header in libprocstat.h
7127 do :
7128 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7129 #include <sys/param.h>
7130 #endif
7131 #ifdef HAVE_SYS_QUEUE_H
7132 #include <sys/queue.h>
7133 #endif
7134 #ifdef HAVE_SYS_SOCKET_H
7135 #include <sys/socket.h>
7136 #endif
7138 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7139 cat >>confdefs.h <<_ACEOF
7140 #define HAVE_LIBPROCSTAT_H 1
7141 _ACEOF
7145 done
7149 dlldir="\${libdir}/wine"
7151 DLLFLAGS="-D_REENTRANT"
7153 LDRPATH_INSTALL=""
7155 LDRPATH_LOCAL=""
7157 LDEXECFLAGS=""
7159 LIBEXT="so"
7160 DLLEXT=".so"
7161 IMPLIBEXT="def"
7162 STATIC_IMPLIBEXT="def.a"
7163 # Extract the first word of "ldd", so it can be a program name with args.
7164 set dummy ldd; ac_word=$2
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7166 $as_echo_n "checking for $ac_word... " >&6; }
7167 if ${ac_cv_path_LDD+:} false; then :
7168 $as_echo_n "(cached) " >&6
7169 else
7170 case $LDD in
7171 [\\/]* | ?:[\\/]*)
7172 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7176 as_dummy="/sbin:/usr/sbin:$PATH"
7177 for as_dir in $as_dummy
7179 IFS=$as_save_IFS
7180 test -z "$as_dir" && as_dir=.
7181 for ac_exec_ext in '' $ac_executable_extensions; do
7182 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7183 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7185 break 2
7187 done
7188 done
7189 IFS=$as_save_IFS
7191 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7193 esac
7195 LDD=$ac_cv_path_LDD
7196 if test -n "$LDD"; then
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7198 $as_echo "$LDD" >&6; }
7199 else
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7201 $as_echo "no" >&6; }
7205 if test -n "$ac_tool_prefix"; then
7206 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7207 set dummy ${ac_tool_prefix}otool; ac_word=$2
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7209 $as_echo_n "checking for $ac_word... " >&6; }
7210 if ${ac_cv_prog_OTOOL+:} false; then :
7211 $as_echo_n "(cached) " >&6
7212 else
7213 if test -n "$OTOOL"; then
7214 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7215 else
7216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7217 for as_dir in $PATH
7219 IFS=$as_save_IFS
7220 test -z "$as_dir" && as_dir=.
7221 for ac_exec_ext in '' $ac_executable_extensions; do
7222 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7223 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7225 break 2
7227 done
7228 done
7229 IFS=$as_save_IFS
7233 OTOOL=$ac_cv_prog_OTOOL
7234 if test -n "$OTOOL"; then
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7236 $as_echo "$OTOOL" >&6; }
7237 else
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7239 $as_echo "no" >&6; }
7244 if test -z "$ac_cv_prog_OTOOL"; then
7245 ac_ct_OTOOL=$OTOOL
7246 # Extract the first word of "otool", so it can be a program name with args.
7247 set dummy otool; ac_word=$2
7248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7249 $as_echo_n "checking for $ac_word... " >&6; }
7250 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7251 $as_echo_n "(cached) " >&6
7252 else
7253 if test -n "$ac_ct_OTOOL"; then
7254 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7255 else
7256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7257 for as_dir in $PATH
7259 IFS=$as_save_IFS
7260 test -z "$as_dir" && as_dir=.
7261 for ac_exec_ext in '' $ac_executable_extensions; do
7262 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7263 ac_cv_prog_ac_ct_OTOOL="otool"
7264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7265 break 2
7267 done
7268 done
7269 IFS=$as_save_IFS
7273 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7274 if test -n "$ac_ct_OTOOL"; then
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7276 $as_echo "$ac_ct_OTOOL" >&6; }
7277 else
7278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7279 $as_echo "no" >&6; }
7282 if test "x$ac_ct_OTOOL" = x; then
7283 OTOOL="otool"
7284 else
7285 case $cross_compiling:$ac_tool_warned in
7286 yes:)
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7288 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7289 ac_tool_warned=yes ;;
7290 esac
7291 OTOOL=$ac_ct_OTOOL
7293 else
7294 OTOOL="$ac_cv_prog_OTOOL"
7297 if test -n "$ac_tool_prefix"; then
7298 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7299 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7301 $as_echo_n "checking for $ac_word... " >&6; }
7302 if ${ac_cv_prog_READELF+:} false; then :
7303 $as_echo_n "(cached) " >&6
7304 else
7305 if test -n "$READELF"; then
7306 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7307 else
7308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7309 for as_dir in $PATH
7311 IFS=$as_save_IFS
7312 test -z "$as_dir" && as_dir=.
7313 for ac_exec_ext in '' $ac_executable_extensions; do
7314 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7315 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7317 break 2
7319 done
7320 done
7321 IFS=$as_save_IFS
7325 READELF=$ac_cv_prog_READELF
7326 if test -n "$READELF"; then
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7328 $as_echo "$READELF" >&6; }
7329 else
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7331 $as_echo "no" >&6; }
7336 if test -z "$ac_cv_prog_READELF"; then
7337 ac_ct_READELF=$READELF
7338 # Extract the first word of "readelf", so it can be a program name with args.
7339 set dummy readelf; ac_word=$2
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7341 $as_echo_n "checking for $ac_word... " >&6; }
7342 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7343 $as_echo_n "(cached) " >&6
7344 else
7345 if test -n "$ac_ct_READELF"; then
7346 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7347 else
7348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7349 for as_dir in $PATH
7351 IFS=$as_save_IFS
7352 test -z "$as_dir" && as_dir=.
7353 for ac_exec_ext in '' $ac_executable_extensions; do
7354 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7355 ac_cv_prog_ac_ct_READELF="readelf"
7356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7357 break 2
7359 done
7360 done
7361 IFS=$as_save_IFS
7365 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7366 if test -n "$ac_ct_READELF"; then
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7368 $as_echo "$ac_ct_READELF" >&6; }
7369 else
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7371 $as_echo "no" >&6; }
7374 if test "x$ac_ct_READELF" = x; then
7375 READELF="true"
7376 else
7377 case $cross_compiling:$ac_tool_warned in
7378 yes:)
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7380 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7381 ac_tool_warned=yes ;;
7382 esac
7383 READELF=$ac_ct_READELF
7385 else
7386 READELF="$ac_cv_prog_READELF"
7389 wine_rules_file=conf$$rules.make
7390 rm -f $wine_rules_file
7391 ALL_POT_FILES=""
7392 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7393 ALL_TEST_RESOURCES=""
7396 wine_fn_append_file ()
7398 as_fn_append $1 " \\$as_nl $2"
7401 wine_fn_ignore_file ()
7403 case "$1" in
7404 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7405 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7406 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7407 esac
7410 wine_fn_append_rule ()
7412 $as_echo "$1" >>$wine_rules_file
7415 wine_fn_has_flag ()
7417 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7420 wine_fn_depend_rules ()
7422 wine_fn_append_rule \
7423 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in Makefile \$(MAKEDEP)
7424 \$(MAKEDEP) $ac_dir
7425 depend: $ac_dir/depend
7426 .PHONY: $ac_dir/depend
7427 $ac_dir/depend: \$(MAKEDEP) dummy
7428 \$(MAKEDEP) $ac_dir"
7431 wine_fn_pot_rules ()
7433 test "x$with_gettextpo" = xyes || return
7435 if wine_fn_has_flag mc
7436 then
7437 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7438 wine_fn_append_rule \
7439 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7440 @cd $ac_dir && \$(MAKE) msg.pot
7441 $ac_dir/msg.pot: tools/wmc include"
7443 if wine_fn_has_flag po
7444 then
7445 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7446 wine_fn_append_rule \
7447 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7448 @cd $ac_dir && \$(MAKE) rsrc.pot
7449 $ac_dir/rsrc.pot: tools/wrc include"
7453 wine_fn_all_rules ()
7455 wine_fn_depend_rules
7456 wine_fn_append_rule \
7457 "all: $ac_dir
7458 .PHONY: $ac_dir
7459 $ac_dir: $ac_dir/Makefile dummy
7460 @cd $ac_dir && \$(MAKE)"
7463 wine_fn_install_rules ()
7465 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7467 wine_fn_append_rule \
7468 ".PHONY: $ac_dir/install $ac_dir/uninstall
7469 $ac_dir/install:: $ac_dir
7470 @cd $ac_dir && \$(MAKE) install
7471 $ac_dir/uninstall:: $ac_dir/Makefile
7472 @cd $ac_dir && \$(MAKE) uninstall
7473 install:: $ac_dir/install
7474 __uninstall__: $ac_dir/uninstall"
7476 if wine_fn_has_flag install-lib
7477 then
7478 wine_fn_append_rule \
7479 ".PHONY: $ac_dir/install-lib
7480 $ac_dir/install-lib:: $ac_dir
7481 @cd $ac_dir && \$(MAKE) install-lib
7482 install-lib:: $ac_dir/install-lib"
7485 if wine_fn_has_flag install-dev
7486 then
7487 wine_fn_append_rule \
7488 ".PHONY: $ac_dir/install-dev
7489 $ac_dir/install-dev:: $ac_dir
7490 @cd $ac_dir && \$(MAKE) install-dev
7491 install-dev:: $ac_dir/install-dev"
7495 wine_fn_clean_rules ()
7497 ac_clean=$@
7498 ac_extraclean="$ac_dir/Makefile"
7499 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7500 case $ac_dir in
7501 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7502 esac
7504 if wine_fn_has_flag clean
7505 then
7506 wine_fn_append_rule \
7507 "__clean__: $ac_dir/clean
7508 .PHONY: $ac_dir/clean
7509 $ac_dir/clean: $ac_dir/Makefile
7510 @cd $ac_dir && \$(MAKE) clean
7511 \$(RM) $ac_extraclean"
7512 else
7513 wine_fn_append_rule \
7514 "__clean__: $ac_dir/clean
7515 .PHONY: $ac_dir/clean
7516 $ac_dir/clean: dummy
7517 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7521 wine_fn_disabled_rules ()
7523 ac_clean=$@
7524 ac_extraclean="$ac_dir/Makefile"
7525 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7527 wine_fn_append_rule \
7528 "__clean__: $ac_dir/clean
7529 .PHONY: $ac_dir/clean
7530 $ac_dir/clean: dummy
7531 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7534 wine_fn_config_makefile ()
7536 ac_dir=$1
7537 ac_enable=$2
7538 ac_flags=$3
7540 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7541 wine_fn_disabled_rules; return
7543 wine_fn_all_rules
7544 wine_fn_install_rules
7545 wine_fn_clean_rules
7548 wine_fn_config_lib ()
7550 ac_name=$1
7551 ac_flags=$2
7552 ac_dir=dlls/$ac_name
7553 ac_deps="include"
7555 if test "x$enable_tools" = xno; then :
7557 else
7558 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7560 wine_fn_all_rules
7561 wine_fn_clean_rules
7563 wine_fn_append_rule \
7564 ".PHONY: $ac_dir/install $ac_dir/uninstall
7565 $ac_dir/install:: $ac_dir
7566 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7567 $ac_dir/uninstall::
7568 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7569 install install-dev:: $ac_dir/install
7570 __uninstall__: $ac_dir/uninstall
7571 __builddeps__: $ac_dir
7572 $ac_dir: $ac_deps"
7575 wine_fn_config_dll ()
7577 ac_name=$1
7578 ac_dir=dlls/$ac_name
7579 ac_enable=$2
7580 ac_flags=$3
7581 ac_implib=${4:-$ac_name}
7582 ac_file=$ac_dir/lib$ac_implib
7583 ac_dll=$ac_name
7584 ac_deps="include"
7585 ac_implibflags=""
7587 if test "x$enable_tools" = xno; then :
7589 else
7590 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7592 case $ac_name in
7593 *16) ac_implibflags=" -m16" ;;
7594 *.*) ;;
7595 *) ac_dll=$ac_dll.dll ;;
7596 esac
7598 ac_clean=
7599 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7600 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7601 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7602 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7604 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7605 if test "$ac_enable" != enable_win16
7606 then
7607 wine_fn_depend_rules
7608 wine_fn_clean_rules $ac_clean
7609 wine_fn_pot_rules
7610 else
7611 wine_fn_disabled_rules $ac_clean
7612 return
7614 else
7615 wine_fn_all_rules
7616 wine_fn_clean_rules $ac_clean
7617 wine_fn_append_rule \
7618 "$ac_dir: __builddeps__
7619 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7620 @cd $ac_dir && \$(MAKE) \$@
7621 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7622 install install-lib:: $ac_dir/install-lib
7623 __uninstall__: $ac_dir/uninstall"
7624 if test -n "$DLLEXT"
7625 then
7626 wine_fn_append_rule \
7627 "$ac_dir/install-lib:: $ac_dir
7628 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7629 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7630 $ac_dir/uninstall::
7631 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7632 else
7633 wine_fn_append_rule \
7634 "$ac_dir/install-lib:: $ac_dir
7635 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7636 $ac_dir/uninstall::
7637 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7640 wine_fn_pot_rules
7643 if wine_fn_has_flag staticimplib
7644 then
7645 wine_fn_append_rule \
7646 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7647 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7648 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7649 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7650 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7651 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7652 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7653 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7654 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7655 $ac_dir/uninstall::
7656 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7657 install install-dev:: $ac_dir/install-dev
7658 __uninstall__: $ac_dir/uninstall"
7660 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7661 then
7662 wine_fn_append_rule \
7663 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7664 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7665 $ac_dir/uninstall::
7666 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7669 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7670 then
7671 wine_fn_append_rule \
7672 "__builddeps__: $ac_file.cross.a
7673 $ac_file.cross.a: $ac_dir/Makefile dummy
7674 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7677 elif wine_fn_has_flag implib
7678 then
7679 wine_fn_append_rule \
7680 "__builddeps__: $ac_file.$IMPLIBEXT
7681 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7682 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7683 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7684 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7685 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7686 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7687 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7688 $ac_dir/uninstall::
7689 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7690 install install-dev:: $ac_dir/install-dev
7691 __uninstall__: $ac_dir/uninstall"
7692 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7693 then
7694 wine_fn_append_rule \
7695 "__builddeps__: $ac_file.cross.a
7696 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7697 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7700 if test "$ac_name" != "$ac_implib"
7701 then
7702 wine_fn_append_rule \
7703 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7704 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7705 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7706 clean::
7707 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7708 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7709 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7710 then
7711 wine_fn_append_rule \
7712 "__builddeps__: dlls/lib$ac_implib.cross.a
7713 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7714 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7715 clean::
7716 \$(RM) dlls/lib$ac_implib.cross.a"
7717 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7723 wine_fn_config_program ()
7725 ac_name=$1
7726 ac_dir=programs/$ac_name
7727 ac_enable=$2
7728 ac_flags=$3
7729 ac_program=$ac_name
7731 case $ac_name in
7732 *.*) ;;
7733 *) ac_program=$ac_program.exe ;;
7734 esac
7736 ac_clean=
7737 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7738 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7739 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7740 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7742 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7743 wine_fn_disabled_rules $ac_clean; return
7746 wine_fn_all_rules
7747 wine_fn_clean_rules $ac_clean
7748 wine_fn_append_rule "$ac_dir: __builddeps__"
7749 wine_fn_pot_rules
7751 wine_fn_has_flag install || return
7752 wine_fn_append_rule \
7753 ".PHONY: $ac_dir/install $ac_dir/uninstall
7754 install install-lib:: $ac_dir/install
7755 __uninstall__: $ac_dir/uninstall"
7757 if test -n "$DLLEXT"
7758 then
7759 wine_fn_append_rule \
7760 "$ac_dir/install:: $ac_dir
7761 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7762 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7763 $ac_dir/uninstall::
7764 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7766 if test -z "$with_wine64" && wine_fn_has_flag installbin
7767 then
7768 wine_fn_append_rule \
7769 "$ac_dir/install:: __tooldeps__
7770 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7771 $ac_dir/uninstall::
7772 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7774 else
7775 wine_fn_append_rule \
7776 "$ac_dir/install:: $ac_dir
7777 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7778 $ac_dir/uninstall::
7779 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7782 if test -z "$with_wine64" && wine_fn_has_flag manpage
7783 then
7784 wine_fn_append_rule \
7785 "$ac_dir/install:: $ac_dir
7786 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7787 $ac_dir/uninstall::
7788 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7792 wine_fn_config_test ()
7794 ac_dir=$1
7795 ac_name=$2
7796 ac_flags=$3
7798 ac_clean=
7799 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7800 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7802 if test "x$enable_tests" = xno; then :
7803 wine_fn_disabled_rules $ac_clean; return
7806 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7807 wine_fn_all_rules
7808 wine_fn_clean_rules $ac_clean
7810 wine_fn_append_rule \
7811 "$ac_dir: programs/winetest/Makefile __builddeps__
7812 programs/winetest: $ac_dir
7813 check test: $ac_dir/test
7814 .PHONY: $ac_dir/test
7815 $ac_dir/test: dummy
7816 @cd $ac_dir && \$(MAKE) test
7817 testclean::
7818 \$(RM) $ac_dir/*.ok"
7820 if test -n "$CROSSTARGET"
7821 then
7822 wine_fn_append_rule \
7823 "crosstest: $ac_dir/crosstest
7824 .PHONY: $ac_dir/crosstest
7825 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7826 @cd $ac_dir && \$(MAKE) crosstest"
7830 wine_fn_config_tool ()
7832 ac_dir=$1
7833 ac_flags=$2
7834 if test "x$enable_tools" = xno; then :
7835 return
7838 wine_fn_all_rules
7839 wine_fn_install_rules
7840 wine_fn_clean_rules
7842 wine_fn_append_rule "__tooldeps__: $ac_dir"
7843 wine_fn_append_rule "$ac_dir: libs/port"
7844 case $ac_dir in
7845 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7846 esac
7849 wine_fn_config_symlink ()
7851 ac_linkdir=
7852 if test "x$1" = "x-d"
7853 then
7854 ac_linkdir=$2
7855 shift; shift
7857 ac_links=$@
7858 wine_fn_append_rule \
7859 "$ac_links:
7860 @./config.status \$@
7861 distclean::
7862 \$(RM) $ac_links"
7863 for f in $ac_links; do wine_fn_ignore_file $f; done
7864 test -n "$ac_linkdir" || return
7865 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7868 wine_binary="wine"
7869 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7870 WINELOADER_PROGRAMS="$wine_binary"
7872 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7874 case $host_os in
7875 cygwin*|mingw32*)
7876 if test -n "$ac_tool_prefix"; then
7877 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7878 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7880 $as_echo_n "checking for $ac_word... " >&6; }
7881 if ${ac_cv_prog_DLLTOOL+:} false; then :
7882 $as_echo_n "(cached) " >&6
7883 else
7884 if test -n "$DLLTOOL"; then
7885 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7886 else
7887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7888 for as_dir in $PATH
7890 IFS=$as_save_IFS
7891 test -z "$as_dir" && as_dir=.
7892 for ac_exec_ext in '' $ac_executable_extensions; do
7893 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7894 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7896 break 2
7898 done
7899 done
7900 IFS=$as_save_IFS
7904 DLLTOOL=$ac_cv_prog_DLLTOOL
7905 if test -n "$DLLTOOL"; then
7906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7907 $as_echo "$DLLTOOL" >&6; }
7908 else
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7910 $as_echo "no" >&6; }
7915 if test -z "$ac_cv_prog_DLLTOOL"; then
7916 ac_ct_DLLTOOL=$DLLTOOL
7917 # Extract the first word of "dlltool", so it can be a program name with args.
7918 set dummy dlltool; ac_word=$2
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7920 $as_echo_n "checking for $ac_word... " >&6; }
7921 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7922 $as_echo_n "(cached) " >&6
7923 else
7924 if test -n "$ac_ct_DLLTOOL"; then
7925 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7926 else
7927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7928 for as_dir in $PATH
7930 IFS=$as_save_IFS
7931 test -z "$as_dir" && as_dir=.
7932 for ac_exec_ext in '' $ac_executable_extensions; do
7933 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7934 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7936 break 2
7938 done
7939 done
7940 IFS=$as_save_IFS
7944 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7945 if test -n "$ac_ct_DLLTOOL"; then
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7947 $as_echo "$ac_ct_DLLTOOL" >&6; }
7948 else
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7950 $as_echo "no" >&6; }
7953 if test "x$ac_ct_DLLTOOL" = x; then
7954 DLLTOOL="false"
7955 else
7956 case $cross_compiling:$ac_tool_warned in
7957 yes:)
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7959 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7960 ac_tool_warned=yes ;;
7961 esac
7962 DLLTOOL=$ac_ct_DLLTOOL
7964 else
7965 DLLTOOL="$ac_cv_prog_DLLTOOL"
7968 LIBEXT="dll"
7969 DLLEXT=""
7970 IMPLIBEXT="a"
7971 STATIC_IMPLIBEXT="a"
7972 enable_iphlpapi=${enable_iphlpapi:-no}
7973 enable_kernel32=${enable_kernel32:-no}
7974 enable_msvcrt=${enable_msvcrt:-no}
7975 enable_ntdll=${enable_ntdll:-no}
7976 enable_ws2_32=${enable_ws2_32:-no}
7977 enable_loader=${enable_loader:-no}
7978 enable_server=${enable_server:-no}
7979 with_x=${with_x:-no}
7980 with_pthread=${with_pthread:-no}
7982 crtlibs=""
7983 case $host_os in
7984 mingw32*)
7985 crtlibs="-lmsvcrt"
7986 SOCKET_LIBS="-lws2_32"
7988 esac
7990 LIBWINE_SHAREDLIB="libwine.dll"
7992 LIBWINE_IMPORTLIB="libwine.a"
7994 LIBWINE_INSTALL_LIB="libwine.dll"
7996 LIBWINE_INSTALL_DEV="libwine.a"
7998 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8000 LIBWINE_DEPENDS="wine.def"
8004 darwin*|macosx*)
8005 for ac_header in libunwind.h
8006 do :
8007 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8008 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8009 cat >>confdefs.h <<_ACEOF
8010 #define HAVE_LIBUNWIND_H 1
8011 _ACEOF
8015 done
8017 LIBEXT="dylib"
8018 DLLFLAGS="$DLLFLAGS -fPIC"
8019 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8020 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8021 COREFOUNDATION_LIBS="-framework CoreFoundation"
8023 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8025 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8027 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8029 CORESERVICES_LIBS="-framework CoreServices"
8031 APPKIT_LIBS="-framework AppKit"
8033 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8035 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8036 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8037 $as_echo_n "(cached) " >&6
8038 else
8039 ac_wine_try_cflags_saved=$CFLAGS
8040 CFLAGS="$CFLAGS -Wl,-no_pie"
8041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8042 /* end confdefs.h. */
8043 int main(int argc, char **argv) { return 0; }
8044 _ACEOF
8045 if ac_fn_c_try_link "$LINENO"; then :
8046 ac_cv_cflags__Wl__no_pie=yes
8047 else
8048 ac_cv_cflags__Wl__no_pie=no
8050 rm -f core conftest.err conftest.$ac_objext \
8051 conftest$ac_exeext conftest.$ac_ext
8052 CFLAGS=$ac_wine_try_cflags_saved
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8055 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8056 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8057 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8059 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8060 then
8061 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8064 if test "$ac_cv_header_Security_Security_h" = "yes"
8065 then
8066 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8068 ac_save_LIBS="$LIBS"
8069 LIBS="$LIBS $SECURITY_LIBS"
8070 for ac_func in SSLCopyPeerCertificates
8071 do :
8072 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8073 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8074 cat >>confdefs.h <<_ACEOF
8075 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8076 _ACEOF
8079 done
8081 LIBS="$ac_save_LIBS"
8082 with_gnutls=${with_gnutls:-no}
8084 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8085 then
8086 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8087 then
8088 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8090 else
8091 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8094 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8095 ac_save_LIBS="$LIBS"
8096 LIBS="$LIBS $COREAUDIO_LIBS"
8097 for ac_func in AUGraphAddNode
8098 do :
8099 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8100 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8101 cat >>confdefs.h <<_ACEOF
8102 #define HAVE_AUGRAPHADDNODE 1
8103 _ACEOF
8106 done
8108 LIBS="$ac_save_LIBS"
8110 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8111 then
8112 OPENAL_LIBS="-framework OpenAL"
8115 cat >>confdefs.h <<_ACEOF
8116 #define HAVE_OPENAL 1
8117 _ACEOF
8119 ac_cv_lib_openal=yes
8121 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8122 then
8123 OPENCL_LIBS="-framework OpenCL"
8125 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8127 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8128 then
8129 ac_save_LIBS="$LIBS"
8130 LIBS="$LIBS $IOKIT_LIBS"
8131 for ac_func in IOHIDManagerCreate
8132 do :
8133 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8134 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8135 cat >>confdefs.h <<_ACEOF
8136 #define HAVE_IOHIDMANAGERCREATE 1
8137 _ACEOF
8140 done
8142 LIBS="$ac_save_LIBS"
8144 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8145 then
8146 ac_save_LIBS="$LIBS"
8147 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8149 $as_echo_n "checking for the QuickTime framework... " >&6; }
8150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8151 /* end confdefs.h. */
8152 #include <QuickTime/ImageCompression.h>
8154 main ()
8156 CodecManagerVersion(NULL);
8158 return 0;
8160 _ACEOF
8161 if ac_fn_c_try_link "$LINENO"; then :
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8163 $as_echo "yes" >&6; }
8164 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8166 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8167 else
8168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8169 $as_echo "no" >&6; }
8170 ac_cv_header_QuickTime_ImageCompression_h=no
8172 rm -f core conftest.err conftest.$ac_objext \
8173 conftest$ac_exeext conftest.$ac_ext
8174 LIBS="$ac_save_LIBS"
8176 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8177 then
8178 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8180 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8181 then
8182 CARBON_LIBS="-framework Carbon"
8186 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8187 then
8188 ac_save_LIBS="$LIBS"
8189 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8190 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8191 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8192 enable_winemac_drv=${enable_winemac_drv:-yes}
8195 LIBS="$ac_save_LIBS"
8198 if test "x$enable_win16" = "xyes"
8199 then
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8201 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8202 if test "$cross_compiling" = yes; then :
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8204 $as_echo "cross-compiling, assuming yes" >&6; }
8205 else
8206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8207 /* end confdefs.h. */
8208 asm(".text\n"
8209 "bad:\tnop;nop\n"
8210 "good:\tnop;nop\n\t"
8211 ".globl _testfunc\n"
8212 "_testfunc:\tcallw good");
8213 extern void testfunc();
8215 main ()
8217 unsigned short *p = (unsigned short *)testfunc;
8218 return p[0] != 0xe866 || p[1] != 0xfffa
8220 return 0;
8222 _ACEOF
8223 if ac_fn_c_try_run "$LINENO"; then :
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8225 $as_echo "yes" >&6; }
8226 else
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8228 $as_echo "no" >&6; }
8229 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
8231 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8232 conftest.$ac_objext conftest.beam conftest.$ac_ext
8237 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8239 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8241 LIBWINE_INSTALL_DEV="libwine.dylib"
8243 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8245 WINELOADER_DEPENDS="wine_info.plist"
8249 linux-android*)
8250 DLLFLAGS="$DLLFLAGS -fPIC"
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8252 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8253 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8254 $as_echo_n "(cached) " >&6
8255 else
8256 ac_wine_try_cflags_saved=$CFLAGS
8257 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8259 /* end confdefs.h. */
8260 int main(int argc, char **argv) { return 0; }
8261 _ACEOF
8262 if ac_fn_c_try_link "$LINENO"; then :
8263 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8264 else
8265 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8267 rm -f core conftest.err conftest.$ac_objext \
8268 conftest$ac_exeext conftest.$ac_ext
8269 CFLAGS=$ac_wine_try_cflags_saved
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8272 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8273 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8274 LDEXECFLAGS="-Wl,--export-dynamic"
8276 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8278 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8279 if eval \${$as_ac_var+:} false; then :
8280 $as_echo_n "(cached) " >&6
8281 else
8282 ac_wine_try_cflags_saved=$CFLAGS
8283 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8285 /* end confdefs.h. */
8286 int main(int argc, char **argv) { return 0; }
8287 _ACEOF
8288 if ac_fn_c_try_link "$LINENO"; then :
8289 eval "$as_ac_var=yes"
8290 else
8291 eval "$as_ac_var=no"
8293 rm -f core conftest.err conftest.$ac_objext \
8294 conftest$ac_exeext conftest.$ac_ext
8295 CFLAGS=$ac_wine_try_cflags_saved
8297 eval ac_res=\$$as_ac_var
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8299 $as_echo "$ac_res" >&6; }
8300 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8301 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8302 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8303 else
8304 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8306 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8307 if eval \${$as_ac_var+:} false; then :
8308 $as_echo_n "(cached) " >&6
8309 else
8310 ac_wine_try_cflags_saved=$CFLAGS
8311 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8313 /* end confdefs.h. */
8314 int main(int argc, char **argv) { return 0; }
8315 _ACEOF
8316 if ac_fn_c_try_link "$LINENO"; then :
8317 eval "$as_ac_var=yes"
8318 else
8319 eval "$as_ac_var=no"
8321 rm -f core conftest.err conftest.$ac_objext \
8322 conftest$ac_exeext conftest.$ac_ext
8323 CFLAGS=$ac_wine_try_cflags_saved
8325 eval ac_res=\$$as_ac_var
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8327 $as_echo "$ac_res" >&6; }
8328 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8329 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8330 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8335 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8336 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8337 $as_echo_n "(cached) " >&6
8338 else
8339 ac_wine_try_cflags_saved=$CFLAGS
8340 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8342 /* end confdefs.h. */
8343 int main(int argc, char **argv) { return 0; }
8344 _ACEOF
8345 if ac_fn_c_try_link "$LINENO"; then :
8346 ac_cv_cflags__Wl___enable_new_dtags=yes
8347 else
8348 ac_cv_cflags__Wl___enable_new_dtags=no
8350 rm -f core conftest.err conftest.$ac_objext \
8351 conftest$ac_exeext conftest.$ac_ext
8352 CFLAGS=$ac_wine_try_cflags_saved
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8355 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8356 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8357 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8360 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8361 if ${ac_cv_cflags__Wl__pie+:} false; then :
8362 $as_echo_n "(cached) " >&6
8363 else
8364 ac_wine_try_cflags_saved=$CFLAGS
8365 CFLAGS="$CFLAGS -Wl,-pie"
8366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8367 /* end confdefs.h. */
8368 int main(int argc, char **argv) { return 0; }
8369 _ACEOF
8370 if ac_fn_c_try_link "$LINENO"; then :
8371 ac_cv_cflags__Wl__pie=yes
8372 else
8373 ac_cv_cflags__Wl__pie=no
8375 rm -f core conftest.err conftest.$ac_objext \
8376 conftest$ac_exeext conftest.$ac_ext
8377 CFLAGS=$ac_wine_try_cflags_saved
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8380 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8381 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8382 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8385 LIBWINE_SHAREDLIB="libwine.so"
8387 LIBWINE_INSTALL_LIB="libwine.so"
8389 LIBWINE_LDFLAGS="-shared"
8394 DLLFLAGS="$DLLFLAGS -fPIC"
8395 LDEXECFLAGS=""
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8397 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8398 if ${ac_cv_c_dll_gnuelf+:} false; then :
8399 $as_echo_n "(cached) " >&6
8400 else
8401 ac_wine_try_cflags_saved=$CFLAGS
8402 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8404 /* end confdefs.h. */
8405 void myfunc() {}
8406 _ACEOF
8407 if ac_fn_c_try_link "$LINENO"; then :
8408 ac_cv_c_dll_gnuelf="yes"
8409 else
8410 ac_cv_c_dll_gnuelf="no"
8412 rm -f core conftest.err conftest.$ac_objext \
8413 conftest$ac_exeext conftest.$ac_ext
8414 CFLAGS=$ac_wine_try_cflags_saved
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8417 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8418 if test "$ac_cv_c_dll_gnuelf" = "yes"
8419 then
8420 LIBWINE_LDFLAGS="-shared"
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8422 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8423 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8424 $as_echo_n "(cached) " >&6
8425 else
8426 ac_wine_try_cflags_saved=$CFLAGS
8427 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8429 /* end confdefs.h. */
8430 int main(int argc, char **argv) { return 0; }
8431 _ACEOF
8432 if ac_fn_c_try_link "$LINENO"; then :
8433 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8434 else
8435 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8437 rm -f core conftest.err conftest.$ac_objext \
8438 conftest$ac_exeext conftest.$ac_ext
8439 CFLAGS=$ac_wine_try_cflags_saved
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8442 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8443 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8444 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8445 else
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8447 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8448 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8449 $as_echo_n "(cached) " >&6
8450 else
8451 ac_wine_try_cflags_saved=$CFLAGS
8452 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8454 /* end confdefs.h. */
8455 int main(int argc, char **argv) { return 0; }
8456 _ACEOF
8457 if ac_fn_c_try_link "$LINENO"; then :
8458 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8459 else
8460 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8462 rm -f core conftest.err conftest.$ac_objext \
8463 conftest$ac_exeext conftest.$ac_ext
8464 CFLAGS=$ac_wine_try_cflags_saved
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8467 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8468 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8469 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8473 echo '{ global: *; };' >conftest.map
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8475 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8476 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8477 $as_echo_n "(cached) " >&6
8478 else
8479 ac_wine_try_cflags_saved=$CFLAGS
8480 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8482 /* end confdefs.h. */
8483 int main(int argc, char **argv) { return 0; }
8484 _ACEOF
8485 if ac_fn_c_try_link "$LINENO"; then :
8486 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8487 else
8488 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8490 rm -f core conftest.err conftest.$ac_objext \
8491 conftest$ac_exeext conftest.$ac_ext
8492 CFLAGS=$ac_wine_try_cflags_saved
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8495 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8496 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8497 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8499 rm -f conftest.map
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8502 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8503 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8504 $as_echo_n "(cached) " >&6
8505 else
8506 ac_wine_try_cflags_saved=$CFLAGS
8507 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8509 /* end confdefs.h. */
8510 int main(int argc, char **argv) { return 0; }
8511 _ACEOF
8512 if ac_fn_c_try_link "$LINENO"; then :
8513 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8514 else
8515 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8517 rm -f core conftest.err conftest.$ac_objext \
8518 conftest$ac_exeext conftest.$ac_ext
8519 CFLAGS=$ac_wine_try_cflags_saved
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8522 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8523 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8524 LDEXECFLAGS="-Wl,--export-dynamic"
8527 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8529 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8530 if eval \${$as_ac_var+:} false; then :
8531 $as_echo_n "(cached) " >&6
8532 else
8533 ac_wine_try_cflags_saved=$CFLAGS
8534 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8536 /* end confdefs.h. */
8537 int main(int argc, char **argv) { return 0; }
8538 _ACEOF
8539 if ac_fn_c_try_link "$LINENO"; then :
8540 eval "$as_ac_var=yes"
8541 else
8542 eval "$as_ac_var=no"
8544 rm -f core conftest.err conftest.$ac_objext \
8545 conftest$ac_exeext conftest.$ac_ext
8546 CFLAGS=$ac_wine_try_cflags_saved
8548 eval ac_res=\$$as_ac_var
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8550 $as_echo "$ac_res" >&6; }
8551 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8552 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8553 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8554 else
8555 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8557 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8558 if eval \${$as_ac_var+:} false; then :
8559 $as_echo_n "(cached) " >&6
8560 else
8561 ac_wine_try_cflags_saved=$CFLAGS
8562 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8564 /* end confdefs.h. */
8565 int main(int argc, char **argv) { return 0; }
8566 _ACEOF
8567 if ac_fn_c_try_link "$LINENO"; then :
8568 eval "$as_ac_var=yes"
8569 else
8570 eval "$as_ac_var=no"
8572 rm -f core conftest.err conftest.$ac_objext \
8573 conftest$ac_exeext conftest.$ac_ext
8574 CFLAGS=$ac_wine_try_cflags_saved
8576 eval ac_res=\$$as_ac_var
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8578 $as_echo "$ac_res" >&6; }
8579 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8580 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8581 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8586 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8587 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8588 $as_echo_n "(cached) " >&6
8589 else
8590 ac_wine_try_cflags_saved=$CFLAGS
8591 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8593 /* end confdefs.h. */
8594 int main(int argc, char **argv) { return 0; }
8595 _ACEOF
8596 if ac_fn_c_try_link "$LINENO"; then :
8597 ac_cv_cflags__Wl___enable_new_dtags=yes
8598 else
8599 ac_cv_cflags__Wl___enable_new_dtags=no
8601 rm -f core conftest.err conftest.$ac_objext \
8602 conftest$ac_exeext conftest.$ac_ext
8603 CFLAGS=$ac_wine_try_cflags_saved
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8606 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8607 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8608 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8611 case $host_cpu in
8612 *i[3456789]86* | x86_64)
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8614 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8615 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8616 $as_echo_n "(cached) " >&6
8617 else
8618 ac_wine_try_cflags_saved=$CFLAGS
8619 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8621 /* end confdefs.h. */
8622 int main(int argc, char **argv) { return 0; }
8623 _ACEOF
8624 if ac_fn_c_try_link "$LINENO"; then :
8625 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8626 else
8627 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8629 rm -f core conftest.err conftest.$ac_objext \
8630 conftest$ac_exeext conftest.$ac_ext
8631 CFLAGS=$ac_wine_try_cflags_saved
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8634 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8635 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8636 case $host_os in
8637 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8638 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8639 esac
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8643 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8644 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8645 $as_echo_n "(cached) " >&6
8646 else
8647 ac_wine_try_cflags_saved=$CFLAGS
8648 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8650 /* end confdefs.h. */
8651 int main(int argc, char **argv) { return 0; }
8652 _ACEOF
8653 if ac_fn_c_try_link "$LINENO"; then :
8654 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8655 else
8656 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8658 rm -f core conftest.err conftest.$ac_objext \
8659 conftest$ac_exeext conftest.$ac_ext
8660 CFLAGS=$ac_wine_try_cflags_saved
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8663 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8664 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8666 else
8667 # Extract the first word of "prelink", so it can be a program name with args.
8668 set dummy prelink; ac_word=$2
8669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8670 $as_echo_n "checking for $ac_word... " >&6; }
8671 if ${ac_cv_path_PRELINK+:} false; then :
8672 $as_echo_n "(cached) " >&6
8673 else
8674 case $PRELINK in
8675 [\\/]* | ?:[\\/]*)
8676 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8680 for as_dir in /sbin /usr/sbin $PATH
8682 IFS=$as_save_IFS
8683 test -z "$as_dir" && as_dir=.
8684 for ac_exec_ext in '' $ac_executable_extensions; do
8685 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8686 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8688 break 2
8690 done
8691 done
8692 IFS=$as_save_IFS
8694 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8696 esac
8698 PRELINK=$ac_cv_path_PRELINK
8699 if test -n "$PRELINK"; then
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8701 $as_echo "$PRELINK" >&6; }
8702 else
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8704 $as_echo "no" >&6; }
8708 if test "x$PRELINK" = xfalse
8709 then
8710 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8714 esac
8716 else
8717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8718 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8719 if ${ac_cv_c_dll_unixware+:} false; then :
8720 $as_echo_n "(cached) " >&6
8721 else
8722 ac_wine_try_cflags_saved=$CFLAGS
8723 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8725 /* end confdefs.h. */
8726 void myfunc() {}
8727 _ACEOF
8728 if ac_fn_c_try_link "$LINENO"; then :
8729 ac_cv_c_dll_unixware="yes"
8730 else
8731 ac_cv_c_dll_unixware="no"
8733 rm -f core conftest.err conftest.$ac_objext \
8734 conftest$ac_exeext conftest.$ac_ext
8735 CFLAGS=$ac_wine_try_cflags_saved
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8738 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8739 if test "$ac_cv_c_dll_unixware" = "yes"
8740 then
8741 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8744 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8746 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8748 LIBWINE_INSTALL_DEV="libwine.so"
8750 LIBWINE_DEPENDS="wine.map"
8753 esac
8755 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8756 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8757 enable_winemac_drv=${enable_winemac_drv:-no}
8758 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8760 CROSSTARGET=""
8762 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8763 then
8764 case "$host_cpu" in
8765 i[3456789]86*)
8766 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
8767 mingw32-gcc" ;;
8768 x86_64)
8769 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 " ;;
8771 ac_prefix_list="" ;;
8772 esac
8773 for ac_prog in $ac_prefix_list
8775 # Extract the first word of "$ac_prog", so it can be a program name with args.
8776 set dummy $ac_prog; ac_word=$2
8777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8778 $as_echo_n "checking for $ac_word... " >&6; }
8779 if ${ac_cv_prog_CROSSCC+:} false; then :
8780 $as_echo_n "(cached) " >&6
8781 else
8782 if test -n "$CROSSCC"; then
8783 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8784 else
8785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8786 for as_dir in $PATH
8788 IFS=$as_save_IFS
8789 test -z "$as_dir" && as_dir=.
8790 for ac_exec_ext in '' $ac_executable_extensions; do
8791 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8792 ac_cv_prog_CROSSCC="$ac_prog"
8793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8794 break 2
8796 done
8797 done
8798 IFS=$as_save_IFS
8802 CROSSCC=$ac_cv_prog_CROSSCC
8803 if test -n "$CROSSCC"; then
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8805 $as_echo "$CROSSCC" >&6; }
8806 else
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8808 $as_echo "no" >&6; }
8812 test -n "$CROSSCC" && break
8813 done
8814 test -n "$CROSSCC" || CROSSCC="false"
8816 if test "$CROSSCC" != "false"
8817 then
8818 ac_save_CC="$CC"
8819 CC="$CROSSCC"
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8821 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8823 /* end confdefs.h. */
8826 main ()
8830 return 0;
8832 _ACEOF
8833 if ac_fn_c_try_compile "$LINENO"; then :
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8835 $as_echo "yes" >&6; }
8836 set x $CROSSCC
8837 shift
8838 while test $# -ge 1
8840 case "$1" in
8841 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8842 esac
8843 shift
8844 done
8845 else
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8847 $as_echo "no" >&6; }
8849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8850 CC="$ac_save_CC"
8855 if test "$ac_cv_header_pthread_h" = "yes"
8856 then
8857 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8858 if test "x$ac_cv_func_pthread_create" = xyes; then :
8860 else
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8862 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8863 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8864 $as_echo_n "(cached) " >&6
8865 else
8866 ac_check_lib_save_LIBS=$LIBS
8867 LIBS="-lpthread $LIBS"
8868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8869 /* end confdefs.h. */
8871 /* Override any GCC internal prototype to avoid an error.
8872 Use char because int might match the return type of a GCC
8873 builtin and then its argument prototype would still apply. */
8874 #ifdef __cplusplus
8875 extern "C"
8876 #endif
8877 char pthread_create ();
8879 main ()
8881 return pthread_create ();
8883 return 0;
8885 _ACEOF
8886 if ac_fn_c_try_link "$LINENO"; then :
8887 ac_cv_lib_pthread_pthread_create=yes
8888 else
8889 ac_cv_lib_pthread_pthread_create=no
8891 rm -f core conftest.err conftest.$ac_objext \
8892 conftest$ac_exeext conftest.$ac_ext
8893 LIBS=$ac_check_lib_save_LIBS
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8896 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8897 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8898 PTHREAD_LIBS="-lpthread"
8905 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8906 case "x$with_pthread" in
8907 xno) ;;
8908 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8909 Wine cannot support threads without libpthread.
8910 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8911 esac
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8916 $as_echo_n "checking for X... " >&6; }
8919 # Check whether --with-x was given.
8920 if test "${with_x+set}" = set; then :
8921 withval=$with_x;
8924 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8925 if test "x$with_x" = xno; then
8926 # The user explicitly disabled X.
8927 have_x=disabled
8928 else
8929 case $x_includes,$x_libraries in #(
8930 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8931 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8932 $as_echo_n "(cached) " >&6
8933 else
8934 # One or both of the vars are not set, and there is no cached value.
8935 ac_x_includes=no ac_x_libraries=no
8936 rm -f -r conftest.dir
8937 if mkdir conftest.dir; then
8938 cd conftest.dir
8939 cat >Imakefile <<'_ACEOF'
8940 incroot:
8941 @echo incroot='${INCROOT}'
8942 usrlibdir:
8943 @echo usrlibdir='${USRLIBDIR}'
8944 libdir:
8945 @echo libdir='${LIBDIR}'
8946 _ACEOF
8947 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8948 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8949 for ac_var in incroot usrlibdir libdir; do
8950 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8951 done
8952 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8953 for ac_extension in a so sl dylib la dll; do
8954 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8955 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8956 ac_im_usrlibdir=$ac_im_libdir; break
8958 done
8959 # Screen out bogus values from the imake configuration. They are
8960 # bogus both because they are the default anyway, and because
8961 # using them would break gcc on systems where it needs fixed includes.
8962 case $ac_im_incroot in
8963 /usr/include) ac_x_includes= ;;
8964 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8965 esac
8966 case $ac_im_usrlibdir in
8967 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8968 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8969 esac
8971 cd ..
8972 rm -f -r conftest.dir
8975 # Standard set of common directories for X headers.
8976 # Check X11 before X11Rn because it is often a symlink to the current release.
8977 ac_x_header_dirs='
8978 /usr/X11/include
8979 /usr/X11R7/include
8980 /usr/X11R6/include
8981 /usr/X11R5/include
8982 /usr/X11R4/include
8984 /usr/include/X11
8985 /usr/include/X11R7
8986 /usr/include/X11R6
8987 /usr/include/X11R5
8988 /usr/include/X11R4
8990 /usr/local/X11/include
8991 /usr/local/X11R7/include
8992 /usr/local/X11R6/include
8993 /usr/local/X11R5/include
8994 /usr/local/X11R4/include
8996 /usr/local/include/X11
8997 /usr/local/include/X11R7
8998 /usr/local/include/X11R6
8999 /usr/local/include/X11R5
9000 /usr/local/include/X11R4
9002 /usr/X386/include
9003 /usr/x386/include
9004 /usr/XFree86/include/X11
9006 /usr/include
9007 /usr/local/include
9008 /usr/unsupported/include
9009 /usr/athena/include
9010 /usr/local/x11r5/include
9011 /usr/lpp/Xamples/include
9013 /usr/openwin/include
9014 /usr/openwin/share/include'
9016 if test "$ac_x_includes" = no; then
9017 # Guess where to find include files, by looking for Xlib.h.
9018 # First, try using that file with no special directory specified.
9019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9020 /* end confdefs.h. */
9021 #include <X11/Xlib.h>
9022 _ACEOF
9023 if ac_fn_c_try_cpp "$LINENO"; then :
9024 # We can compile using X headers with no special include directory.
9025 ac_x_includes=
9026 else
9027 for ac_dir in $ac_x_header_dirs; do
9028 if test -r "$ac_dir/X11/Xlib.h"; then
9029 ac_x_includes=$ac_dir
9030 break
9032 done
9034 rm -f conftest.err conftest.i conftest.$ac_ext
9035 fi # $ac_x_includes = no
9037 if test "$ac_x_libraries" = no; then
9038 # Check for the libraries.
9039 # See if we find them without any special options.
9040 # Don't add to $LIBS permanently.
9041 ac_save_LIBS=$LIBS
9042 LIBS="-lX11 $LIBS"
9043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9044 /* end confdefs.h. */
9045 #include <X11/Xlib.h>
9047 main ()
9049 XrmInitialize ()
9051 return 0;
9053 _ACEOF
9054 if ac_fn_c_try_link "$LINENO"; then :
9055 LIBS=$ac_save_LIBS
9056 # We can link X programs with no special library path.
9057 ac_x_libraries=
9058 else
9059 LIBS=$ac_save_LIBS
9060 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9062 # Don't even attempt the hair of trying to link an X program!
9063 for ac_extension in a so sl dylib la dll; do
9064 if test -r "$ac_dir/libX11.$ac_extension"; then
9065 ac_x_libraries=$ac_dir
9066 break 2
9068 done
9069 done
9071 rm -f core conftest.err conftest.$ac_objext \
9072 conftest$ac_exeext conftest.$ac_ext
9073 fi # $ac_x_libraries = no
9075 case $ac_x_includes,$ac_x_libraries in #(
9076 no,* | *,no | *\'*)
9077 # Didn't find X, or a directory has "'" in its name.
9078 ac_cv_have_x="have_x=no";; #(
9080 # Record where we found X for the cache.
9081 ac_cv_have_x="have_x=yes\
9082 ac_x_includes='$ac_x_includes'\
9083 ac_x_libraries='$ac_x_libraries'"
9084 esac
9086 ;; #(
9087 *) have_x=yes;;
9088 esac
9089 eval "$ac_cv_have_x"
9090 fi # $with_x != no
9092 if test "$have_x" != yes; then
9093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9094 $as_echo "$have_x" >&6; }
9095 no_x=yes
9096 else
9097 # If each of the values was on the command line, it overrides each guess.
9098 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9099 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9100 # Update the cache value to reflect the command line values.
9101 ac_cv_have_x="have_x=yes\
9102 ac_x_includes='$x_includes'\
9103 ac_x_libraries='$x_libraries'"
9104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9105 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9108 if test "$no_x" = yes; then
9109 # Not all programs may use this symbol, but it does not hurt to define it.
9111 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9113 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9114 else
9115 if test -n "$x_includes"; then
9116 X_CFLAGS="$X_CFLAGS -I$x_includes"
9119 # It would also be nice to do this for all -L options, not just this one.
9120 if test -n "$x_libraries"; then
9121 X_LIBS="$X_LIBS -L$x_libraries"
9122 # For Solaris; some versions of Sun CC require a space after -R and
9123 # others require no space. Words are not sufficient . . . .
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9125 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9126 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9127 ac_xsave_c_werror_flag=$ac_c_werror_flag
9128 ac_c_werror_flag=yes
9129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9130 /* end confdefs.h. */
9133 main ()
9137 return 0;
9139 _ACEOF
9140 if ac_fn_c_try_link "$LINENO"; then :
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9142 $as_echo "no" >&6; }
9143 X_LIBS="$X_LIBS -R$x_libraries"
9144 else
9145 LIBS="$ac_xsave_LIBS -R $x_libraries"
9146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9147 /* end confdefs.h. */
9150 main ()
9154 return 0;
9156 _ACEOF
9157 if ac_fn_c_try_link "$LINENO"; then :
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9159 $as_echo "yes" >&6; }
9160 X_LIBS="$X_LIBS -R $x_libraries"
9161 else
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9163 $as_echo "neither works" >&6; }
9165 rm -f core conftest.err conftest.$ac_objext \
9166 conftest$ac_exeext conftest.$ac_ext
9168 rm -f core conftest.err conftest.$ac_objext \
9169 conftest$ac_exeext conftest.$ac_ext
9170 ac_c_werror_flag=$ac_xsave_c_werror_flag
9171 LIBS=$ac_xsave_LIBS
9174 # Check for system-dependent libraries X programs must link with.
9175 # Do this before checking for the system-independent R6 libraries
9176 # (-lICE), since we may need -lsocket or whatever for X linking.
9178 if test "$ISC" = yes; then
9179 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9180 else
9181 # Martyn Johnson says this is needed for Ultrix, if the X
9182 # libraries were built with DECnet support. And Karl Berry says
9183 # the Alpha needs dnet_stub (dnet does not exist).
9184 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9186 /* end confdefs.h. */
9188 /* Override any GCC internal prototype to avoid an error.
9189 Use char because int might match the return type of a GCC
9190 builtin and then its argument prototype would still apply. */
9191 #ifdef __cplusplus
9192 extern "C"
9193 #endif
9194 char XOpenDisplay ();
9196 main ()
9198 return XOpenDisplay ();
9200 return 0;
9202 _ACEOF
9203 if ac_fn_c_try_link "$LINENO"; then :
9205 else
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9207 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9208 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9209 $as_echo_n "(cached) " >&6
9210 else
9211 ac_check_lib_save_LIBS=$LIBS
9212 LIBS="-ldnet $LIBS"
9213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9214 /* end confdefs.h. */
9216 /* Override any GCC internal prototype to avoid an error.
9217 Use char because int might match the return type of a GCC
9218 builtin and then its argument prototype would still apply. */
9219 #ifdef __cplusplus
9220 extern "C"
9221 #endif
9222 char dnet_ntoa ();
9224 main ()
9226 return dnet_ntoa ();
9228 return 0;
9230 _ACEOF
9231 if ac_fn_c_try_link "$LINENO"; then :
9232 ac_cv_lib_dnet_dnet_ntoa=yes
9233 else
9234 ac_cv_lib_dnet_dnet_ntoa=no
9236 rm -f core conftest.err conftest.$ac_objext \
9237 conftest$ac_exeext conftest.$ac_ext
9238 LIBS=$ac_check_lib_save_LIBS
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9241 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9242 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9243 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9246 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9248 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9249 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9250 $as_echo_n "(cached) " >&6
9251 else
9252 ac_check_lib_save_LIBS=$LIBS
9253 LIBS="-ldnet_stub $LIBS"
9254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9255 /* end confdefs.h. */
9257 /* Override any GCC internal prototype to avoid an error.
9258 Use char because int might match the return type of a GCC
9259 builtin and then its argument prototype would still apply. */
9260 #ifdef __cplusplus
9261 extern "C"
9262 #endif
9263 char dnet_ntoa ();
9265 main ()
9267 return dnet_ntoa ();
9269 return 0;
9271 _ACEOF
9272 if ac_fn_c_try_link "$LINENO"; then :
9273 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9274 else
9275 ac_cv_lib_dnet_stub_dnet_ntoa=no
9277 rm -f core conftest.err conftest.$ac_objext \
9278 conftest$ac_exeext conftest.$ac_ext
9279 LIBS=$ac_check_lib_save_LIBS
9281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9282 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9283 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9284 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9289 rm -f core conftest.err conftest.$ac_objext \
9290 conftest$ac_exeext conftest.$ac_ext
9291 LIBS="$ac_xsave_LIBS"
9293 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9294 # to get the SysV transport functions.
9295 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9296 # needs -lnsl.
9297 # The nsl library prevents programs from opening the X display
9298 # on Irix 5.2, according to T.E. Dickey.
9299 # The functions gethostbyname, getservbyname, and inet_addr are
9300 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9301 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9302 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9306 if test $ac_cv_func_gethostbyname = no; then
9307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9308 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9309 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9310 $as_echo_n "(cached) " >&6
9311 else
9312 ac_check_lib_save_LIBS=$LIBS
9313 LIBS="-lnsl $LIBS"
9314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9315 /* end confdefs.h. */
9317 /* Override any GCC internal prototype to avoid an error.
9318 Use char because int might match the return type of a GCC
9319 builtin and then its argument prototype would still apply. */
9320 #ifdef __cplusplus
9321 extern "C"
9322 #endif
9323 char gethostbyname ();
9325 main ()
9327 return gethostbyname ();
9329 return 0;
9331 _ACEOF
9332 if ac_fn_c_try_link "$LINENO"; then :
9333 ac_cv_lib_nsl_gethostbyname=yes
9334 else
9335 ac_cv_lib_nsl_gethostbyname=no
9337 rm -f core conftest.err conftest.$ac_objext \
9338 conftest$ac_exeext conftest.$ac_ext
9339 LIBS=$ac_check_lib_save_LIBS
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9342 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9343 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9344 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9347 if test $ac_cv_lib_nsl_gethostbyname = no; then
9348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9349 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9350 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9351 $as_echo_n "(cached) " >&6
9352 else
9353 ac_check_lib_save_LIBS=$LIBS
9354 LIBS="-lbsd $LIBS"
9355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9356 /* end confdefs.h. */
9358 /* Override any GCC internal prototype to avoid an error.
9359 Use char because int might match the return type of a GCC
9360 builtin and then its argument prototype would still apply. */
9361 #ifdef __cplusplus
9362 extern "C"
9363 #endif
9364 char gethostbyname ();
9366 main ()
9368 return gethostbyname ();
9370 return 0;
9372 _ACEOF
9373 if ac_fn_c_try_link "$LINENO"; then :
9374 ac_cv_lib_bsd_gethostbyname=yes
9375 else
9376 ac_cv_lib_bsd_gethostbyname=no
9378 rm -f core conftest.err conftest.$ac_objext \
9379 conftest$ac_exeext conftest.$ac_ext
9380 LIBS=$ac_check_lib_save_LIBS
9382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9383 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9384 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9385 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9391 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9392 # socket/setsockopt and other routines are undefined under SCO ODT
9393 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9394 # on later versions), says Simon Leinen: it contains gethostby*
9395 # variants that don't use the name server (or something). -lsocket
9396 # must be given before -lnsl if both are needed. We assume that
9397 # if connect needs -lnsl, so does gethostbyname.
9398 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9399 if test "x$ac_cv_func_connect" = xyes; then :
9403 if test $ac_cv_func_connect = no; then
9404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9405 $as_echo_n "checking for connect in -lsocket... " >&6; }
9406 if ${ac_cv_lib_socket_connect+:} false; then :
9407 $as_echo_n "(cached) " >&6
9408 else
9409 ac_check_lib_save_LIBS=$LIBS
9410 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9412 /* end confdefs.h. */
9414 /* Override any GCC internal prototype to avoid an error.
9415 Use char because int might match the return type of a GCC
9416 builtin and then its argument prototype would still apply. */
9417 #ifdef __cplusplus
9418 extern "C"
9419 #endif
9420 char connect ();
9422 main ()
9424 return connect ();
9426 return 0;
9428 _ACEOF
9429 if ac_fn_c_try_link "$LINENO"; then :
9430 ac_cv_lib_socket_connect=yes
9431 else
9432 ac_cv_lib_socket_connect=no
9434 rm -f core conftest.err conftest.$ac_objext \
9435 conftest$ac_exeext conftest.$ac_ext
9436 LIBS=$ac_check_lib_save_LIBS
9438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9439 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9440 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9441 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9446 # Guillermo Gomez says -lposix is necessary on A/UX.
9447 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9448 if test "x$ac_cv_func_remove" = xyes; then :
9452 if test $ac_cv_func_remove = no; then
9453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9454 $as_echo_n "checking for remove in -lposix... " >&6; }
9455 if ${ac_cv_lib_posix_remove+:} false; then :
9456 $as_echo_n "(cached) " >&6
9457 else
9458 ac_check_lib_save_LIBS=$LIBS
9459 LIBS="-lposix $LIBS"
9460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9461 /* end confdefs.h. */
9463 /* Override any GCC internal prototype to avoid an error.
9464 Use char because int might match the return type of a GCC
9465 builtin and then its argument prototype would still apply. */
9466 #ifdef __cplusplus
9467 extern "C"
9468 #endif
9469 char remove ();
9471 main ()
9473 return remove ();
9475 return 0;
9477 _ACEOF
9478 if ac_fn_c_try_link "$LINENO"; then :
9479 ac_cv_lib_posix_remove=yes
9480 else
9481 ac_cv_lib_posix_remove=no
9483 rm -f core conftest.err conftest.$ac_objext \
9484 conftest$ac_exeext conftest.$ac_ext
9485 LIBS=$ac_check_lib_save_LIBS
9487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9488 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9489 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9490 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9495 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9496 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9497 if test "x$ac_cv_func_shmat" = xyes; then :
9501 if test $ac_cv_func_shmat = no; then
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9503 $as_echo_n "checking for shmat in -lipc... " >&6; }
9504 if ${ac_cv_lib_ipc_shmat+:} false; then :
9505 $as_echo_n "(cached) " >&6
9506 else
9507 ac_check_lib_save_LIBS=$LIBS
9508 LIBS="-lipc $LIBS"
9509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9510 /* end confdefs.h. */
9512 /* Override any GCC internal prototype to avoid an error.
9513 Use char because int might match the return type of a GCC
9514 builtin and then its argument prototype would still apply. */
9515 #ifdef __cplusplus
9516 extern "C"
9517 #endif
9518 char shmat ();
9520 main ()
9522 return shmat ();
9524 return 0;
9526 _ACEOF
9527 if ac_fn_c_try_link "$LINENO"; then :
9528 ac_cv_lib_ipc_shmat=yes
9529 else
9530 ac_cv_lib_ipc_shmat=no
9532 rm -f core conftest.err conftest.$ac_objext \
9533 conftest$ac_exeext conftest.$ac_ext
9534 LIBS=$ac_check_lib_save_LIBS
9536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9537 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9538 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9539 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9545 # Check for libraries that X11R6 Xt/Xaw programs need.
9546 ac_save_LDFLAGS=$LDFLAGS
9547 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9548 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9549 # check for ICE first), but we must link in the order -lSM -lICE or
9550 # we get undefined symbols. So assume we have SM if we have ICE.
9551 # These have to be linked with before -lX11, unlike the other
9552 # libraries we check for below, so use a different variable.
9553 # John Interrante, Karl Berry
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9555 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9556 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9557 $as_echo_n "(cached) " >&6
9558 else
9559 ac_check_lib_save_LIBS=$LIBS
9560 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9562 /* end confdefs.h. */
9564 /* Override any GCC internal prototype to avoid an error.
9565 Use char because int might match the return type of a GCC
9566 builtin and then its argument prototype would still apply. */
9567 #ifdef __cplusplus
9568 extern "C"
9569 #endif
9570 char IceConnectionNumber ();
9572 main ()
9574 return IceConnectionNumber ();
9576 return 0;
9578 _ACEOF
9579 if ac_fn_c_try_link "$LINENO"; then :
9580 ac_cv_lib_ICE_IceConnectionNumber=yes
9581 else
9582 ac_cv_lib_ICE_IceConnectionNumber=no
9584 rm -f core conftest.err conftest.$ac_objext \
9585 conftest$ac_exeext conftest.$ac_ext
9586 LIBS=$ac_check_lib_save_LIBS
9588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9589 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9590 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9591 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9594 LDFLAGS=$ac_save_LDFLAGS
9599 if test "$have_x" = "yes"
9600 then
9601 ac_save_CPPFLAGS="$CPPFLAGS"
9602 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9605 $as_echo_n "checking for -lX11... " >&6; }
9606 if ${ac_cv_lib_soname_X11+:} false; then :
9607 $as_echo_n "(cached) " >&6
9608 else
9609 ac_check_soname_save_LIBS=$LIBS
9610 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9612 /* end confdefs.h. */
9614 /* Override any GCC internal prototype to avoid an error.
9615 Use char because int might match the return type of a GCC
9616 builtin and then its argument prototype would still apply. */
9617 #ifdef __cplusplus
9618 extern "C"
9619 #endif
9620 char XCreateWindow ();
9622 main ()
9624 return XCreateWindow ();
9626 return 0;
9628 _ACEOF
9629 if ac_fn_c_try_link "$LINENO"; then :
9630 case "$LIBEXT" in
9631 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9632 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'` ;;
9633 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9634 if ${ac_cv_lib_soname_X11:+false} :; then :
9635 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9636 fi ;;
9637 esac
9639 rm -f core conftest.err conftest.$ac_objext \
9640 conftest$ac_exeext conftest.$ac_ext
9641 LIBS=$ac_check_soname_save_LIBS
9643 if ${ac_cv_lib_soname_X11:+false} :; then :
9644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9645 $as_echo "not found" >&6; }
9647 else
9648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9649 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9651 cat >>confdefs.h <<_ACEOF
9652 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9653 _ACEOF
9657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9658 $as_echo_n "checking for -lXext... " >&6; }
9659 if ${ac_cv_lib_soname_Xext+:} false; then :
9660 $as_echo_n "(cached) " >&6
9661 else
9662 ac_check_soname_save_LIBS=$LIBS
9663 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9665 /* end confdefs.h. */
9667 /* Override any GCC internal prototype to avoid an error.
9668 Use char because int might match the return type of a GCC
9669 builtin and then its argument prototype would still apply. */
9670 #ifdef __cplusplus
9671 extern "C"
9672 #endif
9673 char XextCreateExtension ();
9675 main ()
9677 return XextCreateExtension ();
9679 return 0;
9681 _ACEOF
9682 if ac_fn_c_try_link "$LINENO"; then :
9683 case "$LIBEXT" in
9684 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9685 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'` ;;
9686 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9687 if ${ac_cv_lib_soname_Xext:+false} :; then :
9688 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9689 fi ;;
9690 esac
9692 rm -f core conftest.err conftest.$ac_objext \
9693 conftest$ac_exeext conftest.$ac_ext
9694 LIBS=$ac_check_soname_save_LIBS
9696 if ${ac_cv_lib_soname_Xext:+false} :; then :
9697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9698 $as_echo "not found" >&6; }
9700 else
9701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9702 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9704 cat >>confdefs.h <<_ACEOF
9705 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9706 _ACEOF
9708 X_LIBS="$X_LIBS -lXext"
9710 X_LIBS="$X_LIBS -lX11"
9712 for ac_header in X11/Xlib.h \
9713 X11/XKBlib.h \
9714 X11/Xutil.h \
9715 X11/Xcursor/Xcursor.h \
9716 X11/extensions/shape.h \
9717 X11/extensions/XInput.h \
9718 X11/extensions/XInput2.h \
9719 X11/extensions/XShm.h \
9720 X11/extensions/Xcomposite.h \
9721 X11/extensions/Xinerama.h \
9722 X11/extensions/Xrandr.h \
9723 X11/extensions/Xrender.h \
9724 X11/extensions/xf86vmode.h \
9725 X11/extensions/xf86vmproto.h
9726 do :
9727 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9728 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9729 # include <X11/Xlib.h>
9730 #endif
9731 #ifdef HAVE_X11_XUTIL_H
9732 # include <X11/Xutil.h>
9733 #endif
9735 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9736 cat >>confdefs.h <<_ACEOF
9737 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9738 _ACEOF
9742 done
9745 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9746 then
9747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9748 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9749 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9750 $as_echo_n "(cached) " >&6
9751 else
9752 ac_check_lib_save_LIBS=$LIBS
9753 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9755 /* end confdefs.h. */
9757 /* Override any GCC internal prototype to avoid an error.
9758 Use char because int might match the return type of a GCC
9759 builtin and then its argument prototype would still apply. */
9760 #ifdef __cplusplus
9761 extern "C"
9762 #endif
9763 char XkbQueryExtension ();
9765 main ()
9767 return XkbQueryExtension ();
9769 return 0;
9771 _ACEOF
9772 if ac_fn_c_try_link "$LINENO"; then :
9773 ac_cv_lib_X11_XkbQueryExtension=yes
9774 else
9775 ac_cv_lib_X11_XkbQueryExtension=no
9777 rm -f core conftest.err conftest.$ac_objext \
9778 conftest$ac_exeext conftest.$ac_ext
9779 LIBS=$ac_check_lib_save_LIBS
9781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9782 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9783 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9785 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9791 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9792 then
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9794 $as_echo_n "checking for -lXcursor... " >&6; }
9795 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9796 $as_echo_n "(cached) " >&6
9797 else
9798 ac_check_soname_save_LIBS=$LIBS
9799 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9801 /* end confdefs.h. */
9803 /* Override any GCC internal prototype to avoid an error.
9804 Use char because int might match the return type of a GCC
9805 builtin and then its argument prototype would still apply. */
9806 #ifdef __cplusplus
9807 extern "C"
9808 #endif
9809 char XcursorImageLoadCursor ();
9811 main ()
9813 return XcursorImageLoadCursor ();
9815 return 0;
9817 _ACEOF
9818 if ac_fn_c_try_link "$LINENO"; then :
9819 case "$LIBEXT" in
9820 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9821 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'` ;;
9822 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9823 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9824 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9825 fi ;;
9826 esac
9828 rm -f core conftest.err conftest.$ac_objext \
9829 conftest$ac_exeext conftest.$ac_ext
9830 LIBS=$ac_check_soname_save_LIBS
9832 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9834 $as_echo "not found" >&6; }
9836 else
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9838 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9840 cat >>confdefs.h <<_ACEOF
9841 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9842 _ACEOF
9847 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9848 case "x$with_xcursor" in
9849 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9850 xno) ;;
9851 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9852 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9853 esac
9856 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9857 then
9858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9859 $as_echo_n "checking for -lXi... " >&6; }
9860 if ${ac_cv_lib_soname_Xi+:} false; then :
9861 $as_echo_n "(cached) " >&6
9862 else
9863 ac_check_soname_save_LIBS=$LIBS
9864 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9866 /* end confdefs.h. */
9868 /* Override any GCC internal prototype to avoid an error.
9869 Use char because int might match the return type of a GCC
9870 builtin and then its argument prototype would still apply. */
9871 #ifdef __cplusplus
9872 extern "C"
9873 #endif
9874 char XOpenDevice ();
9876 main ()
9878 return XOpenDevice ();
9880 return 0;
9882 _ACEOF
9883 if ac_fn_c_try_link "$LINENO"; then :
9884 case "$LIBEXT" in
9885 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9886 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'` ;;
9887 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9888 if ${ac_cv_lib_soname_Xi:+false} :; then :
9889 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9890 fi ;;
9891 esac
9893 rm -f core conftest.err conftest.$ac_objext \
9894 conftest$ac_exeext conftest.$ac_ext
9895 LIBS=$ac_check_soname_save_LIBS
9897 if ${ac_cv_lib_soname_Xi:+false} :; then :
9898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9899 $as_echo "not found" >&6; }
9901 else
9902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9903 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9905 cat >>confdefs.h <<_ACEOF
9906 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9907 _ACEOF
9912 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9913 case "x$with_xinput" in
9914 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9915 xno) ;;
9916 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9917 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9918 esac
9921 if test "x$ac_cv_lib_soname_Xi" != x
9922 then
9923 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9924 case "x$with_xinput2" in
9925 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9926 xno) ;;
9927 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9928 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9929 esac
9933 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9934 then
9935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9936 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9937 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9938 $as_echo_n "(cached) " >&6
9939 else
9940 ac_check_lib_save_LIBS=$LIBS
9941 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9943 /* end confdefs.h. */
9945 /* Override any GCC internal prototype to avoid an error.
9946 Use char because int might match the return type of a GCC
9947 builtin and then its argument prototype would still apply. */
9948 #ifdef __cplusplus
9949 extern "C"
9950 #endif
9951 char XShmQueryExtension ();
9953 main ()
9955 return XShmQueryExtension ();
9957 return 0;
9959 _ACEOF
9960 if ac_fn_c_try_link "$LINENO"; then :
9961 ac_cv_lib_Xext_XShmQueryExtension=yes
9962 else
9963 ac_cv_lib_Xext_XShmQueryExtension=no
9965 rm -f core conftest.err conftest.$ac_objext \
9966 conftest$ac_exeext conftest.$ac_ext
9967 LIBS=$ac_check_lib_save_LIBS
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9970 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9971 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9973 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9978 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9979 case "x$with_xshm" in
9980 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9981 xno) ;;
9982 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9983 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9984 esac
9987 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9988 then
9989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9990 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9991 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9992 $as_echo_n "(cached) " >&6
9993 else
9994 ac_check_lib_save_LIBS=$LIBS
9995 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9997 /* end confdefs.h. */
9999 /* Override any GCC internal prototype to avoid an error.
10000 Use char because int might match the return type of a GCC
10001 builtin and then its argument prototype would still apply. */
10002 #ifdef __cplusplus
10003 extern "C"
10004 #endif
10005 char XShapeQueryExtension ();
10007 main ()
10009 return XShapeQueryExtension ();
10011 return 0;
10013 _ACEOF
10014 if ac_fn_c_try_link "$LINENO"; then :
10015 ac_cv_lib_Xext_XShapeQueryExtension=yes
10016 else
10017 ac_cv_lib_Xext_XShapeQueryExtension=no
10019 rm -f core conftest.err conftest.$ac_objext \
10020 conftest$ac_exeext conftest.$ac_ext
10021 LIBS=$ac_check_lib_save_LIBS
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10024 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10025 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10027 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10032 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10033 case "x$with_xshape" in
10034 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10035 xno) ;;
10036 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10037 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10038 esac
10041 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10042 then
10043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10044 $as_echo_n "checking for -lXxf86vm... " >&6; }
10045 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10046 $as_echo_n "(cached) " >&6
10047 else
10048 ac_check_soname_save_LIBS=$LIBS
10049 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10051 /* end confdefs.h. */
10053 /* Override any GCC internal prototype to avoid an error.
10054 Use char because int might match the return type of a GCC
10055 builtin and then its argument prototype would still apply. */
10056 #ifdef __cplusplus
10057 extern "C"
10058 #endif
10059 char XF86VidModeQueryExtension ();
10061 main ()
10063 return XF86VidModeQueryExtension ();
10065 return 0;
10067 _ACEOF
10068 if ac_fn_c_try_link "$LINENO"; then :
10069 case "$LIBEXT" in
10070 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10071 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'` ;;
10072 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10073 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10074 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10075 fi ;;
10076 esac
10078 rm -f core conftest.err conftest.$ac_objext \
10079 conftest$ac_exeext conftest.$ac_ext
10080 LIBS=$ac_check_soname_save_LIBS
10082 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10084 $as_echo "not found" >&6; }
10086 else
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10088 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10090 cat >>confdefs.h <<_ACEOF
10091 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10092 _ACEOF
10097 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10098 case "x$with_xxf86vm" in
10099 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10100 xno) ;;
10101 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10102 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10103 esac
10106 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10107 then
10108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10109 $as_echo_n "checking for -lXrender... " >&6; }
10110 if ${ac_cv_lib_soname_Xrender+:} false; then :
10111 $as_echo_n "(cached) " >&6
10112 else
10113 ac_check_soname_save_LIBS=$LIBS
10114 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10116 /* end confdefs.h. */
10118 /* Override any GCC internal prototype to avoid an error.
10119 Use char because int might match the return type of a GCC
10120 builtin and then its argument prototype would still apply. */
10121 #ifdef __cplusplus
10122 extern "C"
10123 #endif
10124 char XRenderQueryExtension ();
10126 main ()
10128 return XRenderQueryExtension ();
10130 return 0;
10132 _ACEOF
10133 if ac_fn_c_try_link "$LINENO"; then :
10134 case "$LIBEXT" in
10135 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10136 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'` ;;
10137 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10138 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10139 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10140 fi ;;
10141 esac
10143 rm -f core conftest.err conftest.$ac_objext \
10144 conftest$ac_exeext conftest.$ac_ext
10145 LIBS=$ac_check_soname_save_LIBS
10147 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10149 $as_echo "not found" >&6; }
10151 else
10152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10153 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10155 cat >>confdefs.h <<_ACEOF
10156 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10157 _ACEOF
10159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10160 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10161 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10162 $as_echo_n "(cached) " >&6
10163 else
10164 ac_check_lib_save_LIBS=$LIBS
10165 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10167 /* end confdefs.h. */
10169 /* Override any GCC internal prototype to avoid an error.
10170 Use char because int might match the return type of a GCC
10171 builtin and then its argument prototype would still apply. */
10172 #ifdef __cplusplus
10173 extern "C"
10174 #endif
10175 char XRenderSetPictureTransform ();
10177 main ()
10179 return XRenderSetPictureTransform ();
10181 return 0;
10183 _ACEOF
10184 if ac_fn_c_try_link "$LINENO"; then :
10185 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10186 else
10187 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10189 rm -f core conftest.err conftest.$ac_objext \
10190 conftest$ac_exeext conftest.$ac_ext
10191 LIBS=$ac_check_lib_save_LIBS
10193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10194 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10195 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10197 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10202 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10203 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10204 $as_echo_n "(cached) " >&6
10205 else
10206 ac_check_lib_save_LIBS=$LIBS
10207 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10209 /* end confdefs.h. */
10211 /* Override any GCC internal prototype to avoid an error.
10212 Use char because int might match the return type of a GCC
10213 builtin and then its argument prototype would still apply. */
10214 #ifdef __cplusplus
10215 extern "C"
10216 #endif
10217 char XRenderCreateLinearGradient ();
10219 main ()
10221 return XRenderCreateLinearGradient ();
10223 return 0;
10225 _ACEOF
10226 if ac_fn_c_try_link "$LINENO"; then :
10227 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10228 else
10229 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10231 rm -f core conftest.err conftest.$ac_objext \
10232 conftest$ac_exeext conftest.$ac_ext
10233 LIBS=$ac_check_lib_save_LIBS
10235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10236 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10237 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10239 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10246 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10247 case "x$with_xrender" in
10248 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10249 xno) ;;
10250 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10251 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10252 esac
10255 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10256 then
10257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10258 /* end confdefs.h. */
10259 #include <X11/Xlib.h>
10260 #include <X11/extensions/Xrandr.h>
10262 main ()
10264 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10266 return 0;
10268 _ACEOF
10269 if ac_fn_c_try_compile "$LINENO"; then :
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10271 $as_echo_n "checking for -lXrandr... " >&6; }
10272 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10273 $as_echo_n "(cached) " >&6
10274 else
10275 ac_check_soname_save_LIBS=$LIBS
10276 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10278 /* end confdefs.h. */
10280 /* Override any GCC internal prototype to avoid an error.
10281 Use char because int might match the return type of a GCC
10282 builtin and then its argument prototype would still apply. */
10283 #ifdef __cplusplus
10284 extern "C"
10285 #endif
10286 char XRRQueryExtension ();
10288 main ()
10290 return XRRQueryExtension ();
10292 return 0;
10294 _ACEOF
10295 if ac_fn_c_try_link "$LINENO"; then :
10296 case "$LIBEXT" in
10297 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10298 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'` ;;
10299 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10300 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10301 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10302 fi ;;
10303 esac
10305 rm -f core conftest.err conftest.$ac_objext \
10306 conftest$ac_exeext conftest.$ac_ext
10307 LIBS=$ac_check_soname_save_LIBS
10309 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10311 $as_echo "not found" >&6; }
10313 else
10314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10315 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10317 cat >>confdefs.h <<_ACEOF
10318 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10319 _ACEOF
10321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10322 /* end confdefs.h. */
10323 #include <X11/Xlib.h>
10324 #include <X11/extensions/Xrandr.h>
10326 main ()
10328 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10330 return 0;
10332 _ACEOF
10333 if ac_fn_c_try_compile "$LINENO"; then :
10335 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10343 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10344 case "x$with_xrandr" in
10345 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10346 xno) ;;
10347 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10348 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10349 esac
10352 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10353 then
10354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10355 /* end confdefs.h. */
10356 #include <X11/Xlib.h>
10357 #include <X11/extensions/Xinerama.h>
10359 main ()
10361 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10363 return 0;
10365 _ACEOF
10366 if ac_fn_c_try_compile "$LINENO"; then :
10367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10368 $as_echo_n "checking for -lXinerama... " >&6; }
10369 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10370 $as_echo_n "(cached) " >&6
10371 else
10372 ac_check_soname_save_LIBS=$LIBS
10373 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10375 /* end confdefs.h. */
10377 /* Override any GCC internal prototype to avoid an error.
10378 Use char because int might match the return type of a GCC
10379 builtin and then its argument prototype would still apply. */
10380 #ifdef __cplusplus
10381 extern "C"
10382 #endif
10383 char XineramaQueryScreens ();
10385 main ()
10387 return XineramaQueryScreens ();
10389 return 0;
10391 _ACEOF
10392 if ac_fn_c_try_link "$LINENO"; then :
10393 case "$LIBEXT" in
10394 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10395 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'` ;;
10396 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10397 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10398 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10399 fi ;;
10400 esac
10402 rm -f core conftest.err conftest.$ac_objext \
10403 conftest$ac_exeext conftest.$ac_ext
10404 LIBS=$ac_check_soname_save_LIBS
10406 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10408 $as_echo "not found" >&6; }
10410 else
10411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10412 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10414 cat >>confdefs.h <<_ACEOF
10415 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10416 _ACEOF
10421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10423 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10424 case "x$with_xinerama" in
10425 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10426 xno) ;;
10427 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10428 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10429 esac
10432 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10433 then
10434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10435 $as_echo_n "checking for -lXcomposite... " >&6; }
10436 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10437 $as_echo_n "(cached) " >&6
10438 else
10439 ac_check_soname_save_LIBS=$LIBS
10440 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10442 /* end confdefs.h. */
10444 /* Override any GCC internal prototype to avoid an error.
10445 Use char because int might match the return type of a GCC
10446 builtin and then its argument prototype would still apply. */
10447 #ifdef __cplusplus
10448 extern "C"
10449 #endif
10450 char XCompositeRedirectWindow ();
10452 main ()
10454 return XCompositeRedirectWindow ();
10456 return 0;
10458 _ACEOF
10459 if ac_fn_c_try_link "$LINENO"; then :
10460 case "$LIBEXT" in
10461 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10462 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'` ;;
10463 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10464 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10465 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10466 fi ;;
10467 esac
10469 rm -f core conftest.err conftest.$ac_objext \
10470 conftest$ac_exeext conftest.$ac_ext
10471 LIBS=$ac_check_soname_save_LIBS
10473 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10475 $as_echo "not found" >&6; }
10477 else
10478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10479 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10481 cat >>confdefs.h <<_ACEOF
10482 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10483 _ACEOF
10488 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10489 case "x$with_xcomposite" in
10490 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10491 xno) ;;
10492 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10493 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10494 esac
10497 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10498 #include <X11/Xlib.h>
10499 #endif
10501 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10503 cat >>confdefs.h <<_ACEOF
10504 #define HAVE_XICCALLBACK_CALLBACK 1
10505 _ACEOF
10509 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10510 #include <X11/Xlib.h>
10511 #endif
10513 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10515 cat >>confdefs.h <<_ACEOF
10516 #define HAVE_XEVENT_XCOOKIE 1
10517 _ACEOF
10524 opengl_msg=""
10525 if test "x$with_opengl" != "xno"
10526 then
10527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10528 $as_echo_n "checking for -lGL... " >&6; }
10529 if ${ac_cv_lib_soname_GL+:} false; then :
10530 $as_echo_n "(cached) " >&6
10531 else
10532 ac_check_soname_save_LIBS=$LIBS
10533 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10535 /* end confdefs.h. */
10537 /* Override any GCC internal prototype to avoid an error.
10538 Use char because int might match the return type of a GCC
10539 builtin and then its argument prototype would still apply. */
10540 #ifdef __cplusplus
10541 extern "C"
10542 #endif
10543 char glXCreateContext ();
10545 main ()
10547 return glXCreateContext ();
10549 return 0;
10551 _ACEOF
10552 if ac_fn_c_try_link "$LINENO"; then :
10553 case "$LIBEXT" in
10554 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10555 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'` ;;
10556 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10557 if ${ac_cv_lib_soname_GL:+false} :; then :
10558 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10559 fi ;;
10560 esac
10562 rm -f core conftest.err conftest.$ac_objext \
10563 conftest$ac_exeext conftest.$ac_ext
10564 LIBS=$ac_check_soname_save_LIBS
10566 if ${ac_cv_lib_soname_GL:+false} :; then :
10567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10568 $as_echo "not found" >&6; }
10569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10570 $as_echo_n "checking for -lGL... " >&6; }
10571 if ${ac_cv_lib_soname_GL+:} false; then :
10572 $as_echo_n "(cached) " >&6
10573 else
10574 ac_check_soname_save_LIBS=$LIBS
10575 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"
10576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10577 /* end confdefs.h. */
10579 /* Override any GCC internal prototype to avoid an error.
10580 Use char because int might match the return type of a GCC
10581 builtin and then its argument prototype would still apply. */
10582 #ifdef __cplusplus
10583 extern "C"
10584 #endif
10585 char glXCreateContext ();
10587 main ()
10589 return glXCreateContext ();
10591 return 0;
10593 _ACEOF
10594 if ac_fn_c_try_link "$LINENO"; then :
10595 case "$LIBEXT" in
10596 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10597 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'` ;;
10598 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10599 if ${ac_cv_lib_soname_GL:+false} :; then :
10600 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10601 fi ;;
10602 esac
10604 rm -f core conftest.err conftest.$ac_objext \
10605 conftest$ac_exeext conftest.$ac_ext
10606 LIBS=$ac_check_soname_save_LIBS
10608 if ${ac_cv_lib_soname_GL:+false} :; then :
10609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10610 $as_echo "not found" >&6; }
10611 if test -f /usr/X11R6/lib/libGL.a
10612 then
10613 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10614 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10615 else
10616 opengl_msg="No OpenGL library found on this system."
10618 else
10619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10620 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10622 cat >>confdefs.h <<_ACEOF
10623 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10624 _ACEOF
10626 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"
10628 else
10629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10630 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10632 cat >>confdefs.h <<_ACEOF
10633 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10634 _ACEOF
10636 OPENGL_LIBS="-lGL"
10638 if test "x$with_glu" != "xno"
10639 then
10640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10641 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10642 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10643 $as_echo_n "(cached) " >&6
10644 else
10645 ac_check_lib_save_LIBS=$LIBS
10646 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10648 /* end confdefs.h. */
10650 /* Override any GCC internal prototype to avoid an error.
10651 Use char because int might match the return type of a GCC
10652 builtin and then its argument prototype would still apply. */
10653 #ifdef __cplusplus
10654 extern "C"
10655 #endif
10656 char gluLookAt ();
10658 main ()
10660 return gluLookAt ();
10662 return 0;
10664 _ACEOF
10665 if ac_fn_c_try_link "$LINENO"; then :
10666 ac_cv_lib_GLU_gluLookAt=yes
10667 else
10668 ac_cv_lib_GLU_gluLookAt=no
10670 rm -f core conftest.err conftest.$ac_objext \
10671 conftest$ac_exeext conftest.$ac_ext
10672 LIBS=$ac_check_lib_save_LIBS
10674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10675 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10676 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10680 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10681 case "x$with_glu" in
10682 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10683 xno) ;;
10684 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10685 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10686 esac
10690 if test "x$with_osmesa" != "xno"
10691 then
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10693 $as_echo_n "checking for -lOSMesa... " >&6; }
10694 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10695 $as_echo_n "(cached) " >&6
10696 else
10697 ac_check_soname_save_LIBS=$LIBS
10698 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10700 /* end confdefs.h. */
10702 /* Override any GCC internal prototype to avoid an error.
10703 Use char because int might match the return type of a GCC
10704 builtin and then its argument prototype would still apply. */
10705 #ifdef __cplusplus
10706 extern "C"
10707 #endif
10708 char glAccum ();
10710 main ()
10712 return glAccum ();
10714 return 0;
10716 _ACEOF
10717 if ac_fn_c_try_link "$LINENO"; then :
10718 case "$LIBEXT" in
10719 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10720 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'` ;;
10721 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10722 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10723 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10724 fi ;;
10725 esac
10727 rm -f core conftest.err conftest.$ac_objext \
10728 conftest$ac_exeext conftest.$ac_ext
10729 LIBS=$ac_check_soname_save_LIBS
10731 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10733 $as_echo "not found" >&6; }
10735 else
10736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10737 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10739 cat >>confdefs.h <<_ACEOF
10740 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10741 _ACEOF
10745 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10746 case "x$with_osmesa" in
10747 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10748 xno) ;;
10749 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10750 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10751 esac
10755 if test -n "$opengl_msg"; then :
10756 case "x$with_opengl" in
10757 x) as_fn_append wine_warnings "|$opengl_msg
10758 OpenGL and Direct3D won't be supported." ;;
10759 xno) ;;
10760 *) as_fn_error $? "$opengl_msg
10761 OpenGL and Direct3D won't be supported.
10762 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10763 esac
10766 CPPFLAGS="$ac_save_CPPFLAGS"
10767 else
10768 X_CFLAGS=""
10769 X_LIBS=""
10770 enable_winex11_drv=${enable_winex11_drv:-no}
10772 if test "x$X_LIBS" = "x"; then :
10773 case "x$with_x" in
10774 xno) ;;
10775 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10776 without X support, which probably isn't what you want. You will need
10777 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10778 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10779 esac
10782 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10784 if test "$ac_cv_header_CL_cl_h" = "yes"
10785 then
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10787 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10788 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10789 $as_echo_n "(cached) " >&6
10790 else
10791 ac_check_lib_save_LIBS=$LIBS
10792 LIBS="-lOpenCL $LIBS"
10793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10794 /* end confdefs.h. */
10796 /* Override any GCC internal prototype to avoid an error.
10797 Use char because int might match the return type of a GCC
10798 builtin and then its argument prototype would still apply. */
10799 #ifdef __cplusplus
10800 extern "C"
10801 #endif
10802 char clGetPlatformInfo ();
10804 main ()
10806 return clGetPlatformInfo ();
10808 return 0;
10810 _ACEOF
10811 if ac_fn_c_try_link "$LINENO"; then :
10812 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10813 else
10814 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10816 rm -f core conftest.err conftest.$ac_objext \
10817 conftest$ac_exeext conftest.$ac_ext
10818 LIBS=$ac_check_lib_save_LIBS
10820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10821 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10822 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10823 OPENCL_LIBS="-lOpenCL"
10828 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10829 case "x$with_opencl" in
10830 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10831 xno) ;;
10832 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10833 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10834 esac
10836 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10838 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10839 then
10840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10841 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10842 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10843 $as_echo_n "(cached) " >&6
10844 else
10845 ac_check_lib_save_LIBS=$LIBS
10846 LIBS="-lpcap $LIBS"
10847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10848 /* end confdefs.h. */
10850 /* Override any GCC internal prototype to avoid an error.
10851 Use char because int might match the return type of a GCC
10852 builtin and then its argument prototype would still apply. */
10853 #ifdef __cplusplus
10854 extern "C"
10855 #endif
10856 char pcap_create ();
10858 main ()
10860 return pcap_create ();
10862 return 0;
10864 _ACEOF
10865 if ac_fn_c_try_link "$LINENO"; then :
10866 ac_cv_lib_pcap_pcap_create=yes
10867 else
10868 ac_cv_lib_pcap_pcap_create=no
10870 rm -f core conftest.err conftest.$ac_objext \
10871 conftest$ac_exeext conftest.$ac_ext
10872 LIBS=$ac_check_lib_save_LIBS
10874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10875 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10876 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10877 PCAP_LIBS="-lpcap"
10882 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10883 case "x$with_pcap" in
10884 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10885 xno) ;;
10886 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10887 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10888 esac
10890 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10893 if test "x$with_xml" != "xno"
10894 then
10895 if ${XML2_CFLAGS:+false} :; then :
10896 if ${PKG_CONFIG+:} false; then :
10897 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10900 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10901 if ${XML2_LIBS:+false} :; then :
10902 if ${PKG_CONFIG+:} false; then :
10903 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10906 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10907 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10908 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10909 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10910 ac_save_CPPFLAGS=$CPPFLAGS
10911 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10912 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10913 do :
10914 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10915 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10916 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10917 cat >>confdefs.h <<_ACEOF
10918 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10919 _ACEOF
10923 done
10925 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"
10926 then
10927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10928 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10929 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10930 $as_echo_n "(cached) " >&6
10931 else
10932 ac_check_lib_save_LIBS=$LIBS
10933 LIBS="-lxml2 $XML2_LIBS $LIBS"
10934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10935 /* end confdefs.h. */
10937 /* Override any GCC internal prototype to avoid an error.
10938 Use char because int might match the return type of a GCC
10939 builtin and then its argument prototype would still apply. */
10940 #ifdef __cplusplus
10941 extern "C"
10942 #endif
10943 char xmlParseMemory ();
10945 main ()
10947 return xmlParseMemory ();
10949 return 0;
10951 _ACEOF
10952 if ac_fn_c_try_link "$LINENO"; then :
10953 ac_cv_lib_xml2_xmlParseMemory=yes
10954 else
10955 ac_cv_lib_xml2_xmlParseMemory=no
10957 rm -f core conftest.err conftest.$ac_objext \
10958 conftest$ac_exeext conftest.$ac_ext
10959 LIBS=$ac_check_lib_save_LIBS
10961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10962 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10963 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10965 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10967 else
10968 XML2_LIBS=""
10971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10972 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10973 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10974 $as_echo_n "(cached) " >&6
10975 else
10976 ac_check_lib_save_LIBS=$LIBS
10977 LIBS="-lxml2 $XML2_LIBS $LIBS"
10978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10979 /* end confdefs.h. */
10981 /* Override any GCC internal prototype to avoid an error.
10982 Use char because int might match the return type of a GCC
10983 builtin and then its argument prototype would still apply. */
10984 #ifdef __cplusplus
10985 extern "C"
10986 #endif
10987 char xmlReadMemory ();
10989 main ()
10991 return xmlReadMemory ();
10993 return 0;
10995 _ACEOF
10996 if ac_fn_c_try_link "$LINENO"; then :
10997 ac_cv_lib_xml2_xmlReadMemory=yes
10998 else
10999 ac_cv_lib_xml2_xmlReadMemory=no
11001 rm -f core conftest.err conftest.$ac_objext \
11002 conftest$ac_exeext conftest.$ac_ext
11003 LIBS=$ac_check_lib_save_LIBS
11005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11006 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11007 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11009 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11014 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11015 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11016 $as_echo_n "(cached) " >&6
11017 else
11018 ac_check_lib_save_LIBS=$LIBS
11019 LIBS="-lxml2 $XML2_LIBS $LIBS"
11020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11021 /* end confdefs.h. */
11023 /* Override any GCC internal prototype to avoid an error.
11024 Use char because int might match the return type of a GCC
11025 builtin and then its argument prototype would still apply. */
11026 #ifdef __cplusplus
11027 extern "C"
11028 #endif
11029 char xmlNewDocPI ();
11031 main ()
11033 return xmlNewDocPI ();
11035 return 0;
11037 _ACEOF
11038 if ac_fn_c_try_link "$LINENO"; then :
11039 ac_cv_lib_xml2_xmlNewDocPI=yes
11040 else
11041 ac_cv_lib_xml2_xmlNewDocPI=no
11043 rm -f core conftest.err conftest.$ac_objext \
11044 conftest$ac_exeext conftest.$ac_ext
11045 LIBS=$ac_check_lib_save_LIBS
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11048 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11049 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11051 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11056 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11057 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11058 $as_echo_n "(cached) " >&6
11059 else
11060 ac_check_lib_save_LIBS=$LIBS
11061 LIBS="-lxml2 $XML2_LIBS $LIBS"
11062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11063 /* end confdefs.h. */
11065 /* Override any GCC internal prototype to avoid an error.
11066 Use char because int might match the return type of a GCC
11067 builtin and then its argument prototype would still apply. */
11068 #ifdef __cplusplus
11069 extern "C"
11070 #endif
11071 char xmlSchemaSetParserStructuredErrors ();
11073 main ()
11075 return xmlSchemaSetParserStructuredErrors ();
11077 return 0;
11079 _ACEOF
11080 if ac_fn_c_try_link "$LINENO"; then :
11081 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11082 else
11083 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11085 rm -f core conftest.err conftest.$ac_objext \
11086 conftest$ac_exeext conftest.$ac_ext
11087 LIBS=$ac_check_lib_save_LIBS
11089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11090 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11091 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11093 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11098 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11099 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11100 $as_echo_n "(cached) " >&6
11101 else
11102 ac_check_lib_save_LIBS=$LIBS
11103 LIBS="-lxml2 $XML2_LIBS $LIBS"
11104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11105 /* end confdefs.h. */
11107 /* Override any GCC internal prototype to avoid an error.
11108 Use char because int might match the return type of a GCC
11109 builtin and then its argument prototype would still apply. */
11110 #ifdef __cplusplus
11111 extern "C"
11112 #endif
11113 char xmlSchemaSetValidStructuredErrors ();
11115 main ()
11117 return xmlSchemaSetValidStructuredErrors ();
11119 return 0;
11121 _ACEOF
11122 if ac_fn_c_try_link "$LINENO"; then :
11123 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11124 else
11125 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11127 rm -f core conftest.err conftest.$ac_objext \
11128 conftest$ac_exeext conftest.$ac_ext
11129 LIBS=$ac_check_lib_save_LIBS
11131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11132 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11133 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11135 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11140 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11141 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11142 $as_echo_n "(cached) " >&6
11143 else
11144 ac_check_lib_save_LIBS=$LIBS
11145 LIBS="-lxml2 $XML2_LIBS $LIBS"
11146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11147 /* end confdefs.h. */
11149 /* Override any GCC internal prototype to avoid an error.
11150 Use char because int might match the return type of a GCC
11151 builtin and then its argument prototype would still apply. */
11152 #ifdef __cplusplus
11153 extern "C"
11154 #endif
11155 char xmlFirstElementChild ();
11157 main ()
11159 return xmlFirstElementChild ();
11161 return 0;
11163 _ACEOF
11164 if ac_fn_c_try_link "$LINENO"; then :
11165 ac_cv_lib_xml2_xmlFirstElementChild=yes
11166 else
11167 ac_cv_lib_xml2_xmlFirstElementChild=no
11169 rm -f core conftest.err conftest.$ac_objext \
11170 conftest$ac_exeext conftest.$ac_ext
11171 LIBS=$ac_check_lib_save_LIBS
11173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11174 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11175 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11177 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11181 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11183 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11185 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11189 else
11190 XML2_CFLAGS=""
11191 XML2_LIBS=""
11193 CPPFLAGS=$ac_save_CPPFLAGS
11194 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11195 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11198 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11199 case "x$with_xml" in
11200 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11201 xno) ;;
11202 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11203 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11204 esac
11207 if test "x$with_xslt" != "xno"
11208 then
11209 if ${XSLT_CFLAGS:+false} :; then :
11210 if ${PKG_CONFIG+:} false; then :
11211 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11214 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11215 if ${XSLT_LIBS:+false} :; then :
11216 if ${PKG_CONFIG+:} false; then :
11217 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11220 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11221 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11222 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11223 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11224 ac_save_CPPFLAGS=$CPPFLAGS
11225 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11226 for ac_header in libxslt/pattern.h libxslt/transform.h
11227 do :
11228 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11229 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11230 # include <libxslt/pattern.h>
11231 #endif
11233 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11234 cat >>confdefs.h <<_ACEOF
11235 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11236 _ACEOF
11240 done
11242 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11243 then
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11245 $as_echo_n "checking for -lxslt... " >&6; }
11246 if ${ac_cv_lib_soname_xslt+:} false; then :
11247 $as_echo_n "(cached) " >&6
11248 else
11249 ac_check_soname_save_LIBS=$LIBS
11250 LIBS="-lxslt $XSLT_LIBS $LIBS"
11251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11252 /* end confdefs.h. */
11254 /* Override any GCC internal prototype to avoid an error.
11255 Use char because int might match the return type of a GCC
11256 builtin and then its argument prototype would still apply. */
11257 #ifdef __cplusplus
11258 extern "C"
11259 #endif
11260 char xsltCompilePattern ();
11262 main ()
11264 return xsltCompilePattern ();
11266 return 0;
11268 _ACEOF
11269 if ac_fn_c_try_link "$LINENO"; then :
11270 case "$LIBEXT" in
11271 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11272 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'` ;;
11273 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11274 if ${ac_cv_lib_soname_xslt:+false} :; then :
11275 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11276 fi ;;
11277 esac
11279 rm -f core conftest.err conftest.$ac_objext \
11280 conftest$ac_exeext conftest.$ac_ext
11281 LIBS=$ac_check_soname_save_LIBS
11283 if ${ac_cv_lib_soname_xslt:+false} :; then :
11284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11285 $as_echo "not found" >&6; }
11287 else
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11289 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11291 cat >>confdefs.h <<_ACEOF
11292 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11293 _ACEOF
11297 else
11298 XSLT_CFLAGS=""
11300 CPPFLAGS=$ac_save_CPPFLAGS
11301 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11302 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11305 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11306 case "x$with_xslt" in
11307 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11308 xno) ;;
11309 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11310 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11311 esac
11314 if test "x$with_dbus" != "xno"
11315 then
11316 if ${DBUS_CFLAGS:+false} :; then :
11317 if ${PKG_CONFIG+:} false; then :
11318 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11322 if ${DBUS_LIBS:+false} :; then :
11323 if ${PKG_CONFIG+:} false; then :
11324 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11329 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11330 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11331 ac_save_CPPFLAGS=$CPPFLAGS
11332 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11333 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11334 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11336 $as_echo_n "checking for -ldbus-1... " >&6; }
11337 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11338 $as_echo_n "(cached) " >&6
11339 else
11340 ac_check_soname_save_LIBS=$LIBS
11341 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11343 /* end confdefs.h. */
11345 /* Override any GCC internal prototype to avoid an error.
11346 Use char because int might match the return type of a GCC
11347 builtin and then its argument prototype would still apply. */
11348 #ifdef __cplusplus
11349 extern "C"
11350 #endif
11351 char dbus_connection_close ();
11353 main ()
11355 return dbus_connection_close ();
11357 return 0;
11359 _ACEOF
11360 if ac_fn_c_try_link "$LINENO"; then :
11361 case "$LIBEXT" in
11362 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11363 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'` ;;
11364 *) 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'`
11365 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11366 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11367 fi ;;
11368 esac
11370 rm -f core conftest.err conftest.$ac_objext \
11371 conftest$ac_exeext conftest.$ac_ext
11372 LIBS=$ac_check_soname_save_LIBS
11374 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11376 $as_echo "not found" >&6; }
11377 DBUS_CFLAGS=""
11378 else
11379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11380 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11382 cat >>confdefs.h <<_ACEOF
11383 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11384 _ACEOF
11388 else
11389 DBUS_CFLAGS=""
11393 CPPFLAGS=$ac_save_CPPFLAGS
11394 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11395 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11398 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11399 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11400 case "x$with_dbus" in
11401 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11402 xno) ;;
11403 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11404 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11405 esac
11408 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11409 then
11410 if ${HAL_CFLAGS:+false} :; then :
11411 if ${PKG_CONFIG+:} false; then :
11412 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11416 if ${HAL_LIBS:+false} :; then :
11417 if ${PKG_CONFIG+:} false; then :
11418 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11422 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11423 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11424 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11425 ac_save_CPPFLAGS=$CPPFLAGS
11426 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11427 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11428 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11430 $as_echo_n "checking for -lhal... " >&6; }
11431 if ${ac_cv_lib_soname_hal+:} false; then :
11432 $as_echo_n "(cached) " >&6
11433 else
11434 ac_check_soname_save_LIBS=$LIBS
11435 LIBS="-lhal $HAL_LIBS $LIBS"
11436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11437 /* end confdefs.h. */
11439 /* Override any GCC internal prototype to avoid an error.
11440 Use char because int might match the return type of a GCC
11441 builtin and then its argument prototype would still apply. */
11442 #ifdef __cplusplus
11443 extern "C"
11444 #endif
11445 char libhal_ctx_new ();
11447 main ()
11449 return libhal_ctx_new ();
11451 return 0;
11453 _ACEOF
11454 if ac_fn_c_try_link "$LINENO"; then :
11455 case "$LIBEXT" in
11456 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11457 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'` ;;
11458 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11459 if ${ac_cv_lib_soname_hal:+false} :; then :
11460 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11461 fi ;;
11462 esac
11464 rm -f core conftest.err conftest.$ac_objext \
11465 conftest$ac_exeext conftest.$ac_ext
11466 LIBS=$ac_check_soname_save_LIBS
11468 if ${ac_cv_lib_soname_hal:+false} :; then :
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11470 $as_echo "not found" >&6; }
11471 HAL_CFLAGS=""
11472 else
11473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11474 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11476 cat >>confdefs.h <<_ACEOF
11477 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11478 _ACEOF
11482 else
11483 HAL_CFLAGS=""
11487 CPPFLAGS=$ac_save_CPPFLAGS
11488 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11489 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11491 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11492 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11493 case "x$with_hal" in
11494 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11495 xno) ;;
11496 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11497 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11498 esac
11502 if test "x$with_gnutls" != "xno"
11503 then
11504 if ${GNUTLS_CFLAGS:+false} :; then :
11505 if ${PKG_CONFIG+:} false; then :
11506 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11510 if ${GNUTLS_LIBS:+false} :; then :
11511 if ${PKG_CONFIG+:} false; then :
11512 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11517 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11518 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11519 ac_save_CPPFLAGS=$CPPFLAGS
11520 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11521 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11522 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11524 /* end confdefs.h. */
11525 #include <gnutls/gnutls.h>
11526 #include <gnutls/crypto.h>
11528 main ()
11530 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11532 return 0;
11534 _ACEOF
11535 if ac_fn_c_try_compile "$LINENO"; then :
11536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11537 $as_echo_n "checking for -lgnutls... " >&6; }
11538 if ${ac_cv_lib_soname_gnutls+:} false; then :
11539 $as_echo_n "(cached) " >&6
11540 else
11541 ac_check_soname_save_LIBS=$LIBS
11542 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11544 /* end confdefs.h. */
11546 /* Override any GCC internal prototype to avoid an error.
11547 Use char because int might match the return type of a GCC
11548 builtin and then its argument prototype would still apply. */
11549 #ifdef __cplusplus
11550 extern "C"
11551 #endif
11552 char gnutls_global_init ();
11554 main ()
11556 return gnutls_global_init ();
11558 return 0;
11560 _ACEOF
11561 if ac_fn_c_try_link "$LINENO"; then :
11562 case "$LIBEXT" in
11563 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11564 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'` ;;
11565 *) 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'`
11566 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11567 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'`
11568 fi ;;
11569 esac
11571 rm -f core conftest.err conftest.$ac_objext \
11572 conftest$ac_exeext conftest.$ac_ext
11573 LIBS=$ac_check_soname_save_LIBS
11575 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11577 $as_echo "not found" >&6; }
11578 GNUTLS_CFLAGS=""
11579 else
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11581 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11583 cat >>confdefs.h <<_ACEOF
11584 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11585 _ACEOF
11590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11591 else
11592 GNUTLS_CFLAGS=""
11596 CPPFLAGS=$ac_save_CPPFLAGS
11597 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11598 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11601 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11602 case "x$with_gnutls" in
11603 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11604 xno) ;;
11605 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11606 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11607 esac
11610 CURSES_LIBS=""
11611 if test "$ac_cv_header_ncurses_h" = "yes"
11612 then
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11614 $as_echo_n "checking for -lncurses... " >&6; }
11615 if ${ac_cv_lib_soname_ncurses+:} false; then :
11616 $as_echo_n "(cached) " >&6
11617 else
11618 ac_check_soname_save_LIBS=$LIBS
11619 LIBS="-lncurses $LIBS"
11620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11621 /* end confdefs.h. */
11623 /* Override any GCC internal prototype to avoid an error.
11624 Use char because int might match the return type of a GCC
11625 builtin and then its argument prototype would still apply. */
11626 #ifdef __cplusplus
11627 extern "C"
11628 #endif
11629 char waddch ();
11631 main ()
11633 return waddch ();
11635 return 0;
11637 _ACEOF
11638 if ac_fn_c_try_link "$LINENO"; then :
11639 case "$LIBEXT" in
11640 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11641 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'` ;;
11642 *) 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'`
11643 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11644 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11645 fi ;;
11646 esac
11648 rm -f core conftest.err conftest.$ac_objext \
11649 conftest$ac_exeext conftest.$ac_ext
11650 LIBS=$ac_check_soname_save_LIBS
11652 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11654 $as_echo "not found" >&6; }
11656 else
11657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11658 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11660 cat >>confdefs.h <<_ACEOF
11661 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11662 _ACEOF
11664 CURSES_LIBS="-lncurses"
11666 elif test "$ac_cv_header_curses_h" = "yes"
11667 then
11668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11669 $as_echo_n "checking for -lcurses... " >&6; }
11670 if ${ac_cv_lib_soname_curses+:} false; then :
11671 $as_echo_n "(cached) " >&6
11672 else
11673 ac_check_soname_save_LIBS=$LIBS
11674 LIBS="-lcurses $LIBS"
11675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11676 /* end confdefs.h. */
11678 /* Override any GCC internal prototype to avoid an error.
11679 Use char because int might match the return type of a GCC
11680 builtin and then its argument prototype would still apply. */
11681 #ifdef __cplusplus
11682 extern "C"
11683 #endif
11684 char waddch ();
11686 main ()
11688 return waddch ();
11690 return 0;
11692 _ACEOF
11693 if ac_fn_c_try_link "$LINENO"; then :
11694 case "$LIBEXT" in
11695 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11696 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'` ;;
11697 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11698 if ${ac_cv_lib_soname_curses:+false} :; then :
11699 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11700 fi ;;
11701 esac
11703 rm -f core conftest.err conftest.$ac_objext \
11704 conftest$ac_exeext conftest.$ac_ext
11705 LIBS=$ac_check_soname_save_LIBS
11707 if ${ac_cv_lib_soname_curses:+false} :; then :
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11709 $as_echo "not found" >&6; }
11711 else
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11713 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11715 cat >>confdefs.h <<_ACEOF
11716 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11717 _ACEOF
11719 CURSES_LIBS="-lcurses"
11722 ac_save_LIBS="$LIBS"
11723 LIBS="$LIBS $CURSES_LIBS"
11724 for ac_func in mousemask
11725 do :
11726 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11727 if test "x$ac_cv_func_mousemask" = xyes; then :
11728 cat >>confdefs.h <<_ACEOF
11729 #define HAVE_MOUSEMASK 1
11730 _ACEOF
11733 done
11735 LIBS="$ac_save_LIBS"
11736 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11737 case "x$with_curses" in
11738 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11739 xno) ;;
11740 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11741 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11742 esac
11745 if test "x$with_sane" != "xno"
11746 then
11747 if ${SANE_CFLAGS:+false} :; then :
11748 if ${PKG_CONFIG+:} false; then :
11749 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11752 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11753 if ${SANE_LIBS:+false} :; then :
11754 if ${PKG_CONFIG+:} false; then :
11755 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11758 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11760 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11761 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11762 ac_save_CPPFLAGS=$CPPFLAGS
11763 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11764 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11765 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11767 $as_echo_n "checking for -lsane... " >&6; }
11768 if ${ac_cv_lib_soname_sane+:} false; then :
11769 $as_echo_n "(cached) " >&6
11770 else
11771 ac_check_soname_save_LIBS=$LIBS
11772 LIBS="-lsane $SANE_LIBS $LIBS"
11773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11774 /* end confdefs.h. */
11776 /* Override any GCC internal prototype to avoid an error.
11777 Use char because int might match the return type of a GCC
11778 builtin and then its argument prototype would still apply. */
11779 #ifdef __cplusplus
11780 extern "C"
11781 #endif
11782 char sane_init ();
11784 main ()
11786 return sane_init ();
11788 return 0;
11790 _ACEOF
11791 if ac_fn_c_try_link "$LINENO"; then :
11792 case "$LIBEXT" in
11793 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11794 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'` ;;
11795 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11796 if ${ac_cv_lib_soname_sane:+false} :; then :
11797 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11798 fi ;;
11799 esac
11801 rm -f core conftest.err conftest.$ac_objext \
11802 conftest$ac_exeext conftest.$ac_ext
11803 LIBS=$ac_check_soname_save_LIBS
11805 if ${ac_cv_lib_soname_sane:+false} :; then :
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11807 $as_echo "not found" >&6; }
11808 SANE_CFLAGS=""
11809 else
11810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11811 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11813 cat >>confdefs.h <<_ACEOF
11814 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11815 _ACEOF
11819 else
11820 SANE_CFLAGS=""
11824 CPPFLAGS=$ac_save_CPPFLAGS
11825 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11826 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11829 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11830 case "x$with_sane" in
11831 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11832 xno) ;;
11833 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11834 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11835 esac
11838 if test "x$with_v4l" != "xno"
11839 then
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11841 $as_echo_n "checking for -lv4l1... " >&6; }
11842 if ${ac_cv_lib_soname_v4l1+:} false; then :
11843 $as_echo_n "(cached) " >&6
11844 else
11845 ac_check_soname_save_LIBS=$LIBS
11846 LIBS="-lv4l1 $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 v4l1_open ();
11858 main ()
11860 return v4l1_open ();
11862 return 0;
11864 _ACEOF
11865 if ac_fn_c_try_link "$LINENO"; then :
11866 case "$LIBEXT" in
11867 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11868 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'` ;;
11869 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11870 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11871 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$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_v4l1:+false} :; then :
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11881 $as_echo "not found" >&6; }
11883 else
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11885 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11887 cat >>confdefs.h <<_ACEOF
11888 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11889 _ACEOF
11894 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11895 case "x$with_v4l" in
11896 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11897 xno) ;;
11898 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11899 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11900 esac
11903 if test "x$with_gphoto" != "xno"
11904 then
11905 if ${GPHOTO2_CFLAGS:+false} :; then :
11906 if ${PKG_CONFIG+:} false; then :
11907 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11910 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
11911 if ${GPHOTO2_LIBS:+false} :; then :
11912 if ${PKG_CONFIG+:} false; then :
11913 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11916 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
11917 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11918 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11919 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11920 ac_save_CPPFLAGS=$CPPFLAGS
11921 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11922 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11923 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11925 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11926 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11927 $as_echo_n "(cached) " >&6
11928 else
11929 ac_check_lib_save_LIBS=$LIBS
11930 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11932 /* end confdefs.h. */
11934 /* Override any GCC internal prototype to avoid an error.
11935 Use char because int might match the return type of a GCC
11936 builtin and then its argument prototype would still apply. */
11937 #ifdef __cplusplus
11938 extern "C"
11939 #endif
11940 char gp_camera_new ();
11942 main ()
11944 return gp_camera_new ();
11946 return 0;
11948 _ACEOF
11949 if ac_fn_c_try_link "$LINENO"; then :
11950 ac_cv_lib_gphoto2_gp_camera_new=yes
11951 else
11952 ac_cv_lib_gphoto2_gp_camera_new=no
11954 rm -f core conftest.err conftest.$ac_objext \
11955 conftest$ac_exeext conftest.$ac_ext
11956 LIBS=$ac_check_lib_save_LIBS
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11959 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11960 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11962 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11964 else
11965 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11968 else
11969 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11973 CPPFLAGS=$ac_save_CPPFLAGS
11974 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11975 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11977 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11978 if ${PKG_CONFIG+:} false; then :
11979 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11982 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
11983 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11984 if ${PKG_CONFIG+:} false; then :
11985 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11988 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
11989 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11990 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11991 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11992 ac_save_CPPFLAGS=$CPPFLAGS
11993 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11994 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11995 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11997 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11998 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11999 $as_echo_n "(cached) " >&6
12000 else
12001 ac_check_lib_save_LIBS=$LIBS
12002 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12004 /* end confdefs.h. */
12006 /* Override any GCC internal prototype to avoid an error.
12007 Use char because int might match the return type of a GCC
12008 builtin and then its argument prototype would still apply. */
12009 #ifdef __cplusplus
12010 extern "C"
12011 #endif
12012 char gp_port_info_list_new ();
12014 main ()
12016 return gp_port_info_list_new ();
12018 return 0;
12020 _ACEOF
12021 if ac_fn_c_try_link "$LINENO"; then :
12022 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12023 else
12024 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12026 rm -f core conftest.err conftest.$ac_objext \
12027 conftest$ac_exeext conftest.$ac_ext
12028 LIBS=$ac_check_lib_save_LIBS
12030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12031 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12032 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12034 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12036 else
12037 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12040 else
12041 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12045 CPPFLAGS=$ac_save_CPPFLAGS
12046 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12047 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12050 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12051 case "x$with_gphoto" in
12052 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12053 xno) ;;
12054 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12055 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12056 esac
12058 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12059 case "x$with_gphoto" in
12060 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12061 xno) ;;
12062 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12063 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12064 esac
12068 if test "$ac_cv_header_resolv_h" = "yes"
12069 then
12070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12071 $as_echo_n "checking for resolver library... " >&6; }
12072 if ${ac_cv_have_resolv+:} false; then :
12073 $as_echo_n "(cached) " >&6
12074 else
12075 ac_save_LIBS="$LIBS"
12076 for lib in '' -lresolv
12078 LIBS="$lib $ac_save_LIBS"
12079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12080 /* end confdefs.h. */
12081 #ifdef HAVE_NETINET_IN_H
12082 #include <netinet/in.h>
12083 #endif
12084 #include <resolv.h>
12086 main ()
12088 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12090 return 0;
12092 _ACEOF
12093 if ac_fn_c_try_link "$LINENO"; then :
12094 ac_cv_have_resolv=${lib:-"none required"}
12095 else
12096 ac_cv_have_resolv="not found"
12098 rm -f core conftest.err conftest.$ac_objext \
12099 conftest$ac_exeext conftest.$ac_ext
12100 test "x$ac_cv_have_resolv" = "xnot found" || break
12101 done
12102 LIBS="$ac_save_LIBS"
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12105 $as_echo "$ac_cv_have_resolv" >&6; }
12107 case "$ac_cv_have_resolv" in
12108 "not found") ;;
12109 "none required")
12111 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12114 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12116 RESOLV_LIBS=$ac_cv_have_resolv
12118 esac
12121 if test "x$with_cms" != "xno"
12122 then
12123 if ${LCMS2_CFLAGS:+false} :; then :
12124 if ${PKG_CONFIG+:} false; then :
12125 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12129 if ${LCMS2_LIBS:+false} :; then :
12130 if ${PKG_CONFIG+:} false; then :
12131 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12135 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12136 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12137 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12138 ac_save_CPPFLAGS=$CPPFLAGS
12139 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12140 for ac_header in lcms2.h
12141 do :
12142 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12143 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12144 cat >>confdefs.h <<_ACEOF
12145 #define HAVE_LCMS2_H 1
12146 _ACEOF
12150 done
12152 if test "$ac_cv_header_lcms2_h" = "yes"
12153 then
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12155 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12156 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12157 $as_echo_n "(cached) " >&6
12158 else
12159 ac_check_lib_save_LIBS=$LIBS
12160 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12162 /* end confdefs.h. */
12164 /* Override any GCC internal prototype to avoid an error.
12165 Use char because int might match the return type of a GCC
12166 builtin and then its argument prototype would still apply. */
12167 #ifdef __cplusplus
12168 extern "C"
12169 #endif
12170 char cmsOpenProfileFromFile ();
12172 main ()
12174 return cmsOpenProfileFromFile ();
12176 return 0;
12178 _ACEOF
12179 if ac_fn_c_try_link "$LINENO"; then :
12180 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12181 else
12182 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12184 rm -f core conftest.err conftest.$ac_objext \
12185 conftest$ac_exeext conftest.$ac_ext
12186 LIBS=$ac_check_lib_save_LIBS
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12189 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12190 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12192 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12194 else
12195 LCMS2_LIBS=""
12198 else
12199 LCMS2_CFLAGS=""
12200 LCMS2_LIBS=""
12202 CPPFLAGS=$ac_save_CPPFLAGS
12203 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12204 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12207 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12208 case "x$with_cms" in
12209 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12210 xno) ;;
12211 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12212 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12213 esac
12216 if test "x$with_freetype" != "xno"
12217 then
12218 if ${FREETYPE_CFLAGS:+false} :; then :
12219 if ${PKG_CONFIG+:} false; then :
12220 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12223 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12224 if ${FREETYPE_LIBS:+false} :; then :
12225 if ${PKG_CONFIG+:} false; then :
12226 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12229 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12230 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12231 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12232 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12233 ac_save_CPPFLAGS=$CPPFLAGS
12234 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12235 for ac_header in ft2build.h
12236 do :
12237 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12238 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12239 cat >>confdefs.h <<_ACEOF
12240 #define HAVE_FT2BUILD_H 1
12241 _ACEOF
12245 done
12247 if test "$ac_cv_header_ft2build_h" = "yes"
12248 then
12249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12250 $as_echo_n "checking for -lfreetype... " >&6; }
12251 if ${ac_cv_lib_soname_freetype+:} false; then :
12252 $as_echo_n "(cached) " >&6
12253 else
12254 ac_check_soname_save_LIBS=$LIBS
12255 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12257 /* end confdefs.h. */
12259 /* Override any GCC internal prototype to avoid an error.
12260 Use char because int might match the return type of a GCC
12261 builtin and then its argument prototype would still apply. */
12262 #ifdef __cplusplus
12263 extern "C"
12264 #endif
12265 char FT_Init_FreeType ();
12267 main ()
12269 return FT_Init_FreeType ();
12271 return 0;
12273 _ACEOF
12274 if ac_fn_c_try_link "$LINENO"; then :
12275 case "$LIBEXT" in
12276 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12277 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'` ;;
12278 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12279 if ${ac_cv_lib_soname_freetype:+false} :; then :
12280 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12281 fi ;;
12282 esac
12284 rm -f core conftest.err conftest.$ac_objext \
12285 conftest$ac_exeext conftest.$ac_ext
12286 LIBS=$ac_check_soname_save_LIBS
12288 if ${ac_cv_lib_soname_freetype:+false} :; then :
12289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12290 $as_echo "not found" >&6; }
12291 FREETYPE_LIBS=""
12292 else
12293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12294 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12296 cat >>confdefs.h <<_ACEOF
12297 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12298 _ACEOF
12301 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12303 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12304 #include FT_MODULE_H
12306 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12308 cat >>confdefs.h <<_ACEOF
12309 #define HAVE_FT_TRUETYPEENGINETYPE 1
12310 _ACEOF
12316 else
12317 FREETYPE_CFLAGS=""
12318 FREETYPE_LIBS=""
12320 CPPFLAGS=$ac_save_CPPFLAGS
12321 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12322 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12325 if test "x$ac_cv_lib_soname_freetype" = x; then :
12326 case "x$with_freetype" in
12327 xno) ;;
12328 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12329 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12330 esac
12332 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12335 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12336 if ${ac_cv_c_ppdev+:} false; then :
12337 $as_echo_n "(cached) " >&6
12338 else
12339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12340 /* end confdefs.h. */
12341 #ifdef HAVE_SYS_IOCTL_H
12342 # include <sys/ioctl.h>
12343 #endif
12344 #include <linux/ppdev.h>
12346 main ()
12348 ioctl (1,PPCLAIM,0)
12350 return 0;
12352 _ACEOF
12353 if ac_fn_c_try_compile "$LINENO"; then :
12354 ac_cv_c_ppdev="yes"
12355 else
12356 ac_cv_c_ppdev="no"
12358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12361 $as_echo "$ac_cv_c_ppdev" >&6; }
12362 if test "$ac_cv_c_ppdev" = "yes"
12363 then
12365 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12369 ac_wine_check_funcs_save_LIBS="$LIBS"
12370 LIBS="$LIBS $PTHREAD_LIBS"
12371 for ac_func in \
12372 pthread_attr_get_np \
12373 pthread_getattr_np \
12374 pthread_getthreadid_np \
12375 pthread_get_stackaddr_np \
12376 pthread_get_stacksize_np
12377 do :
12378 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12379 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12380 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12381 cat >>confdefs.h <<_ACEOF
12382 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12383 _ACEOF
12386 done
12388 LIBS="$ac_wine_check_funcs_save_LIBS"
12390 if test "$ac_cv_header_zlib_h" = "yes"
12391 then
12392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12393 $as_echo_n "checking for inflate in -lz... " >&6; }
12394 if ${ac_cv_lib_z_inflate+:} false; then :
12395 $as_echo_n "(cached) " >&6
12396 else
12397 ac_check_lib_save_LIBS=$LIBS
12398 LIBS="-lz $LIBS"
12399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12400 /* end confdefs.h. */
12402 /* Override any GCC internal prototype to avoid an error.
12403 Use char because int might match the return type of a GCC
12404 builtin and then its argument prototype would still apply. */
12405 #ifdef __cplusplus
12406 extern "C"
12407 #endif
12408 char inflate ();
12410 main ()
12412 return inflate ();
12414 return 0;
12416 _ACEOF
12417 if ac_fn_c_try_link "$LINENO"; then :
12418 ac_cv_lib_z_inflate=yes
12419 else
12420 ac_cv_lib_z_inflate=no
12422 rm -f core conftest.err conftest.$ac_objext \
12423 conftest$ac_exeext conftest.$ac_ext
12424 LIBS=$ac_check_lib_save_LIBS
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12427 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12428 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12430 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12432 Z_LIBS="-lz"
12437 if test "x$Z_LIBS" = "x"; then :
12438 case "x$with_zlib" in
12439 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12440 xno) ;;
12441 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12442 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12443 esac
12446 if test "x$enable_tools" != xno
12447 then
12448 if test "$ac_cv_header_gettext_po_h" = "yes"
12449 then
12450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12451 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12452 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12453 $as_echo_n "(cached) " >&6
12454 else
12455 ac_check_lib_save_LIBS=$LIBS
12456 LIBS="-lgettextpo $LIBS"
12457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12458 /* end confdefs.h. */
12460 /* Override any GCC internal prototype to avoid an error.
12461 Use char because int might match the return type of a GCC
12462 builtin and then its argument prototype would still apply. */
12463 #ifdef __cplusplus
12464 extern "C"
12465 #endif
12466 char po_message_msgctxt ();
12468 main ()
12470 return po_message_msgctxt ();
12472 return 0;
12474 _ACEOF
12475 if ac_fn_c_try_link "$LINENO"; then :
12476 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12477 else
12478 ac_cv_lib_gettextpo_po_message_msgctxt=no
12480 rm -f core conftest.err conftest.$ac_objext \
12481 conftest$ac_exeext conftest.$ac_ext
12482 LIBS=$ac_check_lib_save_LIBS
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12485 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12486 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12488 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12490 GETTEXTPO_LIBS="-lgettextpo"
12495 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12496 case "x$with_gettextpo" in
12497 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12498 xno) ;;
12499 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12500 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12501 esac
12505 if test "x$with_pulse" != "xno";
12506 then
12507 if ${PULSE_CFLAGS:+false} :; then :
12508 if ${PKG_CONFIG+:} false; then :
12509 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12513 if ${PULSE_LIBS:+false} :; then :
12514 if ${PKG_CONFIG+:} false; then :
12515 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12520 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12521 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12522 ac_save_CPPFLAGS=$CPPFLAGS
12523 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12524 for ac_header in pulse/pulseaudio.h
12525 do :
12526 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12527 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12528 cat >>confdefs.h <<_ACEOF
12529 #define HAVE_PULSE_PULSEAUDIO_H 1
12530 _ACEOF
12531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12532 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12533 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12534 $as_echo_n "(cached) " >&6
12535 else
12536 ac_check_lib_save_LIBS=$LIBS
12537 LIBS="-lpulse $PULSE_LIBS $LIBS"
12538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12539 /* end confdefs.h. */
12541 /* Override any GCC internal prototype to avoid an error.
12542 Use char because int might match the return type of a GCC
12543 builtin and then its argument prototype would still apply. */
12544 #ifdef __cplusplus
12545 extern "C"
12546 #endif
12547 char pa_stream_is_corked ();
12549 main ()
12551 return pa_stream_is_corked ();
12553 return 0;
12555 _ACEOF
12556 if ac_fn_c_try_link "$LINENO"; then :
12557 ac_cv_lib_pulse_pa_stream_is_corked=yes
12558 else
12559 ac_cv_lib_pulse_pa_stream_is_corked=no
12561 rm -f core conftest.err conftest.$ac_objext \
12562 conftest$ac_exeext conftest.$ac_ext
12563 LIBS=$ac_check_lib_save_LIBS
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12566 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12567 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12569 else
12570 PULSE_LIBS=""
12573 else
12574 PULSE_LIBS=""
12577 done
12579 CPPFLAGS=$ac_save_CPPFLAGS
12580 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12581 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12584 if test -z "$PULSE_LIBS"; then :
12585 case "x$with_pulse" in
12586 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12587 xno) ;;
12588 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12589 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12590 esac
12592 test -n "$PULSE_LIBS" || enable_winepulse_drv=${enable_winepulse_drv:-no}
12594 if test "x$with_gstreamer" != "xno"
12595 then
12596 if ${GSTREAMER_CFLAGS:+false} :; then :
12597 if ${PKG_CONFIG+:} false; then :
12598 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12602 if ${GSTREAMER_LIBS:+false} :; then :
12603 if ${PKG_CONFIG+:} false; then :
12604 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12609 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12610 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12611 ac_save_CPPFLAGS=$CPPFLAGS
12612 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12613 ac_gst_incl=""
12614 for i in $GSTREAMER_CFLAGS
12616 case "$i" in
12617 -I*) ac_gst_incl="$ac_gst_incl $i";;
12618 esac
12619 done
12620 GSTREAMER_CFLAGS=$ac_gst_incl
12621 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12622 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12623 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12624 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12625 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12627 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12629 /* end confdefs.h. */
12630 #include <gst/app/gstappsink.h>
12632 main ()
12634 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12636 return 0;
12638 _ACEOF
12639 if ac_fn_c_try_compile "$LINENO"; then :
12640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12641 $as_echo "yes" >&6; }
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12643 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12644 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12645 $as_echo_n "(cached) " >&6
12646 else
12647 ac_check_lib_save_LIBS=$LIBS
12648 LIBS="-lgstreamer-0.10 $LIBS"
12649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12650 /* end confdefs.h. */
12652 /* Override any GCC internal prototype to avoid an error.
12653 Use char because int might match the return type of a GCC
12654 builtin and then its argument prototype would still apply. */
12655 #ifdef __cplusplus
12656 extern "C"
12657 #endif
12658 char gst_pad_get_caps_reffed ();
12660 main ()
12662 return gst_pad_get_caps_reffed ();
12664 return 0;
12666 _ACEOF
12667 if ac_fn_c_try_link "$LINENO"; then :
12668 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12669 else
12670 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12672 rm -f core conftest.err conftest.$ac_objext \
12673 conftest$ac_exeext conftest.$ac_ext
12674 LIBS=$ac_check_lib_save_LIBS
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12677 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12678 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12680 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12681 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12682 $as_echo_n "(cached) " >&6
12683 else
12684 ac_check_lib_save_LIBS=$LIBS
12685 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12687 /* end confdefs.h. */
12689 /* Override any GCC internal prototype to avoid an error.
12690 Use char because int might match the return type of a GCC
12691 builtin and then its argument prototype would still apply. */
12692 #ifdef __cplusplus
12693 extern "C"
12694 #endif
12695 char gst_app_buffer_new ();
12697 main ()
12699 return gst_app_buffer_new ();
12701 return 0;
12703 _ACEOF
12704 if ac_fn_c_try_link "$LINENO"; then :
12705 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12706 else
12707 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12709 rm -f core conftest.err conftest.$ac_objext \
12710 conftest$ac_exeext conftest.$ac_ext
12711 LIBS=$ac_check_lib_save_LIBS
12713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12714 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12715 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12721 else
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12723 $as_echo "no" >&6; }
12725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12729 else
12730 GSTREAMER_CFLAGS=""
12734 CPPFLAGS=$ac_save_CPPFLAGS
12735 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12736 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12739 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12740 case "x$with_gstreamer" in
12741 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12742 xno) ;;
12743 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12744 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12745 esac
12747 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12749 ALSA_LIBS=""
12751 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12752 then
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12754 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12755 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12756 $as_echo_n "(cached) " >&6
12757 else
12758 ac_check_lib_save_LIBS=$LIBS
12759 LIBS="-lasound $LIBS"
12760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12761 /* end confdefs.h. */
12763 /* Override any GCC internal prototype to avoid an error.
12764 Use char because int might match the return type of a GCC
12765 builtin and then its argument prototype would still apply. */
12766 #ifdef __cplusplus
12767 extern "C"
12768 #endif
12769 char snd_pcm_hw_params_get_access_mask ();
12771 main ()
12773 return snd_pcm_hw_params_get_access_mask ();
12775 return 0;
12777 _ACEOF
12778 if ac_fn_c_try_link "$LINENO"; then :
12779 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12780 else
12781 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12783 rm -f core conftest.err conftest.$ac_objext \
12784 conftest$ac_exeext conftest.$ac_ext
12785 LIBS=$ac_check_lib_save_LIBS
12787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12788 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12789 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12791 /* end confdefs.h. */
12792 #ifdef HAVE_ALSA_ASOUNDLIB_H
12793 #include <alsa/asoundlib.h>
12794 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12795 #include <sys/asoundlib.h>
12796 #endif
12798 main ()
12800 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12802 return 0;
12804 _ACEOF
12805 if ac_fn_c_try_compile "$LINENO"; then :
12806 ALSA_LIBS="-lasound"
12808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12812 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12814 if test "x$with_oss" != xno
12815 then
12816 ac_save_CPPFLAGS="$CPPFLAGS"
12817 if test -f /etc/oss.conf
12818 then
12819 . /etc/oss.conf
12821 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12822 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12823 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12824 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12825 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12827 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12829 cat >>confdefs.h <<_ACEOF
12830 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12831 _ACEOF
12833 OSS4_CFLAGS="$ac_oss_incl"
12840 CPPFLAGS="$ac_save_CPPFLAGS"
12841 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12842 then
12843 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12846 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
12848 if test "x$with_capi" != "xno"
12849 then
12850 if ${CAPI20_CFLAGS:+false} :; then :
12851 if ${PKG_CONFIG+:} false; then :
12852 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12856 if ${CAPI20_LIBS:+false} :; then :
12857 if ${PKG_CONFIG+:} false; then :
12858 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12863 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12864 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12865 ac_save_CPPFLAGS=$CPPFLAGS
12866 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12867 for ac_header in capi20.h linux/capi.h
12868 do :
12869 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12870 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12872 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12873 cat >>confdefs.h <<_ACEOF
12874 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12875 _ACEOF
12879 done
12881 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12882 then
12883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12884 $as_echo_n "checking for -lcapi20... " >&6; }
12885 if ${ac_cv_lib_soname_capi20+:} false; then :
12886 $as_echo_n "(cached) " >&6
12887 else
12888 ac_check_soname_save_LIBS=$LIBS
12889 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12891 /* end confdefs.h. */
12893 /* Override any GCC internal prototype to avoid an error.
12894 Use char because int might match the return type of a GCC
12895 builtin and then its argument prototype would still apply. */
12896 #ifdef __cplusplus
12897 extern "C"
12898 #endif
12899 char capi20_register ();
12901 main ()
12903 return capi20_register ();
12905 return 0;
12907 _ACEOF
12908 if ac_fn_c_try_link "$LINENO"; then :
12909 case "$LIBEXT" in
12910 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12911 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'` ;;
12912 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12913 if ${ac_cv_lib_soname_capi20:+false} :; then :
12914 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12915 fi ;;
12916 esac
12918 rm -f core conftest.err conftest.$ac_objext \
12919 conftest$ac_exeext conftest.$ac_ext
12920 LIBS=$ac_check_soname_save_LIBS
12922 if ${ac_cv_lib_soname_capi20:+false} :; then :
12923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12924 $as_echo "not found" >&6; }
12926 else
12927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12928 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12930 cat >>confdefs.h <<_ACEOF
12931 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12932 _ACEOF
12937 CPPFLAGS=$ac_save_CPPFLAGS
12938 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12939 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12942 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12943 case "x$with_capi" in
12944 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12945 xno) ;;
12946 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12947 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12948 esac
12951 CUPS_CFLAGS=""
12953 if test "x$with_cups" != "xno"
12954 then
12955 ac_save_CPPFLAGS="$CPPFLAGS"
12956 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
12957 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
12958 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12959 for ac_header in cups/cups.h
12960 do :
12961 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12962 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12963 cat >>confdefs.h <<_ACEOF
12964 #define HAVE_CUPS_CUPS_H 1
12965 _ACEOF
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12967 $as_echo_n "checking for -lcups... " >&6; }
12968 if ${ac_cv_lib_soname_cups+:} false; then :
12969 $as_echo_n "(cached) " >&6
12970 else
12971 ac_check_soname_save_LIBS=$LIBS
12972 LIBS="-lcups $ac_cups_libs $LIBS"
12973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12974 /* end confdefs.h. */
12976 /* Override any GCC internal prototype to avoid an error.
12977 Use char because int might match the return type of a GCC
12978 builtin and then its argument prototype would still apply. */
12979 #ifdef __cplusplus
12980 extern "C"
12981 #endif
12982 char cupsGetDefault ();
12984 main ()
12986 return cupsGetDefault ();
12988 return 0;
12990 _ACEOF
12991 if ac_fn_c_try_link "$LINENO"; then :
12992 case "$LIBEXT" in
12993 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12994 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'` ;;
12995 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12996 if ${ac_cv_lib_soname_cups:+false} :; then :
12997 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12998 fi ;;
12999 esac
13001 rm -f core conftest.err conftest.$ac_objext \
13002 conftest$ac_exeext conftest.$ac_ext
13003 LIBS=$ac_check_soname_save_LIBS
13005 if ${ac_cv_lib_soname_cups:+false} :; then :
13006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13007 $as_echo "not found" >&6; }
13009 else
13010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13011 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13013 cat >>confdefs.h <<_ACEOF
13014 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13015 _ACEOF
13017 CUPS_CFLAGS="$ac_cups_cflags"
13021 done
13023 CPPFLAGS="$ac_save_CPPFLAGS"
13025 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13026 case "x$with_cups" in
13027 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13028 xno) ;;
13029 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13030 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13031 esac
13034 if test "x$with_fontconfig" != "xno"
13035 then
13036 if ${FONTCONFIG_CFLAGS:+false} :; then :
13037 if ${PKG_CONFIG+:} false; then :
13038 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13041 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13042 if ${FONTCONFIG_LIBS:+false} :; then :
13043 if ${PKG_CONFIG+:} false; then :
13044 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13047 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13049 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13050 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13051 ac_save_CPPFLAGS=$CPPFLAGS
13052 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13053 for ac_header in fontconfig/fontconfig.h
13054 do :
13055 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13056 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13057 cat >>confdefs.h <<_ACEOF
13058 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13059 _ACEOF
13063 done
13065 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13066 then
13067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13068 $as_echo_n "checking for -lfontconfig... " >&6; }
13069 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13070 $as_echo_n "(cached) " >&6
13071 else
13072 ac_check_soname_save_LIBS=$LIBS
13073 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13075 /* end confdefs.h. */
13077 /* Override any GCC internal prototype to avoid an error.
13078 Use char because int might match the return type of a GCC
13079 builtin and then its argument prototype would still apply. */
13080 #ifdef __cplusplus
13081 extern "C"
13082 #endif
13083 char FcInit ();
13085 main ()
13087 return FcInit ();
13089 return 0;
13091 _ACEOF
13092 if ac_fn_c_try_link "$LINENO"; then :
13093 case "$LIBEXT" in
13094 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13095 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'` ;;
13096 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13097 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13098 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13099 fi ;;
13100 esac
13102 rm -f core conftest.err conftest.$ac_objext \
13103 conftest$ac_exeext conftest.$ac_ext
13104 LIBS=$ac_check_soname_save_LIBS
13106 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13108 $as_echo "not found" >&6; }
13109 FONTCONFIG_CFLAGS=""
13110 else
13111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13112 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13114 cat >>confdefs.h <<_ACEOF
13115 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13116 _ACEOF
13120 else
13121 FONTCONFIG_CFLAGS=""
13123 CPPFLAGS=$ac_save_CPPFLAGS
13124 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13125 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13128 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13129 case "x$with_fontconfig" in
13130 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13131 xno) ;;
13132 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13133 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13134 esac
13137 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13138 then
13139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13140 $as_echo_n "checking for -lgsm... " >&6; }
13141 if ${ac_cv_lib_soname_gsm+:} false; then :
13142 $as_echo_n "(cached) " >&6
13143 else
13144 ac_check_soname_save_LIBS=$LIBS
13145 LIBS="-lgsm $LIBS"
13146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13147 /* end confdefs.h. */
13149 /* Override any GCC internal prototype to avoid an error.
13150 Use char because int might match the return type of a GCC
13151 builtin and then its argument prototype would still apply. */
13152 #ifdef __cplusplus
13153 extern "C"
13154 #endif
13155 char gsm_create ();
13157 main ()
13159 return gsm_create ();
13161 return 0;
13163 _ACEOF
13164 if ac_fn_c_try_link "$LINENO"; then :
13165 case "$LIBEXT" in
13166 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13167 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'` ;;
13168 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13169 if ${ac_cv_lib_soname_gsm:+false} :; then :
13170 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13171 fi ;;
13172 esac
13174 rm -f core conftest.err conftest.$ac_objext \
13175 conftest$ac_exeext conftest.$ac_ext
13176 LIBS=$ac_check_soname_save_LIBS
13178 if ${ac_cv_lib_soname_gsm:+false} :; then :
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13180 $as_echo "not found" >&6; }
13182 else
13183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13184 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13186 cat >>confdefs.h <<_ACEOF
13187 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13188 _ACEOF
13193 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13194 case "x$with_gsm" in
13195 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13196 xno) ;;
13197 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13198 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13199 esac
13202 if test "x$with_jpeg" != "xno"
13203 then
13204 if ${JPEG_CFLAGS:+false} :; then :
13205 if ${PKG_CONFIG+:} false; then :
13206 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13210 if ${JPEG_LIBS:+false} :; then :
13211 if ${PKG_CONFIG+:} false; then :
13212 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13217 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13218 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13219 ac_save_CPPFLAGS=$CPPFLAGS
13220 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13221 for ac_header in jpeglib.h
13222 do :
13223 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13224 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13225 cat >>confdefs.h <<_ACEOF
13226 #define HAVE_JPEGLIB_H 1
13227 _ACEOF
13231 done
13233 if test "$ac_cv_header_jpeglib_h" = "yes"
13234 then
13235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13236 $as_echo_n "checking for -ljpeg... " >&6; }
13237 if ${ac_cv_lib_soname_jpeg+:} false; then :
13238 $as_echo_n "(cached) " >&6
13239 else
13240 ac_check_soname_save_LIBS=$LIBS
13241 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13243 /* end confdefs.h. */
13245 /* Override any GCC internal prototype to avoid an error.
13246 Use char because int might match the return type of a GCC
13247 builtin and then its argument prototype would still apply. */
13248 #ifdef __cplusplus
13249 extern "C"
13250 #endif
13251 char jpeg_start_decompress ();
13253 main ()
13255 return jpeg_start_decompress ();
13257 return 0;
13259 _ACEOF
13260 if ac_fn_c_try_link "$LINENO"; then :
13261 case "$LIBEXT" in
13262 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13263 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'` ;;
13264 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13265 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13266 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13267 fi ;;
13268 esac
13270 rm -f core conftest.err conftest.$ac_objext \
13271 conftest$ac_exeext conftest.$ac_ext
13272 LIBS=$ac_check_soname_save_LIBS
13274 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13276 $as_echo "not found" >&6; }
13277 JPEG_CFLAGS=""
13278 else
13279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13280 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13282 cat >>confdefs.h <<_ACEOF
13283 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13284 _ACEOF
13288 else
13289 JPEG_CFLAGS=""
13291 CPPFLAGS=$ac_save_CPPFLAGS
13292 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13293 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13296 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13297 case "x$with_jpeg" in
13298 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13299 xno) ;;
13300 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13301 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13302 esac
13305 if test "x$with_png" != "xno"
13306 then
13307 if ${PNG_CFLAGS:+false} :; then :
13308 if ${PKG_CONFIG+:} false; then :
13309 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13312 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13313 if ${PNG_LIBS:+false} :; then :
13314 if ${PKG_CONFIG+:} false; then :
13315 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13318 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13320 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13321 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13322 ac_save_CPPFLAGS=$CPPFLAGS
13323 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13324 for ac_header in png.h
13325 do :
13326 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13327 if test "x$ac_cv_header_png_h" = xyes; then :
13328 cat >>confdefs.h <<_ACEOF
13329 #define HAVE_PNG_H 1
13330 _ACEOF
13334 done
13336 if test "$ac_cv_header_png_h" = "yes"
13337 then
13338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13339 $as_echo_n "checking for -lpng... " >&6; }
13340 if ${ac_cv_lib_soname_png+:} false; then :
13341 $as_echo_n "(cached) " >&6
13342 else
13343 ac_check_soname_save_LIBS=$LIBS
13344 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13346 /* end confdefs.h. */
13348 /* Override any GCC internal prototype to avoid an error.
13349 Use char because int might match the return type of a GCC
13350 builtin and then its argument prototype would still apply. */
13351 #ifdef __cplusplus
13352 extern "C"
13353 #endif
13354 char png_create_read_struct ();
13356 main ()
13358 return png_create_read_struct ();
13360 return 0;
13362 _ACEOF
13363 if ac_fn_c_try_link "$LINENO"; then :
13364 case "$LIBEXT" in
13365 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13366 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'` ;;
13367 *) 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'`
13368 if ${ac_cv_lib_soname_png:+false} :; then :
13369 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13370 fi ;;
13371 esac
13373 rm -f core conftest.err conftest.$ac_objext \
13374 conftest$ac_exeext conftest.$ac_ext
13375 LIBS=$ac_check_soname_save_LIBS
13377 if ${ac_cv_lib_soname_png:+false} :; then :
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13379 $as_echo "not found" >&6; }
13380 PNG_CFLAGS=""
13381 else
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13383 $as_echo "$ac_cv_lib_soname_png" >&6; }
13385 cat >>confdefs.h <<_ACEOF
13386 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13387 _ACEOF
13389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13390 /* end confdefs.h. */
13391 #include <png.h>
13393 main ()
13395 typeof(png_set_expand_gray_1_2_4_to_8) *p
13397 return 0;
13399 _ACEOF
13400 if ac_fn_c_try_compile "$LINENO"; then :
13402 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13407 else
13408 PNG_CFLAGS=""
13410 CPPFLAGS=$ac_save_CPPFLAGS
13411 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13412 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13415 if test "x$ac_cv_lib_soname_png" = "x"; then :
13416 case "x$with_png" in
13417 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13418 xno) ;;
13419 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13420 This is an error since --with-png was requested." "$LINENO" 5 ;;
13421 esac
13424 if test "x$with_tiff" != "xno"
13425 then
13426 if ${TIFF_CFLAGS:+false} :; then :
13427 if ${PKG_CONFIG+:} false; then :
13428 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13432 if ${TIFF_LIBS:+false} :; then :
13433 if ${PKG_CONFIG+:} false; then :
13434 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13439 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13440 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13441 ac_save_CPPFLAGS=$CPPFLAGS
13442 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13443 for ac_header in tiffio.h
13444 do :
13445 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13446 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13447 cat >>confdefs.h <<_ACEOF
13448 #define HAVE_TIFFIO_H 1
13449 _ACEOF
13453 done
13455 if test "$ac_cv_header_tiffio_h" = "yes"
13456 then
13457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13458 $as_echo_n "checking for -ltiff... " >&6; }
13459 if ${ac_cv_lib_soname_tiff+:} false; then :
13460 $as_echo_n "(cached) " >&6
13461 else
13462 ac_check_soname_save_LIBS=$LIBS
13463 LIBS="-ltiff $TIFF_LIBS $LIBS"
13464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13465 /* end confdefs.h. */
13467 /* Override any GCC internal prototype to avoid an error.
13468 Use char because int might match the return type of a GCC
13469 builtin and then its argument prototype would still apply. */
13470 #ifdef __cplusplus
13471 extern "C"
13472 #endif
13473 char TIFFClientOpen ();
13475 main ()
13477 return TIFFClientOpen ();
13479 return 0;
13481 _ACEOF
13482 if ac_fn_c_try_link "$LINENO"; then :
13483 case "$LIBEXT" in
13484 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13485 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'` ;;
13486 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13487 if ${ac_cv_lib_soname_tiff:+false} :; then :
13488 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13489 fi ;;
13490 esac
13492 rm -f core conftest.err conftest.$ac_objext \
13493 conftest$ac_exeext conftest.$ac_ext
13494 LIBS=$ac_check_soname_save_LIBS
13496 if ${ac_cv_lib_soname_tiff:+false} :; then :
13497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13498 $as_echo "not found" >&6; }
13500 else
13501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13502 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13504 cat >>confdefs.h <<_ACEOF
13505 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13506 _ACEOF
13511 CPPFLAGS=$ac_save_CPPFLAGS
13512 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13513 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13516 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13517 case "x$with_tiff" in
13518 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13519 xno) ;;
13520 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13521 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13522 esac
13525 if test "x$with_mpg123" != "xno"
13526 then
13527 if ${MPG123_CFLAGS:+false} :; then :
13528 if ${PKG_CONFIG+:} false; then :
13529 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13533 if ${MPG123_LIBS:+false} :; then :
13534 if ${PKG_CONFIG+:} false; then :
13535 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13539 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13540 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13541 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13542 ac_save_CPPFLAGS=$CPPFLAGS
13543 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13544 for ac_header in mpg123.h
13545 do :
13546 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13547 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13548 cat >>confdefs.h <<_ACEOF
13549 #define HAVE_MPG123_H 1
13550 _ACEOF
13554 done
13556 if test "$ac_cv_header_mpg123_h" = "yes"
13557 then
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13559 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13560 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13561 $as_echo_n "(cached) " >&6
13562 else
13563 ac_check_lib_save_LIBS=$LIBS
13564 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13566 /* end confdefs.h. */
13568 /* Override any GCC internal prototype to avoid an error.
13569 Use char because int might match the return type of a GCC
13570 builtin and then its argument prototype would still apply. */
13571 #ifdef __cplusplus
13572 extern "C"
13573 #endif
13574 char mpg123_feed ();
13576 main ()
13578 return mpg123_feed ();
13580 return 0;
13582 _ACEOF
13583 if ac_fn_c_try_link "$LINENO"; then :
13584 ac_cv_lib_mpg123_mpg123_feed=yes
13585 else
13586 ac_cv_lib_mpg123_mpg123_feed=no
13588 rm -f core conftest.err conftest.$ac_objext \
13589 conftest$ac_exeext conftest.$ac_ext
13590 LIBS=$ac_check_lib_save_LIBS
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13593 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13594 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13596 else
13597 MPG123_LIBS=""
13600 else
13601 MPG123_CFLAGS=""
13602 MPG123_LIBS=""
13604 CPPFLAGS=$ac_save_CPPFLAGS
13605 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13606 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13609 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13610 case "x$with_mpg123" in
13611 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13612 xno) ;;
13613 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13614 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13615 esac
13617 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}
13619 if test "$ac_cv_header_AL_al_h" = "yes"
13620 then
13621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13622 $as_echo_n "checking for -lopenal... " >&6; }
13623 if ${ac_cv_lib_soname_openal+:} false; then :
13624 $as_echo_n "(cached) " >&6
13625 else
13626 ac_check_soname_save_LIBS=$LIBS
13627 LIBS="-lopenal $LIBS"
13628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13629 /* end confdefs.h. */
13631 /* Override any GCC internal prototype to avoid an error.
13632 Use char because int might match the return type of a GCC
13633 builtin and then its argument prototype would still apply. */
13634 #ifdef __cplusplus
13635 extern "C"
13636 #endif
13637 char alGetSource3i ();
13639 main ()
13641 return alGetSource3i ();
13643 return 0;
13645 _ACEOF
13646 if ac_fn_c_try_link "$LINENO"; then :
13647 case "$LIBEXT" in
13648 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13649 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'` ;;
13650 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13651 if ${ac_cv_lib_soname_openal:+false} :; then :
13652 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13653 fi ;;
13654 esac
13656 rm -f core conftest.err conftest.$ac_objext \
13657 conftest$ac_exeext conftest.$ac_ext
13658 LIBS=$ac_check_soname_save_LIBS
13660 if ${ac_cv_lib_soname_openal:+false} :; then :
13661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13662 $as_echo "not found" >&6; }
13664 else
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13666 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13668 cat >>confdefs.h <<_ACEOF
13669 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13670 _ACEOF
13672 OPENAL_LIBS="-lopenal"
13674 ac_cv_lib_openal=yes
13676 cat >>confdefs.h <<_ACEOF
13677 #define HAVE_OPENAL 1
13678 _ACEOF
13682 if test "x$ac_cv_lib_openal" != xyes; then :
13683 case "x$with_openal" in
13684 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13685 xno) ;;
13686 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13687 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13688 esac
13690 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13692 if test "x$ac_cv_lib_openal" = xyes
13693 then
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13695 $as_echo_n "checking for openal-soft... " >&6; }
13696 if ${ac_cv_have_openalsoft+:} false; then :
13697 $as_echo_n "(cached) " >&6
13698 else
13699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13700 /* end confdefs.h. */
13701 #include <AL/al.h>
13702 #include <AL/alc.h>
13703 #include <AL/alext.h>
13704 LPALCRENDERSAMPLESSOFT x;
13706 main ()
13710 return 0;
13712 _ACEOF
13713 if ac_fn_c_try_compile "$LINENO"; then :
13714 ac_cv_have_openalsoft=yes
13715 else
13716 ac_cv_have_openalsoft=no
13718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13721 $as_echo "$ac_cv_have_openalsoft" >&6; }
13723 if test "x$ac_cv_have_openalsoft" != xyes
13724 then
13725 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13726 enable_xaudio2_7=${enable_xaudio2_7:-no}
13729 if test "$ac_cv_header_kstat_h" = "yes"
13730 then
13731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13732 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13733 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13734 $as_echo_n "(cached) " >&6
13735 else
13736 ac_check_lib_save_LIBS=$LIBS
13737 LIBS="-lkstat $LIBS"
13738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13739 /* end confdefs.h. */
13741 /* Override any GCC internal prototype to avoid an error.
13742 Use char because int might match the return type of a GCC
13743 builtin and then its argument prototype would still apply. */
13744 #ifdef __cplusplus
13745 extern "C"
13746 #endif
13747 char kstat_open ();
13749 main ()
13751 return kstat_open ();
13753 return 0;
13755 _ACEOF
13756 if ac_fn_c_try_link "$LINENO"; then :
13757 ac_cv_lib_kstat_kstat_open=yes
13758 else
13759 ac_cv_lib_kstat_kstat_open=no
13761 rm -f core conftest.err conftest.$ac_objext \
13762 conftest$ac_exeext conftest.$ac_ext
13763 LIBS=$ac_check_lib_save_LIBS
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13766 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13767 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13769 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13771 KSTAT_LIBS="-lkstat"
13777 if test "$ac_cv_header_libprocstat_h" = "yes"
13778 then
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13780 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13781 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13782 $as_echo_n "(cached) " >&6
13783 else
13784 ac_check_lib_save_LIBS=$LIBS
13785 LIBS="-lprocstat $LIBS"
13786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13787 /* end confdefs.h. */
13789 /* Override any GCC internal prototype to avoid an error.
13790 Use char because int might match the return type of a GCC
13791 builtin and then its argument prototype would still apply. */
13792 #ifdef __cplusplus
13793 extern "C"
13794 #endif
13795 char procstat_open_sysctl ();
13797 main ()
13799 return procstat_open_sysctl ();
13801 return 0;
13803 _ACEOF
13804 if ac_fn_c_try_link "$LINENO"; then :
13805 ac_cv_lib_procstat_procstat_open_sysctl=yes
13806 else
13807 ac_cv_lib_procstat_procstat_open_sysctl=no
13809 rm -f core conftest.err conftest.$ac_objext \
13810 conftest$ac_exeext conftest.$ac_ext
13811 LIBS=$ac_check_lib_save_LIBS
13813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13814 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13815 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13817 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13819 PROCSTAT_LIBS="-lprocstat"
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13826 $as_echo_n "checking for -lodbc... " >&6; }
13827 if ${ac_cv_lib_soname_odbc+:} false; then :
13828 $as_echo_n "(cached) " >&6
13829 else
13830 ac_check_soname_save_LIBS=$LIBS
13831 LIBS="-lodbc $LIBS"
13832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13833 /* end confdefs.h. */
13835 /* Override any GCC internal prototype to avoid an error.
13836 Use char because int might match the return type of a GCC
13837 builtin and then its argument prototype would still apply. */
13838 #ifdef __cplusplus
13839 extern "C"
13840 #endif
13841 char SQLConnect ();
13843 main ()
13845 return SQLConnect ();
13847 return 0;
13849 _ACEOF
13850 if ac_fn_c_try_link "$LINENO"; then :
13851 case "$LIBEXT" in
13852 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13853 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'` ;;
13854 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13855 if ${ac_cv_lib_soname_odbc:+false} :; then :
13856 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13857 fi ;;
13858 esac
13860 rm -f core conftest.err conftest.$ac_objext \
13861 conftest$ac_exeext conftest.$ac_ext
13862 LIBS=$ac_check_soname_save_LIBS
13864 if ${ac_cv_lib_soname_odbc:+false} :; then :
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13866 $as_echo "not found" >&6; }
13867 cat >>confdefs.h <<_ACEOF
13868 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13869 _ACEOF
13871 else
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13873 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13875 cat >>confdefs.h <<_ACEOF
13876 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13877 _ACEOF
13882 if test "x$with_netapi" != "xno"
13883 then
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13885 $as_echo_n "checking for -lnetapi... " >&6; }
13886 if ${ac_cv_lib_soname_netapi+:} false; then :
13887 $as_echo_n "(cached) " >&6
13888 else
13889 ac_check_soname_save_LIBS=$LIBS
13890 LIBS="-lnetapi $LIBS"
13891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13892 /* end confdefs.h. */
13894 /* Override any GCC internal prototype to avoid an error.
13895 Use char because int might match the return type of a GCC
13896 builtin and then its argument prototype would still apply. */
13897 #ifdef __cplusplus
13898 extern "C"
13899 #endif
13900 char libnetapi_init ();
13902 main ()
13904 return libnetapi_init ();
13906 return 0;
13908 _ACEOF
13909 if ac_fn_c_try_link "$LINENO"; then :
13910 case "$LIBEXT" in
13911 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13912 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'` ;;
13913 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13914 if ${ac_cv_lib_soname_netapi:+false} :; then :
13915 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13916 fi ;;
13917 esac
13919 rm -f core conftest.err conftest.$ac_objext \
13920 conftest$ac_exeext conftest.$ac_ext
13921 LIBS=$ac_check_soname_save_LIBS
13923 if ${ac_cv_lib_soname_netapi:+false} :; then :
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13925 $as_echo "not found" >&6; }
13926 cat >>confdefs.h <<_ACEOF
13927 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13928 _ACEOF
13930 else
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13932 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13934 cat >>confdefs.h <<_ACEOF
13935 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13936 _ACEOF
13942 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
13943 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
13944 then
13945 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13949 EXTRACFLAGS=""
13951 if test "x${GCC}" = "xyes"
13952 then
13953 EXTRACFLAGS="-Wall -pipe"
13955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13956 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13957 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13958 $as_echo_n "(cached) " >&6
13959 else
13960 if test "$cross_compiling" = yes; then :
13961 ac_cv_c_gcc_strength_bug="no"
13962 else
13963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13964 /* end confdefs.h. */
13965 int L[4] = {0,1,2,3};
13967 main ()
13969 static int Array[3];
13970 unsigned int B = 3;
13971 int i;
13972 for(i=0; i<B; i++) Array[i] = i - 3;
13973 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13974 L[i] = 4;
13975 return (Array[1] != -2 || L[2] != 3)
13977 return 0;
13979 _ACEOF
13980 if ac_fn_c_try_run "$LINENO"; then :
13981 ac_cv_c_gcc_strength_bug="no"
13982 else
13983 ac_cv_c_gcc_strength_bug="yes"
13985 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13986 conftest.$ac_objext conftest.beam conftest.$ac_ext
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13991 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13992 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13993 then
13994 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13998 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13999 if ${ac_cv_cflags__fno_builtin+:} false; then :
14000 $as_echo_n "(cached) " >&6
14001 else
14002 ac_wine_try_cflags_saved=$CFLAGS
14003 CFLAGS="$CFLAGS -fno-builtin"
14004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14005 /* end confdefs.h. */
14006 int main(int argc, char **argv) { return 0; }
14007 _ACEOF
14008 if ac_fn_c_try_link "$LINENO"; then :
14009 ac_cv_cflags__fno_builtin=yes
14010 else
14011 ac_cv_cflags__fno_builtin=no
14013 rm -f core conftest.err conftest.$ac_objext \
14014 conftest$ac_exeext conftest.$ac_ext
14015 CFLAGS=$ac_wine_try_cflags_saved
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14018 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14019 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14020 BUILTINFLAG="-fno-builtin"
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14024 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14025 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14026 $as_echo_n "(cached) " >&6
14027 else
14028 ac_wine_try_cflags_saved=$CFLAGS
14029 CFLAGS="$CFLAGS -fno-strict-aliasing"
14030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14031 /* end confdefs.h. */
14032 int main(int argc, char **argv) { return 0; }
14033 _ACEOF
14034 if ac_fn_c_try_link "$LINENO"; then :
14035 ac_cv_cflags__fno_strict_aliasing=yes
14036 else
14037 ac_cv_cflags__fno_strict_aliasing=no
14039 rm -f core conftest.err conftest.$ac_objext \
14040 conftest$ac_exeext conftest.$ac_ext
14041 CFLAGS=$ac_wine_try_cflags_saved
14043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14044 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14045 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14046 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14049 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14050 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14051 $as_echo_n "(cached) " >&6
14052 else
14053 ac_wine_try_cflags_saved=$CFLAGS
14054 CFLAGS="$CFLAGS -fexcess-precision=standard"
14055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14056 /* end confdefs.h. */
14057 int main(int argc, char **argv) { return 0; }
14058 _ACEOF
14059 if ac_fn_c_try_link "$LINENO"; then :
14060 ac_cv_cflags__fexcess_precision_standard=yes
14061 else
14062 ac_cv_cflags__fexcess_precision_standard=no
14064 rm -f core conftest.err conftest.$ac_objext \
14065 conftest$ac_exeext conftest.$ac_ext
14066 CFLAGS=$ac_wine_try_cflags_saved
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14069 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14070 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14071 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14074 saved_CFLAGS=$CFLAGS
14075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14076 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14077 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14078 $as_echo_n "(cached) " >&6
14079 else
14080 ac_wine_try_cflags_saved=$CFLAGS
14081 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14083 /* end confdefs.h. */
14084 int main(int argc, char **argv) { return 0; }
14085 _ACEOF
14086 if ac_fn_c_try_link "$LINENO"; then :
14087 ac_cv_cflags__Werror_unknown_warning_option=yes
14088 else
14089 ac_cv_cflags__Werror_unknown_warning_option=no
14091 rm -f core conftest.err conftest.$ac_objext \
14092 conftest$ac_exeext conftest.$ac_ext
14093 CFLAGS=$ac_wine_try_cflags_saved
14095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14096 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14097 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14098 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14101 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14102 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14103 $as_echo_n "(cached) " >&6
14104 else
14105 ac_wine_try_cflags_saved=$CFLAGS
14106 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14108 /* end confdefs.h. */
14109 int main(int argc, char **argv) { return 0; }
14110 _ACEOF
14111 if ac_fn_c_try_link "$LINENO"; then :
14112 ac_cv_cflags__Wdeclaration_after_statement=yes
14113 else
14114 ac_cv_cflags__Wdeclaration_after_statement=no
14116 rm -f core conftest.err conftest.$ac_objext \
14117 conftest$ac_exeext conftest.$ac_ext
14118 CFLAGS=$ac_wine_try_cflags_saved
14120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14121 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14122 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14123 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14126 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14127 if ${ac_cv_cflags__Wempty_body+:} false; then :
14128 $as_echo_n "(cached) " >&6
14129 else
14130 ac_wine_try_cflags_saved=$CFLAGS
14131 CFLAGS="$CFLAGS -Wempty-body"
14132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14133 /* end confdefs.h. */
14134 int main(int argc, char **argv) { return 0; }
14135 _ACEOF
14136 if ac_fn_c_try_link "$LINENO"; then :
14137 ac_cv_cflags__Wempty_body=yes
14138 else
14139 ac_cv_cflags__Wempty_body=no
14141 rm -f core conftest.err conftest.$ac_objext \
14142 conftest$ac_exeext conftest.$ac_ext
14143 CFLAGS=$ac_wine_try_cflags_saved
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14146 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14147 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14148 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14151 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14152 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14153 $as_echo_n "(cached) " >&6
14154 else
14155 ac_wine_try_cflags_saved=$CFLAGS
14156 CFLAGS="$CFLAGS -Wignored-qualifiers"
14157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14158 /* end confdefs.h. */
14159 int main(int argc, char **argv) { return 0; }
14160 _ACEOF
14161 if ac_fn_c_try_link "$LINENO"; then :
14162 ac_cv_cflags__Wignored_qualifiers=yes
14163 else
14164 ac_cv_cflags__Wignored_qualifiers=no
14166 rm -f core conftest.err conftest.$ac_objext \
14167 conftest$ac_exeext conftest.$ac_ext
14168 CFLAGS=$ac_wine_try_cflags_saved
14170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14171 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14172 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14173 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14176 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14177 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14178 $as_echo_n "(cached) " >&6
14179 else
14180 ac_wine_try_cflags_saved=$CFLAGS
14181 CFLAGS="$CFLAGS -Wshift-overflow=2"
14182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14183 /* end confdefs.h. */
14184 int main(int argc, char **argv) { return 0; }
14185 _ACEOF
14186 if ac_fn_c_try_link "$LINENO"; then :
14187 ac_cv_cflags__Wshift_overflow_2=yes
14188 else
14189 ac_cv_cflags__Wshift_overflow_2=no
14191 rm -f core conftest.err conftest.$ac_objext \
14192 conftest$ac_exeext conftest.$ac_ext
14193 CFLAGS=$ac_wine_try_cflags_saved
14195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14196 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14197 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14198 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14201 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14202 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14203 $as_echo_n "(cached) " >&6
14204 else
14205 ac_wine_try_cflags_saved=$CFLAGS
14206 CFLAGS="$CFLAGS -Wstrict-prototypes"
14207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14208 /* end confdefs.h. */
14209 int main(int argc, char **argv) { return 0; }
14210 _ACEOF
14211 if ac_fn_c_try_link "$LINENO"; then :
14212 ac_cv_cflags__Wstrict_prototypes=yes
14213 else
14214 ac_cv_cflags__Wstrict_prototypes=no
14216 rm -f core conftest.err conftest.$ac_objext \
14217 conftest$ac_exeext conftest.$ac_ext
14218 CFLAGS=$ac_wine_try_cflags_saved
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14221 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14222 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14223 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14226 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14227 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14228 $as_echo_n "(cached) " >&6
14229 else
14230 ac_wine_try_cflags_saved=$CFLAGS
14231 CFLAGS="$CFLAGS -Wtype-limits"
14232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14233 /* end confdefs.h. */
14234 int main(int argc, char **argv) { return 0; }
14235 _ACEOF
14236 if ac_fn_c_try_link "$LINENO"; then :
14237 ac_cv_cflags__Wtype_limits=yes
14238 else
14239 ac_cv_cflags__Wtype_limits=no
14241 rm -f core conftest.err conftest.$ac_objext \
14242 conftest$ac_exeext conftest.$ac_ext
14243 CFLAGS=$ac_wine_try_cflags_saved
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14246 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14247 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14248 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14251 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14252 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14253 $as_echo_n "(cached) " >&6
14254 else
14255 ac_wine_try_cflags_saved=$CFLAGS
14256 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14258 /* end confdefs.h. */
14259 int main(int argc, char **argv) { return 0; }
14260 _ACEOF
14261 if ac_fn_c_try_link "$LINENO"; then :
14262 ac_cv_cflags__Wunused_but_set_parameter=yes
14263 else
14264 ac_cv_cflags__Wunused_but_set_parameter=no
14266 rm -f core conftest.err conftest.$ac_objext \
14267 conftest$ac_exeext conftest.$ac_ext
14268 CFLAGS=$ac_wine_try_cflags_saved
14270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14271 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14272 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14273 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14276 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14277 if ${ac_cv_cflags__Wvla+:} false; then :
14278 $as_echo_n "(cached) " >&6
14279 else
14280 ac_wine_try_cflags_saved=$CFLAGS
14281 CFLAGS="$CFLAGS -Wvla"
14282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14283 /* end confdefs.h. */
14284 int main(int argc, char **argv) { return 0; }
14285 _ACEOF
14286 if ac_fn_c_try_link "$LINENO"; then :
14287 ac_cv_cflags__Wvla=yes
14288 else
14289 ac_cv_cflags__Wvla=no
14291 rm -f core conftest.err conftest.$ac_objext \
14292 conftest$ac_exeext conftest.$ac_ext
14293 CFLAGS=$ac_wine_try_cflags_saved
14295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14296 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14297 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14298 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14301 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14302 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14303 $as_echo_n "(cached) " >&6
14304 else
14305 ac_wine_try_cflags_saved=$CFLAGS
14306 CFLAGS="$CFLAGS -Wwrite-strings"
14307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14308 /* end confdefs.h. */
14309 int main(int argc, char **argv) { return 0; }
14310 _ACEOF
14311 if ac_fn_c_try_link "$LINENO"; then :
14312 ac_cv_cflags__Wwrite_strings=yes
14313 else
14314 ac_cv_cflags__Wwrite_strings=no
14316 rm -f core conftest.err conftest.$ac_objext \
14317 conftest$ac_exeext conftest.$ac_ext
14318 CFLAGS=$ac_wine_try_cflags_saved
14320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14321 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14322 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14323 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14327 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14328 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14329 $as_echo_n "(cached) " >&6
14330 else
14331 ac_wine_try_cflags_saved=$CFLAGS
14332 CFLAGS="$CFLAGS -Wpointer-arith"
14333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14334 /* end confdefs.h. */
14335 int main(int argc, char **argv) { return 0; }
14336 _ACEOF
14337 if ac_fn_c_try_link "$LINENO"; then :
14338 ac_cv_cflags__Wpointer_arith=yes
14339 else
14340 ac_cv_cflags__Wpointer_arith=no
14342 rm -f core conftest.err conftest.$ac_objext \
14343 conftest$ac_exeext conftest.$ac_ext
14344 CFLAGS=$ac_wine_try_cflags_saved
14346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14347 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14348 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14349 saved_string_h_CFLAGS=$CFLAGS
14350 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14352 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14353 if ${ac_cv_c_string_h_warnings+:} false; then :
14354 $as_echo_n "(cached) " >&6
14355 else
14356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14357 /* end confdefs.h. */
14358 #include <string.h>
14360 main ()
14364 return 0;
14366 _ACEOF
14367 if ac_fn_c_try_compile "$LINENO"; then :
14368 ac_cv_c_string_h_warnings=no
14369 else
14370 ac_cv_c_string_h_warnings=yes
14372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14375 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14376 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14377 CFLAGS=$saved_string_h_CFLAGS
14380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14381 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14382 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14383 $as_echo_n "(cached) " >&6
14384 else
14385 ac_wine_try_cflags_saved=$CFLAGS
14386 CFLAGS="$CFLAGS -Wlogical-op"
14387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14388 /* end confdefs.h. */
14389 int main(int argc, char **argv) { return 0; }
14390 _ACEOF
14391 if ac_fn_c_try_link "$LINENO"; then :
14392 ac_cv_cflags__Wlogical_op=yes
14393 else
14394 ac_cv_cflags__Wlogical_op=no
14396 rm -f core conftest.err conftest.$ac_objext \
14397 conftest$ac_exeext conftest.$ac_ext
14398 CFLAGS=$ac_wine_try_cflags_saved
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14401 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14402 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14403 saved_string_h_CFLAGS=$CFLAGS
14404 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14406 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14407 if ${ac_cv_c_logicalop_noisy+:} false; then :
14408 $as_echo_n "(cached) " >&6
14409 else
14410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14411 /* end confdefs.h. */
14412 #include <string.h>
14413 char*f(const char *h,char n) {return strchr(h,n);}
14415 main ()
14419 return 0;
14421 _ACEOF
14422 if ac_fn_c_try_compile "$LINENO"; then :
14423 ac_cv_c_logicalop_noisy=no
14424 else
14425 ac_cv_c_logicalop_noisy=yes
14427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14430 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14431 CFLAGS=$saved_string_h_CFLAGS
14432 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14435 CFLAGS=$saved_CFLAGS
14437 for ac_flag in $CFLAGS; do
14438 case $ac_flag in
14439 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14440 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14441 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14442 $as_echo_n "(cached) " >&6
14443 else
14444 ac_wine_try_cflags_saved=$CFLAGS
14445 CFLAGS="$CFLAGS -gdwarf-2"
14446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14447 /* end confdefs.h. */
14448 int main(int argc, char **argv) { return 0; }
14449 _ACEOF
14450 if ac_fn_c_try_link "$LINENO"; then :
14451 ac_cv_cflags__gdwarf_2=yes
14452 else
14453 ac_cv_cflags__gdwarf_2=no
14455 rm -f core conftest.err conftest.$ac_objext \
14456 conftest$ac_exeext conftest.$ac_ext
14457 CFLAGS=$ac_wine_try_cflags_saved
14459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14460 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14461 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14462 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14465 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14466 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14467 $as_echo_n "(cached) " >&6
14468 else
14469 ac_wine_try_cflags_saved=$CFLAGS
14470 CFLAGS="$CFLAGS -gstrict-dwarf"
14471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14472 /* end confdefs.h. */
14473 int main(int argc, char **argv) { return 0; }
14474 _ACEOF
14475 if ac_fn_c_try_link "$LINENO"; then :
14476 ac_cv_cflags__gstrict_dwarf=yes
14477 else
14478 ac_cv_cflags__gstrict_dwarf=no
14480 rm -f core conftest.err conftest.$ac_objext \
14481 conftest$ac_exeext conftest.$ac_ext
14482 CFLAGS=$ac_wine_try_cflags_saved
14484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14485 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14486 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14487 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14488 fi ;;
14489 esac
14490 done
14492 case $host_cpu in
14493 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14494 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14495 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14496 $as_echo_n "(cached) " >&6
14497 else
14498 ac_wine_try_cflags_saved=$CFLAGS
14499 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14501 /* end confdefs.h. */
14502 int main(int argc, char **argv) { return 0; }
14503 _ACEOF
14504 if ac_fn_c_try_link "$LINENO"; then :
14505 ac_cv_cflags__fno_omit_frame_pointer=yes
14506 else
14507 ac_cv_cflags__fno_omit_frame_pointer=no
14509 rm -f core conftest.err conftest.$ac_objext \
14510 conftest$ac_exeext conftest.$ac_ext
14511 CFLAGS=$ac_wine_try_cflags_saved
14513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14514 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14515 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14516 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14517 fi ;;
14518 esac
14520 case $host in
14521 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14522 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14523 if ${ac_cv_cflags__Wno_format+:} false; then :
14524 $as_echo_n "(cached) " >&6
14525 else
14526 ac_wine_try_cflags_saved=$CFLAGS
14527 CFLAGS="$CFLAGS -Wno-format"
14528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14529 /* end confdefs.h. */
14530 int main(int argc, char **argv) { return 0; }
14531 _ACEOF
14532 if ac_fn_c_try_link "$LINENO"; then :
14533 ac_cv_cflags__Wno_format=yes
14534 else
14535 ac_cv_cflags__Wno_format=no
14537 rm -f core conftest.err conftest.$ac_objext \
14538 conftest$ac_exeext conftest.$ac_ext
14539 CFLAGS=$ac_wine_try_cflags_saved
14541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14542 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14543 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14544 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14545 fi ;;
14546 esac
14548 if test "x$enable_maintainer_mode" = "xyes"
14549 then
14550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14551 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14552 if ${ac_cv_cflags__Werror+:} false; then :
14553 $as_echo_n "(cached) " >&6
14554 else
14555 ac_wine_try_cflags_saved=$CFLAGS
14556 CFLAGS="$CFLAGS -Werror"
14557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14558 /* end confdefs.h. */
14559 int main(int argc, char **argv) { return 0; }
14560 _ACEOF
14561 if ac_fn_c_try_link "$LINENO"; then :
14562 ac_cv_cflags__Werror=yes
14563 else
14564 ac_cv_cflags__Werror=no
14566 rm -f core conftest.err conftest.$ac_objext \
14567 conftest$ac_exeext conftest.$ac_ext
14568 CFLAGS=$ac_wine_try_cflags_saved
14570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14571 $as_echo "$ac_cv_cflags__Werror" >&6; }
14572 if test "x$ac_cv_cflags__Werror" = xyes; then :
14573 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14577 saved_CFLAGS="$CFLAGS"
14578 CFLAGS="$CFLAGS -Werror"
14579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14580 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14581 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14582 $as_echo_n "(cached) " >&6
14583 else
14584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14585 /* end confdefs.h. */
14586 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14588 main ()
14592 return 0;
14594 _ACEOF
14595 if ac_fn_c_try_compile "$LINENO"; then :
14596 ac_cv_have_ms_hook_prologue="yes"
14597 else
14598 ac_cv_have_ms_hook_prologue="no"
14600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14603 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14604 CFLAGS="$saved_CFLAGS"
14605 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14606 then
14608 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14610 else
14611 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14618 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14619 if ${ac_cv_c_fortify_enabled+:} false; then :
14620 $as_echo_n "(cached) " >&6
14621 else
14622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14623 /* end confdefs.h. */
14624 #include <string.h>
14626 main ()
14628 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14629 #error Fortify enabled
14630 #endif
14632 return 0;
14634 _ACEOF
14635 if ac_fn_c_try_compile "$LINENO"; then :
14636 ac_cv_c_fortify_enabled=no
14637 else
14638 ac_cv_c_fortify_enabled=yes
14640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14643 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14644 if test "$ac_cv_c_fortify_enabled" = yes
14645 then
14646 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14651 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14652 if ${ac_cv_c_extern_prefix+:} false; then :
14653 $as_echo_n "(cached) " >&6
14654 else
14655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14656 /* end confdefs.h. */
14657 extern int ac_test;
14659 main ()
14661 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14663 return 0;
14665 _ACEOF
14666 if ac_fn_c_try_link "$LINENO"; then :
14667 ac_cv_c_extern_prefix="yes"
14668 else
14669 ac_cv_c_extern_prefix="no"
14671 rm -f core conftest.err conftest.$ac_objext \
14672 conftest$ac_exeext conftest.$ac_ext
14674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14675 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14677 case $host_cpu in
14678 *i[3456789]86*)
14679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14680 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14681 if ${ac_cv_c_stdcall_suffix+:} false; then :
14682 $as_echo_n "(cached) " >&6
14683 else
14684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14685 /* end confdefs.h. */
14686 #ifndef _MSC_VER
14687 #define __stdcall __attribute__((__stdcall__))
14688 #endif
14689 int __stdcall ac_test(int i) { return i; }
14691 main ()
14693 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14695 return 0;
14697 _ACEOF
14698 if ac_fn_c_try_link "$LINENO"; then :
14699 ac_cv_c_stdcall_suffix="yes"
14700 else
14701 ac_cv_c_stdcall_suffix="no"
14703 rm -f core conftest.err conftest.$ac_objext \
14704 conftest$ac_exeext conftest.$ac_ext
14706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14707 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14708 *) ac_cv_c_stdcall_suffix="no" ;;
14709 esac
14712 if test "$ac_cv_c_extern_prefix" = "yes"
14713 then
14714 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14716 asm_name_prefix="_"
14717 else
14718 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14720 asm_name_prefix=""
14724 if test "$ac_cv_c_stdcall_suffix" = "yes"
14725 then
14726 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14728 else
14729 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14735 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14736 if ${ac_cv_asm_func_def+:} false; then :
14737 $as_echo_n "(cached) " >&6
14738 else
14739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14740 /* end confdefs.h. */
14743 main ()
14745 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14747 return 0;
14749 _ACEOF
14750 if ac_fn_c_try_link "$LINENO"; then :
14751 ac_cv_asm_func_def=".def"
14752 else
14753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14754 /* end confdefs.h. */
14757 main ()
14759 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14761 return 0;
14763 _ACEOF
14764 if ac_fn_c_try_link "$LINENO"; then :
14765 ac_cv_asm_func_def=".type @function"
14766 else
14767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14768 /* end confdefs.h. */
14771 main ()
14773 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14775 return 0;
14777 _ACEOF
14778 if ac_fn_c_try_link "$LINENO"; then :
14779 ac_cv_asm_func_def=".type 2"
14780 else
14781 ac_cv_asm_func_def="unknown"
14783 rm -f core conftest.err conftest.$ac_objext \
14784 conftest$ac_exeext conftest.$ac_ext
14786 rm -f core conftest.err conftest.$ac_objext \
14787 conftest$ac_exeext conftest.$ac_ext
14789 rm -f core conftest.err conftest.$ac_objext \
14790 conftest$ac_exeext conftest.$ac_ext
14792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14793 $as_echo "$ac_cv_asm_func_def" >&6; }
14796 case "$ac_cv_asm_func_def" in
14797 ".def")
14798 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14800 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14801 ".type @function")
14802 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14804 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14805 ".type 2")
14806 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14808 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14810 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14812 asm_func_header="" ;;
14813 esac
14815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14816 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14817 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14818 $as_echo_n "(cached) " >&6
14819 else
14820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14821 /* end confdefs.h. */
14822 asm(".text\n\t.long 0");
14824 main ()
14828 return 0;
14830 _ACEOF
14831 if ac_fn_c_try_compile "$LINENO"; then :
14832 ac_cv_c_asm_outside_funcs="yes"
14833 else
14834 ac_cv_c_asm_outside_funcs="no"
14836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14839 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14842 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14843 if ${ac_cv_c_dot_previous+:} false; then :
14844 $as_echo_n "(cached) " >&6
14845 else
14846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14847 /* end confdefs.h. */
14850 main ()
14852 asm(".text\nac_test:\t.long 0\n\t.previous");
14854 return 0;
14856 _ACEOF
14857 if ac_fn_c_try_link "$LINENO"; then :
14858 ac_cv_c_dot_previous="yes"
14859 else
14860 ac_cv_c_dot_previous="no"
14862 rm -f core conftest.err conftest.$ac_objext \
14863 conftest$ac_exeext conftest.$ac_ext
14865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14866 $as_echo "$ac_cv_c_dot_previous" >&6; }
14868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14869 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14870 if ${ac_cv_c_cfi_support+:} false; then :
14871 $as_echo_n "(cached) " >&6
14872 else
14873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14874 /* end confdefs.h. */
14875 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14877 main ()
14881 return 0;
14883 _ACEOF
14884 if ac_fn_c_try_compile "$LINENO"; then :
14885 ac_cv_c_cfi_support="yes"
14886 else
14887 ac_cv_c_cfi_support="no"
14889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14892 $as_echo "$ac_cv_c_cfi_support" >&6; }
14894 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14895 asm_func_trailer=""
14896 if test "$ac_cv_c_dot_previous" = "yes"
14897 then
14898 asm_func_trailer="\\n\\t.previous"
14900 if test "$ac_cv_c_cfi_support" = "yes"
14901 then
14902 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14903 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14905 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14907 UNWINDFLAGS=-fasynchronous-unwind-tables
14909 else
14910 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14912 if test "x$enable_win64" = "xyes"
14913 then
14914 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
14918 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14921 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14922 then
14923 cat >>confdefs.h <<_ACEOF
14924 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14925 _ACEOF
14927 else
14928 cat >>confdefs.h <<_ACEOF
14929 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14930 _ACEOF
14934 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14937 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14941 case $build_os in
14942 cygwin*|mingw32*) TOOLSEXT=".exe"
14944 esac
14946 case $host_os in
14947 linux-android*) ;;
14948 linux*)
14949 case $host_cpu in
14950 *i[3456789]86*|x86_64*)
14951 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14952 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
14954 esac
14956 esac
14959 ac_save_CFLAGS="$CFLAGS"
14960 CFLAGS="$CFLAGS $BUILTINFLAG"
14961 for ac_func in \
14962 __res_get_state \
14963 __res_getservers \
14964 _finite \
14965 _isnan \
14966 _pclose \
14967 _popen \
14968 _snprintf \
14969 _spawnvp \
14970 _strdup \
14971 _stricmp \
14972 _strnicmp \
14973 _strtoi64 \
14974 _strtoui64 \
14975 _vsnprintf \
14976 asctime_r \
14977 chsize \
14978 dlopen \
14979 epoll_create \
14980 ffs \
14981 finitef \
14982 fnmatch \
14983 fork \
14984 fpclass \
14985 fstatfs \
14986 fstatvfs \
14987 ftruncate \
14988 futimens \
14989 futimes \
14990 futimesat \
14991 getattrlist \
14992 getdirentries \
14993 getopt_long_only \
14994 getpwuid \
14995 gettimeofday \
14996 getuid \
14997 if_nameindex \
14998 isnanf \
14999 kqueue \
15000 lstat \
15001 memmove \
15002 mmap \
15003 pclose \
15004 pipe2 \
15005 poll \
15006 popen \
15007 port_create \
15008 prctl \
15009 pread \
15010 proc_pidinfo \
15011 pwrite \
15012 readdir \
15013 readlink \
15014 sched_yield \
15015 select \
15016 setproctitle \
15017 setrlimit \
15018 settimeofday \
15019 sigaltstack \
15020 sigprocmask \
15021 snprintf \
15022 statfs \
15023 statvfs \
15024 strcasecmp \
15025 strdup \
15026 strerror \
15027 strncasecmp \
15028 strtold \
15029 strtoll \
15030 strtoull \
15031 symlink \
15032 tcdrain \
15033 thr_kill2 \
15034 timegm \
15035 usleep \
15036 vsnprintf
15038 do :
15039 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15040 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15041 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15042 cat >>confdefs.h <<_ACEOF
15043 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15044 _ACEOF
15047 done
15049 CFLAGS="$ac_save_CFLAGS"
15051 if test "$ac_cv_func_dlopen" = no
15052 then
15053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15054 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15055 if ${ac_cv_lib_dl_dlopen+:} false; then :
15056 $as_echo_n "(cached) " >&6
15057 else
15058 ac_check_lib_save_LIBS=$LIBS
15059 LIBS="-ldl $LIBS"
15060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15061 /* end confdefs.h. */
15063 /* Override any GCC internal prototype to avoid an error.
15064 Use char because int might match the return type of a GCC
15065 builtin and then its argument prototype would still apply. */
15066 #ifdef __cplusplus
15067 extern "C"
15068 #endif
15069 char dlopen ();
15071 main ()
15073 return dlopen ();
15075 return 0;
15077 _ACEOF
15078 if ac_fn_c_try_link "$LINENO"; then :
15079 ac_cv_lib_dl_dlopen=yes
15080 else
15081 ac_cv_lib_dl_dlopen=no
15083 rm -f core conftest.err conftest.$ac_objext \
15084 conftest$ac_exeext conftest.$ac_ext
15085 LIBS=$ac_check_lib_save_LIBS
15087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15088 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15089 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15090 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15091 DL_LIBS="-ldl"
15096 ac_wine_check_funcs_save_LIBS="$LIBS"
15097 LIBS="$LIBS $DL_LIBS"
15098 for ac_func in dladdr
15099 do :
15100 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15101 if test "x$ac_cv_func_dladdr" = xyes; then :
15102 cat >>confdefs.h <<_ACEOF
15103 #define HAVE_DLADDR 1
15104 _ACEOF
15107 done
15109 LIBS="$ac_wine_check_funcs_save_LIBS"
15111 if test "$ac_cv_func_poll" = no
15112 then
15113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15114 $as_echo_n "checking for poll in -lpoll... " >&6; }
15115 if ${ac_cv_lib_poll_poll+:} false; then :
15116 $as_echo_n "(cached) " >&6
15117 else
15118 ac_check_lib_save_LIBS=$LIBS
15119 LIBS="-lpoll $LIBS"
15120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15121 /* end confdefs.h. */
15123 /* Override any GCC internal prototype to avoid an error.
15124 Use char because int might match the return type of a GCC
15125 builtin and then its argument prototype would still apply. */
15126 #ifdef __cplusplus
15127 extern "C"
15128 #endif
15129 char poll ();
15131 main ()
15133 return poll ();
15135 return 0;
15137 _ACEOF
15138 if ac_fn_c_try_link "$LINENO"; then :
15139 ac_cv_lib_poll_poll=yes
15140 else
15141 ac_cv_lib_poll_poll=no
15143 rm -f core conftest.err conftest.$ac_objext \
15144 conftest$ac_exeext conftest.$ac_ext
15145 LIBS=$ac_check_lib_save_LIBS
15147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15148 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15149 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15150 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15151 POLL_LIBS="-lpoll"
15157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15158 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15159 if ${ac_cv_search_gethostbyname+:} false; then :
15160 $as_echo_n "(cached) " >&6
15161 else
15162 ac_func_search_save_LIBS=$LIBS
15163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15164 /* end confdefs.h. */
15166 /* Override any GCC internal prototype to avoid an error.
15167 Use char because int might match the return type of a GCC
15168 builtin and then its argument prototype would still apply. */
15169 #ifdef __cplusplus
15170 extern "C"
15171 #endif
15172 char gethostbyname ();
15174 main ()
15176 return gethostbyname ();
15178 return 0;
15180 _ACEOF
15181 for ac_lib in '' nsl; do
15182 if test -z "$ac_lib"; then
15183 ac_res="none required"
15184 else
15185 ac_res=-l$ac_lib
15186 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15188 if ac_fn_c_try_link "$LINENO"; then :
15189 ac_cv_search_gethostbyname=$ac_res
15191 rm -f core conftest.err conftest.$ac_objext \
15192 conftest$ac_exeext
15193 if ${ac_cv_search_gethostbyname+:} false; then :
15194 break
15196 done
15197 if ${ac_cv_search_gethostbyname+:} false; then :
15199 else
15200 ac_cv_search_gethostbyname=no
15202 rm conftest.$ac_ext
15203 LIBS=$ac_func_search_save_LIBS
15205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15206 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15207 ac_res=$ac_cv_search_gethostbyname
15208 if test "$ac_res" != no; then :
15209 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15215 $as_echo_n "checking for library containing connect... " >&6; }
15216 if ${ac_cv_search_connect+:} false; then :
15217 $as_echo_n "(cached) " >&6
15218 else
15219 ac_func_search_save_LIBS=$LIBS
15220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15221 /* end confdefs.h. */
15223 /* Override any GCC internal prototype to avoid an error.
15224 Use char because int might match the return type of a GCC
15225 builtin and then its argument prototype would still apply. */
15226 #ifdef __cplusplus
15227 extern "C"
15228 #endif
15229 char connect ();
15231 main ()
15233 return connect ();
15235 return 0;
15237 _ACEOF
15238 for ac_lib in '' socket; do
15239 if test -z "$ac_lib"; then
15240 ac_res="none required"
15241 else
15242 ac_res=-l$ac_lib
15243 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15245 if ac_fn_c_try_link "$LINENO"; then :
15246 ac_cv_search_connect=$ac_res
15248 rm -f core conftest.err conftest.$ac_objext \
15249 conftest$ac_exeext
15250 if ${ac_cv_search_connect+:} false; then :
15251 break
15253 done
15254 if ${ac_cv_search_connect+:} false; then :
15256 else
15257 ac_cv_search_connect=no
15259 rm conftest.$ac_ext
15260 LIBS=$ac_func_search_save_LIBS
15262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15263 $as_echo "$ac_cv_search_connect" >&6; }
15264 ac_res=$ac_cv_search_connect
15265 if test "$ac_res" != no; then :
15266 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15272 $as_echo_n "checking for library containing inet_aton... " >&6; }
15273 if ${ac_cv_search_inet_aton+:} false; then :
15274 $as_echo_n "(cached) " >&6
15275 else
15276 ac_func_search_save_LIBS=$LIBS
15277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15278 /* end confdefs.h. */
15280 /* Override any GCC internal prototype to avoid an error.
15281 Use char because int might match the return type of a GCC
15282 builtin and then its argument prototype would still apply. */
15283 #ifdef __cplusplus
15284 extern "C"
15285 #endif
15286 char inet_aton ();
15288 main ()
15290 return inet_aton ();
15292 return 0;
15294 _ACEOF
15295 for ac_lib in '' resolv; do
15296 if test -z "$ac_lib"; then
15297 ac_res="none required"
15298 else
15299 ac_res=-l$ac_lib
15300 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15302 if ac_fn_c_try_link "$LINENO"; then :
15303 ac_cv_search_inet_aton=$ac_res
15305 rm -f core conftest.err conftest.$ac_objext \
15306 conftest$ac_exeext
15307 if ${ac_cv_search_inet_aton+:} false; then :
15308 break
15310 done
15311 if ${ac_cv_search_inet_aton+:} false; then :
15313 else
15314 ac_cv_search_inet_aton=no
15316 rm conftest.$ac_ext
15317 LIBS=$ac_func_search_save_LIBS
15319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15320 $as_echo "$ac_cv_search_inet_aton" >&6; }
15321 ac_res=$ac_cv_search_inet_aton
15322 if test "$ac_res" != no; then :
15323 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15328 for ac_func in \
15329 getaddrinfo \
15330 getnameinfo \
15331 getnetbyname \
15332 getprotobyname \
15333 getprotobynumber \
15334 getservbyport \
15335 inet_addr \
15336 inet_network \
15337 inet_ntop \
15338 inet_pton \
15339 sendmsg \
15340 socketpair \
15342 do :
15343 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15344 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15345 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15346 cat >>confdefs.h <<_ACEOF
15347 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15348 _ACEOF
15351 done
15354 ac_save_LIBS=$LIBS
15355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15356 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15357 if ${ac_cv_search_clock_gettime+:} false; then :
15358 $as_echo_n "(cached) " >&6
15359 else
15360 ac_func_search_save_LIBS=$LIBS
15361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15362 /* end confdefs.h. */
15364 /* Override any GCC internal prototype to avoid an error.
15365 Use char because int might match the return type of a GCC
15366 builtin and then its argument prototype would still apply. */
15367 #ifdef __cplusplus
15368 extern "C"
15369 #endif
15370 char clock_gettime ();
15372 main ()
15374 return clock_gettime ();
15376 return 0;
15378 _ACEOF
15379 for ac_lib in '' rt; do
15380 if test -z "$ac_lib"; then
15381 ac_res="none required"
15382 else
15383 ac_res=-l$ac_lib
15384 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15386 if ac_fn_c_try_link "$LINENO"; then :
15387 ac_cv_search_clock_gettime=$ac_res
15389 rm -f core conftest.err conftest.$ac_objext \
15390 conftest$ac_exeext
15391 if ${ac_cv_search_clock_gettime+:} false; then :
15392 break
15394 done
15395 if ${ac_cv_search_clock_gettime+:} false; then :
15397 else
15398 ac_cv_search_clock_gettime=no
15400 rm conftest.$ac_ext
15401 LIBS=$ac_func_search_save_LIBS
15403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15404 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15405 ac_res=$ac_cv_search_clock_gettime
15406 if test "$ac_res" != no; then :
15407 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15409 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15411 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15415 LIBS=$ac_save_LIBS
15417 LDAP_LIBS=""
15419 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15420 then
15421 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15423 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15425 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15426 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15427 $as_echo_n "(cached) " >&6
15428 else
15429 ac_check_lib_save_LIBS=$LIBS
15430 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15432 /* end confdefs.h. */
15434 /* Override any GCC internal prototype to avoid an error.
15435 Use char because int might match the return type of a GCC
15436 builtin and then its argument prototype would still apply. */
15437 #ifdef __cplusplus
15438 extern "C"
15439 #endif
15440 char ldap_initialize ();
15442 main ()
15444 return ldap_initialize ();
15446 return 0;
15448 _ACEOF
15449 if ac_fn_c_try_link "$LINENO"; then :
15450 ac_cv_lib_ldap_r_ldap_initialize=yes
15451 else
15452 ac_cv_lib_ldap_r_ldap_initialize=no
15454 rm -f core conftest.err conftest.$ac_objext \
15455 conftest$ac_exeext conftest.$ac_ext
15456 LIBS=$ac_check_lib_save_LIBS
15458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15459 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15460 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15462 $as_echo_n "checking for ber_init in -llber... " >&6; }
15463 if ${ac_cv_lib_lber_ber_init+:} false; then :
15464 $as_echo_n "(cached) " >&6
15465 else
15466 ac_check_lib_save_LIBS=$LIBS
15467 LIBS="-llber $PTHREAD_LIBS $LIBS"
15468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15469 /* end confdefs.h. */
15471 /* Override any GCC internal prototype to avoid an error.
15472 Use char because int might match the return type of a GCC
15473 builtin and then its argument prototype would still apply. */
15474 #ifdef __cplusplus
15475 extern "C"
15476 #endif
15477 char ber_init ();
15479 main ()
15481 return ber_init ();
15483 return 0;
15485 _ACEOF
15486 if ac_fn_c_try_link "$LINENO"; then :
15487 ac_cv_lib_lber_ber_init=yes
15488 else
15489 ac_cv_lib_lber_ber_init=no
15491 rm -f core conftest.err conftest.$ac_objext \
15492 conftest$ac_exeext conftest.$ac_ext
15493 LIBS=$ac_check_lib_save_LIBS
15495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15496 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15497 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15499 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15501 LDAP_LIBS="-lldap_r -llber"
15508 ac_wine_check_funcs_save_LIBS="$LIBS"
15509 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15510 for ac_func in \
15511 ldap_count_references \
15512 ldap_first_reference \
15513 ldap_next_reference \
15514 ldap_parse_reference \
15515 ldap_parse_sort_control \
15516 ldap_parse_sortresponse_control \
15517 ldap_parse_vlv_control \
15518 ldap_parse_vlvresponse_control
15519 do :
15520 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15521 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15522 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15523 cat >>confdefs.h <<_ACEOF
15524 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15525 _ACEOF
15528 done
15530 LIBS="$ac_wine_check_funcs_save_LIBS"
15532 if test "x$LDAP_LIBS" = "x"; then :
15533 case "x$with_ldap" in
15534 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15535 xno) ;;
15536 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15537 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15538 esac
15541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15542 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15543 if ${wine_cv_one_arg_mkdir+:} false; then :
15544 $as_echo_n "(cached) " >&6
15545 else
15546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15547 /* end confdefs.h. */
15548 #include <sys/stat.h>
15550 main ()
15552 mkdir("foo");
15554 return 0;
15556 _ACEOF
15557 if ac_fn_c_try_compile "$LINENO"; then :
15558 wine_cv_one_arg_mkdir=yes
15559 else
15560 wine_cv_one_arg_mkdir=no
15562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15565 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15566 if test "$wine_cv_one_arg_mkdir" = "yes"
15567 then
15569 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15574 $as_echo_n "checking for sched_setaffinity... " >&6; }
15575 if ${wine_cv_have_sched_setaffinity+:} false; then :
15576 $as_echo_n "(cached) " >&6
15577 else
15578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15579 /* end confdefs.h. */
15580 #define _GNU_SOURCE
15581 #include <sched.h>
15583 main ()
15585 sched_setaffinity(0, 0, 0);
15587 return 0;
15589 _ACEOF
15590 if ac_fn_c_try_link "$LINENO"; then :
15591 wine_cv_have_sched_setaffinity=yes
15592 else
15593 wine_cv_have_sched_setaffinity=no
15595 rm -f core conftest.err conftest.$ac_objext \
15596 conftest$ac_exeext conftest.$ac_ext
15598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15599 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15600 if test "$wine_cv_have_sched_setaffinity" = "yes"
15601 then
15603 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15608 $as_echo_n "checking for fallocate... " >&6; }
15609 if ${wine_cv_have_fallocate+:} false; then :
15610 $as_echo_n "(cached) " >&6
15611 else
15612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15613 /* end confdefs.h. */
15614 #define _GNU_SOURCE
15615 #include <fcntl.h>
15617 main ()
15619 fallocate(-1, 0, 0, 0);
15621 return 0;
15623 _ACEOF
15624 if ac_fn_c_try_link "$LINENO"; then :
15625 wine_cv_have_fallocate=yes
15626 else
15627 wine_cv_have_fallocate=no
15629 rm -f core conftest.err conftest.$ac_objext \
15630 conftest$ac_exeext conftest.$ac_ext
15632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15633 $as_echo "$wine_cv_have_fallocate" >&6; }
15634 if test "$wine_cv_have_fallocate" = "yes"
15635 then
15637 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15643 $as_echo_n "checking for inline... " >&6; }
15644 if ${ac_cv_c_inline+:} false; then :
15645 $as_echo_n "(cached) " >&6
15646 else
15647 ac_cv_c_inline=no
15648 for ac_kw in inline __inline__ __inline; do
15649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15650 /* end confdefs.h. */
15651 #ifndef __cplusplus
15652 typedef int foo_t;
15653 static $ac_kw foo_t static_foo () {return 0; }
15654 $ac_kw foo_t foo () {return 0; }
15655 #endif
15657 _ACEOF
15658 if ac_fn_c_try_compile "$LINENO"; then :
15659 ac_cv_c_inline=$ac_kw
15661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15662 test "$ac_cv_c_inline" != no && break
15663 done
15666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15667 $as_echo "$ac_cv_c_inline" >&6; }
15669 case $ac_cv_c_inline in
15670 inline | yes) ;;
15672 case $ac_cv_c_inline in
15673 no) ac_val=;;
15674 *) ac_val=$ac_cv_c_inline;;
15675 esac
15676 cat >>confdefs.h <<_ACEOF
15677 #ifndef __cplusplus
15678 #define inline $ac_val
15679 #endif
15680 _ACEOF
15682 esac
15684 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15685 if test "x$ac_cv_type_mode_t" = xyes; then :
15687 cat >>confdefs.h <<_ACEOF
15688 #define HAVE_MODE_T 1
15689 _ACEOF
15693 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15694 if test "x$ac_cv_type_off_t" = xyes; then :
15696 cat >>confdefs.h <<_ACEOF
15697 #define HAVE_OFF_T 1
15698 _ACEOF
15702 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15703 if test "x$ac_cv_type_pid_t" = xyes; then :
15705 cat >>confdefs.h <<_ACEOF
15706 #define HAVE_PID_T 1
15707 _ACEOF
15711 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15712 if test "x$ac_cv_type_size_t" = xyes; then :
15714 cat >>confdefs.h <<_ACEOF
15715 #define HAVE_SIZE_T 1
15716 _ACEOF
15720 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15721 if test "x$ac_cv_type_ssize_t" = xyes; then :
15723 cat >>confdefs.h <<_ACEOF
15724 #define HAVE_SSIZE_T 1
15725 _ACEOF
15729 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15730 if test "x$ac_cv_type_long_long" = xyes; then :
15732 cat >>confdefs.h <<_ACEOF
15733 #define HAVE_LONG_LONG 1
15734 _ACEOF
15738 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15739 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15741 cat >>confdefs.h <<_ACEOF
15742 #define HAVE_FSBLKCNT_T 1
15743 _ACEOF
15747 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15748 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15750 cat >>confdefs.h <<_ACEOF
15751 #define HAVE_FSFILCNT_T 1
15752 _ACEOF
15757 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15758 #include <signal.h>
15760 if test "x$ac_cv_type_sigset_t" = xyes; then :
15762 cat >>confdefs.h <<_ACEOF
15763 #define HAVE_SIGSET_T 1
15764 _ACEOF
15769 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15771 if test "x$ac_cv_type_request_sense" = xyes; then :
15773 cat >>confdefs.h <<_ACEOF
15774 #define HAVE_REQUEST_SENSE 1
15775 _ACEOF
15781 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15782 #ifdef HAVE_SYS_SOCKET_H
15783 #include <sys/socket.h>
15784 #endif
15785 #ifdef HAVE_SYS_SOCKETVAR_H
15786 #include <sys/socketvar.h>
15787 #endif
15788 #ifdef HAVE_NET_ROUTE_H
15789 #include <net/route.h>
15790 #endif
15791 #ifdef HAVE_NETINET_IN_H
15792 #include <netinet/in.h>
15793 #endif
15794 #ifdef HAVE_NETINET_IN_SYSTM_H
15795 #include <netinet/in_systm.h>
15796 #endif
15797 #ifdef HAVE_NETINET_IP_H
15798 #include <netinet/ip.h>
15799 #endif
15800 #ifdef HAVE_NETINET_IN_PCB_H
15801 #include <netinet/in_pcb.h>
15802 #endif
15804 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15806 cat >>confdefs.h <<_ACEOF
15807 #define HAVE_STRUCT_XINPGEN 1
15808 _ACEOF
15814 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15815 #include <link.h>
15816 #endif
15817 #ifdef HAVE_SYS_LINK_H
15818 #include <sys/link.h>
15819 #endif
15821 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15823 cat >>confdefs.h <<_ACEOF
15824 #define HAVE_STRUCT_R_DEBUG 1
15825 _ACEOF
15829 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15830 #include <link.h>
15831 #endif
15832 #ifdef HAVE_SYS_LINK_H
15833 #include <sys/link.h>
15834 #endif
15836 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15838 cat >>confdefs.h <<_ACEOF
15839 #define HAVE_STRUCT_LINK_MAP 1
15840 _ACEOF
15846 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15847 #include <linux/input.h>
15848 #endif
15850 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15852 cat >>confdefs.h <<_ACEOF
15853 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15854 _ACEOF
15860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15861 $as_echo_n "checking for sigaddset... " >&6; }
15862 if ${wine_cv_have_sigaddset+:} false; then :
15863 $as_echo_n "(cached) " >&6
15864 else
15865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15866 /* end confdefs.h. */
15867 #include <signal.h>
15869 main ()
15871 sigset_t set; sigaddset(&set,SIGTERM);
15873 return 0;
15875 _ACEOF
15876 if ac_fn_c_try_link "$LINENO"; then :
15877 wine_cv_have_sigaddset=yes
15878 else
15879 wine_cv_have_sigaddset=no
15881 rm -f core conftest.err conftest.$ac_objext \
15882 conftest$ac_exeext conftest.$ac_ext
15884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15885 $as_echo "$wine_cv_have_sigaddset" >&6; }
15886 if test "$wine_cv_have_sigaddset" = "yes"
15887 then
15889 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15895 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15896 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15897 $as_echo_n "(cached) " >&6
15898 else
15899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15900 /* end confdefs.h. */
15901 #include <netdb.h>
15903 main ()
15906 char *name=0;
15907 struct hostent he;
15908 struct hostent *result;
15909 char *buf=0;
15910 int bufsize=0;
15911 int errnr;
15912 char *addr=0;
15913 int addrlen=0;
15914 int addrtype=0;
15915 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15916 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15919 return 0;
15921 _ACEOF
15922 if ac_fn_c_try_link "$LINENO"; then :
15923 wine_cv_linux_gethostbyname_r_6=yes
15924 else
15925 wine_cv_linux_gethostbyname_r_6=no
15928 rm -f core conftest.err conftest.$ac_objext \
15929 conftest$ac_exeext conftest.$ac_ext
15932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15933 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15934 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15935 then
15937 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15941 if test "$ac_cv_header_linux_joystick_h" = "yes"
15942 then
15943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15944 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15945 if ${wine_cv_linux_joystick_22_api+:} false; then :
15946 $as_echo_n "(cached) " >&6
15947 else
15948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15949 /* end confdefs.h. */
15951 #include <sys/ioctl.h>
15952 #include <sys/types.h>
15953 #include <linux/joystick.h>
15955 struct js_event blub;
15956 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15957 #error "no 2.2 header"
15958 #endif
15961 main ()
15963 /*empty*/
15965 return 0;
15967 _ACEOF
15968 if ac_fn_c_try_compile "$LINENO"; then :
15969 wine_cv_linux_joystick_22_api=yes
15970 else
15971 wine_cv_linux_joystick_22_api=no
15973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15977 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15978 if test "$wine_cv_linux_joystick_22_api" = "yes"
15979 then
15981 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15987 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15988 #ifdef HAVE_SYS_PARAM_H
15989 # include <sys/param.h>
15990 #endif
15991 #ifdef HAVE_SYS_MOUNT_H
15992 # include <sys/mount.h>
15993 #endif
15994 #ifdef HAVE_SYS_VFS_H
15995 # include <sys/vfs.h>
15996 #endif
15997 #ifdef HAVE_SYS_STATFS_H
15998 # include <sys/statfs.h>
15999 #endif
16001 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16003 cat >>confdefs.h <<_ACEOF
16004 #define HAVE_STRUCT_STATFS_F_BFREE 1
16005 _ACEOF
16009 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16010 #ifdef HAVE_SYS_PARAM_H
16011 # include <sys/param.h>
16012 #endif
16013 #ifdef HAVE_SYS_MOUNT_H
16014 # include <sys/mount.h>
16015 #endif
16016 #ifdef HAVE_SYS_VFS_H
16017 # include <sys/vfs.h>
16018 #endif
16019 #ifdef HAVE_SYS_STATFS_H
16020 # include <sys/statfs.h>
16021 #endif
16023 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16025 cat >>confdefs.h <<_ACEOF
16026 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16027 _ACEOF
16031 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16032 #ifdef HAVE_SYS_PARAM_H
16033 # include <sys/param.h>
16034 #endif
16035 #ifdef HAVE_SYS_MOUNT_H
16036 # include <sys/mount.h>
16037 #endif
16038 #ifdef HAVE_SYS_VFS_H
16039 # include <sys/vfs.h>
16040 #endif
16041 #ifdef HAVE_SYS_STATFS_H
16042 # include <sys/statfs.h>
16043 #endif
16045 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16047 cat >>confdefs.h <<_ACEOF
16048 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16049 _ACEOF
16053 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16054 #ifdef HAVE_SYS_PARAM_H
16055 # include <sys/param.h>
16056 #endif
16057 #ifdef HAVE_SYS_MOUNT_H
16058 # include <sys/mount.h>
16059 #endif
16060 #ifdef HAVE_SYS_VFS_H
16061 # include <sys/vfs.h>
16062 #endif
16063 #ifdef HAVE_SYS_STATFS_H
16064 # include <sys/statfs.h>
16065 #endif
16067 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16069 cat >>confdefs.h <<_ACEOF
16070 #define HAVE_STRUCT_STATFS_F_FFREE 1
16071 _ACEOF
16075 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16076 #ifdef HAVE_SYS_PARAM_H
16077 # include <sys/param.h>
16078 #endif
16079 #ifdef HAVE_SYS_MOUNT_H
16080 # include <sys/mount.h>
16081 #endif
16082 #ifdef HAVE_SYS_VFS_H
16083 # include <sys/vfs.h>
16084 #endif
16085 #ifdef HAVE_SYS_STATFS_H
16086 # include <sys/statfs.h>
16087 #endif
16089 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16091 cat >>confdefs.h <<_ACEOF
16092 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16093 _ACEOF
16097 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16098 #ifdef HAVE_SYS_PARAM_H
16099 # include <sys/param.h>
16100 #endif
16101 #ifdef HAVE_SYS_MOUNT_H
16102 # include <sys/mount.h>
16103 #endif
16104 #ifdef HAVE_SYS_VFS_H
16105 # include <sys/vfs.h>
16106 #endif
16107 #ifdef HAVE_SYS_STATFS_H
16108 # include <sys/statfs.h>
16109 #endif
16111 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16113 cat >>confdefs.h <<_ACEOF
16114 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16115 _ACEOF
16121 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16122 #include <sys/statvfs.h>
16123 #endif
16125 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16127 cat >>confdefs.h <<_ACEOF
16128 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16129 _ACEOF
16135 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16136 #include <dirent.h>
16137 #endif
16139 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16141 cat >>confdefs.h <<_ACEOF
16142 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16143 _ACEOF
16149 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16150 #ifdef HAVE_SYS_SOCKET_H
16151 # include <sys/socket.h>
16152 #endif
16153 #ifdef HAVE_SYS_UN_H
16154 # include <sys/un.h>
16155 #endif
16157 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16159 cat >>confdefs.h <<_ACEOF
16160 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16161 _ACEOF
16165 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16166 #ifdef HAVE_SYS_SOCKET_H
16167 # include <sys/socket.h>
16168 #endif
16169 #ifdef HAVE_SYS_UN_H
16170 # include <sys/un.h>
16171 #endif
16173 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16175 cat >>confdefs.h <<_ACEOF
16176 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16177 _ACEOF
16181 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16182 #ifdef HAVE_SYS_SOCKET_H
16183 # include <sys/socket.h>
16184 #endif
16185 #ifdef HAVE_SYS_UN_H
16186 # include <sys/un.h>
16187 #endif
16189 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16191 cat >>confdefs.h <<_ACEOF
16192 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16193 _ACEOF
16199 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16200 #ifdef HAVE_SCSI_SG_H
16201 #include <scsi/sg.h>
16202 #endif
16204 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16206 cat >>confdefs.h <<_ACEOF
16207 #define HAVE_SCSIREQ_T_CMD 1
16208 _ACEOF
16212 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>
16213 #ifdef HAVE_SCSI_SG_H
16214 #include <scsi/sg.h>
16215 #endif
16217 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16219 cat >>confdefs.h <<_ACEOF
16220 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16221 _ACEOF
16227 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16229 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16231 cat >>confdefs.h <<_ACEOF
16232 #define HAVE_SIGINFO_T_SI_FD 1
16233 _ACEOF
16239 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16240 #ifdef HAVE_SYS_MTIO_H
16241 #include <sys/mtio.h>
16242 #endif
16244 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16246 cat >>confdefs.h <<_ACEOF
16247 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16248 _ACEOF
16252 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16253 #ifdef HAVE_SYS_MTIO_H
16254 #include <sys/mtio.h>
16255 #endif
16257 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16259 cat >>confdefs.h <<_ACEOF
16260 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16261 _ACEOF
16265 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16266 #ifdef HAVE_SYS_MTIO_H
16267 #include <sys/mtio.h>
16268 #endif
16270 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16272 cat >>confdefs.h <<_ACEOF
16273 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16274 _ACEOF
16280 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16281 #include <getopt.h>
16282 #endif
16284 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16286 cat >>confdefs.h <<_ACEOF
16287 #define HAVE_STRUCT_OPTION_NAME 1
16288 _ACEOF
16294 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16295 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16297 cat >>confdefs.h <<_ACEOF
16298 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16299 _ACEOF
16303 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16304 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16306 cat >>confdefs.h <<_ACEOF
16307 #define HAVE_STRUCT_STAT_ST_MTIM 1
16308 _ACEOF
16312 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16313 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16315 cat >>confdefs.h <<_ACEOF
16316 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16317 _ACEOF
16321 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16322 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16324 cat >>confdefs.h <<_ACEOF
16325 #define HAVE_STRUCT_STAT_ST_CTIM 1
16326 _ACEOF
16330 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16331 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16333 cat >>confdefs.h <<_ACEOF
16334 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16335 _ACEOF
16339 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16340 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16342 cat >>confdefs.h <<_ACEOF
16343 #define HAVE_STRUCT_STAT_ST_ATIM 1
16344 _ACEOF
16348 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16349 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16351 cat >>confdefs.h <<_ACEOF
16352 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16353 _ACEOF
16357 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16358 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16360 cat >>confdefs.h <<_ACEOF
16361 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16362 _ACEOF
16366 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16367 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16369 cat >>confdefs.h <<_ACEOF
16370 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16371 _ACEOF
16375 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16376 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16378 cat >>confdefs.h <<_ACEOF
16379 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16380 _ACEOF
16384 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16385 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16387 cat >>confdefs.h <<_ACEOF
16388 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16389 _ACEOF
16393 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16394 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16396 cat >>confdefs.h <<_ACEOF
16397 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16398 _ACEOF
16404 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
16405 #include <sys/types.h>
16406 #endif
16407 #ifdef HAVE_NETINET_IN_H
16408 #include <netinet/in.h>
16409 #endif
16411 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16413 cat >>confdefs.h <<_ACEOF
16414 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16415 _ACEOF
16421 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16422 #include <resolv.h>
16423 #endif
16425 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16427 cat >>confdefs.h <<_ACEOF
16428 #define HAVE_STRUCT___RES_STATE 1
16429 _ACEOF
16435 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
16436 #include <resolv.h>
16437 #endif
16439 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16441 cat >>confdefs.h <<_ACEOF
16442 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16443 _ACEOF
16449 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16450 #include <sys/types.h>
16451 #endif
16452 #ifdef HAVE_NETINET_IN_H
16453 # include <netinet/in.h>
16454 #endif
16455 #ifdef HAVE_ARPA_NAMESER_H
16456 # include <arpa/nameser.h>
16457 #endif
16459 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16461 cat >>confdefs.h <<_ACEOF
16462 #define HAVE_NS_MSG__MSG_PTR 1
16463 _ACEOF
16469 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16470 #include <sys/types.h>
16471 #endif
16472 #ifdef HAVE_NETINET_IP_H
16473 #include <netinet/ip.h>
16474 #endif
16475 #ifdef HAVE_NETINET_IP_ICMP_H
16476 #include <netinet/ip_icmp.h>
16477 #endif
16478 #ifdef HAVE_NETINET_ICMP_VAR_H
16479 #include <netinet/icmp_var.h>
16480 #endif
16482 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16484 cat >>confdefs.h <<_ACEOF
16485 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16486 _ACEOF
16492 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16493 #include <sys/types.h>
16494 #endif
16495 #ifdef HAVE_ALIAS_H
16496 #include <alias.h>
16497 #endif
16498 #ifdef HAVE_SYS_SOCKET_H
16499 #include <sys/socket.h>
16500 #endif
16501 #ifdef HAVE_SYS_SOCKETVAR_H
16502 #include <sys/socketvar.h>
16503 #endif
16504 #ifdef HAVE_SYS_TIMEOUT_H
16505 #include <sys/timeout.h>
16506 #endif
16507 #ifdef HAVE_NETINET_IN_H
16508 #include <netinet/in.h>
16509 #endif
16510 #ifdef HAVE_NETINET_IN_SYSTM_H
16511 #include <netinet/in_systm.h>
16512 #endif
16513 #ifdef HAVE_NETINET_IP_H
16514 #include <netinet/ip.h>
16515 #endif
16516 #ifdef HAVE_NETINET_IP_VAR_H
16517 #include <netinet/ip_var.h>
16518 #endif
16519 #ifdef HAVE_NETINET_IP_ICMP_H
16520 #include <netinet/ip_icmp.h>
16521 #endif
16522 #ifdef HAVE_NETINET_ICMP_VAR_H
16523 #include <netinet/icmp_var.h>
16524 #endif
16526 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16528 cat >>confdefs.h <<_ACEOF
16529 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16530 _ACEOF
16536 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16537 #include <sys/types.h>
16538 #endif
16539 #ifdef HAVE_SYS_SOCKETVAR_H
16540 #include <sys/socketvar.h>
16541 #endif
16542 #ifdef HAVE_NETINET_IN_H
16543 #include <netinet/in.h>
16544 #endif
16545 #ifdef HAVE_NETINET_IP_VAR_H
16546 #include <netinet/ip_var.h>
16547 #endif
16549 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16551 cat >>confdefs.h <<_ACEOF
16552 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16553 _ACEOF
16559 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
16560 #include <netinet/ip_var.h>
16561 #endif
16563 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16565 cat >>confdefs.h <<_ACEOF
16566 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16567 _ACEOF
16573 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16574 #include <sys/types.h>
16575 #endif
16576 #ifdef HAVE_SYS_SOCKETVAR_H
16577 #include <sys/socketvar.h>
16578 #endif
16579 #ifdef HAVE_NETINET_IN_H
16580 #include <netinet/in.h>
16581 #endif
16582 #ifdef HAVE_NETINET_TCP_H
16583 #include <netinet/tcp.h>
16584 #endif
16585 #ifdef HAVE_NETINET_TCP_VAR_H
16586 #include <netinet/tcp_var.h>
16587 #endif
16589 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16591 cat >>confdefs.h <<_ACEOF
16592 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16593 _ACEOF
16599 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
16600 #include <netinet/tcp_var.h>
16601 #endif
16603 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16605 cat >>confdefs.h <<_ACEOF
16606 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16607 _ACEOF
16613 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16614 #include <sys/types.h>
16615 #endif
16616 #ifdef HAVE_NETINET_IN_H
16617 #include <netinet/in.h>
16618 #endif
16619 #ifdef HAVE_NETINET_IP_VAR_H
16620 #include <netinet/ip_var.h>
16621 #endif
16622 #ifdef HAVE_NETINET_UDP_H
16623 #include <netinet/udp.h>
16624 #endif
16625 #ifdef HAVE_NETINET_UDP_VAR_H
16626 #include <netinet/udp_var.h>
16627 #endif
16629 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16631 cat >>confdefs.h <<_ACEOF
16632 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16633 _ACEOF
16639 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16640 #include <sys/types.h>
16641 #endif
16642 #ifdef HAVE_NET_IF_H
16643 # include <net/if.h>
16644 #endif
16646 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16648 cat >>confdefs.h <<_ACEOF
16649 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16650 _ACEOF
16656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16657 $as_echo_n "checking for timezone variable... " >&6; }
16658 if ${ac_cv_have_timezone+:} false; then :
16659 $as_echo_n "(cached) " >&6
16660 else
16661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16662 /* end confdefs.h. */
16663 #include <time.h>
16665 main ()
16667 timezone = 1
16669 return 0;
16671 _ACEOF
16672 if ac_fn_c_try_link "$LINENO"; then :
16673 ac_cv_have_timezone="yes"
16674 else
16675 ac_cv_have_timezone="no"
16677 rm -f core conftest.err conftest.$ac_objext \
16678 conftest$ac_exeext conftest.$ac_ext
16680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16681 $as_echo "$ac_cv_have_timezone" >&6; }
16682 if test "$ac_cv_have_timezone" = "yes"
16683 then
16685 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16689 $as_echo_n "checking for daylight variable... " >&6; }
16690 if ${ac_cv_have_daylight+:} false; then :
16691 $as_echo_n "(cached) " >&6
16692 else
16693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16694 /* end confdefs.h. */
16695 #include <time.h>
16697 main ()
16699 daylight = 1
16701 return 0;
16703 _ACEOF
16704 if ac_fn_c_try_link "$LINENO"; then :
16705 ac_cv_have_daylight="yes"
16706 else
16707 ac_cv_have_daylight="no"
16709 rm -f core conftest.err conftest.$ac_objext \
16710 conftest$ac_exeext conftest.$ac_ext
16712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16713 $as_echo "$ac_cv_have_daylight" >&6; }
16714 if test "$ac_cv_have_daylight" = "yes"
16715 then
16717 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16721 ac_save_LIBS="$LIBS"
16722 LIBS="$LIBS -lm"
16723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16724 $as_echo_n "checking for isfinite... " >&6; }
16725 if ${ac_cv_have_isfinite+:} false; then :
16726 $as_echo_n "(cached) " >&6
16727 else
16728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16729 /* end confdefs.h. */
16730 #define _GNU_SOURCE
16731 #include <math.h>
16733 main ()
16735 float f = 0.0; return isfinite(f)
16737 return 0;
16739 _ACEOF
16740 if ac_fn_c_try_link "$LINENO"; then :
16741 ac_cv_have_isfinite="yes"
16742 else
16743 ac_cv_have_isfinite="no"
16745 rm -f core conftest.err conftest.$ac_objext \
16746 conftest$ac_exeext conftest.$ac_ext
16748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16749 $as_echo "$ac_cv_have_isfinite" >&6; }
16750 if test "$ac_cv_have_isfinite" = "yes"
16751 then
16753 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16758 $as_echo_n "checking for isinf... " >&6; }
16759 if ${ac_cv_have_isinf+:} false; then :
16760 $as_echo_n "(cached) " >&6
16761 else
16762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16763 /* end confdefs.h. */
16764 #include <math.h>
16766 main ()
16768 float f = 0.0; return isinf(f)
16770 return 0;
16772 _ACEOF
16773 if ac_fn_c_try_link "$LINENO"; then :
16774 ac_cv_have_isinf="yes"
16775 else
16776 ac_cv_have_isinf="no"
16778 rm -f core conftest.err conftest.$ac_objext \
16779 conftest$ac_exeext conftest.$ac_ext
16781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16782 $as_echo "$ac_cv_have_isinf" >&6; }
16783 if test "$ac_cv_have_isinf" = "yes"
16784 then
16786 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16791 $as_echo_n "checking for isnan... " >&6; }
16792 if ${ac_cv_have_isnan+:} false; then :
16793 $as_echo_n "(cached) " >&6
16794 else
16795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16796 /* end confdefs.h. */
16797 #include <math.h>
16799 main ()
16801 float f = 0.0; return isnan(f)
16803 return 0;
16805 _ACEOF
16806 if ac_fn_c_try_link "$LINENO"; then :
16807 ac_cv_have_isnan="yes"
16808 else
16809 ac_cv_have_isnan="no"
16811 rm -f core conftest.err conftest.$ac_objext \
16812 conftest$ac_exeext conftest.$ac_ext
16814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16815 $as_echo "$ac_cv_have_isnan" >&6; }
16816 if test "$ac_cv_have_isnan" = "yes"
16817 then
16819 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16823 for ac_func in \
16824 cbrt \
16825 cbrtf \
16826 erf \
16827 erff \
16828 exp2 \
16829 exp2f \
16830 llrint \
16831 llrintf \
16832 llround \
16833 llroundf \
16834 log2 \
16835 log2f \
16836 lrint \
16837 lrintf \
16838 lround \
16839 lroundf \
16840 rint \
16841 rintf \
16842 round \
16843 roundf \
16844 trunc \
16845 truncf
16847 do :
16848 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16849 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16850 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16851 cat >>confdefs.h <<_ACEOF
16852 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16853 _ACEOF
16856 done
16858 LIBS="$ac_save_LIBS"
16860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16861 $as_echo_n "checking for __builtin_clz... " >&6; }
16862 if ${ac_cv_have___builtin_clz+:} false; then :
16863 $as_echo_n "(cached) " >&6
16864 else
16865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16866 /* end confdefs.h. */
16869 main ()
16871 return __builtin_clz(1)
16873 return 0;
16875 _ACEOF
16876 if ac_fn_c_try_link "$LINENO"; then :
16877 ac_cv_have___builtin_clz="yes"
16878 else
16879 ac_cv_have___builtin_clz="no"
16881 rm -f core conftest.err conftest.$ac_objext \
16882 conftest$ac_exeext conftest.$ac_ext
16884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16885 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16886 if test "$ac_cv_have___builtin_clz" = "yes"
16887 then
16889 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16894 case $host_cpu in
16895 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16896 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16897 if ${ac_cv_cpp_def___i386__+:} false; then :
16898 $as_echo_n "(cached) " >&6
16899 else
16900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16901 /* end confdefs.h. */
16902 #ifndef __i386__
16904 #endif
16905 _ACEOF
16906 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16907 $EGREP "yes" >/dev/null 2>&1; then :
16908 ac_cv_cpp_def___i386__=yes
16909 else
16910 ac_cv_cpp_def___i386__=no
16912 rm -f conftest*
16915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16916 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16917 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16918 CFLAGS="$CFLAGS -D__i386__"
16919 LINTFLAGS="$LINTFLAGS -D__i386__"
16920 fi ;;
16921 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16922 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16923 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16924 $as_echo_n "(cached) " >&6
16925 else
16926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16927 /* end confdefs.h. */
16928 #ifndef __x86_64__
16930 #endif
16931 _ACEOF
16932 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16933 $EGREP "yes" >/dev/null 2>&1; then :
16934 ac_cv_cpp_def___x86_64__=yes
16935 else
16936 ac_cv_cpp_def___x86_64__=no
16938 rm -f conftest*
16941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16942 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16943 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16944 CFLAGS="$CFLAGS -D__x86_64__"
16945 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16946 fi ;;
16947 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16948 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16949 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16950 $as_echo_n "(cached) " >&6
16951 else
16952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16953 /* end confdefs.h. */
16954 #ifndef __sparc64__
16956 #endif
16957 _ACEOF
16958 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16959 $EGREP "yes" >/dev/null 2>&1; then :
16960 ac_cv_cpp_def___sparc64__=yes
16961 else
16962 ac_cv_cpp_def___sparc64__=no
16964 rm -f conftest*
16967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16968 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16969 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16970 CFLAGS="$CFLAGS -D__sparc64__"
16971 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16972 fi ;;
16973 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16974 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16975 if ${ac_cv_cpp_def___sparc__+:} false; then :
16976 $as_echo_n "(cached) " >&6
16977 else
16978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16979 /* end confdefs.h. */
16980 #ifndef __sparc__
16982 #endif
16983 _ACEOF
16984 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16985 $EGREP "yes" >/dev/null 2>&1; then :
16986 ac_cv_cpp_def___sparc__=yes
16987 else
16988 ac_cv_cpp_def___sparc__=no
16990 rm -f conftest*
16993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16994 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16995 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16996 CFLAGS="$CFLAGS -D__sparc__"
16997 LINTFLAGS="$LINTFLAGS -D__sparc__"
16998 fi ;;
16999 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17000 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17001 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17002 $as_echo_n "(cached) " >&6
17003 else
17004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17005 /* end confdefs.h. */
17006 #ifndef __powerpc64__
17008 #endif
17009 _ACEOF
17010 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17011 $EGREP "yes" >/dev/null 2>&1; then :
17012 ac_cv_cpp_def___powerpc64__=yes
17013 else
17014 ac_cv_cpp_def___powerpc64__=no
17016 rm -f conftest*
17019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17020 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17021 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17022 CFLAGS="$CFLAGS -D__powerpc64__"
17023 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17024 fi ;;
17025 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17026 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17027 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17028 $as_echo_n "(cached) " >&6
17029 else
17030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17031 /* end confdefs.h. */
17032 #ifndef __powerpc__
17034 #endif
17035 _ACEOF
17036 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17037 $EGREP "yes" >/dev/null 2>&1; then :
17038 ac_cv_cpp_def___powerpc__=yes
17039 else
17040 ac_cv_cpp_def___powerpc__=no
17042 rm -f conftest*
17045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17046 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17047 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17048 CFLAGS="$CFLAGS -D__powerpc__"
17049 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17050 fi ;;
17051 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17052 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17053 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17054 $as_echo_n "(cached) " >&6
17055 else
17056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17057 /* end confdefs.h. */
17058 #ifndef __aarch64__
17060 #endif
17061 _ACEOF
17062 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17063 $EGREP "yes" >/dev/null 2>&1; then :
17064 ac_cv_cpp_def___aarch64__=yes
17065 else
17066 ac_cv_cpp_def___aarch64__=no
17068 rm -f conftest*
17071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17072 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17073 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17074 CFLAGS="$CFLAGS -D__aarch64__"
17075 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17076 fi ;;
17077 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17078 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17079 if ${ac_cv_cpp_def___arm__+:} false; then :
17080 $as_echo_n "(cached) " >&6
17081 else
17082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17083 /* end confdefs.h. */
17084 #ifndef __arm__
17086 #endif
17087 _ACEOF
17088 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17089 $EGREP "yes" >/dev/null 2>&1; then :
17090 ac_cv_cpp_def___arm__=yes
17091 else
17092 ac_cv_cpp_def___arm__=no
17094 rm -f conftest*
17097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17098 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17099 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17100 CFLAGS="$CFLAGS -D__arm__"
17101 LINTFLAGS="$LINTFLAGS -D__arm__"
17102 fi ;;
17103 esac
17105 case $host_vendor in
17106 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17107 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17108 if ${ac_cv_cpp_def___sun__+:} false; then :
17109 $as_echo_n "(cached) " >&6
17110 else
17111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17112 /* end confdefs.h. */
17113 #ifndef __sun__
17115 #endif
17116 _ACEOF
17117 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17118 $EGREP "yes" >/dev/null 2>&1; then :
17119 ac_cv_cpp_def___sun__=yes
17120 else
17121 ac_cv_cpp_def___sun__=no
17123 rm -f conftest*
17126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17127 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17128 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17129 CFLAGS="$CFLAGS -D__sun__"
17130 LINTFLAGS="$LINTFLAGS -D__sun__"
17131 fi ;;
17132 esac
17138 ac_config_commands="$ac_config_commands include/stamp-h"
17140 $as_echo_n "creating Makefile rules..." >&6
17142 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17143 SOCKET_LIBS = $SOCKET_LIBS
17144 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17145 IOKIT_LIBS = $IOKIT_LIBS
17146 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17147 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17148 CORESERVICES_LIBS = $CORESERVICES_LIBS
17149 APPKIT_LIBS = $APPKIT_LIBS
17150 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17151 SECURITY_LIBS = $SECURITY_LIBS
17152 COREAUDIO_LIBS = $COREAUDIO_LIBS
17153 OPENAL_LIBS = $OPENAL_LIBS
17154 OPENCL_LIBS = $OPENCL_LIBS
17155 QUICKTIME_LIBS = $QUICKTIME_LIBS
17156 CARBON_LIBS = $CARBON_LIBS
17157 PTHREAD_LIBS = $PTHREAD_LIBS
17158 X_CFLAGS = $X_CFLAGS
17159 X_PRE_LIBS = $X_PRE_LIBS
17160 X_LIBS = $X_LIBS
17161 X_EXTRA_LIBS = $X_EXTRA_LIBS
17162 PCAP_LIBS = $PCAP_LIBS
17163 XML2_CFLAGS = $XML2_CFLAGS
17164 XML2_LIBS = $XML2_LIBS
17165 XSLT_CFLAGS = $XSLT_CFLAGS
17166 XSLT_LIBS = $XSLT_LIBS
17167 DBUS_CFLAGS = $DBUS_CFLAGS
17168 DBUS_LIBS = $DBUS_LIBS
17169 HAL_CFLAGS = $HAL_CFLAGS
17170 HAL_LIBS = $HAL_LIBS
17171 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17172 GNUTLS_LIBS = $GNUTLS_LIBS
17173 SANE_CFLAGS = $SANE_CFLAGS
17174 SANE_LIBS = $SANE_LIBS
17175 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17176 GPHOTO2_LIBS = $GPHOTO2_LIBS
17177 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17178 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17179 RESOLV_LIBS = $RESOLV_LIBS
17180 LCMS2_CFLAGS = $LCMS2_CFLAGS
17181 LCMS2_LIBS = $LCMS2_LIBS
17182 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17183 FREETYPE_LIBS = $FREETYPE_LIBS
17184 Z_LIBS = $Z_LIBS
17185 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17186 PULSE_CFLAGS = $PULSE_CFLAGS
17187 PULSE_LIBS = $PULSE_LIBS
17188 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17189 GSTREAMER_LIBS = $GSTREAMER_LIBS
17190 ALSA_LIBS = $ALSA_LIBS
17191 OSS4_CFLAGS = $OSS4_CFLAGS
17192 CAPI20_CFLAGS = $CAPI20_CFLAGS
17193 CAPI20_LIBS = $CAPI20_LIBS
17194 CUPS_CFLAGS = $CUPS_CFLAGS
17195 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17196 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17197 JPEG_CFLAGS = $JPEG_CFLAGS
17198 JPEG_LIBS = $JPEG_LIBS
17199 PNG_CFLAGS = $PNG_CFLAGS
17200 PNG_LIBS = $PNG_LIBS
17201 TIFF_CFLAGS = $TIFF_CFLAGS
17202 TIFF_LIBS = $TIFF_LIBS
17203 MPG123_CFLAGS = $MPG123_CFLAGS
17204 MPG123_LIBS = $MPG123_LIBS
17205 KSTAT_LIBS = $KSTAT_LIBS
17206 PROCSTAT_LIBS = $PROCSTAT_LIBS
17207 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17208 DL_LIBS = $DL_LIBS
17209 POLL_LIBS = $POLL_LIBS
17210 RT_LIBS = $RT_LIBS
17211 LDAP_LIBS = $LDAP_LIBS
17216 wine_fn_append_rule "
17217 # Rules automatically generated by configure
17219 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17221 .INIT: Makefile
17222 .MAKEFILEDEPS:
17223 all: Makefile
17224 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17225 @./config.status Make.tmp Makefile"
17227 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
17228 .gitignore: config.status
17229 @./config.status .gitignore"
17231 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17232 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17234 if test "x$enable_fonts" != xno; then
17235 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17236 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17237 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17238 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17239 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17240 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17242 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17243 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17244 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
17245 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
17246 ac_config_links="$ac_config_links wine:tools/winewrapper"
17247 wine_fn_config_symlink wine
17248 if test "x$enable_win64" != xno; then
17249 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17250 wine_fn_config_symlink wine64
17253 wine_fn_config_dll acledit enable_acledit
17254 wine_fn_config_dll aclui enable_aclui implib
17255 wine_fn_config_dll activeds enable_activeds implib
17256 wine_fn_config_dll actxprxy enable_actxprxy clean
17257 wine_fn_config_lib adsiid
17258 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17259 wine_fn_config_test dlls/advapi32/tests advapi32_test
17260 wine_fn_config_dll advpack enable_advpack implib
17261 wine_fn_config_test dlls/advpack/tests advpack_test
17262 wine_fn_config_dll amstream enable_amstream clean
17263 wine_fn_config_test dlls/amstream/tests amstream_test
17264 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17265 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17266 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17267 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17268 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17269 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17270 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17271 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17272 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17273 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17274 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17275 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17276 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17277 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17278 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17279 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17280 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17281 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17282 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17283 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17284 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17285 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17286 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17287 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17288 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17289 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17290 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17291 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17292 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17293 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17294 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17295 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17296 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17297 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17298 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17299 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17300 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17301 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17302 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17303 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17304 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17305 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17306 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17307 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17308 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17309 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17310 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17311 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17312 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17313 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17314 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17315 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17316 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17317 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17318 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17319 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17320 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17321 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17322 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17323 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17324 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17325 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17326 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17327 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17328 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17329 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17330 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17331 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17332 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17333 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17334 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17335 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17336 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17337 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17338 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17339 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17340 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17341 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17342 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17343 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17344 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17345 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17346 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17347 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17348 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17349 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17350 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17351 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17352 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17353 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17354 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17355 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17356 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17357 wine_fn_config_dll apphelp enable_apphelp
17358 wine_fn_config_test dlls/apphelp/tests apphelp_test
17359 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17360 wine_fn_config_dll atl enable_atl clean,implib
17361 wine_fn_config_test dlls/atl/tests atl_test
17362 wine_fn_config_dll atl100 enable_atl100 clean,implib
17363 wine_fn_config_test dlls/atl100/tests atl100_test
17364 wine_fn_config_dll atl110 enable_atl110 clean
17365 wine_fn_config_dll atl80 enable_atl80 clean,implib
17366 wine_fn_config_test dlls/atl80/tests atl80_test
17367 wine_fn_config_dll atl90 enable_atl90 clean
17368 wine_fn_config_dll authz enable_authz
17369 wine_fn_config_dll avicap32 enable_avicap32 implib
17370 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
17371 wine_fn_config_test dlls/avifil32/tests avifil32_test
17372 wine_fn_config_dll avifile.dll16 enable_win16
17373 wine_fn_config_dll avrt enable_avrt implib
17374 wine_fn_config_dll bcrypt enable_bcrypt
17375 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17376 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17377 wine_fn_config_dll browseui enable_browseui clean,po
17378 wine_fn_config_test dlls/browseui/tests browseui_test
17379 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17380 wine_fn_config_dll cabinet enable_cabinet implib
17381 wine_fn_config_test dlls/cabinet/tests cabinet_test
17382 wine_fn_config_dll capi2032 enable_capi2032 implib
17383 wine_fn_config_dll cards enable_cards implib
17384 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17385 wine_fn_config_dll clusapi enable_clusapi implib
17386 wine_fn_config_dll combase enable_combase
17387 wine_fn_config_test dlls/combase/tests combase_test
17388 wine_fn_config_dll comcat enable_comcat
17389 wine_fn_config_test dlls/comcat/tests comcat_test
17390 wine_fn_config_dll comctl32 enable_comctl32 implib,po
17391 wine_fn_config_test dlls/comctl32/tests comctl32_test
17392 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
17393 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17394 wine_fn_config_dll comm.drv16 enable_win16
17395 wine_fn_config_dll commdlg.dll16 enable_win16
17396 wine_fn_config_dll compobj.dll16 enable_win16
17397 wine_fn_config_dll compstui enable_compstui implib
17398 wine_fn_config_dll comsvcs enable_comsvcs implib
17399 wine_fn_config_dll connect enable_connect
17400 wine_fn_config_dll credui enable_credui implib,po
17401 wine_fn_config_test dlls/credui/tests credui_test
17402 wine_fn_config_dll crtdll enable_crtdll implib
17403 wine_fn_config_dll crypt32 enable_crypt32 implib,po
17404 wine_fn_config_test dlls/crypt32/tests crypt32_test
17405 wine_fn_config_dll cryptdlg enable_cryptdlg po
17406 wine_fn_config_dll cryptdll enable_cryptdll implib
17407 wine_fn_config_dll cryptext enable_cryptext
17408 wine_fn_config_dll cryptnet enable_cryptnet implib
17409 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17410 wine_fn_config_dll cryptui enable_cryptui implib,po
17411 wine_fn_config_test dlls/cryptui/tests cryptui_test
17412 wine_fn_config_dll ctapi32 enable_ctapi32
17413 wine_fn_config_dll ctl3d.dll16 enable_win16
17414 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17415 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17416 wine_fn_config_dll d2d1 enable_d2d1 implib
17417 wine_fn_config_test dlls/d2d1/tests d2d1_test
17418 wine_fn_config_dll d3d10 enable_d3d10 implib
17419 wine_fn_config_test dlls/d3d10/tests d3d10_test
17420 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17421 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17422 wine_fn_config_dll d3d10core enable_d3d10core implib
17423 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17424 wine_fn_config_dll d3d11 enable_d3d11 implib
17425 wine_fn_config_test dlls/d3d11/tests d3d11_test
17426 wine_fn_config_dll d3d8 enable_d3d8 implib
17427 wine_fn_config_test dlls/d3d8/tests d3d8_test
17428 wine_fn_config_dll d3d9 enable_d3d9 implib
17429 wine_fn_config_test dlls/d3d9/tests d3d9_test
17430 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17431 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17432 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17433 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17434 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17435 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17436 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17437 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17438 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17439 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17440 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17441 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17442 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17443 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17444 wine_fn_config_dll d3dim enable_d3dim implib
17445 wine_fn_config_dll d3drm enable_d3drm implib
17446 wine_fn_config_test dlls/d3drm/tests d3drm_test
17447 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17448 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17449 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17450 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17451 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17452 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17453 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17454 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17455 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17456 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17457 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17458 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17459 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17460 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17461 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17462 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17463 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17464 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17465 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17466 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17467 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17468 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17469 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17470 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17471 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17472 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17473 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17474 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17475 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17476 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17477 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17478 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17479 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17480 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17481 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17482 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17483 wine_fn_config_dll davclnt enable_davclnt
17484 wine_fn_config_dll dbgeng enable_dbgeng implib
17485 wine_fn_config_dll dbghelp enable_dbghelp implib
17486 wine_fn_config_dll dciman32 enable_dciman32 implib
17487 wine_fn_config_dll ddeml.dll16 enable_win16
17488 wine_fn_config_dll ddraw enable_ddraw clean,implib
17489 wine_fn_config_test dlls/ddraw/tests ddraw_test
17490 wine_fn_config_dll ddrawex enable_ddrawex clean
17491 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17492 wine_fn_config_dll devenum enable_devenum clean,po
17493 wine_fn_config_test dlls/devenum/tests devenum_test
17494 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17495 wine_fn_config_dll difxapi enable_difxapi
17496 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
17497 wine_fn_config_test dlls/dinput/tests dinput_test
17498 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17499 wine_fn_config_test dlls/dinput8/tests dinput8_test
17500 wine_fn_config_dll dispdib.dll16 enable_win16
17501 wine_fn_config_dll dispex enable_dispex clean
17502 wine_fn_config_test dlls/dispex/tests dispex_test
17503 wine_fn_config_dll display.drv16 enable_win16
17504 wine_fn_config_dll dmband enable_dmband clean
17505 wine_fn_config_test dlls/dmband/tests dmband_test
17506 wine_fn_config_dll dmcompos enable_dmcompos clean
17507 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17508 wine_fn_config_dll dmime enable_dmime clean
17509 wine_fn_config_test dlls/dmime/tests dmime_test
17510 wine_fn_config_dll dmloader enable_dmloader clean
17511 wine_fn_config_test dlls/dmloader/tests dmloader_test
17512 wine_fn_config_dll dmscript enable_dmscript clean
17513 wine_fn_config_test dlls/dmscript/tests dmscript_test
17514 wine_fn_config_dll dmstyle enable_dmstyle clean
17515 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17516 wine_fn_config_dll dmsynth enable_dmsynth clean
17517 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17518 wine_fn_config_dll dmusic enable_dmusic clean
17519 wine_fn_config_test dlls/dmusic/tests dmusic_test
17520 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17521 wine_fn_config_dll dnsapi enable_dnsapi implib
17522 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17523 wine_fn_config_dll dplay enable_dplay implib
17524 wine_fn_config_dll dplayx enable_dplayx clean,implib
17525 wine_fn_config_test dlls/dplayx/tests dplayx_test
17526 wine_fn_config_dll dpnaddr enable_dpnaddr
17527 wine_fn_config_dll dpnet enable_dpnet clean,implib
17528 wine_fn_config_test dlls/dpnet/tests dpnet_test
17529 wine_fn_config_dll dpnhpast enable_dpnhpast
17530 wine_fn_config_dll dpnlobby enable_dpnlobby
17531 wine_fn_config_dll dpvoice enable_dpvoice clean
17532 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17533 wine_fn_config_dll dpwsockx enable_dpwsockx
17534 wine_fn_config_dll drmclien enable_drmclien
17535 wine_fn_config_dll dsound enable_dsound clean,implib
17536 wine_fn_config_test dlls/dsound/tests dsound_test
17537 wine_fn_config_dll dssenh enable_dssenh
17538 wine_fn_config_test dlls/dssenh/tests dssenh_test
17539 wine_fn_config_dll dswave enable_dswave clean
17540 wine_fn_config_test dlls/dswave/tests dswave_test
17541 wine_fn_config_dll dwmapi enable_dwmapi implib
17542 wine_fn_config_dll dwrite enable_dwrite implib
17543 wine_fn_config_test dlls/dwrite/tests dwrite_test
17544 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17545 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17546 wine_fn_config_lib dxerr8
17547 wine_fn_config_lib dxerr9
17548 wine_fn_config_dll dxgi enable_dxgi implib
17549 wine_fn_config_test dlls/dxgi/tests dxgi_test
17550 wine_fn_config_lib dxguid
17551 wine_fn_config_dll dxva2 enable_dxva2
17552 wine_fn_config_dll esent enable_esent
17553 wine_fn_config_dll evr enable_evr
17554 wine_fn_config_dll explorerframe enable_explorerframe clean
17555 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17556 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17557 wine_fn_config_dll faultrep enable_faultrep implib
17558 wine_fn_config_test dlls/faultrep/tests faultrep_test
17559 wine_fn_config_dll fltlib enable_fltlib
17560 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17561 wine_fn_config_dll fntcache enable_fntcache
17562 wine_fn_config_dll fontsub enable_fontsub
17563 wine_fn_config_dll fusion enable_fusion
17564 wine_fn_config_test dlls/fusion/tests fusion_test
17565 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17566 wine_fn_config_dll gameux enable_gameux clean
17567 wine_fn_config_test dlls/gameux/tests gameux_test
17568 wine_fn_config_dll gdi.exe16 enable_win16
17569 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17570 wine_fn_config_test dlls/gdi32/tests gdi32_test
17571 wine_fn_config_dll gdiplus enable_gdiplus implib
17572 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17573 wine_fn_config_dll glu32 enable_glu32 implib
17574 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17575 wine_fn_config_dll gpkcsp enable_gpkcsp
17576 wine_fn_config_dll hal enable_hal
17577 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17578 wine_fn_config_dll hid enable_hid implib
17579 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17580 wine_fn_config_dll hlink enable_hlink clean,implib
17581 wine_fn_config_test dlls/hlink/tests hlink_test
17582 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17583 wine_fn_config_dll httpapi enable_httpapi
17584 wine_fn_config_dll iccvid enable_iccvid po
17585 wine_fn_config_dll icmp enable_icmp
17586 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17587 wine_fn_config_test dlls/ieframe/tests ieframe_test
17588 wine_fn_config_dll ifsmgr.vxd enable_win16
17589 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17590 wine_fn_config_dll imagehlp enable_imagehlp implib
17591 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17592 wine_fn_config_dll imm.dll16 enable_win16
17593 wine_fn_config_dll imm32 enable_imm32 implib
17594 wine_fn_config_test dlls/imm32/tests imm32_test
17595 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17596 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17597 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17598 wine_fn_config_dll inetmib1 enable_inetmib1
17599 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17600 wine_fn_config_dll infosoft enable_infosoft clean
17601 wine_fn_config_test dlls/infosoft/tests infosoft_test
17602 wine_fn_config_dll initpki enable_initpki
17603 wine_fn_config_dll inkobj enable_inkobj
17604 wine_fn_config_dll inseng enable_inseng clean
17605 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17606 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17607 wine_fn_config_dll itircl enable_itircl
17608 wine_fn_config_dll itss enable_itss clean
17609 wine_fn_config_test dlls/itss/tests itss_test
17610 wine_fn_config_dll joy.cpl enable_joy_cpl po
17611 wine_fn_config_dll jscript enable_jscript clean,po
17612 wine_fn_config_test dlls/jscript/tests jscript_test
17613 wine_fn_config_dll jsproxy enable_jsproxy implib
17614 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17615 wine_fn_config_test dlls/kernel32/tests kernel32_test
17616 wine_fn_config_dll keyboard.drv16 enable_win16
17617 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17618 wine_fn_config_dll ksuser enable_ksuser
17619 wine_fn_config_dll ktmw32 enable_ktmw32
17620 wine_fn_config_dll loadperf enable_loadperf implib
17621 wine_fn_config_dll localspl enable_localspl po
17622 wine_fn_config_test dlls/localspl/tests localspl_test
17623 wine_fn_config_dll localui enable_localui po
17624 wine_fn_config_test dlls/localui/tests localui_test
17625 wine_fn_config_dll lz32 enable_lz32 implib
17626 wine_fn_config_test dlls/lz32/tests lz32_test
17627 wine_fn_config_dll lzexpand.dll16 enable_win16
17628 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17629 wine_fn_config_test dlls/mapi32/tests mapi32_test
17630 wine_fn_config_dll mapistub enable_mapistub
17631 wine_fn_config_dll mciavi32 enable_mciavi32
17632 wine_fn_config_dll mcicda enable_mcicda
17633 wine_fn_config_dll mciqtz32 enable_mciqtz32
17634 wine_fn_config_dll mciseq enable_mciseq
17635 wine_fn_config_dll mciwave enable_mciwave
17636 wine_fn_config_dll mf enable_mf
17637 wine_fn_config_dll mfplat enable_mfplat
17638 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17639 wine_fn_config_dll mgmtapi enable_mgmtapi
17640 wine_fn_config_dll midimap enable_midimap
17641 wine_fn_config_dll mlang enable_mlang clean,implib
17642 wine_fn_config_test dlls/mlang/tests mlang_test
17643 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17644 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17645 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17646 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17647 wine_fn_config_dll mmdevldr.vxd enable_win16
17648 wine_fn_config_dll mmsystem.dll16 enable_win16
17649 wine_fn_config_dll monodebg.vxd enable_win16
17650 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17651 wine_fn_config_dll mouse.drv16 enable_win16
17652 wine_fn_config_dll mpr enable_mpr implib,po
17653 wine_fn_config_test dlls/mpr/tests mpr_test
17654 wine_fn_config_dll mprapi enable_mprapi implib
17655 wine_fn_config_dll msacm.dll16 enable_win16
17656 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17657 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17658 wine_fn_config_test dlls/msacm32/tests msacm32_test
17659 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17660 wine_fn_config_dll msasn1 enable_msasn1 implib
17661 wine_fn_config_dll mscat32 enable_mscat32
17662 wine_fn_config_dll mscms enable_mscms implib
17663 wine_fn_config_test dlls/mscms/tests mscms_test
17664 wine_fn_config_dll mscoree enable_mscoree clean
17665 wine_fn_config_test dlls/mscoree/tests mscoree_test
17666 wine_fn_config_dll msctf enable_msctf clean
17667 wine_fn_config_test dlls/msctf/tests msctf_test
17668 wine_fn_config_dll msctfp enable_msctfp clean
17669 wine_fn_config_dll msdaps enable_msdaps clean
17670 wine_fn_config_dll msdelta enable_msdelta
17671 wine_fn_config_dll msdmo enable_msdmo implib
17672 wine_fn_config_test dlls/msdmo/tests msdmo_test
17673 wine_fn_config_dll msftedit enable_msftedit
17674 wine_fn_config_dll msg711.acm enable_msg711_acm
17675 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17676 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17677 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17678 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17679 wine_fn_config_dll msi enable_msi clean,implib,po
17680 wine_fn_config_test dlls/msi/tests msi_test
17681 wine_fn_config_dll msident enable_msident clean
17682 wine_fn_config_dll msimg32 enable_msimg32 implib
17683 wine_fn_config_dll msimsg enable_msimsg
17684 wine_fn_config_dll msimtf enable_msimtf clean
17685 wine_fn_config_dll msisip enable_msisip
17686 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17687 wine_fn_config_dll msls31 enable_msls31
17688 wine_fn_config_dll msnet32 enable_msnet32
17689 wine_fn_config_dll mspatcha enable_mspatcha implib
17690 wine_fn_config_dll msrle32 enable_msrle32 po
17691 wine_fn_config_test dlls/msrle32/tests msrle32_test
17692 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17693 wine_fn_config_dll mssign32 enable_mssign32
17694 wine_fn_config_dll mssip32 enable_mssip32
17695 wine_fn_config_dll mstask enable_mstask clean
17696 wine_fn_config_test dlls/mstask/tests mstask_test
17697 wine_fn_config_dll msvcirt enable_msvcirt
17698 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17699 wine_fn_config_dll msvcm80 enable_msvcm80
17700 wine_fn_config_dll msvcm90 enable_msvcm90
17701 wine_fn_config_dll msvcp100 enable_msvcp100
17702 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17703 wine_fn_config_dll msvcp110 enable_msvcp110
17704 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
17705 wine_fn_config_dll msvcp120 enable_msvcp120
17706 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17707 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17708 wine_fn_config_dll msvcp60 enable_msvcp60
17709 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17710 wine_fn_config_dll msvcp70 enable_msvcp70
17711 wine_fn_config_dll msvcp71 enable_msvcp71
17712 wine_fn_config_dll msvcp80 enable_msvcp80
17713 wine_fn_config_dll msvcp90 enable_msvcp90
17714 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17715 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17716 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17717 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17718 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17719 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17720 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17721 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17722 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17723 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17724 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17725 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17726 wine_fn_config_dll msvcrt enable_msvcrt implib
17727 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17728 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17729 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17730 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17731 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17732 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17733 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17734 wine_fn_config_dll msvidc32 enable_msvidc32 po
17735 wine_fn_config_dll msvideo.dll16 enable_win16
17736 wine_fn_config_dll mswsock enable_mswsock implib
17737 wine_fn_config_dll msxml enable_msxml clean
17738 wine_fn_config_dll msxml2 enable_msxml2 clean
17739 wine_fn_config_dll msxml3 enable_msxml3 clean
17740 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17741 wine_fn_config_dll msxml4 enable_msxml4 clean
17742 wine_fn_config_dll msxml6 enable_msxml6 clean
17743 wine_fn_config_dll nddeapi enable_nddeapi implib
17744 wine_fn_config_dll ndis.sys enable_ndis_sys
17745 wine_fn_config_dll netapi32 enable_netapi32 implib
17746 wine_fn_config_test dlls/netapi32/tests netapi32_test
17747 wine_fn_config_dll netcfgx enable_netcfgx clean
17748 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17749 wine_fn_config_dll netprofm enable_netprofm clean
17750 wine_fn_config_test dlls/netprofm/tests netprofm_test
17751 wine_fn_config_dll newdev enable_newdev implib
17752 wine_fn_config_dll normaliz enable_normaliz implib
17753 wine_fn_config_dll npmshtml enable_npmshtml
17754 wine_fn_config_dll npptools enable_npptools
17755 wine_fn_config_dll ntdll enable_ntdll implib
17756 wine_fn_config_test dlls/ntdll/tests ntdll_test
17757 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17758 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17759 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17760 wine_fn_config_dll ntprint enable_ntprint
17761 wine_fn_config_test dlls/ntprint/tests ntprint_test
17762 wine_fn_config_dll objsel enable_objsel clean
17763 wine_fn_config_dll odbc32 enable_odbc32 implib
17764 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17765 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17766 wine_fn_config_dll odbccu32 enable_odbccu32
17767 wine_fn_config_dll ole2.dll16 enable_win16
17768 wine_fn_config_dll ole2conv.dll16 enable_win16
17769 wine_fn_config_dll ole2disp.dll16 enable_win16
17770 wine_fn_config_dll ole2nls.dll16 enable_win16
17771 wine_fn_config_dll ole2prox.dll16 enable_win16
17772 wine_fn_config_dll ole2thk.dll16 enable_win16
17773 wine_fn_config_dll ole32 enable_ole32 clean,implib
17774 wine_fn_config_test dlls/ole32/tests ole32_test
17775 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17776 wine_fn_config_test dlls/oleacc/tests oleacc_test
17777 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17778 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17779 wine_fn_config_dll olecli.dll16 enable_win16
17780 wine_fn_config_dll olecli32 enable_olecli32 implib
17781 wine_fn_config_dll oledb32 enable_oledb32 clean
17782 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17783 wine_fn_config_dll oledlg enable_oledlg implib,po
17784 wine_fn_config_test dlls/oledlg/tests oledlg_test
17785 wine_fn_config_dll olepro32 enable_olepro32 implib
17786 wine_fn_config_dll olesvr.dll16 enable_win16
17787 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17788 wine_fn_config_dll olethk32 enable_olethk32
17789 wine_fn_config_dll openal32 enable_openal32
17790 wine_fn_config_dll opencl enable_opencl
17791 wine_fn_config_dll opengl32 enable_opengl32 implib
17792 wine_fn_config_test dlls/opengl32/tests opengl32_test
17793 wine_fn_config_dll packager enable_packager clean
17794 wine_fn_config_test dlls/packager/tests packager_test
17795 wine_fn_config_dll pdh enable_pdh implib
17796 wine_fn_config_test dlls/pdh/tests pdh_test
17797 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17798 wine_fn_config_dll pidgen enable_pidgen
17799 wine_fn_config_dll powrprof enable_powrprof implib
17800 wine_fn_config_dll printui enable_printui
17801 wine_fn_config_dll prntvpt enable_prntvpt
17802 wine_fn_config_dll propsys enable_propsys clean,implib
17803 wine_fn_config_test dlls/propsys/tests propsys_test
17804 wine_fn_config_dll psapi enable_psapi implib
17805 wine_fn_config_test dlls/psapi/tests psapi_test
17806 wine_fn_config_dll pstorec enable_pstorec clean
17807 wine_fn_config_dll qcap enable_qcap
17808 wine_fn_config_test dlls/qcap/tests qcap_test
17809 wine_fn_config_dll qedit enable_qedit clean
17810 wine_fn_config_test dlls/qedit/tests qedit_test
17811 wine_fn_config_dll qmgr enable_qmgr clean
17812 wine_fn_config_test dlls/qmgr/tests qmgr_test
17813 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17814 wine_fn_config_dll quartz enable_quartz clean,implib
17815 wine_fn_config_test dlls/quartz/tests quartz_test clean
17816 wine_fn_config_dll query enable_query
17817 wine_fn_config_dll rasapi16.dll16 enable_win16
17818 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17819 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17820 wine_fn_config_dll rasdlg enable_rasdlg implib
17821 wine_fn_config_dll regapi enable_regapi
17822 wine_fn_config_dll resutils enable_resutils implib
17823 wine_fn_config_dll riched20 enable_riched20 clean,implib
17824 wine_fn_config_test dlls/riched20/tests riched20_test
17825 wine_fn_config_dll riched32 enable_riched32
17826 wine_fn_config_test dlls/riched32/tests riched32_test
17827 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17828 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17829 wine_fn_config_dll rsabase enable_rsabase
17830 wine_fn_config_dll rsaenh enable_rsaenh implib
17831 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17832 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17833 wine_fn_config_dll rtutils enable_rtutils implib
17834 wine_fn_config_dll samlib enable_samlib
17835 wine_fn_config_dll sane.ds enable_sane_ds po
17836 wine_fn_config_dll scarddlg enable_scarddlg
17837 wine_fn_config_dll sccbase enable_sccbase
17838 wine_fn_config_dll schannel enable_schannel
17839 wine_fn_config_test dlls/schannel/tests schannel_test
17840 wine_fn_config_dll schedsvc enable_schedsvc clean
17841 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17842 wine_fn_config_dll scrrun enable_scrrun clean
17843 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17844 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17845 wine_fn_config_dll secur32 enable_secur32 implib
17846 wine_fn_config_test dlls/secur32/tests secur32_test
17847 wine_fn_config_dll security enable_security
17848 wine_fn_config_dll sensapi enable_sensapi implib
17849 wine_fn_config_dll serialui enable_serialui implib,po
17850 wine_fn_config_test dlls/serialui/tests serialui_test
17851 wine_fn_config_dll setupapi enable_setupapi implib,po
17852 wine_fn_config_test dlls/setupapi/tests setupapi_test
17853 wine_fn_config_dll setupx.dll16 enable_win16
17854 wine_fn_config_dll sfc enable_sfc implib
17855 wine_fn_config_dll sfc_os enable_sfc_os implib
17856 wine_fn_config_dll shdoclc enable_shdoclc po
17857 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17858 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17859 wine_fn_config_dll shell.dll16 enable_win16
17860 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17861 wine_fn_config_test dlls/shell32/tests shell32_test
17862 wine_fn_config_dll shfolder enable_shfolder implib
17863 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17864 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17865 wine_fn_config_dll slbcsp enable_slbcsp
17866 wine_fn_config_dll slc enable_slc implib
17867 wine_fn_config_test dlls/slc/tests slc_test
17868 wine_fn_config_dll snmpapi enable_snmpapi implib
17869 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17870 wine_fn_config_dll softpub enable_softpub
17871 wine_fn_config_dll sound.drv16 enable_win16
17872 wine_fn_config_dll spoolss enable_spoolss implib
17873 wine_fn_config_test dlls/spoolss/tests spoolss_test
17874 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17875 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17876 wine_fn_config_dll sti enable_sti clean,implib
17877 wine_fn_config_test dlls/sti/tests sti_test
17878 wine_fn_config_dll storage.dll16 enable_win16
17879 wine_fn_config_dll stress.dll16 enable_win16
17880 wine_fn_config_lib strmbase
17881 wine_fn_config_lib strmiids
17882 wine_fn_config_dll svrapi enable_svrapi
17883 wine_fn_config_dll sxs enable_sxs implib
17884 wine_fn_config_test dlls/sxs/tests sxs_test
17885 wine_fn_config_dll system.drv16 enable_win16
17886 wine_fn_config_dll t2embed enable_t2embed
17887 wine_fn_config_dll tapi32 enable_tapi32 implib
17888 wine_fn_config_dll taskschd enable_taskschd clean
17889 wine_fn_config_test dlls/taskschd/tests taskschd_test
17890 wine_fn_config_dll tdi.sys enable_tdi_sys
17891 wine_fn_config_dll toolhelp.dll16 enable_win16
17892 wine_fn_config_dll traffic enable_traffic
17893 wine_fn_config_dll twain.dll16 enable_win16
17894 wine_fn_config_dll twain_32 enable_twain_32
17895 wine_fn_config_test dlls/twain_32/tests twain_32_test
17896 wine_fn_config_dll typelib.dll16 enable_win16
17897 wine_fn_config_dll ucrtbase enable_ucrtbase
17898 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
17899 wine_fn_config_dll unicows enable_unicows implib
17900 wine_fn_config_dll updspapi enable_updspapi
17901 wine_fn_config_dll url enable_url implib
17902 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17903 wine_fn_config_test dlls/urlmon/tests urlmon_test
17904 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17905 wine_fn_config_dll user.exe16 enable_win16
17906 wine_fn_config_dll user32 enable_user32 clean,implib,po
17907 wine_fn_config_test dlls/user32/tests user32_test
17908 wine_fn_config_dll userenv enable_userenv implib
17909 wine_fn_config_test dlls/userenv/tests userenv_test
17910 wine_fn_config_dll usp10 enable_usp10 implib
17911 wine_fn_config_test dlls/usp10/tests usp10_test
17912 wine_fn_config_lib uuid
17913 wine_fn_config_dll uxtheme enable_uxtheme implib
17914 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17915 wine_fn_config_dll vbscript enable_vbscript clean
17916 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17917 wine_fn_config_dll vcomp enable_vcomp
17918 wine_fn_config_test dlls/vcomp/tests vcomp_test
17919 wine_fn_config_dll vcomp100 enable_vcomp100
17920 wine_fn_config_dll vcomp110 enable_vcomp110
17921 wine_fn_config_dll vcomp120 enable_vcomp120
17922 wine_fn_config_dll vcomp90 enable_vcomp90
17923 wine_fn_config_dll vcruntime140 enable_vcruntime140
17924 wine_fn_config_dll vdhcp.vxd enable_win16
17925 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17926 wine_fn_config_dll ver.dll16 enable_win16
17927 wine_fn_config_dll version enable_version implib
17928 wine_fn_config_test dlls/version/tests version_test
17929 wine_fn_config_dll vmm.vxd enable_win16
17930 wine_fn_config_dll vnbt.vxd enable_win16
17931 wine_fn_config_dll vnetbios.vxd enable_win16
17932 wine_fn_config_dll vssapi enable_vssapi
17933 wine_fn_config_dll vtdapi.vxd enable_win16
17934 wine_fn_config_dll vwin32.vxd enable_win16
17935 wine_fn_config_dll w32skrnl enable_win16
17936 wine_fn_config_dll w32sys.dll16 enable_win16
17937 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17938 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
17939 wine_fn_config_dll wbemprox enable_wbemprox clean
17940 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17941 wine_fn_config_dll webservices enable_webservices implib
17942 wine_fn_config_test dlls/webservices/tests webservices_test
17943 wine_fn_config_dll wer enable_wer implib
17944 wine_fn_config_test dlls/wer/tests wer_test
17945 wine_fn_config_dll wevtapi enable_wevtapi
17946 wine_fn_config_dll wiaservc enable_wiaservc clean
17947 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
17948 wine_fn_config_dll wimgapi enable_wimgapi
17949 wine_fn_config_dll win32s16.dll16 enable_win16
17950 wine_fn_config_dll win87em.dll16 enable_win16
17951 wine_fn_config_dll winaspi.dll16 enable_win16
17952 wine_fn_config_dll windebug.dll16 enable_win16
17953 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17954 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17955 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17956 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17957 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17958 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17959 wine_fn_config_lib winecrt0
17960 wine_fn_config_dll wined3d enable_wined3d implib
17961 wine_fn_config_dll winegstreamer enable_winegstreamer
17962 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17963 wine_fn_config_dll winemac.drv enable_winemac_drv po
17964 wine_fn_config_dll winemapi enable_winemapi
17965 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17966 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17967 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17968 wine_fn_config_dll wineps16.drv16 enable_win16
17969 wine_fn_config_dll winepulse.drv enable_winepulse_drv
17970 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17971 wine_fn_config_dll winex11.drv enable_winex11_drv
17972 wine_fn_config_dll wing.dll16 enable_win16
17973 wine_fn_config_dll wing32 enable_wing32
17974 wine_fn_config_dll winhttp enable_winhttp clean,implib
17975 wine_fn_config_test dlls/winhttp/tests winhttp_test
17976 wine_fn_config_dll wininet enable_wininet implib,po
17977 wine_fn_config_test dlls/wininet/tests wininet_test
17978 wine_fn_config_dll winmm enable_winmm implib,po
17979 wine_fn_config_test dlls/winmm/tests winmm_test
17980 wine_fn_config_dll winnls.dll16 enable_win16
17981 wine_fn_config_dll winnls32 enable_winnls32 implib
17982 wine_fn_config_dll winscard enable_winscard implib
17983 wine_fn_config_dll winsock.dll16 enable_win16
17984 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17985 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17986 wine_fn_config_dll winsta enable_winsta
17987 wine_fn_config_dll wintab.dll16 enable_win16
17988 wine_fn_config_dll wintab32 enable_wintab32 implib
17989 wine_fn_config_test dlls/wintab32/tests wintab32_test
17990 wine_fn_config_dll wintrust enable_wintrust implib
17991 wine_fn_config_test dlls/wintrust/tests wintrust_test
17992 wine_fn_config_dll wlanapi enable_wlanapi
17993 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17994 wine_fn_config_test dlls/wldap32/tests wldap32_test
17995 wine_fn_config_dll wmi enable_wmi
17996 wine_fn_config_dll wmiutils enable_wmiutils clean
17997 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17998 wine_fn_config_dll wmp enable_wmp clean
17999 wine_fn_config_test dlls/wmp/tests wmp_test
18000 wine_fn_config_dll wmvcore enable_wmvcore
18001 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18002 wine_fn_config_dll wow32 enable_win16 implib
18003 wine_fn_config_dll wpcap enable_wpcap
18004 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18005 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18006 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18007 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18008 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18009 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18010 wine_fn_config_dll wsock32 enable_wsock32 implib
18011 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18012 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18013 wine_fn_config_dll wuapi enable_wuapi clean
18014 wine_fn_config_dll wuaueng enable_wuaueng
18015 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18016 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18017 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18018 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18019 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18020 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18021 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18022 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18023 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18024 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18025 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18026 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18027 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18028 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18029 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18030 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18031 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18032 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18033 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18034 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18035 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18036 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18037 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 implib
18038 wine_fn_config_dll xinput1_1 enable_xinput1_1
18039 wine_fn_config_dll xinput1_2 enable_xinput1_2
18040 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18041 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18042 wine_fn_config_dll xinput1_4 enable_xinput1_4
18043 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18044 wine_fn_config_dll xmllite enable_xmllite implib
18045 wine_fn_config_test dlls/xmllite/tests xmllite_test
18046 wine_fn_config_dll xolehlp enable_xolehlp
18047 wine_fn_config_dll xpsprint enable_xpsprint
18048 wine_fn_config_dll xpssvcs enable_xpssvcs
18049 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18050 wine_fn_config_makefile include enable_include clean,install-dev
18051 wine_fn_config_makefile libs/port enable_libs_port
18052 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18053 wine_fn_config_makefile libs/wpp enable_libs_wpp
18054 wine_fn_config_makefile loader enable_loader clean,install-lib
18055 wine_fn_config_program arp enable_arp install
18056 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18057 wine_fn_config_program attrib enable_attrib install,po
18058 wine_fn_config_program cabarc enable_cabarc install
18059 wine_fn_config_program cacls enable_cacls install
18060 wine_fn_config_program clock enable_clock install,po
18061 wine_fn_config_program cmd enable_cmd install,po
18062 wine_fn_config_test programs/cmd/tests cmd.exe_test
18063 wine_fn_config_program conhost enable_conhost install
18064 wine_fn_config_program control enable_control install
18065 wine_fn_config_program cscript enable_cscript clean,install
18066 wine_fn_config_program dpnsvr enable_dpnsvr install
18067 wine_fn_config_program dxdiag enable_dxdiag install,po
18068 wine_fn_config_program eject enable_eject install
18069 wine_fn_config_program expand enable_expand install
18070 wine_fn_config_program explorer enable_explorer install,po
18071 wine_fn_config_program extrac32 enable_extrac32 install
18072 wine_fn_config_program findstr enable_findstr install
18073 wine_fn_config_program hh enable_hh install
18074 wine_fn_config_program hostname enable_hostname install,po
18075 wine_fn_config_program icinfo enable_icinfo install
18076 wine_fn_config_program iexplore enable_iexplore install
18077 wine_fn_config_program ipconfig enable_ipconfig install,po
18078 wine_fn_config_program lodctr enable_lodctr install
18079 wine_fn_config_program mofcomp enable_mofcomp install
18080 wine_fn_config_program mshta enable_mshta install
18081 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18082 wine_fn_config_program net enable_net install,po
18083 wine_fn_config_program netsh enable_netsh install
18084 wine_fn_config_program netstat enable_netstat install,po
18085 wine_fn_config_program ngen enable_ngen install
18086 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
18087 wine_fn_config_program oleview enable_oleview install,po
18088 wine_fn_config_program ping enable_ping install
18089 wine_fn_config_program plugplay enable_plugplay install
18090 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18091 wine_fn_config_program progman enable_progman install,po
18092 wine_fn_config_program reg enable_reg install,po
18093 wine_fn_config_test programs/reg/tests reg.exe_test
18094 wine_fn_config_program regasm enable_regasm install
18095 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
18096 wine_fn_config_test programs/regedit/tests regedit.exe_test
18097 wine_fn_config_program regsvcs enable_regsvcs install
18098 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
18099 wine_fn_config_program rpcss enable_rpcss clean,install
18100 wine_fn_config_program rundll.exe16 enable_win16 install
18101 wine_fn_config_program rundll32 enable_rundll32 install
18102 wine_fn_config_program sc enable_sc install
18103 wine_fn_config_program schtasks enable_schtasks install
18104 wine_fn_config_program sdbinst enable_sdbinst install
18105 wine_fn_config_program secedit enable_secedit install
18106 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18107 wine_fn_config_program services enable_services clean,install
18108 wine_fn_config_test programs/services/tests services.exe_test
18109 wine_fn_config_program spoolsv enable_spoolsv install
18110 wine_fn_config_program start enable_start install,po
18111 wine_fn_config_program svchost enable_svchost install
18112 wine_fn_config_program systeminfo enable_systeminfo install
18113 wine_fn_config_program taskkill enable_taskkill install,po
18114 wine_fn_config_program tasklist enable_tasklist install
18115 wine_fn_config_program taskmgr enable_taskmgr install,po
18116 wine_fn_config_program termsv enable_termsv install
18117 wine_fn_config_program uninstaller enable_uninstaller install,po
18118 wine_fn_config_program unlodctr enable_unlodctr install
18119 wine_fn_config_program view enable_view install,po
18120 wine_fn_config_program wevtutil enable_wevtutil install
18121 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
18122 wine_fn_config_program winebrowser enable_winebrowser install
18123 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
18124 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
18125 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
18126 wine_fn_config_program winedevice enable_winedevice install
18127 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
18128 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18129 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
18130 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18131 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18132 wine_fn_config_program winetest enable_winetest clean
18133 wine_fn_config_program winevdm enable_win16 install
18134 wine_fn_config_program winhelp.exe16 enable_win16 install
18135 wine_fn_config_program winhlp32 enable_winhlp32 install,po
18136 wine_fn_config_program winoldap.mod16 enable_win16 install
18137 wine_fn_config_program winver enable_winver install
18138 wine_fn_config_program wmic enable_wmic install,po
18139 wine_fn_config_program wmplayer enable_wmplayer install
18140 wine_fn_config_program wordpad enable_wordpad install,po
18141 wine_fn_config_program write enable_write install,po
18142 wine_fn_config_program wscript enable_wscript clean,install
18143 wine_fn_config_test programs/wscript/tests wscript.exe_test
18144 wine_fn_config_program wusa enable_wusa install
18145 wine_fn_config_program xcopy enable_xcopy install,po
18146 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18147 wine_fn_config_makefile server enable_server clean,install-lib
18148 wine_fn_config_tool tools clean
18149 wine_fn_config_tool tools/sfnt2fon clean
18150 wine_fn_config_tool tools/widl clean,install-dev
18151 wine_fn_config_tool tools/winebuild clean,install-dev
18152 wine_fn_config_tool tools/winedump clean,install-dev
18153 wine_fn_config_tool tools/winegcc clean,install-dev
18154 wine_fn_config_tool tools/winemaker clean,install-dev
18155 wine_fn_config_tool tools/wmc clean,install-dev
18156 wine_fn_config_tool tools/wrc clean,install-dev
18158 LINGUAS="\
18159 ar \
18160 bg \
18161 ca \
18162 cs \
18163 da \
18164 de \
18165 el \
18166 en \
18167 en_US \
18168 eo \
18169 es \
18170 fa \
18171 fi \
18172 fr \
18173 he \
18174 hi \
18175 hr \
18176 hu \
18177 it \
18178 ja \
18179 ko \
18180 lt \
18181 ml \
18182 nb_NO \
18183 nl \
18184 or \
18185 pa \
18186 pl \
18187 pt_BR \
18188 pt_PT \
18189 rm \
18190 ro \
18191 ru \
18192 sk \
18193 sl \
18194 sr_RS@cyrillic \
18195 sr_RS@latin \
18196 sv \
18197 te \
18198 th \
18199 tr \
18200 uk \
18201 wa \
18202 zh_CN \
18203 zh_TW"
18208 wine_fn_ignore_file ".gitignore"
18209 wine_fn_ignore_file "Makefile"
18210 wine_fn_ignore_file "TAGS"
18211 wine_fn_ignore_file "tags"
18212 wine_fn_ignore_file "autom4te.cache"
18213 wine_fn_ignore_file "config.cache"
18214 wine_fn_ignore_file "config.log"
18215 wine_fn_ignore_file "config.status"
18216 wine_fn_ignore_file "configure.lineno"
18217 wine_fn_ignore_file "include/config.h"
18218 wine_fn_ignore_file "include/stamp-h"
18219 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
18221 if test "x$enable_tools" != xno
18222 then
18223 wine_fn_ignore_file "tools/makedep$ac_exeext"
18224 ac_config_commands="$ac_config_commands tools/makedep"
18228 ac_config_commands="$ac_config_commands Makefile"
18231 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18235 if test "x$enable_maintainer_mode" = xyes
18236 then
18237 wine_fn_append_rule "configure: configure.ac aclocal.m4
18238 autoconf --warnings=all
18239 include/config.h.in: include/stamp-h.in
18240 include/stamp-h.in: configure.ac aclocal.m4
18241 autoheader --warnings=all
18242 @echo timestamp > \$@"
18245 if test "x$with_gettextpo" = xyes
18246 then
18247 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
18248 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
18249 \$(LINGUAS:%=po/%.po): po/wine.pot
18250 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
18251 po/wine.pot: \$(ALL_POT_FILES)
18252 msgcat -o \$@ \$(ALL_POT_FILES)"
18255 if test "$MSGFMT" != false
18256 then
18257 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
18258 clean::
18259 \$(RM) \$(LINGUAS:%=po/%.mo)"
18261 posrc="po"
18262 test "$srcdir" = . || posrc="$srcdir/po"
18263 for i in $LINGUAS
18265 wine_fn_ignore_file "po/$i.mo"
18266 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
18267 \$(MSGFMT) -o \$@ $posrc/$i.po"
18268 done
18269 else
18270 LINGUAS=
18273 if test "x$enable_tools" != xno
18274 then
18275 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18276 @./config.status tools/makedep
18277 Makefile: tools/makedep$ac_exeext
18278 distclean:: clean
18279 \$(RM) tools/makedep$ac_exeext"
18280 else
18281 wine_fn_append_rule "\$(MAKEDEP):
18282 @echo \"You need to run make in $TOOLSDIR first\" && false"
18285 if test -n "$with_wine64"
18286 then
18287 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18288 fonts server tools:
18289 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18290 $with_wine64/loader/wine:
18291 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18292 $with_wine64/loader/wine-preloader:
18293 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18294 clean::
18295 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18296 else
18297 WINELOADER_INSTALL="wine.inf"
18299 wine_fn_append_rule "install install-lib::
18300 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18301 uninstall::
18302 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18303 case $host_os in
18304 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18305 *) wine_fn_append_rule "install install-lib::
18306 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18307 uninstall::
18308 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18309 esac
18312 if test "$srcdir" = .
18313 then
18314 ac_config_commands="$ac_config_commands .gitignore"
18318 $as_echo " done" >&6
18319 cat >confcache <<\_ACEOF
18320 # This file is a shell script that caches the results of configure
18321 # tests run on this system so they can be shared between configure
18322 # scripts and configure runs, see configure's option --config-cache.
18323 # It is not useful on other systems. If it contains results you don't
18324 # want to keep, you may remove or edit it.
18326 # config.status only pays attention to the cache file if you give it
18327 # the --recheck option to rerun configure.
18329 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18330 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18331 # following values.
18333 _ACEOF
18335 # The following way of writing the cache mishandles newlines in values,
18336 # but we know of no workaround that is simple, portable, and efficient.
18337 # So, we kill variables containing newlines.
18338 # Ultrix sh set writes to stderr and can't be redirected directly,
18339 # and sets the high bit in the cache file unless we assign to the vars.
18341 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18342 eval ac_val=\$$ac_var
18343 case $ac_val in #(
18344 *${as_nl}*)
18345 case $ac_var in #(
18346 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18347 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18348 esac
18349 case $ac_var in #(
18350 _ | IFS | as_nl) ;; #(
18351 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18352 *) { eval $ac_var=; unset $ac_var;} ;;
18353 esac ;;
18354 esac
18355 done
18357 (set) 2>&1 |
18358 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18359 *${as_nl}ac_space=\ *)
18360 # `set' does not quote correctly, so add quotes: double-quote
18361 # substitution turns \\\\ into \\, and sed turns \\ into \.
18362 sed -n \
18363 "s/'/'\\\\''/g;
18364 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18365 ;; #(
18367 # `set' quotes correctly as required by POSIX, so do not add quotes.
18368 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18370 esac |
18371 sort
18373 sed '
18374 /^ac_cv_env_/b end
18375 t clear
18376 :clear
18377 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18378 t end
18379 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18380 :end' >>confcache
18381 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18382 if test -w "$cache_file"; then
18383 if test "x$cache_file" != "x/dev/null"; then
18384 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18385 $as_echo "$as_me: updating cache $cache_file" >&6;}
18386 if test ! -f "$cache_file" || test -h "$cache_file"; then
18387 cat confcache >"$cache_file"
18388 else
18389 case $cache_file in #(
18390 */* | ?:*)
18391 mv -f confcache "$cache_file"$$ &&
18392 mv -f "$cache_file"$$ "$cache_file" ;; #(
18394 mv -f confcache "$cache_file" ;;
18395 esac
18398 else
18399 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18400 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18403 rm -f confcache
18405 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18406 # Let make expand exec_prefix.
18407 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18409 DEFS=-DHAVE_CONFIG_H
18411 ac_libobjs=
18412 ac_ltlibobjs=
18414 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18415 # 1. Remove the extension, and $U if already installed.
18416 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18417 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18418 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18419 # will be set to the directory where LIBOBJS objects are built.
18420 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18421 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18422 done
18423 LIBOBJS=$ac_libobjs
18425 LTLIBOBJS=$ac_ltlibobjs
18429 : "${CONFIG_STATUS=./config.status}"
18430 ac_write_fail=0
18431 ac_clean_files_save=$ac_clean_files
18432 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18433 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18434 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18435 as_write_fail=0
18436 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18437 #! $SHELL
18438 # Generated by $as_me.
18439 # Run this file to recreate the current configuration.
18440 # Compiler output produced by configure, useful for debugging
18441 # configure, is in config.log if it exists.
18443 debug=false
18444 ac_cs_recheck=false
18445 ac_cs_silent=false
18447 SHELL=\${CONFIG_SHELL-$SHELL}
18448 export SHELL
18449 _ASEOF
18450 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18451 ## -------------------- ##
18452 ## M4sh Initialization. ##
18453 ## -------------------- ##
18455 # Be more Bourne compatible
18456 DUALCASE=1; export DUALCASE # for MKS sh
18457 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18458 emulate sh
18459 NULLCMD=:
18460 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18461 # is contrary to our usage. Disable this feature.
18462 alias -g '${1+"$@"}'='"$@"'
18463 setopt NO_GLOB_SUBST
18464 else
18465 case `(set -o) 2>/dev/null` in #(
18466 *posix*) :
18467 set -o posix ;; #(
18468 *) :
18470 esac
18474 as_nl='
18476 export as_nl
18477 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18478 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18479 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18480 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18481 # Prefer a ksh shell builtin over an external printf program on Solaris,
18482 # but without wasting forks for bash or zsh.
18483 if test -z "$BASH_VERSION$ZSH_VERSION" \
18484 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18485 as_echo='print -r --'
18486 as_echo_n='print -rn --'
18487 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18488 as_echo='printf %s\n'
18489 as_echo_n='printf %s'
18490 else
18491 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18492 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18493 as_echo_n='/usr/ucb/echo -n'
18494 else
18495 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18496 as_echo_n_body='eval
18497 arg=$1;
18498 case $arg in #(
18499 *"$as_nl"*)
18500 expr "X$arg" : "X\\(.*\\)$as_nl";
18501 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18502 esac;
18503 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18505 export as_echo_n_body
18506 as_echo_n='sh -c $as_echo_n_body as_echo'
18508 export as_echo_body
18509 as_echo='sh -c $as_echo_body as_echo'
18512 # The user is always right.
18513 if test "${PATH_SEPARATOR+set}" != set; then
18514 PATH_SEPARATOR=:
18515 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18516 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18517 PATH_SEPARATOR=';'
18522 # IFS
18523 # We need space, tab and new line, in precisely that order. Quoting is
18524 # there to prevent editors from complaining about space-tab.
18525 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18526 # splitting by setting IFS to empty value.)
18527 IFS=" "" $as_nl"
18529 # Find who we are. Look in the path if we contain no directory separator.
18530 as_myself=
18531 case $0 in #((
18532 *[\\/]* ) as_myself=$0 ;;
18533 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18534 for as_dir in $PATH
18536 IFS=$as_save_IFS
18537 test -z "$as_dir" && as_dir=.
18538 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18539 done
18540 IFS=$as_save_IFS
18543 esac
18544 # We did not find ourselves, most probably we were run as `sh COMMAND'
18545 # in which case we are not to be found in the path.
18546 if test "x$as_myself" = x; then
18547 as_myself=$0
18549 if test ! -f "$as_myself"; then
18550 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18551 exit 1
18554 # Unset variables that we do not need and which cause bugs (e.g. in
18555 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18556 # suppresses any "Segmentation fault" message there. '((' could
18557 # trigger a bug in pdksh 5.2.14.
18558 for as_var in BASH_ENV ENV MAIL MAILPATH
18559 do eval test x\${$as_var+set} = xset \
18560 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18561 done
18562 PS1='$ '
18563 PS2='> '
18564 PS4='+ '
18566 # NLS nuisances.
18567 LC_ALL=C
18568 export LC_ALL
18569 LANGUAGE=C
18570 export LANGUAGE
18572 # CDPATH.
18573 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18576 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18577 # ----------------------------------------
18578 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18579 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18580 # script with STATUS, using 1 if that was 0.
18581 as_fn_error ()
18583 as_status=$1; test $as_status -eq 0 && as_status=1
18584 if test "$4"; then
18585 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18586 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18588 $as_echo "$as_me: error: $2" >&2
18589 as_fn_exit $as_status
18590 } # as_fn_error
18593 # as_fn_set_status STATUS
18594 # -----------------------
18595 # Set $? to STATUS, without forking.
18596 as_fn_set_status ()
18598 return $1
18599 } # as_fn_set_status
18601 # as_fn_exit STATUS
18602 # -----------------
18603 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18604 as_fn_exit ()
18606 set +e
18607 as_fn_set_status $1
18608 exit $1
18609 } # as_fn_exit
18611 # as_fn_unset VAR
18612 # ---------------
18613 # Portably unset VAR.
18614 as_fn_unset ()
18616 { eval $1=; unset $1;}
18618 as_unset=as_fn_unset
18619 # as_fn_append VAR VALUE
18620 # ----------------------
18621 # Append the text in VALUE to the end of the definition contained in VAR. Take
18622 # advantage of any shell optimizations that allow amortized linear growth over
18623 # repeated appends, instead of the typical quadratic growth present in naive
18624 # implementations.
18625 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18626 eval 'as_fn_append ()
18628 eval $1+=\$2
18630 else
18631 as_fn_append ()
18633 eval $1=\$$1\$2
18635 fi # as_fn_append
18637 # as_fn_arith ARG...
18638 # ------------------
18639 # Perform arithmetic evaluation on the ARGs, and store the result in the
18640 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18641 # must be portable across $(()) and expr.
18642 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18643 eval 'as_fn_arith ()
18645 as_val=$(( $* ))
18647 else
18648 as_fn_arith ()
18650 as_val=`expr "$@" || test $? -eq 1`
18652 fi # as_fn_arith
18655 if expr a : '\(a\)' >/dev/null 2>&1 &&
18656 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18657 as_expr=expr
18658 else
18659 as_expr=false
18662 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18663 as_basename=basename
18664 else
18665 as_basename=false
18668 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18669 as_dirname=dirname
18670 else
18671 as_dirname=false
18674 as_me=`$as_basename -- "$0" ||
18675 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18676 X"$0" : 'X\(//\)$' \| \
18677 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18678 $as_echo X/"$0" |
18679 sed '/^.*\/\([^/][^/]*\)\/*$/{
18680 s//\1/
18683 /^X\/\(\/\/\)$/{
18684 s//\1/
18687 /^X\/\(\/\).*/{
18688 s//\1/
18691 s/.*/./; q'`
18693 # Avoid depending upon Character Ranges.
18694 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18695 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18696 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18697 as_cr_digits='0123456789'
18698 as_cr_alnum=$as_cr_Letters$as_cr_digits
18700 ECHO_C= ECHO_N= ECHO_T=
18701 case `echo -n x` in #(((((
18702 -n*)
18703 case `echo 'xy\c'` in
18704 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18705 xy) ECHO_C='\c';;
18706 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18707 ECHO_T=' ';;
18708 esac;;
18710 ECHO_N='-n';;
18711 esac
18713 rm -f conf$$ conf$$.exe conf$$.file
18714 if test -d conf$$.dir; then
18715 rm -f conf$$.dir/conf$$.file
18716 else
18717 rm -f conf$$.dir
18718 mkdir conf$$.dir 2>/dev/null
18720 if (echo >conf$$.file) 2>/dev/null; then
18721 if ln -s conf$$.file conf$$ 2>/dev/null; then
18722 as_ln_s='ln -s'
18723 # ... but there are two gotchas:
18724 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18725 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18726 # In both cases, we have to default to `cp -pR'.
18727 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18728 as_ln_s='cp -pR'
18729 elif ln conf$$.file conf$$ 2>/dev/null; then
18730 as_ln_s=ln
18731 else
18732 as_ln_s='cp -pR'
18734 else
18735 as_ln_s='cp -pR'
18737 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18738 rmdir conf$$.dir 2>/dev/null
18741 # as_fn_mkdir_p
18742 # -------------
18743 # Create "$as_dir" as a directory, including parents if necessary.
18744 as_fn_mkdir_p ()
18747 case $as_dir in #(
18748 -*) as_dir=./$as_dir;;
18749 esac
18750 test -d "$as_dir" || eval $as_mkdir_p || {
18751 as_dirs=
18752 while :; do
18753 case $as_dir in #(
18754 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18755 *) as_qdir=$as_dir;;
18756 esac
18757 as_dirs="'$as_qdir' $as_dirs"
18758 as_dir=`$as_dirname -- "$as_dir" ||
18759 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18760 X"$as_dir" : 'X\(//\)[^/]' \| \
18761 X"$as_dir" : 'X\(//\)$' \| \
18762 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18763 $as_echo X"$as_dir" |
18764 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18765 s//\1/
18768 /^X\(\/\/\)[^/].*/{
18769 s//\1/
18772 /^X\(\/\/\)$/{
18773 s//\1/
18776 /^X\(\/\).*/{
18777 s//\1/
18780 s/.*/./; q'`
18781 test -d "$as_dir" && break
18782 done
18783 test -z "$as_dirs" || eval "mkdir $as_dirs"
18784 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18787 } # as_fn_mkdir_p
18788 if mkdir -p . 2>/dev/null; then
18789 as_mkdir_p='mkdir -p "$as_dir"'
18790 else
18791 test -d ./-p && rmdir ./-p
18792 as_mkdir_p=false
18796 # as_fn_executable_p FILE
18797 # -----------------------
18798 # Test if FILE is an executable regular file.
18799 as_fn_executable_p ()
18801 test -f "$1" && test -x "$1"
18802 } # as_fn_executable_p
18803 as_test_x='test -x'
18804 as_executable_p=as_fn_executable_p
18806 # Sed expression to map a string onto a valid CPP name.
18807 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18809 # Sed expression to map a string onto a valid variable name.
18810 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18813 exec 6>&1
18814 ## ----------------------------------- ##
18815 ## Main body of $CONFIG_STATUS script. ##
18816 ## ----------------------------------- ##
18817 _ASEOF
18818 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18820 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18821 # Save the log message, to keep $0 and so on meaningful, and to
18822 # report actual input values of CONFIG_FILES etc. instead of their
18823 # values after options handling.
18824 ac_log="
18825 This file was extended by Wine $as_me 1.8, which was
18826 generated by GNU Autoconf 2.69. Invocation command line was
18828 CONFIG_FILES = $CONFIG_FILES
18829 CONFIG_HEADERS = $CONFIG_HEADERS
18830 CONFIG_LINKS = $CONFIG_LINKS
18831 CONFIG_COMMANDS = $CONFIG_COMMANDS
18832 $ $0 $@
18834 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18837 _ACEOF
18839 case $ac_config_files in *"
18840 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18841 esac
18843 case $ac_config_headers in *"
18844 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18845 esac
18848 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18849 # Files that config.status was made for.
18850 config_files="$ac_config_files"
18851 config_headers="$ac_config_headers"
18852 config_links="$ac_config_links"
18853 config_commands="$ac_config_commands"
18855 _ACEOF
18857 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18858 ac_cs_usage="\
18859 \`$as_me' instantiates files and other configuration actions
18860 from templates according to the current configuration. Unless the files
18861 and actions are specified as TAGs, all are instantiated by default.
18863 Usage: $0 [OPTION]... [TAG]...
18865 -h, --help print this help, then exit
18866 -V, --version print version number and configuration settings, then exit
18867 --config print configuration, then exit
18868 -q, --quiet, --silent
18869 do not print progress messages
18870 -d, --debug don't remove temporary files
18871 --recheck update $as_me by reconfiguring in the same conditions
18872 --file=FILE[:TEMPLATE]
18873 instantiate the configuration file FILE
18874 --header=FILE[:TEMPLATE]
18875 instantiate the configuration header FILE
18877 Configuration files:
18878 $config_files
18880 Configuration headers:
18881 $config_headers
18883 Configuration links:
18884 $config_links
18886 Configuration commands:
18887 $config_commands
18889 Report bugs to <wine-devel@winehq.org>.
18890 Wine home page: <http://www.winehq.org>."
18892 _ACEOF
18893 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18894 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18895 ac_cs_version="\\
18896 Wine config.status 1.8
18897 configured by $0, generated by GNU Autoconf 2.69,
18898 with options \\"\$ac_cs_config\\"
18900 Copyright (C) 2012 Free Software Foundation, Inc.
18901 This config.status script is free software; the Free Software Foundation
18902 gives unlimited permission to copy, distribute and modify it."
18904 ac_pwd='$ac_pwd'
18905 srcdir='$srcdir'
18906 test -n "\$AWK" || AWK=awk
18907 _ACEOF
18909 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18910 # The default lists apply if the user does not specify any file.
18911 ac_need_defaults=:
18912 while test $# != 0
18914 case $1 in
18915 --*=?*)
18916 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18917 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18918 ac_shift=:
18920 --*=)
18921 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18922 ac_optarg=
18923 ac_shift=:
18926 ac_option=$1
18927 ac_optarg=$2
18928 ac_shift=shift
18930 esac
18932 case $ac_option in
18933 # Handling of the options.
18934 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18935 ac_cs_recheck=: ;;
18936 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18937 $as_echo "$ac_cs_version"; exit ;;
18938 --config | --confi | --conf | --con | --co | --c )
18939 $as_echo "$ac_cs_config"; exit ;;
18940 --debug | --debu | --deb | --de | --d | -d )
18941 debug=: ;;
18942 --file | --fil | --fi | --f )
18943 $ac_shift
18944 case $ac_optarg in
18945 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18946 '') as_fn_error $? "missing file argument" ;;
18947 esac
18948 as_fn_append CONFIG_FILES " '$ac_optarg'"
18949 ac_need_defaults=false;;
18950 --header | --heade | --head | --hea )
18951 $ac_shift
18952 case $ac_optarg in
18953 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18954 esac
18955 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18956 ac_need_defaults=false;;
18957 --he | --h)
18958 # Conflict between --help and --header
18959 as_fn_error $? "ambiguous option: \`$1'
18960 Try \`$0 --help' for more information.";;
18961 --help | --hel | -h )
18962 $as_echo "$ac_cs_usage"; exit ;;
18963 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18964 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18965 ac_cs_silent=: ;;
18967 # This is an error.
18968 -*) as_fn_error $? "unrecognized option: \`$1'
18969 Try \`$0 --help' for more information." ;;
18971 *) as_fn_append ac_config_targets " $1"
18972 ac_need_defaults=false ;;
18974 esac
18975 shift
18976 done
18978 ac_configure_extra_args=
18980 if $ac_cs_silent; then
18981 exec 6>/dev/null
18982 ac_configure_extra_args="$ac_configure_extra_args --silent"
18985 _ACEOF
18986 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18987 if \$ac_cs_recheck; then
18988 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18989 shift
18990 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18991 CONFIG_SHELL='$SHELL'
18992 export CONFIG_SHELL
18993 exec "\$@"
18996 _ACEOF
18997 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18998 exec 5>>config.log
19000 echo
19001 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19002 ## Running $as_me. ##
19003 _ASBOX
19004 $as_echo "$ac_log"
19005 } >&5
19007 _ACEOF
19008 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19010 # INIT-COMMANDS
19012 wine_fn_output_makedep ()
19014 as_dir=tools; as_fn_mkdir_p
19015 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19017 wine_fn_output_makefile ()
19019 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
19020 `cat $wine_rules_file`
19021 _WINE_EOF
19022 as_fn_error $? "could not create Makefile" "$LINENO" 5
19024 wine_fn_output_gitignore ()
19026 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
19027 $GITIGNORE
19028 _WINE_EOF
19029 as_fn_error $? "could not create .gitignore" "$LINENO" 5
19032 _ACEOF
19034 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19036 # Handling of arguments.
19037 for ac_config_target in $ac_config_targets
19039 case $ac_config_target in
19040 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19041 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19042 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19043 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19044 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19045 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19046 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19047 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19048 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
19049 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19050 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19051 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19052 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19053 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19054 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
19056 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19057 esac
19058 done
19061 # If the user did not use the arguments to specify the items to instantiate,
19062 # then the envvar interface is used. Set only those that are not.
19063 # We use the long form for the default assignment because of an extremely
19064 # bizarre bug on SunOS 4.1.3.
19065 if $ac_need_defaults; then
19066 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19067 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19068 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19069 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19072 # Have a temporary directory for convenience. Make it in the build tree
19073 # simply because there is no reason against having it here, and in addition,
19074 # creating and moving files from /tmp can sometimes cause problems.
19075 # Hook for its removal unless debugging.
19076 # Note that there is a small window in which the directory will not be cleaned:
19077 # after its creation but before its name has been assigned to `$tmp'.
19078 $debug ||
19080 tmp= ac_tmp=
19081 trap 'exit_status=$?
19082 : "${ac_tmp:=$tmp}"
19083 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19085 trap 'as_fn_exit 1' 1 2 13 15
19087 # Create a (secure) tmp directory for tmp files.
19090 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19091 test -d "$tmp"
19092 } ||
19094 tmp=./conf$$-$RANDOM
19095 (umask 077 && mkdir "$tmp")
19096 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19097 ac_tmp=$tmp
19099 # Set up the scripts for CONFIG_FILES section.
19100 # No need to generate them if there are no CONFIG_FILES.
19101 # This happens for instance with `./config.status config.h'.
19102 if test -n "$CONFIG_FILES"; then
19105 ac_cr=`echo X | tr X '\015'`
19106 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19107 # But we know of no other shell where ac_cr would be empty at this
19108 # point, so we can use a bashism as a fallback.
19109 if test "x$ac_cr" = x; then
19110 eval ac_cr=\$\'\\r\'
19112 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19113 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19114 ac_cs_awk_cr='\\r'
19115 else
19116 ac_cs_awk_cr=$ac_cr
19119 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19120 _ACEOF
19124 echo "cat >conf$$subs.awk <<_ACEOF" &&
19125 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19126 echo "_ACEOF"
19127 } >conf$$subs.sh ||
19128 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19129 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19130 ac_delim='%!_!# '
19131 for ac_last_try in false false false false false :; do
19132 . ./conf$$subs.sh ||
19133 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19135 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19136 if test $ac_delim_n = $ac_delim_num; then
19137 break
19138 elif $ac_last_try; then
19139 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19140 else
19141 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19143 done
19144 rm -f conf$$subs.sh
19146 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19147 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19148 _ACEOF
19149 sed -n '
19151 s/^/S["/; s/!.*/"]=/
19154 s/^[^!]*!//
19155 :repl
19156 t repl
19157 s/'"$ac_delim"'$//
19158 t delim
19161 s/\(.\{148\}\)..*/\1/
19162 t more1
19163 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19166 b repl
19167 :more1
19168 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19171 s/.\{148\}//
19172 t nl
19173 :delim
19175 s/\(.\{148\}\)..*/\1/
19176 t more2
19177 s/["\\]/\\&/g; s/^/"/; s/$/"/
19180 :more2
19181 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19184 s/.\{148\}//
19185 t delim
19186 ' <conf$$subs.awk | sed '
19187 /^[^""]/{
19189 s/\n//
19191 ' >>$CONFIG_STATUS || ac_write_fail=1
19192 rm -f conf$$subs.awk
19193 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19194 _ACAWK
19195 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19196 for (key in S) S_is_set[key] = 1
19197 FS = "\a"
19201 line = $ 0
19202 nfields = split(line, field, "@")
19203 substed = 0
19204 len = length(field[1])
19205 for (i = 2; i < nfields; i++) {
19206 key = field[i]
19207 keylen = length(key)
19208 if (S_is_set[key]) {
19209 value = S[key]
19210 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19211 len += length(value) + length(field[++i])
19212 substed = 1
19213 } else
19214 len += 1 + keylen
19217 print line
19220 _ACAWK
19221 _ACEOF
19222 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19223 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19224 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19225 else
19227 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19228 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19229 _ACEOF
19231 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19232 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19233 # trailing colons and then remove the whole line if VPATH becomes empty
19234 # (actually we leave an empty line to preserve line numbers).
19235 if test "x$srcdir" = x.; then
19236 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19238 s///
19239 s/^/:/
19240 s/[ ]*$/:/
19241 s/:\$(srcdir):/:/g
19242 s/:\${srcdir}:/:/g
19243 s/:@srcdir@:/:/g
19244 s/^:*//
19245 s/:*$//
19247 s/\(=[ ]*\).*/\1/
19249 s/\n//
19250 s/^[^=]*=[ ]*$//
19254 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19255 fi # test -n "$CONFIG_FILES"
19257 # Set up the scripts for CONFIG_HEADERS section.
19258 # No need to generate them if there are no CONFIG_HEADERS.
19259 # This happens for instance with `./config.status Makefile'.
19260 if test -n "$CONFIG_HEADERS"; then
19261 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19262 BEGIN {
19263 _ACEOF
19265 # Transform confdefs.h into an awk script `defines.awk', embedded as
19266 # here-document in config.status, that substitutes the proper values into
19267 # config.h.in to produce config.h.
19269 # Create a delimiter string that does not exist in confdefs.h, to ease
19270 # handling of long lines.
19271 ac_delim='%!_!# '
19272 for ac_last_try in false false :; do
19273 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19274 if test -z "$ac_tt"; then
19275 break
19276 elif $ac_last_try; then
19277 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19278 else
19279 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19281 done
19283 # For the awk script, D is an array of macro values keyed by name,
19284 # likewise P contains macro parameters if any. Preserve backslash
19285 # newline sequences.
19287 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19288 sed -n '
19289 s/.\{148\}/&'"$ac_delim"'/g
19290 t rset
19291 :rset
19292 s/^[ ]*#[ ]*define[ ][ ]*/ /
19293 t def
19295 :def
19296 s/\\$//
19297 t bsnl
19298 s/["\\]/\\&/g
19299 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19300 D["\1"]=" \3"/p
19301 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19303 :bsnl
19304 s/["\\]/\\&/g
19305 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19306 D["\1"]=" \3\\\\\\n"\\/p
19307 t cont
19308 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19309 t cont
19311 :cont
19313 s/.\{148\}/&'"$ac_delim"'/g
19314 t clear
19315 :clear
19316 s/\\$//
19317 t bsnlc
19318 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19320 :bsnlc
19321 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19322 b cont
19323 ' <confdefs.h | sed '
19324 s/'"$ac_delim"'/"\\\
19325 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19327 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19328 for (key in D) D_is_set[key] = 1
19329 FS = "\a"
19331 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19332 line = \$ 0
19333 split(line, arg, " ")
19334 if (arg[1] == "#") {
19335 defundef = arg[2]
19336 mac1 = arg[3]
19337 } else {
19338 defundef = substr(arg[1], 2)
19339 mac1 = arg[2]
19341 split(mac1, mac2, "(") #)
19342 macro = mac2[1]
19343 prefix = substr(line, 1, index(line, defundef) - 1)
19344 if (D_is_set[macro]) {
19345 # Preserve the white space surrounding the "#".
19346 print prefix "define", macro P[macro] D[macro]
19347 next
19348 } else {
19349 # Replace #undef with comments. This is necessary, for example,
19350 # in the case of _POSIX_SOURCE, which is predefined and required
19351 # on some systems where configure will not decide to define it.
19352 if (defundef == "undef") {
19353 print "/*", prefix defundef, macro, "*/"
19354 next
19358 { print }
19359 _ACAWK
19360 _ACEOF
19361 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19362 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19363 fi # test -n "$CONFIG_HEADERS"
19366 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19367 shift
19368 for ac_tag
19370 case $ac_tag in
19371 :[FHLC]) ac_mode=$ac_tag; continue;;
19372 esac
19373 case $ac_mode$ac_tag in
19374 :[FHL]*:*);;
19375 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19376 :[FH]-) ac_tag=-:-;;
19377 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19378 esac
19379 ac_save_IFS=$IFS
19380 IFS=:
19381 set x $ac_tag
19382 IFS=$ac_save_IFS
19383 shift
19384 ac_file=$1
19385 shift
19387 case $ac_mode in
19388 :L) ac_source=$1;;
19389 :[FH])
19390 ac_file_inputs=
19391 for ac_f
19393 case $ac_f in
19394 -) ac_f="$ac_tmp/stdin";;
19395 *) # Look for the file first in the build tree, then in the source tree
19396 # (if the path is not absolute). The absolute path cannot be DOS-style,
19397 # because $ac_f cannot contain `:'.
19398 test -f "$ac_f" ||
19399 case $ac_f in
19400 [\\/$]*) false;;
19401 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19402 esac ||
19403 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19404 esac
19405 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19406 as_fn_append ac_file_inputs " '$ac_f'"
19407 done
19409 # Let's still pretend it is `configure' which instantiates (i.e., don't
19410 # use $as_me), people would be surprised to read:
19411 # /* config.h. Generated by config.status. */
19412 configure_input='Generated from '`
19413 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19414 `' by configure.'
19415 if test x"$ac_file" != x-; then
19416 configure_input="$ac_file. $configure_input"
19417 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19418 $as_echo "$as_me: creating $ac_file" >&6;}
19420 # Neutralize special characters interpreted by sed in replacement strings.
19421 case $configure_input in #(
19422 *\&* | *\|* | *\\* )
19423 ac_sed_conf_input=`$as_echo "$configure_input" |
19424 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19425 *) ac_sed_conf_input=$configure_input;;
19426 esac
19428 case $ac_tag in
19429 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19430 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19431 esac
19433 esac
19435 ac_dir=`$as_dirname -- "$ac_file" ||
19436 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19437 X"$ac_file" : 'X\(//\)[^/]' \| \
19438 X"$ac_file" : 'X\(//\)$' \| \
19439 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19440 $as_echo X"$ac_file" |
19441 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19442 s//\1/
19445 /^X\(\/\/\)[^/].*/{
19446 s//\1/
19449 /^X\(\/\/\)$/{
19450 s//\1/
19453 /^X\(\/\).*/{
19454 s//\1/
19457 s/.*/./; q'`
19458 as_dir="$ac_dir"; as_fn_mkdir_p
19459 ac_builddir=.
19461 case "$ac_dir" in
19462 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19464 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19465 # A ".." for each directory in $ac_dir_suffix.
19466 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19467 case $ac_top_builddir_sub in
19468 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19469 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19470 esac ;;
19471 esac
19472 ac_abs_top_builddir=$ac_pwd
19473 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19474 # for backward compatibility:
19475 ac_top_builddir=$ac_top_build_prefix
19477 case $srcdir in
19478 .) # We are building in place.
19479 ac_srcdir=.
19480 ac_top_srcdir=$ac_top_builddir_sub
19481 ac_abs_top_srcdir=$ac_pwd ;;
19482 [\\/]* | ?:[\\/]* ) # Absolute name.
19483 ac_srcdir=$srcdir$ac_dir_suffix;
19484 ac_top_srcdir=$srcdir
19485 ac_abs_top_srcdir=$srcdir ;;
19486 *) # Relative name.
19487 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19488 ac_top_srcdir=$ac_top_build_prefix$srcdir
19489 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19490 esac
19491 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19494 case $ac_mode in
19497 # CONFIG_FILE
19500 _ACEOF
19502 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19503 # If the template does not know about datarootdir, expand it.
19504 # FIXME: This hack should be removed a few years after 2.60.
19505 ac_datarootdir_hack=; ac_datarootdir_seen=
19506 ac_sed_dataroot='
19507 /datarootdir/ {
19511 /@datadir@/p
19512 /@docdir@/p
19513 /@infodir@/p
19514 /@localedir@/p
19515 /@mandir@/p'
19516 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19517 *datarootdir*) ac_datarootdir_seen=yes;;
19518 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19520 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19521 _ACEOF
19522 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19523 ac_datarootdir_hack='
19524 s&@datadir@&$datadir&g
19525 s&@docdir@&$docdir&g
19526 s&@infodir@&$infodir&g
19527 s&@localedir@&$localedir&g
19528 s&@mandir@&$mandir&g
19529 s&\\\${datarootdir}&$datarootdir&g' ;;
19530 esac
19531 _ACEOF
19533 # Neutralize VPATH when `$srcdir' = `.'.
19534 # Shell code in configure.ac might set extrasub.
19535 # FIXME: do we really want to maintain this feature?
19536 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19537 ac_sed_extra="$ac_vpsub
19538 $extrasub
19539 _ACEOF
19540 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19542 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19543 s|@configure_input@|$ac_sed_conf_input|;t t
19544 s&@top_builddir@&$ac_top_builddir_sub&;t t
19545 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19546 s&@srcdir@&$ac_srcdir&;t t
19547 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19548 s&@top_srcdir@&$ac_top_srcdir&;t t
19549 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19550 s&@builddir@&$ac_builddir&;t t
19551 s&@abs_builddir@&$ac_abs_builddir&;t t
19552 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19553 $ac_datarootdir_hack
19555 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19556 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19558 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19559 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19560 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19561 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19563 which seems to be undefined. Please make sure it is defined" >&5
19564 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19565 which seems to be undefined. Please make sure it is defined" >&2;}
19567 rm -f "$ac_tmp/stdin"
19568 case $ac_file in
19569 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19570 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19571 esac \
19572 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19576 # CONFIG_HEADER
19578 if test x"$ac_file" != x-; then
19580 $as_echo "/* $configure_input */" \
19581 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19582 } >"$ac_tmp/config.h" \
19583 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19584 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19585 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19586 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19587 else
19588 rm -f "$ac_file"
19589 mv "$ac_tmp/config.h" "$ac_file" \
19590 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19592 else
19593 $as_echo "/* $configure_input */" \
19594 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19595 || as_fn_error $? "could not create -" "$LINENO" 5
19600 # CONFIG_LINK
19603 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19605 else
19606 # Prefer the file from the source tree if names are identical.
19607 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19608 ac_source=$srcdir/$ac_source
19611 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19612 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19614 if test ! -r "$ac_source"; then
19615 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19617 rm -f "$ac_file"
19619 # Try a relative symlink, then a hard link, then a copy.
19620 case $ac_source in
19621 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19622 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19623 esac
19624 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19625 ln "$ac_source" "$ac_file" 2>/dev/null ||
19626 cp -p "$ac_source" "$ac_file" ||
19627 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19630 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19631 $as_echo "$as_me: executing $ac_file commands" >&6;}
19633 esac
19636 case $ac_file$ac_mode in
19637 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19638 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19639 "Makefile":C) wine_fn_output_makefile Makefile ;;
19640 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19642 esac
19643 done # for ac_tag
19646 as_fn_exit 0
19647 _ACEOF
19648 ac_clean_files=$ac_clean_files_save
19650 test $ac_write_fail = 0 ||
19651 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19654 # configure is writing to config.log, and then calls config.status.
19655 # config.status does its own redirection, appending to config.log.
19656 # Unfortunately, on DOS this fails, as config.log is still kept open
19657 # by configure, so config.status won't be able to write to it; its
19658 # output is simply discarded. So we exec the FD to /dev/null,
19659 # effectively closing config.log, so it can be properly (re)opened and
19660 # appended to by config.status. When coming back to configure, we
19661 # need to make the FD available again.
19662 if test "$no_create" != yes; then
19663 ac_cs_success=:
19664 ac_config_status_args=
19665 test "$silent" = yes &&
19666 ac_config_status_args="$ac_config_status_args --quiet"
19667 exec 5>/dev/null
19668 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19669 exec 5>>config.log
19670 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19671 # would make configure fail if this is the last instruction.
19672 $ac_cs_success || as_fn_exit 1
19674 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19676 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19680 if test "$no_create" = "yes"
19681 then
19682 exit 0
19685 ac_save_IFS="$IFS"
19686 if test "x$wine_notices" != x; then
19687 echo >&6
19688 IFS="|"
19689 for msg in $wine_notices; do
19690 IFS="$ac_save_IFS"
19691 if ${msg:+false} :; then :
19693 else
19694 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19695 $as_echo "$as_me: $msg" >&6;}
19697 done
19699 IFS="|"
19700 for msg in $wine_warnings; do
19701 IFS="$ac_save_IFS"
19702 if ${msg:+false} :; then :
19704 else
19705 echo >&2
19706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19707 $as_echo "$as_me: WARNING: $msg" >&2;}
19709 done
19710 IFS="$ac_save_IFS"
19712 $as_echo "
19713 $as_me: Finished. Do '${ac_make}' to compile Wine.
19714 " >&6