TESTING -- override pthreads to fix gstreamer v5
[wine/multimedia.git] / configure
blob8fe191071c4d14b9fcaf0fd8328c403e170291c0
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_processenvironment_l1_1_0
905 enable_api_ms_win_core_processenvironment_l1_2_0
906 enable_api_ms_win_core_processthreads_l1_1_0
907 enable_api_ms_win_core_processthreads_l1_1_1
908 enable_api_ms_win_core_processthreads_l1_1_2
909 enable_api_ms_win_core_profile_l1_1_0
910 enable_api_ms_win_core_psapi_l1_1_0
911 enable_api_ms_win_core_registry_l1_1_0
912 enable_api_ms_win_core_rtlsupport_l1_1_0
913 enable_api_ms_win_core_rtlsupport_l1_2_0
914 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
915 enable_api_ms_win_core_string_l1_1_0
916 enable_api_ms_win_core_synch_l1_1_0
917 enable_api_ms_win_core_synch_l1_2_0
918 enable_api_ms_win_core_sysinfo_l1_1_0
919 enable_api_ms_win_core_sysinfo_l1_2_0
920 enable_api_ms_win_core_sysinfo_l1_2_1
921 enable_api_ms_win_core_threadpool_legacy_l1_1_0
922 enable_api_ms_win_core_timezone_l1_1_0
923 enable_api_ms_win_core_url_l1_1_0
924 enable_api_ms_win_core_util_l1_1_0
925 enable_api_ms_win_core_winrt_error_l1_1_0
926 enable_api_ms_win_core_winrt_error_l1_1_1
927 enable_api_ms_win_core_winrt_l1_1_0
928 enable_api_ms_win_core_winrt_string_l1_1_0
929 enable_api_ms_win_core_xstate_l2_1_0
930 enable_api_ms_win_crt_conio_l1_1_0
931 enable_api_ms_win_crt_convert_l1_1_0
932 enable_api_ms_win_crt_environment_l1_1_0
933 enable_api_ms_win_crt_filesystem_l1_1_0
934 enable_api_ms_win_crt_heap_l1_1_0
935 enable_api_ms_win_crt_locale_l1_1_0
936 enable_api_ms_win_crt_math_l1_1_0
937 enable_api_ms_win_crt_multibyte_l1_1_0
938 enable_api_ms_win_crt_private_l1_1_0
939 enable_api_ms_win_crt_process_l1_1_0
940 enable_api_ms_win_crt_runtime_l1_1_0
941 enable_api_ms_win_crt_stdio_l1_1_0
942 enable_api_ms_win_crt_string_l1_1_0
943 enable_api_ms_win_crt_time_l1_1_0
944 enable_api_ms_win_crt_utility_l1_1_0
945 enable_api_ms_win_downlevel_advapi32_l1_1_0
946 enable_api_ms_win_downlevel_advapi32_l2_1_0
947 enable_api_ms_win_downlevel_normaliz_l1_1_0
948 enable_api_ms_win_downlevel_ole32_l1_1_0
949 enable_api_ms_win_downlevel_shell32_l1_1_0
950 enable_api_ms_win_downlevel_shlwapi_l1_1_0
951 enable_api_ms_win_downlevel_shlwapi_l2_1_0
952 enable_api_ms_win_downlevel_user32_l1_1_0
953 enable_api_ms_win_downlevel_version_l1_1_0
954 enable_api_ms_win_eventing_provider_l1_1_0
955 enable_api_ms_win_ntuser_dc_access_l1_1_0
956 enable_api_ms_win_security_base_l1_1_0
957 enable_api_ms_win_security_base_l1_2_0
958 enable_api_ms_win_security_sddl_l1_1_0
959 enable_api_ms_win_service_core_l1_1_1
960 enable_api_ms_win_service_management_l1_1_0
961 enable_api_ms_win_service_winsvc_l1_2_0
962 enable_apphelp
963 enable_appwiz_cpl
964 enable_atl
965 enable_atl100
966 enable_atl110
967 enable_atl80
968 enable_atl90
969 enable_authz
970 enable_avicap32
971 enable_avifil32
972 enable_avrt
973 enable_bcrypt
974 enable_bluetoothapis
975 enable_browseui
976 enable_bthprops_cpl
977 enable_cabinet
978 enable_capi2032
979 enable_cards
980 enable_cfgmgr32
981 enable_clusapi
982 enable_combase
983 enable_comcat
984 enable_comctl32
985 enable_comdlg32
986 enable_compstui
987 enable_comsvcs
988 enable_connect
989 enable_credui
990 enable_crtdll
991 enable_crypt32
992 enable_cryptdlg
993 enable_cryptdll
994 enable_cryptext
995 enable_cryptnet
996 enable_cryptui
997 enable_ctapi32
998 enable_ctl3d32
999 enable_d2d1
1000 enable_d3d10
1001 enable_d3d10_1
1002 enable_d3d10core
1003 enable_d3d11
1004 enable_d3d8
1005 enable_d3d9
1006 enable_d3dcompiler_33
1007 enable_d3dcompiler_34
1008 enable_d3dcompiler_35
1009 enable_d3dcompiler_36
1010 enable_d3dcompiler_37
1011 enable_d3dcompiler_38
1012 enable_d3dcompiler_39
1013 enable_d3dcompiler_40
1014 enable_d3dcompiler_41
1015 enable_d3dcompiler_42
1016 enable_d3dcompiler_43
1017 enable_d3dcompiler_46
1018 enable_d3dcompiler_47
1019 enable_d3dim
1020 enable_d3drm
1021 enable_d3dx10_33
1022 enable_d3dx10_34
1023 enable_d3dx10_35
1024 enable_d3dx10_36
1025 enable_d3dx10_37
1026 enable_d3dx10_38
1027 enable_d3dx10_39
1028 enable_d3dx10_40
1029 enable_d3dx10_41
1030 enable_d3dx10_42
1031 enable_d3dx10_43
1032 enable_d3dx11_42
1033 enable_d3dx11_43
1034 enable_d3dx9_24
1035 enable_d3dx9_25
1036 enable_d3dx9_26
1037 enable_d3dx9_27
1038 enable_d3dx9_28
1039 enable_d3dx9_29
1040 enable_d3dx9_30
1041 enable_d3dx9_31
1042 enable_d3dx9_32
1043 enable_d3dx9_33
1044 enable_d3dx9_34
1045 enable_d3dx9_35
1046 enable_d3dx9_36
1047 enable_d3dx9_37
1048 enable_d3dx9_38
1049 enable_d3dx9_39
1050 enable_d3dx9_40
1051 enable_d3dx9_41
1052 enable_d3dx9_42
1053 enable_d3dx9_43
1054 enable_d3dxof
1055 enable_davclnt
1056 enable_dbgeng
1057 enable_dbghelp
1058 enable_dciman32
1059 enable_ddraw
1060 enable_ddrawex
1061 enable_devenum
1062 enable_dhcpcsvc
1063 enable_difxapi
1064 enable_dinput
1065 enable_dinput8
1066 enable_dispex
1067 enable_dmband
1068 enable_dmcompos
1069 enable_dmime
1070 enable_dmloader
1071 enable_dmscript
1072 enable_dmstyle
1073 enable_dmsynth
1074 enable_dmusic
1075 enable_dmusic32
1076 enable_dnsapi
1077 enable_dplay
1078 enable_dplayx
1079 enable_dpnaddr
1080 enable_dpnet
1081 enable_dpnhpast
1082 enable_dpnlobby
1083 enable_dpvoice
1084 enable_dpwsockx
1085 enable_drmclien
1086 enable_dsound
1087 enable_dssenh
1088 enable_dswave
1089 enable_dwmapi
1090 enable_dwrite
1091 enable_dxdiagn
1092 enable_dxgi
1093 enable_dxva2
1094 enable_esent
1095 enable_evr
1096 enable_explorerframe
1097 enable_ext_ms_win_gdi_devcaps_l1_1_0
1098 enable_faultrep
1099 enable_fltlib
1100 enable_fltmgr_sys
1101 enable_fntcache
1102 enable_fontsub
1103 enable_fusion
1104 enable_fwpuclnt
1105 enable_gameux
1106 enable_gdi32
1107 enable_gdiplus
1108 enable_glu32
1109 enable_gphoto2_ds
1110 enable_gpkcsp
1111 enable_hal
1112 enable_hhctrl_ocx
1113 enable_hid
1114 enable_hidclass_sys
1115 enable_hlink
1116 enable_hnetcfg
1117 enable_httpapi
1118 enable_iccvid
1119 enable_icmp
1120 enable_ieframe
1121 enable_imaadp32_acm
1122 enable_imagehlp
1123 enable_imm32
1124 enable_inetcomm
1125 enable_inetcpl_cpl
1126 enable_inetmib1
1127 enable_infosoft
1128 enable_initpki
1129 enable_inkobj
1130 enable_inseng
1131 enable_iphlpapi
1132 enable_itircl
1133 enable_itss
1134 enable_joy_cpl
1135 enable_jscript
1136 enable_jsproxy
1137 enable_kernel32
1138 enable_ksuser
1139 enable_ktmw32
1140 enable_loadperf
1141 enable_localspl
1142 enable_localui
1143 enable_lz32
1144 enable_mapi32
1145 enable_mapistub
1146 enable_mciavi32
1147 enable_mcicda
1148 enable_mciqtz32
1149 enable_mciseq
1150 enable_mciwave
1151 enable_mf
1152 enable_mfplat
1153 enable_mfreadwrite
1154 enable_mgmtapi
1155 enable_midimap
1156 enable_mlang
1157 enable_mmcndmgr
1158 enable_mmdevapi
1159 enable_mountmgr_sys
1160 enable_mpr
1161 enable_mprapi
1162 enable_msacm32_drv
1163 enable_msacm32
1164 enable_msadp32_acm
1165 enable_msasn1
1166 enable_mscat32
1167 enable_mscms
1168 enable_mscoree
1169 enable_msctf
1170 enable_msctfp
1171 enable_msdaps
1172 enable_msdelta
1173 enable_msdmo
1174 enable_msftedit
1175 enable_msg711_acm
1176 enable_msgsm32_acm
1177 enable_mshtml_tlb
1178 enable_mshtml
1179 enable_msi
1180 enable_msident
1181 enable_msimg32
1182 enable_msimsg
1183 enable_msimtf
1184 enable_msisip
1185 enable_msisys_ocx
1186 enable_msls31
1187 enable_msnet32
1188 enable_mspatcha
1189 enable_msrle32
1190 enable_msscript_ocx
1191 enable_mssign32
1192 enable_mssip32
1193 enable_mstask
1194 enable_msvcirt
1195 enable_msvcm80
1196 enable_msvcm90
1197 enable_msvcp100
1198 enable_msvcp110
1199 enable_msvcp120
1200 enable_msvcp120_app
1201 enable_msvcp60
1202 enable_msvcp70
1203 enable_msvcp71
1204 enable_msvcp80
1205 enable_msvcp90
1206 enable_msvcr100
1207 enable_msvcr110
1208 enable_msvcr120
1209 enable_msvcr120_app
1210 enable_msvcr70
1211 enable_msvcr71
1212 enable_msvcr80
1213 enable_msvcr90
1214 enable_msvcrt
1215 enable_msvcrt20
1216 enable_msvcrt40
1217 enable_msvcrtd
1218 enable_msvfw32
1219 enable_msvidc32
1220 enable_mswsock
1221 enable_msxml
1222 enable_msxml2
1223 enable_msxml3
1224 enable_msxml4
1225 enable_msxml6
1226 enable_nddeapi
1227 enable_ndis_sys
1228 enable_netapi32
1229 enable_netcfgx
1230 enable_netprofm
1231 enable_newdev
1232 enable_normaliz
1233 enable_npmshtml
1234 enable_npptools
1235 enable_ntdll
1236 enable_ntdsapi
1237 enable_ntoskrnl_exe
1238 enable_ntprint
1239 enable_objsel
1240 enable_odbc32
1241 enable_odbccp32
1242 enable_odbccu32
1243 enable_ole32
1244 enable_oleacc
1245 enable_oleaut32
1246 enable_olecli32
1247 enable_oledb32
1248 enable_oledlg
1249 enable_olepro32
1250 enable_olesvr32
1251 enable_olethk32
1252 enable_openal32
1253 enable_opencl
1254 enable_opengl32
1255 enable_packager
1256 enable_pdh
1257 enable_photometadatahandler
1258 enable_pidgen
1259 enable_powrprof
1260 enable_printui
1261 enable_prntvpt
1262 enable_propsys
1263 enable_psapi
1264 enable_pstorec
1265 enable_qcap
1266 enable_qedit
1267 enable_qmgr
1268 enable_qmgrprxy
1269 enable_quartz
1270 enable_query
1271 enable_rasapi32
1272 enable_rasdlg
1273 enable_regapi
1274 enable_resutils
1275 enable_riched20
1276 enable_riched32
1277 enable_rpcrt4
1278 enable_rsabase
1279 enable_rsaenh
1280 enable_rstrtmgr
1281 enable_rtutils
1282 enable_samlib
1283 enable_sane_ds
1284 enable_scarddlg
1285 enable_sccbase
1286 enable_schannel
1287 enable_schedsvc
1288 enable_scrrun
1289 enable_scsiport_sys
1290 enable_secur32
1291 enable_security
1292 enable_sensapi
1293 enable_serialui
1294 enable_setupapi
1295 enable_sfc
1296 enable_sfc_os
1297 enable_shdoclc
1298 enable_shdocvw
1299 enable_shell32
1300 enable_shfolder
1301 enable_shlwapi
1302 enable_slbcsp
1303 enable_slc
1304 enable_snmpapi
1305 enable_softpub
1306 enable_spoolss
1307 enable_stdole2_tlb
1308 enable_stdole32_tlb
1309 enable_sti
1310 enable_svrapi
1311 enable_sxs
1312 enable_t2embed
1313 enable_tapi32
1314 enable_taskschd
1315 enable_tdi_sys
1316 enable_traffic
1317 enable_twain_32
1318 enable_ucrtbase
1319 enable_unicows
1320 enable_updspapi
1321 enable_url
1322 enable_urlmon
1323 enable_usbd_sys
1324 enable_user32
1325 enable_userenv
1326 enable_usp10
1327 enable_uxtheme
1328 enable_vbscript
1329 enable_vcomp
1330 enable_vcomp100
1331 enable_vcomp110
1332 enable_vcomp120
1333 enable_vcomp90
1334 enable_vcruntime140
1335 enable_vdmdbg
1336 enable_version
1337 enable_vssapi
1338 enable_wbemdisp
1339 enable_wbemprox
1340 enable_webservices
1341 enable_wer
1342 enable_wevtapi
1343 enable_wiaservc
1344 enable_wimgapi
1345 enable_windowscodecs
1346 enable_windowscodecsext
1347 enable_winealsa_drv
1348 enable_winecoreaudio_drv
1349 enable_wined3d
1350 enable_winegstreamer
1351 enable_winejoystick_drv
1352 enable_winemac_drv
1353 enable_winemapi
1354 enable_winemp3_acm
1355 enable_wineoss_drv
1356 enable_wineps_drv
1357 enable_winepulse_drv
1358 enable_wineqtdecoder
1359 enable_winex11_drv
1360 enable_wing32
1361 enable_winhttp
1362 enable_wininet
1363 enable_winmm
1364 enable_winnls32
1365 enable_winscard
1366 enable_winspool_drv
1367 enable_winsta
1368 enable_wintab32
1369 enable_wintrust
1370 enable_wlanapi
1371 enable_wldap32
1372 enable_wmi
1373 enable_wmiutils
1374 enable_wmp
1375 enable_wmvcore
1376 enable_wnaspi32
1377 enable_wpcap
1378 enable_ws2_32
1379 enable_wshom_ocx
1380 enable_wsnmp32
1381 enable_wsock32
1382 enable_wtsapi32
1383 enable_wuapi
1384 enable_wuaueng
1385 enable_x3daudio1_0
1386 enable_x3daudio1_1
1387 enable_x3daudio1_2
1388 enable_x3daudio1_3
1389 enable_x3daudio1_4
1390 enable_x3daudio1_5
1391 enable_x3daudio1_6
1392 enable_x3daudio1_7
1393 enable_xapofx1_1
1394 enable_xapofx1_2
1395 enable_xapofx1_3
1396 enable_xapofx1_4
1397 enable_xapofx1_5
1398 enable_xaudio2_0
1399 enable_xaudio2_1
1400 enable_xaudio2_2
1401 enable_xaudio2_3
1402 enable_xaudio2_4
1403 enable_xaudio2_5
1404 enable_xaudio2_6
1405 enable_xaudio2_7
1406 enable_xaudio2_8
1407 enable_xinput1_1
1408 enable_xinput1_2
1409 enable_xinput1_3
1410 enable_xinput1_4
1411 enable_xinput9_1_0
1412 enable_xmllite
1413 enable_xolehlp
1414 enable_xpsprint
1415 enable_xpssvcs
1416 enable_fonts
1417 enable_include
1418 enable_libs_port
1419 enable_libs_wine
1420 enable_libs_wpp
1421 enable_loader
1422 enable_arp
1423 enable_aspnet_regiis
1424 enable_attrib
1425 enable_cabarc
1426 enable_cacls
1427 enable_clock
1428 enable_cmd
1429 enable_conhost
1430 enable_control
1431 enable_cscript
1432 enable_dpnsvr
1433 enable_dxdiag
1434 enable_eject
1435 enable_expand
1436 enable_explorer
1437 enable_extrac32
1438 enable_findstr
1439 enable_hh
1440 enable_hostname
1441 enable_icinfo
1442 enable_iexplore
1443 enable_ipconfig
1444 enable_lodctr
1445 enable_mofcomp
1446 enable_mshta
1447 enable_msiexec
1448 enable_net
1449 enable_netsh
1450 enable_netstat
1451 enable_ngen
1452 enable_notepad
1453 enable_oleview
1454 enable_ping
1455 enable_plugplay
1456 enable_presentationfontcache
1457 enable_progman
1458 enable_reg
1459 enable_regasm
1460 enable_regedit
1461 enable_regsvcs
1462 enable_regsvr32
1463 enable_rpcss
1464 enable_rundll32
1465 enable_sc
1466 enable_schtasks
1467 enable_sdbinst
1468 enable_secedit
1469 enable_servicemodelreg
1470 enable_services
1471 enable_spoolsv
1472 enable_start
1473 enable_svchost
1474 enable_systeminfo
1475 enable_taskkill
1476 enable_tasklist
1477 enable_taskmgr
1478 enable_termsv
1479 enable_uninstaller
1480 enable_unlodctr
1481 enable_view
1482 enable_wevtutil
1483 enable_wineboot
1484 enable_winebrowser
1485 enable_winecfg
1486 enable_wineconsole
1487 enable_winedbg
1488 enable_winedevice
1489 enable_winefile
1490 enable_winemenubuilder
1491 enable_winemine
1492 enable_winemsibuilder
1493 enable_winepath
1494 enable_winetest
1495 enable_winhlp32
1496 enable_winver
1497 enable_wmic
1498 enable_wmplayer
1499 enable_wordpad
1500 enable_write
1501 enable_wscript
1502 enable_wusa
1503 enable_xcopy
1504 enable_server
1505 enable_tools
1507 ac_precious_vars='build_alias
1508 host_alias
1509 target_alias
1511 CFLAGS
1512 LDFLAGS
1513 LIBS
1514 CPPFLAGS
1516 CXXFLAGS
1519 XMKMF
1520 XML2_CFLAGS
1521 XML2_LIBS
1522 XSLT_CFLAGS
1523 XSLT_LIBS
1524 DBUS_CFLAGS
1525 DBUS_LIBS
1526 HAL_CFLAGS
1527 HAL_LIBS
1528 GNUTLS_CFLAGS
1529 GNUTLS_LIBS
1530 SANE_CFLAGS
1531 SANE_LIBS
1532 GPHOTO2_CFLAGS
1533 GPHOTO2_LIBS
1534 GPHOTO2_PORT_CFLAGS
1535 GPHOTO2_PORT_LIBS
1536 LCMS2_CFLAGS
1537 LCMS2_LIBS
1538 FREETYPE_CFLAGS
1539 FREETYPE_LIBS
1540 PULSE_CFLAGS
1541 PULSE_LIBS
1542 GSTREAMER_CFLAGS
1543 GSTREAMER_LIBS
1544 CAPI20_CFLAGS
1545 CAPI20_LIBS
1546 FONTCONFIG_CFLAGS
1547 FONTCONFIG_LIBS
1548 JPEG_CFLAGS
1549 JPEG_LIBS
1550 PNG_CFLAGS
1551 PNG_LIBS
1552 TIFF_CFLAGS
1553 TIFF_LIBS
1554 MPG123_CFLAGS
1555 MPG123_LIBS'
1558 # Initialize some variables set by options.
1559 ac_init_help=
1560 ac_init_version=false
1561 ac_unrecognized_opts=
1562 ac_unrecognized_sep=
1563 # The variables have the same names as the options, with
1564 # dashes changed to underlines.
1565 cache_file=/dev/null
1566 exec_prefix=NONE
1567 no_create=
1568 no_recursion=
1569 prefix=NONE
1570 program_prefix=NONE
1571 program_suffix=NONE
1572 program_transform_name=s,x,x,
1573 silent=
1574 site=
1575 srcdir=
1576 verbose=
1577 x_includes=NONE
1578 x_libraries=NONE
1580 # Installation directory options.
1581 # These are left unexpanded so users can "make install exec_prefix=/foo"
1582 # and all the variables that are supposed to be based on exec_prefix
1583 # by default will actually change.
1584 # Use braces instead of parens because sh, perl, etc. also accept them.
1585 # (The list follows the same order as the GNU Coding Standards.)
1586 bindir='${exec_prefix}/bin'
1587 sbindir='${exec_prefix}/sbin'
1588 libexecdir='${exec_prefix}/libexec'
1589 datarootdir='${prefix}/share'
1590 datadir='${datarootdir}'
1591 sysconfdir='${prefix}/etc'
1592 sharedstatedir='${prefix}/com'
1593 localstatedir='${prefix}/var'
1594 runstatedir='${localstatedir}/run'
1595 includedir='${prefix}/include'
1596 oldincludedir='/usr/include'
1597 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1598 infodir='${datarootdir}/info'
1599 htmldir='${docdir}'
1600 dvidir='${docdir}'
1601 pdfdir='${docdir}'
1602 psdir='${docdir}'
1603 libdir='${exec_prefix}/lib'
1604 localedir='${datarootdir}/locale'
1605 mandir='${datarootdir}/man'
1607 ac_prev=
1608 ac_dashdash=
1609 for ac_option
1611 # If the previous option needs an argument, assign it.
1612 if test -n "$ac_prev"; then
1613 eval $ac_prev=\$ac_option
1614 ac_prev=
1615 continue
1618 case $ac_option in
1619 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1620 *=) ac_optarg= ;;
1621 *) ac_optarg=yes ;;
1622 esac
1624 # Accept the important Cygnus configure options, so we can diagnose typos.
1626 case $ac_dashdash$ac_option in
1628 ac_dashdash=yes ;;
1630 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1631 ac_prev=bindir ;;
1632 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1633 bindir=$ac_optarg ;;
1635 -build | --build | --buil | --bui | --bu)
1636 ac_prev=build_alias ;;
1637 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1638 build_alias=$ac_optarg ;;
1640 -cache-file | --cache-file | --cache-fil | --cache-fi \
1641 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1642 ac_prev=cache_file ;;
1643 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1644 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1645 cache_file=$ac_optarg ;;
1647 --config-cache | -C)
1648 cache_file=config.cache ;;
1650 -datadir | --datadir | --datadi | --datad)
1651 ac_prev=datadir ;;
1652 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1653 datadir=$ac_optarg ;;
1655 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1656 | --dataroo | --dataro | --datar)
1657 ac_prev=datarootdir ;;
1658 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1659 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1660 datarootdir=$ac_optarg ;;
1662 -disable-* | --disable-*)
1663 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1664 # Reject names that are not valid shell variable names.
1665 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1666 as_fn_error $? "invalid feature name: $ac_useropt"
1667 ac_useropt_orig=$ac_useropt
1668 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1669 case $ac_user_opts in
1671 "enable_$ac_useropt"
1672 "*) ;;
1673 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1674 ac_unrecognized_sep=', ';;
1675 esac
1676 eval enable_$ac_useropt=no ;;
1678 -docdir | --docdir | --docdi | --doc | --do)
1679 ac_prev=docdir ;;
1680 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1681 docdir=$ac_optarg ;;
1683 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1684 ac_prev=dvidir ;;
1685 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1686 dvidir=$ac_optarg ;;
1688 -enable-* | --enable-*)
1689 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1690 # Reject names that are not valid shell variable names.
1691 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1692 as_fn_error $? "invalid feature name: $ac_useropt"
1693 ac_useropt_orig=$ac_useropt
1694 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1695 case $ac_user_opts in
1697 "enable_$ac_useropt"
1698 "*) ;;
1699 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1700 ac_unrecognized_sep=', ';;
1701 esac
1702 eval enable_$ac_useropt=\$ac_optarg ;;
1704 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1705 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1706 | --exec | --exe | --ex)
1707 ac_prev=exec_prefix ;;
1708 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1709 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1710 | --exec=* | --exe=* | --ex=*)
1711 exec_prefix=$ac_optarg ;;
1713 -gas | --gas | --ga | --g)
1714 # Obsolete; use --with-gas.
1715 with_gas=yes ;;
1717 -help | --help | --hel | --he | -h)
1718 ac_init_help=long ;;
1719 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1720 ac_init_help=recursive ;;
1721 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1722 ac_init_help=short ;;
1724 -host | --host | --hos | --ho)
1725 ac_prev=host_alias ;;
1726 -host=* | --host=* | --hos=* | --ho=*)
1727 host_alias=$ac_optarg ;;
1729 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1730 ac_prev=htmldir ;;
1731 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1732 | --ht=*)
1733 htmldir=$ac_optarg ;;
1735 -includedir | --includedir | --includedi | --included | --include \
1736 | --includ | --inclu | --incl | --inc)
1737 ac_prev=includedir ;;
1738 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1739 | --includ=* | --inclu=* | --incl=* | --inc=*)
1740 includedir=$ac_optarg ;;
1742 -infodir | --infodir | --infodi | --infod | --info | --inf)
1743 ac_prev=infodir ;;
1744 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1745 infodir=$ac_optarg ;;
1747 -libdir | --libdir | --libdi | --libd)
1748 ac_prev=libdir ;;
1749 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1750 libdir=$ac_optarg ;;
1752 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1753 | --libexe | --libex | --libe)
1754 ac_prev=libexecdir ;;
1755 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1756 | --libexe=* | --libex=* | --libe=*)
1757 libexecdir=$ac_optarg ;;
1759 -localedir | --localedir | --localedi | --localed | --locale)
1760 ac_prev=localedir ;;
1761 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1762 localedir=$ac_optarg ;;
1764 -localstatedir | --localstatedir | --localstatedi | --localstated \
1765 | --localstate | --localstat | --localsta | --localst | --locals)
1766 ac_prev=localstatedir ;;
1767 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1768 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1769 localstatedir=$ac_optarg ;;
1771 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1772 ac_prev=mandir ;;
1773 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1774 mandir=$ac_optarg ;;
1776 -nfp | --nfp | --nf)
1777 # Obsolete; use --without-fp.
1778 with_fp=no ;;
1780 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1781 | --no-cr | --no-c | -n)
1782 no_create=yes ;;
1784 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1785 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1786 no_recursion=yes ;;
1788 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1789 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1790 | --oldin | --oldi | --old | --ol | --o)
1791 ac_prev=oldincludedir ;;
1792 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1793 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1794 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1795 oldincludedir=$ac_optarg ;;
1797 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1798 ac_prev=prefix ;;
1799 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1800 prefix=$ac_optarg ;;
1802 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1803 | --program-pre | --program-pr | --program-p)
1804 ac_prev=program_prefix ;;
1805 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1806 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1807 program_prefix=$ac_optarg ;;
1809 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1810 | --program-suf | --program-su | --program-s)
1811 ac_prev=program_suffix ;;
1812 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1813 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1814 program_suffix=$ac_optarg ;;
1816 -program-transform-name | --program-transform-name \
1817 | --program-transform-nam | --program-transform-na \
1818 | --program-transform-n | --program-transform- \
1819 | --program-transform | --program-transfor \
1820 | --program-transfo | --program-transf \
1821 | --program-trans | --program-tran \
1822 | --progr-tra | --program-tr | --program-t)
1823 ac_prev=program_transform_name ;;
1824 -program-transform-name=* | --program-transform-name=* \
1825 | --program-transform-nam=* | --program-transform-na=* \
1826 | --program-transform-n=* | --program-transform-=* \
1827 | --program-transform=* | --program-transfor=* \
1828 | --program-transfo=* | --program-transf=* \
1829 | --program-trans=* | --program-tran=* \
1830 | --progr-tra=* | --program-tr=* | --program-t=*)
1831 program_transform_name=$ac_optarg ;;
1833 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1834 ac_prev=pdfdir ;;
1835 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1836 pdfdir=$ac_optarg ;;
1838 -psdir | --psdir | --psdi | --psd | --ps)
1839 ac_prev=psdir ;;
1840 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1841 psdir=$ac_optarg ;;
1843 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1844 | -silent | --silent | --silen | --sile | --sil)
1845 silent=yes ;;
1847 -runstatedir | --runstatedir | --runstatedi | --runstated \
1848 | --runstate | --runstat | --runsta | --runst | --runs \
1849 | --run | --ru | --r)
1850 ac_prev=runstatedir ;;
1851 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1852 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1853 | --run=* | --ru=* | --r=*)
1854 runstatedir=$ac_optarg ;;
1856 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1857 ac_prev=sbindir ;;
1858 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1859 | --sbi=* | --sb=*)
1860 sbindir=$ac_optarg ;;
1862 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1863 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1864 | --sharedst | --shareds | --shared | --share | --shar \
1865 | --sha | --sh)
1866 ac_prev=sharedstatedir ;;
1867 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1868 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1869 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1870 | --sha=* | --sh=*)
1871 sharedstatedir=$ac_optarg ;;
1873 -site | --site | --sit)
1874 ac_prev=site ;;
1875 -site=* | --site=* | --sit=*)
1876 site=$ac_optarg ;;
1878 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1879 ac_prev=srcdir ;;
1880 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1881 srcdir=$ac_optarg ;;
1883 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1884 | --syscon | --sysco | --sysc | --sys | --sy)
1885 ac_prev=sysconfdir ;;
1886 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1887 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1888 sysconfdir=$ac_optarg ;;
1890 -target | --target | --targe | --targ | --tar | --ta | --t)
1891 ac_prev=target_alias ;;
1892 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1893 target_alias=$ac_optarg ;;
1895 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1896 verbose=yes ;;
1898 -version | --version | --versio | --versi | --vers | -V)
1899 ac_init_version=: ;;
1901 -with-* | --with-*)
1902 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1903 # Reject names that are not valid shell variable names.
1904 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1905 as_fn_error $? "invalid package name: $ac_useropt"
1906 ac_useropt_orig=$ac_useropt
1907 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1908 case $ac_user_opts in
1910 "with_$ac_useropt"
1911 "*) ;;
1912 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1913 ac_unrecognized_sep=', ';;
1914 esac
1915 eval with_$ac_useropt=\$ac_optarg ;;
1917 -without-* | --without-*)
1918 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1919 # Reject names that are not valid shell variable names.
1920 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1921 as_fn_error $? "invalid package name: $ac_useropt"
1922 ac_useropt_orig=$ac_useropt
1923 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1924 case $ac_user_opts in
1926 "with_$ac_useropt"
1927 "*) ;;
1928 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1929 ac_unrecognized_sep=', ';;
1930 esac
1931 eval with_$ac_useropt=no ;;
1933 --x)
1934 # Obsolete; use --with-x.
1935 with_x=yes ;;
1937 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1938 | --x-incl | --x-inc | --x-in | --x-i)
1939 ac_prev=x_includes ;;
1940 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1941 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1942 x_includes=$ac_optarg ;;
1944 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1945 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1946 ac_prev=x_libraries ;;
1947 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1948 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1949 x_libraries=$ac_optarg ;;
1951 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1952 Try \`$0 --help' for more information"
1955 *=*)
1956 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1957 # Reject names that are not valid shell variable names.
1958 case $ac_envvar in #(
1959 '' | [0-9]* | *[!_$as_cr_alnum]* )
1960 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1961 esac
1962 eval $ac_envvar=\$ac_optarg
1963 export $ac_envvar ;;
1966 # FIXME: should be removed in autoconf 3.0.
1967 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1968 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1969 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1970 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1973 esac
1974 done
1976 if test -n "$ac_prev"; then
1977 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1978 as_fn_error $? "missing argument to $ac_option"
1981 if test -n "$ac_unrecognized_opts"; then
1982 case $enable_option_checking in
1983 no) ;;
1984 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1985 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1986 esac
1989 # Check all directory arguments for consistency.
1990 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1991 datadir sysconfdir sharedstatedir localstatedir includedir \
1992 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1993 libdir localedir mandir runstatedir
1995 eval ac_val=\$$ac_var
1996 # Remove trailing slashes.
1997 case $ac_val in
1998 */ )
1999 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2000 eval $ac_var=\$ac_val;;
2001 esac
2002 # Be sure to have absolute directory names.
2003 case $ac_val in
2004 [\\/$]* | ?:[\\/]* ) continue;;
2005 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2006 esac
2007 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2008 done
2010 # There might be people who depend on the old broken behavior: `$host'
2011 # used to hold the argument of --host etc.
2012 # FIXME: To remove some day.
2013 build=$build_alias
2014 host=$host_alias
2015 target=$target_alias
2017 # FIXME: To remove some day.
2018 if test "x$host_alias" != x; then
2019 if test "x$build_alias" = x; then
2020 cross_compiling=maybe
2021 elif test "x$build_alias" != "x$host_alias"; then
2022 cross_compiling=yes
2026 ac_tool_prefix=
2027 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2029 test "$silent" = yes && exec 6>/dev/null
2032 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2033 ac_ls_di=`ls -di .` &&
2034 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2035 as_fn_error $? "working directory cannot be determined"
2036 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2037 as_fn_error $? "pwd does not report name of working directory"
2040 # Find the source files, if location was not specified.
2041 if test -z "$srcdir"; then
2042 ac_srcdir_defaulted=yes
2043 # Try the directory containing this script, then the parent directory.
2044 ac_confdir=`$as_dirname -- "$as_myself" ||
2045 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2046 X"$as_myself" : 'X\(//\)[^/]' \| \
2047 X"$as_myself" : 'X\(//\)$' \| \
2048 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2049 $as_echo X"$as_myself" |
2050 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2051 s//\1/
2054 /^X\(\/\/\)[^/].*/{
2055 s//\1/
2058 /^X\(\/\/\)$/{
2059 s//\1/
2062 /^X\(\/\).*/{
2063 s//\1/
2066 s/.*/./; q'`
2067 srcdir=$ac_confdir
2068 if test ! -r "$srcdir/$ac_unique_file"; then
2069 srcdir=..
2071 else
2072 ac_srcdir_defaulted=no
2074 if test ! -r "$srcdir/$ac_unique_file"; then
2075 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2076 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2078 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2079 ac_abs_confdir=`(
2080 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2081 pwd)`
2082 # When building in place, set srcdir=.
2083 if test "$ac_abs_confdir" = "$ac_pwd"; then
2084 srcdir=.
2086 # Remove unnecessary trailing slashes from srcdir.
2087 # Double slashes in file names in object file debugging info
2088 # mess up M-x gdb in Emacs.
2089 case $srcdir in
2090 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2091 esac
2092 for ac_var in $ac_precious_vars; do
2093 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2094 eval ac_env_${ac_var}_value=\$${ac_var}
2095 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2096 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2097 done
2100 # Report the --help message.
2102 if test "$ac_init_help" = "long"; then
2103 # Omit some internal or obsolete options to make the list less imposing.
2104 # This message is too long to be a string in the A/UX 3.1 sh.
2105 cat <<_ACEOF
2106 \`configure' configures Wine 1.8 to adapt to many kinds of systems.
2108 Usage: $0 [OPTION]... [VAR=VALUE]...
2110 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2111 VAR=VALUE. See below for descriptions of some of the useful variables.
2113 Defaults for the options are specified in brackets.
2115 Configuration:
2116 -h, --help display this help and exit
2117 --help=short display options specific to this package
2118 --help=recursive display the short help of all the included packages
2119 -V, --version display version information and exit
2120 -q, --quiet, --silent do not print \`checking ...' messages
2121 --cache-file=FILE cache test results in FILE [disabled]
2122 -C, --config-cache alias for \`--cache-file=config.cache'
2123 -n, --no-create do not create output files
2124 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2126 Installation directories:
2127 --prefix=PREFIX install architecture-independent files in PREFIX
2128 [$ac_default_prefix]
2129 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2130 [PREFIX]
2132 By default, \`make install' will install all the files in
2133 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2134 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2135 for instance \`--prefix=\$HOME'.
2137 For better control, use the options below.
2139 Fine tuning of the installation directories:
2140 --bindir=DIR user executables [EPREFIX/bin]
2141 --sbindir=DIR system admin executables [EPREFIX/sbin]
2142 --libexecdir=DIR program executables [EPREFIX/libexec]
2143 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2144 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2145 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2146 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2147 --libdir=DIR object code libraries [EPREFIX/lib]
2148 --includedir=DIR C header files [PREFIX/include]
2149 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2150 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2151 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2152 --infodir=DIR info documentation [DATAROOTDIR/info]
2153 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2154 --mandir=DIR man documentation [DATAROOTDIR/man]
2155 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2156 --htmldir=DIR html documentation [DOCDIR]
2157 --dvidir=DIR dvi documentation [DOCDIR]
2158 --pdfdir=DIR pdf documentation [DOCDIR]
2159 --psdir=DIR ps documentation [DOCDIR]
2160 _ACEOF
2162 cat <<\_ACEOF
2164 X features:
2165 --x-includes=DIR X include files are in DIR
2166 --x-libraries=DIR X library files are in DIR
2168 System types:
2169 --build=BUILD configure for building on BUILD [guessed]
2170 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2171 _ACEOF
2174 if test -n "$ac_init_help"; then
2175 case $ac_init_help in
2176 short | recursive ) echo "Configuration of Wine 1.8:";;
2177 esac
2178 cat <<\_ACEOF
2180 Optional Features:
2181 --disable-option-checking ignore unrecognized --enable/--with options
2182 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2183 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2184 --disable-win16 do not include Win16 support
2185 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2186 binaries)
2187 --disable-tests do not build the regression tests
2188 --enable-maintainer-mode
2189 enable maintainer-specific build rules
2190 --disable-largefile omit support for large files
2192 Optional Packages:
2193 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2194 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2195 --without-alsa do not use the Alsa sound support
2196 --without-capi do not use CAPI (ISDN support)
2197 --without-cms do not use CMS (color management support)
2198 --without-coreaudio do not use the CoreAudio sound support
2199 --without-cups do not use CUPS
2200 --without-curses do not use (n)curses
2201 --without-dbus do not use DBus (dynamic device support)
2202 --without-fontconfig do not use fontconfig
2203 --without-freetype do not use the FreeType library
2204 --without-gettext do not use gettext
2205 --with-gettextpo use the GetTextPO library to rebuild po files
2206 --without-gphoto do not use gphoto (Digital Camera support)
2207 --without-glu do not use the GLU library
2208 --without-gnutls do not use GnuTLS (schannel support)
2209 --without-gsm do not use libgsm (GSM 06.10 codec support)
2210 --without-gstreamer do not use GStreamer (codecs support)
2211 --without-hal do not use HAL (dynamic device support)
2212 --without-jpeg do not use JPEG
2213 --without-ldap do not use LDAP
2214 --without-mpg123 do not use the mpg123 library
2215 --without-netapi do not use the Samba NetAPI library
2216 --without-openal do not use OpenAL
2217 --without-opencl do not use OpenCL
2218 --without-opengl do not use OpenGL
2219 --without-osmesa do not use the OSMesa library
2220 --without-oss do not use the OSS sound support
2221 --without-pcap do not use the Packet Capture library
2222 --without-png do not use PNG
2223 --without-pthread do not use the pthread library
2224 --without-pulse do not use PulseAudio sound support
2225 --without-sane do not use SANE (scanner support)
2226 --without-tiff do not use TIFF
2227 --without-v4l do not use v4l1 (v4l support)
2228 --without-xcomposite do not use the Xcomposite extension
2229 --without-xcursor do not use the Xcursor extension
2230 --without-xinerama do not use Xinerama (multi-monitor support)
2231 --without-xinput do not use the Xinput extension
2232 --without-xinput2 do not use the Xinput 2 extension
2233 --without-xml do not use XML
2234 --without-xrandr do not use Xrandr (resolution changes)
2235 --without-xrender do not use the Xrender extension
2236 --without-xshape do not use the Xshape extension
2237 --without-xshm do not use XShm (shared memory extension)
2238 --without-xslt do not use XSLT
2239 --without-xxf86vm do not use XFree video mode extension
2240 --without-zlib do not use Zlib (data compression)
2241 --with-wine-tools=DIR use Wine tools from directory DIR
2242 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2243 --with-x use the X Window System
2245 Some influential environment variables:
2246 CC C compiler command
2247 CFLAGS C compiler flags
2248 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2249 nonstandard directory <lib dir>
2250 LIBS libraries to pass to the linker, e.g. -l<library>
2251 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2252 you have headers in a nonstandard directory <include dir>
2253 CXX C++ compiler command
2254 CXXFLAGS C++ compiler flags
2255 CPP C preprocessor
2256 XMKMF Path to xmkmf, Makefile generator for X Window System
2257 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2258 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2259 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2260 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2261 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2262 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2263 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2264 HAL_LIBS Linker flags for hal, overriding pkg-config
2265 GNUTLS_CFLAGS
2266 C compiler flags for gnutls, overriding pkg-config
2267 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2268 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2269 SANE_LIBS Linker flags for libsane, overriding pkg-config
2270 GPHOTO2_CFLAGS
2271 C compiler flags for libgphoto2, overriding pkg-config
2272 GPHOTO2_LIBS
2273 Linker flags for libgphoto2, overriding pkg-config
2274 GPHOTO2_PORT_CFLAGS
2275 C compiler flags for libgphoto2_port, overriding pkg-config
2276 GPHOTO2_PORT_LIBS
2277 Linker flags for libgphoto2_port, overriding pkg-config
2278 LCMS2_CFLAGS
2279 C compiler flags for lcms2, overriding pkg-config
2280 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2281 FREETYPE_CFLAGS
2282 C compiler flags for freetype2, overriding pkg-config
2283 FREETYPE_LIBS
2284 Linker flags for freetype2, overriding pkg-config
2285 PULSE_CFLAGS
2286 C compiler flags for libpulse, overriding pkg-config
2287 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2288 GSTREAMER_CFLAGS
2289 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2290 GSTREAMER_LIBS
2291 Linker flags for gstreamer-app-0.10, overriding pkg-config
2292 CAPI20_CFLAGS
2293 C compiler flags for capi20, overriding pkg-config
2294 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2295 FONTCONFIG_CFLAGS
2296 C compiler flags for fontconfig, overriding pkg-config
2297 FONTCONFIG_LIBS
2298 Linker flags for fontconfig, overriding pkg-config
2299 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2300 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2301 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2302 PNG_LIBS Linker flags for libpng, overriding pkg-config
2303 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2304 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2305 MPG123_CFLAGS
2306 C compiler flags for libmpg123, overriding pkg-config
2307 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2309 Use these variables to override the choices made by `configure' or to help
2310 it to find libraries and programs with nonstandard names/locations.
2312 Report bugs to <wine-devel@winehq.org>.
2313 Wine home page: <http://www.winehq.org>.
2314 _ACEOF
2315 ac_status=$?
2318 if test "$ac_init_help" = "recursive"; then
2319 # If there are subdirs, report their specific --help.
2320 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2321 test -d "$ac_dir" ||
2322 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2323 continue
2324 ac_builddir=.
2326 case "$ac_dir" in
2327 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2329 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2330 # A ".." for each directory in $ac_dir_suffix.
2331 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2332 case $ac_top_builddir_sub in
2333 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2334 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2335 esac ;;
2336 esac
2337 ac_abs_top_builddir=$ac_pwd
2338 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2339 # for backward compatibility:
2340 ac_top_builddir=$ac_top_build_prefix
2342 case $srcdir in
2343 .) # We are building in place.
2344 ac_srcdir=.
2345 ac_top_srcdir=$ac_top_builddir_sub
2346 ac_abs_top_srcdir=$ac_pwd ;;
2347 [\\/]* | ?:[\\/]* ) # Absolute name.
2348 ac_srcdir=$srcdir$ac_dir_suffix;
2349 ac_top_srcdir=$srcdir
2350 ac_abs_top_srcdir=$srcdir ;;
2351 *) # Relative name.
2352 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2353 ac_top_srcdir=$ac_top_build_prefix$srcdir
2354 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2355 esac
2356 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2358 cd "$ac_dir" || { ac_status=$?; continue; }
2359 # Check for guested configure.
2360 if test -f "$ac_srcdir/configure.gnu"; then
2361 echo &&
2362 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2363 elif test -f "$ac_srcdir/configure"; then
2364 echo &&
2365 $SHELL "$ac_srcdir/configure" --help=recursive
2366 else
2367 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2368 fi || ac_status=$?
2369 cd "$ac_pwd" || { ac_status=$?; break; }
2370 done
2373 test -n "$ac_init_help" && exit $ac_status
2374 if $ac_init_version; then
2375 cat <<\_ACEOF
2376 Wine configure 1.8
2377 generated by GNU Autoconf 2.69
2379 Copyright (C) 2012 Free Software Foundation, Inc.
2380 This configure script is free software; the Free Software Foundation
2381 gives unlimited permission to copy, distribute and modify it.
2382 _ACEOF
2383 exit
2386 ## ------------------------ ##
2387 ## Autoconf initialization. ##
2388 ## ------------------------ ##
2390 # ac_fn_c_try_compile LINENO
2391 # --------------------------
2392 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2393 ac_fn_c_try_compile ()
2395 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2396 rm -f conftest.$ac_objext
2397 if { { ac_try="$ac_compile"
2398 case "(($ac_try" in
2399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2400 *) ac_try_echo=$ac_try;;
2401 esac
2402 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2403 $as_echo "$ac_try_echo"; } >&5
2404 (eval "$ac_compile") 2>conftest.err
2405 ac_status=$?
2406 if test -s conftest.err; then
2407 grep -v '^ *+' conftest.err >conftest.er1
2408 cat conftest.er1 >&5
2409 mv -f conftest.er1 conftest.err
2411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2412 test $ac_status = 0; } && {
2413 test -z "$ac_c_werror_flag" ||
2414 test ! -s conftest.err
2415 } && test -s conftest.$ac_objext; then :
2416 ac_retval=0
2417 else
2418 $as_echo "$as_me: failed program was:" >&5
2419 sed 's/^/| /' conftest.$ac_ext >&5
2421 ac_retval=1
2423 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2424 as_fn_set_status $ac_retval
2426 } # ac_fn_c_try_compile
2428 # ac_fn_cxx_try_compile LINENO
2429 # ----------------------------
2430 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2431 ac_fn_cxx_try_compile ()
2433 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2434 rm -f conftest.$ac_objext
2435 if { { ac_try="$ac_compile"
2436 case "(($ac_try" in
2437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2438 *) ac_try_echo=$ac_try;;
2439 esac
2440 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2441 $as_echo "$ac_try_echo"; } >&5
2442 (eval "$ac_compile") 2>conftest.err
2443 ac_status=$?
2444 if test -s conftest.err; then
2445 grep -v '^ *+' conftest.err >conftest.er1
2446 cat conftest.er1 >&5
2447 mv -f conftest.er1 conftest.err
2449 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2450 test $ac_status = 0; } && {
2451 test -z "$ac_cxx_werror_flag" ||
2452 test ! -s conftest.err
2453 } && test -s conftest.$ac_objext; then :
2454 ac_retval=0
2455 else
2456 $as_echo "$as_me: failed program was:" >&5
2457 sed 's/^/| /' conftest.$ac_ext >&5
2459 ac_retval=1
2461 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2462 as_fn_set_status $ac_retval
2464 } # ac_fn_cxx_try_compile
2466 # ac_fn_c_try_link LINENO
2467 # -----------------------
2468 # Try to link conftest.$ac_ext, and return whether this succeeded.
2469 ac_fn_c_try_link ()
2471 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2472 rm -f conftest.$ac_objext conftest$ac_exeext
2473 if { { ac_try="$ac_link"
2474 case "(($ac_try" in
2475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2476 *) ac_try_echo=$ac_try;;
2477 esac
2478 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2479 $as_echo "$ac_try_echo"; } >&5
2480 (eval "$ac_link") 2>conftest.err
2481 ac_status=$?
2482 if test -s conftest.err; then
2483 grep -v '^ *+' conftest.err >conftest.er1
2484 cat conftest.er1 >&5
2485 mv -f conftest.er1 conftest.err
2487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2488 test $ac_status = 0; } && {
2489 test -z "$ac_c_werror_flag" ||
2490 test ! -s conftest.err
2491 } && test -s conftest$ac_exeext && {
2492 test "$cross_compiling" = yes ||
2493 test -x conftest$ac_exeext
2494 }; then :
2495 ac_retval=0
2496 else
2497 $as_echo "$as_me: failed program was:" >&5
2498 sed 's/^/| /' conftest.$ac_ext >&5
2500 ac_retval=1
2502 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2503 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2504 # interfere with the next link command; also delete a directory that is
2505 # left behind by Apple's compiler. We do this before executing the actions.
2506 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2507 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2508 as_fn_set_status $ac_retval
2510 } # ac_fn_c_try_link
2512 # ac_fn_c_try_cpp LINENO
2513 # ----------------------
2514 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2515 ac_fn_c_try_cpp ()
2517 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2518 if { { ac_try="$ac_cpp conftest.$ac_ext"
2519 case "(($ac_try" in
2520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2521 *) ac_try_echo=$ac_try;;
2522 esac
2523 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2524 $as_echo "$ac_try_echo"; } >&5
2525 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2526 ac_status=$?
2527 if test -s conftest.err; then
2528 grep -v '^ *+' conftest.err >conftest.er1
2529 cat conftest.er1 >&5
2530 mv -f conftest.er1 conftest.err
2532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2533 test $ac_status = 0; } > conftest.i && {
2534 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2535 test ! -s conftest.err
2536 }; then :
2537 ac_retval=0
2538 else
2539 $as_echo "$as_me: failed program was:" >&5
2540 sed 's/^/| /' conftest.$ac_ext >&5
2542 ac_retval=1
2544 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2545 as_fn_set_status $ac_retval
2547 } # ac_fn_c_try_cpp
2549 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2550 # -------------------------------------------------------
2551 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2552 # the include files in INCLUDES and setting the cache variable VAR
2553 # accordingly.
2554 ac_fn_c_check_header_mongrel ()
2556 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2557 if eval \${$3+:} false; then :
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2559 $as_echo_n "checking for $2... " >&6; }
2560 if eval \${$3+:} false; then :
2561 $as_echo_n "(cached) " >&6
2563 eval ac_res=\$$3
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2565 $as_echo "$ac_res" >&6; }
2566 else
2567 # Is the header compilable?
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2569 $as_echo_n "checking $2 usability... " >&6; }
2570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2571 /* end confdefs.h. */
2573 #include <$2>
2574 _ACEOF
2575 if ac_fn_c_try_compile "$LINENO"; then :
2576 ac_header_compiler=yes
2577 else
2578 ac_header_compiler=no
2580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2582 $as_echo "$ac_header_compiler" >&6; }
2584 # Is the header present?
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2586 $as_echo_n "checking $2 presence... " >&6; }
2587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2588 /* end confdefs.h. */
2589 #include <$2>
2590 _ACEOF
2591 if ac_fn_c_try_cpp "$LINENO"; then :
2592 ac_header_preproc=yes
2593 else
2594 ac_header_preproc=no
2596 rm -f conftest.err conftest.i conftest.$ac_ext
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2598 $as_echo "$ac_header_preproc" >&6; }
2600 # So? What about this header?
2601 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2602 yes:no: )
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2604 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2606 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2608 no:yes:* )
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2610 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2612 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2614 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2616 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2618 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2619 ( $as_echo "## ------------------------------------ ##
2620 ## Report this to wine-devel@winehq.org ##
2621 ## ------------------------------------ ##"
2622 ) | sed "s/^/$as_me: WARNING: /" >&2
2624 esac
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2626 $as_echo_n "checking for $2... " >&6; }
2627 if eval \${$3+:} false; then :
2628 $as_echo_n "(cached) " >&6
2629 else
2630 eval "$3=\$ac_header_compiler"
2632 eval ac_res=\$$3
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2634 $as_echo "$ac_res" >&6; }
2636 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2638 } # ac_fn_c_check_header_mongrel
2640 # ac_fn_c_try_run LINENO
2641 # ----------------------
2642 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2643 # that executables *can* be run.
2644 ac_fn_c_try_run ()
2646 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2647 if { { ac_try="$ac_link"
2648 case "(($ac_try" in
2649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2650 *) ac_try_echo=$ac_try;;
2651 esac
2652 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2653 $as_echo "$ac_try_echo"; } >&5
2654 (eval "$ac_link") 2>&5
2655 ac_status=$?
2656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2657 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2658 { { case "(($ac_try" in
2659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2660 *) ac_try_echo=$ac_try;;
2661 esac
2662 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2663 $as_echo "$ac_try_echo"; } >&5
2664 (eval "$ac_try") 2>&5
2665 ac_status=$?
2666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2667 test $ac_status = 0; }; }; then :
2668 ac_retval=0
2669 else
2670 $as_echo "$as_me: program exited with status $ac_status" >&5
2671 $as_echo "$as_me: failed program was:" >&5
2672 sed 's/^/| /' conftest.$ac_ext >&5
2674 ac_retval=$ac_status
2676 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2677 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2678 as_fn_set_status $ac_retval
2680 } # ac_fn_c_try_run
2682 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2683 # -------------------------------------------------------
2684 # Tests whether HEADER exists and can be compiled using the include files in
2685 # INCLUDES, setting the cache variable VAR accordingly.
2686 ac_fn_c_check_header_compile ()
2688 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2690 $as_echo_n "checking for $2... " >&6; }
2691 if eval \${$3+:} false; then :
2692 $as_echo_n "(cached) " >&6
2693 else
2694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2695 /* end confdefs.h. */
2697 #include <$2>
2698 _ACEOF
2699 if ac_fn_c_try_compile "$LINENO"; then :
2700 eval "$3=yes"
2701 else
2702 eval "$3=no"
2704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2706 eval ac_res=\$$3
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2708 $as_echo "$ac_res" >&6; }
2709 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2711 } # ac_fn_c_check_header_compile
2713 # ac_fn_c_check_func LINENO FUNC VAR
2714 # ----------------------------------
2715 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2716 ac_fn_c_check_func ()
2718 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2720 $as_echo_n "checking for $2... " >&6; }
2721 if eval \${$3+:} false; then :
2722 $as_echo_n "(cached) " >&6
2723 else
2724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2725 /* end confdefs.h. */
2726 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2728 #define $2 innocuous_$2
2730 /* System header to define __stub macros and hopefully few prototypes,
2731 which can conflict with char $2 (); below.
2732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2733 <limits.h> exists even on freestanding compilers. */
2735 #ifdef __STDC__
2736 # include <limits.h>
2737 #else
2738 # include <assert.h>
2739 #endif
2741 #undef $2
2743 /* Override any GCC internal prototype to avoid an error.
2744 Use char because int might match the return type of a GCC
2745 builtin and then its argument prototype would still apply. */
2746 #ifdef __cplusplus
2747 extern "C"
2748 #endif
2749 char $2 ();
2750 /* The GNU C library defines this for functions which it implements
2751 to always fail with ENOSYS. Some functions are actually named
2752 something starting with __ and the normal name is an alias. */
2753 #if defined __stub_$2 || defined __stub___$2
2754 choke me
2755 #endif
2758 main ()
2760 return $2 ();
2762 return 0;
2764 _ACEOF
2765 if ac_fn_c_try_link "$LINENO"; then :
2766 eval "$3=yes"
2767 else
2768 eval "$3=no"
2770 rm -f core conftest.err conftest.$ac_objext \
2771 conftest$ac_exeext conftest.$ac_ext
2773 eval ac_res=\$$3
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2775 $as_echo "$ac_res" >&6; }
2776 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2778 } # ac_fn_c_check_func
2780 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2781 # ----------------------------------------------------
2782 # Tries to find if the field MEMBER exists in type AGGR, after including
2783 # INCLUDES, setting cache variable VAR accordingly.
2784 ac_fn_c_check_member ()
2786 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2788 $as_echo_n "checking for $2.$3... " >&6; }
2789 if eval \${$4+:} false; then :
2790 $as_echo_n "(cached) " >&6
2791 else
2792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2793 /* end confdefs.h. */
2796 main ()
2798 static $2 ac_aggr;
2799 if (ac_aggr.$3)
2800 return 0;
2802 return 0;
2804 _ACEOF
2805 if ac_fn_c_try_compile "$LINENO"; then :
2806 eval "$4=yes"
2807 else
2808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2809 /* end confdefs.h. */
2812 main ()
2814 static $2 ac_aggr;
2815 if (sizeof ac_aggr.$3)
2816 return 0;
2818 return 0;
2820 _ACEOF
2821 if ac_fn_c_try_compile "$LINENO"; then :
2822 eval "$4=yes"
2823 else
2824 eval "$4=no"
2826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2830 eval ac_res=\$$4
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2832 $as_echo "$ac_res" >&6; }
2833 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2835 } # ac_fn_c_check_member
2837 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2838 # -------------------------------------------
2839 # Tests whether TYPE exists after having included INCLUDES, setting cache
2840 # variable VAR accordingly.
2841 ac_fn_c_check_type ()
2843 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2845 $as_echo_n "checking for $2... " >&6; }
2846 if eval \${$3+:} false; then :
2847 $as_echo_n "(cached) " >&6
2848 else
2849 eval "$3=no"
2850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2851 /* end confdefs.h. */
2854 main ()
2856 if (sizeof ($2))
2857 return 0;
2859 return 0;
2861 _ACEOF
2862 if ac_fn_c_try_compile "$LINENO"; then :
2863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2864 /* end confdefs.h. */
2867 main ()
2869 if (sizeof (($2)))
2870 return 0;
2872 return 0;
2874 _ACEOF
2875 if ac_fn_c_try_compile "$LINENO"; then :
2877 else
2878 eval "$3=yes"
2880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2884 eval ac_res=\$$3
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2886 $as_echo "$ac_res" >&6; }
2887 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2889 } # ac_fn_c_check_type
2890 cat >config.log <<_ACEOF
2891 This file contains any messages produced by compilers while
2892 running configure, to aid debugging if configure makes a mistake.
2894 It was created by Wine $as_me 1.8, which was
2895 generated by GNU Autoconf 2.69. Invocation command line was
2897 $ $0 $@
2899 _ACEOF
2900 exec 5>>config.log
2902 cat <<_ASUNAME
2903 ## --------- ##
2904 ## Platform. ##
2905 ## --------- ##
2907 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2908 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2909 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2910 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2911 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2913 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2914 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2916 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2917 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2918 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2919 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2920 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2921 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2922 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2924 _ASUNAME
2926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2927 for as_dir in $PATH
2929 IFS=$as_save_IFS
2930 test -z "$as_dir" && as_dir=.
2931 $as_echo "PATH: $as_dir"
2932 done
2933 IFS=$as_save_IFS
2935 } >&5
2937 cat >&5 <<_ACEOF
2940 ## ----------- ##
2941 ## Core tests. ##
2942 ## ----------- ##
2944 _ACEOF
2947 # Keep a trace of the command line.
2948 # Strip out --no-create and --no-recursion so they do not pile up.
2949 # Strip out --silent because we don't want to record it for future runs.
2950 # Also quote any args containing shell meta-characters.
2951 # Make two passes to allow for proper duplicate-argument suppression.
2952 ac_configure_args=
2953 ac_configure_args0=
2954 ac_configure_args1=
2955 ac_must_keep_next=false
2956 for ac_pass in 1 2
2958 for ac_arg
2960 case $ac_arg in
2961 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2962 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2963 | -silent | --silent | --silen | --sile | --sil)
2964 continue ;;
2965 *\'*)
2966 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2967 esac
2968 case $ac_pass in
2969 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2971 as_fn_append ac_configure_args1 " '$ac_arg'"
2972 if test $ac_must_keep_next = true; then
2973 ac_must_keep_next=false # Got value, back to normal.
2974 else
2975 case $ac_arg in
2976 *=* | --config-cache | -C | -disable-* | --disable-* \
2977 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2978 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2979 | -with-* | --with-* | -without-* | --without-* | --x)
2980 case "$ac_configure_args0 " in
2981 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2982 esac
2984 -* ) ac_must_keep_next=true ;;
2985 esac
2987 as_fn_append ac_configure_args " '$ac_arg'"
2989 esac
2990 done
2991 done
2992 { ac_configure_args0=; unset ac_configure_args0;}
2993 { ac_configure_args1=; unset ac_configure_args1;}
2995 # When interrupted or exit'd, cleanup temporary files, and complete
2996 # config.log. We remove comments because anyway the quotes in there
2997 # would cause problems or look ugly.
2998 # WARNING: Use '\'' to represent an apostrophe within the trap.
2999 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3000 trap 'exit_status=$?
3001 # Save into config.log some information that might help in debugging.
3003 echo
3005 $as_echo "## ---------------- ##
3006 ## Cache variables. ##
3007 ## ---------------- ##"
3008 echo
3009 # The following way of writing the cache mishandles newlines in values,
3011 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3012 eval ac_val=\$$ac_var
3013 case $ac_val in #(
3014 *${as_nl}*)
3015 case $ac_var in #(
3016 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3017 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3018 esac
3019 case $ac_var in #(
3020 _ | IFS | as_nl) ;; #(
3021 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3022 *) { eval $ac_var=; unset $ac_var;} ;;
3023 esac ;;
3024 esac
3025 done
3026 (set) 2>&1 |
3027 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3028 *${as_nl}ac_space=\ *)
3029 sed -n \
3030 "s/'\''/'\''\\\\'\'''\''/g;
3031 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3032 ;; #(
3034 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3036 esac |
3037 sort
3039 echo
3041 $as_echo "## ----------------- ##
3042 ## Output variables. ##
3043 ## ----------------- ##"
3044 echo
3045 for ac_var in $ac_subst_vars
3047 eval ac_val=\$$ac_var
3048 case $ac_val in
3049 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3050 esac
3051 $as_echo "$ac_var='\''$ac_val'\''"
3052 done | sort
3053 echo
3055 if test -n "$ac_subst_files"; then
3056 $as_echo "## ------------------- ##
3057 ## File substitutions. ##
3058 ## ------------------- ##"
3059 echo
3060 for ac_var in $ac_subst_files
3062 eval ac_val=\$$ac_var
3063 case $ac_val in
3064 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3065 esac
3066 $as_echo "$ac_var='\''$ac_val'\''"
3067 done | sort
3068 echo
3071 if test -s confdefs.h; then
3072 $as_echo "## ----------- ##
3073 ## confdefs.h. ##
3074 ## ----------- ##"
3075 echo
3076 cat confdefs.h
3077 echo
3079 test "$ac_signal" != 0 &&
3080 $as_echo "$as_me: caught signal $ac_signal"
3081 $as_echo "$as_me: exit $exit_status"
3082 } >&5
3083 rm -f core *.core core.conftest.* &&
3084 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3085 exit $exit_status
3087 for ac_signal in 1 2 13 15; do
3088 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3089 done
3090 ac_signal=0
3092 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3093 rm -f -r conftest* confdefs.h
3095 $as_echo "/* confdefs.h */" > confdefs.h
3097 # Predefined preprocessor variables.
3099 cat >>confdefs.h <<_ACEOF
3100 #define PACKAGE_NAME "$PACKAGE_NAME"
3101 _ACEOF
3103 cat >>confdefs.h <<_ACEOF
3104 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3105 _ACEOF
3107 cat >>confdefs.h <<_ACEOF
3108 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3109 _ACEOF
3111 cat >>confdefs.h <<_ACEOF
3112 #define PACKAGE_STRING "$PACKAGE_STRING"
3113 _ACEOF
3115 cat >>confdefs.h <<_ACEOF
3116 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3117 _ACEOF
3119 cat >>confdefs.h <<_ACEOF
3120 #define PACKAGE_URL "$PACKAGE_URL"
3121 _ACEOF
3124 # Let the site file select an alternate cache file if it wants to.
3125 # Prefer an explicitly selected file to automatically selected ones.
3126 ac_site_file1=NONE
3127 ac_site_file2=NONE
3128 if test -n "$CONFIG_SITE"; then
3129 # We do not want a PATH search for config.site.
3130 case $CONFIG_SITE in #((
3131 -*) ac_site_file1=./$CONFIG_SITE;;
3132 */*) ac_site_file1=$CONFIG_SITE;;
3133 *) ac_site_file1=./$CONFIG_SITE;;
3134 esac
3135 elif test "x$prefix" != xNONE; then
3136 ac_site_file1=$prefix/share/config.site
3137 ac_site_file2=$prefix/etc/config.site
3138 else
3139 ac_site_file1=$ac_default_prefix/share/config.site
3140 ac_site_file2=$ac_default_prefix/etc/config.site
3142 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3144 test "x$ac_site_file" = xNONE && continue
3145 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3147 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3148 sed 's/^/| /' "$ac_site_file" >&5
3149 . "$ac_site_file" \
3150 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3151 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3152 as_fn_error $? "failed to load site script $ac_site_file
3153 See \`config.log' for more details" "$LINENO" 5; }
3155 done
3157 if test -r "$cache_file"; then
3158 # Some versions of bash will fail to source /dev/null (special files
3159 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3160 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3162 $as_echo "$as_me: loading cache $cache_file" >&6;}
3163 case $cache_file in
3164 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3165 *) . "./$cache_file";;
3166 esac
3168 else
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3170 $as_echo "$as_me: creating cache $cache_file" >&6;}
3171 >$cache_file
3174 # Check that the precious variables saved in the cache have kept the same
3175 # value.
3176 ac_cache_corrupted=false
3177 for ac_var in $ac_precious_vars; do
3178 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3179 eval ac_new_set=\$ac_env_${ac_var}_set
3180 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3181 eval ac_new_val=\$ac_env_${ac_var}_value
3182 case $ac_old_set,$ac_new_set in
3183 set,)
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3185 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3186 ac_cache_corrupted=: ;;
3187 ,set)
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3189 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3190 ac_cache_corrupted=: ;;
3191 ,);;
3193 if test "x$ac_old_val" != "x$ac_new_val"; then
3194 # differences in whitespace do not lead to failure.
3195 ac_old_val_w=`echo x $ac_old_val`
3196 ac_new_val_w=`echo x $ac_new_val`
3197 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3199 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3200 ac_cache_corrupted=:
3201 else
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3203 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3204 eval $ac_var=\$ac_old_val
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3207 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3209 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3210 fi;;
3211 esac
3212 # Pass precious variables to config.status.
3213 if test "$ac_new_set" = set; then
3214 case $ac_new_val in
3215 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3216 *) ac_arg=$ac_var=$ac_new_val ;;
3217 esac
3218 case " $ac_configure_args " in
3219 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3220 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3221 esac
3223 done
3224 if $ac_cache_corrupted; then
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3226 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3228 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3229 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3231 ## -------------------- ##
3232 ## Main body of script. ##
3233 ## -------------------- ##
3235 ac_ext=c
3236 ac_cpp='$CPP $CPPFLAGS'
3237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3243 ac_config_headers="$ac_config_headers include/config.h"
3245 ac_aux_dir=
3246 for ac_dir in tools "$srcdir"/tools; do
3247 if test -f "$ac_dir/install-sh"; then
3248 ac_aux_dir=$ac_dir
3249 ac_install_sh="$ac_aux_dir/install-sh -c"
3250 break
3251 elif test -f "$ac_dir/install.sh"; then
3252 ac_aux_dir=$ac_dir
3253 ac_install_sh="$ac_aux_dir/install.sh -c"
3254 break
3255 elif test -f "$ac_dir/shtool"; then
3256 ac_aux_dir=$ac_dir
3257 ac_install_sh="$ac_aux_dir/shtool install -c"
3258 break
3260 done
3261 if test -z "$ac_aux_dir"; then
3262 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3265 # These three variables are undocumented and unsupported,
3266 # and are intended to be withdrawn in a future Autoconf release.
3267 # They can cause serious problems if a builder's source tree is in a directory
3268 # whose full name contains unusual characters.
3269 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3270 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3271 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3275 libwine_version="1.0"
3279 # Check whether --enable-win16 was given.
3280 if test "${enable_win16+set}" = set; then :
3281 enableval=$enable_win16;
3284 # Check whether --enable-win64 was given.
3285 if test "${enable_win64+set}" = set; then :
3286 enableval=$enable_win64;
3289 # Check whether --enable-tests was given.
3290 if test "${enable_tests+set}" = set; then :
3291 enableval=$enable_tests;
3294 # Check whether --enable-maintainer-mode was given.
3295 if test "${enable_maintainer_mode+set}" = set; then :
3296 enableval=$enable_maintainer_mode;
3301 # Check whether --with-alsa was given.
3302 if test "${with_alsa+set}" = set; then :
3303 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3307 # Check whether --with-capi was given.
3308 if test "${with_capi+set}" = set; then :
3309 withval=$with_capi;
3313 # Check whether --with-cms was given.
3314 if test "${with_cms+set}" = set; then :
3315 withval=$with_cms;
3319 # Check whether --with-coreaudio was given.
3320 if test "${with_coreaudio+set}" = set; then :
3321 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3325 # Check whether --with-cups was given.
3326 if test "${with_cups+set}" = set; then :
3327 withval=$with_cups;
3331 # Check whether --with-curses was given.
3332 if test "${with_curses+set}" = set; then :
3333 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3337 # Check whether --with-dbus was given.
3338 if test "${with_dbus+set}" = set; then :
3339 withval=$with_dbus;
3343 # Check whether --with-fontconfig was given.
3344 if test "${with_fontconfig+set}" = set; then :
3345 withval=$with_fontconfig;
3349 # Check whether --with-freetype was given.
3350 if test "${with_freetype+set}" = set; then :
3351 withval=$with_freetype;
3355 # Check whether --with-gettext was given.
3356 if test "${with_gettext+set}" = set; then :
3357 withval=$with_gettext;
3361 # Check whether --with-gettextpo was given.
3362 if test "${with_gettextpo+set}" = set; then :
3363 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3367 # Check whether --with-gphoto was given.
3368 if test "${with_gphoto+set}" = set; then :
3369 withval=$with_gphoto;
3373 # Check whether --with-glu was given.
3374 if test "${with_glu+set}" = set; then :
3375 withval=$with_glu;
3379 # Check whether --with-gnutls was given.
3380 if test "${with_gnutls+set}" = set; then :
3381 withval=$with_gnutls;
3385 # Check whether --with-gsm was given.
3386 if test "${with_gsm+set}" = set; then :
3387 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3391 # Check whether --with-gstreamer was given.
3392 if test "${with_gstreamer+set}" = set; then :
3393 withval=$with_gstreamer;
3397 # Check whether --with-hal was given.
3398 if test "${with_hal+set}" = set; then :
3399 withval=$with_hal;
3403 # Check whether --with-jpeg was given.
3404 if test "${with_jpeg+set}" = set; then :
3405 withval=$with_jpeg;
3409 # Check whether --with-ldap was given.
3410 if test "${with_ldap+set}" = set; then :
3411 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3415 # Check whether --with-mpg123 was given.
3416 if test "${with_mpg123+set}" = set; then :
3417 withval=$with_mpg123;
3421 # Check whether --with-netapi was given.
3422 if test "${with_netapi+set}" = set; then :
3423 withval=$with_netapi;
3427 # Check whether --with-openal was given.
3428 if test "${with_openal+set}" = set; then :
3429 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3433 # Check whether --with-opencl was given.
3434 if test "${with_opencl+set}" = set; then :
3435 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3439 # Check whether --with-opengl was given.
3440 if test "${with_opengl+set}" = set; then :
3441 withval=$with_opengl;
3445 # Check whether --with-osmesa was given.
3446 if test "${with_osmesa+set}" = set; then :
3447 withval=$with_osmesa;
3451 # Check whether --with-oss was given.
3452 if test "${with_oss+set}" = set; then :
3453 withval=$with_oss;
3457 # Check whether --with-pcap was given.
3458 if test "${with_pcap+set}" = set; then :
3459 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3463 # Check whether --with-png was given.
3464 if test "${with_png+set}" = set; then :
3465 withval=$with_png;
3469 # Check whether --with-pthread was given.
3470 if test "${with_pthread+set}" = set; then :
3471 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3475 # Check whether --with-pulse was given.
3476 if test "${with_pulse+set}" = set; then :
3477 withval=$with_pulse;
3481 # Check whether --with-sane was given.
3482 if test "${with_sane+set}" = set; then :
3483 withval=$with_sane;
3487 # Check whether --with-tiff was given.
3488 if test "${with_tiff+set}" = set; then :
3489 withval=$with_tiff;
3493 # Check whether --with-v4l was given.
3494 if test "${with_v4l+set}" = set; then :
3495 withval=$with_v4l;
3499 # Check whether --with-xcomposite was given.
3500 if test "${with_xcomposite+set}" = set; then :
3501 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3505 # Check whether --with-xcursor was given.
3506 if test "${with_xcursor+set}" = set; then :
3507 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3511 # Check whether --with-xinerama was given.
3512 if test "${with_xinerama+set}" = set; then :
3513 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3517 # Check whether --with-xinput was given.
3518 if test "${with_xinput+set}" = set; then :
3519 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3523 # Check whether --with-xinput2 was given.
3524 if test "${with_xinput2+set}" = set; then :
3525 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3529 # Check whether --with-xml was given.
3530 if test "${with_xml+set}" = set; then :
3531 withval=$with_xml;
3535 # Check whether --with-xrandr was given.
3536 if test "${with_xrandr+set}" = set; then :
3537 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3541 # Check whether --with-xrender was given.
3542 if test "${with_xrender+set}" = set; then :
3543 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3547 # Check whether --with-xshape was given.
3548 if test "${with_xshape+set}" = set; then :
3549 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3553 # Check whether --with-xshm was given.
3554 if test "${with_xshm+set}" = set; then :
3555 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3559 # Check whether --with-xslt was given.
3560 if test "${with_xslt+set}" = set; then :
3561 withval=$with_xslt;
3565 # Check whether --with-xxf86vm was given.
3566 if test "${with_xxf86vm+set}" = set; then :
3567 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
3571 # Check whether --with-zlib was given.
3572 if test "${with_zlib+set}" = set; then :
3573 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3578 # Check whether --with-wine-tools was given.
3579 if test "${with_wine_tools+set}" = set; then :
3580 withval=$with_wine_tools;
3584 # Check whether --with-wine64 was given.
3585 if test "${with_wine64+set}" = set; then :
3586 withval=$with_wine64;
3590 # Make sure we can run config.sub.
3591 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3592 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3595 $as_echo_n "checking build system type... " >&6; }
3596 if ${ac_cv_build+:} false; then :
3597 $as_echo_n "(cached) " >&6
3598 else
3599 ac_build_alias=$build_alias
3600 test "x$ac_build_alias" = x &&
3601 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3602 test "x$ac_build_alias" = x &&
3603 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3604 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3605 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3609 $as_echo "$ac_cv_build" >&6; }
3610 case $ac_cv_build in
3611 *-*-*) ;;
3612 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3613 esac
3614 build=$ac_cv_build
3615 ac_save_IFS=$IFS; IFS='-'
3616 set x $ac_cv_build
3617 shift
3618 build_cpu=$1
3619 build_vendor=$2
3620 shift; shift
3621 # Remember, the first character of IFS is used to create $*,
3622 # except with old shells:
3623 build_os=$*
3624 IFS=$ac_save_IFS
3625 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3629 $as_echo_n "checking host system type... " >&6; }
3630 if ${ac_cv_host+:} false; then :
3631 $as_echo_n "(cached) " >&6
3632 else
3633 if test "x$host_alias" = x; then
3634 ac_cv_host=$ac_cv_build
3635 else
3636 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3637 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3642 $as_echo "$ac_cv_host" >&6; }
3643 case $ac_cv_host in
3644 *-*-*) ;;
3645 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3646 esac
3647 host=$ac_cv_host
3648 ac_save_IFS=$IFS; IFS='-'
3649 set x $ac_cv_host
3650 shift
3651 host_cpu=$1
3652 host_vendor=$2
3653 shift; shift
3654 # Remember, the first character of IFS is used to create $*,
3655 # except with old shells:
3656 host_os=$*
3657 IFS=$ac_save_IFS
3658 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3662 case "$srcdir" in
3663 .) ;;
3664 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3665 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3666 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3667 fi ;;
3668 esac
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3672 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3673 set x ${MAKE-make}
3674 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3675 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3676 $as_echo_n "(cached) " >&6
3677 else
3678 cat >conftest.make <<\_ACEOF
3679 SHELL = /bin/sh
3680 all:
3681 @echo '@@@%%%=$(MAKE)=@@@%%%'
3682 _ACEOF
3683 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3684 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3685 *@@@%%%=?*=@@@%%%*)
3686 eval ac_cv_prog_make_${ac_make}_set=yes;;
3688 eval ac_cv_prog_make_${ac_make}_set=no;;
3689 esac
3690 rm -f conftest.make
3692 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3694 $as_echo "yes" >&6; }
3695 SET_MAKE=
3696 else
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3698 $as_echo "no" >&6; }
3699 SET_MAKE="MAKE=${MAKE-make}"
3702 ac_ext=c
3703 ac_cpp='$CPP $CPPFLAGS'
3704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3707 if test -n "$ac_tool_prefix"; then
3708 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3709 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3711 $as_echo_n "checking for $ac_word... " >&6; }
3712 if ${ac_cv_prog_CC+:} false; then :
3713 $as_echo_n "(cached) " >&6
3714 else
3715 if test -n "$CC"; then
3716 ac_cv_prog_CC="$CC" # Let the user override the test.
3717 else
3718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3719 for as_dir in $PATH
3721 IFS=$as_save_IFS
3722 test -z "$as_dir" && as_dir=.
3723 for ac_exec_ext in '' $ac_executable_extensions; do
3724 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3725 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3727 break 2
3729 done
3730 done
3731 IFS=$as_save_IFS
3735 CC=$ac_cv_prog_CC
3736 if test -n "$CC"; then
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3738 $as_echo "$CC" >&6; }
3739 else
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3741 $as_echo "no" >&6; }
3746 if test -z "$ac_cv_prog_CC"; then
3747 ac_ct_CC=$CC
3748 # Extract the first word of "gcc", so it can be a program name with args.
3749 set dummy gcc; ac_word=$2
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3751 $as_echo_n "checking for $ac_word... " >&6; }
3752 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3753 $as_echo_n "(cached) " >&6
3754 else
3755 if test -n "$ac_ct_CC"; then
3756 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3757 else
3758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3759 for as_dir in $PATH
3761 IFS=$as_save_IFS
3762 test -z "$as_dir" && as_dir=.
3763 for ac_exec_ext in '' $ac_executable_extensions; do
3764 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3765 ac_cv_prog_ac_ct_CC="gcc"
3766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3767 break 2
3769 done
3770 done
3771 IFS=$as_save_IFS
3775 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3776 if test -n "$ac_ct_CC"; then
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3778 $as_echo "$ac_ct_CC" >&6; }
3779 else
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3781 $as_echo "no" >&6; }
3784 if test "x$ac_ct_CC" = x; then
3785 CC=""
3786 else
3787 case $cross_compiling:$ac_tool_warned in
3788 yes:)
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3790 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3791 ac_tool_warned=yes ;;
3792 esac
3793 CC=$ac_ct_CC
3795 else
3796 CC="$ac_cv_prog_CC"
3799 if test -z "$CC"; then
3800 if test -n "$ac_tool_prefix"; then
3801 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3802 set dummy ${ac_tool_prefix}cc; ac_word=$2
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3804 $as_echo_n "checking for $ac_word... " >&6; }
3805 if ${ac_cv_prog_CC+:} false; then :
3806 $as_echo_n "(cached) " >&6
3807 else
3808 if test -n "$CC"; then
3809 ac_cv_prog_CC="$CC" # Let the user override the test.
3810 else
3811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3812 for as_dir in $PATH
3814 IFS=$as_save_IFS
3815 test -z "$as_dir" && as_dir=.
3816 for ac_exec_ext in '' $ac_executable_extensions; do
3817 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3818 ac_cv_prog_CC="${ac_tool_prefix}cc"
3819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3820 break 2
3822 done
3823 done
3824 IFS=$as_save_IFS
3828 CC=$ac_cv_prog_CC
3829 if test -n "$CC"; then
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3831 $as_echo "$CC" >&6; }
3832 else
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3834 $as_echo "no" >&6; }
3840 if test -z "$CC"; then
3841 # Extract the first word of "cc", so it can be a program name with args.
3842 set dummy cc; ac_word=$2
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3844 $as_echo_n "checking for $ac_word... " >&6; }
3845 if ${ac_cv_prog_CC+:} false; then :
3846 $as_echo_n "(cached) " >&6
3847 else
3848 if test -n "$CC"; then
3849 ac_cv_prog_CC="$CC" # Let the user override the test.
3850 else
3851 ac_prog_rejected=no
3852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3853 for as_dir in $PATH
3855 IFS=$as_save_IFS
3856 test -z "$as_dir" && as_dir=.
3857 for ac_exec_ext in '' $ac_executable_extensions; do
3858 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3859 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3860 ac_prog_rejected=yes
3861 continue
3863 ac_cv_prog_CC="cc"
3864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3865 break 2
3867 done
3868 done
3869 IFS=$as_save_IFS
3871 if test $ac_prog_rejected = yes; then
3872 # We found a bogon in the path, so make sure we never use it.
3873 set dummy $ac_cv_prog_CC
3874 shift
3875 if test $# != 0; then
3876 # We chose a different compiler from the bogus one.
3877 # However, it has the same basename, so the bogon will be chosen
3878 # first if we set CC to just the basename; use the full file name.
3879 shift
3880 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3885 CC=$ac_cv_prog_CC
3886 if test -n "$CC"; then
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3888 $as_echo "$CC" >&6; }
3889 else
3890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3891 $as_echo "no" >&6; }
3896 if test -z "$CC"; then
3897 if test -n "$ac_tool_prefix"; then
3898 for ac_prog in cl.exe
3900 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3901 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3903 $as_echo_n "checking for $ac_word... " >&6; }
3904 if ${ac_cv_prog_CC+:} false; then :
3905 $as_echo_n "(cached) " >&6
3906 else
3907 if test -n "$CC"; then
3908 ac_cv_prog_CC="$CC" # Let the user override the test.
3909 else
3910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3911 for as_dir in $PATH
3913 IFS=$as_save_IFS
3914 test -z "$as_dir" && as_dir=.
3915 for ac_exec_ext in '' $ac_executable_extensions; do
3916 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3917 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3919 break 2
3921 done
3922 done
3923 IFS=$as_save_IFS
3927 CC=$ac_cv_prog_CC
3928 if test -n "$CC"; then
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3930 $as_echo "$CC" >&6; }
3931 else
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3933 $as_echo "no" >&6; }
3937 test -n "$CC" && break
3938 done
3940 if test -z "$CC"; then
3941 ac_ct_CC=$CC
3942 for ac_prog in cl.exe
3944 # Extract the first word of "$ac_prog", so it can be a program name with args.
3945 set dummy $ac_prog; ac_word=$2
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3947 $as_echo_n "checking for $ac_word... " >&6; }
3948 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3949 $as_echo_n "(cached) " >&6
3950 else
3951 if test -n "$ac_ct_CC"; then
3952 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3953 else
3954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3955 for as_dir in $PATH
3957 IFS=$as_save_IFS
3958 test -z "$as_dir" && as_dir=.
3959 for ac_exec_ext in '' $ac_executable_extensions; do
3960 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3961 ac_cv_prog_ac_ct_CC="$ac_prog"
3962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3963 break 2
3965 done
3966 done
3967 IFS=$as_save_IFS
3971 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3972 if test -n "$ac_ct_CC"; then
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3974 $as_echo "$ac_ct_CC" >&6; }
3975 else
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3977 $as_echo "no" >&6; }
3981 test -n "$ac_ct_CC" && break
3982 done
3984 if test "x$ac_ct_CC" = x; then
3985 CC=""
3986 else
3987 case $cross_compiling:$ac_tool_warned in
3988 yes:)
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3990 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3991 ac_tool_warned=yes ;;
3992 esac
3993 CC=$ac_ct_CC
4000 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4001 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4002 as_fn_error $? "no acceptable C compiler found in \$PATH
4003 See \`config.log' for more details" "$LINENO" 5; }
4005 # Provide some information about the compiler.
4006 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4007 set X $ac_compile
4008 ac_compiler=$2
4009 for ac_option in --version -v -V -qversion; do
4010 { { ac_try="$ac_compiler $ac_option >&5"
4011 case "(($ac_try" in
4012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4013 *) ac_try_echo=$ac_try;;
4014 esac
4015 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4016 $as_echo "$ac_try_echo"; } >&5
4017 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4018 ac_status=$?
4019 if test -s conftest.err; then
4020 sed '10a\
4021 ... rest of stderr output deleted ...
4022 10q' conftest.err >conftest.er1
4023 cat conftest.er1 >&5
4025 rm -f conftest.er1 conftest.err
4026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4027 test $ac_status = 0; }
4028 done
4030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4031 /* end confdefs.h. */
4034 main ()
4038 return 0;
4040 _ACEOF
4041 ac_clean_files_save=$ac_clean_files
4042 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4043 # Try to create an executable without -o first, disregard a.out.
4044 # It will help us diagnose broken compilers, and finding out an intuition
4045 # of exeext.
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4047 $as_echo_n "checking whether the C compiler works... " >&6; }
4048 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4050 # The possible output files:
4051 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4053 ac_rmfiles=
4054 for ac_file in $ac_files
4056 case $ac_file in
4057 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4058 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4059 esac
4060 done
4061 rm -f $ac_rmfiles
4063 if { { ac_try="$ac_link_default"
4064 case "(($ac_try" in
4065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4066 *) ac_try_echo=$ac_try;;
4067 esac
4068 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4069 $as_echo "$ac_try_echo"; } >&5
4070 (eval "$ac_link_default") 2>&5
4071 ac_status=$?
4072 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4073 test $ac_status = 0; }; then :
4074 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4075 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4076 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4077 # so that the user can short-circuit this test for compilers unknown to
4078 # Autoconf.
4079 for ac_file in $ac_files ''
4081 test -f "$ac_file" || continue
4082 case $ac_file in
4083 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4085 [ab].out )
4086 # We found the default executable, but exeext='' is most
4087 # certainly right.
4088 break;;
4089 *.* )
4090 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4091 then :; else
4092 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4094 # We set ac_cv_exeext here because the later test for it is not
4095 # safe: cross compilers may not add the suffix if given an `-o'
4096 # argument, so we may need to know it at that point already.
4097 # Even if this section looks crufty: it has the advantage of
4098 # actually working.
4099 break;;
4101 break;;
4102 esac
4103 done
4104 test "$ac_cv_exeext" = no && ac_cv_exeext=
4106 else
4107 ac_file=''
4109 if test -z "$ac_file"; then :
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4111 $as_echo "no" >&6; }
4112 $as_echo "$as_me: failed program was:" >&5
4113 sed 's/^/| /' conftest.$ac_ext >&5
4115 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4116 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4117 as_fn_error 77 "C compiler cannot create executables
4118 See \`config.log' for more details" "$LINENO" 5; }
4119 else
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4121 $as_echo "yes" >&6; }
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4124 $as_echo_n "checking for C compiler default output file name... " >&6; }
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4126 $as_echo "$ac_file" >&6; }
4127 ac_exeext=$ac_cv_exeext
4129 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4130 ac_clean_files=$ac_clean_files_save
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4132 $as_echo_n "checking for suffix of executables... " >&6; }
4133 if { { ac_try="$ac_link"
4134 case "(($ac_try" in
4135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4136 *) ac_try_echo=$ac_try;;
4137 esac
4138 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4139 $as_echo "$ac_try_echo"; } >&5
4140 (eval "$ac_link") 2>&5
4141 ac_status=$?
4142 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4143 test $ac_status = 0; }; then :
4144 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4145 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4146 # work properly (i.e., refer to `conftest.exe'), while it won't with
4147 # `rm'.
4148 for ac_file in conftest.exe conftest conftest.*; do
4149 test -f "$ac_file" || continue
4150 case $ac_file in
4151 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4152 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4153 break;;
4154 * ) break;;
4155 esac
4156 done
4157 else
4158 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4159 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4160 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4161 See \`config.log' for more details" "$LINENO" 5; }
4163 rm -f conftest conftest$ac_cv_exeext
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4165 $as_echo "$ac_cv_exeext" >&6; }
4167 rm -f conftest.$ac_ext
4168 EXEEXT=$ac_cv_exeext
4169 ac_exeext=$EXEEXT
4170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4171 /* end confdefs.h. */
4172 #include <stdio.h>
4174 main ()
4176 FILE *f = fopen ("conftest.out", "w");
4177 return ferror (f) || fclose (f) != 0;
4180 return 0;
4182 _ACEOF
4183 ac_clean_files="$ac_clean_files conftest.out"
4184 # Check that the compiler produces executables we can run. If not, either
4185 # the compiler is broken, or we cross compile.
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4187 $as_echo_n "checking whether we are cross compiling... " >&6; }
4188 if test "$cross_compiling" != yes; then
4189 { { ac_try="$ac_link"
4190 case "(($ac_try" in
4191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4192 *) ac_try_echo=$ac_try;;
4193 esac
4194 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4195 $as_echo "$ac_try_echo"; } >&5
4196 (eval "$ac_link") 2>&5
4197 ac_status=$?
4198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4199 test $ac_status = 0; }
4200 if { ac_try='./conftest$ac_cv_exeext'
4201 { { case "(($ac_try" in
4202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4203 *) ac_try_echo=$ac_try;;
4204 esac
4205 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4206 $as_echo "$ac_try_echo"; } >&5
4207 (eval "$ac_try") 2>&5
4208 ac_status=$?
4209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4210 test $ac_status = 0; }; }; then
4211 cross_compiling=no
4212 else
4213 if test "$cross_compiling" = maybe; then
4214 cross_compiling=yes
4215 else
4216 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4217 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4218 as_fn_error $? "cannot run C compiled programs.
4219 If you meant to cross compile, use \`--host'.
4220 See \`config.log' for more details" "$LINENO" 5; }
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4225 $as_echo "$cross_compiling" >&6; }
4227 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4228 ac_clean_files=$ac_clean_files_save
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4230 $as_echo_n "checking for suffix of object files... " >&6; }
4231 if ${ac_cv_objext+:} false; then :
4232 $as_echo_n "(cached) " >&6
4233 else
4234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4235 /* end confdefs.h. */
4238 main ()
4242 return 0;
4244 _ACEOF
4245 rm -f conftest.o conftest.obj
4246 if { { ac_try="$ac_compile"
4247 case "(($ac_try" in
4248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4249 *) ac_try_echo=$ac_try;;
4250 esac
4251 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4252 $as_echo "$ac_try_echo"; } >&5
4253 (eval "$ac_compile") 2>&5
4254 ac_status=$?
4255 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4256 test $ac_status = 0; }; then :
4257 for ac_file in conftest.o conftest.obj conftest.*; do
4258 test -f "$ac_file" || continue;
4259 case $ac_file in
4260 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4261 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4262 break;;
4263 esac
4264 done
4265 else
4266 $as_echo "$as_me: failed program was:" >&5
4267 sed 's/^/| /' conftest.$ac_ext >&5
4269 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4270 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4271 as_fn_error $? "cannot compute suffix of object files: cannot compile
4272 See \`config.log' for more details" "$LINENO" 5; }
4274 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4277 $as_echo "$ac_cv_objext" >&6; }
4278 OBJEXT=$ac_cv_objext
4279 ac_objext=$OBJEXT
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4281 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4282 if ${ac_cv_c_compiler_gnu+:} false; then :
4283 $as_echo_n "(cached) " >&6
4284 else
4285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4286 /* end confdefs.h. */
4289 main ()
4291 #ifndef __GNUC__
4292 choke me
4293 #endif
4296 return 0;
4298 _ACEOF
4299 if ac_fn_c_try_compile "$LINENO"; then :
4300 ac_compiler_gnu=yes
4301 else
4302 ac_compiler_gnu=no
4304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4305 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4309 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4310 if test $ac_compiler_gnu = yes; then
4311 GCC=yes
4312 else
4313 GCC=
4315 ac_test_CFLAGS=${CFLAGS+set}
4316 ac_save_CFLAGS=$CFLAGS
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4318 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4319 if ${ac_cv_prog_cc_g+:} false; then :
4320 $as_echo_n "(cached) " >&6
4321 else
4322 ac_save_c_werror_flag=$ac_c_werror_flag
4323 ac_c_werror_flag=yes
4324 ac_cv_prog_cc_g=no
4325 CFLAGS="-g"
4326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4327 /* end confdefs.h. */
4330 main ()
4334 return 0;
4336 _ACEOF
4337 if ac_fn_c_try_compile "$LINENO"; then :
4338 ac_cv_prog_cc_g=yes
4339 else
4340 CFLAGS=""
4341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4342 /* end confdefs.h. */
4345 main ()
4349 return 0;
4351 _ACEOF
4352 if ac_fn_c_try_compile "$LINENO"; then :
4354 else
4355 ac_c_werror_flag=$ac_save_c_werror_flag
4356 CFLAGS="-g"
4357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4358 /* end confdefs.h. */
4361 main ()
4365 return 0;
4367 _ACEOF
4368 if ac_fn_c_try_compile "$LINENO"; then :
4369 ac_cv_prog_cc_g=yes
4371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4376 ac_c_werror_flag=$ac_save_c_werror_flag
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4379 $as_echo "$ac_cv_prog_cc_g" >&6; }
4380 if test "$ac_test_CFLAGS" = set; then
4381 CFLAGS=$ac_save_CFLAGS
4382 elif test $ac_cv_prog_cc_g = yes; then
4383 if test "$GCC" = yes; then
4384 CFLAGS="-g -O2"
4385 else
4386 CFLAGS="-g"
4388 else
4389 if test "$GCC" = yes; then
4390 CFLAGS="-O2"
4391 else
4392 CFLAGS=
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4396 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4397 if ${ac_cv_prog_cc_c89+:} false; then :
4398 $as_echo_n "(cached) " >&6
4399 else
4400 ac_cv_prog_cc_c89=no
4401 ac_save_CC=$CC
4402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4403 /* end confdefs.h. */
4404 #include <stdarg.h>
4405 #include <stdio.h>
4406 struct stat;
4407 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4408 struct buf { int x; };
4409 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4410 static char *e (p, i)
4411 char **p;
4412 int i;
4414 return p[i];
4416 static char *f (char * (*g) (char **, int), char **p, ...)
4418 char *s;
4419 va_list v;
4420 va_start (v,p);
4421 s = g (p, va_arg (v,int));
4422 va_end (v);
4423 return s;
4426 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4427 function prototypes and stuff, but not '\xHH' hex character constants.
4428 These don't provoke an error unfortunately, instead are silently treated
4429 as 'x'. The following induces an error, until -std is added to get
4430 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4431 array size at least. It's necessary to write '\x00'==0 to get something
4432 that's true only with -std. */
4433 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4435 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4436 inside strings and character constants. */
4437 #define FOO(x) 'x'
4438 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4440 int test (int i, double x);
4441 struct s1 {int (*f) (int a);};
4442 struct s2 {int (*f) (double a);};
4443 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4444 int argc;
4445 char **argv;
4447 main ()
4449 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4451 return 0;
4453 _ACEOF
4454 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4455 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4457 CC="$ac_save_CC $ac_arg"
4458 if ac_fn_c_try_compile "$LINENO"; then :
4459 ac_cv_prog_cc_c89=$ac_arg
4461 rm -f core conftest.err conftest.$ac_objext
4462 test "x$ac_cv_prog_cc_c89" != "xno" && break
4463 done
4464 rm -f conftest.$ac_ext
4465 CC=$ac_save_CC
4468 # AC_CACHE_VAL
4469 case "x$ac_cv_prog_cc_c89" in
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4472 $as_echo "none needed" >&6; } ;;
4473 xno)
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4475 $as_echo "unsupported" >&6; } ;;
4477 CC="$CC $ac_cv_prog_cc_c89"
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4479 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4480 esac
4481 if test "x$ac_cv_prog_cc_c89" != xno; then :
4485 ac_ext=c
4486 ac_cpp='$CPP $CPPFLAGS'
4487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4491 ac_ext=cpp
4492 ac_cpp='$CXXCPP $CPPFLAGS'
4493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4496 if test -z "$CXX"; then
4497 if test -n "$CCC"; then
4498 CXX=$CCC
4499 else
4500 if test -n "$ac_tool_prefix"; then
4501 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4503 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4504 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4506 $as_echo_n "checking for $ac_word... " >&6; }
4507 if ${ac_cv_prog_CXX+:} false; then :
4508 $as_echo_n "(cached) " >&6
4509 else
4510 if test -n "$CXX"; then
4511 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4512 else
4513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4514 for as_dir in $PATH
4516 IFS=$as_save_IFS
4517 test -z "$as_dir" && as_dir=.
4518 for ac_exec_ext in '' $ac_executable_extensions; do
4519 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4520 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4522 break 2
4524 done
4525 done
4526 IFS=$as_save_IFS
4530 CXX=$ac_cv_prog_CXX
4531 if test -n "$CXX"; then
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4533 $as_echo "$CXX" >&6; }
4534 else
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4536 $as_echo "no" >&6; }
4540 test -n "$CXX" && break
4541 done
4543 if test -z "$CXX"; then
4544 ac_ct_CXX=$CXX
4545 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4547 # Extract the first word of "$ac_prog", so it can be a program name with args.
4548 set dummy $ac_prog; ac_word=$2
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4550 $as_echo_n "checking for $ac_word... " >&6; }
4551 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4552 $as_echo_n "(cached) " >&6
4553 else
4554 if test -n "$ac_ct_CXX"; then
4555 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4556 else
4557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4558 for as_dir in $PATH
4560 IFS=$as_save_IFS
4561 test -z "$as_dir" && as_dir=.
4562 for ac_exec_ext in '' $ac_executable_extensions; do
4563 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4564 ac_cv_prog_ac_ct_CXX="$ac_prog"
4565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4566 break 2
4568 done
4569 done
4570 IFS=$as_save_IFS
4574 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4575 if test -n "$ac_ct_CXX"; then
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4577 $as_echo "$ac_ct_CXX" >&6; }
4578 else
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4580 $as_echo "no" >&6; }
4584 test -n "$ac_ct_CXX" && break
4585 done
4587 if test "x$ac_ct_CXX" = x; then
4588 CXX="g++"
4589 else
4590 case $cross_compiling:$ac_tool_warned in
4591 yes:)
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4593 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4594 ac_tool_warned=yes ;;
4595 esac
4596 CXX=$ac_ct_CXX
4602 # Provide some information about the compiler.
4603 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4604 set X $ac_compile
4605 ac_compiler=$2
4606 for ac_option in --version -v -V -qversion; do
4607 { { ac_try="$ac_compiler $ac_option >&5"
4608 case "(($ac_try" in
4609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4610 *) ac_try_echo=$ac_try;;
4611 esac
4612 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4613 $as_echo "$ac_try_echo"; } >&5
4614 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4615 ac_status=$?
4616 if test -s conftest.err; then
4617 sed '10a\
4618 ... rest of stderr output deleted ...
4619 10q' conftest.err >conftest.er1
4620 cat conftest.er1 >&5
4622 rm -f conftest.er1 conftest.err
4623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4624 test $ac_status = 0; }
4625 done
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4628 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4629 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4630 $as_echo_n "(cached) " >&6
4631 else
4632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4633 /* end confdefs.h. */
4636 main ()
4638 #ifndef __GNUC__
4639 choke me
4640 #endif
4643 return 0;
4645 _ACEOF
4646 if ac_fn_cxx_try_compile "$LINENO"; then :
4647 ac_compiler_gnu=yes
4648 else
4649 ac_compiler_gnu=no
4651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4652 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4656 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4657 if test $ac_compiler_gnu = yes; then
4658 GXX=yes
4659 else
4660 GXX=
4662 ac_test_CXXFLAGS=${CXXFLAGS+set}
4663 ac_save_CXXFLAGS=$CXXFLAGS
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4665 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4666 if ${ac_cv_prog_cxx_g+:} false; then :
4667 $as_echo_n "(cached) " >&6
4668 else
4669 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4670 ac_cxx_werror_flag=yes
4671 ac_cv_prog_cxx_g=no
4672 CXXFLAGS="-g"
4673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4674 /* end confdefs.h. */
4677 main ()
4681 return 0;
4683 _ACEOF
4684 if ac_fn_cxx_try_compile "$LINENO"; then :
4685 ac_cv_prog_cxx_g=yes
4686 else
4687 CXXFLAGS=""
4688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4689 /* end confdefs.h. */
4692 main ()
4696 return 0;
4698 _ACEOF
4699 if ac_fn_cxx_try_compile "$LINENO"; then :
4701 else
4702 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4703 CXXFLAGS="-g"
4704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4705 /* end confdefs.h. */
4708 main ()
4712 return 0;
4714 _ACEOF
4715 if ac_fn_cxx_try_compile "$LINENO"; then :
4716 ac_cv_prog_cxx_g=yes
4718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4723 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4726 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4727 if test "$ac_test_CXXFLAGS" = set; then
4728 CXXFLAGS=$ac_save_CXXFLAGS
4729 elif test $ac_cv_prog_cxx_g = yes; then
4730 if test "$GXX" = yes; then
4731 CXXFLAGS="-g -O2"
4732 else
4733 CXXFLAGS="-g"
4735 else
4736 if test "$GXX" = yes; then
4737 CXXFLAGS="-O2"
4738 else
4739 CXXFLAGS=
4742 ac_ext=c
4743 ac_cpp='$CPP $CPPFLAGS'
4744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4748 if test -n "$ac_tool_prefix"; then
4749 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4750 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4752 $as_echo_n "checking for $ac_word... " >&6; }
4753 if ${ac_cv_prog_CPPBIN+:} false; then :
4754 $as_echo_n "(cached) " >&6
4755 else
4756 if test -n "$CPPBIN"; then
4757 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4758 else
4759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4760 for as_dir in $PATH
4762 IFS=$as_save_IFS
4763 test -z "$as_dir" && as_dir=.
4764 for ac_exec_ext in '' $ac_executable_extensions; do
4765 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4766 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4768 break 2
4770 done
4771 done
4772 IFS=$as_save_IFS
4776 CPPBIN=$ac_cv_prog_CPPBIN
4777 if test -n "$CPPBIN"; then
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4779 $as_echo "$CPPBIN" >&6; }
4780 else
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4782 $as_echo "no" >&6; }
4787 if test -z "$ac_cv_prog_CPPBIN"; then
4788 ac_ct_CPPBIN=$CPPBIN
4789 # Extract the first word of "cpp", so it can be a program name with args.
4790 set dummy cpp; ac_word=$2
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4792 $as_echo_n "checking for $ac_word... " >&6; }
4793 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4794 $as_echo_n "(cached) " >&6
4795 else
4796 if test -n "$ac_ct_CPPBIN"; then
4797 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4798 else
4799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4800 for as_dir in $PATH
4802 IFS=$as_save_IFS
4803 test -z "$as_dir" && as_dir=.
4804 for ac_exec_ext in '' $ac_executable_extensions; do
4805 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4806 ac_cv_prog_ac_ct_CPPBIN="cpp"
4807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4808 break 2
4810 done
4811 done
4812 IFS=$as_save_IFS
4816 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4817 if test -n "$ac_ct_CPPBIN"; then
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4819 $as_echo "$ac_ct_CPPBIN" >&6; }
4820 else
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4822 $as_echo "no" >&6; }
4825 if test "x$ac_ct_CPPBIN" = x; then
4826 CPPBIN="cpp"
4827 else
4828 case $cross_compiling:$ac_tool_warned in
4829 yes:)
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4831 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4832 ac_tool_warned=yes ;;
4833 esac
4834 CPPBIN=$ac_ct_CPPBIN
4836 else
4837 CPPBIN="$ac_cv_prog_CPPBIN"
4841 cat >>confdefs.h <<_ACEOF
4842 #define EXEEXT "$ac_exeext"
4843 _ACEOF
4845 if test -n "$ac_tool_prefix"; then
4846 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4847 set dummy ${ac_tool_prefix}ld; ac_word=$2
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4849 $as_echo_n "checking for $ac_word... " >&6; }
4850 if ${ac_cv_prog_LD+:} false; then :
4851 $as_echo_n "(cached) " >&6
4852 else
4853 if test -n "$LD"; then
4854 ac_cv_prog_LD="$LD" # Let the user override the test.
4855 else
4856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4857 for as_dir in $PATH
4859 IFS=$as_save_IFS
4860 test -z "$as_dir" && as_dir=.
4861 for ac_exec_ext in '' $ac_executable_extensions; do
4862 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4863 ac_cv_prog_LD="${ac_tool_prefix}ld"
4864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4865 break 2
4867 done
4868 done
4869 IFS=$as_save_IFS
4873 LD=$ac_cv_prog_LD
4874 if test -n "$LD"; then
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4876 $as_echo "$LD" >&6; }
4877 else
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4879 $as_echo "no" >&6; }
4884 if test -z "$ac_cv_prog_LD"; then
4885 ac_ct_LD=$LD
4886 # Extract the first word of "ld", so it can be a program name with args.
4887 set dummy ld; ac_word=$2
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4889 $as_echo_n "checking for $ac_word... " >&6; }
4890 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4891 $as_echo_n "(cached) " >&6
4892 else
4893 if test -n "$ac_ct_LD"; then
4894 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4895 else
4896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4897 for as_dir in $PATH
4899 IFS=$as_save_IFS
4900 test -z "$as_dir" && as_dir=.
4901 for ac_exec_ext in '' $ac_executable_extensions; do
4902 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4903 ac_cv_prog_ac_ct_LD="ld"
4904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4905 break 2
4907 done
4908 done
4909 IFS=$as_save_IFS
4913 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4914 if test -n "$ac_ct_LD"; then
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4916 $as_echo "$ac_ct_LD" >&6; }
4917 else
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4919 $as_echo "no" >&6; }
4922 if test "x$ac_ct_LD" = x; then
4923 LD=""
4924 else
4925 case $cross_compiling:$ac_tool_warned in
4926 yes:)
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4928 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4929 ac_tool_warned=yes ;;
4930 esac
4931 LD=$ac_ct_LD
4933 else
4934 LD="$ac_cv_prog_LD"
4938 case $host in
4939 *-darwin*)
4940 if test "x$enable_win64" = "xyes"
4941 then
4942 CC="$CC -m64"
4943 CXX="$CXX -m64"
4944 host_cpu="x86_64"
4945 notice_platform="64-bit "
4946 TARGETFLAGS="-m64"
4948 else
4949 CC="$CC -m32"
4950 CXX="$CXX -m32"
4951 host_cpu="i386"
4952 notice_platform="32-bit "
4953 TARGETFLAGS="-m32"
4955 enable_win16=${enable_win16:-yes}
4957 with_fontconfig=${with_fontconfig:-no}
4959 x86_64*|amd64*)
4960 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4961 then
4962 CC="$CC -m32"
4963 CXX="$CXX -m32"
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4965 $as_echo_n "checking whether $CC works... " >&6; }
4967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4968 /* end confdefs.h. */
4971 main ()
4975 return 0;
4977 _ACEOF
4978 if ac_fn_c_try_link "$LINENO"; then :
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4980 $as_echo "yes" >&6; }
4981 else
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4983 $as_echo "no" >&6; }
4984 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4986 rm -f core conftest.err conftest.$ac_objext \
4987 conftest$ac_exeext conftest.$ac_ext
4988 host_cpu="i386"
4989 notice_platform="32-bit "
4990 TARGETFLAGS="-m32"
4992 enable_win16=${enable_win16:-yes}
4993 else
4994 if test "x${GCC}" = "xyes"
4995 then
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4997 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4999 /* end confdefs.h. */
5000 #include <stdarg.h>
5002 main ()
5004 void func(__builtin_ms_va_list *args);
5006 return 0;
5008 _ACEOF
5009 if ac_fn_c_try_compile "$LINENO"; then :
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5011 $as_echo "yes" >&6; }
5012 else
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5014 $as_echo "no" >&6; }
5015 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
5017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5019 host_cpu="x86_64"
5020 TARGETFLAGS="-m64"
5024 arm*)
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5026 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5028 /* end confdefs.h. */
5029 int ac_test(int i) { return i; }
5031 main ()
5033 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5035 return 0;
5037 _ACEOF
5038 if ac_fn_c_try_link "$LINENO"; then :
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5040 $as_echo "yes" >&6; }
5041 else
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5043 $as_echo "no" >&6; }
5044 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5046 rm -f core conftest.err conftest.$ac_objext \
5047 conftest$ac_exeext conftest.$ac_ext
5048 CFLAGS="$CFLAGS -marm"
5049 TARGETFLAGS="-marm"
5052 *-mingw32*|*-cygwin*)
5053 enable_win16=${enable_win16:-no}
5054 CFLAGS="$CFLAGS -D_WIN32"
5056 i[3456789]86*)
5057 enable_win16=${enable_win16:-yes}
5059 esac
5061 enable_win16=${enable_win16:-no}
5062 enable_win64=${enable_win64:-no}
5064 enable_winetest=${enable_winetest:-$enable_tests}
5066 if test -n "$with_wine64"
5067 then
5068 if test "x$enable_win64" = "xyes"
5069 then
5070 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5071 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5073 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5074 You should create a separate build directory and run configure from there." "$LINENO" 5
5075 enable_fonts=${enable_fonts:-no}
5076 enable_server=${enable_server:-no}
5077 elif test "x$enable_win64" = "xyes"
5078 then
5079 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5083 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5084 if ${wine_cv_toolsdir+:} false; then :
5085 $as_echo_n "(cached) " >&6
5086 else
5087 wine_cv_toolsdir="$with_wine_tools"
5088 if test -z "$with_wine_tools"; then
5089 if test "$cross_compiling" = "yes"; then
5090 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5091 elif test -n "$with_wine64"; then
5092 wine_cv_toolsdir="$with_wine64"
5095 if test -z "$wine_cv_toolsdir"; then
5096 wine_makedep=tools/makedep
5097 wine_cv_toolsdir="\$(top_builddir)"
5098 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5099 wine_makedep=$wine_cv_toolsdir/tools/makedep
5100 case "$wine_cv_toolsdir" in
5101 /*) ;;
5102 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5103 esac
5104 enable_tools=${enable_tools:-no}
5105 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5106 else
5107 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5111 $as_echo "$wine_cv_toolsdir" >&6; }
5112 TOOLSDIR=$wine_cv_toolsdir
5114 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5115 then
5116 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5120 for ac_prog in flex
5122 # Extract the first word of "$ac_prog", so it can be a program name with args.
5123 set dummy $ac_prog; ac_word=$2
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5125 $as_echo_n "checking for $ac_word... " >&6; }
5126 if ${ac_cv_prog_FLEX+:} false; then :
5127 $as_echo_n "(cached) " >&6
5128 else
5129 if test -n "$FLEX"; then
5130 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5131 else
5132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5133 for as_dir in $PATH
5135 IFS=$as_save_IFS
5136 test -z "$as_dir" && as_dir=.
5137 for ac_exec_ext in '' $ac_executable_extensions; do
5138 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5139 ac_cv_prog_FLEX="$ac_prog"
5140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5141 break 2
5143 done
5144 done
5145 IFS=$as_save_IFS
5149 FLEX=$ac_cv_prog_FLEX
5150 if test -n "$FLEX"; then
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5152 $as_echo "$FLEX" >&6; }
5153 else
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5155 $as_echo "no" >&6; }
5159 test -n "$FLEX" && break
5160 done
5161 test -n "$FLEX" || FLEX="none"
5163 if test "$FLEX" = "none"
5164 then
5165 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5168 $as_echo_n "checking whether flex is recent enough... " >&6; }
5169 cat >conftest.l <<EOF
5170 %top{
5171 #include "prediluvian.h"
5175 if $FLEX -t conftest.l >/dev/null 2>&5
5176 then
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5178 $as_echo "yes" >&6; }
5179 else
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5181 $as_echo "no" >&6; }
5182 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5185 for ac_prog in bison
5187 # Extract the first word of "$ac_prog", so it can be a program name with args.
5188 set dummy $ac_prog; ac_word=$2
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5190 $as_echo_n "checking for $ac_word... " >&6; }
5191 if ${ac_cv_prog_BISON+:} false; then :
5192 $as_echo_n "(cached) " >&6
5193 else
5194 if test -n "$BISON"; then
5195 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5196 else
5197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5198 for as_dir in $PATH
5200 IFS=$as_save_IFS
5201 test -z "$as_dir" && as_dir=.
5202 for ac_exec_ext in '' $ac_executable_extensions; do
5203 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5204 ac_cv_prog_BISON="$ac_prog"
5205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5206 break 2
5208 done
5209 done
5210 IFS=$as_save_IFS
5214 BISON=$ac_cv_prog_BISON
5215 if test -n "$BISON"; then
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5217 $as_echo "$BISON" >&6; }
5218 else
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5220 $as_echo "no" >&6; }
5224 test -n "$BISON" && break
5225 done
5226 test -n "$BISON" || BISON="none"
5228 if test "$BISON" = "none"
5229 then
5230 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5233 if test -n "$ac_tool_prefix"; then
5234 for ac_prog in ar gar
5236 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5237 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5239 $as_echo_n "checking for $ac_word... " >&6; }
5240 if ${ac_cv_prog_AR+:} false; then :
5241 $as_echo_n "(cached) " >&6
5242 else
5243 if test -n "$AR"; then
5244 ac_cv_prog_AR="$AR" # Let the user override the test.
5245 else
5246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5247 for as_dir in $PATH
5249 IFS=$as_save_IFS
5250 test -z "$as_dir" && as_dir=.
5251 for ac_exec_ext in '' $ac_executable_extensions; do
5252 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5253 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5255 break 2
5257 done
5258 done
5259 IFS=$as_save_IFS
5263 AR=$ac_cv_prog_AR
5264 if test -n "$AR"; then
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5266 $as_echo "$AR" >&6; }
5267 else
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5269 $as_echo "no" >&6; }
5273 test -n "$AR" && break
5274 done
5276 if test -z "$AR"; then
5277 ac_ct_AR=$AR
5278 for ac_prog in ar gar
5280 # Extract the first word of "$ac_prog", so it can be a program name with args.
5281 set dummy $ac_prog; ac_word=$2
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5283 $as_echo_n "checking for $ac_word... " >&6; }
5284 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5285 $as_echo_n "(cached) " >&6
5286 else
5287 if test -n "$ac_ct_AR"; then
5288 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5289 else
5290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5291 for as_dir in $PATH
5293 IFS=$as_save_IFS
5294 test -z "$as_dir" && as_dir=.
5295 for ac_exec_ext in '' $ac_executable_extensions; do
5296 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5297 ac_cv_prog_ac_ct_AR="$ac_prog"
5298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5299 break 2
5301 done
5302 done
5303 IFS=$as_save_IFS
5307 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5308 if test -n "$ac_ct_AR"; then
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5310 $as_echo "$ac_ct_AR" >&6; }
5311 else
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5313 $as_echo "no" >&6; }
5317 test -n "$ac_ct_AR" && break
5318 done
5320 if test "x$ac_ct_AR" = x; then
5321 AR="ar"
5322 else
5323 case $cross_compiling:$ac_tool_warned in
5324 yes:)
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5326 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5327 ac_tool_warned=yes ;;
5328 esac
5329 AR=$ac_ct_AR
5333 if test -n "$ac_tool_prefix"; then
5334 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5335 set dummy ${ac_tool_prefix}strip; ac_word=$2
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5337 $as_echo_n "checking for $ac_word... " >&6; }
5338 if ${ac_cv_prog_STRIP+:} false; then :
5339 $as_echo_n "(cached) " >&6
5340 else
5341 if test -n "$STRIP"; then
5342 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5343 else
5344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5345 for as_dir in $PATH
5347 IFS=$as_save_IFS
5348 test -z "$as_dir" && as_dir=.
5349 for ac_exec_ext in '' $ac_executable_extensions; do
5350 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5351 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5353 break 2
5355 done
5356 done
5357 IFS=$as_save_IFS
5361 STRIP=$ac_cv_prog_STRIP
5362 if test -n "$STRIP"; then
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5364 $as_echo "$STRIP" >&6; }
5365 else
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5367 $as_echo "no" >&6; }
5372 if test -z "$ac_cv_prog_STRIP"; then
5373 ac_ct_STRIP=$STRIP
5374 # Extract the first word of "strip", so it can be a program name with args.
5375 set dummy strip; ac_word=$2
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5377 $as_echo_n "checking for $ac_word... " >&6; }
5378 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5379 $as_echo_n "(cached) " >&6
5380 else
5381 if test -n "$ac_ct_STRIP"; then
5382 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5383 else
5384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5385 for as_dir in $PATH
5387 IFS=$as_save_IFS
5388 test -z "$as_dir" && as_dir=.
5389 for ac_exec_ext in '' $ac_executable_extensions; do
5390 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5391 ac_cv_prog_ac_ct_STRIP="strip"
5392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5393 break 2
5395 done
5396 done
5397 IFS=$as_save_IFS
5401 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5402 if test -n "$ac_ct_STRIP"; then
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5404 $as_echo "$ac_ct_STRIP" >&6; }
5405 else
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5407 $as_echo "no" >&6; }
5410 if test "x$ac_ct_STRIP" = x; then
5411 STRIP="strip"
5412 else
5413 case $cross_compiling:$ac_tool_warned in
5414 yes:)
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5416 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5417 ac_tool_warned=yes ;;
5418 esac
5419 STRIP=$ac_ct_STRIP
5421 else
5422 STRIP="$ac_cv_prog_STRIP"
5425 ARFLAGS=rc
5427 if test -n "$ac_tool_prefix"; then
5428 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5429 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5431 $as_echo_n "checking for $ac_word... " >&6; }
5432 if ${ac_cv_prog_RANLIB+:} false; then :
5433 $as_echo_n "(cached) " >&6
5434 else
5435 if test -n "$RANLIB"; then
5436 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5437 else
5438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5439 for as_dir in $PATH
5441 IFS=$as_save_IFS
5442 test -z "$as_dir" && as_dir=.
5443 for ac_exec_ext in '' $ac_executable_extensions; do
5444 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5445 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5447 break 2
5449 done
5450 done
5451 IFS=$as_save_IFS
5455 RANLIB=$ac_cv_prog_RANLIB
5456 if test -n "$RANLIB"; then
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5458 $as_echo "$RANLIB" >&6; }
5459 else
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5461 $as_echo "no" >&6; }
5466 if test -z "$ac_cv_prog_RANLIB"; then
5467 ac_ct_RANLIB=$RANLIB
5468 # Extract the first word of "ranlib", so it can be a program name with args.
5469 set dummy ranlib; ac_word=$2
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5471 $as_echo_n "checking for $ac_word... " >&6; }
5472 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5473 $as_echo_n "(cached) " >&6
5474 else
5475 if test -n "$ac_ct_RANLIB"; then
5476 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5477 else
5478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5479 for as_dir in $PATH
5481 IFS=$as_save_IFS
5482 test -z "$as_dir" && as_dir=.
5483 for ac_exec_ext in '' $ac_executable_extensions; do
5484 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5485 ac_cv_prog_ac_ct_RANLIB="ranlib"
5486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5487 break 2
5489 done
5490 done
5491 IFS=$as_save_IFS
5495 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5496 if test -n "$ac_ct_RANLIB"; then
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5498 $as_echo "$ac_ct_RANLIB" >&6; }
5499 else
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5501 $as_echo "no" >&6; }
5504 if test "x$ac_ct_RANLIB" = x; then
5505 RANLIB=":"
5506 else
5507 case $cross_compiling:$ac_tool_warned in
5508 yes:)
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5510 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5511 ac_tool_warned=yes ;;
5512 esac
5513 RANLIB=$ac_ct_RANLIB
5515 else
5516 RANLIB="$ac_cv_prog_RANLIB"
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5520 $as_echo_n "checking whether ln -s works... " >&6; }
5521 LN_S=$as_ln_s
5522 if test "$LN_S" = "ln -s"; then
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5524 $as_echo "yes" >&6; }
5525 else
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5527 $as_echo "no, using $LN_S" >&6; }
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5531 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5532 if ${ac_cv_path_GREP+:} false; then :
5533 $as_echo_n "(cached) " >&6
5534 else
5535 if test -z "$GREP"; then
5536 ac_path_GREP_found=false
5537 # Loop through the user's path and test for each of PROGNAME-LIST
5538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5539 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5541 IFS=$as_save_IFS
5542 test -z "$as_dir" && as_dir=.
5543 for ac_prog in grep ggrep; do
5544 for ac_exec_ext in '' $ac_executable_extensions; do
5545 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5546 as_fn_executable_p "$ac_path_GREP" || continue
5547 # Check for GNU ac_path_GREP and select it if it is found.
5548 # Check for GNU $ac_path_GREP
5549 case `"$ac_path_GREP" --version 2>&1` in
5550 *GNU*)
5551 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5553 ac_count=0
5554 $as_echo_n 0123456789 >"conftest.in"
5555 while :
5557 cat "conftest.in" "conftest.in" >"conftest.tmp"
5558 mv "conftest.tmp" "conftest.in"
5559 cp "conftest.in" "conftest.nl"
5560 $as_echo 'GREP' >> "conftest.nl"
5561 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5562 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5563 as_fn_arith $ac_count + 1 && ac_count=$as_val
5564 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5565 # Best one so far, save it but keep looking for a better one
5566 ac_cv_path_GREP="$ac_path_GREP"
5567 ac_path_GREP_max=$ac_count
5569 # 10*(2^10) chars as input seems more than enough
5570 test $ac_count -gt 10 && break
5571 done
5572 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5573 esac
5575 $ac_path_GREP_found && break 3
5576 done
5577 done
5578 done
5579 IFS=$as_save_IFS
5580 if test -z "$ac_cv_path_GREP"; then
5581 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5583 else
5584 ac_cv_path_GREP=$GREP
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5589 $as_echo "$ac_cv_path_GREP" >&6; }
5590 GREP="$ac_cv_path_GREP"
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5594 $as_echo_n "checking for egrep... " >&6; }
5595 if ${ac_cv_path_EGREP+:} false; then :
5596 $as_echo_n "(cached) " >&6
5597 else
5598 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5599 then ac_cv_path_EGREP="$GREP -E"
5600 else
5601 if test -z "$EGREP"; then
5602 ac_path_EGREP_found=false
5603 # Loop through the user's path and test for each of PROGNAME-LIST
5604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5605 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5607 IFS=$as_save_IFS
5608 test -z "$as_dir" && as_dir=.
5609 for ac_prog in egrep; do
5610 for ac_exec_ext in '' $ac_executable_extensions; do
5611 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5612 as_fn_executable_p "$ac_path_EGREP" || continue
5613 # Check for GNU ac_path_EGREP and select it if it is found.
5614 # Check for GNU $ac_path_EGREP
5615 case `"$ac_path_EGREP" --version 2>&1` in
5616 *GNU*)
5617 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5619 ac_count=0
5620 $as_echo_n 0123456789 >"conftest.in"
5621 while :
5623 cat "conftest.in" "conftest.in" >"conftest.tmp"
5624 mv "conftest.tmp" "conftest.in"
5625 cp "conftest.in" "conftest.nl"
5626 $as_echo 'EGREP' >> "conftest.nl"
5627 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5628 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5629 as_fn_arith $ac_count + 1 && ac_count=$as_val
5630 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5631 # Best one so far, save it but keep looking for a better one
5632 ac_cv_path_EGREP="$ac_path_EGREP"
5633 ac_path_EGREP_max=$ac_count
5635 # 10*(2^10) chars as input seems more than enough
5636 test $ac_count -gt 10 && break
5637 done
5638 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5639 esac
5641 $ac_path_EGREP_found && break 3
5642 done
5643 done
5644 done
5645 IFS=$as_save_IFS
5646 if test -z "$ac_cv_path_EGREP"; then
5647 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5649 else
5650 ac_cv_path_EGREP=$EGREP
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5656 $as_echo "$ac_cv_path_EGREP" >&6; }
5657 EGREP="$ac_cv_path_EGREP"
5660 # Extract the first word of "ldconfig", so it can be a program name with args.
5661 set dummy ldconfig; ac_word=$2
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5663 $as_echo_n "checking for $ac_word... " >&6; }
5664 if ${ac_cv_path_LDCONFIG+:} false; then :
5665 $as_echo_n "(cached) " >&6
5666 else
5667 case $LDCONFIG in
5668 [\\/]* | ?:[\\/]*)
5669 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5673 for as_dir in /sbin /usr/sbin $PATH
5675 IFS=$as_save_IFS
5676 test -z "$as_dir" && as_dir=.
5677 for ac_exec_ext in '' $ac_executable_extensions; do
5678 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5679 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5681 break 2
5683 done
5684 done
5685 IFS=$as_save_IFS
5687 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5689 esac
5691 LDCONFIG=$ac_cv_path_LDCONFIG
5692 if test -n "$LDCONFIG"; then
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5694 $as_echo "$LDCONFIG" >&6; }
5695 else
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5697 $as_echo "no" >&6; }
5701 for ac_prog in msgfmt
5703 # Extract the first word of "$ac_prog", so it can be a program name with args.
5704 set dummy $ac_prog; ac_word=$2
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5706 $as_echo_n "checking for $ac_word... " >&6; }
5707 if ${ac_cv_prog_MSGFMT+:} false; then :
5708 $as_echo_n "(cached) " >&6
5709 else
5710 if test -n "$MSGFMT"; then
5711 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5712 else
5713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5714 for as_dir in $PATH
5716 IFS=$as_save_IFS
5717 test -z "$as_dir" && as_dir=.
5718 for ac_exec_ext in '' $ac_executable_extensions; do
5719 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5720 ac_cv_prog_MSGFMT="$ac_prog"
5721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5722 break 2
5724 done
5725 done
5726 IFS=$as_save_IFS
5730 MSGFMT=$ac_cv_prog_MSGFMT
5731 if test -n "$MSGFMT"; then
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5733 $as_echo "$MSGFMT" >&6; }
5734 else
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5736 $as_echo "no" >&6; }
5740 test -n "$MSGFMT" && break
5741 done
5742 test -n "$MSGFMT" || MSGFMT="false"
5744 if ${ac_tool_prefix+:} false; then :
5745 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5746 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5748 $as_echo_n "checking for $ac_word... " >&6; }
5749 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5750 $as_echo_n "(cached) " >&6
5751 else
5752 if test -n "$PKG_CONFIG"; then
5753 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5754 else
5755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5756 for as_dir in $PATH
5758 IFS=$as_save_IFS
5759 test -z "$as_dir" && as_dir=.
5760 for ac_exec_ext in '' $ac_executable_extensions; do
5761 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5762 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5764 break 2
5766 done
5767 done
5768 IFS=$as_save_IFS
5772 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5773 if test -n "$PKG_CONFIG"; then
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5775 $as_echo "$PKG_CONFIG" >&6; }
5776 else
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5778 $as_echo "no" >&6; }
5783 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5784 if test "x$cross_compiling" = xyes; then :
5786 else
5787 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5788 # Extract the first word of "pkg-config", so it can be a program name with args.
5789 set dummy pkg-config; ac_word=$2
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5791 $as_echo_n "checking for $ac_word... " >&6; }
5792 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5793 $as_echo_n "(cached) " >&6
5794 else
5795 if test -n "$PKG_CONFIG"; then
5796 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5797 else
5798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5799 for as_dir in $PATH
5801 IFS=$as_save_IFS
5802 test -z "$as_dir" && as_dir=.
5803 for ac_exec_ext in '' $ac_executable_extensions; do
5804 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5805 ac_cv_prog_PKG_CONFIG="pkg-config"
5806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5807 break 2
5809 done
5810 done
5811 IFS=$as_save_IFS
5815 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5816 if test -n "$PKG_CONFIG"; then
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5818 $as_echo "$PKG_CONFIG" >&6; }
5819 else
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5821 $as_echo "no" >&6; }
5826 else
5827 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5830 if test "x$enable_maintainer_mode" != "xyes"
5831 then
5832 FONTFORGE=""
5833 RSVG=""
5834 CONVERT=""
5835 ICOTOOL=""
5836 else
5837 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5838 for ac_prog in fontforge
5840 # Extract the first word of "$ac_prog", so it can be a program name with args.
5841 set dummy $ac_prog; ac_word=$2
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5843 $as_echo_n "checking for $ac_word... " >&6; }
5844 if ${ac_cv_prog_FONTFORGE+:} false; then :
5845 $as_echo_n "(cached) " >&6
5846 else
5847 if test -n "$FONTFORGE"; then
5848 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5849 else
5850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5851 for as_dir in $PATH
5853 IFS=$as_save_IFS
5854 test -z "$as_dir" && as_dir=.
5855 for ac_exec_ext in '' $ac_executable_extensions; do
5856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5857 ac_cv_prog_FONTFORGE="$ac_prog"
5858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5859 break 2
5861 done
5862 done
5863 IFS=$as_save_IFS
5867 FONTFORGE=$ac_cv_prog_FONTFORGE
5868 if test -n "$FONTFORGE"; then
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5870 $as_echo "$FONTFORGE" >&6; }
5871 else
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5873 $as_echo "no" >&6; }
5877 test -n "$FONTFORGE" && break
5878 done
5879 test -n "$FONTFORGE" || FONTFORGE="false"
5881 for ac_prog in rsvg-convert rsvg
5883 # Extract the first word of "$ac_prog", so it can be a program name with args.
5884 set dummy $ac_prog; ac_word=$2
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5886 $as_echo_n "checking for $ac_word... " >&6; }
5887 if ${ac_cv_prog_RSVG+:} false; then :
5888 $as_echo_n "(cached) " >&6
5889 else
5890 if test -n "$RSVG"; then
5891 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5892 else
5893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5894 for as_dir in $PATH
5896 IFS=$as_save_IFS
5897 test -z "$as_dir" && as_dir=.
5898 for ac_exec_ext in '' $ac_executable_extensions; do
5899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5900 ac_cv_prog_RSVG="$ac_prog"
5901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5902 break 2
5904 done
5905 done
5906 IFS=$as_save_IFS
5910 RSVG=$ac_cv_prog_RSVG
5911 if test -n "$RSVG"; then
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5913 $as_echo "$RSVG" >&6; }
5914 else
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5916 $as_echo "no" >&6; }
5920 test -n "$RSVG" && break
5921 done
5922 test -n "$RSVG" || RSVG="false"
5924 for ac_prog in convert
5926 # Extract the first word of "$ac_prog", so it can be a program name with args.
5927 set dummy $ac_prog; ac_word=$2
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5929 $as_echo_n "checking for $ac_word... " >&6; }
5930 if ${ac_cv_prog_CONVERT+:} false; then :
5931 $as_echo_n "(cached) " >&6
5932 else
5933 if test -n "$CONVERT"; then
5934 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5935 else
5936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5937 for as_dir in $PATH
5939 IFS=$as_save_IFS
5940 test -z "$as_dir" && as_dir=.
5941 for ac_exec_ext in '' $ac_executable_extensions; do
5942 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5943 ac_cv_prog_CONVERT="$ac_prog"
5944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5945 break 2
5947 done
5948 done
5949 IFS=$as_save_IFS
5953 CONVERT=$ac_cv_prog_CONVERT
5954 if test -n "$CONVERT"; then
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5956 $as_echo "$CONVERT" >&6; }
5957 else
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5959 $as_echo "no" >&6; }
5963 test -n "$CONVERT" && break
5964 done
5965 test -n "$CONVERT" || CONVERT="false"
5967 for ac_prog in icotool
5969 # Extract the first word of "$ac_prog", so it can be a program name with args.
5970 set dummy $ac_prog; ac_word=$2
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5972 $as_echo_n "checking for $ac_word... " >&6; }
5973 if ${ac_cv_prog_ICOTOOL+:} false; then :
5974 $as_echo_n "(cached) " >&6
5975 else
5976 if test -n "$ICOTOOL"; then
5977 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5978 else
5979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5980 for as_dir in $PATH
5982 IFS=$as_save_IFS
5983 test -z "$as_dir" && as_dir=.
5984 for ac_exec_ext in '' $ac_executable_extensions; do
5985 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5986 ac_cv_prog_ICOTOOL="$ac_prog"
5987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5988 break 2
5990 done
5991 done
5992 IFS=$as_save_IFS
5996 ICOTOOL=$ac_cv_prog_ICOTOOL
5997 if test -n "$ICOTOOL"; then
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5999 $as_echo "$ICOTOOL" >&6; }
6000 else
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6002 $as_echo "no" >&6; }
6006 test -n "$ICOTOOL" && break
6007 done
6008 test -n "$ICOTOOL" || ICOTOOL="false"
6010 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6011 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6013 if test "$CONVERT" = false
6014 then
6015 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6016 else
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6018 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6019 convert_version=`convert --version | head -n1`
6020 if test "x$convert_version" != "x"
6021 then
6022 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6023 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6024 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6025 then
6026 CONVERT=false
6029 if test "$CONVERT" = false
6030 then
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6032 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6033 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6034 else
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6036 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6040 if test "$ICOTOOL" = false
6041 then
6042 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6043 else
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6045 $as_echo_n "checking for recent enough icotool... " >&6; }
6046 icotool_version=`icotool --version | head -n1`
6047 if test "x$icotool_version" != "x"
6048 then
6049 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6050 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6051 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6052 then
6053 ICOTOOL=false
6054 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6057 if test "$ICOTOOL" = false
6058 then
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6060 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6061 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6062 else
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6064 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6068 with_gettext=yes
6069 with_gettextpo=yes
6070 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6073 test "x$with_gettext" != xno || MSGFMT=false
6074 if test "$MSGFMT" != "false"
6075 then
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6077 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6078 cat >conftest.po <<EOF
6079 # comment
6080 msgctxt "ctxt"
6081 msgid "id"
6082 msgstr "str"
6084 if $MSGFMT -o /dev/null conftest.po 2>&5
6085 then
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6087 $as_echo "yes" >&6; }
6088 else
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6090 $as_echo "no" >&6; }
6091 MSGFMT=false
6094 if test "$MSGFMT" = false; then :
6095 case "x$with_gettext" in
6096 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6097 xno) ;;
6098 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6099 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6100 esac
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6105 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6106 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6107 $as_echo_n "(cached) " >&6
6108 else
6109 ac_check_lib_save_LIBS=$LIBS
6110 LIBS="-li386 $LIBS"
6111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6112 /* end confdefs.h. */
6114 /* Override any GCC internal prototype to avoid an error.
6115 Use char because int might match the return type of a GCC
6116 builtin and then its argument prototype would still apply. */
6117 #ifdef __cplusplus
6118 extern "C"
6119 #endif
6120 char i386_set_ldt ();
6122 main ()
6124 return i386_set_ldt ();
6126 return 0;
6128 _ACEOF
6129 if ac_fn_c_try_link "$LINENO"; then :
6130 ac_cv_lib_i386_i386_set_ldt=yes
6131 else
6132 ac_cv_lib_i386_i386_set_ldt=no
6134 rm -f core conftest.err conftest.$ac_objext \
6135 conftest$ac_exeext conftest.$ac_ext
6136 LIBS=$ac_check_lib_save_LIBS
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6139 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6140 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6141 cat >>confdefs.h <<_ACEOF
6142 #define HAVE_LIBI386 1
6143 _ACEOF
6145 LIBS="-li386 $LIBS"
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6150 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6151 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6152 $as_echo_n "(cached) " >&6
6153 else
6154 ac_check_lib_save_LIBS=$LIBS
6155 LIBS="-lossaudio $LIBS"
6156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6157 /* end confdefs.h. */
6159 /* Override any GCC internal prototype to avoid an error.
6160 Use char because int might match the return type of a GCC
6161 builtin and then its argument prototype would still apply. */
6162 #ifdef __cplusplus
6163 extern "C"
6164 #endif
6165 char _oss_ioctl ();
6167 main ()
6169 return _oss_ioctl ();
6171 return 0;
6173 _ACEOF
6174 if ac_fn_c_try_link "$LINENO"; then :
6175 ac_cv_lib_ossaudio__oss_ioctl=yes
6176 else
6177 ac_cv_lib_ossaudio__oss_ioctl=no
6179 rm -f core conftest.err conftest.$ac_objext \
6180 conftest$ac_exeext conftest.$ac_ext
6181 LIBS=$ac_check_lib_save_LIBS
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6184 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6185 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6186 cat >>confdefs.h <<_ACEOF
6187 #define HAVE_LIBOSSAUDIO 1
6188 _ACEOF
6190 LIBS="-lossaudio $LIBS"
6195 OPENGL_LIBS=""
6199 # Check whether --enable-largefile was given.
6200 if test "${enable_largefile+set}" = set; then :
6201 enableval=$enable_largefile;
6204 if test "$enable_largefile" != no; then
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6207 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6208 if ${ac_cv_sys_largefile_CC+:} false; then :
6209 $as_echo_n "(cached) " >&6
6210 else
6211 ac_cv_sys_largefile_CC=no
6212 if test "$GCC" != yes; then
6213 ac_save_CC=$CC
6214 while :; do
6215 # IRIX 6.2 and later do not support large files by default,
6216 # so use the C compiler's -n32 option if that helps.
6217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6218 /* end confdefs.h. */
6219 #include <sys/types.h>
6220 /* Check that off_t can represent 2**63 - 1 correctly.
6221 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6222 since some C++ compilers masquerading as C compilers
6223 incorrectly reject 9223372036854775807. */
6224 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6225 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6226 && LARGE_OFF_T % 2147483647 == 1)
6227 ? 1 : -1];
6229 main ()
6233 return 0;
6235 _ACEOF
6236 if ac_fn_c_try_compile "$LINENO"; then :
6237 break
6239 rm -f core conftest.err conftest.$ac_objext
6240 CC="$CC -n32"
6241 if ac_fn_c_try_compile "$LINENO"; then :
6242 ac_cv_sys_largefile_CC=' -n32'; break
6244 rm -f core conftest.err conftest.$ac_objext
6245 break
6246 done
6247 CC=$ac_save_CC
6248 rm -f conftest.$ac_ext
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6252 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6253 if test "$ac_cv_sys_largefile_CC" != no; then
6254 CC=$CC$ac_cv_sys_largefile_CC
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6258 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6259 if ${ac_cv_sys_file_offset_bits+:} false; then :
6260 $as_echo_n "(cached) " >&6
6261 else
6262 while :; do
6263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6264 /* end confdefs.h. */
6265 #include <sys/types.h>
6266 /* Check that off_t can represent 2**63 - 1 correctly.
6267 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6268 since some C++ compilers masquerading as C compilers
6269 incorrectly reject 9223372036854775807. */
6270 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6271 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6272 && LARGE_OFF_T % 2147483647 == 1)
6273 ? 1 : -1];
6275 main ()
6279 return 0;
6281 _ACEOF
6282 if ac_fn_c_try_compile "$LINENO"; then :
6283 ac_cv_sys_file_offset_bits=no; break
6285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6287 /* end confdefs.h. */
6288 #define _FILE_OFFSET_BITS 64
6289 #include <sys/types.h>
6290 /* Check that off_t can represent 2**63 - 1 correctly.
6291 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6292 since some C++ compilers masquerading as C compilers
6293 incorrectly reject 9223372036854775807. */
6294 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6295 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6296 && LARGE_OFF_T % 2147483647 == 1)
6297 ? 1 : -1];
6299 main ()
6303 return 0;
6305 _ACEOF
6306 if ac_fn_c_try_compile "$LINENO"; then :
6307 ac_cv_sys_file_offset_bits=64; break
6309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6310 ac_cv_sys_file_offset_bits=unknown
6311 break
6312 done
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6315 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6316 case $ac_cv_sys_file_offset_bits in #(
6317 no | unknown) ;;
6319 cat >>confdefs.h <<_ACEOF
6320 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6321 _ACEOF
6323 esac
6324 rm -rf conftest*
6325 if test $ac_cv_sys_file_offset_bits = unknown; then
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6327 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6328 if ${ac_cv_sys_large_files+:} false; then :
6329 $as_echo_n "(cached) " >&6
6330 else
6331 while :; do
6332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6333 /* end confdefs.h. */
6334 #include <sys/types.h>
6335 /* Check that off_t can represent 2**63 - 1 correctly.
6336 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6337 since some C++ compilers masquerading as C compilers
6338 incorrectly reject 9223372036854775807. */
6339 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6340 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6341 && LARGE_OFF_T % 2147483647 == 1)
6342 ? 1 : -1];
6344 main ()
6348 return 0;
6350 _ACEOF
6351 if ac_fn_c_try_compile "$LINENO"; then :
6352 ac_cv_sys_large_files=no; break
6354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6356 /* end confdefs.h. */
6357 #define _LARGE_FILES 1
6358 #include <sys/types.h>
6359 /* Check that off_t can represent 2**63 - 1 correctly.
6360 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6361 since some C++ compilers masquerading as C compilers
6362 incorrectly reject 9223372036854775807. */
6363 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6364 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6365 && LARGE_OFF_T % 2147483647 == 1)
6366 ? 1 : -1];
6368 main ()
6372 return 0;
6374 _ACEOF
6375 if ac_fn_c_try_compile "$LINENO"; then :
6376 ac_cv_sys_large_files=1; break
6378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6379 ac_cv_sys_large_files=unknown
6380 break
6381 done
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6384 $as_echo "$ac_cv_sys_large_files" >&6; }
6385 case $ac_cv_sys_large_files in #(
6386 no | unknown) ;;
6388 cat >>confdefs.h <<_ACEOF
6389 #define _LARGE_FILES $ac_cv_sys_large_files
6390 _ACEOF
6392 esac
6393 rm -rf conftest*
6400 ac_ext=c
6401 ac_cpp='$CPP $CPPFLAGS'
6402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6406 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6407 # On Suns, sometimes $CPP names a directory.
6408 if test -n "$CPP" && test -d "$CPP"; then
6409 CPP=
6411 if test -z "$CPP"; then
6412 if ${ac_cv_prog_CPP+:} false; then :
6413 $as_echo_n "(cached) " >&6
6414 else
6415 # Double quotes because CPP needs to be expanded
6416 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6418 ac_preproc_ok=false
6419 for ac_c_preproc_warn_flag in '' yes
6421 # Use a header file that comes with gcc, so configuring glibc
6422 # with a fresh cross-compiler works.
6423 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6424 # <limits.h> exists even on freestanding compilers.
6425 # On the NeXT, cc -E runs the code through the compiler's parser,
6426 # not just through cpp. "Syntax error" is here to catch this case.
6427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6428 /* end confdefs.h. */
6429 #ifdef __STDC__
6430 # include <limits.h>
6431 #else
6432 # include <assert.h>
6433 #endif
6434 Syntax error
6435 _ACEOF
6436 if ac_fn_c_try_cpp "$LINENO"; then :
6438 else
6439 # Broken: fails on valid input.
6440 continue
6442 rm -f conftest.err conftest.i conftest.$ac_ext
6444 # OK, works on sane cases. Now check whether nonexistent headers
6445 # can be detected and how.
6446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6447 /* end confdefs.h. */
6448 #include <ac_nonexistent.h>
6449 _ACEOF
6450 if ac_fn_c_try_cpp "$LINENO"; then :
6451 # Broken: success on invalid input.
6452 continue
6453 else
6454 # Passes both tests.
6455 ac_preproc_ok=:
6456 break
6458 rm -f conftest.err conftest.i conftest.$ac_ext
6460 done
6461 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6462 rm -f conftest.i conftest.err conftest.$ac_ext
6463 if $ac_preproc_ok; then :
6464 break
6467 done
6468 ac_cv_prog_CPP=$CPP
6471 CPP=$ac_cv_prog_CPP
6472 else
6473 ac_cv_prog_CPP=$CPP
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6476 $as_echo "$CPP" >&6; }
6477 ac_preproc_ok=false
6478 for ac_c_preproc_warn_flag in '' yes
6480 # Use a header file that comes with gcc, so configuring glibc
6481 # with a fresh cross-compiler works.
6482 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6483 # <limits.h> exists even on freestanding compilers.
6484 # On the NeXT, cc -E runs the code through the compiler's parser,
6485 # not just through cpp. "Syntax error" is here to catch this case.
6486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6487 /* end confdefs.h. */
6488 #ifdef __STDC__
6489 # include <limits.h>
6490 #else
6491 # include <assert.h>
6492 #endif
6493 Syntax error
6494 _ACEOF
6495 if ac_fn_c_try_cpp "$LINENO"; then :
6497 else
6498 # Broken: fails on valid input.
6499 continue
6501 rm -f conftest.err conftest.i conftest.$ac_ext
6503 # OK, works on sane cases. Now check whether nonexistent headers
6504 # can be detected and how.
6505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6506 /* end confdefs.h. */
6507 #include <ac_nonexistent.h>
6508 _ACEOF
6509 if ac_fn_c_try_cpp "$LINENO"; then :
6510 # Broken: success on invalid input.
6511 continue
6512 else
6513 # Passes both tests.
6514 ac_preproc_ok=:
6515 break
6517 rm -f conftest.err conftest.i conftest.$ac_ext
6519 done
6520 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6521 rm -f conftest.i conftest.err conftest.$ac_ext
6522 if $ac_preproc_ok; then :
6524 else
6525 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6526 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6527 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6528 See \`config.log' for more details" "$LINENO" 5; }
6531 ac_ext=c
6532 ac_cpp='$CPP $CPPFLAGS'
6533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6539 $as_echo_n "checking for ANSI C header files... " >&6; }
6540 if ${ac_cv_header_stdc+:} false; then :
6541 $as_echo_n "(cached) " >&6
6542 else
6543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6544 /* end confdefs.h. */
6545 #include <stdlib.h>
6546 #include <stdarg.h>
6547 #include <string.h>
6548 #include <float.h>
6551 main ()
6555 return 0;
6557 _ACEOF
6558 if ac_fn_c_try_compile "$LINENO"; then :
6559 ac_cv_header_stdc=yes
6560 else
6561 ac_cv_header_stdc=no
6563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6565 if test $ac_cv_header_stdc = yes; then
6566 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6568 /* end confdefs.h. */
6569 #include <string.h>
6571 _ACEOF
6572 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6573 $EGREP "memchr" >/dev/null 2>&1; then :
6575 else
6576 ac_cv_header_stdc=no
6578 rm -f conftest*
6582 if test $ac_cv_header_stdc = yes; then
6583 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6585 /* end confdefs.h. */
6586 #include <stdlib.h>
6588 _ACEOF
6589 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6590 $EGREP "free" >/dev/null 2>&1; then :
6592 else
6593 ac_cv_header_stdc=no
6595 rm -f conftest*
6599 if test $ac_cv_header_stdc = yes; then
6600 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6601 if test "$cross_compiling" = yes; then :
6603 else
6604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6605 /* end confdefs.h. */
6606 #include <ctype.h>
6607 #include <stdlib.h>
6608 #if ((' ' & 0x0FF) == 0x020)
6609 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6610 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6611 #else
6612 # define ISLOWER(c) \
6613 (('a' <= (c) && (c) <= 'i') \
6614 || ('j' <= (c) && (c) <= 'r') \
6615 || ('s' <= (c) && (c) <= 'z'))
6616 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6617 #endif
6619 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6621 main ()
6623 int i;
6624 for (i = 0; i < 256; i++)
6625 if (XOR (islower (i), ISLOWER (i))
6626 || toupper (i) != TOUPPER (i))
6627 return 2;
6628 return 0;
6630 _ACEOF
6631 if ac_fn_c_try_run "$LINENO"; then :
6633 else
6634 ac_cv_header_stdc=no
6636 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6637 conftest.$ac_objext conftest.beam conftest.$ac_ext
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6643 $as_echo "$ac_cv_header_stdc" >&6; }
6644 if test $ac_cv_header_stdc = yes; then
6646 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6650 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6651 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6652 inttypes.h stdint.h unistd.h
6653 do :
6654 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6655 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6657 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6658 cat >>confdefs.h <<_ACEOF
6659 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6660 _ACEOF
6664 done
6667 for ac_header in \
6668 AL/al.h \
6669 ApplicationServices/ApplicationServices.h \
6670 AudioToolbox/AudioConverter.h \
6671 AudioUnit/AudioUnit.h \
6672 AudioUnit/AudioComponent.h \
6673 CL/cl.h \
6674 Carbon/Carbon.h \
6675 CoreAudio/CoreAudio.h \
6676 CoreServices/CoreServices.h \
6677 DiskArbitration/DiskArbitration.h \
6678 IOKit/IOKitLib.h \
6679 IOKit/hid/IOHIDLib.h \
6680 OpenAL/al.h \
6681 OpenCL/opencl.h \
6682 QuickTime/ImageCompression.h \
6683 Security/Security.h \
6684 alias.h \
6685 alsa/asoundlib.h \
6686 arpa/inet.h \
6687 arpa/nameser.h \
6688 asm/types.h \
6689 asm/user.h \
6690 curses.h \
6691 direct.h \
6692 dirent.h \
6693 dlfcn.h \
6694 elf.h \
6695 float.h \
6696 fnmatch.h \
6697 getopt.h \
6698 gettext-po.h \
6699 grp.h \
6700 gsm.h \
6701 gsm/gsm.h \
6702 ieeefp.h \
6703 inet/mib2.h \
6704 io.h \
6705 kstat.h \
6706 lber.h \
6707 ldap.h \
6708 libproc.h \
6709 link.h \
6710 linux/cdrom.h \
6711 linux/compiler.h \
6712 linux/filter.h \
6713 linux/hdreg.h \
6714 linux/input.h \
6715 linux/ioctl.h \
6716 linux/joystick.h \
6717 linux/major.h \
6718 linux/param.h \
6719 linux/serial.h \
6720 linux/types.h \
6721 linux/ucdrom.h \
6722 lwp.h \
6723 mach-o/nlist.h \
6724 mach-o/loader.h \
6725 mach/mach.h \
6726 mach/machine.h \
6727 machine/cpu.h \
6728 machine/limits.h \
6729 machine/sysarch.h \
6730 mntent.h \
6731 ncurses.h \
6732 netdb.h \
6733 netinet/in.h \
6734 netinet/in_systm.h \
6735 netinet/tcp.h \
6736 netinet/tcp_fsm.h \
6737 pcap/pcap.h \
6738 poll.h \
6739 port.h \
6740 process.h \
6741 pthread.h \
6742 pwd.h \
6743 sched.h \
6744 scsi/scsi.h \
6745 scsi/scsi_ioctl.h \
6746 scsi/sg.h \
6747 stdbool.h \
6748 stdint.h \
6749 stropts.h \
6750 sys/asoundlib.h \
6751 sys/attr.h \
6752 sys/cdio.h \
6753 sys/elf32.h \
6754 sys/epoll.h \
6755 sys/event.h \
6756 sys/exec_elf.h \
6757 sys/filio.h \
6758 sys/inotify.h \
6759 sys/ioctl.h \
6760 sys/ipc.h \
6761 sys/limits.h \
6762 sys/link.h \
6763 sys/mman.h \
6764 sys/modem.h \
6765 sys/msg.h \
6766 sys/mtio.h \
6767 sys/param.h \
6768 sys/poll.h \
6769 sys/prctl.h \
6770 sys/protosw.h \
6771 sys/ptrace.h \
6772 sys/queue.h \
6773 sys/resource.h \
6774 sys/scsiio.h \
6775 sys/shm.h \
6776 sys/signal.h \
6777 sys/socket.h \
6778 sys/socketvar.h \
6779 sys/sockio.h \
6780 sys/statvfs.h \
6781 sys/strtio.h \
6782 sys/syscall.h \
6783 sys/tihdr.h \
6784 sys/time.h \
6785 sys/timeout.h \
6786 sys/times.h \
6787 sys/uio.h \
6788 sys/user.h \
6789 sys/utsname.h \
6790 sys/vm86.h \
6791 sys/vnode.h \
6792 sys/wait.h \
6793 syscall.h \
6794 termios.h \
6795 unistd.h \
6796 utime.h \
6797 valgrind/memcheck.h \
6798 valgrind/valgrind.h \
6799 zlib.h
6801 do :
6802 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6803 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6804 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6805 cat >>confdefs.h <<_ACEOF
6806 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6807 _ACEOF
6811 done
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6814 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6815 if ${ac_cv_header_stat_broken+:} false; then :
6816 $as_echo_n "(cached) " >&6
6817 else
6818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6819 /* end confdefs.h. */
6820 #include <sys/types.h>
6821 #include <sys/stat.h>
6823 #if defined S_ISBLK && defined S_IFDIR
6824 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6825 #endif
6827 #if defined S_ISBLK && defined S_IFCHR
6828 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6829 #endif
6831 #if defined S_ISLNK && defined S_IFREG
6832 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6833 #endif
6835 #if defined S_ISSOCK && defined S_IFREG
6836 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6837 #endif
6839 _ACEOF
6840 if ac_fn_c_try_compile "$LINENO"; then :
6841 ac_cv_header_stat_broken=no
6842 else
6843 ac_cv_header_stat_broken=yes
6845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6848 $as_echo "$ac_cv_header_stat_broken" >&6; }
6849 if test $ac_cv_header_stat_broken = yes; then
6851 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6857 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6858 do :
6859 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6860 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6861 #ifdef HAVE_SYS_PARAM_H
6862 # include <sys/param.h>
6863 #endif
6865 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6866 cat >>confdefs.h <<_ACEOF
6867 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6868 _ACEOF
6872 done
6875 for ac_header in \
6876 netinet/ip.h \
6877 net/if.h \
6878 net/if_arp.h \
6879 net/if_dl.h \
6880 net/if_types.h \
6881 net/route.h \
6882 netinet/if_ether.h \
6883 netinet/if_inarp.h \
6884 netinet/in_pcb.h \
6885 netinet/ip_icmp.h \
6886 netinet/ip_var.h \
6887 netinet/udp.h \
6888 netipx/ipx.h \
6889 sys/un.h \
6891 do :
6892 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6893 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6894 #ifdef HAVE_SYS_SOCKET_H
6895 # include <sys/socket.h>
6896 #endif
6897 #ifdef HAVE_SYS_SOCKETVAR_H
6898 # include <sys/socketvar.h>
6899 #endif
6900 #ifdef HAVE_NET_ROUTE_H
6901 # include <net/route.h>
6902 #endif
6903 #ifdef HAVE_NETINET_IN_H
6904 # include <netinet/in.h>
6905 #endif
6906 #ifdef HAVE_NETINET_IN_SYSTM_H
6907 # include <netinet/in_systm.h>
6908 #endif
6909 #ifdef HAVE_NET_IF_H
6910 # include <net/if.h>
6911 #endif
6912 #ifdef HAVE_NETINET_IP_H
6913 # include <netinet/ip.h>
6914 #endif
6916 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6917 cat >>confdefs.h <<_ACEOF
6918 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6919 _ACEOF
6923 done
6926 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6927 do :
6928 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6929 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6930 #ifdef HAVE_ALIAS_H
6931 # include <alias.h>
6932 #endif
6933 #ifdef HAVE_SYS_SOCKET_H
6934 # include <sys/socket.h>
6935 #endif
6936 #ifdef HAVE_SYS_SOCKETVAR_H
6937 # include <sys/socketvar.h>
6938 #endif
6939 #ifdef HAVE_SYS_TIMEOUT_H
6940 # include <sys/timeout.h>
6941 #endif
6942 #ifdef HAVE_NETINET_IN_H
6943 # include <netinet/in.h>
6944 #endif
6945 #ifdef HAVE_NETINET_IN_SYSTM_H
6946 # include <netinet/in_systm.h>
6947 #endif
6948 #ifdef HAVE_NETINET_IP_H
6949 # include <netinet/ip.h>
6950 #endif
6951 #ifdef HAVE_NETINET_IP_VAR_H
6952 # include <netinet/ip_var.h>
6953 #endif
6954 #ifdef HAVE_NETINET_IP_ICMP_H
6955 # include <netinet/ip_icmp.h>
6956 #endif
6957 #ifdef HAVE_NETINET_UDP_H
6958 # include <netinet/udp.h>
6959 #endif
6960 #ifdef HAVE_NETINET_TCP_H
6961 # include <netinet/tcp.h>
6962 #endif
6963 #ifdef HAVE_NETINET_TCP_TIMER_H
6964 #include <netinet/tcp_timer.h>
6965 #endif
6967 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6968 cat >>confdefs.h <<_ACEOF
6969 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6970 _ACEOF
6974 done
6977 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6978 do :
6979 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6980 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6981 #ifdef HAVE_ASM_TYPES_H
6982 # include <asm/types.h>
6983 #endif
6984 #ifdef HAVE_SYS_SOCKET_H
6985 # include <sys/socket.h>
6986 #endif
6987 #ifdef HAVE_LINUX_TYPES_H
6988 # include <linux/types.h>
6989 #endif
6991 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6992 cat >>confdefs.h <<_ACEOF
6993 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6994 _ACEOF
6998 done
7001 for ac_header in mach-o/dyld_images.h
7002 do :
7003 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7004 # include <stdbool.h>
7005 #endif
7006 #ifdef HAVE_STDINT_H
7007 # include <stdint.h>
7008 #endif
7010 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7011 cat >>confdefs.h <<_ACEOF
7012 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7013 _ACEOF
7017 done
7020 for ac_header in resolv.h
7021 do :
7022 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7023 #ifdef HAVE_SYS_SOCKET_H
7024 # include <sys/socket.h>
7025 #endif
7026 #ifdef HAVE_NETINET_IN_H
7027 # include <netinet/in.h>
7028 #endif
7029 #ifdef HAVE_ARPA_NAMESER_H
7030 # include <arpa/nameser.h>
7031 #endif
7033 if test "x$ac_cv_header_resolv_h" = xyes; then :
7034 cat >>confdefs.h <<_ACEOF
7035 #define HAVE_RESOLV_H 1
7036 _ACEOF
7040 done
7043 for ac_header in ifaddrs.h
7044 do :
7045 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7047 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7048 cat >>confdefs.h <<_ACEOF
7049 #define HAVE_IFADDRS_H 1
7050 _ACEOF
7054 done
7057 for ac_header in sys/ucontext.h
7058 do :
7059 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7061 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7062 cat >>confdefs.h <<_ACEOF
7063 #define HAVE_SYS_UCONTEXT_H 1
7064 _ACEOF
7068 done
7071 for ac_header in sys/thr.h
7072 do :
7073 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7074 #ifdef HAVE_SYS_UCONTEXT_H
7075 #include <sys/ucontext.h>
7076 #endif
7078 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7079 cat >>confdefs.h <<_ACEOF
7080 #define HAVE_SYS_THR_H 1
7081 _ACEOF
7085 done
7088 for ac_header in pthread_np.h
7089 do :
7090 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7091 #include <pthread.h>
7092 #endif
7094 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7095 cat >>confdefs.h <<_ACEOF
7096 #define HAVE_PTHREAD_NP_H 1
7097 _ACEOF
7101 done
7104 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7105 do :
7106 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7107 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7108 #include <sys/time.h>
7109 #endif
7110 #include <sys/types.h>
7111 #ifdef HAVE_ASM_TYPES_H
7112 #include <asm/types.h>
7113 #endif
7115 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7116 cat >>confdefs.h <<_ACEOF
7117 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7118 _ACEOF
7122 done
7125 for ac_header in libprocstat.h
7126 do :
7127 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7128 #include <sys/param.h>
7129 #endif
7130 #ifdef HAVE_SYS_QUEUE_H
7131 #include <sys/queue.h>
7132 #endif
7133 #ifdef HAVE_SYS_SOCKET_H
7134 #include <sys/socket.h>
7135 #endif
7137 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7138 cat >>confdefs.h <<_ACEOF
7139 #define HAVE_LIBPROCSTAT_H 1
7140 _ACEOF
7144 done
7148 dlldir="\${libdir}/wine"
7150 DLLFLAGS="-D_REENTRANT"
7152 LDRPATH_INSTALL=""
7154 LDRPATH_LOCAL=""
7156 LDEXECFLAGS=""
7158 LIBEXT="so"
7159 DLLEXT=".so"
7160 IMPLIBEXT="def"
7161 STATIC_IMPLIBEXT="def.a"
7162 # Extract the first word of "ldd", so it can be a program name with args.
7163 set dummy ldd; ac_word=$2
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7165 $as_echo_n "checking for $ac_word... " >&6; }
7166 if ${ac_cv_path_LDD+:} false; then :
7167 $as_echo_n "(cached) " >&6
7168 else
7169 case $LDD in
7170 [\\/]* | ?:[\\/]*)
7171 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7175 as_dummy="/sbin:/usr/sbin:$PATH"
7176 for as_dir in $as_dummy
7178 IFS=$as_save_IFS
7179 test -z "$as_dir" && as_dir=.
7180 for ac_exec_ext in '' $ac_executable_extensions; do
7181 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7182 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7184 break 2
7186 done
7187 done
7188 IFS=$as_save_IFS
7190 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7192 esac
7194 LDD=$ac_cv_path_LDD
7195 if test -n "$LDD"; then
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7197 $as_echo "$LDD" >&6; }
7198 else
7199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7200 $as_echo "no" >&6; }
7204 if test -n "$ac_tool_prefix"; then
7205 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7206 set dummy ${ac_tool_prefix}otool; ac_word=$2
7207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7208 $as_echo_n "checking for $ac_word... " >&6; }
7209 if ${ac_cv_prog_OTOOL+:} false; then :
7210 $as_echo_n "(cached) " >&6
7211 else
7212 if test -n "$OTOOL"; then
7213 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7214 else
7215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7216 for as_dir in $PATH
7218 IFS=$as_save_IFS
7219 test -z "$as_dir" && as_dir=.
7220 for ac_exec_ext in '' $ac_executable_extensions; do
7221 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7222 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7224 break 2
7226 done
7227 done
7228 IFS=$as_save_IFS
7232 OTOOL=$ac_cv_prog_OTOOL
7233 if test -n "$OTOOL"; then
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7235 $as_echo "$OTOOL" >&6; }
7236 else
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7238 $as_echo "no" >&6; }
7243 if test -z "$ac_cv_prog_OTOOL"; then
7244 ac_ct_OTOOL=$OTOOL
7245 # Extract the first word of "otool", so it can be a program name with args.
7246 set dummy otool; ac_word=$2
7247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7248 $as_echo_n "checking for $ac_word... " >&6; }
7249 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7250 $as_echo_n "(cached) " >&6
7251 else
7252 if test -n "$ac_ct_OTOOL"; then
7253 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7254 else
7255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7256 for as_dir in $PATH
7258 IFS=$as_save_IFS
7259 test -z "$as_dir" && as_dir=.
7260 for ac_exec_ext in '' $ac_executable_extensions; do
7261 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7262 ac_cv_prog_ac_ct_OTOOL="otool"
7263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7264 break 2
7266 done
7267 done
7268 IFS=$as_save_IFS
7272 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7273 if test -n "$ac_ct_OTOOL"; then
7274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7275 $as_echo "$ac_ct_OTOOL" >&6; }
7276 else
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7278 $as_echo "no" >&6; }
7281 if test "x$ac_ct_OTOOL" = x; then
7282 OTOOL="otool"
7283 else
7284 case $cross_compiling:$ac_tool_warned in
7285 yes:)
7286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7287 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7288 ac_tool_warned=yes ;;
7289 esac
7290 OTOOL=$ac_ct_OTOOL
7292 else
7293 OTOOL="$ac_cv_prog_OTOOL"
7296 if test -n "$ac_tool_prefix"; then
7297 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7298 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7300 $as_echo_n "checking for $ac_word... " >&6; }
7301 if ${ac_cv_prog_READELF+:} false; then :
7302 $as_echo_n "(cached) " >&6
7303 else
7304 if test -n "$READELF"; then
7305 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7306 else
7307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7308 for as_dir in $PATH
7310 IFS=$as_save_IFS
7311 test -z "$as_dir" && as_dir=.
7312 for ac_exec_ext in '' $ac_executable_extensions; do
7313 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7314 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7316 break 2
7318 done
7319 done
7320 IFS=$as_save_IFS
7324 READELF=$ac_cv_prog_READELF
7325 if test -n "$READELF"; then
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7327 $as_echo "$READELF" >&6; }
7328 else
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7330 $as_echo "no" >&6; }
7335 if test -z "$ac_cv_prog_READELF"; then
7336 ac_ct_READELF=$READELF
7337 # Extract the first word of "readelf", so it can be a program name with args.
7338 set dummy readelf; ac_word=$2
7339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7340 $as_echo_n "checking for $ac_word... " >&6; }
7341 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7342 $as_echo_n "(cached) " >&6
7343 else
7344 if test -n "$ac_ct_READELF"; then
7345 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7346 else
7347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7348 for as_dir in $PATH
7350 IFS=$as_save_IFS
7351 test -z "$as_dir" && as_dir=.
7352 for ac_exec_ext in '' $ac_executable_extensions; do
7353 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7354 ac_cv_prog_ac_ct_READELF="readelf"
7355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7356 break 2
7358 done
7359 done
7360 IFS=$as_save_IFS
7364 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7365 if test -n "$ac_ct_READELF"; then
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7367 $as_echo "$ac_ct_READELF" >&6; }
7368 else
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7370 $as_echo "no" >&6; }
7373 if test "x$ac_ct_READELF" = x; then
7374 READELF="true"
7375 else
7376 case $cross_compiling:$ac_tool_warned in
7377 yes:)
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7379 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7380 ac_tool_warned=yes ;;
7381 esac
7382 READELF=$ac_ct_READELF
7384 else
7385 READELF="$ac_cv_prog_READELF"
7388 wine_rules_file=conf$$rules.make
7389 rm -f $wine_rules_file
7390 ALL_POT_FILES=""
7391 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7392 ALL_TEST_RESOURCES=""
7395 wine_fn_append_file ()
7397 as_fn_append $1 " \\$as_nl $2"
7400 wine_fn_ignore_file ()
7402 case "$1" in
7403 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7404 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7405 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7406 esac
7409 wine_fn_append_rule ()
7411 $as_echo "$1" >>$wine_rules_file
7414 wine_fn_has_flag ()
7416 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7419 wine_fn_depend_rules ()
7421 wine_fn_append_rule \
7422 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in Makefile \$(MAKEDEP)
7423 \$(MAKEDEP) $ac_dir
7424 depend: $ac_dir/depend
7425 .PHONY: $ac_dir/depend
7426 $ac_dir/depend: \$(MAKEDEP) dummy
7427 \$(MAKEDEP) $ac_dir"
7430 wine_fn_pot_rules ()
7432 test "x$with_gettextpo" = xyes || return
7434 if wine_fn_has_flag mc
7435 then
7436 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7437 wine_fn_append_rule \
7438 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7439 @cd $ac_dir && \$(MAKE) msg.pot
7440 $ac_dir/msg.pot: tools/wmc include"
7442 if wine_fn_has_flag po
7443 then
7444 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7445 wine_fn_append_rule \
7446 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7447 @cd $ac_dir && \$(MAKE) rsrc.pot
7448 $ac_dir/rsrc.pot: tools/wrc include"
7452 wine_fn_all_rules ()
7454 wine_fn_depend_rules
7455 wine_fn_append_rule \
7456 "all: $ac_dir
7457 .PHONY: $ac_dir
7458 $ac_dir: $ac_dir/Makefile dummy
7459 @cd $ac_dir && \$(MAKE)"
7462 wine_fn_install_rules ()
7464 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7466 wine_fn_append_rule \
7467 ".PHONY: $ac_dir/install $ac_dir/uninstall
7468 $ac_dir/install:: $ac_dir
7469 @cd $ac_dir && \$(MAKE) install
7470 $ac_dir/uninstall:: $ac_dir/Makefile
7471 @cd $ac_dir && \$(MAKE) uninstall
7472 install:: $ac_dir/install
7473 __uninstall__: $ac_dir/uninstall"
7475 if wine_fn_has_flag install-lib
7476 then
7477 wine_fn_append_rule \
7478 ".PHONY: $ac_dir/install-lib
7479 $ac_dir/install-lib:: $ac_dir
7480 @cd $ac_dir && \$(MAKE) install-lib
7481 install-lib:: $ac_dir/install-lib"
7484 if wine_fn_has_flag install-dev
7485 then
7486 wine_fn_append_rule \
7487 ".PHONY: $ac_dir/install-dev
7488 $ac_dir/install-dev:: $ac_dir
7489 @cd $ac_dir && \$(MAKE) install-dev
7490 install-dev:: $ac_dir/install-dev"
7494 wine_fn_clean_rules ()
7496 ac_clean=$@
7497 ac_extraclean="$ac_dir/Makefile"
7498 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7499 case $ac_dir in
7500 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7501 esac
7503 if wine_fn_has_flag clean
7504 then
7505 wine_fn_append_rule \
7506 "__clean__: $ac_dir/clean
7507 .PHONY: $ac_dir/clean
7508 $ac_dir/clean: $ac_dir/Makefile
7509 @cd $ac_dir && \$(MAKE) clean
7510 \$(RM) $ac_extraclean"
7511 else
7512 wine_fn_append_rule \
7513 "__clean__: $ac_dir/clean
7514 .PHONY: $ac_dir/clean
7515 $ac_dir/clean: dummy
7516 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7520 wine_fn_disabled_rules ()
7522 ac_clean=$@
7523 ac_extraclean="$ac_dir/Makefile"
7524 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7526 wine_fn_append_rule \
7527 "__clean__: $ac_dir/clean
7528 .PHONY: $ac_dir/clean
7529 $ac_dir/clean: dummy
7530 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7533 wine_fn_config_makefile ()
7535 ac_dir=$1
7536 ac_enable=$2
7537 ac_flags=$3
7539 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7540 wine_fn_disabled_rules; return
7542 wine_fn_all_rules
7543 wine_fn_install_rules
7544 wine_fn_clean_rules
7547 wine_fn_config_lib ()
7549 ac_name=$1
7550 ac_flags=$2
7551 ac_dir=dlls/$ac_name
7552 ac_deps="include"
7554 if test "x$enable_tools" = xno; then :
7556 else
7557 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7559 wine_fn_all_rules
7560 wine_fn_clean_rules
7562 wine_fn_append_rule \
7563 ".PHONY: $ac_dir/install $ac_dir/uninstall
7564 $ac_dir/install:: $ac_dir
7565 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7566 $ac_dir/uninstall::
7567 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7568 install install-dev:: $ac_dir/install
7569 __uninstall__: $ac_dir/uninstall
7570 __builddeps__: $ac_dir
7571 $ac_dir: $ac_deps"
7574 wine_fn_config_dll ()
7576 ac_name=$1
7577 ac_dir=dlls/$ac_name
7578 ac_enable=$2
7579 ac_flags=$3
7580 ac_implib=${4:-$ac_name}
7581 ac_file=$ac_dir/lib$ac_implib
7582 ac_dll=$ac_name
7583 ac_deps="include"
7584 ac_implibflags=""
7586 if test "x$enable_tools" = xno; then :
7588 else
7589 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7591 case $ac_name in
7592 *16) ac_implibflags=" -m16" ;;
7593 *.*) ;;
7594 *) ac_dll=$ac_dll.dll ;;
7595 esac
7597 ac_clean=
7598 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7599 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7600 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7601 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7603 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7604 if test "$ac_enable" != enable_win16
7605 then
7606 wine_fn_depend_rules
7607 wine_fn_clean_rules $ac_clean
7608 wine_fn_pot_rules
7609 else
7610 wine_fn_disabled_rules $ac_clean
7611 return
7613 else
7614 wine_fn_all_rules
7615 wine_fn_clean_rules $ac_clean
7616 wine_fn_append_rule \
7617 "$ac_dir: __builddeps__
7618 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7619 @cd $ac_dir && \$(MAKE) \$@
7620 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7621 install install-lib:: $ac_dir/install-lib
7622 __uninstall__: $ac_dir/uninstall"
7623 if test -n "$DLLEXT"
7624 then
7625 wine_fn_append_rule \
7626 "$ac_dir/install-lib:: $ac_dir
7627 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7628 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7629 $ac_dir/uninstall::
7630 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7631 else
7632 wine_fn_append_rule \
7633 "$ac_dir/install-lib:: $ac_dir
7634 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7635 $ac_dir/uninstall::
7636 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7639 wine_fn_pot_rules
7642 if wine_fn_has_flag staticimplib
7643 then
7644 wine_fn_append_rule \
7645 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7646 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7647 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7648 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7649 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7650 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7651 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7652 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7653 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7654 $ac_dir/uninstall::
7655 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7656 install install-dev:: $ac_dir/install-dev
7657 __uninstall__: $ac_dir/uninstall"
7659 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7660 then
7661 wine_fn_append_rule \
7662 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7663 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7664 $ac_dir/uninstall::
7665 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7668 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7669 then
7670 wine_fn_append_rule \
7671 "__builddeps__: $ac_file.cross.a
7672 $ac_file.cross.a: $ac_dir/Makefile dummy
7673 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7676 elif wine_fn_has_flag implib
7677 then
7678 wine_fn_append_rule \
7679 "__builddeps__: $ac_file.$IMPLIBEXT
7680 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7681 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7682 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7683 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7684 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7685 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7686 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7687 $ac_dir/uninstall::
7688 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7689 install install-dev:: $ac_dir/install-dev
7690 __uninstall__: $ac_dir/uninstall"
7691 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7692 then
7693 wine_fn_append_rule \
7694 "__builddeps__: $ac_file.cross.a
7695 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7696 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7699 if test "$ac_name" != "$ac_implib"
7700 then
7701 wine_fn_append_rule \
7702 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7703 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7704 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7705 clean::
7706 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7707 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7708 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7709 then
7710 wine_fn_append_rule \
7711 "__builddeps__: dlls/lib$ac_implib.cross.a
7712 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7713 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7714 clean::
7715 \$(RM) dlls/lib$ac_implib.cross.a"
7716 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7722 wine_fn_config_program ()
7724 ac_name=$1
7725 ac_dir=programs/$ac_name
7726 ac_enable=$2
7727 ac_flags=$3
7728 ac_program=$ac_name
7730 case $ac_name in
7731 *.*) ;;
7732 *) ac_program=$ac_program.exe ;;
7733 esac
7735 ac_clean=
7736 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7737 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7738 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7739 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7741 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7742 wine_fn_disabled_rules $ac_clean; return
7745 wine_fn_all_rules
7746 wine_fn_clean_rules $ac_clean
7747 wine_fn_append_rule "$ac_dir: __builddeps__"
7748 wine_fn_pot_rules
7750 wine_fn_has_flag install || return
7751 wine_fn_append_rule \
7752 ".PHONY: $ac_dir/install $ac_dir/uninstall
7753 install install-lib:: $ac_dir/install
7754 __uninstall__: $ac_dir/uninstall"
7756 if test -n "$DLLEXT"
7757 then
7758 wine_fn_append_rule \
7759 "$ac_dir/install:: $ac_dir
7760 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7761 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7762 $ac_dir/uninstall::
7763 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7765 if test -z "$with_wine64" && wine_fn_has_flag installbin
7766 then
7767 wine_fn_append_rule \
7768 "$ac_dir/install:: __tooldeps__
7769 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7770 $ac_dir/uninstall::
7771 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7773 else
7774 wine_fn_append_rule \
7775 "$ac_dir/install:: $ac_dir
7776 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7777 $ac_dir/uninstall::
7778 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7781 if test -z "$with_wine64" && wine_fn_has_flag manpage
7782 then
7783 wine_fn_append_rule \
7784 "$ac_dir/install:: $ac_dir
7785 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7786 $ac_dir/uninstall::
7787 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7791 wine_fn_config_test ()
7793 ac_dir=$1
7794 ac_name=$2
7795 ac_flags=$3
7797 ac_clean=
7798 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7799 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7801 if test "x$enable_tests" = xno; then :
7802 wine_fn_disabled_rules $ac_clean; return
7805 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7806 wine_fn_all_rules
7807 wine_fn_clean_rules $ac_clean
7809 wine_fn_append_rule \
7810 "$ac_dir: programs/winetest/Makefile __builddeps__
7811 programs/winetest: $ac_dir
7812 check test: $ac_dir/test
7813 .PHONY: $ac_dir/test
7814 $ac_dir/test: dummy
7815 @cd $ac_dir && \$(MAKE) test
7816 testclean::
7817 \$(RM) $ac_dir/*.ok"
7819 if test -n "$CROSSTARGET"
7820 then
7821 wine_fn_append_rule \
7822 "crosstest: $ac_dir/crosstest
7823 .PHONY: $ac_dir/crosstest
7824 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7825 @cd $ac_dir && \$(MAKE) crosstest"
7829 wine_fn_config_tool ()
7831 ac_dir=$1
7832 ac_flags=$2
7833 if test "x$enable_tools" = xno; then :
7834 return
7837 wine_fn_all_rules
7838 wine_fn_install_rules
7839 wine_fn_clean_rules
7841 wine_fn_append_rule "__tooldeps__: $ac_dir"
7842 wine_fn_append_rule "$ac_dir: libs/port"
7843 case $ac_dir in
7844 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7845 esac
7848 wine_fn_config_symlink ()
7850 ac_linkdir=
7851 if test "x$1" = "x-d"
7852 then
7853 ac_linkdir=$2
7854 shift; shift
7856 ac_links=$@
7857 wine_fn_append_rule \
7858 "$ac_links:
7859 @./config.status \$@
7860 distclean::
7861 \$(RM) $ac_links"
7862 for f in $ac_links; do wine_fn_ignore_file $f; done
7863 test -n "$ac_linkdir" || return
7864 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7867 wine_binary="wine"
7868 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7869 WINELOADER_PROGRAMS="$wine_binary"
7871 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7873 case $host_os in
7874 cygwin*|mingw32*)
7875 if test -n "$ac_tool_prefix"; then
7876 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7877 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7879 $as_echo_n "checking for $ac_word... " >&6; }
7880 if ${ac_cv_prog_DLLTOOL+:} false; then :
7881 $as_echo_n "(cached) " >&6
7882 else
7883 if test -n "$DLLTOOL"; then
7884 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7885 else
7886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7887 for as_dir in $PATH
7889 IFS=$as_save_IFS
7890 test -z "$as_dir" && as_dir=.
7891 for ac_exec_ext in '' $ac_executable_extensions; do
7892 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7893 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7895 break 2
7897 done
7898 done
7899 IFS=$as_save_IFS
7903 DLLTOOL=$ac_cv_prog_DLLTOOL
7904 if test -n "$DLLTOOL"; then
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7906 $as_echo "$DLLTOOL" >&6; }
7907 else
7908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7909 $as_echo "no" >&6; }
7914 if test -z "$ac_cv_prog_DLLTOOL"; then
7915 ac_ct_DLLTOOL=$DLLTOOL
7916 # Extract the first word of "dlltool", so it can be a program name with args.
7917 set dummy dlltool; ac_word=$2
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7919 $as_echo_n "checking for $ac_word... " >&6; }
7920 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7921 $as_echo_n "(cached) " >&6
7922 else
7923 if test -n "$ac_ct_DLLTOOL"; then
7924 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7925 else
7926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7927 for as_dir in $PATH
7929 IFS=$as_save_IFS
7930 test -z "$as_dir" && as_dir=.
7931 for ac_exec_ext in '' $ac_executable_extensions; do
7932 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7933 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7935 break 2
7937 done
7938 done
7939 IFS=$as_save_IFS
7943 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7944 if test -n "$ac_ct_DLLTOOL"; then
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7946 $as_echo "$ac_ct_DLLTOOL" >&6; }
7947 else
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7949 $as_echo "no" >&6; }
7952 if test "x$ac_ct_DLLTOOL" = x; then
7953 DLLTOOL="false"
7954 else
7955 case $cross_compiling:$ac_tool_warned in
7956 yes:)
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7958 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7959 ac_tool_warned=yes ;;
7960 esac
7961 DLLTOOL=$ac_ct_DLLTOOL
7963 else
7964 DLLTOOL="$ac_cv_prog_DLLTOOL"
7967 LIBEXT="dll"
7968 DLLEXT=""
7969 IMPLIBEXT="a"
7970 STATIC_IMPLIBEXT="a"
7971 enable_iphlpapi=${enable_iphlpapi:-no}
7972 enable_kernel32=${enable_kernel32:-no}
7973 enable_msvcrt=${enable_msvcrt:-no}
7974 enable_ntdll=${enable_ntdll:-no}
7975 enable_ws2_32=${enable_ws2_32:-no}
7976 enable_loader=${enable_loader:-no}
7977 enable_server=${enable_server:-no}
7978 with_x=${with_x:-no}
7979 with_pthread=${with_pthread:-no}
7981 crtlibs=""
7982 case $host_os in
7983 mingw32*)
7984 crtlibs="-lmsvcrt"
7985 SOCKET_LIBS="-lws2_32"
7987 esac
7989 LIBWINE_SHAREDLIB="libwine.dll"
7991 LIBWINE_IMPORTLIB="libwine.a"
7993 LIBWINE_INSTALL_LIB="libwine.dll"
7995 LIBWINE_INSTALL_DEV="libwine.a"
7997 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
7999 LIBWINE_DEPENDS="wine.def"
8003 darwin*|macosx*)
8004 for ac_header in libunwind.h
8005 do :
8006 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8007 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8008 cat >>confdefs.h <<_ACEOF
8009 #define HAVE_LIBUNWIND_H 1
8010 _ACEOF
8014 done
8016 LIBEXT="dylib"
8017 DLLFLAGS="$DLLFLAGS -fPIC"
8018 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8019 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8020 COREFOUNDATION_LIBS="-framework CoreFoundation"
8022 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8024 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8026 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8028 CORESERVICES_LIBS="-framework CoreServices"
8030 APPKIT_LIBS="-framework AppKit"
8032 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8034 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8035 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8036 $as_echo_n "(cached) " >&6
8037 else
8038 ac_wine_try_cflags_saved=$CFLAGS
8039 CFLAGS="$CFLAGS -Wl,-no_pie"
8040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8041 /* end confdefs.h. */
8042 int main(int argc, char **argv) { return 0; }
8043 _ACEOF
8044 if ac_fn_c_try_link "$LINENO"; then :
8045 ac_cv_cflags__Wl__no_pie=yes
8046 else
8047 ac_cv_cflags__Wl__no_pie=no
8049 rm -f core conftest.err conftest.$ac_objext \
8050 conftest$ac_exeext conftest.$ac_ext
8051 CFLAGS=$ac_wine_try_cflags_saved
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8054 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8055 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8056 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8058 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8059 then
8060 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8063 if test "$ac_cv_header_Security_Security_h" = "yes"
8064 then
8065 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8067 ac_save_LIBS="$LIBS"
8068 LIBS="$LIBS $SECURITY_LIBS"
8069 for ac_func in SSLCopyPeerCertificates
8070 do :
8071 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8072 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8073 cat >>confdefs.h <<_ACEOF
8074 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8075 _ACEOF
8078 done
8080 LIBS="$ac_save_LIBS"
8081 with_gnutls=${with_gnutls:-no}
8083 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8084 then
8085 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8086 then
8087 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8089 else
8090 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8093 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8094 ac_save_LIBS="$LIBS"
8095 LIBS="$LIBS $COREAUDIO_LIBS"
8096 for ac_func in AUGraphAddNode
8097 do :
8098 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8099 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8100 cat >>confdefs.h <<_ACEOF
8101 #define HAVE_AUGRAPHADDNODE 1
8102 _ACEOF
8105 done
8107 LIBS="$ac_save_LIBS"
8109 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8110 then
8111 OPENAL_LIBS="-framework OpenAL"
8114 cat >>confdefs.h <<_ACEOF
8115 #define HAVE_OPENAL 1
8116 _ACEOF
8118 ac_cv_lib_openal=yes
8120 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8121 then
8122 OPENCL_LIBS="-framework OpenCL"
8124 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8126 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8127 then
8128 ac_save_LIBS="$LIBS"
8129 LIBS="$LIBS $IOKIT_LIBS"
8130 for ac_func in IOHIDManagerCreate
8131 do :
8132 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8133 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8134 cat >>confdefs.h <<_ACEOF
8135 #define HAVE_IOHIDMANAGERCREATE 1
8136 _ACEOF
8139 done
8141 LIBS="$ac_save_LIBS"
8143 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8144 then
8145 ac_save_LIBS="$LIBS"
8146 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8148 $as_echo_n "checking for the QuickTime framework... " >&6; }
8149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8150 /* end confdefs.h. */
8151 #include <QuickTime/ImageCompression.h>
8153 main ()
8155 CodecManagerVersion(NULL);
8157 return 0;
8159 _ACEOF
8160 if ac_fn_c_try_link "$LINENO"; then :
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8162 $as_echo "yes" >&6; }
8163 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8165 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8166 else
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8168 $as_echo "no" >&6; }
8169 ac_cv_header_QuickTime_ImageCompression_h=no
8171 rm -f core conftest.err conftest.$ac_objext \
8172 conftest$ac_exeext conftest.$ac_ext
8173 LIBS="$ac_save_LIBS"
8175 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8176 then
8177 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8179 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8180 then
8181 CARBON_LIBS="-framework Carbon"
8185 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8186 then
8187 ac_save_LIBS="$LIBS"
8188 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8189 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8190 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8191 enable_winemac_drv=${enable_winemac_drv:-yes}
8194 LIBS="$ac_save_LIBS"
8197 if test "x$enable_win16" = "xyes"
8198 then
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8200 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8201 if test "$cross_compiling" = yes; then :
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8203 $as_echo "cross-compiling, assuming yes" >&6; }
8204 else
8205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8206 /* end confdefs.h. */
8207 asm(".text\n"
8208 "bad:\tnop;nop\n"
8209 "good:\tnop;nop\n\t"
8210 ".globl _testfunc\n"
8211 "_testfunc:\tcallw good");
8212 extern void testfunc();
8214 main ()
8216 unsigned short *p = (unsigned short *)testfunc;
8217 return p[0] != 0xe866 || p[1] != 0xfffa
8219 return 0;
8221 _ACEOF
8222 if ac_fn_c_try_run "$LINENO"; then :
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8224 $as_echo "yes" >&6; }
8225 else
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8227 $as_echo "no" >&6; }
8228 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
8230 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8231 conftest.$ac_objext conftest.beam conftest.$ac_ext
8236 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8238 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8240 LIBWINE_INSTALL_DEV="libwine.dylib"
8242 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8244 WINELOADER_DEPENDS="wine_info.plist"
8248 linux-android*)
8249 DLLFLAGS="$DLLFLAGS -fPIC"
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8251 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8252 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8253 $as_echo_n "(cached) " >&6
8254 else
8255 ac_wine_try_cflags_saved=$CFLAGS
8256 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8258 /* end confdefs.h. */
8259 int main(int argc, char **argv) { return 0; }
8260 _ACEOF
8261 if ac_fn_c_try_link "$LINENO"; then :
8262 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8263 else
8264 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8266 rm -f core conftest.err conftest.$ac_objext \
8267 conftest$ac_exeext conftest.$ac_ext
8268 CFLAGS=$ac_wine_try_cflags_saved
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8271 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8272 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8273 LDEXECFLAGS="-Wl,--export-dynamic"
8275 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8277 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8278 if eval \${$as_ac_var+:} false; then :
8279 $as_echo_n "(cached) " >&6
8280 else
8281 ac_wine_try_cflags_saved=$CFLAGS
8282 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8284 /* end confdefs.h. */
8285 int main(int argc, char **argv) { return 0; }
8286 _ACEOF
8287 if ac_fn_c_try_link "$LINENO"; then :
8288 eval "$as_ac_var=yes"
8289 else
8290 eval "$as_ac_var=no"
8292 rm -f core conftest.err conftest.$ac_objext \
8293 conftest$ac_exeext conftest.$ac_ext
8294 CFLAGS=$ac_wine_try_cflags_saved
8296 eval ac_res=\$$as_ac_var
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8298 $as_echo "$ac_res" >&6; }
8299 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8300 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8301 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8302 else
8303 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8305 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8306 if eval \${$as_ac_var+:} false; then :
8307 $as_echo_n "(cached) " >&6
8308 else
8309 ac_wine_try_cflags_saved=$CFLAGS
8310 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8312 /* end confdefs.h. */
8313 int main(int argc, char **argv) { return 0; }
8314 _ACEOF
8315 if ac_fn_c_try_link "$LINENO"; then :
8316 eval "$as_ac_var=yes"
8317 else
8318 eval "$as_ac_var=no"
8320 rm -f core conftest.err conftest.$ac_objext \
8321 conftest$ac_exeext conftest.$ac_ext
8322 CFLAGS=$ac_wine_try_cflags_saved
8324 eval ac_res=\$$as_ac_var
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8326 $as_echo "$ac_res" >&6; }
8327 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8328 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8329 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8334 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8335 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8336 $as_echo_n "(cached) " >&6
8337 else
8338 ac_wine_try_cflags_saved=$CFLAGS
8339 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8341 /* end confdefs.h. */
8342 int main(int argc, char **argv) { return 0; }
8343 _ACEOF
8344 if ac_fn_c_try_link "$LINENO"; then :
8345 ac_cv_cflags__Wl___enable_new_dtags=yes
8346 else
8347 ac_cv_cflags__Wl___enable_new_dtags=no
8349 rm -f core conftest.err conftest.$ac_objext \
8350 conftest$ac_exeext conftest.$ac_ext
8351 CFLAGS=$ac_wine_try_cflags_saved
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8354 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8355 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8356 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8359 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8360 if ${ac_cv_cflags__Wl__pie+:} false; then :
8361 $as_echo_n "(cached) " >&6
8362 else
8363 ac_wine_try_cflags_saved=$CFLAGS
8364 CFLAGS="$CFLAGS -Wl,-pie"
8365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8366 /* end confdefs.h. */
8367 int main(int argc, char **argv) { return 0; }
8368 _ACEOF
8369 if ac_fn_c_try_link "$LINENO"; then :
8370 ac_cv_cflags__Wl__pie=yes
8371 else
8372 ac_cv_cflags__Wl__pie=no
8374 rm -f core conftest.err conftest.$ac_objext \
8375 conftest$ac_exeext conftest.$ac_ext
8376 CFLAGS=$ac_wine_try_cflags_saved
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8379 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8380 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8381 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8384 LIBWINE_SHAREDLIB="libwine.so"
8386 LIBWINE_INSTALL_LIB="libwine.so"
8388 LIBWINE_LDFLAGS="-shared"
8393 DLLFLAGS="$DLLFLAGS -fPIC"
8394 LDEXECFLAGS=""
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8396 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8397 if ${ac_cv_c_dll_gnuelf+:} false; then :
8398 $as_echo_n "(cached) " >&6
8399 else
8400 ac_wine_try_cflags_saved=$CFLAGS
8401 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8403 /* end confdefs.h. */
8404 void myfunc() {}
8405 _ACEOF
8406 if ac_fn_c_try_link "$LINENO"; then :
8407 ac_cv_c_dll_gnuelf="yes"
8408 else
8409 ac_cv_c_dll_gnuelf="no"
8411 rm -f core conftest.err conftest.$ac_objext \
8412 conftest$ac_exeext conftest.$ac_ext
8413 CFLAGS=$ac_wine_try_cflags_saved
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8416 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8417 if test "$ac_cv_c_dll_gnuelf" = "yes"
8418 then
8419 LIBWINE_LDFLAGS="-shared"
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8421 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8422 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8423 $as_echo_n "(cached) " >&6
8424 else
8425 ac_wine_try_cflags_saved=$CFLAGS
8426 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8428 /* end confdefs.h. */
8429 int main(int argc, char **argv) { return 0; }
8430 _ACEOF
8431 if ac_fn_c_try_link "$LINENO"; then :
8432 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8433 else
8434 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8436 rm -f core conftest.err conftest.$ac_objext \
8437 conftest$ac_exeext conftest.$ac_ext
8438 CFLAGS=$ac_wine_try_cflags_saved
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8441 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8442 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8443 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8444 else
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8446 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8447 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8448 $as_echo_n "(cached) " >&6
8449 else
8450 ac_wine_try_cflags_saved=$CFLAGS
8451 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8453 /* end confdefs.h. */
8454 int main(int argc, char **argv) { return 0; }
8455 _ACEOF
8456 if ac_fn_c_try_link "$LINENO"; then :
8457 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8458 else
8459 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8461 rm -f core conftest.err conftest.$ac_objext \
8462 conftest$ac_exeext conftest.$ac_ext
8463 CFLAGS=$ac_wine_try_cflags_saved
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8466 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8467 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8468 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8472 echo '{ global: *; };' >conftest.map
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8474 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8475 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8476 $as_echo_n "(cached) " >&6
8477 else
8478 ac_wine_try_cflags_saved=$CFLAGS
8479 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8481 /* end confdefs.h. */
8482 int main(int argc, char **argv) { return 0; }
8483 _ACEOF
8484 if ac_fn_c_try_link "$LINENO"; then :
8485 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8486 else
8487 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8489 rm -f core conftest.err conftest.$ac_objext \
8490 conftest$ac_exeext conftest.$ac_ext
8491 CFLAGS=$ac_wine_try_cflags_saved
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8494 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8495 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8496 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8498 rm -f conftest.map
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8501 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8502 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8503 $as_echo_n "(cached) " >&6
8504 else
8505 ac_wine_try_cflags_saved=$CFLAGS
8506 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8508 /* end confdefs.h. */
8509 int main(int argc, char **argv) { return 0; }
8510 _ACEOF
8511 if ac_fn_c_try_link "$LINENO"; then :
8512 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8513 else
8514 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8516 rm -f core conftest.err conftest.$ac_objext \
8517 conftest$ac_exeext conftest.$ac_ext
8518 CFLAGS=$ac_wine_try_cflags_saved
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8521 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8522 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8523 LDEXECFLAGS="-Wl,--export-dynamic"
8526 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8528 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8529 if eval \${$as_ac_var+:} false; then :
8530 $as_echo_n "(cached) " >&6
8531 else
8532 ac_wine_try_cflags_saved=$CFLAGS
8533 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8535 /* end confdefs.h. */
8536 int main(int argc, char **argv) { return 0; }
8537 _ACEOF
8538 if ac_fn_c_try_link "$LINENO"; then :
8539 eval "$as_ac_var=yes"
8540 else
8541 eval "$as_ac_var=no"
8543 rm -f core conftest.err conftest.$ac_objext \
8544 conftest$ac_exeext conftest.$ac_ext
8545 CFLAGS=$ac_wine_try_cflags_saved
8547 eval ac_res=\$$as_ac_var
8548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8549 $as_echo "$ac_res" >&6; }
8550 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8551 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8552 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8553 else
8554 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8556 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8557 if eval \${$as_ac_var+:} false; then :
8558 $as_echo_n "(cached) " >&6
8559 else
8560 ac_wine_try_cflags_saved=$CFLAGS
8561 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8563 /* end confdefs.h. */
8564 int main(int argc, char **argv) { return 0; }
8565 _ACEOF
8566 if ac_fn_c_try_link "$LINENO"; then :
8567 eval "$as_ac_var=yes"
8568 else
8569 eval "$as_ac_var=no"
8571 rm -f core conftest.err conftest.$ac_objext \
8572 conftest$ac_exeext conftest.$ac_ext
8573 CFLAGS=$ac_wine_try_cflags_saved
8575 eval ac_res=\$$as_ac_var
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8577 $as_echo "$ac_res" >&6; }
8578 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8579 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8580 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8585 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8586 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8587 $as_echo_n "(cached) " >&6
8588 else
8589 ac_wine_try_cflags_saved=$CFLAGS
8590 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8592 /* end confdefs.h. */
8593 int main(int argc, char **argv) { return 0; }
8594 _ACEOF
8595 if ac_fn_c_try_link "$LINENO"; then :
8596 ac_cv_cflags__Wl___enable_new_dtags=yes
8597 else
8598 ac_cv_cflags__Wl___enable_new_dtags=no
8600 rm -f core conftest.err conftest.$ac_objext \
8601 conftest$ac_exeext conftest.$ac_ext
8602 CFLAGS=$ac_wine_try_cflags_saved
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8605 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8606 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8607 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8610 case $host_cpu in
8611 *i[3456789]86* | x86_64)
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8613 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8614 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8615 $as_echo_n "(cached) " >&6
8616 else
8617 ac_wine_try_cflags_saved=$CFLAGS
8618 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8620 /* end confdefs.h. */
8621 int main(int argc, char **argv) { return 0; }
8622 _ACEOF
8623 if ac_fn_c_try_link "$LINENO"; then :
8624 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8625 else
8626 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8628 rm -f core conftest.err conftest.$ac_objext \
8629 conftest$ac_exeext conftest.$ac_ext
8630 CFLAGS=$ac_wine_try_cflags_saved
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8633 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8634 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8635 case $host_os in
8636 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8637 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8638 esac
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8642 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8643 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8644 $as_echo_n "(cached) " >&6
8645 else
8646 ac_wine_try_cflags_saved=$CFLAGS
8647 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8649 /* end confdefs.h. */
8650 int main(int argc, char **argv) { return 0; }
8651 _ACEOF
8652 if ac_fn_c_try_link "$LINENO"; then :
8653 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8654 else
8655 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8657 rm -f core conftest.err conftest.$ac_objext \
8658 conftest$ac_exeext conftest.$ac_ext
8659 CFLAGS=$ac_wine_try_cflags_saved
8661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8662 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8663 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8665 else
8666 # Extract the first word of "prelink", so it can be a program name with args.
8667 set dummy prelink; ac_word=$2
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8669 $as_echo_n "checking for $ac_word... " >&6; }
8670 if ${ac_cv_path_PRELINK+:} false; then :
8671 $as_echo_n "(cached) " >&6
8672 else
8673 case $PRELINK in
8674 [\\/]* | ?:[\\/]*)
8675 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8679 for as_dir in /sbin /usr/sbin $PATH
8681 IFS=$as_save_IFS
8682 test -z "$as_dir" && as_dir=.
8683 for ac_exec_ext in '' $ac_executable_extensions; do
8684 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8685 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8687 break 2
8689 done
8690 done
8691 IFS=$as_save_IFS
8693 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8695 esac
8697 PRELINK=$ac_cv_path_PRELINK
8698 if test -n "$PRELINK"; then
8699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8700 $as_echo "$PRELINK" >&6; }
8701 else
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8703 $as_echo "no" >&6; }
8707 if test "x$PRELINK" = xfalse
8708 then
8709 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8713 esac
8715 else
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8717 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8718 if ${ac_cv_c_dll_unixware+:} false; then :
8719 $as_echo_n "(cached) " >&6
8720 else
8721 ac_wine_try_cflags_saved=$CFLAGS
8722 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8724 /* end confdefs.h. */
8725 void myfunc() {}
8726 _ACEOF
8727 if ac_fn_c_try_link "$LINENO"; then :
8728 ac_cv_c_dll_unixware="yes"
8729 else
8730 ac_cv_c_dll_unixware="no"
8732 rm -f core conftest.err conftest.$ac_objext \
8733 conftest$ac_exeext conftest.$ac_ext
8734 CFLAGS=$ac_wine_try_cflags_saved
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8737 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8738 if test "$ac_cv_c_dll_unixware" = "yes"
8739 then
8740 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8743 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8745 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8747 LIBWINE_INSTALL_DEV="libwine.so"
8749 LIBWINE_DEPENDS="wine.map"
8752 esac
8754 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8755 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8756 enable_winemac_drv=${enable_winemac_drv:-no}
8757 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8759 CROSSTARGET=""
8761 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8762 then
8763 case "$host_cpu" in
8764 i[3456789]86*)
8765 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
8766 mingw32-gcc" ;;
8767 x86_64)
8768 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 " ;;
8770 ac_prefix_list="" ;;
8771 esac
8772 for ac_prog in $ac_prefix_list
8774 # Extract the first word of "$ac_prog", so it can be a program name with args.
8775 set dummy $ac_prog; ac_word=$2
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8777 $as_echo_n "checking for $ac_word... " >&6; }
8778 if ${ac_cv_prog_CROSSCC+:} false; then :
8779 $as_echo_n "(cached) " >&6
8780 else
8781 if test -n "$CROSSCC"; then
8782 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8783 else
8784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8785 for as_dir in $PATH
8787 IFS=$as_save_IFS
8788 test -z "$as_dir" && as_dir=.
8789 for ac_exec_ext in '' $ac_executable_extensions; do
8790 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8791 ac_cv_prog_CROSSCC="$ac_prog"
8792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8793 break 2
8795 done
8796 done
8797 IFS=$as_save_IFS
8801 CROSSCC=$ac_cv_prog_CROSSCC
8802 if test -n "$CROSSCC"; then
8803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8804 $as_echo "$CROSSCC" >&6; }
8805 else
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8807 $as_echo "no" >&6; }
8811 test -n "$CROSSCC" && break
8812 done
8813 test -n "$CROSSCC" || CROSSCC="false"
8815 if test "$CROSSCC" != "false"
8816 then
8817 ac_save_CC="$CC"
8818 CC="$CROSSCC"
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8820 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8822 /* end confdefs.h. */
8825 main ()
8829 return 0;
8831 _ACEOF
8832 if ac_fn_c_try_compile "$LINENO"; then :
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8834 $as_echo "yes" >&6; }
8835 set x $CROSSCC
8836 shift
8837 while test $# -ge 1
8839 case "$1" in
8840 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8841 esac
8842 shift
8843 done
8844 else
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8846 $as_echo "no" >&6; }
8848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8849 CC="$ac_save_CC"
8854 if test "$ac_cv_header_pthread_h" = "yes"
8855 then
8856 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8857 if test "x$ac_cv_func_pthread_create" = xyes; then :
8859 else
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8861 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8862 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8863 $as_echo_n "(cached) " >&6
8864 else
8865 ac_check_lib_save_LIBS=$LIBS
8866 LIBS="-lpthread $LIBS"
8867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8868 /* end confdefs.h. */
8870 /* Override any GCC internal prototype to avoid an error.
8871 Use char because int might match the return type of a GCC
8872 builtin and then its argument prototype would still apply. */
8873 #ifdef __cplusplus
8874 extern "C"
8875 #endif
8876 char pthread_create ();
8878 main ()
8880 return pthread_create ();
8882 return 0;
8884 _ACEOF
8885 if ac_fn_c_try_link "$LINENO"; then :
8886 ac_cv_lib_pthread_pthread_create=yes
8887 else
8888 ac_cv_lib_pthread_pthread_create=no
8890 rm -f core conftest.err conftest.$ac_objext \
8891 conftest$ac_exeext conftest.$ac_ext
8892 LIBS=$ac_check_lib_save_LIBS
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8895 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8896 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8897 PTHREAD_LIBS="-lpthread"
8904 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8905 case "x$with_pthread" in
8906 xno) ;;
8907 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8908 Wine cannot support threads without libpthread.
8909 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8910 esac
8914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8915 $as_echo_n "checking for X... " >&6; }
8918 # Check whether --with-x was given.
8919 if test "${with_x+set}" = set; then :
8920 withval=$with_x;
8923 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8924 if test "x$with_x" = xno; then
8925 # The user explicitly disabled X.
8926 have_x=disabled
8927 else
8928 case $x_includes,$x_libraries in #(
8929 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8930 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8931 $as_echo_n "(cached) " >&6
8932 else
8933 # One or both of the vars are not set, and there is no cached value.
8934 ac_x_includes=no ac_x_libraries=no
8935 rm -f -r conftest.dir
8936 if mkdir conftest.dir; then
8937 cd conftest.dir
8938 cat >Imakefile <<'_ACEOF'
8939 incroot:
8940 @echo incroot='${INCROOT}'
8941 usrlibdir:
8942 @echo usrlibdir='${USRLIBDIR}'
8943 libdir:
8944 @echo libdir='${LIBDIR}'
8945 _ACEOF
8946 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8947 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8948 for ac_var in incroot usrlibdir libdir; do
8949 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8950 done
8951 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8952 for ac_extension in a so sl dylib la dll; do
8953 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8954 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8955 ac_im_usrlibdir=$ac_im_libdir; break
8957 done
8958 # Screen out bogus values from the imake configuration. They are
8959 # bogus both because they are the default anyway, and because
8960 # using them would break gcc on systems where it needs fixed includes.
8961 case $ac_im_incroot in
8962 /usr/include) ac_x_includes= ;;
8963 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8964 esac
8965 case $ac_im_usrlibdir in
8966 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8967 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8968 esac
8970 cd ..
8971 rm -f -r conftest.dir
8974 # Standard set of common directories for X headers.
8975 # Check X11 before X11Rn because it is often a symlink to the current release.
8976 ac_x_header_dirs='
8977 /usr/X11/include
8978 /usr/X11R7/include
8979 /usr/X11R6/include
8980 /usr/X11R5/include
8981 /usr/X11R4/include
8983 /usr/include/X11
8984 /usr/include/X11R7
8985 /usr/include/X11R6
8986 /usr/include/X11R5
8987 /usr/include/X11R4
8989 /usr/local/X11/include
8990 /usr/local/X11R7/include
8991 /usr/local/X11R6/include
8992 /usr/local/X11R5/include
8993 /usr/local/X11R4/include
8995 /usr/local/include/X11
8996 /usr/local/include/X11R7
8997 /usr/local/include/X11R6
8998 /usr/local/include/X11R5
8999 /usr/local/include/X11R4
9001 /usr/X386/include
9002 /usr/x386/include
9003 /usr/XFree86/include/X11
9005 /usr/include
9006 /usr/local/include
9007 /usr/unsupported/include
9008 /usr/athena/include
9009 /usr/local/x11r5/include
9010 /usr/lpp/Xamples/include
9012 /usr/openwin/include
9013 /usr/openwin/share/include'
9015 if test "$ac_x_includes" = no; then
9016 # Guess where to find include files, by looking for Xlib.h.
9017 # First, try using that file with no special directory specified.
9018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9019 /* end confdefs.h. */
9020 #include <X11/Xlib.h>
9021 _ACEOF
9022 if ac_fn_c_try_cpp "$LINENO"; then :
9023 # We can compile using X headers with no special include directory.
9024 ac_x_includes=
9025 else
9026 for ac_dir in $ac_x_header_dirs; do
9027 if test -r "$ac_dir/X11/Xlib.h"; then
9028 ac_x_includes=$ac_dir
9029 break
9031 done
9033 rm -f conftest.err conftest.i conftest.$ac_ext
9034 fi # $ac_x_includes = no
9036 if test "$ac_x_libraries" = no; then
9037 # Check for the libraries.
9038 # See if we find them without any special options.
9039 # Don't add to $LIBS permanently.
9040 ac_save_LIBS=$LIBS
9041 LIBS="-lX11 $LIBS"
9042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9043 /* end confdefs.h. */
9044 #include <X11/Xlib.h>
9046 main ()
9048 XrmInitialize ()
9050 return 0;
9052 _ACEOF
9053 if ac_fn_c_try_link "$LINENO"; then :
9054 LIBS=$ac_save_LIBS
9055 # We can link X programs with no special library path.
9056 ac_x_libraries=
9057 else
9058 LIBS=$ac_save_LIBS
9059 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9061 # Don't even attempt the hair of trying to link an X program!
9062 for ac_extension in a so sl dylib la dll; do
9063 if test -r "$ac_dir/libX11.$ac_extension"; then
9064 ac_x_libraries=$ac_dir
9065 break 2
9067 done
9068 done
9070 rm -f core conftest.err conftest.$ac_objext \
9071 conftest$ac_exeext conftest.$ac_ext
9072 fi # $ac_x_libraries = no
9074 case $ac_x_includes,$ac_x_libraries in #(
9075 no,* | *,no | *\'*)
9076 # Didn't find X, or a directory has "'" in its name.
9077 ac_cv_have_x="have_x=no";; #(
9079 # Record where we found X for the cache.
9080 ac_cv_have_x="have_x=yes\
9081 ac_x_includes='$ac_x_includes'\
9082 ac_x_libraries='$ac_x_libraries'"
9083 esac
9085 ;; #(
9086 *) have_x=yes;;
9087 esac
9088 eval "$ac_cv_have_x"
9089 fi # $with_x != no
9091 if test "$have_x" != yes; then
9092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9093 $as_echo "$have_x" >&6; }
9094 no_x=yes
9095 else
9096 # If each of the values was on the command line, it overrides each guess.
9097 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9098 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9099 # Update the cache value to reflect the command line values.
9100 ac_cv_have_x="have_x=yes\
9101 ac_x_includes='$x_includes'\
9102 ac_x_libraries='$x_libraries'"
9103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9104 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9107 if test "$no_x" = yes; then
9108 # Not all programs may use this symbol, but it does not hurt to define it.
9110 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9112 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9113 else
9114 if test -n "$x_includes"; then
9115 X_CFLAGS="$X_CFLAGS -I$x_includes"
9118 # It would also be nice to do this for all -L options, not just this one.
9119 if test -n "$x_libraries"; then
9120 X_LIBS="$X_LIBS -L$x_libraries"
9121 # For Solaris; some versions of Sun CC require a space after -R and
9122 # others require no space. Words are not sufficient . . . .
9123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9124 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9125 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9126 ac_xsave_c_werror_flag=$ac_c_werror_flag
9127 ac_c_werror_flag=yes
9128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9129 /* end confdefs.h. */
9132 main ()
9136 return 0;
9138 _ACEOF
9139 if ac_fn_c_try_link "$LINENO"; then :
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9141 $as_echo "no" >&6; }
9142 X_LIBS="$X_LIBS -R$x_libraries"
9143 else
9144 LIBS="$ac_xsave_LIBS -R $x_libraries"
9145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9146 /* end confdefs.h. */
9149 main ()
9153 return 0;
9155 _ACEOF
9156 if ac_fn_c_try_link "$LINENO"; then :
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9158 $as_echo "yes" >&6; }
9159 X_LIBS="$X_LIBS -R $x_libraries"
9160 else
9161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9162 $as_echo "neither works" >&6; }
9164 rm -f core conftest.err conftest.$ac_objext \
9165 conftest$ac_exeext conftest.$ac_ext
9167 rm -f core conftest.err conftest.$ac_objext \
9168 conftest$ac_exeext conftest.$ac_ext
9169 ac_c_werror_flag=$ac_xsave_c_werror_flag
9170 LIBS=$ac_xsave_LIBS
9173 # Check for system-dependent libraries X programs must link with.
9174 # Do this before checking for the system-independent R6 libraries
9175 # (-lICE), since we may need -lsocket or whatever for X linking.
9177 if test "$ISC" = yes; then
9178 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9179 else
9180 # Martyn Johnson says this is needed for Ultrix, if the X
9181 # libraries were built with DECnet support. And Karl Berry says
9182 # the Alpha needs dnet_stub (dnet does not exist).
9183 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9185 /* end confdefs.h. */
9187 /* Override any GCC internal prototype to avoid an error.
9188 Use char because int might match the return type of a GCC
9189 builtin and then its argument prototype would still apply. */
9190 #ifdef __cplusplus
9191 extern "C"
9192 #endif
9193 char XOpenDisplay ();
9195 main ()
9197 return XOpenDisplay ();
9199 return 0;
9201 _ACEOF
9202 if ac_fn_c_try_link "$LINENO"; then :
9204 else
9205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9206 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9207 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9208 $as_echo_n "(cached) " >&6
9209 else
9210 ac_check_lib_save_LIBS=$LIBS
9211 LIBS="-ldnet $LIBS"
9212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9213 /* end confdefs.h. */
9215 /* Override any GCC internal prototype to avoid an error.
9216 Use char because int might match the return type of a GCC
9217 builtin and then its argument prototype would still apply. */
9218 #ifdef __cplusplus
9219 extern "C"
9220 #endif
9221 char dnet_ntoa ();
9223 main ()
9225 return dnet_ntoa ();
9227 return 0;
9229 _ACEOF
9230 if ac_fn_c_try_link "$LINENO"; then :
9231 ac_cv_lib_dnet_dnet_ntoa=yes
9232 else
9233 ac_cv_lib_dnet_dnet_ntoa=no
9235 rm -f core conftest.err conftest.$ac_objext \
9236 conftest$ac_exeext conftest.$ac_ext
9237 LIBS=$ac_check_lib_save_LIBS
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9240 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9241 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9242 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9245 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9247 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9248 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9249 $as_echo_n "(cached) " >&6
9250 else
9251 ac_check_lib_save_LIBS=$LIBS
9252 LIBS="-ldnet_stub $LIBS"
9253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9254 /* end confdefs.h. */
9256 /* Override any GCC internal prototype to avoid an error.
9257 Use char because int might match the return type of a GCC
9258 builtin and then its argument prototype would still apply. */
9259 #ifdef __cplusplus
9260 extern "C"
9261 #endif
9262 char dnet_ntoa ();
9264 main ()
9266 return dnet_ntoa ();
9268 return 0;
9270 _ACEOF
9271 if ac_fn_c_try_link "$LINENO"; then :
9272 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9273 else
9274 ac_cv_lib_dnet_stub_dnet_ntoa=no
9276 rm -f core conftest.err conftest.$ac_objext \
9277 conftest$ac_exeext conftest.$ac_ext
9278 LIBS=$ac_check_lib_save_LIBS
9280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9281 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9282 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9283 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9288 rm -f core conftest.err conftest.$ac_objext \
9289 conftest$ac_exeext conftest.$ac_ext
9290 LIBS="$ac_xsave_LIBS"
9292 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9293 # to get the SysV transport functions.
9294 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9295 # needs -lnsl.
9296 # The nsl library prevents programs from opening the X display
9297 # on Irix 5.2, according to T.E. Dickey.
9298 # The functions gethostbyname, getservbyname, and inet_addr are
9299 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9300 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9301 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9305 if test $ac_cv_func_gethostbyname = no; then
9306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9307 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9308 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9309 $as_echo_n "(cached) " >&6
9310 else
9311 ac_check_lib_save_LIBS=$LIBS
9312 LIBS="-lnsl $LIBS"
9313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9314 /* end confdefs.h. */
9316 /* Override any GCC internal prototype to avoid an error.
9317 Use char because int might match the return type of a GCC
9318 builtin and then its argument prototype would still apply. */
9319 #ifdef __cplusplus
9320 extern "C"
9321 #endif
9322 char gethostbyname ();
9324 main ()
9326 return gethostbyname ();
9328 return 0;
9330 _ACEOF
9331 if ac_fn_c_try_link "$LINENO"; then :
9332 ac_cv_lib_nsl_gethostbyname=yes
9333 else
9334 ac_cv_lib_nsl_gethostbyname=no
9336 rm -f core conftest.err conftest.$ac_objext \
9337 conftest$ac_exeext conftest.$ac_ext
9338 LIBS=$ac_check_lib_save_LIBS
9340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9341 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9342 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9343 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9346 if test $ac_cv_lib_nsl_gethostbyname = no; then
9347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9348 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9349 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9350 $as_echo_n "(cached) " >&6
9351 else
9352 ac_check_lib_save_LIBS=$LIBS
9353 LIBS="-lbsd $LIBS"
9354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9355 /* end confdefs.h. */
9357 /* Override any GCC internal prototype to avoid an error.
9358 Use char because int might match the return type of a GCC
9359 builtin and then its argument prototype would still apply. */
9360 #ifdef __cplusplus
9361 extern "C"
9362 #endif
9363 char gethostbyname ();
9365 main ()
9367 return gethostbyname ();
9369 return 0;
9371 _ACEOF
9372 if ac_fn_c_try_link "$LINENO"; then :
9373 ac_cv_lib_bsd_gethostbyname=yes
9374 else
9375 ac_cv_lib_bsd_gethostbyname=no
9377 rm -f core conftest.err conftest.$ac_objext \
9378 conftest$ac_exeext conftest.$ac_ext
9379 LIBS=$ac_check_lib_save_LIBS
9381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9382 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9383 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9384 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9390 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9391 # socket/setsockopt and other routines are undefined under SCO ODT
9392 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9393 # on later versions), says Simon Leinen: it contains gethostby*
9394 # variants that don't use the name server (or something). -lsocket
9395 # must be given before -lnsl if both are needed. We assume that
9396 # if connect needs -lnsl, so does gethostbyname.
9397 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9398 if test "x$ac_cv_func_connect" = xyes; then :
9402 if test $ac_cv_func_connect = no; then
9403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9404 $as_echo_n "checking for connect in -lsocket... " >&6; }
9405 if ${ac_cv_lib_socket_connect+:} false; then :
9406 $as_echo_n "(cached) " >&6
9407 else
9408 ac_check_lib_save_LIBS=$LIBS
9409 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9411 /* end confdefs.h. */
9413 /* Override any GCC internal prototype to avoid an error.
9414 Use char because int might match the return type of a GCC
9415 builtin and then its argument prototype would still apply. */
9416 #ifdef __cplusplus
9417 extern "C"
9418 #endif
9419 char connect ();
9421 main ()
9423 return connect ();
9425 return 0;
9427 _ACEOF
9428 if ac_fn_c_try_link "$LINENO"; then :
9429 ac_cv_lib_socket_connect=yes
9430 else
9431 ac_cv_lib_socket_connect=no
9433 rm -f core conftest.err conftest.$ac_objext \
9434 conftest$ac_exeext conftest.$ac_ext
9435 LIBS=$ac_check_lib_save_LIBS
9437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9438 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9439 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9440 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9445 # Guillermo Gomez says -lposix is necessary on A/UX.
9446 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9447 if test "x$ac_cv_func_remove" = xyes; then :
9451 if test $ac_cv_func_remove = no; then
9452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9453 $as_echo_n "checking for remove in -lposix... " >&6; }
9454 if ${ac_cv_lib_posix_remove+:} false; then :
9455 $as_echo_n "(cached) " >&6
9456 else
9457 ac_check_lib_save_LIBS=$LIBS
9458 LIBS="-lposix $LIBS"
9459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9460 /* end confdefs.h. */
9462 /* Override any GCC internal prototype to avoid an error.
9463 Use char because int might match the return type of a GCC
9464 builtin and then its argument prototype would still apply. */
9465 #ifdef __cplusplus
9466 extern "C"
9467 #endif
9468 char remove ();
9470 main ()
9472 return remove ();
9474 return 0;
9476 _ACEOF
9477 if ac_fn_c_try_link "$LINENO"; then :
9478 ac_cv_lib_posix_remove=yes
9479 else
9480 ac_cv_lib_posix_remove=no
9482 rm -f core conftest.err conftest.$ac_objext \
9483 conftest$ac_exeext conftest.$ac_ext
9484 LIBS=$ac_check_lib_save_LIBS
9486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9487 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9488 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9489 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9494 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9495 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9496 if test "x$ac_cv_func_shmat" = xyes; then :
9500 if test $ac_cv_func_shmat = no; then
9501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9502 $as_echo_n "checking for shmat in -lipc... " >&6; }
9503 if ${ac_cv_lib_ipc_shmat+:} false; then :
9504 $as_echo_n "(cached) " >&6
9505 else
9506 ac_check_lib_save_LIBS=$LIBS
9507 LIBS="-lipc $LIBS"
9508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9509 /* end confdefs.h. */
9511 /* Override any GCC internal prototype to avoid an error.
9512 Use char because int might match the return type of a GCC
9513 builtin and then its argument prototype would still apply. */
9514 #ifdef __cplusplus
9515 extern "C"
9516 #endif
9517 char shmat ();
9519 main ()
9521 return shmat ();
9523 return 0;
9525 _ACEOF
9526 if ac_fn_c_try_link "$LINENO"; then :
9527 ac_cv_lib_ipc_shmat=yes
9528 else
9529 ac_cv_lib_ipc_shmat=no
9531 rm -f core conftest.err conftest.$ac_objext \
9532 conftest$ac_exeext conftest.$ac_ext
9533 LIBS=$ac_check_lib_save_LIBS
9535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9536 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9537 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9538 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9544 # Check for libraries that X11R6 Xt/Xaw programs need.
9545 ac_save_LDFLAGS=$LDFLAGS
9546 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9547 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9548 # check for ICE first), but we must link in the order -lSM -lICE or
9549 # we get undefined symbols. So assume we have SM if we have ICE.
9550 # These have to be linked with before -lX11, unlike the other
9551 # libraries we check for below, so use a different variable.
9552 # John Interrante, Karl Berry
9553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9554 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9555 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9556 $as_echo_n "(cached) " >&6
9557 else
9558 ac_check_lib_save_LIBS=$LIBS
9559 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9561 /* end confdefs.h. */
9563 /* Override any GCC internal prototype to avoid an error.
9564 Use char because int might match the return type of a GCC
9565 builtin and then its argument prototype would still apply. */
9566 #ifdef __cplusplus
9567 extern "C"
9568 #endif
9569 char IceConnectionNumber ();
9571 main ()
9573 return IceConnectionNumber ();
9575 return 0;
9577 _ACEOF
9578 if ac_fn_c_try_link "$LINENO"; then :
9579 ac_cv_lib_ICE_IceConnectionNumber=yes
9580 else
9581 ac_cv_lib_ICE_IceConnectionNumber=no
9583 rm -f core conftest.err conftest.$ac_objext \
9584 conftest$ac_exeext conftest.$ac_ext
9585 LIBS=$ac_check_lib_save_LIBS
9587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9588 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9589 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9590 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9593 LDFLAGS=$ac_save_LDFLAGS
9598 if test "$have_x" = "yes"
9599 then
9600 ac_save_CPPFLAGS="$CPPFLAGS"
9601 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9604 $as_echo_n "checking for -lX11... " >&6; }
9605 if ${ac_cv_lib_soname_X11+:} false; then :
9606 $as_echo_n "(cached) " >&6
9607 else
9608 ac_check_soname_save_LIBS=$LIBS
9609 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9611 /* end confdefs.h. */
9613 /* Override any GCC internal prototype to avoid an error.
9614 Use char because int might match the return type of a GCC
9615 builtin and then its argument prototype would still apply. */
9616 #ifdef __cplusplus
9617 extern "C"
9618 #endif
9619 char XCreateWindow ();
9621 main ()
9623 return XCreateWindow ();
9625 return 0;
9627 _ACEOF
9628 if ac_fn_c_try_link "$LINENO"; then :
9629 case "$LIBEXT" in
9630 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9631 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'` ;;
9632 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9633 if ${ac_cv_lib_soname_X11:+false} :; then :
9634 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9635 fi ;;
9636 esac
9638 rm -f core conftest.err conftest.$ac_objext \
9639 conftest$ac_exeext conftest.$ac_ext
9640 LIBS=$ac_check_soname_save_LIBS
9642 if ${ac_cv_lib_soname_X11:+false} :; then :
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9644 $as_echo "not found" >&6; }
9646 else
9647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9648 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9650 cat >>confdefs.h <<_ACEOF
9651 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9652 _ACEOF
9656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9657 $as_echo_n "checking for -lXext... " >&6; }
9658 if ${ac_cv_lib_soname_Xext+:} false; then :
9659 $as_echo_n "(cached) " >&6
9660 else
9661 ac_check_soname_save_LIBS=$LIBS
9662 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9664 /* end confdefs.h. */
9666 /* Override any GCC internal prototype to avoid an error.
9667 Use char because int might match the return type of a GCC
9668 builtin and then its argument prototype would still apply. */
9669 #ifdef __cplusplus
9670 extern "C"
9671 #endif
9672 char XextCreateExtension ();
9674 main ()
9676 return XextCreateExtension ();
9678 return 0;
9680 _ACEOF
9681 if ac_fn_c_try_link "$LINENO"; then :
9682 case "$LIBEXT" in
9683 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9684 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'` ;;
9685 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9686 if ${ac_cv_lib_soname_Xext:+false} :; then :
9687 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9688 fi ;;
9689 esac
9691 rm -f core conftest.err conftest.$ac_objext \
9692 conftest$ac_exeext conftest.$ac_ext
9693 LIBS=$ac_check_soname_save_LIBS
9695 if ${ac_cv_lib_soname_Xext:+false} :; then :
9696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9697 $as_echo "not found" >&6; }
9699 else
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9701 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9703 cat >>confdefs.h <<_ACEOF
9704 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9705 _ACEOF
9707 X_LIBS="$X_LIBS -lXext"
9709 X_LIBS="$X_LIBS -lX11"
9711 for ac_header in X11/Xlib.h \
9712 X11/XKBlib.h \
9713 X11/Xutil.h \
9714 X11/Xcursor/Xcursor.h \
9715 X11/extensions/shape.h \
9716 X11/extensions/XInput.h \
9717 X11/extensions/XInput2.h \
9718 X11/extensions/XShm.h \
9719 X11/extensions/Xcomposite.h \
9720 X11/extensions/Xinerama.h \
9721 X11/extensions/Xrandr.h \
9722 X11/extensions/Xrender.h \
9723 X11/extensions/xf86vmode.h \
9724 X11/extensions/xf86vmproto.h
9725 do :
9726 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9727 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9728 # include <X11/Xlib.h>
9729 #endif
9730 #ifdef HAVE_X11_XUTIL_H
9731 # include <X11/Xutil.h>
9732 #endif
9734 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9735 cat >>confdefs.h <<_ACEOF
9736 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9737 _ACEOF
9741 done
9744 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9745 then
9746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9747 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9748 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9749 $as_echo_n "(cached) " >&6
9750 else
9751 ac_check_lib_save_LIBS=$LIBS
9752 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9754 /* end confdefs.h. */
9756 /* Override any GCC internal prototype to avoid an error.
9757 Use char because int might match the return type of a GCC
9758 builtin and then its argument prototype would still apply. */
9759 #ifdef __cplusplus
9760 extern "C"
9761 #endif
9762 char XkbQueryExtension ();
9764 main ()
9766 return XkbQueryExtension ();
9768 return 0;
9770 _ACEOF
9771 if ac_fn_c_try_link "$LINENO"; then :
9772 ac_cv_lib_X11_XkbQueryExtension=yes
9773 else
9774 ac_cv_lib_X11_XkbQueryExtension=no
9776 rm -f core conftest.err conftest.$ac_objext \
9777 conftest$ac_exeext conftest.$ac_ext
9778 LIBS=$ac_check_lib_save_LIBS
9780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9781 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9782 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9784 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9790 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9791 then
9792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9793 $as_echo_n "checking for -lXcursor... " >&6; }
9794 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9795 $as_echo_n "(cached) " >&6
9796 else
9797 ac_check_soname_save_LIBS=$LIBS
9798 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9800 /* end confdefs.h. */
9802 /* Override any GCC internal prototype to avoid an error.
9803 Use char because int might match the return type of a GCC
9804 builtin and then its argument prototype would still apply. */
9805 #ifdef __cplusplus
9806 extern "C"
9807 #endif
9808 char XcursorImageLoadCursor ();
9810 main ()
9812 return XcursorImageLoadCursor ();
9814 return 0;
9816 _ACEOF
9817 if ac_fn_c_try_link "$LINENO"; then :
9818 case "$LIBEXT" in
9819 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9820 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'` ;;
9821 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9822 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9823 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9824 fi ;;
9825 esac
9827 rm -f core conftest.err conftest.$ac_objext \
9828 conftest$ac_exeext conftest.$ac_ext
9829 LIBS=$ac_check_soname_save_LIBS
9831 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9833 $as_echo "not found" >&6; }
9835 else
9836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9837 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9839 cat >>confdefs.h <<_ACEOF
9840 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9841 _ACEOF
9846 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9847 case "x$with_xcursor" in
9848 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9849 xno) ;;
9850 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9851 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9852 esac
9855 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9856 then
9857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9858 $as_echo_n "checking for -lXi... " >&6; }
9859 if ${ac_cv_lib_soname_Xi+:} false; then :
9860 $as_echo_n "(cached) " >&6
9861 else
9862 ac_check_soname_save_LIBS=$LIBS
9863 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9865 /* end confdefs.h. */
9867 /* Override any GCC internal prototype to avoid an error.
9868 Use char because int might match the return type of a GCC
9869 builtin and then its argument prototype would still apply. */
9870 #ifdef __cplusplus
9871 extern "C"
9872 #endif
9873 char XOpenDevice ();
9875 main ()
9877 return XOpenDevice ();
9879 return 0;
9881 _ACEOF
9882 if ac_fn_c_try_link "$LINENO"; then :
9883 case "$LIBEXT" in
9884 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9885 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'` ;;
9886 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9887 if ${ac_cv_lib_soname_Xi:+false} :; then :
9888 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9889 fi ;;
9890 esac
9892 rm -f core conftest.err conftest.$ac_objext \
9893 conftest$ac_exeext conftest.$ac_ext
9894 LIBS=$ac_check_soname_save_LIBS
9896 if ${ac_cv_lib_soname_Xi:+false} :; then :
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9898 $as_echo "not found" >&6; }
9900 else
9901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9902 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9904 cat >>confdefs.h <<_ACEOF
9905 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9906 _ACEOF
9911 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9912 case "x$with_xinput" in
9913 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9914 xno) ;;
9915 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9916 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9917 esac
9920 if test "x$ac_cv_lib_soname_Xi" != x
9921 then
9922 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9923 case "x$with_xinput2" in
9924 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9925 xno) ;;
9926 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9927 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9928 esac
9932 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9933 then
9934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9935 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9936 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9937 $as_echo_n "(cached) " >&6
9938 else
9939 ac_check_lib_save_LIBS=$LIBS
9940 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9942 /* end confdefs.h. */
9944 /* Override any GCC internal prototype to avoid an error.
9945 Use char because int might match the return type of a GCC
9946 builtin and then its argument prototype would still apply. */
9947 #ifdef __cplusplus
9948 extern "C"
9949 #endif
9950 char XShmQueryExtension ();
9952 main ()
9954 return XShmQueryExtension ();
9956 return 0;
9958 _ACEOF
9959 if ac_fn_c_try_link "$LINENO"; then :
9960 ac_cv_lib_Xext_XShmQueryExtension=yes
9961 else
9962 ac_cv_lib_Xext_XShmQueryExtension=no
9964 rm -f core conftest.err conftest.$ac_objext \
9965 conftest$ac_exeext conftest.$ac_ext
9966 LIBS=$ac_check_lib_save_LIBS
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9969 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9970 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9972 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9977 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9978 case "x$with_xshm" in
9979 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9980 xno) ;;
9981 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9982 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9983 esac
9986 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9987 then
9988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9989 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9990 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9991 $as_echo_n "(cached) " >&6
9992 else
9993 ac_check_lib_save_LIBS=$LIBS
9994 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9996 /* end confdefs.h. */
9998 /* Override any GCC internal prototype to avoid an error.
9999 Use char because int might match the return type of a GCC
10000 builtin and then its argument prototype would still apply. */
10001 #ifdef __cplusplus
10002 extern "C"
10003 #endif
10004 char XShapeQueryExtension ();
10006 main ()
10008 return XShapeQueryExtension ();
10010 return 0;
10012 _ACEOF
10013 if ac_fn_c_try_link "$LINENO"; then :
10014 ac_cv_lib_Xext_XShapeQueryExtension=yes
10015 else
10016 ac_cv_lib_Xext_XShapeQueryExtension=no
10018 rm -f core conftest.err conftest.$ac_objext \
10019 conftest$ac_exeext conftest.$ac_ext
10020 LIBS=$ac_check_lib_save_LIBS
10022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10023 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10024 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10026 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10031 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10032 case "x$with_xshape" in
10033 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10034 xno) ;;
10035 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10036 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10037 esac
10040 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10041 then
10042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10043 $as_echo_n "checking for -lXxf86vm... " >&6; }
10044 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10045 $as_echo_n "(cached) " >&6
10046 else
10047 ac_check_soname_save_LIBS=$LIBS
10048 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10050 /* end confdefs.h. */
10052 /* Override any GCC internal prototype to avoid an error.
10053 Use char because int might match the return type of a GCC
10054 builtin and then its argument prototype would still apply. */
10055 #ifdef __cplusplus
10056 extern "C"
10057 #endif
10058 char XF86VidModeQueryExtension ();
10060 main ()
10062 return XF86VidModeQueryExtension ();
10064 return 0;
10066 _ACEOF
10067 if ac_fn_c_try_link "$LINENO"; then :
10068 case "$LIBEXT" in
10069 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10070 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'` ;;
10071 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10072 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10073 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10074 fi ;;
10075 esac
10077 rm -f core conftest.err conftest.$ac_objext \
10078 conftest$ac_exeext conftest.$ac_ext
10079 LIBS=$ac_check_soname_save_LIBS
10081 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10083 $as_echo "not found" >&6; }
10085 else
10086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10087 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10089 cat >>confdefs.h <<_ACEOF
10090 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10091 _ACEOF
10096 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10097 case "x$with_xxf86vm" in
10098 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10099 xno) ;;
10100 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10101 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10102 esac
10105 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10106 then
10107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10108 $as_echo_n "checking for -lXrender... " >&6; }
10109 if ${ac_cv_lib_soname_Xrender+:} false; then :
10110 $as_echo_n "(cached) " >&6
10111 else
10112 ac_check_soname_save_LIBS=$LIBS
10113 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10115 /* end confdefs.h. */
10117 /* Override any GCC internal prototype to avoid an error.
10118 Use char because int might match the return type of a GCC
10119 builtin and then its argument prototype would still apply. */
10120 #ifdef __cplusplus
10121 extern "C"
10122 #endif
10123 char XRenderQueryExtension ();
10125 main ()
10127 return XRenderQueryExtension ();
10129 return 0;
10131 _ACEOF
10132 if ac_fn_c_try_link "$LINENO"; then :
10133 case "$LIBEXT" in
10134 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10135 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'` ;;
10136 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10137 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10138 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10139 fi ;;
10140 esac
10142 rm -f core conftest.err conftest.$ac_objext \
10143 conftest$ac_exeext conftest.$ac_ext
10144 LIBS=$ac_check_soname_save_LIBS
10146 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10148 $as_echo "not found" >&6; }
10150 else
10151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10152 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10154 cat >>confdefs.h <<_ACEOF
10155 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10156 _ACEOF
10158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10159 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10160 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10161 $as_echo_n "(cached) " >&6
10162 else
10163 ac_check_lib_save_LIBS=$LIBS
10164 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10166 /* end confdefs.h. */
10168 /* Override any GCC internal prototype to avoid an error.
10169 Use char because int might match the return type of a GCC
10170 builtin and then its argument prototype would still apply. */
10171 #ifdef __cplusplus
10172 extern "C"
10173 #endif
10174 char XRenderSetPictureTransform ();
10176 main ()
10178 return XRenderSetPictureTransform ();
10180 return 0;
10182 _ACEOF
10183 if ac_fn_c_try_link "$LINENO"; then :
10184 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10185 else
10186 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10188 rm -f core conftest.err conftest.$ac_objext \
10189 conftest$ac_exeext conftest.$ac_ext
10190 LIBS=$ac_check_lib_save_LIBS
10192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10193 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10194 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10196 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10201 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10202 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10203 $as_echo_n "(cached) " >&6
10204 else
10205 ac_check_lib_save_LIBS=$LIBS
10206 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10208 /* end confdefs.h. */
10210 /* Override any GCC internal prototype to avoid an error.
10211 Use char because int might match the return type of a GCC
10212 builtin and then its argument prototype would still apply. */
10213 #ifdef __cplusplus
10214 extern "C"
10215 #endif
10216 char XRenderCreateLinearGradient ();
10218 main ()
10220 return XRenderCreateLinearGradient ();
10222 return 0;
10224 _ACEOF
10225 if ac_fn_c_try_link "$LINENO"; then :
10226 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10227 else
10228 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10230 rm -f core conftest.err conftest.$ac_objext \
10231 conftest$ac_exeext conftest.$ac_ext
10232 LIBS=$ac_check_lib_save_LIBS
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10235 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10236 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10238 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10245 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10246 case "x$with_xrender" in
10247 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10248 xno) ;;
10249 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10250 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10251 esac
10254 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10255 then
10256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10257 /* end confdefs.h. */
10258 #include <X11/Xlib.h>
10259 #include <X11/extensions/Xrandr.h>
10261 main ()
10263 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10265 return 0;
10267 _ACEOF
10268 if ac_fn_c_try_compile "$LINENO"; then :
10269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10270 $as_echo_n "checking for -lXrandr... " >&6; }
10271 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10272 $as_echo_n "(cached) " >&6
10273 else
10274 ac_check_soname_save_LIBS=$LIBS
10275 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10277 /* end confdefs.h. */
10279 /* Override any GCC internal prototype to avoid an error.
10280 Use char because int might match the return type of a GCC
10281 builtin and then its argument prototype would still apply. */
10282 #ifdef __cplusplus
10283 extern "C"
10284 #endif
10285 char XRRQueryExtension ();
10287 main ()
10289 return XRRQueryExtension ();
10291 return 0;
10293 _ACEOF
10294 if ac_fn_c_try_link "$LINENO"; then :
10295 case "$LIBEXT" in
10296 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10297 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'` ;;
10298 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10299 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10300 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10301 fi ;;
10302 esac
10304 rm -f core conftest.err conftest.$ac_objext \
10305 conftest$ac_exeext conftest.$ac_ext
10306 LIBS=$ac_check_soname_save_LIBS
10308 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10310 $as_echo "not found" >&6; }
10312 else
10313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10314 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10316 cat >>confdefs.h <<_ACEOF
10317 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10318 _ACEOF
10320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10321 /* end confdefs.h. */
10322 #include <X11/Xlib.h>
10323 #include <X11/extensions/Xrandr.h>
10325 main ()
10327 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10329 return 0;
10331 _ACEOF
10332 if ac_fn_c_try_compile "$LINENO"; then :
10334 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10342 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10343 case "x$with_xrandr" in
10344 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10345 xno) ;;
10346 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10347 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10348 esac
10351 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10352 then
10353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10354 /* end confdefs.h. */
10355 #include <X11/Xlib.h>
10356 #include <X11/extensions/Xinerama.h>
10358 main ()
10360 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10362 return 0;
10364 _ACEOF
10365 if ac_fn_c_try_compile "$LINENO"; then :
10366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10367 $as_echo_n "checking for -lXinerama... " >&6; }
10368 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10369 $as_echo_n "(cached) " >&6
10370 else
10371 ac_check_soname_save_LIBS=$LIBS
10372 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10374 /* end confdefs.h. */
10376 /* Override any GCC internal prototype to avoid an error.
10377 Use char because int might match the return type of a GCC
10378 builtin and then its argument prototype would still apply. */
10379 #ifdef __cplusplus
10380 extern "C"
10381 #endif
10382 char XineramaQueryScreens ();
10384 main ()
10386 return XineramaQueryScreens ();
10388 return 0;
10390 _ACEOF
10391 if ac_fn_c_try_link "$LINENO"; then :
10392 case "$LIBEXT" in
10393 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10394 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'` ;;
10395 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10396 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10397 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10398 fi ;;
10399 esac
10401 rm -f core conftest.err conftest.$ac_objext \
10402 conftest$ac_exeext conftest.$ac_ext
10403 LIBS=$ac_check_soname_save_LIBS
10405 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10407 $as_echo "not found" >&6; }
10409 else
10410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10411 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10413 cat >>confdefs.h <<_ACEOF
10414 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10415 _ACEOF
10420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10422 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10423 case "x$with_xinerama" in
10424 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10425 xno) ;;
10426 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10427 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10428 esac
10431 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10432 then
10433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10434 $as_echo_n "checking for -lXcomposite... " >&6; }
10435 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10436 $as_echo_n "(cached) " >&6
10437 else
10438 ac_check_soname_save_LIBS=$LIBS
10439 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10441 /* end confdefs.h. */
10443 /* Override any GCC internal prototype to avoid an error.
10444 Use char because int might match the return type of a GCC
10445 builtin and then its argument prototype would still apply. */
10446 #ifdef __cplusplus
10447 extern "C"
10448 #endif
10449 char XCompositeRedirectWindow ();
10451 main ()
10453 return XCompositeRedirectWindow ();
10455 return 0;
10457 _ACEOF
10458 if ac_fn_c_try_link "$LINENO"; then :
10459 case "$LIBEXT" in
10460 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10461 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'` ;;
10462 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10463 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10464 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10465 fi ;;
10466 esac
10468 rm -f core conftest.err conftest.$ac_objext \
10469 conftest$ac_exeext conftest.$ac_ext
10470 LIBS=$ac_check_soname_save_LIBS
10472 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10474 $as_echo "not found" >&6; }
10476 else
10477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10478 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10480 cat >>confdefs.h <<_ACEOF
10481 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10482 _ACEOF
10487 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10488 case "x$with_xcomposite" in
10489 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10490 xno) ;;
10491 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10492 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10493 esac
10496 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10497 #include <X11/Xlib.h>
10498 #endif
10500 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10502 cat >>confdefs.h <<_ACEOF
10503 #define HAVE_XICCALLBACK_CALLBACK 1
10504 _ACEOF
10508 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10509 #include <X11/Xlib.h>
10510 #endif
10512 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10514 cat >>confdefs.h <<_ACEOF
10515 #define HAVE_XEVENT_XCOOKIE 1
10516 _ACEOF
10523 opengl_msg=""
10524 if test "x$with_opengl" != "xno"
10525 then
10526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10527 $as_echo_n "checking for -lGL... " >&6; }
10528 if ${ac_cv_lib_soname_GL+:} false; then :
10529 $as_echo_n "(cached) " >&6
10530 else
10531 ac_check_soname_save_LIBS=$LIBS
10532 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10534 /* end confdefs.h. */
10536 /* Override any GCC internal prototype to avoid an error.
10537 Use char because int might match the return type of a GCC
10538 builtin and then its argument prototype would still apply. */
10539 #ifdef __cplusplus
10540 extern "C"
10541 #endif
10542 char glXCreateContext ();
10544 main ()
10546 return glXCreateContext ();
10548 return 0;
10550 _ACEOF
10551 if ac_fn_c_try_link "$LINENO"; then :
10552 case "$LIBEXT" in
10553 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10554 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'` ;;
10555 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10556 if ${ac_cv_lib_soname_GL:+false} :; then :
10557 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10558 fi ;;
10559 esac
10561 rm -f core conftest.err conftest.$ac_objext \
10562 conftest$ac_exeext conftest.$ac_ext
10563 LIBS=$ac_check_soname_save_LIBS
10565 if ${ac_cv_lib_soname_GL:+false} :; then :
10566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10567 $as_echo "not found" >&6; }
10568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10569 $as_echo_n "checking for -lGL... " >&6; }
10570 if ${ac_cv_lib_soname_GL+:} false; then :
10571 $as_echo_n "(cached) " >&6
10572 else
10573 ac_check_soname_save_LIBS=$LIBS
10574 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"
10575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10576 /* end confdefs.h. */
10578 /* Override any GCC internal prototype to avoid an error.
10579 Use char because int might match the return type of a GCC
10580 builtin and then its argument prototype would still apply. */
10581 #ifdef __cplusplus
10582 extern "C"
10583 #endif
10584 char glXCreateContext ();
10586 main ()
10588 return glXCreateContext ();
10590 return 0;
10592 _ACEOF
10593 if ac_fn_c_try_link "$LINENO"; then :
10594 case "$LIBEXT" in
10595 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10596 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'` ;;
10597 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10598 if ${ac_cv_lib_soname_GL:+false} :; then :
10599 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10600 fi ;;
10601 esac
10603 rm -f core conftest.err conftest.$ac_objext \
10604 conftest$ac_exeext conftest.$ac_ext
10605 LIBS=$ac_check_soname_save_LIBS
10607 if ${ac_cv_lib_soname_GL:+false} :; then :
10608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10609 $as_echo "not found" >&6; }
10610 if test -f /usr/X11R6/lib/libGL.a
10611 then
10612 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10613 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10614 else
10615 opengl_msg="No OpenGL library found on this system."
10617 else
10618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10619 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10621 cat >>confdefs.h <<_ACEOF
10622 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10623 _ACEOF
10625 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"
10627 else
10628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10629 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10631 cat >>confdefs.h <<_ACEOF
10632 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10633 _ACEOF
10635 OPENGL_LIBS="-lGL"
10637 if test "x$with_glu" != "xno"
10638 then
10639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10640 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10641 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10642 $as_echo_n "(cached) " >&6
10643 else
10644 ac_check_lib_save_LIBS=$LIBS
10645 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10647 /* end confdefs.h. */
10649 /* Override any GCC internal prototype to avoid an error.
10650 Use char because int might match the return type of a GCC
10651 builtin and then its argument prototype would still apply. */
10652 #ifdef __cplusplus
10653 extern "C"
10654 #endif
10655 char gluLookAt ();
10657 main ()
10659 return gluLookAt ();
10661 return 0;
10663 _ACEOF
10664 if ac_fn_c_try_link "$LINENO"; then :
10665 ac_cv_lib_GLU_gluLookAt=yes
10666 else
10667 ac_cv_lib_GLU_gluLookAt=no
10669 rm -f core conftest.err conftest.$ac_objext \
10670 conftest$ac_exeext conftest.$ac_ext
10671 LIBS=$ac_check_lib_save_LIBS
10673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10674 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10675 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10679 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10680 case "x$with_glu" in
10681 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10682 xno) ;;
10683 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10684 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10685 esac
10689 if test "x$with_osmesa" != "xno"
10690 then
10691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10692 $as_echo_n "checking for -lOSMesa... " >&6; }
10693 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10694 $as_echo_n "(cached) " >&6
10695 else
10696 ac_check_soname_save_LIBS=$LIBS
10697 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10699 /* end confdefs.h. */
10701 /* Override any GCC internal prototype to avoid an error.
10702 Use char because int might match the return type of a GCC
10703 builtin and then its argument prototype would still apply. */
10704 #ifdef __cplusplus
10705 extern "C"
10706 #endif
10707 char glAccum ();
10709 main ()
10711 return glAccum ();
10713 return 0;
10715 _ACEOF
10716 if ac_fn_c_try_link "$LINENO"; then :
10717 case "$LIBEXT" in
10718 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10719 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'` ;;
10720 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10721 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10722 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10723 fi ;;
10724 esac
10726 rm -f core conftest.err conftest.$ac_objext \
10727 conftest$ac_exeext conftest.$ac_ext
10728 LIBS=$ac_check_soname_save_LIBS
10730 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10732 $as_echo "not found" >&6; }
10734 else
10735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10736 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10738 cat >>confdefs.h <<_ACEOF
10739 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10740 _ACEOF
10744 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10745 case "x$with_osmesa" in
10746 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10747 xno) ;;
10748 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10749 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10750 esac
10754 if test -n "$opengl_msg"; then :
10755 case "x$with_opengl" in
10756 x) as_fn_append wine_warnings "|$opengl_msg
10757 OpenGL and Direct3D won't be supported." ;;
10758 xno) ;;
10759 *) as_fn_error $? "$opengl_msg
10760 OpenGL and Direct3D won't be supported.
10761 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10762 esac
10765 CPPFLAGS="$ac_save_CPPFLAGS"
10766 else
10767 X_CFLAGS=""
10768 X_LIBS=""
10769 enable_winex11_drv=${enable_winex11_drv:-no}
10771 if test "x$X_LIBS" = "x"; then :
10772 case "x$with_x" in
10773 xno) ;;
10774 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10775 without X support, which probably isn't what you want. You will need
10776 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10777 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10778 esac
10781 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10783 if test "$ac_cv_header_CL_cl_h" = "yes"
10784 then
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10786 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10787 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10788 $as_echo_n "(cached) " >&6
10789 else
10790 ac_check_lib_save_LIBS=$LIBS
10791 LIBS="-lOpenCL $LIBS"
10792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10793 /* end confdefs.h. */
10795 /* Override any GCC internal prototype to avoid an error.
10796 Use char because int might match the return type of a GCC
10797 builtin and then its argument prototype would still apply. */
10798 #ifdef __cplusplus
10799 extern "C"
10800 #endif
10801 char clGetPlatformInfo ();
10803 main ()
10805 return clGetPlatformInfo ();
10807 return 0;
10809 _ACEOF
10810 if ac_fn_c_try_link "$LINENO"; then :
10811 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10812 else
10813 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10815 rm -f core conftest.err conftest.$ac_objext \
10816 conftest$ac_exeext conftest.$ac_ext
10817 LIBS=$ac_check_lib_save_LIBS
10819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10820 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10821 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10822 OPENCL_LIBS="-lOpenCL"
10827 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10828 case "x$with_opencl" in
10829 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10830 xno) ;;
10831 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10832 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10833 esac
10835 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10837 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10838 then
10839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10840 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10841 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10842 $as_echo_n "(cached) " >&6
10843 else
10844 ac_check_lib_save_LIBS=$LIBS
10845 LIBS="-lpcap $LIBS"
10846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10847 /* end confdefs.h. */
10849 /* Override any GCC internal prototype to avoid an error.
10850 Use char because int might match the return type of a GCC
10851 builtin and then its argument prototype would still apply. */
10852 #ifdef __cplusplus
10853 extern "C"
10854 #endif
10855 char pcap_create ();
10857 main ()
10859 return pcap_create ();
10861 return 0;
10863 _ACEOF
10864 if ac_fn_c_try_link "$LINENO"; then :
10865 ac_cv_lib_pcap_pcap_create=yes
10866 else
10867 ac_cv_lib_pcap_pcap_create=no
10869 rm -f core conftest.err conftest.$ac_objext \
10870 conftest$ac_exeext conftest.$ac_ext
10871 LIBS=$ac_check_lib_save_LIBS
10873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10874 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10875 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10876 PCAP_LIBS="-lpcap"
10881 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10882 case "x$with_pcap" in
10883 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10884 xno) ;;
10885 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10886 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10887 esac
10889 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10892 if test "x$with_xml" != "xno"
10893 then
10894 if ${XML2_CFLAGS:+false} :; then :
10895 if ${PKG_CONFIG+:} false; then :
10896 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10899 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10900 if ${XML2_LIBS:+false} :; then :
10901 if ${PKG_CONFIG+:} false; then :
10902 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10905 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10906 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10907 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10908 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10909 ac_save_CPPFLAGS=$CPPFLAGS
10910 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10911 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10912 do :
10913 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10914 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10915 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10916 cat >>confdefs.h <<_ACEOF
10917 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10918 _ACEOF
10922 done
10924 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"
10925 then
10926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10927 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10928 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10929 $as_echo_n "(cached) " >&6
10930 else
10931 ac_check_lib_save_LIBS=$LIBS
10932 LIBS="-lxml2 $XML2_LIBS $LIBS"
10933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10934 /* end confdefs.h. */
10936 /* Override any GCC internal prototype to avoid an error.
10937 Use char because int might match the return type of a GCC
10938 builtin and then its argument prototype would still apply. */
10939 #ifdef __cplusplus
10940 extern "C"
10941 #endif
10942 char xmlParseMemory ();
10944 main ()
10946 return xmlParseMemory ();
10948 return 0;
10950 _ACEOF
10951 if ac_fn_c_try_link "$LINENO"; then :
10952 ac_cv_lib_xml2_xmlParseMemory=yes
10953 else
10954 ac_cv_lib_xml2_xmlParseMemory=no
10956 rm -f core conftest.err conftest.$ac_objext \
10957 conftest$ac_exeext conftest.$ac_ext
10958 LIBS=$ac_check_lib_save_LIBS
10960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10961 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10962 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10964 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10966 else
10967 XML2_LIBS=""
10970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10971 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10972 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10973 $as_echo_n "(cached) " >&6
10974 else
10975 ac_check_lib_save_LIBS=$LIBS
10976 LIBS="-lxml2 $XML2_LIBS $LIBS"
10977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10978 /* end confdefs.h. */
10980 /* Override any GCC internal prototype to avoid an error.
10981 Use char because int might match the return type of a GCC
10982 builtin and then its argument prototype would still apply. */
10983 #ifdef __cplusplus
10984 extern "C"
10985 #endif
10986 char xmlReadMemory ();
10988 main ()
10990 return xmlReadMemory ();
10992 return 0;
10994 _ACEOF
10995 if ac_fn_c_try_link "$LINENO"; then :
10996 ac_cv_lib_xml2_xmlReadMemory=yes
10997 else
10998 ac_cv_lib_xml2_xmlReadMemory=no
11000 rm -f core conftest.err conftest.$ac_objext \
11001 conftest$ac_exeext conftest.$ac_ext
11002 LIBS=$ac_check_lib_save_LIBS
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11005 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11006 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11008 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11013 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11014 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11015 $as_echo_n "(cached) " >&6
11016 else
11017 ac_check_lib_save_LIBS=$LIBS
11018 LIBS="-lxml2 $XML2_LIBS $LIBS"
11019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11020 /* end confdefs.h. */
11022 /* Override any GCC internal prototype to avoid an error.
11023 Use char because int might match the return type of a GCC
11024 builtin and then its argument prototype would still apply. */
11025 #ifdef __cplusplus
11026 extern "C"
11027 #endif
11028 char xmlNewDocPI ();
11030 main ()
11032 return xmlNewDocPI ();
11034 return 0;
11036 _ACEOF
11037 if ac_fn_c_try_link "$LINENO"; then :
11038 ac_cv_lib_xml2_xmlNewDocPI=yes
11039 else
11040 ac_cv_lib_xml2_xmlNewDocPI=no
11042 rm -f core conftest.err conftest.$ac_objext \
11043 conftest$ac_exeext conftest.$ac_ext
11044 LIBS=$ac_check_lib_save_LIBS
11046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11047 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11048 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11050 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11055 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11056 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11057 $as_echo_n "(cached) " >&6
11058 else
11059 ac_check_lib_save_LIBS=$LIBS
11060 LIBS="-lxml2 $XML2_LIBS $LIBS"
11061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11062 /* end confdefs.h. */
11064 /* Override any GCC internal prototype to avoid an error.
11065 Use char because int might match the return type of a GCC
11066 builtin and then its argument prototype would still apply. */
11067 #ifdef __cplusplus
11068 extern "C"
11069 #endif
11070 char xmlSchemaSetParserStructuredErrors ();
11072 main ()
11074 return xmlSchemaSetParserStructuredErrors ();
11076 return 0;
11078 _ACEOF
11079 if ac_fn_c_try_link "$LINENO"; then :
11080 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11081 else
11082 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11084 rm -f core conftest.err conftest.$ac_objext \
11085 conftest$ac_exeext conftest.$ac_ext
11086 LIBS=$ac_check_lib_save_LIBS
11088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11089 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11090 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11092 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11097 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11098 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11099 $as_echo_n "(cached) " >&6
11100 else
11101 ac_check_lib_save_LIBS=$LIBS
11102 LIBS="-lxml2 $XML2_LIBS $LIBS"
11103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11104 /* end confdefs.h. */
11106 /* Override any GCC internal prototype to avoid an error.
11107 Use char because int might match the return type of a GCC
11108 builtin and then its argument prototype would still apply. */
11109 #ifdef __cplusplus
11110 extern "C"
11111 #endif
11112 char xmlSchemaSetValidStructuredErrors ();
11114 main ()
11116 return xmlSchemaSetValidStructuredErrors ();
11118 return 0;
11120 _ACEOF
11121 if ac_fn_c_try_link "$LINENO"; then :
11122 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11123 else
11124 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11126 rm -f core conftest.err conftest.$ac_objext \
11127 conftest$ac_exeext conftest.$ac_ext
11128 LIBS=$ac_check_lib_save_LIBS
11130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11131 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11132 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11134 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11139 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11140 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11141 $as_echo_n "(cached) " >&6
11142 else
11143 ac_check_lib_save_LIBS=$LIBS
11144 LIBS="-lxml2 $XML2_LIBS $LIBS"
11145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11146 /* end confdefs.h. */
11148 /* Override any GCC internal prototype to avoid an error.
11149 Use char because int might match the return type of a GCC
11150 builtin and then its argument prototype would still apply. */
11151 #ifdef __cplusplus
11152 extern "C"
11153 #endif
11154 char xmlFirstElementChild ();
11156 main ()
11158 return xmlFirstElementChild ();
11160 return 0;
11162 _ACEOF
11163 if ac_fn_c_try_link "$LINENO"; then :
11164 ac_cv_lib_xml2_xmlFirstElementChild=yes
11165 else
11166 ac_cv_lib_xml2_xmlFirstElementChild=no
11168 rm -f core conftest.err conftest.$ac_objext \
11169 conftest$ac_exeext conftest.$ac_ext
11170 LIBS=$ac_check_lib_save_LIBS
11172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11173 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11174 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11176 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11180 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11182 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11184 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11188 else
11189 XML2_CFLAGS=""
11190 XML2_LIBS=""
11192 CPPFLAGS=$ac_save_CPPFLAGS
11193 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11194 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11197 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11198 case "x$with_xml" in
11199 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11200 xno) ;;
11201 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11202 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11203 esac
11206 if test "x$with_xslt" != "xno"
11207 then
11208 if ${XSLT_CFLAGS:+false} :; then :
11209 if ${PKG_CONFIG+:} false; then :
11210 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11213 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11214 if ${XSLT_LIBS:+false} :; then :
11215 if ${PKG_CONFIG+:} false; then :
11216 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11219 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11220 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11221 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11222 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11223 ac_save_CPPFLAGS=$CPPFLAGS
11224 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11225 for ac_header in libxslt/pattern.h libxslt/transform.h
11226 do :
11227 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11228 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11229 # include <libxslt/pattern.h>
11230 #endif
11232 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11233 cat >>confdefs.h <<_ACEOF
11234 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11235 _ACEOF
11239 done
11241 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11242 then
11243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11244 $as_echo_n "checking for -lxslt... " >&6; }
11245 if ${ac_cv_lib_soname_xslt+:} false; then :
11246 $as_echo_n "(cached) " >&6
11247 else
11248 ac_check_soname_save_LIBS=$LIBS
11249 LIBS="-lxslt $XSLT_LIBS $LIBS"
11250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11251 /* end confdefs.h. */
11253 /* Override any GCC internal prototype to avoid an error.
11254 Use char because int might match the return type of a GCC
11255 builtin and then its argument prototype would still apply. */
11256 #ifdef __cplusplus
11257 extern "C"
11258 #endif
11259 char xsltCompilePattern ();
11261 main ()
11263 return xsltCompilePattern ();
11265 return 0;
11267 _ACEOF
11268 if ac_fn_c_try_link "$LINENO"; then :
11269 case "$LIBEXT" in
11270 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11271 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'` ;;
11272 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11273 if ${ac_cv_lib_soname_xslt:+false} :; then :
11274 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11275 fi ;;
11276 esac
11278 rm -f core conftest.err conftest.$ac_objext \
11279 conftest$ac_exeext conftest.$ac_ext
11280 LIBS=$ac_check_soname_save_LIBS
11282 if ${ac_cv_lib_soname_xslt:+false} :; then :
11283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11284 $as_echo "not found" >&6; }
11286 else
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11288 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11290 cat >>confdefs.h <<_ACEOF
11291 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11292 _ACEOF
11296 else
11297 XSLT_CFLAGS=""
11299 CPPFLAGS=$ac_save_CPPFLAGS
11300 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11301 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11304 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11305 case "x$with_xslt" in
11306 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11307 xno) ;;
11308 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11309 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11310 esac
11313 if test "x$with_dbus" != "xno"
11314 then
11315 if ${DBUS_CFLAGS:+false} :; then :
11316 if ${PKG_CONFIG+:} false; then :
11317 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11321 if ${DBUS_LIBS:+false} :; then :
11322 if ${PKG_CONFIG+:} false; then :
11323 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11328 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11329 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11330 ac_save_CPPFLAGS=$CPPFLAGS
11331 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11332 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11333 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11335 $as_echo_n "checking for -ldbus-1... " >&6; }
11336 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11337 $as_echo_n "(cached) " >&6
11338 else
11339 ac_check_soname_save_LIBS=$LIBS
11340 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11342 /* end confdefs.h. */
11344 /* Override any GCC internal prototype to avoid an error.
11345 Use char because int might match the return type of a GCC
11346 builtin and then its argument prototype would still apply. */
11347 #ifdef __cplusplus
11348 extern "C"
11349 #endif
11350 char dbus_connection_close ();
11352 main ()
11354 return dbus_connection_close ();
11356 return 0;
11358 _ACEOF
11359 if ac_fn_c_try_link "$LINENO"; then :
11360 case "$LIBEXT" in
11361 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11362 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'` ;;
11363 *) 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'`
11364 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11365 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11366 fi ;;
11367 esac
11369 rm -f core conftest.err conftest.$ac_objext \
11370 conftest$ac_exeext conftest.$ac_ext
11371 LIBS=$ac_check_soname_save_LIBS
11373 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11375 $as_echo "not found" >&6; }
11376 DBUS_CFLAGS=""
11377 else
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11379 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11381 cat >>confdefs.h <<_ACEOF
11382 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11383 _ACEOF
11387 else
11388 DBUS_CFLAGS=""
11392 CPPFLAGS=$ac_save_CPPFLAGS
11393 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11394 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11397 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11398 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11399 case "x$with_dbus" in
11400 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11401 xno) ;;
11402 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11403 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11404 esac
11407 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11408 then
11409 if ${HAL_CFLAGS:+false} :; then :
11410 if ${PKG_CONFIG+:} false; then :
11411 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11415 if ${HAL_LIBS:+false} :; then :
11416 if ${PKG_CONFIG+:} false; then :
11417 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11421 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11422 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11423 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11424 ac_save_CPPFLAGS=$CPPFLAGS
11425 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11426 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11427 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11429 $as_echo_n "checking for -lhal... " >&6; }
11430 if ${ac_cv_lib_soname_hal+:} false; then :
11431 $as_echo_n "(cached) " >&6
11432 else
11433 ac_check_soname_save_LIBS=$LIBS
11434 LIBS="-lhal $HAL_LIBS $LIBS"
11435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11436 /* end confdefs.h. */
11438 /* Override any GCC internal prototype to avoid an error.
11439 Use char because int might match the return type of a GCC
11440 builtin and then its argument prototype would still apply. */
11441 #ifdef __cplusplus
11442 extern "C"
11443 #endif
11444 char libhal_ctx_new ();
11446 main ()
11448 return libhal_ctx_new ();
11450 return 0;
11452 _ACEOF
11453 if ac_fn_c_try_link "$LINENO"; then :
11454 case "$LIBEXT" in
11455 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11456 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'` ;;
11457 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11458 if ${ac_cv_lib_soname_hal:+false} :; then :
11459 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11460 fi ;;
11461 esac
11463 rm -f core conftest.err conftest.$ac_objext \
11464 conftest$ac_exeext conftest.$ac_ext
11465 LIBS=$ac_check_soname_save_LIBS
11467 if ${ac_cv_lib_soname_hal:+false} :; then :
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11469 $as_echo "not found" >&6; }
11470 HAL_CFLAGS=""
11471 else
11472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11473 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11475 cat >>confdefs.h <<_ACEOF
11476 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11477 _ACEOF
11481 else
11482 HAL_CFLAGS=""
11486 CPPFLAGS=$ac_save_CPPFLAGS
11487 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11488 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11490 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11491 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11492 case "x$with_hal" in
11493 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11494 xno) ;;
11495 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11496 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11497 esac
11501 if test "x$with_gnutls" != "xno"
11502 then
11503 if ${GNUTLS_CFLAGS:+false} :; then :
11504 if ${PKG_CONFIG+:} false; then :
11505 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11509 if ${GNUTLS_LIBS:+false} :; then :
11510 if ${PKG_CONFIG+:} false; then :
11511 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11516 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11517 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11518 ac_save_CPPFLAGS=$CPPFLAGS
11519 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11520 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11521 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11523 /* end confdefs.h. */
11524 #include <gnutls/gnutls.h>
11525 #include <gnutls/crypto.h>
11527 main ()
11529 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11531 return 0;
11533 _ACEOF
11534 if ac_fn_c_try_compile "$LINENO"; then :
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11536 $as_echo_n "checking for -lgnutls... " >&6; }
11537 if ${ac_cv_lib_soname_gnutls+:} false; then :
11538 $as_echo_n "(cached) " >&6
11539 else
11540 ac_check_soname_save_LIBS=$LIBS
11541 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11543 /* end confdefs.h. */
11545 /* Override any GCC internal prototype to avoid an error.
11546 Use char because int might match the return type of a GCC
11547 builtin and then its argument prototype would still apply. */
11548 #ifdef __cplusplus
11549 extern "C"
11550 #endif
11551 char gnutls_global_init ();
11553 main ()
11555 return gnutls_global_init ();
11557 return 0;
11559 _ACEOF
11560 if ac_fn_c_try_link "$LINENO"; then :
11561 case "$LIBEXT" in
11562 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11563 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'` ;;
11564 *) 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'`
11565 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11566 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'`
11567 fi ;;
11568 esac
11570 rm -f core conftest.err conftest.$ac_objext \
11571 conftest$ac_exeext conftest.$ac_ext
11572 LIBS=$ac_check_soname_save_LIBS
11574 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11576 $as_echo "not found" >&6; }
11577 GNUTLS_CFLAGS=""
11578 else
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11580 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11582 cat >>confdefs.h <<_ACEOF
11583 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11584 _ACEOF
11589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11590 else
11591 GNUTLS_CFLAGS=""
11595 CPPFLAGS=$ac_save_CPPFLAGS
11596 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11597 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11600 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11601 case "x$with_gnutls" in
11602 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11603 xno) ;;
11604 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11605 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11606 esac
11609 CURSES_LIBS=""
11610 if test "$ac_cv_header_ncurses_h" = "yes"
11611 then
11612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11613 $as_echo_n "checking for -lncurses... " >&6; }
11614 if ${ac_cv_lib_soname_ncurses+:} false; then :
11615 $as_echo_n "(cached) " >&6
11616 else
11617 ac_check_soname_save_LIBS=$LIBS
11618 LIBS="-lncurses $LIBS"
11619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11620 /* end confdefs.h. */
11622 /* Override any GCC internal prototype to avoid an error.
11623 Use char because int might match the return type of a GCC
11624 builtin and then its argument prototype would still apply. */
11625 #ifdef __cplusplus
11626 extern "C"
11627 #endif
11628 char waddch ();
11630 main ()
11632 return waddch ();
11634 return 0;
11636 _ACEOF
11637 if ac_fn_c_try_link "$LINENO"; then :
11638 case "$LIBEXT" in
11639 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11640 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'` ;;
11641 *) 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'`
11642 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11643 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11644 fi ;;
11645 esac
11647 rm -f core conftest.err conftest.$ac_objext \
11648 conftest$ac_exeext conftest.$ac_ext
11649 LIBS=$ac_check_soname_save_LIBS
11651 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11653 $as_echo "not found" >&6; }
11655 else
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11657 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11659 cat >>confdefs.h <<_ACEOF
11660 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11661 _ACEOF
11663 CURSES_LIBS="-lncurses"
11665 elif test "$ac_cv_header_curses_h" = "yes"
11666 then
11667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11668 $as_echo_n "checking for -lcurses... " >&6; }
11669 if ${ac_cv_lib_soname_curses+:} false; then :
11670 $as_echo_n "(cached) " >&6
11671 else
11672 ac_check_soname_save_LIBS=$LIBS
11673 LIBS="-lcurses $LIBS"
11674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11675 /* end confdefs.h. */
11677 /* Override any GCC internal prototype to avoid an error.
11678 Use char because int might match the return type of a GCC
11679 builtin and then its argument prototype would still apply. */
11680 #ifdef __cplusplus
11681 extern "C"
11682 #endif
11683 char waddch ();
11685 main ()
11687 return waddch ();
11689 return 0;
11691 _ACEOF
11692 if ac_fn_c_try_link "$LINENO"; then :
11693 case "$LIBEXT" in
11694 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11695 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'` ;;
11696 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11697 if ${ac_cv_lib_soname_curses:+false} :; then :
11698 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11699 fi ;;
11700 esac
11702 rm -f core conftest.err conftest.$ac_objext \
11703 conftest$ac_exeext conftest.$ac_ext
11704 LIBS=$ac_check_soname_save_LIBS
11706 if ${ac_cv_lib_soname_curses:+false} :; then :
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11708 $as_echo "not found" >&6; }
11710 else
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11712 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11714 cat >>confdefs.h <<_ACEOF
11715 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11716 _ACEOF
11718 CURSES_LIBS="-lcurses"
11721 ac_save_LIBS="$LIBS"
11722 LIBS="$LIBS $CURSES_LIBS"
11723 for ac_func in mousemask
11724 do :
11725 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11726 if test "x$ac_cv_func_mousemask" = xyes; then :
11727 cat >>confdefs.h <<_ACEOF
11728 #define HAVE_MOUSEMASK 1
11729 _ACEOF
11732 done
11734 LIBS="$ac_save_LIBS"
11735 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11736 case "x$with_curses" in
11737 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11738 xno) ;;
11739 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11740 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11741 esac
11744 if test "x$with_sane" != "xno"
11745 then
11746 if ${SANE_CFLAGS:+false} :; then :
11747 if ${PKG_CONFIG+:} false; then :
11748 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11751 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11752 if ${SANE_LIBS:+false} :; then :
11753 if ${PKG_CONFIG+:} false; then :
11754 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11757 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11759 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11760 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11761 ac_save_CPPFLAGS=$CPPFLAGS
11762 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11763 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11764 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11766 $as_echo_n "checking for -lsane... " >&6; }
11767 if ${ac_cv_lib_soname_sane+:} false; then :
11768 $as_echo_n "(cached) " >&6
11769 else
11770 ac_check_soname_save_LIBS=$LIBS
11771 LIBS="-lsane $SANE_LIBS $LIBS"
11772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11773 /* end confdefs.h. */
11775 /* Override any GCC internal prototype to avoid an error.
11776 Use char because int might match the return type of a GCC
11777 builtin and then its argument prototype would still apply. */
11778 #ifdef __cplusplus
11779 extern "C"
11780 #endif
11781 char sane_init ();
11783 main ()
11785 return sane_init ();
11787 return 0;
11789 _ACEOF
11790 if ac_fn_c_try_link "$LINENO"; then :
11791 case "$LIBEXT" in
11792 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11793 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'` ;;
11794 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11795 if ${ac_cv_lib_soname_sane:+false} :; then :
11796 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11797 fi ;;
11798 esac
11800 rm -f core conftest.err conftest.$ac_objext \
11801 conftest$ac_exeext conftest.$ac_ext
11802 LIBS=$ac_check_soname_save_LIBS
11804 if ${ac_cv_lib_soname_sane:+false} :; then :
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11806 $as_echo "not found" >&6; }
11807 SANE_CFLAGS=""
11808 else
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11810 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11812 cat >>confdefs.h <<_ACEOF
11813 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11814 _ACEOF
11818 else
11819 SANE_CFLAGS=""
11823 CPPFLAGS=$ac_save_CPPFLAGS
11824 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11825 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11828 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11829 case "x$with_sane" in
11830 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11831 xno) ;;
11832 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11833 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11834 esac
11837 if test "x$with_v4l" != "xno"
11838 then
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11840 $as_echo_n "checking for -lv4l1... " >&6; }
11841 if ${ac_cv_lib_soname_v4l1+:} false; then :
11842 $as_echo_n "(cached) " >&6
11843 else
11844 ac_check_soname_save_LIBS=$LIBS
11845 LIBS="-lv4l1 $LIBS"
11846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11847 /* end confdefs.h. */
11849 /* Override any GCC internal prototype to avoid an error.
11850 Use char because int might match the return type of a GCC
11851 builtin and then its argument prototype would still apply. */
11852 #ifdef __cplusplus
11853 extern "C"
11854 #endif
11855 char v4l1_open ();
11857 main ()
11859 return v4l1_open ();
11861 return 0;
11863 _ACEOF
11864 if ac_fn_c_try_link "$LINENO"; then :
11865 case "$LIBEXT" in
11866 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11867 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'` ;;
11868 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11869 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11870 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11871 fi ;;
11872 esac
11874 rm -f core conftest.err conftest.$ac_objext \
11875 conftest$ac_exeext conftest.$ac_ext
11876 LIBS=$ac_check_soname_save_LIBS
11878 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11880 $as_echo "not found" >&6; }
11882 else
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11884 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11886 cat >>confdefs.h <<_ACEOF
11887 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11888 _ACEOF
11893 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11894 case "x$with_v4l" in
11895 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11896 xno) ;;
11897 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11898 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11899 esac
11902 if test "x$with_gphoto" != "xno"
11903 then
11904 if ${GPHOTO2_CFLAGS:+false} :; then :
11905 if ${PKG_CONFIG+:} false; then :
11906 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11909 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11910 if ${GPHOTO2_LIBS:+false} :; then :
11911 if ${PKG_CONFIG+:} false; then :
11912 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11915 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11916 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11917 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11918 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11919 ac_save_CPPFLAGS=$CPPFLAGS
11920 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11921 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11922 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11924 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11925 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11926 $as_echo_n "(cached) " >&6
11927 else
11928 ac_check_lib_save_LIBS=$LIBS
11929 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11931 /* end confdefs.h. */
11933 /* Override any GCC internal prototype to avoid an error.
11934 Use char because int might match the return type of a GCC
11935 builtin and then its argument prototype would still apply. */
11936 #ifdef __cplusplus
11937 extern "C"
11938 #endif
11939 char gp_camera_new ();
11941 main ()
11943 return gp_camera_new ();
11945 return 0;
11947 _ACEOF
11948 if ac_fn_c_try_link "$LINENO"; then :
11949 ac_cv_lib_gphoto2_gp_camera_new=yes
11950 else
11951 ac_cv_lib_gphoto2_gp_camera_new=no
11953 rm -f core conftest.err conftest.$ac_objext \
11954 conftest$ac_exeext conftest.$ac_ext
11955 LIBS=$ac_check_lib_save_LIBS
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11958 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11959 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11961 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11963 else
11964 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11967 else
11968 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11972 CPPFLAGS=$ac_save_CPPFLAGS
11973 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11974 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11976 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11977 if ${PKG_CONFIG+:} false; then :
11978 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11981 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11982 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11983 if ${PKG_CONFIG+:} false; then :
11984 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11987 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11988 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11989 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11990 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11991 ac_save_CPPFLAGS=$CPPFLAGS
11992 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11993 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11994 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11996 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11997 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11998 $as_echo_n "(cached) " >&6
11999 else
12000 ac_check_lib_save_LIBS=$LIBS
12001 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12003 /* end confdefs.h. */
12005 /* Override any GCC internal prototype to avoid an error.
12006 Use char because int might match the return type of a GCC
12007 builtin and then its argument prototype would still apply. */
12008 #ifdef __cplusplus
12009 extern "C"
12010 #endif
12011 char gp_port_info_list_new ();
12013 main ()
12015 return gp_port_info_list_new ();
12017 return 0;
12019 _ACEOF
12020 if ac_fn_c_try_link "$LINENO"; then :
12021 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12022 else
12023 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12025 rm -f core conftest.err conftest.$ac_objext \
12026 conftest$ac_exeext conftest.$ac_ext
12027 LIBS=$ac_check_lib_save_LIBS
12029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12030 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12031 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12033 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12035 else
12036 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12039 else
12040 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12044 CPPFLAGS=$ac_save_CPPFLAGS
12045 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12046 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12049 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12050 case "x$with_gphoto" in
12051 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12052 xno) ;;
12053 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12054 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12055 esac
12057 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12058 case "x$with_gphoto" in
12059 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12060 xno) ;;
12061 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12062 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12063 esac
12067 if test "$ac_cv_header_resolv_h" = "yes"
12068 then
12069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12070 $as_echo_n "checking for resolver library... " >&6; }
12071 if ${ac_cv_have_resolv+:} false; then :
12072 $as_echo_n "(cached) " >&6
12073 else
12074 ac_save_LIBS="$LIBS"
12075 for lib in '' -lresolv
12077 LIBS="$lib $ac_save_LIBS"
12078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12079 /* end confdefs.h. */
12080 #ifdef HAVE_NETINET_IN_H
12081 #include <netinet/in.h>
12082 #endif
12083 #include <resolv.h>
12085 main ()
12087 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12089 return 0;
12091 _ACEOF
12092 if ac_fn_c_try_link "$LINENO"; then :
12093 ac_cv_have_resolv=${lib:-"none required"}
12094 else
12095 ac_cv_have_resolv="not found"
12097 rm -f core conftest.err conftest.$ac_objext \
12098 conftest$ac_exeext conftest.$ac_ext
12099 test "x$ac_cv_have_resolv" = "xnot found" || break
12100 done
12101 LIBS="$ac_save_LIBS"
12103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12104 $as_echo "$ac_cv_have_resolv" >&6; }
12106 case "$ac_cv_have_resolv" in
12107 "not found") ;;
12108 "none required")
12110 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12113 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12115 RESOLV_LIBS=$ac_cv_have_resolv
12117 esac
12120 if test "x$with_cms" != "xno"
12121 then
12122 if ${LCMS2_CFLAGS:+false} :; then :
12123 if ${PKG_CONFIG+:} false; then :
12124 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12128 if ${LCMS2_LIBS:+false} :; then :
12129 if ${PKG_CONFIG+:} false; then :
12130 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12134 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12135 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12136 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12137 ac_save_CPPFLAGS=$CPPFLAGS
12138 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12139 for ac_header in lcms2.h
12140 do :
12141 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12142 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12143 cat >>confdefs.h <<_ACEOF
12144 #define HAVE_LCMS2_H 1
12145 _ACEOF
12149 done
12151 if test "$ac_cv_header_lcms2_h" = "yes"
12152 then
12153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12154 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12155 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12156 $as_echo_n "(cached) " >&6
12157 else
12158 ac_check_lib_save_LIBS=$LIBS
12159 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12161 /* end confdefs.h. */
12163 /* Override any GCC internal prototype to avoid an error.
12164 Use char because int might match the return type of a GCC
12165 builtin and then its argument prototype would still apply. */
12166 #ifdef __cplusplus
12167 extern "C"
12168 #endif
12169 char cmsOpenProfileFromFile ();
12171 main ()
12173 return cmsOpenProfileFromFile ();
12175 return 0;
12177 _ACEOF
12178 if ac_fn_c_try_link "$LINENO"; then :
12179 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12180 else
12181 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12183 rm -f core conftest.err conftest.$ac_objext \
12184 conftest$ac_exeext conftest.$ac_ext
12185 LIBS=$ac_check_lib_save_LIBS
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12188 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12189 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12191 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12193 else
12194 LCMS2_LIBS=""
12197 else
12198 LCMS2_CFLAGS=""
12199 LCMS2_LIBS=""
12201 CPPFLAGS=$ac_save_CPPFLAGS
12202 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12203 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12206 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12207 case "x$with_cms" in
12208 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12209 xno) ;;
12210 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12211 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12212 esac
12215 if test "x$with_freetype" != "xno"
12216 then
12217 if ${FREETYPE_CFLAGS:+false} :; then :
12218 if ${PKG_CONFIG+:} false; then :
12219 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12222 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12223 if ${FREETYPE_LIBS:+false} :; then :
12224 if ${PKG_CONFIG+:} false; then :
12225 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12228 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12229 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12230 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12231 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12232 ac_save_CPPFLAGS=$CPPFLAGS
12233 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12234 for ac_header in ft2build.h
12235 do :
12236 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12237 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12238 cat >>confdefs.h <<_ACEOF
12239 #define HAVE_FT2BUILD_H 1
12240 _ACEOF
12244 done
12246 if test "$ac_cv_header_ft2build_h" = "yes"
12247 then
12248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12249 $as_echo_n "checking for -lfreetype... " >&6; }
12250 if ${ac_cv_lib_soname_freetype+:} false; then :
12251 $as_echo_n "(cached) " >&6
12252 else
12253 ac_check_soname_save_LIBS=$LIBS
12254 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12256 /* end confdefs.h. */
12258 /* Override any GCC internal prototype to avoid an error.
12259 Use char because int might match the return type of a GCC
12260 builtin and then its argument prototype would still apply. */
12261 #ifdef __cplusplus
12262 extern "C"
12263 #endif
12264 char FT_Init_FreeType ();
12266 main ()
12268 return FT_Init_FreeType ();
12270 return 0;
12272 _ACEOF
12273 if ac_fn_c_try_link "$LINENO"; then :
12274 case "$LIBEXT" in
12275 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12276 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'` ;;
12277 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12278 if ${ac_cv_lib_soname_freetype:+false} :; then :
12279 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12280 fi ;;
12281 esac
12283 rm -f core conftest.err conftest.$ac_objext \
12284 conftest$ac_exeext conftest.$ac_ext
12285 LIBS=$ac_check_soname_save_LIBS
12287 if ${ac_cv_lib_soname_freetype:+false} :; then :
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12289 $as_echo "not found" >&6; }
12290 FREETYPE_LIBS=""
12291 else
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12293 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12295 cat >>confdefs.h <<_ACEOF
12296 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12297 _ACEOF
12300 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12302 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12303 #include FT_MODULE_H
12305 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12307 cat >>confdefs.h <<_ACEOF
12308 #define HAVE_FT_TRUETYPEENGINETYPE 1
12309 _ACEOF
12315 else
12316 FREETYPE_CFLAGS=""
12317 FREETYPE_LIBS=""
12319 CPPFLAGS=$ac_save_CPPFLAGS
12320 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12321 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12324 if test "x$ac_cv_lib_soname_freetype" = x; then :
12325 case "x$with_freetype" in
12326 xno) ;;
12327 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12328 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12329 esac
12331 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12334 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12335 if ${ac_cv_c_ppdev+:} false; then :
12336 $as_echo_n "(cached) " >&6
12337 else
12338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12339 /* end confdefs.h. */
12340 #ifdef HAVE_SYS_IOCTL_H
12341 # include <sys/ioctl.h>
12342 #endif
12343 #include <linux/ppdev.h>
12345 main ()
12347 ioctl (1,PPCLAIM,0)
12349 return 0;
12351 _ACEOF
12352 if ac_fn_c_try_compile "$LINENO"; then :
12353 ac_cv_c_ppdev="yes"
12354 else
12355 ac_cv_c_ppdev="no"
12357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12360 $as_echo "$ac_cv_c_ppdev" >&6; }
12361 if test "$ac_cv_c_ppdev" = "yes"
12362 then
12364 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12368 ac_wine_check_funcs_save_LIBS="$LIBS"
12369 LIBS="$LIBS $PTHREAD_LIBS"
12370 for ac_func in \
12371 pthread_attr_get_np \
12372 pthread_getattr_np \
12373 pthread_getthreadid_np \
12374 pthread_get_stackaddr_np \
12375 pthread_get_stacksize_np
12376 do :
12377 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12378 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12379 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12380 cat >>confdefs.h <<_ACEOF
12381 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12382 _ACEOF
12385 done
12387 LIBS="$ac_wine_check_funcs_save_LIBS"
12389 if test "$ac_cv_header_zlib_h" = "yes"
12390 then
12391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12392 $as_echo_n "checking for inflate in -lz... " >&6; }
12393 if ${ac_cv_lib_z_inflate+:} false; then :
12394 $as_echo_n "(cached) " >&6
12395 else
12396 ac_check_lib_save_LIBS=$LIBS
12397 LIBS="-lz $LIBS"
12398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12399 /* end confdefs.h. */
12401 /* Override any GCC internal prototype to avoid an error.
12402 Use char because int might match the return type of a GCC
12403 builtin and then its argument prototype would still apply. */
12404 #ifdef __cplusplus
12405 extern "C"
12406 #endif
12407 char inflate ();
12409 main ()
12411 return inflate ();
12413 return 0;
12415 _ACEOF
12416 if ac_fn_c_try_link "$LINENO"; then :
12417 ac_cv_lib_z_inflate=yes
12418 else
12419 ac_cv_lib_z_inflate=no
12421 rm -f core conftest.err conftest.$ac_objext \
12422 conftest$ac_exeext conftest.$ac_ext
12423 LIBS=$ac_check_lib_save_LIBS
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12426 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12427 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12429 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12431 Z_LIBS="-lz"
12436 if test "x$Z_LIBS" = "x"; then :
12437 case "x$with_zlib" in
12438 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12439 xno) ;;
12440 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12441 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12442 esac
12445 if test "x$enable_tools" != xno
12446 then
12447 if test "$ac_cv_header_gettext_po_h" = "yes"
12448 then
12449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12450 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12451 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12452 $as_echo_n "(cached) " >&6
12453 else
12454 ac_check_lib_save_LIBS=$LIBS
12455 LIBS="-lgettextpo $LIBS"
12456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12457 /* end confdefs.h. */
12459 /* Override any GCC internal prototype to avoid an error.
12460 Use char because int might match the return type of a GCC
12461 builtin and then its argument prototype would still apply. */
12462 #ifdef __cplusplus
12463 extern "C"
12464 #endif
12465 char po_message_msgctxt ();
12467 main ()
12469 return po_message_msgctxt ();
12471 return 0;
12473 _ACEOF
12474 if ac_fn_c_try_link "$LINENO"; then :
12475 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12476 else
12477 ac_cv_lib_gettextpo_po_message_msgctxt=no
12479 rm -f core conftest.err conftest.$ac_objext \
12480 conftest$ac_exeext conftest.$ac_ext
12481 LIBS=$ac_check_lib_save_LIBS
12483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12484 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12485 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12487 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12489 GETTEXTPO_LIBS="-lgettextpo"
12494 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12495 case "x$with_gettextpo" in
12496 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12497 xno) ;;
12498 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12499 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12500 esac
12504 if test "x$with_pulse" != "xno";
12505 then
12506 if ${PULSE_CFLAGS:+false} :; then :
12507 if ${PKG_CONFIG+:} false; then :
12508 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12512 if ${PULSE_LIBS:+false} :; then :
12513 if ${PKG_CONFIG+:} false; then :
12514 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12519 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12520 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12521 ac_save_CPPFLAGS=$CPPFLAGS
12522 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12523 for ac_header in pulse/pulseaudio.h
12524 do :
12525 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12526 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12527 cat >>confdefs.h <<_ACEOF
12528 #define HAVE_PULSE_PULSEAUDIO_H 1
12529 _ACEOF
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12531 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12532 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12533 $as_echo_n "(cached) " >&6
12534 else
12535 ac_check_lib_save_LIBS=$LIBS
12536 LIBS="-lpulse $PULSE_LIBS $LIBS"
12537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12538 /* end confdefs.h. */
12540 /* Override any GCC internal prototype to avoid an error.
12541 Use char because int might match the return type of a GCC
12542 builtin and then its argument prototype would still apply. */
12543 #ifdef __cplusplus
12544 extern "C"
12545 #endif
12546 char pa_stream_is_corked ();
12548 main ()
12550 return pa_stream_is_corked ();
12552 return 0;
12554 _ACEOF
12555 if ac_fn_c_try_link "$LINENO"; then :
12556 ac_cv_lib_pulse_pa_stream_is_corked=yes
12557 else
12558 ac_cv_lib_pulse_pa_stream_is_corked=no
12560 rm -f core conftest.err conftest.$ac_objext \
12561 conftest$ac_exeext conftest.$ac_ext
12562 LIBS=$ac_check_lib_save_LIBS
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12565 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12566 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12568 else
12569 PULSE_LIBS=""
12572 else
12573 PULSE_LIBS=""
12576 done
12578 CPPFLAGS=$ac_save_CPPFLAGS
12579 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12580 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12583 if test -z "$PULSE_LIBS"; then :
12584 case "x$with_pulse" in
12585 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12586 xno) ;;
12587 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12588 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12589 esac
12591 test -n "$PULSE_LIBS" || enable_winepulse_drv=${enable_winepulse_drv:-no}
12593 if test "x$with_gstreamer" != "xno"
12594 then
12595 if ${GSTREAMER_CFLAGS:+false} :; then :
12596 if ${PKG_CONFIG+:} false; then :
12597 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12601 if ${GSTREAMER_LIBS:+false} :; then :
12602 if ${PKG_CONFIG+:} false; then :
12603 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12608 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12609 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12610 ac_save_CPPFLAGS=$CPPFLAGS
12611 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12612 ac_gst_incl=""
12613 for i in $GSTREAMER_CFLAGS
12615 case "$i" in
12616 -I*) ac_gst_incl="$ac_gst_incl $i";;
12617 esac
12618 done
12619 GSTREAMER_CFLAGS=$ac_gst_incl
12620 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12621 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12622 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12623 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12624 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12626 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12628 /* end confdefs.h. */
12629 #include <gst/app/gstappsink.h>
12631 main ()
12633 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12635 return 0;
12637 _ACEOF
12638 if ac_fn_c_try_compile "$LINENO"; then :
12639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12640 $as_echo "yes" >&6; }
12641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12642 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12643 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12644 $as_echo_n "(cached) " >&6
12645 else
12646 ac_check_lib_save_LIBS=$LIBS
12647 LIBS="-lgstreamer-0.10 $LIBS"
12648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12649 /* end confdefs.h. */
12651 /* Override any GCC internal prototype to avoid an error.
12652 Use char because int might match the return type of a GCC
12653 builtin and then its argument prototype would still apply. */
12654 #ifdef __cplusplus
12655 extern "C"
12656 #endif
12657 char gst_pad_get_caps_reffed ();
12659 main ()
12661 return gst_pad_get_caps_reffed ();
12663 return 0;
12665 _ACEOF
12666 if ac_fn_c_try_link "$LINENO"; then :
12667 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12668 else
12669 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12671 rm -f core conftest.err conftest.$ac_objext \
12672 conftest$ac_exeext conftest.$ac_ext
12673 LIBS=$ac_check_lib_save_LIBS
12675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12676 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12677 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12679 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12680 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12681 $as_echo_n "(cached) " >&6
12682 else
12683 ac_check_lib_save_LIBS=$LIBS
12684 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12686 /* end confdefs.h. */
12688 /* Override any GCC internal prototype to avoid an error.
12689 Use char because int might match the return type of a GCC
12690 builtin and then its argument prototype would still apply. */
12691 #ifdef __cplusplus
12692 extern "C"
12693 #endif
12694 char gst_app_buffer_new ();
12696 main ()
12698 return gst_app_buffer_new ();
12700 return 0;
12702 _ACEOF
12703 if ac_fn_c_try_link "$LINENO"; then :
12704 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12705 else
12706 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12708 rm -f core conftest.err conftest.$ac_objext \
12709 conftest$ac_exeext conftest.$ac_ext
12710 LIBS=$ac_check_lib_save_LIBS
12712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12713 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12714 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12720 else
12721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12722 $as_echo "no" >&6; }
12724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12728 else
12729 GSTREAMER_CFLAGS=""
12733 CPPFLAGS=$ac_save_CPPFLAGS
12734 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12735 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12738 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12739 case "x$with_gstreamer" in
12740 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12741 xno) ;;
12742 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12743 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12744 esac
12746 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12748 ALSA_LIBS=""
12750 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12751 then
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12753 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12754 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12755 $as_echo_n "(cached) " >&6
12756 else
12757 ac_check_lib_save_LIBS=$LIBS
12758 LIBS="-lasound $LIBS"
12759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12760 /* end confdefs.h. */
12762 /* Override any GCC internal prototype to avoid an error.
12763 Use char because int might match the return type of a GCC
12764 builtin and then its argument prototype would still apply. */
12765 #ifdef __cplusplus
12766 extern "C"
12767 #endif
12768 char snd_pcm_hw_params_get_access_mask ();
12770 main ()
12772 return snd_pcm_hw_params_get_access_mask ();
12774 return 0;
12776 _ACEOF
12777 if ac_fn_c_try_link "$LINENO"; then :
12778 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12779 else
12780 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12782 rm -f core conftest.err conftest.$ac_objext \
12783 conftest$ac_exeext conftest.$ac_ext
12784 LIBS=$ac_check_lib_save_LIBS
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12787 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12788 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12790 /* end confdefs.h. */
12791 #ifdef HAVE_ALSA_ASOUNDLIB_H
12792 #include <alsa/asoundlib.h>
12793 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12794 #include <sys/asoundlib.h>
12795 #endif
12797 main ()
12799 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12801 return 0;
12803 _ACEOF
12804 if ac_fn_c_try_compile "$LINENO"; then :
12805 ALSA_LIBS="-lasound"
12807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12811 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12813 if test "x$with_oss" != xno
12814 then
12815 ac_save_CPPFLAGS="$CPPFLAGS"
12816 if test -f /etc/oss.conf
12817 then
12818 . /etc/oss.conf
12820 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12821 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12822 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12823 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12824 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12826 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12828 cat >>confdefs.h <<_ACEOF
12829 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12830 _ACEOF
12832 OSS4_CFLAGS="$ac_oss_incl"
12839 CPPFLAGS="$ac_save_CPPFLAGS"
12840 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12841 then
12842 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12845 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
12847 if test "x$with_capi" != "xno"
12848 then
12849 if ${CAPI20_CFLAGS:+false} :; then :
12850 if ${PKG_CONFIG+:} false; then :
12851 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12855 if ${CAPI20_LIBS:+false} :; then :
12856 if ${PKG_CONFIG+:} false; then :
12857 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12862 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12863 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12864 ac_save_CPPFLAGS=$CPPFLAGS
12865 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12866 for ac_header in capi20.h linux/capi.h
12867 do :
12868 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12869 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12871 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12872 cat >>confdefs.h <<_ACEOF
12873 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12874 _ACEOF
12878 done
12880 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12881 then
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12883 $as_echo_n "checking for -lcapi20... " >&6; }
12884 if ${ac_cv_lib_soname_capi20+:} false; then :
12885 $as_echo_n "(cached) " >&6
12886 else
12887 ac_check_soname_save_LIBS=$LIBS
12888 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12890 /* end confdefs.h. */
12892 /* Override any GCC internal prototype to avoid an error.
12893 Use char because int might match the return type of a GCC
12894 builtin and then its argument prototype would still apply. */
12895 #ifdef __cplusplus
12896 extern "C"
12897 #endif
12898 char capi20_register ();
12900 main ()
12902 return capi20_register ();
12904 return 0;
12906 _ACEOF
12907 if ac_fn_c_try_link "$LINENO"; then :
12908 case "$LIBEXT" in
12909 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12910 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'` ;;
12911 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12912 if ${ac_cv_lib_soname_capi20:+false} :; then :
12913 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12914 fi ;;
12915 esac
12917 rm -f core conftest.err conftest.$ac_objext \
12918 conftest$ac_exeext conftest.$ac_ext
12919 LIBS=$ac_check_soname_save_LIBS
12921 if ${ac_cv_lib_soname_capi20:+false} :; then :
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12923 $as_echo "not found" >&6; }
12925 else
12926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12927 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12929 cat >>confdefs.h <<_ACEOF
12930 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12931 _ACEOF
12936 CPPFLAGS=$ac_save_CPPFLAGS
12937 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12938 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12941 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12942 case "x$with_capi" in
12943 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12944 xno) ;;
12945 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12946 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12947 esac
12950 CUPS_CFLAGS=""
12952 if test "x$with_cups" != "xno"
12953 then
12954 ac_save_CPPFLAGS="$CPPFLAGS"
12955 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12956 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12957 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12958 for ac_header in cups/cups.h
12959 do :
12960 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12961 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12962 cat >>confdefs.h <<_ACEOF
12963 #define HAVE_CUPS_CUPS_H 1
12964 _ACEOF
12965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12966 $as_echo_n "checking for -lcups... " >&6; }
12967 if ${ac_cv_lib_soname_cups+:} false; then :
12968 $as_echo_n "(cached) " >&6
12969 else
12970 ac_check_soname_save_LIBS=$LIBS
12971 LIBS="-lcups $ac_cups_libs $LIBS"
12972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12973 /* end confdefs.h. */
12975 /* Override any GCC internal prototype to avoid an error.
12976 Use char because int might match the return type of a GCC
12977 builtin and then its argument prototype would still apply. */
12978 #ifdef __cplusplus
12979 extern "C"
12980 #endif
12981 char cupsGetDefault ();
12983 main ()
12985 return cupsGetDefault ();
12987 return 0;
12989 _ACEOF
12990 if ac_fn_c_try_link "$LINENO"; then :
12991 case "$LIBEXT" in
12992 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12993 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'` ;;
12994 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12995 if ${ac_cv_lib_soname_cups:+false} :; then :
12996 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12997 fi ;;
12998 esac
13000 rm -f core conftest.err conftest.$ac_objext \
13001 conftest$ac_exeext conftest.$ac_ext
13002 LIBS=$ac_check_soname_save_LIBS
13004 if ${ac_cv_lib_soname_cups:+false} :; then :
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13006 $as_echo "not found" >&6; }
13008 else
13009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13010 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13012 cat >>confdefs.h <<_ACEOF
13013 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13014 _ACEOF
13016 CUPS_CFLAGS="$ac_cups_cflags"
13020 done
13022 CPPFLAGS="$ac_save_CPPFLAGS"
13024 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13025 case "x$with_cups" in
13026 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13027 xno) ;;
13028 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13029 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13030 esac
13033 if test "x$with_fontconfig" != "xno"
13034 then
13035 if ${FONTCONFIG_CFLAGS:+false} :; then :
13036 if ${PKG_CONFIG+:} false; then :
13037 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13040 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13041 if ${FONTCONFIG_LIBS:+false} :; then :
13042 if ${PKG_CONFIG+:} false; then :
13043 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13046 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13048 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13049 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13050 ac_save_CPPFLAGS=$CPPFLAGS
13051 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13052 for ac_header in fontconfig/fontconfig.h
13053 do :
13054 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13055 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13056 cat >>confdefs.h <<_ACEOF
13057 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13058 _ACEOF
13062 done
13064 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13065 then
13066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13067 $as_echo_n "checking for -lfontconfig... " >&6; }
13068 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13069 $as_echo_n "(cached) " >&6
13070 else
13071 ac_check_soname_save_LIBS=$LIBS
13072 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13074 /* end confdefs.h. */
13076 /* Override any GCC internal prototype to avoid an error.
13077 Use char because int might match the return type of a GCC
13078 builtin and then its argument prototype would still apply. */
13079 #ifdef __cplusplus
13080 extern "C"
13081 #endif
13082 char FcInit ();
13084 main ()
13086 return FcInit ();
13088 return 0;
13090 _ACEOF
13091 if ac_fn_c_try_link "$LINENO"; then :
13092 case "$LIBEXT" in
13093 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13094 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'` ;;
13095 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13096 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13097 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13098 fi ;;
13099 esac
13101 rm -f core conftest.err conftest.$ac_objext \
13102 conftest$ac_exeext conftest.$ac_ext
13103 LIBS=$ac_check_soname_save_LIBS
13105 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13107 $as_echo "not found" >&6; }
13108 FONTCONFIG_CFLAGS=""
13109 else
13110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13111 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13113 cat >>confdefs.h <<_ACEOF
13114 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13115 _ACEOF
13119 else
13120 FONTCONFIG_CFLAGS=""
13122 CPPFLAGS=$ac_save_CPPFLAGS
13123 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13124 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13127 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13128 case "x$with_fontconfig" in
13129 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13130 xno) ;;
13131 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13132 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13133 esac
13136 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13137 then
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13139 $as_echo_n "checking for -lgsm... " >&6; }
13140 if ${ac_cv_lib_soname_gsm+:} false; then :
13141 $as_echo_n "(cached) " >&6
13142 else
13143 ac_check_soname_save_LIBS=$LIBS
13144 LIBS="-lgsm $LIBS"
13145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13146 /* end confdefs.h. */
13148 /* Override any GCC internal prototype to avoid an error.
13149 Use char because int might match the return type of a GCC
13150 builtin and then its argument prototype would still apply. */
13151 #ifdef __cplusplus
13152 extern "C"
13153 #endif
13154 char gsm_create ();
13156 main ()
13158 return gsm_create ();
13160 return 0;
13162 _ACEOF
13163 if ac_fn_c_try_link "$LINENO"; then :
13164 case "$LIBEXT" in
13165 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13166 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'` ;;
13167 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13168 if ${ac_cv_lib_soname_gsm:+false} :; then :
13169 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13170 fi ;;
13171 esac
13173 rm -f core conftest.err conftest.$ac_objext \
13174 conftest$ac_exeext conftest.$ac_ext
13175 LIBS=$ac_check_soname_save_LIBS
13177 if ${ac_cv_lib_soname_gsm:+false} :; then :
13178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13179 $as_echo "not found" >&6; }
13181 else
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13183 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13185 cat >>confdefs.h <<_ACEOF
13186 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13187 _ACEOF
13192 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13193 case "x$with_gsm" in
13194 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13195 xno) ;;
13196 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13197 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13198 esac
13201 if test "x$with_jpeg" != "xno"
13202 then
13203 if ${JPEG_CFLAGS:+false} :; then :
13204 if ${PKG_CONFIG+:} false; then :
13205 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13209 if ${JPEG_LIBS:+false} :; then :
13210 if ${PKG_CONFIG+:} false; then :
13211 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13216 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13217 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13218 ac_save_CPPFLAGS=$CPPFLAGS
13219 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13220 for ac_header in jpeglib.h
13221 do :
13222 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13223 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13224 cat >>confdefs.h <<_ACEOF
13225 #define HAVE_JPEGLIB_H 1
13226 _ACEOF
13230 done
13232 if test "$ac_cv_header_jpeglib_h" = "yes"
13233 then
13234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13235 $as_echo_n "checking for -ljpeg... " >&6; }
13236 if ${ac_cv_lib_soname_jpeg+:} false; then :
13237 $as_echo_n "(cached) " >&6
13238 else
13239 ac_check_soname_save_LIBS=$LIBS
13240 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13242 /* end confdefs.h. */
13244 /* Override any GCC internal prototype to avoid an error.
13245 Use char because int might match the return type of a GCC
13246 builtin and then its argument prototype would still apply. */
13247 #ifdef __cplusplus
13248 extern "C"
13249 #endif
13250 char jpeg_start_decompress ();
13252 main ()
13254 return jpeg_start_decompress ();
13256 return 0;
13258 _ACEOF
13259 if ac_fn_c_try_link "$LINENO"; then :
13260 case "$LIBEXT" in
13261 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13262 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'` ;;
13263 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13264 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13265 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13266 fi ;;
13267 esac
13269 rm -f core conftest.err conftest.$ac_objext \
13270 conftest$ac_exeext conftest.$ac_ext
13271 LIBS=$ac_check_soname_save_LIBS
13273 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13275 $as_echo "not found" >&6; }
13276 JPEG_CFLAGS=""
13277 else
13278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13279 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13281 cat >>confdefs.h <<_ACEOF
13282 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13283 _ACEOF
13287 else
13288 JPEG_CFLAGS=""
13290 CPPFLAGS=$ac_save_CPPFLAGS
13291 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13292 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13295 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13296 case "x$with_jpeg" in
13297 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13298 xno) ;;
13299 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13300 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13301 esac
13304 if test "x$with_png" != "xno"
13305 then
13306 if ${PNG_CFLAGS:+false} :; then :
13307 if ${PKG_CONFIG+:} false; then :
13308 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13311 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13312 if ${PNG_LIBS:+false} :; then :
13313 if ${PKG_CONFIG+:} false; then :
13314 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13317 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13319 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13320 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13321 ac_save_CPPFLAGS=$CPPFLAGS
13322 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13323 for ac_header in png.h
13324 do :
13325 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13326 if test "x$ac_cv_header_png_h" = xyes; then :
13327 cat >>confdefs.h <<_ACEOF
13328 #define HAVE_PNG_H 1
13329 _ACEOF
13333 done
13335 if test "$ac_cv_header_png_h" = "yes"
13336 then
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13338 $as_echo_n "checking for -lpng... " >&6; }
13339 if ${ac_cv_lib_soname_png+:} false; then :
13340 $as_echo_n "(cached) " >&6
13341 else
13342 ac_check_soname_save_LIBS=$LIBS
13343 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13345 /* end confdefs.h. */
13347 /* Override any GCC internal prototype to avoid an error.
13348 Use char because int might match the return type of a GCC
13349 builtin and then its argument prototype would still apply. */
13350 #ifdef __cplusplus
13351 extern "C"
13352 #endif
13353 char png_create_read_struct ();
13355 main ()
13357 return png_create_read_struct ();
13359 return 0;
13361 _ACEOF
13362 if ac_fn_c_try_link "$LINENO"; then :
13363 case "$LIBEXT" in
13364 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13365 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'` ;;
13366 *) 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'`
13367 if ${ac_cv_lib_soname_png:+false} :; then :
13368 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13369 fi ;;
13370 esac
13372 rm -f core conftest.err conftest.$ac_objext \
13373 conftest$ac_exeext conftest.$ac_ext
13374 LIBS=$ac_check_soname_save_LIBS
13376 if ${ac_cv_lib_soname_png:+false} :; then :
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13378 $as_echo "not found" >&6; }
13379 PNG_CFLAGS=""
13380 else
13381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13382 $as_echo "$ac_cv_lib_soname_png" >&6; }
13384 cat >>confdefs.h <<_ACEOF
13385 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13386 _ACEOF
13388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13389 /* end confdefs.h. */
13390 #include <png.h>
13392 main ()
13394 typeof(png_set_expand_gray_1_2_4_to_8) *p
13396 return 0;
13398 _ACEOF
13399 if ac_fn_c_try_compile "$LINENO"; then :
13401 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13406 else
13407 PNG_CFLAGS=""
13409 CPPFLAGS=$ac_save_CPPFLAGS
13410 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13411 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13414 if test "x$ac_cv_lib_soname_png" = "x"; then :
13415 case "x$with_png" in
13416 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13417 xno) ;;
13418 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13419 This is an error since --with-png was requested." "$LINENO" 5 ;;
13420 esac
13423 if test "x$with_tiff" != "xno"
13424 then
13425 if ${TIFF_CFLAGS:+false} :; then :
13426 if ${PKG_CONFIG+:} false; then :
13427 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13431 if ${TIFF_LIBS:+false} :; then :
13432 if ${PKG_CONFIG+:} false; then :
13433 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13438 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13439 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13440 ac_save_CPPFLAGS=$CPPFLAGS
13441 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13442 for ac_header in tiffio.h
13443 do :
13444 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13445 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13446 cat >>confdefs.h <<_ACEOF
13447 #define HAVE_TIFFIO_H 1
13448 _ACEOF
13452 done
13454 if test "$ac_cv_header_tiffio_h" = "yes"
13455 then
13456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13457 $as_echo_n "checking for -ltiff... " >&6; }
13458 if ${ac_cv_lib_soname_tiff+:} false; then :
13459 $as_echo_n "(cached) " >&6
13460 else
13461 ac_check_soname_save_LIBS=$LIBS
13462 LIBS="-ltiff $TIFF_LIBS $LIBS"
13463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13464 /* end confdefs.h. */
13466 /* Override any GCC internal prototype to avoid an error.
13467 Use char because int might match the return type of a GCC
13468 builtin and then its argument prototype would still apply. */
13469 #ifdef __cplusplus
13470 extern "C"
13471 #endif
13472 char TIFFClientOpen ();
13474 main ()
13476 return TIFFClientOpen ();
13478 return 0;
13480 _ACEOF
13481 if ac_fn_c_try_link "$LINENO"; then :
13482 case "$LIBEXT" in
13483 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13484 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'` ;;
13485 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13486 if ${ac_cv_lib_soname_tiff:+false} :; then :
13487 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13488 fi ;;
13489 esac
13491 rm -f core conftest.err conftest.$ac_objext \
13492 conftest$ac_exeext conftest.$ac_ext
13493 LIBS=$ac_check_soname_save_LIBS
13495 if ${ac_cv_lib_soname_tiff:+false} :; then :
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13497 $as_echo "not found" >&6; }
13499 else
13500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13501 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13503 cat >>confdefs.h <<_ACEOF
13504 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13505 _ACEOF
13510 CPPFLAGS=$ac_save_CPPFLAGS
13511 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13512 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13515 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13516 case "x$with_tiff" in
13517 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13518 xno) ;;
13519 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13520 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13521 esac
13524 if test "x$with_mpg123" != "xno"
13525 then
13526 if ${MPG123_CFLAGS:+false} :; then :
13527 if ${PKG_CONFIG+:} false; then :
13528 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13532 if ${MPG123_LIBS:+false} :; then :
13533 if ${PKG_CONFIG+:} false; then :
13534 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13538 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13539 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13540 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13541 ac_save_CPPFLAGS=$CPPFLAGS
13542 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13543 for ac_header in mpg123.h
13544 do :
13545 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13546 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13547 cat >>confdefs.h <<_ACEOF
13548 #define HAVE_MPG123_H 1
13549 _ACEOF
13553 done
13555 if test "$ac_cv_header_mpg123_h" = "yes"
13556 then
13557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13558 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13559 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13560 $as_echo_n "(cached) " >&6
13561 else
13562 ac_check_lib_save_LIBS=$LIBS
13563 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13565 /* end confdefs.h. */
13567 /* Override any GCC internal prototype to avoid an error.
13568 Use char because int might match the return type of a GCC
13569 builtin and then its argument prototype would still apply. */
13570 #ifdef __cplusplus
13571 extern "C"
13572 #endif
13573 char mpg123_feed ();
13575 main ()
13577 return mpg123_feed ();
13579 return 0;
13581 _ACEOF
13582 if ac_fn_c_try_link "$LINENO"; then :
13583 ac_cv_lib_mpg123_mpg123_feed=yes
13584 else
13585 ac_cv_lib_mpg123_mpg123_feed=no
13587 rm -f core conftest.err conftest.$ac_objext \
13588 conftest$ac_exeext conftest.$ac_ext
13589 LIBS=$ac_check_lib_save_LIBS
13591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13592 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13593 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13595 else
13596 MPG123_LIBS=""
13599 else
13600 MPG123_CFLAGS=""
13601 MPG123_LIBS=""
13603 CPPFLAGS=$ac_save_CPPFLAGS
13604 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13605 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13608 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13609 case "x$with_mpg123" in
13610 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13611 xno) ;;
13612 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13613 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13614 esac
13616 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}
13618 if test "$ac_cv_header_AL_al_h" = "yes"
13619 then
13620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13621 $as_echo_n "checking for -lopenal... " >&6; }
13622 if ${ac_cv_lib_soname_openal+:} false; then :
13623 $as_echo_n "(cached) " >&6
13624 else
13625 ac_check_soname_save_LIBS=$LIBS
13626 LIBS="-lopenal $LIBS"
13627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13628 /* end confdefs.h. */
13630 /* Override any GCC internal prototype to avoid an error.
13631 Use char because int might match the return type of a GCC
13632 builtin and then its argument prototype would still apply. */
13633 #ifdef __cplusplus
13634 extern "C"
13635 #endif
13636 char alGetSource3i ();
13638 main ()
13640 return alGetSource3i ();
13642 return 0;
13644 _ACEOF
13645 if ac_fn_c_try_link "$LINENO"; then :
13646 case "$LIBEXT" in
13647 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13648 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'` ;;
13649 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13650 if ${ac_cv_lib_soname_openal:+false} :; then :
13651 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13652 fi ;;
13653 esac
13655 rm -f core conftest.err conftest.$ac_objext \
13656 conftest$ac_exeext conftest.$ac_ext
13657 LIBS=$ac_check_soname_save_LIBS
13659 if ${ac_cv_lib_soname_openal:+false} :; then :
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13661 $as_echo "not found" >&6; }
13663 else
13664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13665 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13667 cat >>confdefs.h <<_ACEOF
13668 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13669 _ACEOF
13671 OPENAL_LIBS="-lopenal"
13673 ac_cv_lib_openal=yes
13675 cat >>confdefs.h <<_ACEOF
13676 #define HAVE_OPENAL 1
13677 _ACEOF
13681 if test "x$ac_cv_lib_openal" != xyes; then :
13682 case "x$with_openal" in
13683 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13684 xno) ;;
13685 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13686 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13687 esac
13689 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13691 if test "x$ac_cv_lib_openal" = xyes
13692 then
13693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13694 $as_echo_n "checking for openal-soft... " >&6; }
13695 if ${ac_cv_have_openalsoft+:} false; then :
13696 $as_echo_n "(cached) " >&6
13697 else
13698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13699 /* end confdefs.h. */
13700 #include <AL/al.h>
13701 #include <AL/alc.h>
13702 #include <AL/alext.h>
13703 LPALCRENDERSAMPLESSOFT x;
13705 main ()
13709 return 0;
13711 _ACEOF
13712 if ac_fn_c_try_compile "$LINENO"; then :
13713 ac_cv_have_openalsoft=yes
13714 else
13715 ac_cv_have_openalsoft=no
13717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13720 $as_echo "$ac_cv_have_openalsoft" >&6; }
13722 if test "x$ac_cv_have_openalsoft" != xyes
13723 then
13724 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13725 enable_xaudio2_7=${enable_xaudio2_7:-no}
13728 if test "$ac_cv_header_kstat_h" = "yes"
13729 then
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13731 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13732 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13733 $as_echo_n "(cached) " >&6
13734 else
13735 ac_check_lib_save_LIBS=$LIBS
13736 LIBS="-lkstat $LIBS"
13737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13738 /* end confdefs.h. */
13740 /* Override any GCC internal prototype to avoid an error.
13741 Use char because int might match the return type of a GCC
13742 builtin and then its argument prototype would still apply. */
13743 #ifdef __cplusplus
13744 extern "C"
13745 #endif
13746 char kstat_open ();
13748 main ()
13750 return kstat_open ();
13752 return 0;
13754 _ACEOF
13755 if ac_fn_c_try_link "$LINENO"; then :
13756 ac_cv_lib_kstat_kstat_open=yes
13757 else
13758 ac_cv_lib_kstat_kstat_open=no
13760 rm -f core conftest.err conftest.$ac_objext \
13761 conftest$ac_exeext conftest.$ac_ext
13762 LIBS=$ac_check_lib_save_LIBS
13764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13765 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13766 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13768 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13770 KSTAT_LIBS="-lkstat"
13776 if test "$ac_cv_header_libprocstat_h" = "yes"
13777 then
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13779 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13780 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13781 $as_echo_n "(cached) " >&6
13782 else
13783 ac_check_lib_save_LIBS=$LIBS
13784 LIBS="-lprocstat $LIBS"
13785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13786 /* end confdefs.h. */
13788 /* Override any GCC internal prototype to avoid an error.
13789 Use char because int might match the return type of a GCC
13790 builtin and then its argument prototype would still apply. */
13791 #ifdef __cplusplus
13792 extern "C"
13793 #endif
13794 char procstat_open_sysctl ();
13796 main ()
13798 return procstat_open_sysctl ();
13800 return 0;
13802 _ACEOF
13803 if ac_fn_c_try_link "$LINENO"; then :
13804 ac_cv_lib_procstat_procstat_open_sysctl=yes
13805 else
13806 ac_cv_lib_procstat_procstat_open_sysctl=no
13808 rm -f core conftest.err conftest.$ac_objext \
13809 conftest$ac_exeext conftest.$ac_ext
13810 LIBS=$ac_check_lib_save_LIBS
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13813 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13814 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13816 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13818 PROCSTAT_LIBS="-lprocstat"
13824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13825 $as_echo_n "checking for -lodbc... " >&6; }
13826 if ${ac_cv_lib_soname_odbc+:} false; then :
13827 $as_echo_n "(cached) " >&6
13828 else
13829 ac_check_soname_save_LIBS=$LIBS
13830 LIBS="-lodbc $LIBS"
13831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13832 /* end confdefs.h. */
13834 /* Override any GCC internal prototype to avoid an error.
13835 Use char because int might match the return type of a GCC
13836 builtin and then its argument prototype would still apply. */
13837 #ifdef __cplusplus
13838 extern "C"
13839 #endif
13840 char SQLConnect ();
13842 main ()
13844 return SQLConnect ();
13846 return 0;
13848 _ACEOF
13849 if ac_fn_c_try_link "$LINENO"; then :
13850 case "$LIBEXT" in
13851 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13852 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'` ;;
13853 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13854 if ${ac_cv_lib_soname_odbc:+false} :; then :
13855 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13856 fi ;;
13857 esac
13859 rm -f core conftest.err conftest.$ac_objext \
13860 conftest$ac_exeext conftest.$ac_ext
13861 LIBS=$ac_check_soname_save_LIBS
13863 if ${ac_cv_lib_soname_odbc:+false} :; then :
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13865 $as_echo "not found" >&6; }
13866 cat >>confdefs.h <<_ACEOF
13867 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13868 _ACEOF
13870 else
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13872 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13874 cat >>confdefs.h <<_ACEOF
13875 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13876 _ACEOF
13881 if test "x$with_netapi" != "xno"
13882 then
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13884 $as_echo_n "checking for -lnetapi... " >&6; }
13885 if ${ac_cv_lib_soname_netapi+:} false; then :
13886 $as_echo_n "(cached) " >&6
13887 else
13888 ac_check_soname_save_LIBS=$LIBS
13889 LIBS="-lnetapi $LIBS"
13890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13891 /* end confdefs.h. */
13893 /* Override any GCC internal prototype to avoid an error.
13894 Use char because int might match the return type of a GCC
13895 builtin and then its argument prototype would still apply. */
13896 #ifdef __cplusplus
13897 extern "C"
13898 #endif
13899 char libnetapi_init ();
13901 main ()
13903 return libnetapi_init ();
13905 return 0;
13907 _ACEOF
13908 if ac_fn_c_try_link "$LINENO"; then :
13909 case "$LIBEXT" in
13910 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13911 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'` ;;
13912 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13913 if ${ac_cv_lib_soname_netapi:+false} :; then :
13914 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13915 fi ;;
13916 esac
13918 rm -f core conftest.err conftest.$ac_objext \
13919 conftest$ac_exeext conftest.$ac_ext
13920 LIBS=$ac_check_soname_save_LIBS
13922 if ${ac_cv_lib_soname_netapi:+false} :; then :
13923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13924 $as_echo "not found" >&6; }
13925 cat >>confdefs.h <<_ACEOF
13926 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13927 _ACEOF
13929 else
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13931 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13933 cat >>confdefs.h <<_ACEOF
13934 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13935 _ACEOF
13941 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
13942 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
13943 then
13944 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13948 EXTRACFLAGS=""
13950 if test "x${GCC}" = "xyes"
13951 then
13952 EXTRACFLAGS="-Wall -pipe"
13954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13955 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13956 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13957 $as_echo_n "(cached) " >&6
13958 else
13959 if test "$cross_compiling" = yes; then :
13960 ac_cv_c_gcc_strength_bug="no"
13961 else
13962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13963 /* end confdefs.h. */
13964 int L[4] = {0,1,2,3};
13966 main ()
13968 static int Array[3];
13969 unsigned int B = 3;
13970 int i;
13971 for(i=0; i<B; i++) Array[i] = i - 3;
13972 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13973 L[i] = 4;
13974 return (Array[1] != -2 || L[2] != 3)
13976 return 0;
13978 _ACEOF
13979 if ac_fn_c_try_run "$LINENO"; then :
13980 ac_cv_c_gcc_strength_bug="no"
13981 else
13982 ac_cv_c_gcc_strength_bug="yes"
13984 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13985 conftest.$ac_objext conftest.beam conftest.$ac_ext
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13990 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13991 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13992 then
13993 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13997 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13998 if ${ac_cv_cflags__fno_builtin+:} false; then :
13999 $as_echo_n "(cached) " >&6
14000 else
14001 ac_wine_try_cflags_saved=$CFLAGS
14002 CFLAGS="$CFLAGS -fno-builtin"
14003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14004 /* end confdefs.h. */
14005 int main(int argc, char **argv) { return 0; }
14006 _ACEOF
14007 if ac_fn_c_try_link "$LINENO"; then :
14008 ac_cv_cflags__fno_builtin=yes
14009 else
14010 ac_cv_cflags__fno_builtin=no
14012 rm -f core conftest.err conftest.$ac_objext \
14013 conftest$ac_exeext conftest.$ac_ext
14014 CFLAGS=$ac_wine_try_cflags_saved
14016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14017 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14018 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14019 BUILTINFLAG="-fno-builtin"
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14023 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14024 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14025 $as_echo_n "(cached) " >&6
14026 else
14027 ac_wine_try_cflags_saved=$CFLAGS
14028 CFLAGS="$CFLAGS -fno-strict-aliasing"
14029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14030 /* end confdefs.h. */
14031 int main(int argc, char **argv) { return 0; }
14032 _ACEOF
14033 if ac_fn_c_try_link "$LINENO"; then :
14034 ac_cv_cflags__fno_strict_aliasing=yes
14035 else
14036 ac_cv_cflags__fno_strict_aliasing=no
14038 rm -f core conftest.err conftest.$ac_objext \
14039 conftest$ac_exeext conftest.$ac_ext
14040 CFLAGS=$ac_wine_try_cflags_saved
14042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14043 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14044 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14045 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14048 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14049 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14050 $as_echo_n "(cached) " >&6
14051 else
14052 ac_wine_try_cflags_saved=$CFLAGS
14053 CFLAGS="$CFLAGS -fexcess-precision=standard"
14054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14055 /* end confdefs.h. */
14056 int main(int argc, char **argv) { return 0; }
14057 _ACEOF
14058 if ac_fn_c_try_link "$LINENO"; then :
14059 ac_cv_cflags__fexcess_precision_standard=yes
14060 else
14061 ac_cv_cflags__fexcess_precision_standard=no
14063 rm -f core conftest.err conftest.$ac_objext \
14064 conftest$ac_exeext conftest.$ac_ext
14065 CFLAGS=$ac_wine_try_cflags_saved
14067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14068 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14069 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14070 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14073 saved_CFLAGS=$CFLAGS
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14075 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14076 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14077 $as_echo_n "(cached) " >&6
14078 else
14079 ac_wine_try_cflags_saved=$CFLAGS
14080 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14082 /* end confdefs.h. */
14083 int main(int argc, char **argv) { return 0; }
14084 _ACEOF
14085 if ac_fn_c_try_link "$LINENO"; then :
14086 ac_cv_cflags__Werror_unknown_warning_option=yes
14087 else
14088 ac_cv_cflags__Werror_unknown_warning_option=no
14090 rm -f core conftest.err conftest.$ac_objext \
14091 conftest$ac_exeext conftest.$ac_ext
14092 CFLAGS=$ac_wine_try_cflags_saved
14094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14095 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14096 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14097 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14100 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14101 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14102 $as_echo_n "(cached) " >&6
14103 else
14104 ac_wine_try_cflags_saved=$CFLAGS
14105 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14107 /* end confdefs.h. */
14108 int main(int argc, char **argv) { return 0; }
14109 _ACEOF
14110 if ac_fn_c_try_link "$LINENO"; then :
14111 ac_cv_cflags__Wdeclaration_after_statement=yes
14112 else
14113 ac_cv_cflags__Wdeclaration_after_statement=no
14115 rm -f core conftest.err conftest.$ac_objext \
14116 conftest$ac_exeext conftest.$ac_ext
14117 CFLAGS=$ac_wine_try_cflags_saved
14119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14120 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14121 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14122 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14125 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14126 if ${ac_cv_cflags__Wempty_body+:} false; then :
14127 $as_echo_n "(cached) " >&6
14128 else
14129 ac_wine_try_cflags_saved=$CFLAGS
14130 CFLAGS="$CFLAGS -Wempty-body"
14131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14132 /* end confdefs.h. */
14133 int main(int argc, char **argv) { return 0; }
14134 _ACEOF
14135 if ac_fn_c_try_link "$LINENO"; then :
14136 ac_cv_cflags__Wempty_body=yes
14137 else
14138 ac_cv_cflags__Wempty_body=no
14140 rm -f core conftest.err conftest.$ac_objext \
14141 conftest$ac_exeext conftest.$ac_ext
14142 CFLAGS=$ac_wine_try_cflags_saved
14144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14145 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14146 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14147 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14150 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14151 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14152 $as_echo_n "(cached) " >&6
14153 else
14154 ac_wine_try_cflags_saved=$CFLAGS
14155 CFLAGS="$CFLAGS -Wignored-qualifiers"
14156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14157 /* end confdefs.h. */
14158 int main(int argc, char **argv) { return 0; }
14159 _ACEOF
14160 if ac_fn_c_try_link "$LINENO"; then :
14161 ac_cv_cflags__Wignored_qualifiers=yes
14162 else
14163 ac_cv_cflags__Wignored_qualifiers=no
14165 rm -f core conftest.err conftest.$ac_objext \
14166 conftest$ac_exeext conftest.$ac_ext
14167 CFLAGS=$ac_wine_try_cflags_saved
14169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14170 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14171 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14172 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14175 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14176 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14177 $as_echo_n "(cached) " >&6
14178 else
14179 ac_wine_try_cflags_saved=$CFLAGS
14180 CFLAGS="$CFLAGS -Wshift-overflow=2"
14181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14182 /* end confdefs.h. */
14183 int main(int argc, char **argv) { return 0; }
14184 _ACEOF
14185 if ac_fn_c_try_link "$LINENO"; then :
14186 ac_cv_cflags__Wshift_overflow_2=yes
14187 else
14188 ac_cv_cflags__Wshift_overflow_2=no
14190 rm -f core conftest.err conftest.$ac_objext \
14191 conftest$ac_exeext conftest.$ac_ext
14192 CFLAGS=$ac_wine_try_cflags_saved
14194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14195 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14196 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14197 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14200 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14201 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14202 $as_echo_n "(cached) " >&6
14203 else
14204 ac_wine_try_cflags_saved=$CFLAGS
14205 CFLAGS="$CFLAGS -Wstrict-prototypes"
14206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14207 /* end confdefs.h. */
14208 int main(int argc, char **argv) { return 0; }
14209 _ACEOF
14210 if ac_fn_c_try_link "$LINENO"; then :
14211 ac_cv_cflags__Wstrict_prototypes=yes
14212 else
14213 ac_cv_cflags__Wstrict_prototypes=no
14215 rm -f core conftest.err conftest.$ac_objext \
14216 conftest$ac_exeext conftest.$ac_ext
14217 CFLAGS=$ac_wine_try_cflags_saved
14219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14220 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14221 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14222 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14225 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14226 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14227 $as_echo_n "(cached) " >&6
14228 else
14229 ac_wine_try_cflags_saved=$CFLAGS
14230 CFLAGS="$CFLAGS -Wtype-limits"
14231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14232 /* end confdefs.h. */
14233 int main(int argc, char **argv) { return 0; }
14234 _ACEOF
14235 if ac_fn_c_try_link "$LINENO"; then :
14236 ac_cv_cflags__Wtype_limits=yes
14237 else
14238 ac_cv_cflags__Wtype_limits=no
14240 rm -f core conftest.err conftest.$ac_objext \
14241 conftest$ac_exeext conftest.$ac_ext
14242 CFLAGS=$ac_wine_try_cflags_saved
14244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14245 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14246 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14247 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14250 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14251 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14252 $as_echo_n "(cached) " >&6
14253 else
14254 ac_wine_try_cflags_saved=$CFLAGS
14255 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14257 /* end confdefs.h. */
14258 int main(int argc, char **argv) { return 0; }
14259 _ACEOF
14260 if ac_fn_c_try_link "$LINENO"; then :
14261 ac_cv_cflags__Wunused_but_set_parameter=yes
14262 else
14263 ac_cv_cflags__Wunused_but_set_parameter=no
14265 rm -f core conftest.err conftest.$ac_objext \
14266 conftest$ac_exeext conftest.$ac_ext
14267 CFLAGS=$ac_wine_try_cflags_saved
14269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14270 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14271 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14272 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14275 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14276 if ${ac_cv_cflags__Wvla+:} false; then :
14277 $as_echo_n "(cached) " >&6
14278 else
14279 ac_wine_try_cflags_saved=$CFLAGS
14280 CFLAGS="$CFLAGS -Wvla"
14281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14282 /* end confdefs.h. */
14283 int main(int argc, char **argv) { return 0; }
14284 _ACEOF
14285 if ac_fn_c_try_link "$LINENO"; then :
14286 ac_cv_cflags__Wvla=yes
14287 else
14288 ac_cv_cflags__Wvla=no
14290 rm -f core conftest.err conftest.$ac_objext \
14291 conftest$ac_exeext conftest.$ac_ext
14292 CFLAGS=$ac_wine_try_cflags_saved
14294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14295 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14296 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14297 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14300 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14301 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14302 $as_echo_n "(cached) " >&6
14303 else
14304 ac_wine_try_cflags_saved=$CFLAGS
14305 CFLAGS="$CFLAGS -Wwrite-strings"
14306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14307 /* end confdefs.h. */
14308 int main(int argc, char **argv) { return 0; }
14309 _ACEOF
14310 if ac_fn_c_try_link "$LINENO"; then :
14311 ac_cv_cflags__Wwrite_strings=yes
14312 else
14313 ac_cv_cflags__Wwrite_strings=no
14315 rm -f core conftest.err conftest.$ac_objext \
14316 conftest$ac_exeext conftest.$ac_ext
14317 CFLAGS=$ac_wine_try_cflags_saved
14319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14320 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14321 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14322 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14326 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14327 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14328 $as_echo_n "(cached) " >&6
14329 else
14330 ac_wine_try_cflags_saved=$CFLAGS
14331 CFLAGS="$CFLAGS -Wpointer-arith"
14332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14333 /* end confdefs.h. */
14334 int main(int argc, char **argv) { return 0; }
14335 _ACEOF
14336 if ac_fn_c_try_link "$LINENO"; then :
14337 ac_cv_cflags__Wpointer_arith=yes
14338 else
14339 ac_cv_cflags__Wpointer_arith=no
14341 rm -f core conftest.err conftest.$ac_objext \
14342 conftest$ac_exeext conftest.$ac_ext
14343 CFLAGS=$ac_wine_try_cflags_saved
14345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14346 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14347 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14348 saved_string_h_CFLAGS=$CFLAGS
14349 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14351 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14352 if ${ac_cv_c_string_h_warnings+:} false; then :
14353 $as_echo_n "(cached) " >&6
14354 else
14355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14356 /* end confdefs.h. */
14357 #include <string.h>
14359 main ()
14363 return 0;
14365 _ACEOF
14366 if ac_fn_c_try_compile "$LINENO"; then :
14367 ac_cv_c_string_h_warnings=no
14368 else
14369 ac_cv_c_string_h_warnings=yes
14371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14374 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14375 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14376 CFLAGS=$saved_string_h_CFLAGS
14379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14380 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14381 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14382 $as_echo_n "(cached) " >&6
14383 else
14384 ac_wine_try_cflags_saved=$CFLAGS
14385 CFLAGS="$CFLAGS -Wlogical-op"
14386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14387 /* end confdefs.h. */
14388 int main(int argc, char **argv) { return 0; }
14389 _ACEOF
14390 if ac_fn_c_try_link "$LINENO"; then :
14391 ac_cv_cflags__Wlogical_op=yes
14392 else
14393 ac_cv_cflags__Wlogical_op=no
14395 rm -f core conftest.err conftest.$ac_objext \
14396 conftest$ac_exeext conftest.$ac_ext
14397 CFLAGS=$ac_wine_try_cflags_saved
14399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14400 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14401 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14402 saved_string_h_CFLAGS=$CFLAGS
14403 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14405 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14406 if ${ac_cv_c_logicalop_noisy+:} false; then :
14407 $as_echo_n "(cached) " >&6
14408 else
14409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14410 /* end confdefs.h. */
14411 #include <string.h>
14412 char*f(const char *h,char n) {return strchr(h,n);}
14414 main ()
14418 return 0;
14420 _ACEOF
14421 if ac_fn_c_try_compile "$LINENO"; then :
14422 ac_cv_c_logicalop_noisy=no
14423 else
14424 ac_cv_c_logicalop_noisy=yes
14426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14429 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14430 CFLAGS=$saved_string_h_CFLAGS
14431 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14434 CFLAGS=$saved_CFLAGS
14436 for ac_flag in $CFLAGS; do
14437 case $ac_flag in
14438 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14439 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14440 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14441 $as_echo_n "(cached) " >&6
14442 else
14443 ac_wine_try_cflags_saved=$CFLAGS
14444 CFLAGS="$CFLAGS -gdwarf-2"
14445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14446 /* end confdefs.h. */
14447 int main(int argc, char **argv) { return 0; }
14448 _ACEOF
14449 if ac_fn_c_try_link "$LINENO"; then :
14450 ac_cv_cflags__gdwarf_2=yes
14451 else
14452 ac_cv_cflags__gdwarf_2=no
14454 rm -f core conftest.err conftest.$ac_objext \
14455 conftest$ac_exeext conftest.$ac_ext
14456 CFLAGS=$ac_wine_try_cflags_saved
14458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14459 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14460 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14461 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14464 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14465 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14466 $as_echo_n "(cached) " >&6
14467 else
14468 ac_wine_try_cflags_saved=$CFLAGS
14469 CFLAGS="$CFLAGS -gstrict-dwarf"
14470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14471 /* end confdefs.h. */
14472 int main(int argc, char **argv) { return 0; }
14473 _ACEOF
14474 if ac_fn_c_try_link "$LINENO"; then :
14475 ac_cv_cflags__gstrict_dwarf=yes
14476 else
14477 ac_cv_cflags__gstrict_dwarf=no
14479 rm -f core conftest.err conftest.$ac_objext \
14480 conftest$ac_exeext conftest.$ac_ext
14481 CFLAGS=$ac_wine_try_cflags_saved
14483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14484 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14485 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14486 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14487 fi ;;
14488 esac
14489 done
14491 case $host_cpu in
14492 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14493 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14494 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14495 $as_echo_n "(cached) " >&6
14496 else
14497 ac_wine_try_cflags_saved=$CFLAGS
14498 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14500 /* end confdefs.h. */
14501 int main(int argc, char **argv) { return 0; }
14502 _ACEOF
14503 if ac_fn_c_try_link "$LINENO"; then :
14504 ac_cv_cflags__fno_omit_frame_pointer=yes
14505 else
14506 ac_cv_cflags__fno_omit_frame_pointer=no
14508 rm -f core conftest.err conftest.$ac_objext \
14509 conftest$ac_exeext conftest.$ac_ext
14510 CFLAGS=$ac_wine_try_cflags_saved
14512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14513 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14514 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14515 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14516 fi ;;
14517 esac
14519 case $host in
14520 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14521 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14522 if ${ac_cv_cflags__Wno_format+:} false; then :
14523 $as_echo_n "(cached) " >&6
14524 else
14525 ac_wine_try_cflags_saved=$CFLAGS
14526 CFLAGS="$CFLAGS -Wno-format"
14527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14528 /* end confdefs.h. */
14529 int main(int argc, char **argv) { return 0; }
14530 _ACEOF
14531 if ac_fn_c_try_link "$LINENO"; then :
14532 ac_cv_cflags__Wno_format=yes
14533 else
14534 ac_cv_cflags__Wno_format=no
14536 rm -f core conftest.err conftest.$ac_objext \
14537 conftest$ac_exeext conftest.$ac_ext
14538 CFLAGS=$ac_wine_try_cflags_saved
14540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14541 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14542 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14543 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14544 fi ;;
14545 esac
14547 if test "x$enable_maintainer_mode" = "xyes"
14548 then
14549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14550 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14551 if ${ac_cv_cflags__Werror+:} false; then :
14552 $as_echo_n "(cached) " >&6
14553 else
14554 ac_wine_try_cflags_saved=$CFLAGS
14555 CFLAGS="$CFLAGS -Werror"
14556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14557 /* end confdefs.h. */
14558 int main(int argc, char **argv) { return 0; }
14559 _ACEOF
14560 if ac_fn_c_try_link "$LINENO"; then :
14561 ac_cv_cflags__Werror=yes
14562 else
14563 ac_cv_cflags__Werror=no
14565 rm -f core conftest.err conftest.$ac_objext \
14566 conftest$ac_exeext conftest.$ac_ext
14567 CFLAGS=$ac_wine_try_cflags_saved
14569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14570 $as_echo "$ac_cv_cflags__Werror" >&6; }
14571 if test "x$ac_cv_cflags__Werror" = xyes; then :
14572 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14576 saved_CFLAGS="$CFLAGS"
14577 CFLAGS="$CFLAGS -Werror"
14578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14579 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14580 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14581 $as_echo_n "(cached) " >&6
14582 else
14583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14584 /* end confdefs.h. */
14585 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14587 main ()
14591 return 0;
14593 _ACEOF
14594 if ac_fn_c_try_compile "$LINENO"; then :
14595 ac_cv_have_ms_hook_prologue="yes"
14596 else
14597 ac_cv_have_ms_hook_prologue="no"
14599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14602 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14603 CFLAGS="$saved_CFLAGS"
14604 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14605 then
14607 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14609 else
14610 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14617 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14618 if ${ac_cv_c_fortify_enabled+:} false; then :
14619 $as_echo_n "(cached) " >&6
14620 else
14621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14622 /* end confdefs.h. */
14623 #include <string.h>
14625 main ()
14627 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14628 #error Fortify enabled
14629 #endif
14631 return 0;
14633 _ACEOF
14634 if ac_fn_c_try_compile "$LINENO"; then :
14635 ac_cv_c_fortify_enabled=no
14636 else
14637 ac_cv_c_fortify_enabled=yes
14639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14642 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14643 if test "$ac_cv_c_fortify_enabled" = yes
14644 then
14645 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14650 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14651 if ${ac_cv_c_extern_prefix+:} false; then :
14652 $as_echo_n "(cached) " >&6
14653 else
14654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14655 /* end confdefs.h. */
14656 extern int ac_test;
14658 main ()
14660 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14662 return 0;
14664 _ACEOF
14665 if ac_fn_c_try_link "$LINENO"; then :
14666 ac_cv_c_extern_prefix="yes"
14667 else
14668 ac_cv_c_extern_prefix="no"
14670 rm -f core conftest.err conftest.$ac_objext \
14671 conftest$ac_exeext conftest.$ac_ext
14673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14674 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14676 case $host_cpu in
14677 *i[3456789]86*)
14678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14679 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14680 if ${ac_cv_c_stdcall_suffix+:} false; then :
14681 $as_echo_n "(cached) " >&6
14682 else
14683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14684 /* end confdefs.h. */
14685 #ifndef _MSC_VER
14686 #define __stdcall __attribute__((__stdcall__))
14687 #endif
14688 int __stdcall ac_test(int i) { return i; }
14690 main ()
14692 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14694 return 0;
14696 _ACEOF
14697 if ac_fn_c_try_link "$LINENO"; then :
14698 ac_cv_c_stdcall_suffix="yes"
14699 else
14700 ac_cv_c_stdcall_suffix="no"
14702 rm -f core conftest.err conftest.$ac_objext \
14703 conftest$ac_exeext conftest.$ac_ext
14705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14706 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14707 *) ac_cv_c_stdcall_suffix="no" ;;
14708 esac
14711 if test "$ac_cv_c_extern_prefix" = "yes"
14712 then
14713 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14715 asm_name_prefix="_"
14716 else
14717 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14719 asm_name_prefix=""
14723 if test "$ac_cv_c_stdcall_suffix" = "yes"
14724 then
14725 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14727 else
14728 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14734 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14735 if ${ac_cv_asm_func_def+:} false; then :
14736 $as_echo_n "(cached) " >&6
14737 else
14738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14739 /* end confdefs.h. */
14742 main ()
14744 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14746 return 0;
14748 _ACEOF
14749 if ac_fn_c_try_link "$LINENO"; then :
14750 ac_cv_asm_func_def=".def"
14751 else
14752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14753 /* end confdefs.h. */
14756 main ()
14758 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14760 return 0;
14762 _ACEOF
14763 if ac_fn_c_try_link "$LINENO"; then :
14764 ac_cv_asm_func_def=".type @function"
14765 else
14766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14767 /* end confdefs.h. */
14770 main ()
14772 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14774 return 0;
14776 _ACEOF
14777 if ac_fn_c_try_link "$LINENO"; then :
14778 ac_cv_asm_func_def=".type 2"
14779 else
14780 ac_cv_asm_func_def="unknown"
14782 rm -f core conftest.err conftest.$ac_objext \
14783 conftest$ac_exeext conftest.$ac_ext
14785 rm -f core conftest.err conftest.$ac_objext \
14786 conftest$ac_exeext conftest.$ac_ext
14788 rm -f core conftest.err conftest.$ac_objext \
14789 conftest$ac_exeext conftest.$ac_ext
14791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14792 $as_echo "$ac_cv_asm_func_def" >&6; }
14795 case "$ac_cv_asm_func_def" in
14796 ".def")
14797 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14799 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14800 ".type @function")
14801 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14803 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14804 ".type 2")
14805 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14807 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14809 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14811 asm_func_header="" ;;
14812 esac
14814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14815 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14816 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14817 $as_echo_n "(cached) " >&6
14818 else
14819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14820 /* end confdefs.h. */
14821 asm(".text\n\t.long 0");
14823 main ()
14827 return 0;
14829 _ACEOF
14830 if ac_fn_c_try_compile "$LINENO"; then :
14831 ac_cv_c_asm_outside_funcs="yes"
14832 else
14833 ac_cv_c_asm_outside_funcs="no"
14835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14838 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14841 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14842 if ${ac_cv_c_dot_previous+:} false; then :
14843 $as_echo_n "(cached) " >&6
14844 else
14845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14846 /* end confdefs.h. */
14849 main ()
14851 asm(".text\nac_test:\t.long 0\n\t.previous");
14853 return 0;
14855 _ACEOF
14856 if ac_fn_c_try_link "$LINENO"; then :
14857 ac_cv_c_dot_previous="yes"
14858 else
14859 ac_cv_c_dot_previous="no"
14861 rm -f core conftest.err conftest.$ac_objext \
14862 conftest$ac_exeext conftest.$ac_ext
14864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14865 $as_echo "$ac_cv_c_dot_previous" >&6; }
14867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14868 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14869 if ${ac_cv_c_cfi_support+:} false; then :
14870 $as_echo_n "(cached) " >&6
14871 else
14872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14873 /* end confdefs.h. */
14874 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14876 main ()
14880 return 0;
14882 _ACEOF
14883 if ac_fn_c_try_compile "$LINENO"; then :
14884 ac_cv_c_cfi_support="yes"
14885 else
14886 ac_cv_c_cfi_support="no"
14888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14891 $as_echo "$ac_cv_c_cfi_support" >&6; }
14893 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14894 asm_func_trailer=""
14895 if test "$ac_cv_c_dot_previous" = "yes"
14896 then
14897 asm_func_trailer="\\n\\t.previous"
14899 if test "$ac_cv_c_cfi_support" = "yes"
14900 then
14901 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14902 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14904 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14906 UNWINDFLAGS=-fasynchronous-unwind-tables
14908 else
14909 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14911 if test "x$enable_win64" = "xyes"
14912 then
14913 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
14917 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14920 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14921 then
14922 cat >>confdefs.h <<_ACEOF
14923 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14924 _ACEOF
14926 else
14927 cat >>confdefs.h <<_ACEOF
14928 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14929 _ACEOF
14933 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14936 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14940 case $build_os in
14941 cygwin*|mingw32*) TOOLSEXT=".exe"
14943 esac
14945 case $host_os in
14946 linux-android*) ;;
14947 linux*)
14948 case $host_cpu in
14949 *i[3456789]86*|x86_64*)
14950 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14951 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
14953 esac
14955 esac
14958 ac_save_CFLAGS="$CFLAGS"
14959 CFLAGS="$CFLAGS $BUILTINFLAG"
14960 for ac_func in \
14961 __res_get_state \
14962 __res_getservers \
14963 _finite \
14964 _isnan \
14965 _pclose \
14966 _popen \
14967 _snprintf \
14968 _spawnvp \
14969 _strdup \
14970 _stricmp \
14971 _strnicmp \
14972 _strtoi64 \
14973 _strtoui64 \
14974 _vsnprintf \
14975 asctime_r \
14976 chsize \
14977 dlopen \
14978 epoll_create \
14979 ffs \
14980 finitef \
14981 fnmatch \
14982 fork \
14983 fpclass \
14984 fstatfs \
14985 fstatvfs \
14986 ftruncate \
14987 futimens \
14988 futimes \
14989 futimesat \
14990 getattrlist \
14991 getdirentries \
14992 getopt_long_only \
14993 getpwuid \
14994 gettimeofday \
14995 getuid \
14996 if_nameindex \
14997 isnanf \
14998 kqueue \
14999 lstat \
15000 memmove \
15001 mmap \
15002 pclose \
15003 pipe2 \
15004 poll \
15005 popen \
15006 port_create \
15007 prctl \
15008 pread \
15009 proc_pidinfo \
15010 pwrite \
15011 readdir \
15012 readlink \
15013 sched_yield \
15014 select \
15015 setproctitle \
15016 setrlimit \
15017 settimeofday \
15018 sigaltstack \
15019 sigprocmask \
15020 snprintf \
15021 statfs \
15022 statvfs \
15023 strcasecmp \
15024 strdup \
15025 strerror \
15026 strncasecmp \
15027 strtold \
15028 strtoll \
15029 strtoull \
15030 symlink \
15031 tcdrain \
15032 thr_kill2 \
15033 timegm \
15034 usleep \
15035 vsnprintf
15037 do :
15038 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15039 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15040 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15041 cat >>confdefs.h <<_ACEOF
15042 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15043 _ACEOF
15046 done
15048 CFLAGS="$ac_save_CFLAGS"
15050 if test "$ac_cv_func_dlopen" = no
15051 then
15052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15053 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15054 if ${ac_cv_lib_dl_dlopen+:} false; then :
15055 $as_echo_n "(cached) " >&6
15056 else
15057 ac_check_lib_save_LIBS=$LIBS
15058 LIBS="-ldl $LIBS"
15059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15060 /* end confdefs.h. */
15062 /* Override any GCC internal prototype to avoid an error.
15063 Use char because int might match the return type of a GCC
15064 builtin and then its argument prototype would still apply. */
15065 #ifdef __cplusplus
15066 extern "C"
15067 #endif
15068 char dlopen ();
15070 main ()
15072 return dlopen ();
15074 return 0;
15076 _ACEOF
15077 if ac_fn_c_try_link "$LINENO"; then :
15078 ac_cv_lib_dl_dlopen=yes
15079 else
15080 ac_cv_lib_dl_dlopen=no
15082 rm -f core conftest.err conftest.$ac_objext \
15083 conftest$ac_exeext conftest.$ac_ext
15084 LIBS=$ac_check_lib_save_LIBS
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15087 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15088 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15089 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15090 DL_LIBS="-ldl"
15095 ac_wine_check_funcs_save_LIBS="$LIBS"
15096 LIBS="$LIBS $DL_LIBS"
15097 for ac_func in dladdr
15098 do :
15099 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15100 if test "x$ac_cv_func_dladdr" = xyes; then :
15101 cat >>confdefs.h <<_ACEOF
15102 #define HAVE_DLADDR 1
15103 _ACEOF
15106 done
15108 LIBS="$ac_wine_check_funcs_save_LIBS"
15110 if test "$ac_cv_func_poll" = no
15111 then
15112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15113 $as_echo_n "checking for poll in -lpoll... " >&6; }
15114 if ${ac_cv_lib_poll_poll+:} false; then :
15115 $as_echo_n "(cached) " >&6
15116 else
15117 ac_check_lib_save_LIBS=$LIBS
15118 LIBS="-lpoll $LIBS"
15119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15120 /* end confdefs.h. */
15122 /* Override any GCC internal prototype to avoid an error.
15123 Use char because int might match the return type of a GCC
15124 builtin and then its argument prototype would still apply. */
15125 #ifdef __cplusplus
15126 extern "C"
15127 #endif
15128 char poll ();
15130 main ()
15132 return poll ();
15134 return 0;
15136 _ACEOF
15137 if ac_fn_c_try_link "$LINENO"; then :
15138 ac_cv_lib_poll_poll=yes
15139 else
15140 ac_cv_lib_poll_poll=no
15142 rm -f core conftest.err conftest.$ac_objext \
15143 conftest$ac_exeext conftest.$ac_ext
15144 LIBS=$ac_check_lib_save_LIBS
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15147 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15148 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15149 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15150 POLL_LIBS="-lpoll"
15156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15157 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15158 if ${ac_cv_search_gethostbyname+:} false; then :
15159 $as_echo_n "(cached) " >&6
15160 else
15161 ac_func_search_save_LIBS=$LIBS
15162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15163 /* end confdefs.h. */
15165 /* Override any GCC internal prototype to avoid an error.
15166 Use char because int might match the return type of a GCC
15167 builtin and then its argument prototype would still apply. */
15168 #ifdef __cplusplus
15169 extern "C"
15170 #endif
15171 char gethostbyname ();
15173 main ()
15175 return gethostbyname ();
15177 return 0;
15179 _ACEOF
15180 for ac_lib in '' nsl; do
15181 if test -z "$ac_lib"; then
15182 ac_res="none required"
15183 else
15184 ac_res=-l$ac_lib
15185 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15187 if ac_fn_c_try_link "$LINENO"; then :
15188 ac_cv_search_gethostbyname=$ac_res
15190 rm -f core conftest.err conftest.$ac_objext \
15191 conftest$ac_exeext
15192 if ${ac_cv_search_gethostbyname+:} false; then :
15193 break
15195 done
15196 if ${ac_cv_search_gethostbyname+:} false; then :
15198 else
15199 ac_cv_search_gethostbyname=no
15201 rm conftest.$ac_ext
15202 LIBS=$ac_func_search_save_LIBS
15204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15205 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15206 ac_res=$ac_cv_search_gethostbyname
15207 if test "$ac_res" != no; then :
15208 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15214 $as_echo_n "checking for library containing connect... " >&6; }
15215 if ${ac_cv_search_connect+:} false; then :
15216 $as_echo_n "(cached) " >&6
15217 else
15218 ac_func_search_save_LIBS=$LIBS
15219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15220 /* end confdefs.h. */
15222 /* Override any GCC internal prototype to avoid an error.
15223 Use char because int might match the return type of a GCC
15224 builtin and then its argument prototype would still apply. */
15225 #ifdef __cplusplus
15226 extern "C"
15227 #endif
15228 char connect ();
15230 main ()
15232 return connect ();
15234 return 0;
15236 _ACEOF
15237 for ac_lib in '' socket; do
15238 if test -z "$ac_lib"; then
15239 ac_res="none required"
15240 else
15241 ac_res=-l$ac_lib
15242 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15244 if ac_fn_c_try_link "$LINENO"; then :
15245 ac_cv_search_connect=$ac_res
15247 rm -f core conftest.err conftest.$ac_objext \
15248 conftest$ac_exeext
15249 if ${ac_cv_search_connect+:} false; then :
15250 break
15252 done
15253 if ${ac_cv_search_connect+:} false; then :
15255 else
15256 ac_cv_search_connect=no
15258 rm conftest.$ac_ext
15259 LIBS=$ac_func_search_save_LIBS
15261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15262 $as_echo "$ac_cv_search_connect" >&6; }
15263 ac_res=$ac_cv_search_connect
15264 if test "$ac_res" != no; then :
15265 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15271 $as_echo_n "checking for library containing inet_aton... " >&6; }
15272 if ${ac_cv_search_inet_aton+:} false; then :
15273 $as_echo_n "(cached) " >&6
15274 else
15275 ac_func_search_save_LIBS=$LIBS
15276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15277 /* end confdefs.h. */
15279 /* Override any GCC internal prototype to avoid an error.
15280 Use char because int might match the return type of a GCC
15281 builtin and then its argument prototype would still apply. */
15282 #ifdef __cplusplus
15283 extern "C"
15284 #endif
15285 char inet_aton ();
15287 main ()
15289 return inet_aton ();
15291 return 0;
15293 _ACEOF
15294 for ac_lib in '' resolv; do
15295 if test -z "$ac_lib"; then
15296 ac_res="none required"
15297 else
15298 ac_res=-l$ac_lib
15299 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15301 if ac_fn_c_try_link "$LINENO"; then :
15302 ac_cv_search_inet_aton=$ac_res
15304 rm -f core conftest.err conftest.$ac_objext \
15305 conftest$ac_exeext
15306 if ${ac_cv_search_inet_aton+:} false; then :
15307 break
15309 done
15310 if ${ac_cv_search_inet_aton+:} false; then :
15312 else
15313 ac_cv_search_inet_aton=no
15315 rm conftest.$ac_ext
15316 LIBS=$ac_func_search_save_LIBS
15318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15319 $as_echo "$ac_cv_search_inet_aton" >&6; }
15320 ac_res=$ac_cv_search_inet_aton
15321 if test "$ac_res" != no; then :
15322 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15327 for ac_func in \
15328 getaddrinfo \
15329 getnameinfo \
15330 getnetbyname \
15331 getprotobyname \
15332 getprotobynumber \
15333 getservbyport \
15334 inet_addr \
15335 inet_network \
15336 inet_ntop \
15337 inet_pton \
15338 sendmsg \
15339 socketpair \
15341 do :
15342 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15343 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15344 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15345 cat >>confdefs.h <<_ACEOF
15346 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15347 _ACEOF
15350 done
15353 ac_save_LIBS=$LIBS
15354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15355 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15356 if ${ac_cv_search_clock_gettime+:} false; then :
15357 $as_echo_n "(cached) " >&6
15358 else
15359 ac_func_search_save_LIBS=$LIBS
15360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15361 /* end confdefs.h. */
15363 /* Override any GCC internal prototype to avoid an error.
15364 Use char because int might match the return type of a GCC
15365 builtin and then its argument prototype would still apply. */
15366 #ifdef __cplusplus
15367 extern "C"
15368 #endif
15369 char clock_gettime ();
15371 main ()
15373 return clock_gettime ();
15375 return 0;
15377 _ACEOF
15378 for ac_lib in '' rt; do
15379 if test -z "$ac_lib"; then
15380 ac_res="none required"
15381 else
15382 ac_res=-l$ac_lib
15383 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15385 if ac_fn_c_try_link "$LINENO"; then :
15386 ac_cv_search_clock_gettime=$ac_res
15388 rm -f core conftest.err conftest.$ac_objext \
15389 conftest$ac_exeext
15390 if ${ac_cv_search_clock_gettime+:} false; then :
15391 break
15393 done
15394 if ${ac_cv_search_clock_gettime+:} false; then :
15396 else
15397 ac_cv_search_clock_gettime=no
15399 rm conftest.$ac_ext
15400 LIBS=$ac_func_search_save_LIBS
15402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15403 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15404 ac_res=$ac_cv_search_clock_gettime
15405 if test "$ac_res" != no; then :
15406 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15408 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15410 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15414 LIBS=$ac_save_LIBS
15416 LDAP_LIBS=""
15418 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15419 then
15420 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15422 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15424 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15425 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15426 $as_echo_n "(cached) " >&6
15427 else
15428 ac_check_lib_save_LIBS=$LIBS
15429 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15431 /* end confdefs.h. */
15433 /* Override any GCC internal prototype to avoid an error.
15434 Use char because int might match the return type of a GCC
15435 builtin and then its argument prototype would still apply. */
15436 #ifdef __cplusplus
15437 extern "C"
15438 #endif
15439 char ldap_initialize ();
15441 main ()
15443 return ldap_initialize ();
15445 return 0;
15447 _ACEOF
15448 if ac_fn_c_try_link "$LINENO"; then :
15449 ac_cv_lib_ldap_r_ldap_initialize=yes
15450 else
15451 ac_cv_lib_ldap_r_ldap_initialize=no
15453 rm -f core conftest.err conftest.$ac_objext \
15454 conftest$ac_exeext conftest.$ac_ext
15455 LIBS=$ac_check_lib_save_LIBS
15457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15458 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15459 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15461 $as_echo_n "checking for ber_init in -llber... " >&6; }
15462 if ${ac_cv_lib_lber_ber_init+:} false; then :
15463 $as_echo_n "(cached) " >&6
15464 else
15465 ac_check_lib_save_LIBS=$LIBS
15466 LIBS="-llber $PTHREAD_LIBS $LIBS"
15467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15468 /* end confdefs.h. */
15470 /* Override any GCC internal prototype to avoid an error.
15471 Use char because int might match the return type of a GCC
15472 builtin and then its argument prototype would still apply. */
15473 #ifdef __cplusplus
15474 extern "C"
15475 #endif
15476 char ber_init ();
15478 main ()
15480 return ber_init ();
15482 return 0;
15484 _ACEOF
15485 if ac_fn_c_try_link "$LINENO"; then :
15486 ac_cv_lib_lber_ber_init=yes
15487 else
15488 ac_cv_lib_lber_ber_init=no
15490 rm -f core conftest.err conftest.$ac_objext \
15491 conftest$ac_exeext conftest.$ac_ext
15492 LIBS=$ac_check_lib_save_LIBS
15494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15495 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15496 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15498 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15500 LDAP_LIBS="-lldap_r -llber"
15507 ac_wine_check_funcs_save_LIBS="$LIBS"
15508 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15509 for ac_func in \
15510 ldap_count_references \
15511 ldap_first_reference \
15512 ldap_next_reference \
15513 ldap_parse_reference \
15514 ldap_parse_sort_control \
15515 ldap_parse_sortresponse_control \
15516 ldap_parse_vlv_control \
15517 ldap_parse_vlvresponse_control
15518 do :
15519 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15520 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15521 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15522 cat >>confdefs.h <<_ACEOF
15523 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15524 _ACEOF
15527 done
15529 LIBS="$ac_wine_check_funcs_save_LIBS"
15531 if test "x$LDAP_LIBS" = "x"; then :
15532 case "x$with_ldap" in
15533 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15534 xno) ;;
15535 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15536 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15537 esac
15540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15541 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15542 if ${wine_cv_one_arg_mkdir+:} false; then :
15543 $as_echo_n "(cached) " >&6
15544 else
15545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15546 /* end confdefs.h. */
15547 #include <sys/stat.h>
15549 main ()
15551 mkdir("foo");
15553 return 0;
15555 _ACEOF
15556 if ac_fn_c_try_compile "$LINENO"; then :
15557 wine_cv_one_arg_mkdir=yes
15558 else
15559 wine_cv_one_arg_mkdir=no
15561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15564 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15565 if test "$wine_cv_one_arg_mkdir" = "yes"
15566 then
15568 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15573 $as_echo_n "checking for sched_setaffinity... " >&6; }
15574 if ${wine_cv_have_sched_setaffinity+:} false; then :
15575 $as_echo_n "(cached) " >&6
15576 else
15577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15578 /* end confdefs.h. */
15579 #define _GNU_SOURCE
15580 #include <sched.h>
15582 main ()
15584 sched_setaffinity(0, 0, 0);
15586 return 0;
15588 _ACEOF
15589 if ac_fn_c_try_link "$LINENO"; then :
15590 wine_cv_have_sched_setaffinity=yes
15591 else
15592 wine_cv_have_sched_setaffinity=no
15594 rm -f core conftest.err conftest.$ac_objext \
15595 conftest$ac_exeext conftest.$ac_ext
15597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15598 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15599 if test "$wine_cv_have_sched_setaffinity" = "yes"
15600 then
15602 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15607 $as_echo_n "checking for fallocate... " >&6; }
15608 if ${wine_cv_have_fallocate+:} false; then :
15609 $as_echo_n "(cached) " >&6
15610 else
15611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15612 /* end confdefs.h. */
15613 #define _GNU_SOURCE
15614 #include <fcntl.h>
15616 main ()
15618 fallocate(-1, 0, 0, 0);
15620 return 0;
15622 _ACEOF
15623 if ac_fn_c_try_link "$LINENO"; then :
15624 wine_cv_have_fallocate=yes
15625 else
15626 wine_cv_have_fallocate=no
15628 rm -f core conftest.err conftest.$ac_objext \
15629 conftest$ac_exeext conftest.$ac_ext
15631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15632 $as_echo "$wine_cv_have_fallocate" >&6; }
15633 if test "$wine_cv_have_fallocate" = "yes"
15634 then
15636 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15642 $as_echo_n "checking for inline... " >&6; }
15643 if ${ac_cv_c_inline+:} false; then :
15644 $as_echo_n "(cached) " >&6
15645 else
15646 ac_cv_c_inline=no
15647 for ac_kw in inline __inline__ __inline; do
15648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15649 /* end confdefs.h. */
15650 #ifndef __cplusplus
15651 typedef int foo_t;
15652 static $ac_kw foo_t static_foo () {return 0; }
15653 $ac_kw foo_t foo () {return 0; }
15654 #endif
15656 _ACEOF
15657 if ac_fn_c_try_compile "$LINENO"; then :
15658 ac_cv_c_inline=$ac_kw
15660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15661 test "$ac_cv_c_inline" != no && break
15662 done
15665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15666 $as_echo "$ac_cv_c_inline" >&6; }
15668 case $ac_cv_c_inline in
15669 inline | yes) ;;
15671 case $ac_cv_c_inline in
15672 no) ac_val=;;
15673 *) ac_val=$ac_cv_c_inline;;
15674 esac
15675 cat >>confdefs.h <<_ACEOF
15676 #ifndef __cplusplus
15677 #define inline $ac_val
15678 #endif
15679 _ACEOF
15681 esac
15683 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15684 if test "x$ac_cv_type_mode_t" = xyes; then :
15686 cat >>confdefs.h <<_ACEOF
15687 #define HAVE_MODE_T 1
15688 _ACEOF
15692 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15693 if test "x$ac_cv_type_off_t" = xyes; then :
15695 cat >>confdefs.h <<_ACEOF
15696 #define HAVE_OFF_T 1
15697 _ACEOF
15701 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15702 if test "x$ac_cv_type_pid_t" = xyes; then :
15704 cat >>confdefs.h <<_ACEOF
15705 #define HAVE_PID_T 1
15706 _ACEOF
15710 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15711 if test "x$ac_cv_type_size_t" = xyes; then :
15713 cat >>confdefs.h <<_ACEOF
15714 #define HAVE_SIZE_T 1
15715 _ACEOF
15719 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15720 if test "x$ac_cv_type_ssize_t" = xyes; then :
15722 cat >>confdefs.h <<_ACEOF
15723 #define HAVE_SSIZE_T 1
15724 _ACEOF
15728 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15729 if test "x$ac_cv_type_long_long" = xyes; then :
15731 cat >>confdefs.h <<_ACEOF
15732 #define HAVE_LONG_LONG 1
15733 _ACEOF
15737 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15738 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15740 cat >>confdefs.h <<_ACEOF
15741 #define HAVE_FSBLKCNT_T 1
15742 _ACEOF
15746 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15747 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15749 cat >>confdefs.h <<_ACEOF
15750 #define HAVE_FSFILCNT_T 1
15751 _ACEOF
15756 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15757 #include <signal.h>
15759 if test "x$ac_cv_type_sigset_t" = xyes; then :
15761 cat >>confdefs.h <<_ACEOF
15762 #define HAVE_SIGSET_T 1
15763 _ACEOF
15768 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15770 if test "x$ac_cv_type_request_sense" = xyes; then :
15772 cat >>confdefs.h <<_ACEOF
15773 #define HAVE_REQUEST_SENSE 1
15774 _ACEOF
15780 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15781 #ifdef HAVE_SYS_SOCKET_H
15782 #include <sys/socket.h>
15783 #endif
15784 #ifdef HAVE_SYS_SOCKETVAR_H
15785 #include <sys/socketvar.h>
15786 #endif
15787 #ifdef HAVE_NET_ROUTE_H
15788 #include <net/route.h>
15789 #endif
15790 #ifdef HAVE_NETINET_IN_H
15791 #include <netinet/in.h>
15792 #endif
15793 #ifdef HAVE_NETINET_IN_SYSTM_H
15794 #include <netinet/in_systm.h>
15795 #endif
15796 #ifdef HAVE_NETINET_IP_H
15797 #include <netinet/ip.h>
15798 #endif
15799 #ifdef HAVE_NETINET_IN_PCB_H
15800 #include <netinet/in_pcb.h>
15801 #endif
15803 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15805 cat >>confdefs.h <<_ACEOF
15806 #define HAVE_STRUCT_XINPGEN 1
15807 _ACEOF
15813 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15814 #include <link.h>
15815 #endif
15816 #ifdef HAVE_SYS_LINK_H
15817 #include <sys/link.h>
15818 #endif
15820 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15822 cat >>confdefs.h <<_ACEOF
15823 #define HAVE_STRUCT_R_DEBUG 1
15824 _ACEOF
15828 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15829 #include <link.h>
15830 #endif
15831 #ifdef HAVE_SYS_LINK_H
15832 #include <sys/link.h>
15833 #endif
15835 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15837 cat >>confdefs.h <<_ACEOF
15838 #define HAVE_STRUCT_LINK_MAP 1
15839 _ACEOF
15845 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15846 #include <linux/input.h>
15847 #endif
15849 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15851 cat >>confdefs.h <<_ACEOF
15852 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15853 _ACEOF
15859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15860 $as_echo_n "checking for sigaddset... " >&6; }
15861 if ${wine_cv_have_sigaddset+:} false; then :
15862 $as_echo_n "(cached) " >&6
15863 else
15864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15865 /* end confdefs.h. */
15866 #include <signal.h>
15868 main ()
15870 sigset_t set; sigaddset(&set,SIGTERM);
15872 return 0;
15874 _ACEOF
15875 if ac_fn_c_try_link "$LINENO"; then :
15876 wine_cv_have_sigaddset=yes
15877 else
15878 wine_cv_have_sigaddset=no
15880 rm -f core conftest.err conftest.$ac_objext \
15881 conftest$ac_exeext conftest.$ac_ext
15883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15884 $as_echo "$wine_cv_have_sigaddset" >&6; }
15885 if test "$wine_cv_have_sigaddset" = "yes"
15886 then
15888 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15894 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15895 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15896 $as_echo_n "(cached) " >&6
15897 else
15898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15899 /* end confdefs.h. */
15900 #include <netdb.h>
15902 main ()
15905 char *name=0;
15906 struct hostent he;
15907 struct hostent *result;
15908 char *buf=0;
15909 int bufsize=0;
15910 int errnr;
15911 char *addr=0;
15912 int addrlen=0;
15913 int addrtype=0;
15914 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15915 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15918 return 0;
15920 _ACEOF
15921 if ac_fn_c_try_link "$LINENO"; then :
15922 wine_cv_linux_gethostbyname_r_6=yes
15923 else
15924 wine_cv_linux_gethostbyname_r_6=no
15927 rm -f core conftest.err conftest.$ac_objext \
15928 conftest$ac_exeext conftest.$ac_ext
15931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15932 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15933 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15934 then
15936 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15940 if test "$ac_cv_header_linux_joystick_h" = "yes"
15941 then
15942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15943 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15944 if ${wine_cv_linux_joystick_22_api+:} false; then :
15945 $as_echo_n "(cached) " >&6
15946 else
15947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15948 /* end confdefs.h. */
15950 #include <sys/ioctl.h>
15951 #include <sys/types.h>
15952 #include <linux/joystick.h>
15954 struct js_event blub;
15955 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15956 #error "no 2.2 header"
15957 #endif
15960 main ()
15962 /*empty*/
15964 return 0;
15966 _ACEOF
15967 if ac_fn_c_try_compile "$LINENO"; then :
15968 wine_cv_linux_joystick_22_api=yes
15969 else
15970 wine_cv_linux_joystick_22_api=no
15972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15976 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15977 if test "$wine_cv_linux_joystick_22_api" = "yes"
15978 then
15980 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15986 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15987 #ifdef HAVE_SYS_PARAM_H
15988 # include <sys/param.h>
15989 #endif
15990 #ifdef HAVE_SYS_MOUNT_H
15991 # include <sys/mount.h>
15992 #endif
15993 #ifdef HAVE_SYS_VFS_H
15994 # include <sys/vfs.h>
15995 #endif
15996 #ifdef HAVE_SYS_STATFS_H
15997 # include <sys/statfs.h>
15998 #endif
16000 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16002 cat >>confdefs.h <<_ACEOF
16003 #define HAVE_STRUCT_STATFS_F_BFREE 1
16004 _ACEOF
16008 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16009 #ifdef HAVE_SYS_PARAM_H
16010 # include <sys/param.h>
16011 #endif
16012 #ifdef HAVE_SYS_MOUNT_H
16013 # include <sys/mount.h>
16014 #endif
16015 #ifdef HAVE_SYS_VFS_H
16016 # include <sys/vfs.h>
16017 #endif
16018 #ifdef HAVE_SYS_STATFS_H
16019 # include <sys/statfs.h>
16020 #endif
16022 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16024 cat >>confdefs.h <<_ACEOF
16025 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16026 _ACEOF
16030 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16031 #ifdef HAVE_SYS_PARAM_H
16032 # include <sys/param.h>
16033 #endif
16034 #ifdef HAVE_SYS_MOUNT_H
16035 # include <sys/mount.h>
16036 #endif
16037 #ifdef HAVE_SYS_VFS_H
16038 # include <sys/vfs.h>
16039 #endif
16040 #ifdef HAVE_SYS_STATFS_H
16041 # include <sys/statfs.h>
16042 #endif
16044 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16046 cat >>confdefs.h <<_ACEOF
16047 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16048 _ACEOF
16052 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16053 #ifdef HAVE_SYS_PARAM_H
16054 # include <sys/param.h>
16055 #endif
16056 #ifdef HAVE_SYS_MOUNT_H
16057 # include <sys/mount.h>
16058 #endif
16059 #ifdef HAVE_SYS_VFS_H
16060 # include <sys/vfs.h>
16061 #endif
16062 #ifdef HAVE_SYS_STATFS_H
16063 # include <sys/statfs.h>
16064 #endif
16066 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16068 cat >>confdefs.h <<_ACEOF
16069 #define HAVE_STRUCT_STATFS_F_FFREE 1
16070 _ACEOF
16074 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16075 #ifdef HAVE_SYS_PARAM_H
16076 # include <sys/param.h>
16077 #endif
16078 #ifdef HAVE_SYS_MOUNT_H
16079 # include <sys/mount.h>
16080 #endif
16081 #ifdef HAVE_SYS_VFS_H
16082 # include <sys/vfs.h>
16083 #endif
16084 #ifdef HAVE_SYS_STATFS_H
16085 # include <sys/statfs.h>
16086 #endif
16088 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16090 cat >>confdefs.h <<_ACEOF
16091 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16092 _ACEOF
16096 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16097 #ifdef HAVE_SYS_PARAM_H
16098 # include <sys/param.h>
16099 #endif
16100 #ifdef HAVE_SYS_MOUNT_H
16101 # include <sys/mount.h>
16102 #endif
16103 #ifdef HAVE_SYS_VFS_H
16104 # include <sys/vfs.h>
16105 #endif
16106 #ifdef HAVE_SYS_STATFS_H
16107 # include <sys/statfs.h>
16108 #endif
16110 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16112 cat >>confdefs.h <<_ACEOF
16113 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16114 _ACEOF
16120 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16121 #include <sys/statvfs.h>
16122 #endif
16124 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16126 cat >>confdefs.h <<_ACEOF
16127 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16128 _ACEOF
16134 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16135 #include <dirent.h>
16136 #endif
16138 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16140 cat >>confdefs.h <<_ACEOF
16141 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16142 _ACEOF
16148 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16149 #ifdef HAVE_SYS_SOCKET_H
16150 # include <sys/socket.h>
16151 #endif
16152 #ifdef HAVE_SYS_UN_H
16153 # include <sys/un.h>
16154 #endif
16156 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16158 cat >>confdefs.h <<_ACEOF
16159 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16160 _ACEOF
16164 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16165 #ifdef HAVE_SYS_SOCKET_H
16166 # include <sys/socket.h>
16167 #endif
16168 #ifdef HAVE_SYS_UN_H
16169 # include <sys/un.h>
16170 #endif
16172 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16174 cat >>confdefs.h <<_ACEOF
16175 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16176 _ACEOF
16180 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16181 #ifdef HAVE_SYS_SOCKET_H
16182 # include <sys/socket.h>
16183 #endif
16184 #ifdef HAVE_SYS_UN_H
16185 # include <sys/un.h>
16186 #endif
16188 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16190 cat >>confdefs.h <<_ACEOF
16191 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16192 _ACEOF
16198 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16199 #ifdef HAVE_SCSI_SG_H
16200 #include <scsi/sg.h>
16201 #endif
16203 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16205 cat >>confdefs.h <<_ACEOF
16206 #define HAVE_SCSIREQ_T_CMD 1
16207 _ACEOF
16211 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>
16212 #ifdef HAVE_SCSI_SG_H
16213 #include <scsi/sg.h>
16214 #endif
16216 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16218 cat >>confdefs.h <<_ACEOF
16219 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16220 _ACEOF
16226 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16228 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16230 cat >>confdefs.h <<_ACEOF
16231 #define HAVE_SIGINFO_T_SI_FD 1
16232 _ACEOF
16238 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16239 #ifdef HAVE_SYS_MTIO_H
16240 #include <sys/mtio.h>
16241 #endif
16243 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16245 cat >>confdefs.h <<_ACEOF
16246 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16247 _ACEOF
16251 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16252 #ifdef HAVE_SYS_MTIO_H
16253 #include <sys/mtio.h>
16254 #endif
16256 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16258 cat >>confdefs.h <<_ACEOF
16259 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16260 _ACEOF
16264 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16265 #ifdef HAVE_SYS_MTIO_H
16266 #include <sys/mtio.h>
16267 #endif
16269 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16271 cat >>confdefs.h <<_ACEOF
16272 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16273 _ACEOF
16279 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16280 #include <getopt.h>
16281 #endif
16283 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16285 cat >>confdefs.h <<_ACEOF
16286 #define HAVE_STRUCT_OPTION_NAME 1
16287 _ACEOF
16293 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16294 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16296 cat >>confdefs.h <<_ACEOF
16297 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16298 _ACEOF
16302 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16303 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16305 cat >>confdefs.h <<_ACEOF
16306 #define HAVE_STRUCT_STAT_ST_MTIM 1
16307 _ACEOF
16311 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16312 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16314 cat >>confdefs.h <<_ACEOF
16315 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16316 _ACEOF
16320 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16321 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16323 cat >>confdefs.h <<_ACEOF
16324 #define HAVE_STRUCT_STAT_ST_CTIM 1
16325 _ACEOF
16329 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16330 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16332 cat >>confdefs.h <<_ACEOF
16333 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16334 _ACEOF
16338 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16339 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16341 cat >>confdefs.h <<_ACEOF
16342 #define HAVE_STRUCT_STAT_ST_ATIM 1
16343 _ACEOF
16347 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16348 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16350 cat >>confdefs.h <<_ACEOF
16351 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16352 _ACEOF
16356 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16357 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16359 cat >>confdefs.h <<_ACEOF
16360 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16361 _ACEOF
16365 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16366 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16368 cat >>confdefs.h <<_ACEOF
16369 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16370 _ACEOF
16374 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16375 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16377 cat >>confdefs.h <<_ACEOF
16378 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16379 _ACEOF
16383 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16384 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16386 cat >>confdefs.h <<_ACEOF
16387 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16388 _ACEOF
16392 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16393 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16395 cat >>confdefs.h <<_ACEOF
16396 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16397 _ACEOF
16403 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
16404 #include <sys/types.h>
16405 #endif
16406 #ifdef HAVE_NETINET_IN_H
16407 #include <netinet/in.h>
16408 #endif
16410 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16412 cat >>confdefs.h <<_ACEOF
16413 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16414 _ACEOF
16420 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16421 #include <resolv.h>
16422 #endif
16424 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16426 cat >>confdefs.h <<_ACEOF
16427 #define HAVE_STRUCT___RES_STATE 1
16428 _ACEOF
16434 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
16435 #include <resolv.h>
16436 #endif
16438 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16440 cat >>confdefs.h <<_ACEOF
16441 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16442 _ACEOF
16448 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16449 #include <sys/types.h>
16450 #endif
16451 #ifdef HAVE_NETINET_IN_H
16452 # include <netinet/in.h>
16453 #endif
16454 #ifdef HAVE_ARPA_NAMESER_H
16455 # include <arpa/nameser.h>
16456 #endif
16458 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16460 cat >>confdefs.h <<_ACEOF
16461 #define HAVE_NS_MSG__MSG_PTR 1
16462 _ACEOF
16468 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16469 #include <sys/types.h>
16470 #endif
16471 #ifdef HAVE_NETINET_IP_H
16472 #include <netinet/ip.h>
16473 #endif
16474 #ifdef HAVE_NETINET_IP_ICMP_H
16475 #include <netinet/ip_icmp.h>
16476 #endif
16477 #ifdef HAVE_NETINET_ICMP_VAR_H
16478 #include <netinet/icmp_var.h>
16479 #endif
16481 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16483 cat >>confdefs.h <<_ACEOF
16484 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16485 _ACEOF
16491 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16492 #include <sys/types.h>
16493 #endif
16494 #ifdef HAVE_ALIAS_H
16495 #include <alias.h>
16496 #endif
16497 #ifdef HAVE_SYS_SOCKET_H
16498 #include <sys/socket.h>
16499 #endif
16500 #ifdef HAVE_SYS_SOCKETVAR_H
16501 #include <sys/socketvar.h>
16502 #endif
16503 #ifdef HAVE_SYS_TIMEOUT_H
16504 #include <sys/timeout.h>
16505 #endif
16506 #ifdef HAVE_NETINET_IN_H
16507 #include <netinet/in.h>
16508 #endif
16509 #ifdef HAVE_NETINET_IN_SYSTM_H
16510 #include <netinet/in_systm.h>
16511 #endif
16512 #ifdef HAVE_NETINET_IP_H
16513 #include <netinet/ip.h>
16514 #endif
16515 #ifdef HAVE_NETINET_IP_VAR_H
16516 #include <netinet/ip_var.h>
16517 #endif
16518 #ifdef HAVE_NETINET_IP_ICMP_H
16519 #include <netinet/ip_icmp.h>
16520 #endif
16521 #ifdef HAVE_NETINET_ICMP_VAR_H
16522 #include <netinet/icmp_var.h>
16523 #endif
16525 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16527 cat >>confdefs.h <<_ACEOF
16528 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16529 _ACEOF
16535 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16536 #include <sys/types.h>
16537 #endif
16538 #ifdef HAVE_SYS_SOCKETVAR_H
16539 #include <sys/socketvar.h>
16540 #endif
16541 #ifdef HAVE_NETINET_IN_H
16542 #include <netinet/in.h>
16543 #endif
16544 #ifdef HAVE_NETINET_IP_VAR_H
16545 #include <netinet/ip_var.h>
16546 #endif
16548 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16550 cat >>confdefs.h <<_ACEOF
16551 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16552 _ACEOF
16558 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
16559 #include <netinet/ip_var.h>
16560 #endif
16562 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16564 cat >>confdefs.h <<_ACEOF
16565 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16566 _ACEOF
16572 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16573 #include <sys/types.h>
16574 #endif
16575 #ifdef HAVE_SYS_SOCKETVAR_H
16576 #include <sys/socketvar.h>
16577 #endif
16578 #ifdef HAVE_NETINET_IN_H
16579 #include <netinet/in.h>
16580 #endif
16581 #ifdef HAVE_NETINET_TCP_H
16582 #include <netinet/tcp.h>
16583 #endif
16584 #ifdef HAVE_NETINET_TCP_VAR_H
16585 #include <netinet/tcp_var.h>
16586 #endif
16588 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16590 cat >>confdefs.h <<_ACEOF
16591 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16592 _ACEOF
16598 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
16599 #include <netinet/tcp_var.h>
16600 #endif
16602 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16604 cat >>confdefs.h <<_ACEOF
16605 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16606 _ACEOF
16612 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16613 #include <sys/types.h>
16614 #endif
16615 #ifdef HAVE_NETINET_IN_H
16616 #include <netinet/in.h>
16617 #endif
16618 #ifdef HAVE_NETINET_IP_VAR_H
16619 #include <netinet/ip_var.h>
16620 #endif
16621 #ifdef HAVE_NETINET_UDP_H
16622 #include <netinet/udp.h>
16623 #endif
16624 #ifdef HAVE_NETINET_UDP_VAR_H
16625 #include <netinet/udp_var.h>
16626 #endif
16628 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16630 cat >>confdefs.h <<_ACEOF
16631 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16632 _ACEOF
16638 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16639 #include <sys/types.h>
16640 #endif
16641 #ifdef HAVE_NET_IF_H
16642 # include <net/if.h>
16643 #endif
16645 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16647 cat >>confdefs.h <<_ACEOF
16648 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16649 _ACEOF
16655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16656 $as_echo_n "checking for timezone variable... " >&6; }
16657 if ${ac_cv_have_timezone+:} false; then :
16658 $as_echo_n "(cached) " >&6
16659 else
16660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16661 /* end confdefs.h. */
16662 #include <time.h>
16664 main ()
16666 timezone = 1
16668 return 0;
16670 _ACEOF
16671 if ac_fn_c_try_link "$LINENO"; then :
16672 ac_cv_have_timezone="yes"
16673 else
16674 ac_cv_have_timezone="no"
16676 rm -f core conftest.err conftest.$ac_objext \
16677 conftest$ac_exeext conftest.$ac_ext
16679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16680 $as_echo "$ac_cv_have_timezone" >&6; }
16681 if test "$ac_cv_have_timezone" = "yes"
16682 then
16684 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16688 $as_echo_n "checking for daylight variable... " >&6; }
16689 if ${ac_cv_have_daylight+:} false; then :
16690 $as_echo_n "(cached) " >&6
16691 else
16692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16693 /* end confdefs.h. */
16694 #include <time.h>
16696 main ()
16698 daylight = 1
16700 return 0;
16702 _ACEOF
16703 if ac_fn_c_try_link "$LINENO"; then :
16704 ac_cv_have_daylight="yes"
16705 else
16706 ac_cv_have_daylight="no"
16708 rm -f core conftest.err conftest.$ac_objext \
16709 conftest$ac_exeext conftest.$ac_ext
16711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16712 $as_echo "$ac_cv_have_daylight" >&6; }
16713 if test "$ac_cv_have_daylight" = "yes"
16714 then
16716 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16720 ac_save_LIBS="$LIBS"
16721 LIBS="$LIBS -lm"
16722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16723 $as_echo_n "checking for isfinite... " >&6; }
16724 if ${ac_cv_have_isfinite+:} false; then :
16725 $as_echo_n "(cached) " >&6
16726 else
16727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16728 /* end confdefs.h. */
16729 #define _GNU_SOURCE
16730 #include <math.h>
16732 main ()
16734 float f = 0.0; return isfinite(f)
16736 return 0;
16738 _ACEOF
16739 if ac_fn_c_try_link "$LINENO"; then :
16740 ac_cv_have_isfinite="yes"
16741 else
16742 ac_cv_have_isfinite="no"
16744 rm -f core conftest.err conftest.$ac_objext \
16745 conftest$ac_exeext conftest.$ac_ext
16747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16748 $as_echo "$ac_cv_have_isfinite" >&6; }
16749 if test "$ac_cv_have_isfinite" = "yes"
16750 then
16752 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16757 $as_echo_n "checking for isinf... " >&6; }
16758 if ${ac_cv_have_isinf+:} false; then :
16759 $as_echo_n "(cached) " >&6
16760 else
16761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16762 /* end confdefs.h. */
16763 #include <math.h>
16765 main ()
16767 float f = 0.0; return isinf(f)
16769 return 0;
16771 _ACEOF
16772 if ac_fn_c_try_link "$LINENO"; then :
16773 ac_cv_have_isinf="yes"
16774 else
16775 ac_cv_have_isinf="no"
16777 rm -f core conftest.err conftest.$ac_objext \
16778 conftest$ac_exeext conftest.$ac_ext
16780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16781 $as_echo "$ac_cv_have_isinf" >&6; }
16782 if test "$ac_cv_have_isinf" = "yes"
16783 then
16785 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16790 $as_echo_n "checking for isnan... " >&6; }
16791 if ${ac_cv_have_isnan+:} false; then :
16792 $as_echo_n "(cached) " >&6
16793 else
16794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16795 /* end confdefs.h. */
16796 #include <math.h>
16798 main ()
16800 float f = 0.0; return isnan(f)
16802 return 0;
16804 _ACEOF
16805 if ac_fn_c_try_link "$LINENO"; then :
16806 ac_cv_have_isnan="yes"
16807 else
16808 ac_cv_have_isnan="no"
16810 rm -f core conftest.err conftest.$ac_objext \
16811 conftest$ac_exeext conftest.$ac_ext
16813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16814 $as_echo "$ac_cv_have_isnan" >&6; }
16815 if test "$ac_cv_have_isnan" = "yes"
16816 then
16818 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16822 for ac_func in \
16823 cbrt \
16824 cbrtf \
16825 erf \
16826 erff \
16827 exp2 \
16828 exp2f \
16829 llrint \
16830 llrintf \
16831 llround \
16832 llroundf \
16833 log2 \
16834 log2f \
16835 lrint \
16836 lrintf \
16837 lround \
16838 lroundf \
16839 rint \
16840 rintf \
16841 round \
16842 roundf \
16843 trunc \
16844 truncf
16846 do :
16847 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16848 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16849 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16850 cat >>confdefs.h <<_ACEOF
16851 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16852 _ACEOF
16855 done
16857 LIBS="$ac_save_LIBS"
16859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16860 $as_echo_n "checking for __builtin_clz... " >&6; }
16861 if ${ac_cv_have___builtin_clz+:} false; then :
16862 $as_echo_n "(cached) " >&6
16863 else
16864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16865 /* end confdefs.h. */
16868 main ()
16870 return __builtin_clz(1)
16872 return 0;
16874 _ACEOF
16875 if ac_fn_c_try_link "$LINENO"; then :
16876 ac_cv_have___builtin_clz="yes"
16877 else
16878 ac_cv_have___builtin_clz="no"
16880 rm -f core conftest.err conftest.$ac_objext \
16881 conftest$ac_exeext conftest.$ac_ext
16883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16884 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16885 if test "$ac_cv_have___builtin_clz" = "yes"
16886 then
16888 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16893 case $host_cpu in
16894 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16895 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16896 if ${ac_cv_cpp_def___i386__+:} false; then :
16897 $as_echo_n "(cached) " >&6
16898 else
16899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16900 /* end confdefs.h. */
16901 #ifndef __i386__
16903 #endif
16904 _ACEOF
16905 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16906 $EGREP "yes" >/dev/null 2>&1; then :
16907 ac_cv_cpp_def___i386__=yes
16908 else
16909 ac_cv_cpp_def___i386__=no
16911 rm -f conftest*
16914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16915 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16916 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16917 CFLAGS="$CFLAGS -D__i386__"
16918 LINTFLAGS="$LINTFLAGS -D__i386__"
16919 fi ;;
16920 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16921 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16922 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16923 $as_echo_n "(cached) " >&6
16924 else
16925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16926 /* end confdefs.h. */
16927 #ifndef __x86_64__
16929 #endif
16930 _ACEOF
16931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16932 $EGREP "yes" >/dev/null 2>&1; then :
16933 ac_cv_cpp_def___x86_64__=yes
16934 else
16935 ac_cv_cpp_def___x86_64__=no
16937 rm -f conftest*
16940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16941 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16942 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16943 CFLAGS="$CFLAGS -D__x86_64__"
16944 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16945 fi ;;
16946 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16947 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16948 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16949 $as_echo_n "(cached) " >&6
16950 else
16951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16952 /* end confdefs.h. */
16953 #ifndef __sparc64__
16955 #endif
16956 _ACEOF
16957 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16958 $EGREP "yes" >/dev/null 2>&1; then :
16959 ac_cv_cpp_def___sparc64__=yes
16960 else
16961 ac_cv_cpp_def___sparc64__=no
16963 rm -f conftest*
16966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16967 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16968 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16969 CFLAGS="$CFLAGS -D__sparc64__"
16970 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16971 fi ;;
16972 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16973 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16974 if ${ac_cv_cpp_def___sparc__+:} false; then :
16975 $as_echo_n "(cached) " >&6
16976 else
16977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16978 /* end confdefs.h. */
16979 #ifndef __sparc__
16981 #endif
16982 _ACEOF
16983 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16984 $EGREP "yes" >/dev/null 2>&1; then :
16985 ac_cv_cpp_def___sparc__=yes
16986 else
16987 ac_cv_cpp_def___sparc__=no
16989 rm -f conftest*
16992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16993 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16994 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16995 CFLAGS="$CFLAGS -D__sparc__"
16996 LINTFLAGS="$LINTFLAGS -D__sparc__"
16997 fi ;;
16998 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16999 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17000 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17001 $as_echo_n "(cached) " >&6
17002 else
17003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17004 /* end confdefs.h. */
17005 #ifndef __powerpc64__
17007 #endif
17008 _ACEOF
17009 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17010 $EGREP "yes" >/dev/null 2>&1; then :
17011 ac_cv_cpp_def___powerpc64__=yes
17012 else
17013 ac_cv_cpp_def___powerpc64__=no
17015 rm -f conftest*
17018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17019 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17020 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17021 CFLAGS="$CFLAGS -D__powerpc64__"
17022 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17023 fi ;;
17024 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17025 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17026 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17027 $as_echo_n "(cached) " >&6
17028 else
17029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17030 /* end confdefs.h. */
17031 #ifndef __powerpc__
17033 #endif
17034 _ACEOF
17035 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17036 $EGREP "yes" >/dev/null 2>&1; then :
17037 ac_cv_cpp_def___powerpc__=yes
17038 else
17039 ac_cv_cpp_def___powerpc__=no
17041 rm -f conftest*
17044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17045 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17046 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17047 CFLAGS="$CFLAGS -D__powerpc__"
17048 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17049 fi ;;
17050 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17051 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17052 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17053 $as_echo_n "(cached) " >&6
17054 else
17055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17056 /* end confdefs.h. */
17057 #ifndef __aarch64__
17059 #endif
17060 _ACEOF
17061 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17062 $EGREP "yes" >/dev/null 2>&1; then :
17063 ac_cv_cpp_def___aarch64__=yes
17064 else
17065 ac_cv_cpp_def___aarch64__=no
17067 rm -f conftest*
17070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17071 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17072 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17073 CFLAGS="$CFLAGS -D__aarch64__"
17074 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17075 fi ;;
17076 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17077 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17078 if ${ac_cv_cpp_def___arm__+:} false; then :
17079 $as_echo_n "(cached) " >&6
17080 else
17081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17082 /* end confdefs.h. */
17083 #ifndef __arm__
17085 #endif
17086 _ACEOF
17087 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17088 $EGREP "yes" >/dev/null 2>&1; then :
17089 ac_cv_cpp_def___arm__=yes
17090 else
17091 ac_cv_cpp_def___arm__=no
17093 rm -f conftest*
17096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17097 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17098 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17099 CFLAGS="$CFLAGS -D__arm__"
17100 LINTFLAGS="$LINTFLAGS -D__arm__"
17101 fi ;;
17102 esac
17104 case $host_vendor in
17105 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17106 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17107 if ${ac_cv_cpp_def___sun__+:} false; then :
17108 $as_echo_n "(cached) " >&6
17109 else
17110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17111 /* end confdefs.h. */
17112 #ifndef __sun__
17114 #endif
17115 _ACEOF
17116 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17117 $EGREP "yes" >/dev/null 2>&1; then :
17118 ac_cv_cpp_def___sun__=yes
17119 else
17120 ac_cv_cpp_def___sun__=no
17122 rm -f conftest*
17125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17126 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17127 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17128 CFLAGS="$CFLAGS -D__sun__"
17129 LINTFLAGS="$LINTFLAGS -D__sun__"
17130 fi ;;
17131 esac
17137 ac_config_commands="$ac_config_commands include/stamp-h"
17139 $as_echo_n "creating Makefile rules..." >&6
17141 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17142 SOCKET_LIBS = $SOCKET_LIBS
17143 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17144 IOKIT_LIBS = $IOKIT_LIBS
17145 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17146 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17147 CORESERVICES_LIBS = $CORESERVICES_LIBS
17148 APPKIT_LIBS = $APPKIT_LIBS
17149 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17150 SECURITY_LIBS = $SECURITY_LIBS
17151 COREAUDIO_LIBS = $COREAUDIO_LIBS
17152 OPENAL_LIBS = $OPENAL_LIBS
17153 OPENCL_LIBS = $OPENCL_LIBS
17154 QUICKTIME_LIBS = $QUICKTIME_LIBS
17155 CARBON_LIBS = $CARBON_LIBS
17156 PTHREAD_LIBS = $PTHREAD_LIBS
17157 X_CFLAGS = $X_CFLAGS
17158 X_PRE_LIBS = $X_PRE_LIBS
17159 X_LIBS = $X_LIBS
17160 X_EXTRA_LIBS = $X_EXTRA_LIBS
17161 PCAP_LIBS = $PCAP_LIBS
17162 XML2_CFLAGS = $XML2_CFLAGS
17163 XML2_LIBS = $XML2_LIBS
17164 XSLT_CFLAGS = $XSLT_CFLAGS
17165 XSLT_LIBS = $XSLT_LIBS
17166 DBUS_CFLAGS = $DBUS_CFLAGS
17167 DBUS_LIBS = $DBUS_LIBS
17168 HAL_CFLAGS = $HAL_CFLAGS
17169 HAL_LIBS = $HAL_LIBS
17170 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17171 GNUTLS_LIBS = $GNUTLS_LIBS
17172 SANE_CFLAGS = $SANE_CFLAGS
17173 SANE_LIBS = $SANE_LIBS
17174 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17175 GPHOTO2_LIBS = $GPHOTO2_LIBS
17176 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17177 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17178 RESOLV_LIBS = $RESOLV_LIBS
17179 LCMS2_CFLAGS = $LCMS2_CFLAGS
17180 LCMS2_LIBS = $LCMS2_LIBS
17181 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17182 FREETYPE_LIBS = $FREETYPE_LIBS
17183 Z_LIBS = $Z_LIBS
17184 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17185 PULSE_CFLAGS = $PULSE_CFLAGS
17186 PULSE_LIBS = $PULSE_LIBS
17187 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17188 GSTREAMER_LIBS = $GSTREAMER_LIBS
17189 ALSA_LIBS = $ALSA_LIBS
17190 OSS4_CFLAGS = $OSS4_CFLAGS
17191 CAPI20_CFLAGS = $CAPI20_CFLAGS
17192 CAPI20_LIBS = $CAPI20_LIBS
17193 CUPS_CFLAGS = $CUPS_CFLAGS
17194 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17195 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17196 JPEG_CFLAGS = $JPEG_CFLAGS
17197 JPEG_LIBS = $JPEG_LIBS
17198 PNG_CFLAGS = $PNG_CFLAGS
17199 PNG_LIBS = $PNG_LIBS
17200 TIFF_CFLAGS = $TIFF_CFLAGS
17201 TIFF_LIBS = $TIFF_LIBS
17202 MPG123_CFLAGS = $MPG123_CFLAGS
17203 MPG123_LIBS = $MPG123_LIBS
17204 KSTAT_LIBS = $KSTAT_LIBS
17205 PROCSTAT_LIBS = $PROCSTAT_LIBS
17206 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17207 DL_LIBS = $DL_LIBS
17208 POLL_LIBS = $POLL_LIBS
17209 RT_LIBS = $RT_LIBS
17210 LDAP_LIBS = $LDAP_LIBS
17215 wine_fn_append_rule "
17216 # Rules automatically generated by configure
17218 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17220 .INIT: Makefile
17221 .MAKEFILEDEPS:
17222 all: Makefile
17223 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17224 @./config.status Make.tmp Makefile"
17226 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
17227 .gitignore: config.status
17228 @./config.status .gitignore"
17230 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17231 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17233 if test "x$enable_fonts" != xno; then
17234 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17235 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17236 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17237 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17238 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17239 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17241 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17242 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17243 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
17244 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
17245 ac_config_links="$ac_config_links wine:tools/winewrapper"
17246 wine_fn_config_symlink wine
17247 if test "x$enable_win64" != xno; then
17248 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17249 wine_fn_config_symlink wine64
17252 wine_fn_config_dll acledit enable_acledit
17253 wine_fn_config_dll aclui enable_aclui implib
17254 wine_fn_config_dll activeds enable_activeds implib
17255 wine_fn_config_dll actxprxy enable_actxprxy clean
17256 wine_fn_config_lib adsiid
17257 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17258 wine_fn_config_test dlls/advapi32/tests advapi32_test
17259 wine_fn_config_dll advpack enable_advpack implib
17260 wine_fn_config_test dlls/advpack/tests advpack_test
17261 wine_fn_config_dll amstream enable_amstream clean
17262 wine_fn_config_test dlls/amstream/tests amstream_test
17263 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17264 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17265 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17266 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17267 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17268 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17269 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17270 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17271 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17272 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17273 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17274 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17275 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17276 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17277 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17278 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17279 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17280 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17281 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17282 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17283 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17284 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17285 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17286 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17287 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17288 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17289 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17290 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17291 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17292 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17293 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17294 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17295 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17296 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17297 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17298 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17299 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17300 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17301 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17302 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17303 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17304 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17305 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17306 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17307 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17308 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17309 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17310 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17311 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17312 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17313 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17314 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17315 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17316 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17317 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17318 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17319 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17320 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17321 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17322 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17323 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17324 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17325 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17326 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17327 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17328 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17329 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17330 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17331 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17332 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17333 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17334 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17335 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17336 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17337 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17338 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17339 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17340 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17341 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17342 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17343 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17344 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17345 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17346 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17347 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17348 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17349 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17350 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17351 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17352 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17353 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17354 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17355 wine_fn_config_dll apphelp enable_apphelp
17356 wine_fn_config_test dlls/apphelp/tests apphelp_test
17357 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17358 wine_fn_config_dll atl enable_atl clean,implib
17359 wine_fn_config_test dlls/atl/tests atl_test
17360 wine_fn_config_dll atl100 enable_atl100 clean,implib
17361 wine_fn_config_test dlls/atl100/tests atl100_test
17362 wine_fn_config_dll atl110 enable_atl110 clean
17363 wine_fn_config_dll atl80 enable_atl80 clean,implib
17364 wine_fn_config_test dlls/atl80/tests atl80_test
17365 wine_fn_config_dll atl90 enable_atl90 clean
17366 wine_fn_config_dll authz enable_authz
17367 wine_fn_config_dll avicap32 enable_avicap32 implib
17368 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
17369 wine_fn_config_test dlls/avifil32/tests avifil32_test
17370 wine_fn_config_dll avifile.dll16 enable_win16
17371 wine_fn_config_dll avrt enable_avrt implib
17372 wine_fn_config_dll bcrypt enable_bcrypt
17373 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17374 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17375 wine_fn_config_dll browseui enable_browseui clean,po
17376 wine_fn_config_test dlls/browseui/tests browseui_test
17377 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17378 wine_fn_config_dll cabinet enable_cabinet implib
17379 wine_fn_config_test dlls/cabinet/tests cabinet_test
17380 wine_fn_config_dll capi2032 enable_capi2032 implib
17381 wine_fn_config_dll cards enable_cards implib
17382 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17383 wine_fn_config_dll clusapi enable_clusapi implib
17384 wine_fn_config_dll combase enable_combase
17385 wine_fn_config_test dlls/combase/tests combase_test
17386 wine_fn_config_dll comcat enable_comcat
17387 wine_fn_config_test dlls/comcat/tests comcat_test
17388 wine_fn_config_dll comctl32 enable_comctl32 implib,po
17389 wine_fn_config_test dlls/comctl32/tests comctl32_test
17390 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
17391 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17392 wine_fn_config_dll comm.drv16 enable_win16
17393 wine_fn_config_dll commdlg.dll16 enable_win16
17394 wine_fn_config_dll compobj.dll16 enable_win16
17395 wine_fn_config_dll compstui enable_compstui implib
17396 wine_fn_config_dll comsvcs enable_comsvcs implib
17397 wine_fn_config_dll connect enable_connect
17398 wine_fn_config_dll credui enable_credui implib,po
17399 wine_fn_config_test dlls/credui/tests credui_test
17400 wine_fn_config_dll crtdll enable_crtdll implib
17401 wine_fn_config_dll crypt32 enable_crypt32 implib,po
17402 wine_fn_config_test dlls/crypt32/tests crypt32_test
17403 wine_fn_config_dll cryptdlg enable_cryptdlg po
17404 wine_fn_config_dll cryptdll enable_cryptdll implib
17405 wine_fn_config_dll cryptext enable_cryptext
17406 wine_fn_config_dll cryptnet enable_cryptnet implib
17407 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17408 wine_fn_config_dll cryptui enable_cryptui implib,po
17409 wine_fn_config_test dlls/cryptui/tests cryptui_test
17410 wine_fn_config_dll ctapi32 enable_ctapi32
17411 wine_fn_config_dll ctl3d.dll16 enable_win16
17412 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17413 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17414 wine_fn_config_dll d2d1 enable_d2d1 implib
17415 wine_fn_config_test dlls/d2d1/tests d2d1_test
17416 wine_fn_config_dll d3d10 enable_d3d10 implib
17417 wine_fn_config_test dlls/d3d10/tests d3d10_test
17418 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17419 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17420 wine_fn_config_dll d3d10core enable_d3d10core implib
17421 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17422 wine_fn_config_dll d3d11 enable_d3d11 implib
17423 wine_fn_config_test dlls/d3d11/tests d3d11_test
17424 wine_fn_config_dll d3d8 enable_d3d8 implib
17425 wine_fn_config_test dlls/d3d8/tests d3d8_test
17426 wine_fn_config_dll d3d9 enable_d3d9 implib
17427 wine_fn_config_test dlls/d3d9/tests d3d9_test
17428 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17429 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17430 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17431 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17432 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17433 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17434 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17435 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17436 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17437 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17438 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17439 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17440 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17441 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17442 wine_fn_config_dll d3dim enable_d3dim implib
17443 wine_fn_config_dll d3drm enable_d3drm implib
17444 wine_fn_config_test dlls/d3drm/tests d3drm_test
17445 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17446 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17447 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17448 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17449 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17450 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17451 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17452 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17453 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17454 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17455 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17456 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17457 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17458 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17459 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17460 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17461 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17462 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17463 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17464 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17465 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17466 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17467 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17468 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17469 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17470 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17471 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17472 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17473 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17474 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17475 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17476 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17477 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17478 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17479 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17480 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17481 wine_fn_config_dll davclnt enable_davclnt
17482 wine_fn_config_dll dbgeng enable_dbgeng implib
17483 wine_fn_config_dll dbghelp enable_dbghelp implib
17484 wine_fn_config_dll dciman32 enable_dciman32 implib
17485 wine_fn_config_dll ddeml.dll16 enable_win16
17486 wine_fn_config_dll ddraw enable_ddraw clean,implib
17487 wine_fn_config_test dlls/ddraw/tests ddraw_test
17488 wine_fn_config_dll ddrawex enable_ddrawex clean
17489 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17490 wine_fn_config_dll devenum enable_devenum clean,po
17491 wine_fn_config_test dlls/devenum/tests devenum_test
17492 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17493 wine_fn_config_dll difxapi enable_difxapi
17494 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
17495 wine_fn_config_test dlls/dinput/tests dinput_test
17496 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17497 wine_fn_config_test dlls/dinput8/tests dinput8_test
17498 wine_fn_config_dll dispdib.dll16 enable_win16
17499 wine_fn_config_dll dispex enable_dispex clean
17500 wine_fn_config_test dlls/dispex/tests dispex_test
17501 wine_fn_config_dll display.drv16 enable_win16
17502 wine_fn_config_dll dmband enable_dmband clean
17503 wine_fn_config_test dlls/dmband/tests dmband_test
17504 wine_fn_config_dll dmcompos enable_dmcompos clean
17505 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17506 wine_fn_config_dll dmime enable_dmime clean
17507 wine_fn_config_test dlls/dmime/tests dmime_test
17508 wine_fn_config_dll dmloader enable_dmloader clean
17509 wine_fn_config_test dlls/dmloader/tests dmloader_test
17510 wine_fn_config_dll dmscript enable_dmscript clean
17511 wine_fn_config_test dlls/dmscript/tests dmscript_test
17512 wine_fn_config_dll dmstyle enable_dmstyle clean
17513 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17514 wine_fn_config_dll dmsynth enable_dmsynth clean
17515 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17516 wine_fn_config_dll dmusic enable_dmusic clean
17517 wine_fn_config_test dlls/dmusic/tests dmusic_test
17518 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17519 wine_fn_config_dll dnsapi enable_dnsapi implib
17520 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17521 wine_fn_config_dll dplay enable_dplay implib
17522 wine_fn_config_dll dplayx enable_dplayx clean,implib
17523 wine_fn_config_test dlls/dplayx/tests dplayx_test
17524 wine_fn_config_dll dpnaddr enable_dpnaddr
17525 wine_fn_config_dll dpnet enable_dpnet clean,implib
17526 wine_fn_config_test dlls/dpnet/tests dpnet_test
17527 wine_fn_config_dll dpnhpast enable_dpnhpast
17528 wine_fn_config_dll dpnlobby enable_dpnlobby
17529 wine_fn_config_dll dpvoice enable_dpvoice clean
17530 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17531 wine_fn_config_dll dpwsockx enable_dpwsockx
17532 wine_fn_config_dll drmclien enable_drmclien
17533 wine_fn_config_dll dsound enable_dsound clean,implib
17534 wine_fn_config_test dlls/dsound/tests dsound_test
17535 wine_fn_config_dll dssenh enable_dssenh
17536 wine_fn_config_test dlls/dssenh/tests dssenh_test
17537 wine_fn_config_dll dswave enable_dswave clean
17538 wine_fn_config_test dlls/dswave/tests dswave_test
17539 wine_fn_config_dll dwmapi enable_dwmapi implib
17540 wine_fn_config_dll dwrite enable_dwrite implib
17541 wine_fn_config_test dlls/dwrite/tests dwrite_test
17542 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17543 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17544 wine_fn_config_lib dxerr8
17545 wine_fn_config_lib dxerr9
17546 wine_fn_config_dll dxgi enable_dxgi implib
17547 wine_fn_config_test dlls/dxgi/tests dxgi_test
17548 wine_fn_config_lib dxguid
17549 wine_fn_config_dll dxva2 enable_dxva2
17550 wine_fn_config_dll esent enable_esent
17551 wine_fn_config_dll evr enable_evr
17552 wine_fn_config_dll explorerframe enable_explorerframe clean
17553 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17554 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17555 wine_fn_config_dll faultrep enable_faultrep implib
17556 wine_fn_config_test dlls/faultrep/tests faultrep_test
17557 wine_fn_config_dll fltlib enable_fltlib
17558 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17559 wine_fn_config_dll fntcache enable_fntcache
17560 wine_fn_config_dll fontsub enable_fontsub
17561 wine_fn_config_dll fusion enable_fusion
17562 wine_fn_config_test dlls/fusion/tests fusion_test
17563 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17564 wine_fn_config_dll gameux enable_gameux clean
17565 wine_fn_config_test dlls/gameux/tests gameux_test
17566 wine_fn_config_dll gdi.exe16 enable_win16
17567 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17568 wine_fn_config_test dlls/gdi32/tests gdi32_test
17569 wine_fn_config_dll gdiplus enable_gdiplus implib
17570 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17571 wine_fn_config_dll glu32 enable_glu32 implib
17572 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17573 wine_fn_config_dll gpkcsp enable_gpkcsp
17574 wine_fn_config_dll hal enable_hal
17575 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17576 wine_fn_config_dll hid enable_hid implib
17577 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17578 wine_fn_config_dll hlink enable_hlink clean,implib
17579 wine_fn_config_test dlls/hlink/tests hlink_test
17580 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17581 wine_fn_config_dll httpapi enable_httpapi
17582 wine_fn_config_dll iccvid enable_iccvid po
17583 wine_fn_config_dll icmp enable_icmp
17584 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17585 wine_fn_config_test dlls/ieframe/tests ieframe_test
17586 wine_fn_config_dll ifsmgr.vxd enable_win16
17587 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17588 wine_fn_config_dll imagehlp enable_imagehlp implib
17589 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17590 wine_fn_config_dll imm.dll16 enable_win16
17591 wine_fn_config_dll imm32 enable_imm32 implib
17592 wine_fn_config_test dlls/imm32/tests imm32_test
17593 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17594 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17595 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17596 wine_fn_config_dll inetmib1 enable_inetmib1
17597 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17598 wine_fn_config_dll infosoft enable_infosoft clean
17599 wine_fn_config_test dlls/infosoft/tests infosoft_test
17600 wine_fn_config_dll initpki enable_initpki
17601 wine_fn_config_dll inkobj enable_inkobj
17602 wine_fn_config_dll inseng enable_inseng clean
17603 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17604 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17605 wine_fn_config_dll itircl enable_itircl
17606 wine_fn_config_dll itss enable_itss clean
17607 wine_fn_config_test dlls/itss/tests itss_test
17608 wine_fn_config_dll joy.cpl enable_joy_cpl po
17609 wine_fn_config_dll jscript enable_jscript clean,po
17610 wine_fn_config_test dlls/jscript/tests jscript_test
17611 wine_fn_config_dll jsproxy enable_jsproxy implib
17612 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17613 wine_fn_config_test dlls/kernel32/tests kernel32_test
17614 wine_fn_config_dll keyboard.drv16 enable_win16
17615 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17616 wine_fn_config_dll ksuser enable_ksuser
17617 wine_fn_config_dll ktmw32 enable_ktmw32
17618 wine_fn_config_dll loadperf enable_loadperf implib
17619 wine_fn_config_dll localspl enable_localspl po
17620 wine_fn_config_test dlls/localspl/tests localspl_test
17621 wine_fn_config_dll localui enable_localui po
17622 wine_fn_config_test dlls/localui/tests localui_test
17623 wine_fn_config_dll lz32 enable_lz32 implib
17624 wine_fn_config_test dlls/lz32/tests lz32_test
17625 wine_fn_config_dll lzexpand.dll16 enable_win16
17626 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17627 wine_fn_config_test dlls/mapi32/tests mapi32_test
17628 wine_fn_config_dll mapistub enable_mapistub
17629 wine_fn_config_dll mciavi32 enable_mciavi32
17630 wine_fn_config_dll mcicda enable_mcicda
17631 wine_fn_config_dll mciqtz32 enable_mciqtz32
17632 wine_fn_config_dll mciseq enable_mciseq
17633 wine_fn_config_dll mciwave enable_mciwave
17634 wine_fn_config_dll mf enable_mf
17635 wine_fn_config_dll mfplat enable_mfplat
17636 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17637 wine_fn_config_dll mgmtapi enable_mgmtapi
17638 wine_fn_config_dll midimap enable_midimap
17639 wine_fn_config_dll mlang enable_mlang clean,implib
17640 wine_fn_config_test dlls/mlang/tests mlang_test
17641 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17642 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17643 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17644 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17645 wine_fn_config_dll mmdevldr.vxd enable_win16
17646 wine_fn_config_dll mmsystem.dll16 enable_win16
17647 wine_fn_config_dll monodebg.vxd enable_win16
17648 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17649 wine_fn_config_dll mouse.drv16 enable_win16
17650 wine_fn_config_dll mpr enable_mpr implib,po
17651 wine_fn_config_test dlls/mpr/tests mpr_test
17652 wine_fn_config_dll mprapi enable_mprapi implib
17653 wine_fn_config_dll msacm.dll16 enable_win16
17654 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17655 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17656 wine_fn_config_test dlls/msacm32/tests msacm32_test
17657 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17658 wine_fn_config_dll msasn1 enable_msasn1 implib
17659 wine_fn_config_dll mscat32 enable_mscat32
17660 wine_fn_config_dll mscms enable_mscms implib
17661 wine_fn_config_test dlls/mscms/tests mscms_test
17662 wine_fn_config_dll mscoree enable_mscoree clean
17663 wine_fn_config_test dlls/mscoree/tests mscoree_test
17664 wine_fn_config_dll msctf enable_msctf clean
17665 wine_fn_config_test dlls/msctf/tests msctf_test
17666 wine_fn_config_dll msctfp enable_msctfp clean
17667 wine_fn_config_dll msdaps enable_msdaps clean
17668 wine_fn_config_dll msdelta enable_msdelta
17669 wine_fn_config_dll msdmo enable_msdmo implib
17670 wine_fn_config_test dlls/msdmo/tests msdmo_test
17671 wine_fn_config_dll msftedit enable_msftedit
17672 wine_fn_config_dll msg711.acm enable_msg711_acm
17673 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17674 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17675 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17676 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17677 wine_fn_config_dll msi enable_msi clean,implib,po
17678 wine_fn_config_test dlls/msi/tests msi_test
17679 wine_fn_config_dll msident enable_msident clean
17680 wine_fn_config_dll msimg32 enable_msimg32 implib
17681 wine_fn_config_dll msimsg enable_msimsg
17682 wine_fn_config_dll msimtf enable_msimtf clean
17683 wine_fn_config_dll msisip enable_msisip
17684 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17685 wine_fn_config_dll msls31 enable_msls31
17686 wine_fn_config_dll msnet32 enable_msnet32
17687 wine_fn_config_dll mspatcha enable_mspatcha implib
17688 wine_fn_config_dll msrle32 enable_msrle32 po
17689 wine_fn_config_test dlls/msrle32/tests msrle32_test
17690 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17691 wine_fn_config_dll mssign32 enable_mssign32
17692 wine_fn_config_dll mssip32 enable_mssip32
17693 wine_fn_config_dll mstask enable_mstask clean
17694 wine_fn_config_test dlls/mstask/tests mstask_test
17695 wine_fn_config_dll msvcirt enable_msvcirt
17696 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17697 wine_fn_config_dll msvcm80 enable_msvcm80
17698 wine_fn_config_dll msvcm90 enable_msvcm90
17699 wine_fn_config_dll msvcp100 enable_msvcp100
17700 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17701 wine_fn_config_dll msvcp110 enable_msvcp110
17702 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
17703 wine_fn_config_dll msvcp120 enable_msvcp120
17704 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17705 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17706 wine_fn_config_dll msvcp60 enable_msvcp60
17707 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17708 wine_fn_config_dll msvcp70 enable_msvcp70
17709 wine_fn_config_dll msvcp71 enable_msvcp71
17710 wine_fn_config_dll msvcp80 enable_msvcp80
17711 wine_fn_config_dll msvcp90 enable_msvcp90
17712 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17713 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17714 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17715 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17716 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17717 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17718 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17719 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17720 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17721 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17722 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17723 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17724 wine_fn_config_dll msvcrt enable_msvcrt implib
17725 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17726 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17727 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17728 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17729 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17730 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17731 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17732 wine_fn_config_dll msvidc32 enable_msvidc32 po
17733 wine_fn_config_dll msvideo.dll16 enable_win16
17734 wine_fn_config_dll mswsock enable_mswsock implib
17735 wine_fn_config_dll msxml enable_msxml clean
17736 wine_fn_config_dll msxml2 enable_msxml2 clean
17737 wine_fn_config_dll msxml3 enable_msxml3 clean
17738 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17739 wine_fn_config_dll msxml4 enable_msxml4 clean
17740 wine_fn_config_dll msxml6 enable_msxml6 clean
17741 wine_fn_config_dll nddeapi enable_nddeapi implib
17742 wine_fn_config_dll ndis.sys enable_ndis_sys
17743 wine_fn_config_dll netapi32 enable_netapi32 implib
17744 wine_fn_config_test dlls/netapi32/tests netapi32_test
17745 wine_fn_config_dll netcfgx enable_netcfgx clean
17746 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17747 wine_fn_config_dll netprofm enable_netprofm clean
17748 wine_fn_config_test dlls/netprofm/tests netprofm_test
17749 wine_fn_config_dll newdev enable_newdev implib
17750 wine_fn_config_dll normaliz enable_normaliz implib
17751 wine_fn_config_dll npmshtml enable_npmshtml
17752 wine_fn_config_dll npptools enable_npptools
17753 wine_fn_config_dll ntdll enable_ntdll implib
17754 wine_fn_config_test dlls/ntdll/tests ntdll_test
17755 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17756 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17757 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17758 wine_fn_config_dll ntprint enable_ntprint
17759 wine_fn_config_test dlls/ntprint/tests ntprint_test
17760 wine_fn_config_dll objsel enable_objsel clean
17761 wine_fn_config_dll odbc32 enable_odbc32 implib
17762 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17763 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17764 wine_fn_config_dll odbccu32 enable_odbccu32
17765 wine_fn_config_dll ole2.dll16 enable_win16
17766 wine_fn_config_dll ole2conv.dll16 enable_win16
17767 wine_fn_config_dll ole2disp.dll16 enable_win16
17768 wine_fn_config_dll ole2nls.dll16 enable_win16
17769 wine_fn_config_dll ole2prox.dll16 enable_win16
17770 wine_fn_config_dll ole2thk.dll16 enable_win16
17771 wine_fn_config_dll ole32 enable_ole32 clean,implib
17772 wine_fn_config_test dlls/ole32/tests ole32_test
17773 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17774 wine_fn_config_test dlls/oleacc/tests oleacc_test
17775 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17776 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17777 wine_fn_config_dll olecli.dll16 enable_win16
17778 wine_fn_config_dll olecli32 enable_olecli32 implib
17779 wine_fn_config_dll oledb32 enable_oledb32 clean
17780 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17781 wine_fn_config_dll oledlg enable_oledlg implib,po
17782 wine_fn_config_test dlls/oledlg/tests oledlg_test
17783 wine_fn_config_dll olepro32 enable_olepro32 implib
17784 wine_fn_config_dll olesvr.dll16 enable_win16
17785 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17786 wine_fn_config_dll olethk32 enable_olethk32
17787 wine_fn_config_dll openal32 enable_openal32
17788 wine_fn_config_dll opencl enable_opencl
17789 wine_fn_config_dll opengl32 enable_opengl32 implib
17790 wine_fn_config_test dlls/opengl32/tests opengl32_test
17791 wine_fn_config_dll packager enable_packager clean
17792 wine_fn_config_test dlls/packager/tests packager_test
17793 wine_fn_config_dll pdh enable_pdh implib
17794 wine_fn_config_test dlls/pdh/tests pdh_test
17795 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17796 wine_fn_config_dll pidgen enable_pidgen
17797 wine_fn_config_dll powrprof enable_powrprof implib
17798 wine_fn_config_dll printui enable_printui
17799 wine_fn_config_dll prntvpt enable_prntvpt
17800 wine_fn_config_dll propsys enable_propsys clean,implib
17801 wine_fn_config_test dlls/propsys/tests propsys_test
17802 wine_fn_config_dll psapi enable_psapi implib
17803 wine_fn_config_test dlls/psapi/tests psapi_test
17804 wine_fn_config_dll pstorec enable_pstorec clean
17805 wine_fn_config_dll qcap enable_qcap
17806 wine_fn_config_test dlls/qcap/tests qcap_test
17807 wine_fn_config_dll qedit enable_qedit clean
17808 wine_fn_config_test dlls/qedit/tests qedit_test
17809 wine_fn_config_dll qmgr enable_qmgr clean
17810 wine_fn_config_test dlls/qmgr/tests qmgr_test
17811 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17812 wine_fn_config_dll quartz enable_quartz clean,implib
17813 wine_fn_config_test dlls/quartz/tests quartz_test clean
17814 wine_fn_config_dll query enable_query
17815 wine_fn_config_dll rasapi16.dll16 enable_win16
17816 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17817 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17818 wine_fn_config_dll rasdlg enable_rasdlg implib
17819 wine_fn_config_dll regapi enable_regapi
17820 wine_fn_config_dll resutils enable_resutils implib
17821 wine_fn_config_dll riched20 enable_riched20 clean,implib
17822 wine_fn_config_test dlls/riched20/tests riched20_test
17823 wine_fn_config_dll riched32 enable_riched32
17824 wine_fn_config_test dlls/riched32/tests riched32_test
17825 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17826 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17827 wine_fn_config_dll rsabase enable_rsabase
17828 wine_fn_config_dll rsaenh enable_rsaenh implib
17829 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17830 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17831 wine_fn_config_dll rtutils enable_rtutils implib
17832 wine_fn_config_dll samlib enable_samlib
17833 wine_fn_config_dll sane.ds enable_sane_ds po
17834 wine_fn_config_dll scarddlg enable_scarddlg
17835 wine_fn_config_dll sccbase enable_sccbase
17836 wine_fn_config_dll schannel enable_schannel
17837 wine_fn_config_test dlls/schannel/tests schannel_test
17838 wine_fn_config_dll schedsvc enable_schedsvc clean
17839 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17840 wine_fn_config_dll scrrun enable_scrrun clean
17841 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17842 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17843 wine_fn_config_dll secur32 enable_secur32 implib
17844 wine_fn_config_test dlls/secur32/tests secur32_test
17845 wine_fn_config_dll security enable_security
17846 wine_fn_config_dll sensapi enable_sensapi implib
17847 wine_fn_config_dll serialui enable_serialui implib,po
17848 wine_fn_config_test dlls/serialui/tests serialui_test
17849 wine_fn_config_dll setupapi enable_setupapi implib,po
17850 wine_fn_config_test dlls/setupapi/tests setupapi_test
17851 wine_fn_config_dll setupx.dll16 enable_win16
17852 wine_fn_config_dll sfc enable_sfc implib
17853 wine_fn_config_dll sfc_os enable_sfc_os implib
17854 wine_fn_config_dll shdoclc enable_shdoclc po
17855 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17856 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17857 wine_fn_config_dll shell.dll16 enable_win16
17858 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17859 wine_fn_config_test dlls/shell32/tests shell32_test
17860 wine_fn_config_dll shfolder enable_shfolder implib
17861 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17862 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17863 wine_fn_config_dll slbcsp enable_slbcsp
17864 wine_fn_config_dll slc enable_slc implib
17865 wine_fn_config_test dlls/slc/tests slc_test
17866 wine_fn_config_dll snmpapi enable_snmpapi implib
17867 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17868 wine_fn_config_dll softpub enable_softpub
17869 wine_fn_config_dll sound.drv16 enable_win16
17870 wine_fn_config_dll spoolss enable_spoolss implib
17871 wine_fn_config_test dlls/spoolss/tests spoolss_test
17872 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17873 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17874 wine_fn_config_dll sti enable_sti clean,implib
17875 wine_fn_config_test dlls/sti/tests sti_test
17876 wine_fn_config_dll storage.dll16 enable_win16
17877 wine_fn_config_dll stress.dll16 enable_win16
17878 wine_fn_config_lib strmbase
17879 wine_fn_config_lib strmiids
17880 wine_fn_config_dll svrapi enable_svrapi
17881 wine_fn_config_dll sxs enable_sxs implib
17882 wine_fn_config_test dlls/sxs/tests sxs_test
17883 wine_fn_config_dll system.drv16 enable_win16
17884 wine_fn_config_dll t2embed enable_t2embed
17885 wine_fn_config_dll tapi32 enable_tapi32 implib
17886 wine_fn_config_dll taskschd enable_taskschd clean
17887 wine_fn_config_test dlls/taskschd/tests taskschd_test
17888 wine_fn_config_dll tdi.sys enable_tdi_sys
17889 wine_fn_config_dll toolhelp.dll16 enable_win16
17890 wine_fn_config_dll traffic enable_traffic
17891 wine_fn_config_dll twain.dll16 enable_win16
17892 wine_fn_config_dll twain_32 enable_twain_32
17893 wine_fn_config_test dlls/twain_32/tests twain_32_test
17894 wine_fn_config_dll typelib.dll16 enable_win16
17895 wine_fn_config_dll ucrtbase enable_ucrtbase
17896 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
17897 wine_fn_config_dll unicows enable_unicows implib
17898 wine_fn_config_dll updspapi enable_updspapi
17899 wine_fn_config_dll url enable_url implib
17900 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17901 wine_fn_config_test dlls/urlmon/tests urlmon_test
17902 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17903 wine_fn_config_dll user.exe16 enable_win16
17904 wine_fn_config_dll user32 enable_user32 clean,implib,po
17905 wine_fn_config_test dlls/user32/tests user32_test
17906 wine_fn_config_dll userenv enable_userenv implib
17907 wine_fn_config_test dlls/userenv/tests userenv_test
17908 wine_fn_config_dll usp10 enable_usp10 implib
17909 wine_fn_config_test dlls/usp10/tests usp10_test
17910 wine_fn_config_lib uuid
17911 wine_fn_config_dll uxtheme enable_uxtheme implib
17912 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17913 wine_fn_config_dll vbscript enable_vbscript clean
17914 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17915 wine_fn_config_dll vcomp enable_vcomp
17916 wine_fn_config_test dlls/vcomp/tests vcomp_test
17917 wine_fn_config_dll vcomp100 enable_vcomp100
17918 wine_fn_config_dll vcomp110 enable_vcomp110
17919 wine_fn_config_dll vcomp120 enable_vcomp120
17920 wine_fn_config_dll vcomp90 enable_vcomp90
17921 wine_fn_config_dll vcruntime140 enable_vcruntime140
17922 wine_fn_config_dll vdhcp.vxd enable_win16
17923 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17924 wine_fn_config_dll ver.dll16 enable_win16
17925 wine_fn_config_dll version enable_version implib
17926 wine_fn_config_test dlls/version/tests version_test
17927 wine_fn_config_dll vmm.vxd enable_win16
17928 wine_fn_config_dll vnbt.vxd enable_win16
17929 wine_fn_config_dll vnetbios.vxd enable_win16
17930 wine_fn_config_dll vssapi enable_vssapi
17931 wine_fn_config_dll vtdapi.vxd enable_win16
17932 wine_fn_config_dll vwin32.vxd enable_win16
17933 wine_fn_config_dll w32skrnl enable_win16
17934 wine_fn_config_dll w32sys.dll16 enable_win16
17935 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17936 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
17937 wine_fn_config_dll wbemprox enable_wbemprox clean
17938 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17939 wine_fn_config_dll webservices enable_webservices implib
17940 wine_fn_config_test dlls/webservices/tests webservices_test
17941 wine_fn_config_dll wer enable_wer implib
17942 wine_fn_config_test dlls/wer/tests wer_test
17943 wine_fn_config_dll wevtapi enable_wevtapi
17944 wine_fn_config_dll wiaservc enable_wiaservc clean
17945 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
17946 wine_fn_config_dll wimgapi enable_wimgapi
17947 wine_fn_config_dll win32s16.dll16 enable_win16
17948 wine_fn_config_dll win87em.dll16 enable_win16
17949 wine_fn_config_dll winaspi.dll16 enable_win16
17950 wine_fn_config_dll windebug.dll16 enable_win16
17951 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17952 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17953 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17954 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17955 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17956 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17957 wine_fn_config_lib winecrt0
17958 wine_fn_config_dll wined3d enable_wined3d implib
17959 wine_fn_config_dll winegstreamer enable_winegstreamer
17960 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17961 wine_fn_config_dll winemac.drv enable_winemac_drv po
17962 wine_fn_config_dll winemapi enable_winemapi
17963 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17964 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17965 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17966 wine_fn_config_dll wineps16.drv16 enable_win16
17967 wine_fn_config_dll winepulse.drv enable_winepulse_drv
17968 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17969 wine_fn_config_dll winex11.drv enable_winex11_drv
17970 wine_fn_config_dll wing.dll16 enable_win16
17971 wine_fn_config_dll wing32 enable_wing32
17972 wine_fn_config_dll winhttp enable_winhttp clean,implib
17973 wine_fn_config_test dlls/winhttp/tests winhttp_test
17974 wine_fn_config_dll wininet enable_wininet implib,po
17975 wine_fn_config_test dlls/wininet/tests wininet_test
17976 wine_fn_config_dll winmm enable_winmm implib,po
17977 wine_fn_config_test dlls/winmm/tests winmm_test
17978 wine_fn_config_dll winnls.dll16 enable_win16
17979 wine_fn_config_dll winnls32 enable_winnls32 implib
17980 wine_fn_config_dll winscard enable_winscard implib
17981 wine_fn_config_dll winsock.dll16 enable_win16
17982 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17983 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17984 wine_fn_config_dll winsta enable_winsta
17985 wine_fn_config_dll wintab.dll16 enable_win16
17986 wine_fn_config_dll wintab32 enable_wintab32 implib
17987 wine_fn_config_test dlls/wintab32/tests wintab32_test
17988 wine_fn_config_dll wintrust enable_wintrust implib
17989 wine_fn_config_test dlls/wintrust/tests wintrust_test
17990 wine_fn_config_dll wlanapi enable_wlanapi
17991 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17992 wine_fn_config_test dlls/wldap32/tests wldap32_test
17993 wine_fn_config_dll wmi enable_wmi
17994 wine_fn_config_dll wmiutils enable_wmiutils clean
17995 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17996 wine_fn_config_dll wmp enable_wmp clean
17997 wine_fn_config_test dlls/wmp/tests wmp_test
17998 wine_fn_config_dll wmvcore enable_wmvcore
17999 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18000 wine_fn_config_dll wow32 enable_win16 implib
18001 wine_fn_config_dll wpcap enable_wpcap
18002 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18003 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18004 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18005 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18006 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18007 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18008 wine_fn_config_dll wsock32 enable_wsock32 implib
18009 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18010 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18011 wine_fn_config_dll wuapi enable_wuapi clean
18012 wine_fn_config_dll wuaueng enable_wuaueng
18013 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18014 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18015 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18016 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18017 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18018 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18019 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18020 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18021 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18022 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18023 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18024 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18025 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18026 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18027 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18028 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18029 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18030 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18031 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18032 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18033 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18034 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18035 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 implib
18036 wine_fn_config_dll xinput1_1 enable_xinput1_1
18037 wine_fn_config_dll xinput1_2 enable_xinput1_2
18038 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18039 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18040 wine_fn_config_dll xinput1_4 enable_xinput1_4
18041 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18042 wine_fn_config_dll xmllite enable_xmllite implib
18043 wine_fn_config_test dlls/xmllite/tests xmllite_test
18044 wine_fn_config_dll xolehlp enable_xolehlp
18045 wine_fn_config_dll xpsprint enable_xpsprint
18046 wine_fn_config_dll xpssvcs enable_xpssvcs
18047 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18048 wine_fn_config_makefile include enable_include clean,install-dev
18049 wine_fn_config_makefile libs/port enable_libs_port
18050 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18051 wine_fn_config_makefile libs/wpp enable_libs_wpp
18052 wine_fn_config_makefile loader enable_loader clean,install-lib
18053 wine_fn_config_program arp enable_arp install
18054 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18055 wine_fn_config_program attrib enable_attrib install,po
18056 wine_fn_config_program cabarc enable_cabarc install
18057 wine_fn_config_program cacls enable_cacls install
18058 wine_fn_config_program clock enable_clock install,po
18059 wine_fn_config_program cmd enable_cmd install,po
18060 wine_fn_config_test programs/cmd/tests cmd.exe_test
18061 wine_fn_config_program conhost enable_conhost install
18062 wine_fn_config_program control enable_control install
18063 wine_fn_config_program cscript enable_cscript clean,install
18064 wine_fn_config_program dpnsvr enable_dpnsvr install
18065 wine_fn_config_program dxdiag enable_dxdiag install,po
18066 wine_fn_config_program eject enable_eject install
18067 wine_fn_config_program expand enable_expand install
18068 wine_fn_config_program explorer enable_explorer install,po
18069 wine_fn_config_program extrac32 enable_extrac32 install
18070 wine_fn_config_program findstr enable_findstr install
18071 wine_fn_config_program hh enable_hh install
18072 wine_fn_config_program hostname enable_hostname install,po
18073 wine_fn_config_program icinfo enable_icinfo install
18074 wine_fn_config_program iexplore enable_iexplore install
18075 wine_fn_config_program ipconfig enable_ipconfig install,po
18076 wine_fn_config_program lodctr enable_lodctr install
18077 wine_fn_config_program mofcomp enable_mofcomp install
18078 wine_fn_config_program mshta enable_mshta install
18079 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18080 wine_fn_config_program net enable_net install,po
18081 wine_fn_config_program netsh enable_netsh install
18082 wine_fn_config_program netstat enable_netstat install,po
18083 wine_fn_config_program ngen enable_ngen install
18084 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
18085 wine_fn_config_program oleview enable_oleview install,po
18086 wine_fn_config_program ping enable_ping install
18087 wine_fn_config_program plugplay enable_plugplay install
18088 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18089 wine_fn_config_program progman enable_progman install,po
18090 wine_fn_config_program reg enable_reg install,po
18091 wine_fn_config_test programs/reg/tests reg.exe_test
18092 wine_fn_config_program regasm enable_regasm install
18093 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
18094 wine_fn_config_test programs/regedit/tests regedit.exe_test
18095 wine_fn_config_program regsvcs enable_regsvcs install
18096 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
18097 wine_fn_config_program rpcss enable_rpcss clean,install
18098 wine_fn_config_program rundll.exe16 enable_win16 install
18099 wine_fn_config_program rundll32 enable_rundll32 install
18100 wine_fn_config_program sc enable_sc install
18101 wine_fn_config_program schtasks enable_schtasks install
18102 wine_fn_config_program sdbinst enable_sdbinst install
18103 wine_fn_config_program secedit enable_secedit install
18104 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18105 wine_fn_config_program services enable_services clean,install
18106 wine_fn_config_test programs/services/tests services.exe_test
18107 wine_fn_config_program spoolsv enable_spoolsv install
18108 wine_fn_config_program start enable_start install,po
18109 wine_fn_config_program svchost enable_svchost install
18110 wine_fn_config_program systeminfo enable_systeminfo install
18111 wine_fn_config_program taskkill enable_taskkill install,po
18112 wine_fn_config_program tasklist enable_tasklist install
18113 wine_fn_config_program taskmgr enable_taskmgr install,po
18114 wine_fn_config_program termsv enable_termsv install
18115 wine_fn_config_program uninstaller enable_uninstaller install,po
18116 wine_fn_config_program unlodctr enable_unlodctr install
18117 wine_fn_config_program view enable_view install,po
18118 wine_fn_config_program wevtutil enable_wevtutil install
18119 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
18120 wine_fn_config_program winebrowser enable_winebrowser install
18121 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
18122 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
18123 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
18124 wine_fn_config_program winedevice enable_winedevice install
18125 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
18126 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18127 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
18128 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18129 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18130 wine_fn_config_program winetest enable_winetest clean
18131 wine_fn_config_program winevdm enable_win16 install
18132 wine_fn_config_program winhelp.exe16 enable_win16 install
18133 wine_fn_config_program winhlp32 enable_winhlp32 install,po
18134 wine_fn_config_program winoldap.mod16 enable_win16 install
18135 wine_fn_config_program winver enable_winver install
18136 wine_fn_config_program wmic enable_wmic install,po
18137 wine_fn_config_program wmplayer enable_wmplayer install
18138 wine_fn_config_program wordpad enable_wordpad install,po
18139 wine_fn_config_program write enable_write install,po
18140 wine_fn_config_program wscript enable_wscript clean,install
18141 wine_fn_config_test programs/wscript/tests wscript.exe_test
18142 wine_fn_config_program wusa enable_wusa install
18143 wine_fn_config_program xcopy enable_xcopy install,po
18144 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18145 wine_fn_config_makefile server enable_server clean,install-lib
18146 wine_fn_config_tool tools clean
18147 wine_fn_config_tool tools/sfnt2fon clean
18148 wine_fn_config_tool tools/widl clean,install-dev
18149 wine_fn_config_tool tools/winebuild clean,install-dev
18150 wine_fn_config_tool tools/winedump clean,install-dev
18151 wine_fn_config_tool tools/winegcc clean,install-dev
18152 wine_fn_config_tool tools/winemaker clean,install-dev
18153 wine_fn_config_tool tools/wmc clean,install-dev
18154 wine_fn_config_tool tools/wrc clean,install-dev
18156 LINGUAS="\
18157 ar \
18158 bg \
18159 ca \
18160 cs \
18161 da \
18162 de \
18163 el \
18164 en \
18165 en_US \
18166 eo \
18167 es \
18168 fa \
18169 fi \
18170 fr \
18171 he \
18172 hi \
18173 hr \
18174 hu \
18175 it \
18176 ja \
18177 ko \
18178 lt \
18179 ml \
18180 nb_NO \
18181 nl \
18182 or \
18183 pa \
18184 pl \
18185 pt_BR \
18186 pt_PT \
18187 rm \
18188 ro \
18189 ru \
18190 sk \
18191 sl \
18192 sr_RS@cyrillic \
18193 sr_RS@latin \
18194 sv \
18195 te \
18196 th \
18197 tr \
18198 uk \
18199 wa \
18200 zh_CN \
18201 zh_TW"
18206 wine_fn_ignore_file ".gitignore"
18207 wine_fn_ignore_file "Makefile"
18208 wine_fn_ignore_file "TAGS"
18209 wine_fn_ignore_file "tags"
18210 wine_fn_ignore_file "autom4te.cache"
18211 wine_fn_ignore_file "config.cache"
18212 wine_fn_ignore_file "config.log"
18213 wine_fn_ignore_file "config.status"
18214 wine_fn_ignore_file "configure.lineno"
18215 wine_fn_ignore_file "include/config.h"
18216 wine_fn_ignore_file "include/stamp-h"
18217 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
18219 if test "x$enable_tools" != xno
18220 then
18221 wine_fn_ignore_file "tools/makedep$ac_exeext"
18222 ac_config_commands="$ac_config_commands tools/makedep"
18226 ac_config_commands="$ac_config_commands Makefile"
18229 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18233 if test "x$enable_maintainer_mode" = xyes
18234 then
18235 wine_fn_append_rule "configure: configure.ac aclocal.m4
18236 autoconf --warnings=all
18237 include/config.h.in: include/stamp-h.in
18238 include/stamp-h.in: configure.ac aclocal.m4
18239 autoheader --warnings=all
18240 @echo timestamp > \$@"
18243 if test "x$with_gettextpo" = xyes
18244 then
18245 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
18246 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
18247 \$(LINGUAS:%=po/%.po): po/wine.pot
18248 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
18249 po/wine.pot: \$(ALL_POT_FILES)
18250 msgcat -o \$@ \$(ALL_POT_FILES)"
18253 if test "$MSGFMT" != false
18254 then
18255 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
18256 clean::
18257 \$(RM) \$(LINGUAS:%=po/%.mo)"
18259 posrc="po"
18260 test "$srcdir" = . || posrc="$srcdir/po"
18261 for i in $LINGUAS
18263 wine_fn_ignore_file "po/$i.mo"
18264 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
18265 \$(MSGFMT) -o \$@ $posrc/$i.po"
18266 done
18267 else
18268 LINGUAS=
18271 if test "x$enable_tools" != xno
18272 then
18273 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18274 @./config.status tools/makedep
18275 Makefile: tools/makedep$ac_exeext
18276 distclean:: clean
18277 \$(RM) tools/makedep$ac_exeext"
18278 else
18279 wine_fn_append_rule "\$(MAKEDEP):
18280 @echo \"You need to run make in $TOOLSDIR first\" && false"
18283 if test -n "$with_wine64"
18284 then
18285 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18286 fonts server tools:
18287 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18288 $with_wine64/loader/wine:
18289 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18290 $with_wine64/loader/wine-preloader:
18291 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18292 clean::
18293 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18294 else
18295 WINELOADER_INSTALL="wine.inf"
18297 wine_fn_append_rule "install install-lib::
18298 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18299 uninstall::
18300 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18301 case $host_os in
18302 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18303 *) wine_fn_append_rule "install install-lib::
18304 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18305 uninstall::
18306 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18307 esac
18310 if test "$srcdir" = .
18311 then
18312 ac_config_commands="$ac_config_commands .gitignore"
18316 $as_echo " done" >&6
18317 cat >confcache <<\_ACEOF
18318 # This file is a shell script that caches the results of configure
18319 # tests run on this system so they can be shared between configure
18320 # scripts and configure runs, see configure's option --config-cache.
18321 # It is not useful on other systems. If it contains results you don't
18322 # want to keep, you may remove or edit it.
18324 # config.status only pays attention to the cache file if you give it
18325 # the --recheck option to rerun configure.
18327 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18328 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18329 # following values.
18331 _ACEOF
18333 # The following way of writing the cache mishandles newlines in values,
18334 # but we know of no workaround that is simple, portable, and efficient.
18335 # So, we kill variables containing newlines.
18336 # Ultrix sh set writes to stderr and can't be redirected directly,
18337 # and sets the high bit in the cache file unless we assign to the vars.
18339 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18340 eval ac_val=\$$ac_var
18341 case $ac_val in #(
18342 *${as_nl}*)
18343 case $ac_var in #(
18344 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18345 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18346 esac
18347 case $ac_var in #(
18348 _ | IFS | as_nl) ;; #(
18349 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18350 *) { eval $ac_var=; unset $ac_var;} ;;
18351 esac ;;
18352 esac
18353 done
18355 (set) 2>&1 |
18356 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18357 *${as_nl}ac_space=\ *)
18358 # `set' does not quote correctly, so add quotes: double-quote
18359 # substitution turns \\\\ into \\, and sed turns \\ into \.
18360 sed -n \
18361 "s/'/'\\\\''/g;
18362 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18363 ;; #(
18365 # `set' quotes correctly as required by POSIX, so do not add quotes.
18366 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18368 esac |
18369 sort
18371 sed '
18372 /^ac_cv_env_/b end
18373 t clear
18374 :clear
18375 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18376 t end
18377 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18378 :end' >>confcache
18379 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18380 if test -w "$cache_file"; then
18381 if test "x$cache_file" != "x/dev/null"; then
18382 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18383 $as_echo "$as_me: updating cache $cache_file" >&6;}
18384 if test ! -f "$cache_file" || test -h "$cache_file"; then
18385 cat confcache >"$cache_file"
18386 else
18387 case $cache_file in #(
18388 */* | ?:*)
18389 mv -f confcache "$cache_file"$$ &&
18390 mv -f "$cache_file"$$ "$cache_file" ;; #(
18392 mv -f confcache "$cache_file" ;;
18393 esac
18396 else
18397 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18398 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18401 rm -f confcache
18403 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18404 # Let make expand exec_prefix.
18405 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18407 DEFS=-DHAVE_CONFIG_H
18409 ac_libobjs=
18410 ac_ltlibobjs=
18412 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18413 # 1. Remove the extension, and $U if already installed.
18414 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18415 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18416 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18417 # will be set to the directory where LIBOBJS objects are built.
18418 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18419 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18420 done
18421 LIBOBJS=$ac_libobjs
18423 LTLIBOBJS=$ac_ltlibobjs
18427 : "${CONFIG_STATUS=./config.status}"
18428 ac_write_fail=0
18429 ac_clean_files_save=$ac_clean_files
18430 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18431 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18432 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18433 as_write_fail=0
18434 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18435 #! $SHELL
18436 # Generated by $as_me.
18437 # Run this file to recreate the current configuration.
18438 # Compiler output produced by configure, useful for debugging
18439 # configure, is in config.log if it exists.
18441 debug=false
18442 ac_cs_recheck=false
18443 ac_cs_silent=false
18445 SHELL=\${CONFIG_SHELL-$SHELL}
18446 export SHELL
18447 _ASEOF
18448 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18449 ## -------------------- ##
18450 ## M4sh Initialization. ##
18451 ## -------------------- ##
18453 # Be more Bourne compatible
18454 DUALCASE=1; export DUALCASE # for MKS sh
18455 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18456 emulate sh
18457 NULLCMD=:
18458 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18459 # is contrary to our usage. Disable this feature.
18460 alias -g '${1+"$@"}'='"$@"'
18461 setopt NO_GLOB_SUBST
18462 else
18463 case `(set -o) 2>/dev/null` in #(
18464 *posix*) :
18465 set -o posix ;; #(
18466 *) :
18468 esac
18472 as_nl='
18474 export as_nl
18475 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18476 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18477 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18478 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18479 # Prefer a ksh shell builtin over an external printf program on Solaris,
18480 # but without wasting forks for bash or zsh.
18481 if test -z "$BASH_VERSION$ZSH_VERSION" \
18482 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18483 as_echo='print -r --'
18484 as_echo_n='print -rn --'
18485 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18486 as_echo='printf %s\n'
18487 as_echo_n='printf %s'
18488 else
18489 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18490 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18491 as_echo_n='/usr/ucb/echo -n'
18492 else
18493 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18494 as_echo_n_body='eval
18495 arg=$1;
18496 case $arg in #(
18497 *"$as_nl"*)
18498 expr "X$arg" : "X\\(.*\\)$as_nl";
18499 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18500 esac;
18501 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18503 export as_echo_n_body
18504 as_echo_n='sh -c $as_echo_n_body as_echo'
18506 export as_echo_body
18507 as_echo='sh -c $as_echo_body as_echo'
18510 # The user is always right.
18511 if test "${PATH_SEPARATOR+set}" != set; then
18512 PATH_SEPARATOR=:
18513 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18514 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18515 PATH_SEPARATOR=';'
18520 # IFS
18521 # We need space, tab and new line, in precisely that order. Quoting is
18522 # there to prevent editors from complaining about space-tab.
18523 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18524 # splitting by setting IFS to empty value.)
18525 IFS=" "" $as_nl"
18527 # Find who we are. Look in the path if we contain no directory separator.
18528 as_myself=
18529 case $0 in #((
18530 *[\\/]* ) as_myself=$0 ;;
18531 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18532 for as_dir in $PATH
18534 IFS=$as_save_IFS
18535 test -z "$as_dir" && as_dir=.
18536 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18537 done
18538 IFS=$as_save_IFS
18541 esac
18542 # We did not find ourselves, most probably we were run as `sh COMMAND'
18543 # in which case we are not to be found in the path.
18544 if test "x$as_myself" = x; then
18545 as_myself=$0
18547 if test ! -f "$as_myself"; then
18548 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18549 exit 1
18552 # Unset variables that we do not need and which cause bugs (e.g. in
18553 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18554 # suppresses any "Segmentation fault" message there. '((' could
18555 # trigger a bug in pdksh 5.2.14.
18556 for as_var in BASH_ENV ENV MAIL MAILPATH
18557 do eval test x\${$as_var+set} = xset \
18558 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18559 done
18560 PS1='$ '
18561 PS2='> '
18562 PS4='+ '
18564 # NLS nuisances.
18565 LC_ALL=C
18566 export LC_ALL
18567 LANGUAGE=C
18568 export LANGUAGE
18570 # CDPATH.
18571 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18574 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18575 # ----------------------------------------
18576 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18577 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18578 # script with STATUS, using 1 if that was 0.
18579 as_fn_error ()
18581 as_status=$1; test $as_status -eq 0 && as_status=1
18582 if test "$4"; then
18583 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18584 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18586 $as_echo "$as_me: error: $2" >&2
18587 as_fn_exit $as_status
18588 } # as_fn_error
18591 # as_fn_set_status STATUS
18592 # -----------------------
18593 # Set $? to STATUS, without forking.
18594 as_fn_set_status ()
18596 return $1
18597 } # as_fn_set_status
18599 # as_fn_exit STATUS
18600 # -----------------
18601 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18602 as_fn_exit ()
18604 set +e
18605 as_fn_set_status $1
18606 exit $1
18607 } # as_fn_exit
18609 # as_fn_unset VAR
18610 # ---------------
18611 # Portably unset VAR.
18612 as_fn_unset ()
18614 { eval $1=; unset $1;}
18616 as_unset=as_fn_unset
18617 # as_fn_append VAR VALUE
18618 # ----------------------
18619 # Append the text in VALUE to the end of the definition contained in VAR. Take
18620 # advantage of any shell optimizations that allow amortized linear growth over
18621 # repeated appends, instead of the typical quadratic growth present in naive
18622 # implementations.
18623 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18624 eval 'as_fn_append ()
18626 eval $1+=\$2
18628 else
18629 as_fn_append ()
18631 eval $1=\$$1\$2
18633 fi # as_fn_append
18635 # as_fn_arith ARG...
18636 # ------------------
18637 # Perform arithmetic evaluation on the ARGs, and store the result in the
18638 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18639 # must be portable across $(()) and expr.
18640 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18641 eval 'as_fn_arith ()
18643 as_val=$(( $* ))
18645 else
18646 as_fn_arith ()
18648 as_val=`expr "$@" || test $? -eq 1`
18650 fi # as_fn_arith
18653 if expr a : '\(a\)' >/dev/null 2>&1 &&
18654 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18655 as_expr=expr
18656 else
18657 as_expr=false
18660 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18661 as_basename=basename
18662 else
18663 as_basename=false
18666 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18667 as_dirname=dirname
18668 else
18669 as_dirname=false
18672 as_me=`$as_basename -- "$0" ||
18673 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18674 X"$0" : 'X\(//\)$' \| \
18675 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18676 $as_echo X/"$0" |
18677 sed '/^.*\/\([^/][^/]*\)\/*$/{
18678 s//\1/
18681 /^X\/\(\/\/\)$/{
18682 s//\1/
18685 /^X\/\(\/\).*/{
18686 s//\1/
18689 s/.*/./; q'`
18691 # Avoid depending upon Character Ranges.
18692 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18693 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18694 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18695 as_cr_digits='0123456789'
18696 as_cr_alnum=$as_cr_Letters$as_cr_digits
18698 ECHO_C= ECHO_N= ECHO_T=
18699 case `echo -n x` in #(((((
18700 -n*)
18701 case `echo 'xy\c'` in
18702 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18703 xy) ECHO_C='\c';;
18704 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18705 ECHO_T=' ';;
18706 esac;;
18708 ECHO_N='-n';;
18709 esac
18711 rm -f conf$$ conf$$.exe conf$$.file
18712 if test -d conf$$.dir; then
18713 rm -f conf$$.dir/conf$$.file
18714 else
18715 rm -f conf$$.dir
18716 mkdir conf$$.dir 2>/dev/null
18718 if (echo >conf$$.file) 2>/dev/null; then
18719 if ln -s conf$$.file conf$$ 2>/dev/null; then
18720 as_ln_s='ln -s'
18721 # ... but there are two gotchas:
18722 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18723 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18724 # In both cases, we have to default to `cp -pR'.
18725 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18726 as_ln_s='cp -pR'
18727 elif ln conf$$.file conf$$ 2>/dev/null; then
18728 as_ln_s=ln
18729 else
18730 as_ln_s='cp -pR'
18732 else
18733 as_ln_s='cp -pR'
18735 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18736 rmdir conf$$.dir 2>/dev/null
18739 # as_fn_mkdir_p
18740 # -------------
18741 # Create "$as_dir" as a directory, including parents if necessary.
18742 as_fn_mkdir_p ()
18745 case $as_dir in #(
18746 -*) as_dir=./$as_dir;;
18747 esac
18748 test -d "$as_dir" || eval $as_mkdir_p || {
18749 as_dirs=
18750 while :; do
18751 case $as_dir in #(
18752 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18753 *) as_qdir=$as_dir;;
18754 esac
18755 as_dirs="'$as_qdir' $as_dirs"
18756 as_dir=`$as_dirname -- "$as_dir" ||
18757 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18758 X"$as_dir" : 'X\(//\)[^/]' \| \
18759 X"$as_dir" : 'X\(//\)$' \| \
18760 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18761 $as_echo X"$as_dir" |
18762 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18763 s//\1/
18766 /^X\(\/\/\)[^/].*/{
18767 s//\1/
18770 /^X\(\/\/\)$/{
18771 s//\1/
18774 /^X\(\/\).*/{
18775 s//\1/
18778 s/.*/./; q'`
18779 test -d "$as_dir" && break
18780 done
18781 test -z "$as_dirs" || eval "mkdir $as_dirs"
18782 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18785 } # as_fn_mkdir_p
18786 if mkdir -p . 2>/dev/null; then
18787 as_mkdir_p='mkdir -p "$as_dir"'
18788 else
18789 test -d ./-p && rmdir ./-p
18790 as_mkdir_p=false
18794 # as_fn_executable_p FILE
18795 # -----------------------
18796 # Test if FILE is an executable regular file.
18797 as_fn_executable_p ()
18799 test -f "$1" && test -x "$1"
18800 } # as_fn_executable_p
18801 as_test_x='test -x'
18802 as_executable_p=as_fn_executable_p
18804 # Sed expression to map a string onto a valid CPP name.
18805 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18807 # Sed expression to map a string onto a valid variable name.
18808 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18811 exec 6>&1
18812 ## ----------------------------------- ##
18813 ## Main body of $CONFIG_STATUS script. ##
18814 ## ----------------------------------- ##
18815 _ASEOF
18816 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18818 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18819 # Save the log message, to keep $0 and so on meaningful, and to
18820 # report actual input values of CONFIG_FILES etc. instead of their
18821 # values after options handling.
18822 ac_log="
18823 This file was extended by Wine $as_me 1.8, which was
18824 generated by GNU Autoconf 2.69. Invocation command line was
18826 CONFIG_FILES = $CONFIG_FILES
18827 CONFIG_HEADERS = $CONFIG_HEADERS
18828 CONFIG_LINKS = $CONFIG_LINKS
18829 CONFIG_COMMANDS = $CONFIG_COMMANDS
18830 $ $0 $@
18832 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18835 _ACEOF
18837 case $ac_config_files in *"
18838 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18839 esac
18841 case $ac_config_headers in *"
18842 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18843 esac
18846 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18847 # Files that config.status was made for.
18848 config_files="$ac_config_files"
18849 config_headers="$ac_config_headers"
18850 config_links="$ac_config_links"
18851 config_commands="$ac_config_commands"
18853 _ACEOF
18855 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18856 ac_cs_usage="\
18857 \`$as_me' instantiates files and other configuration actions
18858 from templates according to the current configuration. Unless the files
18859 and actions are specified as TAGs, all are instantiated by default.
18861 Usage: $0 [OPTION]... [TAG]...
18863 -h, --help print this help, then exit
18864 -V, --version print version number and configuration settings, then exit
18865 --config print configuration, then exit
18866 -q, --quiet, --silent
18867 do not print progress messages
18868 -d, --debug don't remove temporary files
18869 --recheck update $as_me by reconfiguring in the same conditions
18870 --file=FILE[:TEMPLATE]
18871 instantiate the configuration file FILE
18872 --header=FILE[:TEMPLATE]
18873 instantiate the configuration header FILE
18875 Configuration files:
18876 $config_files
18878 Configuration headers:
18879 $config_headers
18881 Configuration links:
18882 $config_links
18884 Configuration commands:
18885 $config_commands
18887 Report bugs to <wine-devel@winehq.org>.
18888 Wine home page: <http://www.winehq.org>."
18890 _ACEOF
18891 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18892 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18893 ac_cs_version="\\
18894 Wine config.status 1.8
18895 configured by $0, generated by GNU Autoconf 2.69,
18896 with options \\"\$ac_cs_config\\"
18898 Copyright (C) 2012 Free Software Foundation, Inc.
18899 This config.status script is free software; the Free Software Foundation
18900 gives unlimited permission to copy, distribute and modify it."
18902 ac_pwd='$ac_pwd'
18903 srcdir='$srcdir'
18904 test -n "\$AWK" || AWK=awk
18905 _ACEOF
18907 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18908 # The default lists apply if the user does not specify any file.
18909 ac_need_defaults=:
18910 while test $# != 0
18912 case $1 in
18913 --*=?*)
18914 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18915 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18916 ac_shift=:
18918 --*=)
18919 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18920 ac_optarg=
18921 ac_shift=:
18924 ac_option=$1
18925 ac_optarg=$2
18926 ac_shift=shift
18928 esac
18930 case $ac_option in
18931 # Handling of the options.
18932 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18933 ac_cs_recheck=: ;;
18934 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18935 $as_echo "$ac_cs_version"; exit ;;
18936 --config | --confi | --conf | --con | --co | --c )
18937 $as_echo "$ac_cs_config"; exit ;;
18938 --debug | --debu | --deb | --de | --d | -d )
18939 debug=: ;;
18940 --file | --fil | --fi | --f )
18941 $ac_shift
18942 case $ac_optarg in
18943 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18944 '') as_fn_error $? "missing file argument" ;;
18945 esac
18946 as_fn_append CONFIG_FILES " '$ac_optarg'"
18947 ac_need_defaults=false;;
18948 --header | --heade | --head | --hea )
18949 $ac_shift
18950 case $ac_optarg in
18951 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18952 esac
18953 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18954 ac_need_defaults=false;;
18955 --he | --h)
18956 # Conflict between --help and --header
18957 as_fn_error $? "ambiguous option: \`$1'
18958 Try \`$0 --help' for more information.";;
18959 --help | --hel | -h )
18960 $as_echo "$ac_cs_usage"; exit ;;
18961 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18962 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18963 ac_cs_silent=: ;;
18965 # This is an error.
18966 -*) as_fn_error $? "unrecognized option: \`$1'
18967 Try \`$0 --help' for more information." ;;
18969 *) as_fn_append ac_config_targets " $1"
18970 ac_need_defaults=false ;;
18972 esac
18973 shift
18974 done
18976 ac_configure_extra_args=
18978 if $ac_cs_silent; then
18979 exec 6>/dev/null
18980 ac_configure_extra_args="$ac_configure_extra_args --silent"
18983 _ACEOF
18984 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18985 if \$ac_cs_recheck; then
18986 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18987 shift
18988 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18989 CONFIG_SHELL='$SHELL'
18990 export CONFIG_SHELL
18991 exec "\$@"
18994 _ACEOF
18995 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18996 exec 5>>config.log
18998 echo
18999 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19000 ## Running $as_me. ##
19001 _ASBOX
19002 $as_echo "$ac_log"
19003 } >&5
19005 _ACEOF
19006 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19008 # INIT-COMMANDS
19010 wine_fn_output_makedep ()
19012 as_dir=tools; as_fn_mkdir_p
19013 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19015 wine_fn_output_makefile ()
19017 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
19018 `cat $wine_rules_file`
19019 _WINE_EOF
19020 as_fn_error $? "could not create Makefile" "$LINENO" 5
19022 wine_fn_output_gitignore ()
19024 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
19025 $GITIGNORE
19026 _WINE_EOF
19027 as_fn_error $? "could not create .gitignore" "$LINENO" 5
19030 _ACEOF
19032 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19034 # Handling of arguments.
19035 for ac_config_target in $ac_config_targets
19037 case $ac_config_target in
19038 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19039 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19040 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19041 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19042 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19043 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19044 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19045 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19046 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
19047 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19048 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19049 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19050 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19051 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19052 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
19054 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19055 esac
19056 done
19059 # If the user did not use the arguments to specify the items to instantiate,
19060 # then the envvar interface is used. Set only those that are not.
19061 # We use the long form for the default assignment because of an extremely
19062 # bizarre bug on SunOS 4.1.3.
19063 if $ac_need_defaults; then
19064 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19065 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19066 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19067 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19070 # Have a temporary directory for convenience. Make it in the build tree
19071 # simply because there is no reason against having it here, and in addition,
19072 # creating and moving files from /tmp can sometimes cause problems.
19073 # Hook for its removal unless debugging.
19074 # Note that there is a small window in which the directory will not be cleaned:
19075 # after its creation but before its name has been assigned to `$tmp'.
19076 $debug ||
19078 tmp= ac_tmp=
19079 trap 'exit_status=$?
19080 : "${ac_tmp:=$tmp}"
19081 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19083 trap 'as_fn_exit 1' 1 2 13 15
19085 # Create a (secure) tmp directory for tmp files.
19088 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19089 test -d "$tmp"
19090 } ||
19092 tmp=./conf$$-$RANDOM
19093 (umask 077 && mkdir "$tmp")
19094 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19095 ac_tmp=$tmp
19097 # Set up the scripts for CONFIG_FILES section.
19098 # No need to generate them if there are no CONFIG_FILES.
19099 # This happens for instance with `./config.status config.h'.
19100 if test -n "$CONFIG_FILES"; then
19103 ac_cr=`echo X | tr X '\015'`
19104 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19105 # But we know of no other shell where ac_cr would be empty at this
19106 # point, so we can use a bashism as a fallback.
19107 if test "x$ac_cr" = x; then
19108 eval ac_cr=\$\'\\r\'
19110 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19111 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19112 ac_cs_awk_cr='\\r'
19113 else
19114 ac_cs_awk_cr=$ac_cr
19117 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19118 _ACEOF
19122 echo "cat >conf$$subs.awk <<_ACEOF" &&
19123 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19124 echo "_ACEOF"
19125 } >conf$$subs.sh ||
19126 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19127 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19128 ac_delim='%!_!# '
19129 for ac_last_try in false false false false false :; do
19130 . ./conf$$subs.sh ||
19131 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19133 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19134 if test $ac_delim_n = $ac_delim_num; then
19135 break
19136 elif $ac_last_try; then
19137 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19138 else
19139 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19141 done
19142 rm -f conf$$subs.sh
19144 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19145 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19146 _ACEOF
19147 sed -n '
19149 s/^/S["/; s/!.*/"]=/
19152 s/^[^!]*!//
19153 :repl
19154 t repl
19155 s/'"$ac_delim"'$//
19156 t delim
19159 s/\(.\{148\}\)..*/\1/
19160 t more1
19161 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19164 b repl
19165 :more1
19166 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19169 s/.\{148\}//
19170 t nl
19171 :delim
19173 s/\(.\{148\}\)..*/\1/
19174 t more2
19175 s/["\\]/\\&/g; s/^/"/; s/$/"/
19178 :more2
19179 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19182 s/.\{148\}//
19183 t delim
19184 ' <conf$$subs.awk | sed '
19185 /^[^""]/{
19187 s/\n//
19189 ' >>$CONFIG_STATUS || ac_write_fail=1
19190 rm -f conf$$subs.awk
19191 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19192 _ACAWK
19193 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19194 for (key in S) S_is_set[key] = 1
19195 FS = "\a"
19199 line = $ 0
19200 nfields = split(line, field, "@")
19201 substed = 0
19202 len = length(field[1])
19203 for (i = 2; i < nfields; i++) {
19204 key = field[i]
19205 keylen = length(key)
19206 if (S_is_set[key]) {
19207 value = S[key]
19208 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19209 len += length(value) + length(field[++i])
19210 substed = 1
19211 } else
19212 len += 1 + keylen
19215 print line
19218 _ACAWK
19219 _ACEOF
19220 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19221 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19222 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19223 else
19225 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19226 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19227 _ACEOF
19229 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19230 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19231 # trailing colons and then remove the whole line if VPATH becomes empty
19232 # (actually we leave an empty line to preserve line numbers).
19233 if test "x$srcdir" = x.; then
19234 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19236 s///
19237 s/^/:/
19238 s/[ ]*$/:/
19239 s/:\$(srcdir):/:/g
19240 s/:\${srcdir}:/:/g
19241 s/:@srcdir@:/:/g
19242 s/^:*//
19243 s/:*$//
19245 s/\(=[ ]*\).*/\1/
19247 s/\n//
19248 s/^[^=]*=[ ]*$//
19252 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19253 fi # test -n "$CONFIG_FILES"
19255 # Set up the scripts for CONFIG_HEADERS section.
19256 # No need to generate them if there are no CONFIG_HEADERS.
19257 # This happens for instance with `./config.status Makefile'.
19258 if test -n "$CONFIG_HEADERS"; then
19259 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19260 BEGIN {
19261 _ACEOF
19263 # Transform confdefs.h into an awk script `defines.awk', embedded as
19264 # here-document in config.status, that substitutes the proper values into
19265 # config.h.in to produce config.h.
19267 # Create a delimiter string that does not exist in confdefs.h, to ease
19268 # handling of long lines.
19269 ac_delim='%!_!# '
19270 for ac_last_try in false false :; do
19271 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19272 if test -z "$ac_tt"; then
19273 break
19274 elif $ac_last_try; then
19275 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19276 else
19277 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19279 done
19281 # For the awk script, D is an array of macro values keyed by name,
19282 # likewise P contains macro parameters if any. Preserve backslash
19283 # newline sequences.
19285 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19286 sed -n '
19287 s/.\{148\}/&'"$ac_delim"'/g
19288 t rset
19289 :rset
19290 s/^[ ]*#[ ]*define[ ][ ]*/ /
19291 t def
19293 :def
19294 s/\\$//
19295 t bsnl
19296 s/["\\]/\\&/g
19297 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19298 D["\1"]=" \3"/p
19299 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19301 :bsnl
19302 s/["\\]/\\&/g
19303 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19304 D["\1"]=" \3\\\\\\n"\\/p
19305 t cont
19306 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19307 t cont
19309 :cont
19311 s/.\{148\}/&'"$ac_delim"'/g
19312 t clear
19313 :clear
19314 s/\\$//
19315 t bsnlc
19316 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19318 :bsnlc
19319 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19320 b cont
19321 ' <confdefs.h | sed '
19322 s/'"$ac_delim"'/"\\\
19323 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19325 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19326 for (key in D) D_is_set[key] = 1
19327 FS = "\a"
19329 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19330 line = \$ 0
19331 split(line, arg, " ")
19332 if (arg[1] == "#") {
19333 defundef = arg[2]
19334 mac1 = arg[3]
19335 } else {
19336 defundef = substr(arg[1], 2)
19337 mac1 = arg[2]
19339 split(mac1, mac2, "(") #)
19340 macro = mac2[1]
19341 prefix = substr(line, 1, index(line, defundef) - 1)
19342 if (D_is_set[macro]) {
19343 # Preserve the white space surrounding the "#".
19344 print prefix "define", macro P[macro] D[macro]
19345 next
19346 } else {
19347 # Replace #undef with comments. This is necessary, for example,
19348 # in the case of _POSIX_SOURCE, which is predefined and required
19349 # on some systems where configure will not decide to define it.
19350 if (defundef == "undef") {
19351 print "/*", prefix defundef, macro, "*/"
19352 next
19356 { print }
19357 _ACAWK
19358 _ACEOF
19359 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19360 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19361 fi # test -n "$CONFIG_HEADERS"
19364 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19365 shift
19366 for ac_tag
19368 case $ac_tag in
19369 :[FHLC]) ac_mode=$ac_tag; continue;;
19370 esac
19371 case $ac_mode$ac_tag in
19372 :[FHL]*:*);;
19373 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19374 :[FH]-) ac_tag=-:-;;
19375 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19376 esac
19377 ac_save_IFS=$IFS
19378 IFS=:
19379 set x $ac_tag
19380 IFS=$ac_save_IFS
19381 shift
19382 ac_file=$1
19383 shift
19385 case $ac_mode in
19386 :L) ac_source=$1;;
19387 :[FH])
19388 ac_file_inputs=
19389 for ac_f
19391 case $ac_f in
19392 -) ac_f="$ac_tmp/stdin";;
19393 *) # Look for the file first in the build tree, then in the source tree
19394 # (if the path is not absolute). The absolute path cannot be DOS-style,
19395 # because $ac_f cannot contain `:'.
19396 test -f "$ac_f" ||
19397 case $ac_f in
19398 [\\/$]*) false;;
19399 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19400 esac ||
19401 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19402 esac
19403 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19404 as_fn_append ac_file_inputs " '$ac_f'"
19405 done
19407 # Let's still pretend it is `configure' which instantiates (i.e., don't
19408 # use $as_me), people would be surprised to read:
19409 # /* config.h. Generated by config.status. */
19410 configure_input='Generated from '`
19411 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19412 `' by configure.'
19413 if test x"$ac_file" != x-; then
19414 configure_input="$ac_file. $configure_input"
19415 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19416 $as_echo "$as_me: creating $ac_file" >&6;}
19418 # Neutralize special characters interpreted by sed in replacement strings.
19419 case $configure_input in #(
19420 *\&* | *\|* | *\\* )
19421 ac_sed_conf_input=`$as_echo "$configure_input" |
19422 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19423 *) ac_sed_conf_input=$configure_input;;
19424 esac
19426 case $ac_tag in
19427 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19428 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19429 esac
19431 esac
19433 ac_dir=`$as_dirname -- "$ac_file" ||
19434 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19435 X"$ac_file" : 'X\(//\)[^/]' \| \
19436 X"$ac_file" : 'X\(//\)$' \| \
19437 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19438 $as_echo X"$ac_file" |
19439 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19440 s//\1/
19443 /^X\(\/\/\)[^/].*/{
19444 s//\1/
19447 /^X\(\/\/\)$/{
19448 s//\1/
19451 /^X\(\/\).*/{
19452 s//\1/
19455 s/.*/./; q'`
19456 as_dir="$ac_dir"; as_fn_mkdir_p
19457 ac_builddir=.
19459 case "$ac_dir" in
19460 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19462 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19463 # A ".." for each directory in $ac_dir_suffix.
19464 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19465 case $ac_top_builddir_sub in
19466 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19467 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19468 esac ;;
19469 esac
19470 ac_abs_top_builddir=$ac_pwd
19471 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19472 # for backward compatibility:
19473 ac_top_builddir=$ac_top_build_prefix
19475 case $srcdir in
19476 .) # We are building in place.
19477 ac_srcdir=.
19478 ac_top_srcdir=$ac_top_builddir_sub
19479 ac_abs_top_srcdir=$ac_pwd ;;
19480 [\\/]* | ?:[\\/]* ) # Absolute name.
19481 ac_srcdir=$srcdir$ac_dir_suffix;
19482 ac_top_srcdir=$srcdir
19483 ac_abs_top_srcdir=$srcdir ;;
19484 *) # Relative name.
19485 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19486 ac_top_srcdir=$ac_top_build_prefix$srcdir
19487 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19488 esac
19489 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19492 case $ac_mode in
19495 # CONFIG_FILE
19498 _ACEOF
19500 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19501 # If the template does not know about datarootdir, expand it.
19502 # FIXME: This hack should be removed a few years after 2.60.
19503 ac_datarootdir_hack=; ac_datarootdir_seen=
19504 ac_sed_dataroot='
19505 /datarootdir/ {
19509 /@datadir@/p
19510 /@docdir@/p
19511 /@infodir@/p
19512 /@localedir@/p
19513 /@mandir@/p'
19514 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19515 *datarootdir*) ac_datarootdir_seen=yes;;
19516 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19518 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19519 _ACEOF
19520 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19521 ac_datarootdir_hack='
19522 s&@datadir@&$datadir&g
19523 s&@docdir@&$docdir&g
19524 s&@infodir@&$infodir&g
19525 s&@localedir@&$localedir&g
19526 s&@mandir@&$mandir&g
19527 s&\\\${datarootdir}&$datarootdir&g' ;;
19528 esac
19529 _ACEOF
19531 # Neutralize VPATH when `$srcdir' = `.'.
19532 # Shell code in configure.ac might set extrasub.
19533 # FIXME: do we really want to maintain this feature?
19534 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19535 ac_sed_extra="$ac_vpsub
19536 $extrasub
19537 _ACEOF
19538 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19540 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19541 s|@configure_input@|$ac_sed_conf_input|;t t
19542 s&@top_builddir@&$ac_top_builddir_sub&;t t
19543 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19544 s&@srcdir@&$ac_srcdir&;t t
19545 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19546 s&@top_srcdir@&$ac_top_srcdir&;t t
19547 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19548 s&@builddir@&$ac_builddir&;t t
19549 s&@abs_builddir@&$ac_abs_builddir&;t t
19550 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19551 $ac_datarootdir_hack
19553 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19554 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19556 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19557 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19558 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19559 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19561 which seems to be undefined. Please make sure it is defined" >&5
19562 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19563 which seems to be undefined. Please make sure it is defined" >&2;}
19565 rm -f "$ac_tmp/stdin"
19566 case $ac_file in
19567 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19568 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19569 esac \
19570 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19574 # CONFIG_HEADER
19576 if test x"$ac_file" != x-; then
19578 $as_echo "/* $configure_input */" \
19579 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19580 } >"$ac_tmp/config.h" \
19581 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19582 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19583 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19584 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19585 else
19586 rm -f "$ac_file"
19587 mv "$ac_tmp/config.h" "$ac_file" \
19588 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19590 else
19591 $as_echo "/* $configure_input */" \
19592 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19593 || as_fn_error $? "could not create -" "$LINENO" 5
19598 # CONFIG_LINK
19601 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19603 else
19604 # Prefer the file from the source tree if names are identical.
19605 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19606 ac_source=$srcdir/$ac_source
19609 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19610 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19612 if test ! -r "$ac_source"; then
19613 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19615 rm -f "$ac_file"
19617 # Try a relative symlink, then a hard link, then a copy.
19618 case $ac_source in
19619 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19620 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19621 esac
19622 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19623 ln "$ac_source" "$ac_file" 2>/dev/null ||
19624 cp -p "$ac_source" "$ac_file" ||
19625 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19628 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19629 $as_echo "$as_me: executing $ac_file commands" >&6;}
19631 esac
19634 case $ac_file$ac_mode in
19635 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19636 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19637 "Makefile":C) wine_fn_output_makefile Makefile ;;
19638 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19640 esac
19641 done # for ac_tag
19644 as_fn_exit 0
19645 _ACEOF
19646 ac_clean_files=$ac_clean_files_save
19648 test $ac_write_fail = 0 ||
19649 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19652 # configure is writing to config.log, and then calls config.status.
19653 # config.status does its own redirection, appending to config.log.
19654 # Unfortunately, on DOS this fails, as config.log is still kept open
19655 # by configure, so config.status won't be able to write to it; its
19656 # output is simply discarded. So we exec the FD to /dev/null,
19657 # effectively closing config.log, so it can be properly (re)opened and
19658 # appended to by config.status. When coming back to configure, we
19659 # need to make the FD available again.
19660 if test "$no_create" != yes; then
19661 ac_cs_success=:
19662 ac_config_status_args=
19663 test "$silent" = yes &&
19664 ac_config_status_args="$ac_config_status_args --quiet"
19665 exec 5>/dev/null
19666 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19667 exec 5>>config.log
19668 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19669 # would make configure fail if this is the last instruction.
19670 $ac_cs_success || as_fn_exit 1
19672 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19674 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19678 if test "$no_create" = "yes"
19679 then
19680 exit 0
19683 ac_save_IFS="$IFS"
19684 if test "x$wine_notices" != x; then
19685 echo >&6
19686 IFS="|"
19687 for msg in $wine_notices; do
19688 IFS="$ac_save_IFS"
19689 if ${msg:+false} :; then :
19691 else
19692 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19693 $as_echo "$as_me: $msg" >&6;}
19695 done
19697 IFS="|"
19698 for msg in $wine_warnings; do
19699 IFS="$ac_save_IFS"
19700 if ${msg:+false} :; then :
19702 else
19703 echo >&2
19704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19705 $as_echo "$as_me: WARNING: $msg" >&2;}
19707 done
19708 IFS="$ac_save_IFS"
19710 $as_echo "
19711 $as_me: Finished. Do '${ac_make}' to compile Wine.
19712 " >&6