dmloader: Convert dll registration to the IRegistrar mechanism.
[wine/multimedia.git] / configure
blob5abdaacce778d757b5a3db01fd41551246880b88
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for Wine 1.3.8.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 emulate sh
23 NULLCMD=:
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
27 setopt NO_GLOB_SUBST
28 else
29 case `(set -o) 2>/dev/null` in #(
30 *posix*) :
31 set -o posix ;; #(
32 *) :
34 esac
38 as_nl='
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo='print -r --'
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52 as_echo='printf %s\n'
53 as_echo_n='printf %s'
54 else
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
58 else
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 as_echo_n_body='eval
61 arg=$1;
62 case $arg in #(
63 *"$as_nl"*)
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 esac;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
69 export as_echo_n_body
70 as_echo_n='sh -c $as_echo_n_body as_echo'
72 export as_echo_body
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78 PATH_SEPARATOR=:
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 PATH_SEPARATOR=';'
86 # IFS
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
91 IFS=" "" $as_nl"
93 # Find who we are. Look in the path if we contain no directory separator.
94 case $0 in #((
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 for as_dir in $PATH
99 IFS=$as_save_IFS
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102 done
103 IFS=$as_save_IFS
106 esac
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
110 as_myself=$0
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 exit 1
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124 done
125 PS1='$ '
126 PS2='> '
127 PS4='+ '
129 # NLS nuisances.
130 LC_ALL=C
131 export LC_ALL
132 LANGUAGE=C
133 export LANGUAGE
135 # CDPATH.
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x; then
139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 emulate sh
141 NULLCMD=:
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 setopt NO_GLOB_SUBST
146 else
147 case \`(set -o) 2>/dev/null\` in #(
148 *posix*) :
149 set -o posix ;; #(
150 *) :
152 esac
155 as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
161 exitcode=0
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168 else
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev/null; then :
178 as_have_required=yes
179 else
180 as_have_required=no
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
184 else
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
186 as_found=false
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
189 IFS=$as_save_IFS
190 test -z "$as_dir" && as_dir=.
191 as_found=:
192 case $as_dir in #(
194 for as_base in sh bash ksh sh5; do
195 # Try only shells that exist, to save several forks.
196 as_shell=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 CONFIG_SHELL=$as_shell as_have_required=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
201 break 2
204 done;;
205 esac
206 as_found=false
207 done
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210 CONFIG_SHELL=$SHELL as_have_required=yes
211 fi; }
212 IFS=$as_save_IFS
215 if test "x$CONFIG_SHELL" != x; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
219 BASH_ENV=/dev/null
220 ENV=/dev/null
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222 export CONFIG_SHELL
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x$as_have_required = xno; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x${ZSH_VERSION+set} = xset ; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
232 else
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and
234 $0: wine-devel@winehq.org about your system, including any
235 $0: error possibly output before this message. Then install
236 $0: a modern shell, or manually run the script under such a
237 $0: shell if you do have one."
239 exit 1
243 SHELL=${CONFIG_SHELL-/bin/sh}
244 export SHELL
245 # Unset more variables known to interfere with behavior of common tools.
246 CLICOLOR_FORCE= GREP_OPTIONS=
247 unset CLICOLOR_FORCE GREP_OPTIONS
249 ## --------------------- ##
250 ## M4sh Shell Functions. ##
251 ## --------------------- ##
252 # as_fn_unset VAR
253 # ---------------
254 # Portably unset VAR.
255 as_fn_unset ()
257 { eval $1=; unset $1;}
259 as_unset=as_fn_unset
261 # as_fn_set_status STATUS
262 # -----------------------
263 # Set $? to STATUS, without forking.
264 as_fn_set_status ()
266 return $1
267 } # as_fn_set_status
269 # as_fn_exit STATUS
270 # -----------------
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
272 as_fn_exit ()
274 set +e
275 as_fn_set_status $1
276 exit $1
277 } # as_fn_exit
279 # as_fn_mkdir_p
280 # -------------
281 # Create "$as_dir" as a directory, including parents if necessary.
282 as_fn_mkdir_p ()
285 case $as_dir in #(
286 -*) as_dir=./$as_dir;;
287 esac
288 test -d "$as_dir" || eval $as_mkdir_p || {
289 as_dirs=
290 while :; do
291 case $as_dir in #(
292 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
293 *) as_qdir=$as_dir;;
294 esac
295 as_dirs="'$as_qdir' $as_dirs"
296 as_dir=`$as_dirname -- "$as_dir" ||
297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298 X"$as_dir" : 'X\(//\)[^/]' \| \
299 X"$as_dir" : 'X\(//\)$' \| \
300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301 $as_echo X"$as_dir" |
302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
303 s//\1/
306 /^X\(\/\/\)[^/].*/{
307 s//\1/
310 /^X\(\/\/\)$/{
311 s//\1/
314 /^X\(\/\).*/{
315 s//\1/
318 s/.*/./; q'`
319 test -d "$as_dir" && break
320 done
321 test -z "$as_dirs" || eval "mkdir $as_dirs"
322 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
325 } # as_fn_mkdir_p
326 # as_fn_append VAR VALUE
327 # ----------------------
328 # Append the text in VALUE to the end of the definition contained in VAR. Take
329 # advantage of any shell optimizations that allow amortized linear growth over
330 # repeated appends, instead of the typical quadratic growth present in naive
331 # implementations.
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333 eval 'as_fn_append ()
335 eval $1+=\$2
337 else
338 as_fn_append ()
340 eval $1=\$$1\$2
342 fi # as_fn_append
344 # as_fn_arith ARG...
345 # ------------------
346 # Perform arithmetic evaluation on the ARGs, and store the result in the
347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
348 # must be portable across $(()) and expr.
349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
350 eval 'as_fn_arith ()
352 as_val=$(( $* ))
354 else
355 as_fn_arith ()
357 as_val=`expr "$@" || test $? -eq 1`
359 fi # as_fn_arith
362 # as_fn_error STATUS ERROR [LINENO LOG_FD]
363 # ----------------------------------------
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366 # script with STATUS, using 1 if that was 0.
367 as_fn_error ()
369 as_status=$1; test $as_status -eq 0 && as_status=1
370 if test "$4"; then
371 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
374 $as_echo "$as_me: error: $2" >&2
375 as_fn_exit $as_status
376 } # as_fn_error
378 if expr a : '\(a\)' >/dev/null 2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001; then
380 as_expr=expr
381 else
382 as_expr=false
385 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 as_basename=basename
387 else
388 as_basename=false
391 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
392 as_dirname=dirname
393 else
394 as_dirname=false
397 as_me=`$as_basename -- "$0" ||
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399 X"$0" : 'X\(//\)$' \| \
400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
401 $as_echo X/"$0" |
402 sed '/^.*\/\([^/][^/]*\)\/*$/{
403 s//\1/
406 /^X\/\(\/\/\)$/{
407 s//\1/
410 /^X\/\(\/\).*/{
411 s//\1/
414 s/.*/./; q'`
416 # Avoid depending upon Character Ranges.
417 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420 as_cr_digits='0123456789'
421 as_cr_alnum=$as_cr_Letters$as_cr_digits
424 as_lineno_1=$LINENO as_lineno_1a=$LINENO
425 as_lineno_2=$LINENO as_lineno_2a=$LINENO
426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
429 sed -n '
431 /[$]LINENO/=
432 ' <$as_myself |
433 sed '
434 s/[$]LINENO.*/&-/
435 t lineno
437 :lineno
439 :loop
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441 t loop
442 s/-\n.*//
443 ' >$as_me.lineno &&
444 chmod +x "$as_me.lineno" ||
445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
447 # Don't try to exec as it changes $[0], causing all sort of problems
448 # (the dirname of $[0] is not the place where we might find the
449 # original and so on. Autoconf is especially sensitive to this).
450 . "./$as_me.lineno"
451 # Exit status is that of the last command.
452 exit
455 ECHO_C= ECHO_N= ECHO_T=
456 case `echo -n x` in #(((((
457 -n*)
458 case `echo 'xy\c'` in
459 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
460 xy) ECHO_C='\c';;
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
462 ECHO_T=' ';;
463 esac;;
465 ECHO_N='-n';;
466 esac
468 rm -f conf$$ conf$$.exe conf$$.file
469 if test -d conf$$.dir; then
470 rm -f conf$$.dir/conf$$.file
471 else
472 rm -f conf$$.dir
473 mkdir conf$$.dir 2>/dev/null
475 if (echo >conf$$.file) 2>/dev/null; then
476 if ln -s conf$$.file conf$$ 2>/dev/null; then
477 as_ln_s='ln -s'
478 # ... but there are two gotchas:
479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481 # In both cases, we have to default to `cp -p'.
482 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
483 as_ln_s='cp -p'
484 elif ln conf$$.file conf$$ 2>/dev/null; then
485 as_ln_s=ln
486 else
487 as_ln_s='cp -p'
489 else
490 as_ln_s='cp -p'
492 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493 rmdir conf$$.dir 2>/dev/null
495 if mkdir -p . 2>/dev/null; then
496 as_mkdir_p='mkdir -p "$as_dir"'
497 else
498 test -d ./-p && rmdir ./-p
499 as_mkdir_p=false
502 if test -x / >/dev/null 2>&1; then
503 as_test_x='test -x'
504 else
505 if ls -dL / >/dev/null 2>&1; then
506 as_ls_L_option=L
507 else
508 as_ls_L_option=
510 as_test_x='
511 eval sh -c '\''
512 if test -d "$1"; then
513 test -d "$1/.";
514 else
515 case $1 in #(
516 -*)set "./$1";;
517 esac;
518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519 ???[sx]*):;;*)false;;esac;fi
520 '\'' sh
523 as_executable_p=$as_test_x
525 # Sed expression to map a string onto a valid CPP name.
526 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528 # Sed expression to map a string onto a valid variable name.
529 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
532 test -n "$DJDIR" || exec 7<&0 </dev/null
533 exec 6>&1
535 # Name of the host.
536 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
537 # so uname gets run too.
538 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
541 # Initializations.
543 ac_default_prefix=/usr/local
544 ac_clean_files=
545 ac_config_libobj_dir=.
546 LIBOBJS=
547 cross_compiling=no
548 subdirs=
549 MFLAGS=
550 MAKEFLAGS=
552 # Identity of this package.
553 PACKAGE_NAME='Wine'
554 PACKAGE_TARNAME='wine'
555 PACKAGE_VERSION='1.3.8'
556 PACKAGE_STRING='Wine 1.3.8'
557 PACKAGE_BUGREPORT='wine-devel@winehq.org'
558 PACKAGE_URL='http://www.winehq.org'
560 ac_unique_file="server/atom.c"
561 # Factoring default headers for most tests.
562 ac_includes_default="\
563 #include <stdio.h>
564 #ifdef HAVE_SYS_TYPES_H
565 # include <sys/types.h>
566 #endif
567 #ifdef HAVE_SYS_STAT_H
568 # include <sys/stat.h>
569 #endif
570 #ifdef STDC_HEADERS
571 # include <stdlib.h>
572 # include <stddef.h>
573 #else
574 # ifdef HAVE_STDLIB_H
575 # include <stdlib.h>
576 # endif
577 #endif
578 #ifdef HAVE_STRING_H
579 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
580 # include <memory.h>
581 # endif
582 # include <string.h>
583 #endif
584 #ifdef HAVE_STRINGS_H
585 # include <strings.h>
586 #endif
587 #ifdef HAVE_INTTYPES_H
588 # include <inttypes.h>
589 #endif
590 #ifdef HAVE_STDINT_H
591 # include <stdint.h>
592 #endif
593 #ifdef HAVE_UNISTD_H
594 # include <unistd.h>
595 #endif"
597 ac_subst_vars='LTLIBOBJS
598 LIBOBJS
599 ALL_TEST_BINARIES
600 ALL_WINETEST_DEPENDS
601 LDAPLIBS
602 LIBPOLL
603 LIBDL
604 EXTRA_BINARIES
605 MAIN_BINARY
606 SOCKETLIBS
607 CRTLIBS
608 TOOLSEXT
609 LDPATH
610 UNWINDFLAGS
611 BUILTINFLAG
612 EXTRACFLAGS
613 LIBKSTAT
614 LIBOPENAL
615 LIBMPG123
616 PNGINCL
617 FONTCONFIGINCL
618 CUPSINCL
619 AUDIOIOLIBS
620 ALSALIBS
621 GSTREAMER_INCL
622 GSTREAMER_LIBS
623 ESDLIBS
624 ESDINCL
625 ESDCONFIG
626 ZLIB
627 FREETYPEINCL
628 FREETYPELIBS
629 ft_devel
630 LCMSLIBS
631 RESOLVLIBS
632 GPHOTO2INCL
633 GPHOTO2LIBS
634 gphoto2port_devel
635 gphoto2_devel
636 SANEINCL
637 sane_devel
638 GNUTLSINCL
639 HALINCL
640 XSLTINCL
641 XML2INCL
642 XML2LIBS
643 NASLIBS
644 X_EXTRA_LIBS
645 X_LIBS
646 X_PRE_LIBS
647 X_CFLAGS
648 XMKMF
649 LIBPTHREAD
650 CROSSTARGET
651 CROSSCC
652 CROSSTEST_DISABLE
653 PRELINK
654 CARBONLIB
655 LIBOPENCL
656 FRAMEWORK_OPENAL
657 COREAUDIO
658 DISKARBITRATIONLIB
659 LDEXECFLAGS
660 IOKITLIB
661 COREFOUNDATIONLIB
662 SECURITYLIB
663 DLLWRAP
664 DLLTOOL
666 LDRPATH_LOCAL
667 LDRPATH_INSTALL
668 IMPLIBEXT
669 LIBEXT
670 LDDLLFLAGS
671 LDSHARED
672 DLLFLAGS
673 DLLEXT
675 OPENGL_LIBS
676 XLIB
677 MAINTAINER_MODE
678 ICOTOOL
679 CONVERT
680 RSVG
681 PKG_CONFIG
682 FONTFORGE
683 LINTFLAGS
684 LINT
685 INSTALL_DATA
686 INSTALL_SCRIPT
687 INSTALL_PROGRAM
688 LDCONFIG
689 EGREP
690 GREP
691 LN_S
692 STRIP
693 RANLIB
694 ARFLAGS
695 ac_ct_AR
697 BISON
698 FLEX
699 TOOLSDIR
700 WOW64_DISABLE
701 TARGETFLAGS
702 CPPBIN
703 ac_ct_CXX
704 CXXFLAGS
706 OBJEXT
707 EXEEXT
708 ac_ct_CC
709 CPPFLAGS
710 LDFLAGS
711 CFLAGS
713 SET_MAKE
714 host_os
715 host_vendor
716 host_cpu
717 host
718 build_os
719 build_vendor
720 build_cpu
721 build
722 target_alias
723 host_alias
724 build_alias
725 LIBS
726 ECHO_T
727 ECHO_N
728 ECHO_C
729 DEFS
730 mandir
731 localedir
732 libdir
733 psdir
734 pdfdir
735 dvidir
736 htmldir
737 infodir
738 docdir
739 oldincludedir
740 includedir
741 localstatedir
742 sharedstatedir
743 sysconfdir
744 datadir
745 datarootdir
746 libexecdir
747 sbindir
748 bindir
749 program_transform_name
750 prefix
751 exec_prefix
752 PACKAGE_URL
753 PACKAGE_BUGREPORT
754 PACKAGE_STRING
755 PACKAGE_VERSION
756 PACKAGE_TARNAME
757 PACKAGE_NAME
758 PATH_SEPARATOR
759 SHELL'
760 ac_subst_files='MAKE_RULES
761 MAKE_TEST_RULES
762 MAKE_DLL_RULES
763 MAKE_IMPLIB_RULES
764 MAKE_PROG_RULES'
765 ac_user_opts='
766 enable_option_checking
767 enable_win16
768 enable_win64
769 enable_tests
770 enable_maintainer_mode
771 with_alsa
772 with_audioio
773 with_capi
774 with_cms
775 with_coreaudio
776 with_cups
777 with_curses
778 with_esd
779 with_fontconfig
780 with_freetype
781 with_gphoto
782 with_glu
783 with_gnutls
784 with_gsm
785 with_gstreamer
786 with_hal
787 with_icns
788 with_jack
789 with_jpeg
790 with_ldap
791 with_mpg123
792 with_nas
793 with_openal
794 with_opencl
795 with_opengl
796 with_openssl
797 with_oss
798 with_png
799 with_pthread
800 with_sane
801 with_tiff
802 with_v4l
803 with_xcomposite
804 with_xcursor
805 with_xinerama
806 with_xinput
807 with_xml
808 with_xrandr
809 with_xrender
810 with_xshape
811 with_xshm
812 with_xslt
813 with_xxf86vm
814 with_wine_tools
815 with_wine64
816 enable_largefile
817 with_x
819 ac_precious_vars='build_alias
820 host_alias
821 target_alias
823 CFLAGS
824 LDFLAGS
825 LIBS
826 CPPFLAGS
828 CXXFLAGS
831 XMKMF'
834 # Initialize some variables set by options.
835 ac_init_help=
836 ac_init_version=false
837 ac_unrecognized_opts=
838 ac_unrecognized_sep=
839 # The variables have the same names as the options, with
840 # dashes changed to underlines.
841 cache_file=/dev/null
842 exec_prefix=NONE
843 no_create=
844 no_recursion=
845 prefix=NONE
846 program_prefix=NONE
847 program_suffix=NONE
848 program_transform_name=s,x,x,
849 silent=
850 site=
851 srcdir=
852 verbose=
853 x_includes=NONE
854 x_libraries=NONE
856 # Installation directory options.
857 # These are left unexpanded so users can "make install exec_prefix=/foo"
858 # and all the variables that are supposed to be based on exec_prefix
859 # by default will actually change.
860 # Use braces instead of parens because sh, perl, etc. also accept them.
861 # (The list follows the same order as the GNU Coding Standards.)
862 bindir='${exec_prefix}/bin'
863 sbindir='${exec_prefix}/sbin'
864 libexecdir='${exec_prefix}/libexec'
865 datarootdir='${prefix}/share'
866 datadir='${datarootdir}'
867 sysconfdir='${prefix}/etc'
868 sharedstatedir='${prefix}/com'
869 localstatedir='${prefix}/var'
870 includedir='${prefix}/include'
871 oldincludedir='/usr/include'
872 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
873 infodir='${datarootdir}/info'
874 htmldir='${docdir}'
875 dvidir='${docdir}'
876 pdfdir='${docdir}'
877 psdir='${docdir}'
878 libdir='${exec_prefix}/lib'
879 localedir='${datarootdir}/locale'
880 mandir='${datarootdir}/man'
882 ac_prev=
883 ac_dashdash=
884 for ac_option
886 # If the previous option needs an argument, assign it.
887 if test -n "$ac_prev"; then
888 eval $ac_prev=\$ac_option
889 ac_prev=
890 continue
893 case $ac_option in
894 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
895 *=) ac_optarg= ;;
896 *) ac_optarg=yes ;;
897 esac
899 # Accept the important Cygnus configure options, so we can diagnose typos.
901 case $ac_dashdash$ac_option in
903 ac_dashdash=yes ;;
905 -bindir | --bindir | --bindi | --bind | --bin | --bi)
906 ac_prev=bindir ;;
907 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
908 bindir=$ac_optarg ;;
910 -build | --build | --buil | --bui | --bu)
911 ac_prev=build_alias ;;
912 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
913 build_alias=$ac_optarg ;;
915 -cache-file | --cache-file | --cache-fil | --cache-fi \
916 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
917 ac_prev=cache_file ;;
918 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
919 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
920 cache_file=$ac_optarg ;;
922 --config-cache | -C)
923 cache_file=config.cache ;;
925 -datadir | --datadir | --datadi | --datad)
926 ac_prev=datadir ;;
927 -datadir=* | --datadir=* | --datadi=* | --datad=*)
928 datadir=$ac_optarg ;;
930 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
931 | --dataroo | --dataro | --datar)
932 ac_prev=datarootdir ;;
933 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
934 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
935 datarootdir=$ac_optarg ;;
937 -disable-* | --disable-*)
938 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
939 # Reject names that are not valid shell variable names.
940 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
941 as_fn_error $? "invalid feature name: $ac_useropt"
942 ac_useropt_orig=$ac_useropt
943 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
944 case $ac_user_opts in
946 "enable_$ac_useropt"
947 "*) ;;
948 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
949 ac_unrecognized_sep=', ';;
950 esac
951 eval enable_$ac_useropt=no ;;
953 -docdir | --docdir | --docdi | --doc | --do)
954 ac_prev=docdir ;;
955 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
956 docdir=$ac_optarg ;;
958 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
959 ac_prev=dvidir ;;
960 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
961 dvidir=$ac_optarg ;;
963 -enable-* | --enable-*)
964 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
965 # Reject names that are not valid shell variable names.
966 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
967 as_fn_error $? "invalid feature name: $ac_useropt"
968 ac_useropt_orig=$ac_useropt
969 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
970 case $ac_user_opts in
972 "enable_$ac_useropt"
973 "*) ;;
974 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
975 ac_unrecognized_sep=', ';;
976 esac
977 eval enable_$ac_useropt=\$ac_optarg ;;
979 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
980 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
981 | --exec | --exe | --ex)
982 ac_prev=exec_prefix ;;
983 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
984 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
985 | --exec=* | --exe=* | --ex=*)
986 exec_prefix=$ac_optarg ;;
988 -gas | --gas | --ga | --g)
989 # Obsolete; use --with-gas.
990 with_gas=yes ;;
992 -help | --help | --hel | --he | -h)
993 ac_init_help=long ;;
994 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
995 ac_init_help=recursive ;;
996 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
997 ac_init_help=short ;;
999 -host | --host | --hos | --ho)
1000 ac_prev=host_alias ;;
1001 -host=* | --host=* | --hos=* | --ho=*)
1002 host_alias=$ac_optarg ;;
1004 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1005 ac_prev=htmldir ;;
1006 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1007 | --ht=*)
1008 htmldir=$ac_optarg ;;
1010 -includedir | --includedir | --includedi | --included | --include \
1011 | --includ | --inclu | --incl | --inc)
1012 ac_prev=includedir ;;
1013 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1014 | --includ=* | --inclu=* | --incl=* | --inc=*)
1015 includedir=$ac_optarg ;;
1017 -infodir | --infodir | --infodi | --infod | --info | --inf)
1018 ac_prev=infodir ;;
1019 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1020 infodir=$ac_optarg ;;
1022 -libdir | --libdir | --libdi | --libd)
1023 ac_prev=libdir ;;
1024 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1025 libdir=$ac_optarg ;;
1027 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1028 | --libexe | --libex | --libe)
1029 ac_prev=libexecdir ;;
1030 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1031 | --libexe=* | --libex=* | --libe=*)
1032 libexecdir=$ac_optarg ;;
1034 -localedir | --localedir | --localedi | --localed | --locale)
1035 ac_prev=localedir ;;
1036 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1037 localedir=$ac_optarg ;;
1039 -localstatedir | --localstatedir | --localstatedi | --localstated \
1040 | --localstate | --localstat | --localsta | --localst | --locals)
1041 ac_prev=localstatedir ;;
1042 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1043 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1044 localstatedir=$ac_optarg ;;
1046 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1047 ac_prev=mandir ;;
1048 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1049 mandir=$ac_optarg ;;
1051 -nfp | --nfp | --nf)
1052 # Obsolete; use --without-fp.
1053 with_fp=no ;;
1055 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1056 | --no-cr | --no-c | -n)
1057 no_create=yes ;;
1059 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1060 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1061 no_recursion=yes ;;
1063 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1064 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1065 | --oldin | --oldi | --old | --ol | --o)
1066 ac_prev=oldincludedir ;;
1067 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1068 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1069 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1070 oldincludedir=$ac_optarg ;;
1072 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1073 ac_prev=prefix ;;
1074 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1075 prefix=$ac_optarg ;;
1077 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1078 | --program-pre | --program-pr | --program-p)
1079 ac_prev=program_prefix ;;
1080 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1081 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1082 program_prefix=$ac_optarg ;;
1084 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1085 | --program-suf | --program-su | --program-s)
1086 ac_prev=program_suffix ;;
1087 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1088 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1089 program_suffix=$ac_optarg ;;
1091 -program-transform-name | --program-transform-name \
1092 | --program-transform-nam | --program-transform-na \
1093 | --program-transform-n | --program-transform- \
1094 | --program-transform | --program-transfor \
1095 | --program-transfo | --program-transf \
1096 | --program-trans | --program-tran \
1097 | --progr-tra | --program-tr | --program-t)
1098 ac_prev=program_transform_name ;;
1099 -program-transform-name=* | --program-transform-name=* \
1100 | --program-transform-nam=* | --program-transform-na=* \
1101 | --program-transform-n=* | --program-transform-=* \
1102 | --program-transform=* | --program-transfor=* \
1103 | --program-transfo=* | --program-transf=* \
1104 | --program-trans=* | --program-tran=* \
1105 | --progr-tra=* | --program-tr=* | --program-t=*)
1106 program_transform_name=$ac_optarg ;;
1108 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1109 ac_prev=pdfdir ;;
1110 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1111 pdfdir=$ac_optarg ;;
1113 -psdir | --psdir | --psdi | --psd | --ps)
1114 ac_prev=psdir ;;
1115 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1116 psdir=$ac_optarg ;;
1118 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1119 | -silent | --silent | --silen | --sile | --sil)
1120 silent=yes ;;
1122 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1123 ac_prev=sbindir ;;
1124 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1125 | --sbi=* | --sb=*)
1126 sbindir=$ac_optarg ;;
1128 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1129 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1130 | --sharedst | --shareds | --shared | --share | --shar \
1131 | --sha | --sh)
1132 ac_prev=sharedstatedir ;;
1133 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1134 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1135 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1136 | --sha=* | --sh=*)
1137 sharedstatedir=$ac_optarg ;;
1139 -site | --site | --sit)
1140 ac_prev=site ;;
1141 -site=* | --site=* | --sit=*)
1142 site=$ac_optarg ;;
1144 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1145 ac_prev=srcdir ;;
1146 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1147 srcdir=$ac_optarg ;;
1149 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1150 | --syscon | --sysco | --sysc | --sys | --sy)
1151 ac_prev=sysconfdir ;;
1152 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1153 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1154 sysconfdir=$ac_optarg ;;
1156 -target | --target | --targe | --targ | --tar | --ta | --t)
1157 ac_prev=target_alias ;;
1158 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1159 target_alias=$ac_optarg ;;
1161 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1162 verbose=yes ;;
1164 -version | --version | --versio | --versi | --vers | -V)
1165 ac_init_version=: ;;
1167 -with-* | --with-*)
1168 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1169 # Reject names that are not valid shell variable names.
1170 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1171 as_fn_error $? "invalid package name: $ac_useropt"
1172 ac_useropt_orig=$ac_useropt
1173 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1174 case $ac_user_opts in
1176 "with_$ac_useropt"
1177 "*) ;;
1178 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1179 ac_unrecognized_sep=', ';;
1180 esac
1181 eval with_$ac_useropt=\$ac_optarg ;;
1183 -without-* | --without-*)
1184 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1185 # Reject names that are not valid shell variable names.
1186 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1187 as_fn_error $? "invalid package name: $ac_useropt"
1188 ac_useropt_orig=$ac_useropt
1189 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1190 case $ac_user_opts in
1192 "with_$ac_useropt"
1193 "*) ;;
1194 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1195 ac_unrecognized_sep=', ';;
1196 esac
1197 eval with_$ac_useropt=no ;;
1199 --x)
1200 # Obsolete; use --with-x.
1201 with_x=yes ;;
1203 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1204 | --x-incl | --x-inc | --x-in | --x-i)
1205 ac_prev=x_includes ;;
1206 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1207 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1208 x_includes=$ac_optarg ;;
1210 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1211 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1212 ac_prev=x_libraries ;;
1213 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1214 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1215 x_libraries=$ac_optarg ;;
1217 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1218 Try \`$0 --help' for more information"
1221 *=*)
1222 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1223 # Reject names that are not valid shell variable names.
1224 case $ac_envvar in #(
1225 '' | [0-9]* | *[!_$as_cr_alnum]* )
1226 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1227 esac
1228 eval $ac_envvar=\$ac_optarg
1229 export $ac_envvar ;;
1232 # FIXME: should be removed in autoconf 3.0.
1233 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1234 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1235 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1236 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1239 esac
1240 done
1242 if test -n "$ac_prev"; then
1243 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1244 as_fn_error $? "missing argument to $ac_option"
1247 if test -n "$ac_unrecognized_opts"; then
1248 case $enable_option_checking in
1249 no) ;;
1250 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1251 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1252 esac
1255 # Check all directory arguments for consistency.
1256 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1257 datadir sysconfdir sharedstatedir localstatedir includedir \
1258 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1259 libdir localedir mandir
1261 eval ac_val=\$$ac_var
1262 # Remove trailing slashes.
1263 case $ac_val in
1264 */ )
1265 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1266 eval $ac_var=\$ac_val;;
1267 esac
1268 # Be sure to have absolute directory names.
1269 case $ac_val in
1270 [\\/$]* | ?:[\\/]* ) continue;;
1271 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1272 esac
1273 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1274 done
1276 # There might be people who depend on the old broken behavior: `$host'
1277 # used to hold the argument of --host etc.
1278 # FIXME: To remove some day.
1279 build=$build_alias
1280 host=$host_alias
1281 target=$target_alias
1283 # FIXME: To remove some day.
1284 if test "x$host_alias" != x; then
1285 if test "x$build_alias" = x; then
1286 cross_compiling=maybe
1287 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1288 If a cross compiler is detected then cross compile mode will be used" >&2
1289 elif test "x$build_alias" != "x$host_alias"; then
1290 cross_compiling=yes
1294 ac_tool_prefix=
1295 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1297 test "$silent" = yes && exec 6>/dev/null
1300 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1301 ac_ls_di=`ls -di .` &&
1302 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1303 as_fn_error $? "working directory cannot be determined"
1304 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1305 as_fn_error $? "pwd does not report name of working directory"
1308 # Find the source files, if location was not specified.
1309 if test -z "$srcdir"; then
1310 ac_srcdir_defaulted=yes
1311 # Try the directory containing this script, then the parent directory.
1312 ac_confdir=`$as_dirname -- "$as_myself" ||
1313 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1314 X"$as_myself" : 'X\(//\)[^/]' \| \
1315 X"$as_myself" : 'X\(//\)$' \| \
1316 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1317 $as_echo X"$as_myself" |
1318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1319 s//\1/
1322 /^X\(\/\/\)[^/].*/{
1323 s//\1/
1326 /^X\(\/\/\)$/{
1327 s//\1/
1330 /^X\(\/\).*/{
1331 s//\1/
1334 s/.*/./; q'`
1335 srcdir=$ac_confdir
1336 if test ! -r "$srcdir/$ac_unique_file"; then
1337 srcdir=..
1339 else
1340 ac_srcdir_defaulted=no
1342 if test ! -r "$srcdir/$ac_unique_file"; then
1343 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1344 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1346 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1347 ac_abs_confdir=`(
1348 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1349 pwd)`
1350 # When building in place, set srcdir=.
1351 if test "$ac_abs_confdir" = "$ac_pwd"; then
1352 srcdir=.
1354 # Remove unnecessary trailing slashes from srcdir.
1355 # Double slashes in file names in object file debugging info
1356 # mess up M-x gdb in Emacs.
1357 case $srcdir in
1358 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1359 esac
1360 for ac_var in $ac_precious_vars; do
1361 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1362 eval ac_env_${ac_var}_value=\$${ac_var}
1363 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1364 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1365 done
1368 # Report the --help message.
1370 if test "$ac_init_help" = "long"; then
1371 # Omit some internal or obsolete options to make the list less imposing.
1372 # This message is too long to be a string in the A/UX 3.1 sh.
1373 cat <<_ACEOF
1374 \`configure' configures Wine 1.3.8 to adapt to many kinds of systems.
1376 Usage: $0 [OPTION]... [VAR=VALUE]...
1378 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1379 VAR=VALUE. See below for descriptions of some of the useful variables.
1381 Defaults for the options are specified in brackets.
1383 Configuration:
1384 -h, --help display this help and exit
1385 --help=short display options specific to this package
1386 --help=recursive display the short help of all the included packages
1387 -V, --version display version information and exit
1388 -q, --quiet, --silent do not print \`checking ...' messages
1389 --cache-file=FILE cache test results in FILE [disabled]
1390 -C, --config-cache alias for \`--cache-file=config.cache'
1391 -n, --no-create do not create output files
1392 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1394 Installation directories:
1395 --prefix=PREFIX install architecture-independent files in PREFIX
1396 [$ac_default_prefix]
1397 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1398 [PREFIX]
1400 By default, \`make install' will install all the files in
1401 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1402 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1403 for instance \`--prefix=\$HOME'.
1405 For better control, use the options below.
1407 Fine tuning of the installation directories:
1408 --bindir=DIR user executables [EPREFIX/bin]
1409 --sbindir=DIR system admin executables [EPREFIX/sbin]
1410 --libexecdir=DIR program executables [EPREFIX/libexec]
1411 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1412 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1413 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1414 --libdir=DIR object code libraries [EPREFIX/lib]
1415 --includedir=DIR C header files [PREFIX/include]
1416 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1417 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1418 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1419 --infodir=DIR info documentation [DATAROOTDIR/info]
1420 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1421 --mandir=DIR man documentation [DATAROOTDIR/man]
1422 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1423 --htmldir=DIR html documentation [DOCDIR]
1424 --dvidir=DIR dvi documentation [DOCDIR]
1425 --pdfdir=DIR pdf documentation [DOCDIR]
1426 --psdir=DIR ps documentation [DOCDIR]
1427 _ACEOF
1429 cat <<\_ACEOF
1431 X features:
1432 --x-includes=DIR X include files are in DIR
1433 --x-libraries=DIR X library files are in DIR
1435 System types:
1436 --build=BUILD configure for building on BUILD [guessed]
1437 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1438 _ACEOF
1441 if test -n "$ac_init_help"; then
1442 case $ac_init_help in
1443 short | recursive ) echo "Configuration of Wine 1.3.8:";;
1444 esac
1445 cat <<\_ACEOF
1447 Optional Features:
1448 --disable-option-checking ignore unrecognized --enable/--with options
1449 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1450 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1451 --disable-win16 do not include Win16 support
1452 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1453 binaries)
1454 --disable-tests do not build the regression tests
1455 --enable-maintainer-mode
1456 enable maintainer-specific build rules
1457 --disable-largefile omit support for large files
1459 Optional Packages:
1460 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1461 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1462 --without-alsa do not use the Alsa sound support
1463 --without-audioio do not use the AudioIO sound support
1464 --without-capi do not use CAPI (ISDN support)
1465 --without-cms do not use CMS (color management support)
1466 --without-coreaudio do not use the CoreAudio sound support
1467 --without-cups do not use CUPS
1468 --without-curses do not use (n)curses
1469 --without-esd do not use the EsounD sound support
1470 --without-fontconfig do not use fontconfig
1471 --without-freetype do not use the FreeType library
1472 --without-gphoto do not use gphoto (Digital Camera support)
1473 --without-glu do not use the GLU library
1474 --without-gnutls do not use GnuTLS (schannel support)
1475 --without-gsm do not use libgsm (GSM 06.10 codec support)
1476 --without-gstreamer do not use GStreamer (codecs support)
1477 --without-hal do not use HAL (dynamic device support)
1478 --without-icns do not use ICNS icon support
1479 --without-jack do not use the Jack sound support
1480 --without-jpeg do not use JPEG
1481 --without-ldap do not use LDAP
1482 --without-mpg123 do not use the mpg123 library
1483 --without-nas do not use the NAS sound support
1484 --without-openal do not use OpenAL
1485 --without-opencl do not use OpenCL
1486 --without-opengl do not use OpenGL
1487 --without-openssl do not use OpenSSL
1488 --without-oss do not use the OSS sound support
1489 --without-png do not use PNG
1490 --without-pthread do not use the pthread library
1491 --without-sane do not use SANE (scanner support)
1492 --without-tiff do not use TIFF
1493 --without-v4l do not use v4l1 (v4l support)
1494 --without-xcomposite do not use the Xcomposite extension
1495 --without-xcursor do not use the Xcursor extension
1496 --without-xinerama do not use Xinerama (multi-monitor support)
1497 --without-xinput do not use the Xinput extension
1498 --without-xml do not use XML
1499 --without-xrandr do not use Xrandr (resolution changes)
1500 --without-xrender do not use the Xrender extension
1501 --without-xshape do not use the Xshape extension
1502 --without-xshm do not use XShm (shared memory extension)
1503 --without-xslt do not use XSLT
1504 --without-xxf86vm do not use XFree video mode extension
1505 --with-wine-tools=DIR use Wine tools from directory DIR
1506 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
1507 --with-x use the X Window System
1509 Some influential environment variables:
1510 CC C compiler command
1511 CFLAGS C compiler flags
1512 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1513 nonstandard directory <lib dir>
1514 LIBS libraries to pass to the linker, e.g. -l<library>
1515 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1516 you have headers in a nonstandard directory <include dir>
1517 CXX C++ compiler command
1518 CXXFLAGS C++ compiler flags
1519 CPP C preprocessor
1520 XMKMF Path to xmkmf, Makefile generator for X Window System
1522 Use these variables to override the choices made by `configure' or to help
1523 it to find libraries and programs with nonstandard names/locations.
1525 Report bugs to <wine-devel@winehq.org>.
1526 Wine home page: <http://www.winehq.org>.
1527 _ACEOF
1528 ac_status=$?
1531 if test "$ac_init_help" = "recursive"; then
1532 # If there are subdirs, report their specific --help.
1533 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1534 test -d "$ac_dir" ||
1535 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1536 continue
1537 ac_builddir=.
1539 case "$ac_dir" in
1540 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1542 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1543 # A ".." for each directory in $ac_dir_suffix.
1544 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1545 case $ac_top_builddir_sub in
1546 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1547 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1548 esac ;;
1549 esac
1550 ac_abs_top_builddir=$ac_pwd
1551 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1552 # for backward compatibility:
1553 ac_top_builddir=$ac_top_build_prefix
1555 case $srcdir in
1556 .) # We are building in place.
1557 ac_srcdir=.
1558 ac_top_srcdir=$ac_top_builddir_sub
1559 ac_abs_top_srcdir=$ac_pwd ;;
1560 [\\/]* | ?:[\\/]* ) # Absolute name.
1561 ac_srcdir=$srcdir$ac_dir_suffix;
1562 ac_top_srcdir=$srcdir
1563 ac_abs_top_srcdir=$srcdir ;;
1564 *) # Relative name.
1565 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1566 ac_top_srcdir=$ac_top_build_prefix$srcdir
1567 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1568 esac
1569 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1571 cd "$ac_dir" || { ac_status=$?; continue; }
1572 # Check for guested configure.
1573 if test -f "$ac_srcdir/configure.gnu"; then
1574 echo &&
1575 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1576 elif test -f "$ac_srcdir/configure"; then
1577 echo &&
1578 $SHELL "$ac_srcdir/configure" --help=recursive
1579 else
1580 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1581 fi || ac_status=$?
1582 cd "$ac_pwd" || { ac_status=$?; break; }
1583 done
1586 test -n "$ac_init_help" && exit $ac_status
1587 if $ac_init_version; then
1588 cat <<\_ACEOF
1589 Wine configure 1.3.8
1590 generated by GNU Autoconf 2.67
1592 Copyright (C) 2010 Free Software Foundation, Inc.
1593 This configure script is free software; the Free Software Foundation
1594 gives unlimited permission to copy, distribute and modify it.
1595 _ACEOF
1596 exit
1599 ## ------------------------ ##
1600 ## Autoconf initialization. ##
1601 ## ------------------------ ##
1603 # ac_fn_c_try_compile LINENO
1604 # --------------------------
1605 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1606 ac_fn_c_try_compile ()
1608 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1609 rm -f conftest.$ac_objext
1610 if { { ac_try="$ac_compile"
1611 case "(($ac_try" in
1612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1613 *) ac_try_echo=$ac_try;;
1614 esac
1615 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1616 $as_echo "$ac_try_echo"; } >&5
1617 (eval "$ac_compile") 2>conftest.err
1618 ac_status=$?
1619 if test -s conftest.err; then
1620 grep -v '^ *+' conftest.err >conftest.er1
1621 cat conftest.er1 >&5
1622 mv -f conftest.er1 conftest.err
1624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1625 test $ac_status = 0; } && {
1626 test -z "$ac_c_werror_flag" ||
1627 test ! -s conftest.err
1628 } && test -s conftest.$ac_objext; then :
1629 ac_retval=0
1630 else
1631 $as_echo "$as_me: failed program was:" >&5
1632 sed 's/^/| /' conftest.$ac_ext >&5
1634 ac_retval=1
1636 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1637 as_fn_set_status $ac_retval
1639 } # ac_fn_c_try_compile
1641 # ac_fn_cxx_try_compile LINENO
1642 # ----------------------------
1643 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1644 ac_fn_cxx_try_compile ()
1646 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1647 rm -f conftest.$ac_objext
1648 if { { ac_try="$ac_compile"
1649 case "(($ac_try" in
1650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1651 *) ac_try_echo=$ac_try;;
1652 esac
1653 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1654 $as_echo "$ac_try_echo"; } >&5
1655 (eval "$ac_compile") 2>conftest.err
1656 ac_status=$?
1657 if test -s conftest.err; then
1658 grep -v '^ *+' conftest.err >conftest.er1
1659 cat conftest.er1 >&5
1660 mv -f conftest.er1 conftest.err
1662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1663 test $ac_status = 0; } && {
1664 test -z "$ac_cxx_werror_flag" ||
1665 test ! -s conftest.err
1666 } && test -s conftest.$ac_objext; then :
1667 ac_retval=0
1668 else
1669 $as_echo "$as_me: failed program was:" >&5
1670 sed 's/^/| /' conftest.$ac_ext >&5
1672 ac_retval=1
1674 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1675 as_fn_set_status $ac_retval
1677 } # ac_fn_cxx_try_compile
1679 # ac_fn_c_try_link LINENO
1680 # -----------------------
1681 # Try to link conftest.$ac_ext, and return whether this succeeded.
1682 ac_fn_c_try_link ()
1684 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1685 rm -f conftest.$ac_objext conftest$ac_exeext
1686 if { { ac_try="$ac_link"
1687 case "(($ac_try" in
1688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1689 *) ac_try_echo=$ac_try;;
1690 esac
1691 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1692 $as_echo "$ac_try_echo"; } >&5
1693 (eval "$ac_link") 2>conftest.err
1694 ac_status=$?
1695 if test -s conftest.err; then
1696 grep -v '^ *+' conftest.err >conftest.er1
1697 cat conftest.er1 >&5
1698 mv -f conftest.er1 conftest.err
1700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1701 test $ac_status = 0; } && {
1702 test -z "$ac_c_werror_flag" ||
1703 test ! -s conftest.err
1704 } && test -s conftest$ac_exeext && {
1705 test "$cross_compiling" = yes ||
1706 $as_test_x conftest$ac_exeext
1707 }; then :
1708 ac_retval=0
1709 else
1710 $as_echo "$as_me: failed program was:" >&5
1711 sed 's/^/| /' conftest.$ac_ext >&5
1713 ac_retval=1
1715 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1716 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1717 # interfere with the next link command; also delete a directory that is
1718 # left behind by Apple's compiler. We do this before executing the actions.
1719 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1720 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1721 as_fn_set_status $ac_retval
1723 } # ac_fn_c_try_link
1725 # ac_fn_c_try_cpp LINENO
1726 # ----------------------
1727 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1728 ac_fn_c_try_cpp ()
1730 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1731 if { { ac_try="$ac_cpp conftest.$ac_ext"
1732 case "(($ac_try" in
1733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1734 *) ac_try_echo=$ac_try;;
1735 esac
1736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1737 $as_echo "$ac_try_echo"; } >&5
1738 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1739 ac_status=$?
1740 if test -s conftest.err; then
1741 grep -v '^ *+' conftest.err >conftest.er1
1742 cat conftest.er1 >&5
1743 mv -f conftest.er1 conftest.err
1745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1746 test $ac_status = 0; } > conftest.i && {
1747 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1748 test ! -s conftest.err
1749 }; then :
1750 ac_retval=0
1751 else
1752 $as_echo "$as_me: failed program was:" >&5
1753 sed 's/^/| /' conftest.$ac_ext >&5
1755 ac_retval=1
1757 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1758 as_fn_set_status $ac_retval
1760 } # ac_fn_c_try_cpp
1762 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1763 # -------------------------------------------------------
1764 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1765 # the include files in INCLUDES and setting the cache variable VAR
1766 # accordingly.
1767 ac_fn_c_check_header_mongrel ()
1769 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1770 if eval "test \"\${$3+set}\"" = set; then :
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1772 $as_echo_n "checking for $2... " >&6; }
1773 if eval "test \"\${$3+set}\"" = set; then :
1774 $as_echo_n "(cached) " >&6
1776 eval ac_res=\$$3
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1778 $as_echo "$ac_res" >&6; }
1779 else
1780 # Is the header compilable?
1781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1782 $as_echo_n "checking $2 usability... " >&6; }
1783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1784 /* end confdefs.h. */
1786 #include <$2>
1787 _ACEOF
1788 if ac_fn_c_try_compile "$LINENO"; then :
1789 ac_header_compiler=yes
1790 else
1791 ac_header_compiler=no
1793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1795 $as_echo "$ac_header_compiler" >&6; }
1797 # Is the header present?
1798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1799 $as_echo_n "checking $2 presence... " >&6; }
1800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1801 /* end confdefs.h. */
1802 #include <$2>
1803 _ACEOF
1804 if ac_fn_c_try_cpp "$LINENO"; then :
1805 ac_header_preproc=yes
1806 else
1807 ac_header_preproc=no
1809 rm -f conftest.err conftest.i conftest.$ac_ext
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1811 $as_echo "$ac_header_preproc" >&6; }
1813 # So? What about this header?
1814 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1815 yes:no: )
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1817 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1819 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1821 no:yes:* )
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1823 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1825 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1827 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1829 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1831 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1832 ( $as_echo "## ------------------------------------ ##
1833 ## Report this to wine-devel@winehq.org ##
1834 ## ------------------------------------ ##"
1835 ) | sed "s/^/$as_me: WARNING: /" >&2
1837 esac
1838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1839 $as_echo_n "checking for $2... " >&6; }
1840 if eval "test \"\${$3+set}\"" = set; then :
1841 $as_echo_n "(cached) " >&6
1842 else
1843 eval "$3=\$ac_header_compiler"
1845 eval ac_res=\$$3
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1847 $as_echo "$ac_res" >&6; }
1849 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1851 } # ac_fn_c_check_header_mongrel
1853 # ac_fn_c_try_run LINENO
1854 # ----------------------
1855 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1856 # that executables *can* be run.
1857 ac_fn_c_try_run ()
1859 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1860 if { { ac_try="$ac_link"
1861 case "(($ac_try" in
1862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1863 *) ac_try_echo=$ac_try;;
1864 esac
1865 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1866 $as_echo "$ac_try_echo"; } >&5
1867 (eval "$ac_link") 2>&5
1868 ac_status=$?
1869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1870 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1871 { { case "(($ac_try" in
1872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1873 *) ac_try_echo=$ac_try;;
1874 esac
1875 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1876 $as_echo "$ac_try_echo"; } >&5
1877 (eval "$ac_try") 2>&5
1878 ac_status=$?
1879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1880 test $ac_status = 0; }; }; then :
1881 ac_retval=0
1882 else
1883 $as_echo "$as_me: program exited with status $ac_status" >&5
1884 $as_echo "$as_me: failed program was:" >&5
1885 sed 's/^/| /' conftest.$ac_ext >&5
1887 ac_retval=$ac_status
1889 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1890 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1891 as_fn_set_status $ac_retval
1893 } # ac_fn_c_try_run
1895 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1896 # -------------------------------------------------------
1897 # Tests whether HEADER exists and can be compiled using the include files in
1898 # INCLUDES, setting the cache variable VAR accordingly.
1899 ac_fn_c_check_header_compile ()
1901 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1903 $as_echo_n "checking for $2... " >&6; }
1904 if eval "test \"\${$3+set}\"" = set; then :
1905 $as_echo_n "(cached) " >&6
1906 else
1907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1908 /* end confdefs.h. */
1910 #include <$2>
1911 _ACEOF
1912 if ac_fn_c_try_compile "$LINENO"; then :
1913 eval "$3=yes"
1914 else
1915 eval "$3=no"
1917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1919 eval ac_res=\$$3
1920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1921 $as_echo "$ac_res" >&6; }
1922 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1924 } # ac_fn_c_check_header_compile
1926 # ac_fn_c_check_func LINENO FUNC VAR
1927 # ----------------------------------
1928 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1929 ac_fn_c_check_func ()
1931 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1933 $as_echo_n "checking for $2... " >&6; }
1934 if eval "test \"\${$3+set}\"" = set; then :
1935 $as_echo_n "(cached) " >&6
1936 else
1937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1938 /* end confdefs.h. */
1939 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1941 #define $2 innocuous_$2
1943 /* System header to define __stub macros and hopefully few prototypes,
1944 which can conflict with char $2 (); below.
1945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1946 <limits.h> exists even on freestanding compilers. */
1948 #ifdef __STDC__
1949 # include <limits.h>
1950 #else
1951 # include <assert.h>
1952 #endif
1954 #undef $2
1956 /* Override any GCC internal prototype to avoid an error.
1957 Use char because int might match the return type of a GCC
1958 builtin and then its argument prototype would still apply. */
1959 #ifdef __cplusplus
1960 extern "C"
1961 #endif
1962 char $2 ();
1963 /* The GNU C library defines this for functions which it implements
1964 to always fail with ENOSYS. Some functions are actually named
1965 something starting with __ and the normal name is an alias. */
1966 #if defined __stub_$2 || defined __stub___$2
1967 choke me
1968 #endif
1971 main ()
1973 return $2 ();
1975 return 0;
1977 _ACEOF
1978 if ac_fn_c_try_link "$LINENO"; then :
1979 eval "$3=yes"
1980 else
1981 eval "$3=no"
1983 rm -f core conftest.err conftest.$ac_objext \
1984 conftest$ac_exeext conftest.$ac_ext
1986 eval ac_res=\$$3
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1988 $as_echo "$ac_res" >&6; }
1989 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1991 } # ac_fn_c_check_func
1993 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1994 # ----------------------------------------------------
1995 # Tries to find if the field MEMBER exists in type AGGR, after including
1996 # INCLUDES, setting cache variable VAR accordingly.
1997 ac_fn_c_check_member ()
1999 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2001 $as_echo_n "checking for $2.$3... " >&6; }
2002 if eval "test \"\${$4+set}\"" = set; then :
2003 $as_echo_n "(cached) " >&6
2004 else
2005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2006 /* end confdefs.h. */
2009 main ()
2011 static $2 ac_aggr;
2012 if (ac_aggr.$3)
2013 return 0;
2015 return 0;
2017 _ACEOF
2018 if ac_fn_c_try_compile "$LINENO"; then :
2019 eval "$4=yes"
2020 else
2021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2022 /* end confdefs.h. */
2025 main ()
2027 static $2 ac_aggr;
2028 if (sizeof ac_aggr.$3)
2029 return 0;
2031 return 0;
2033 _ACEOF
2034 if ac_fn_c_try_compile "$LINENO"; then :
2035 eval "$4=yes"
2036 else
2037 eval "$4=no"
2039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2043 eval ac_res=\$$4
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2045 $as_echo "$ac_res" >&6; }
2046 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2048 } # ac_fn_c_check_member
2050 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2051 # -------------------------------------------
2052 # Tests whether TYPE exists after having included INCLUDES, setting cache
2053 # variable VAR accordingly.
2054 ac_fn_c_check_type ()
2056 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2058 $as_echo_n "checking for $2... " >&6; }
2059 if eval "test \"\${$3+set}\"" = set; then :
2060 $as_echo_n "(cached) " >&6
2061 else
2062 eval "$3=no"
2063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2064 /* end confdefs.h. */
2067 main ()
2069 if (sizeof ($2))
2070 return 0;
2072 return 0;
2074 _ACEOF
2075 if ac_fn_c_try_compile "$LINENO"; then :
2076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2077 /* end confdefs.h. */
2080 main ()
2082 if (sizeof (($2)))
2083 return 0;
2085 return 0;
2087 _ACEOF
2088 if ac_fn_c_try_compile "$LINENO"; then :
2090 else
2091 eval "$3=yes"
2093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2097 eval ac_res=\$$3
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2099 $as_echo "$ac_res" >&6; }
2100 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2102 } # ac_fn_c_check_type
2103 cat >config.log <<_ACEOF
2104 This file contains any messages produced by compilers while
2105 running configure, to aid debugging if configure makes a mistake.
2107 It was created by Wine $as_me 1.3.8, which was
2108 generated by GNU Autoconf 2.67. Invocation command line was
2110 $ $0 $@
2112 _ACEOF
2113 exec 5>>config.log
2115 cat <<_ASUNAME
2116 ## --------- ##
2117 ## Platform. ##
2118 ## --------- ##
2120 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2121 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2122 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2123 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2124 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2126 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2127 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2129 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2130 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2131 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2132 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2133 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2134 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2135 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2137 _ASUNAME
2139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2140 for as_dir in $PATH
2142 IFS=$as_save_IFS
2143 test -z "$as_dir" && as_dir=.
2144 $as_echo "PATH: $as_dir"
2145 done
2146 IFS=$as_save_IFS
2148 } >&5
2150 cat >&5 <<_ACEOF
2153 ## ----------- ##
2154 ## Core tests. ##
2155 ## ----------- ##
2157 _ACEOF
2160 # Keep a trace of the command line.
2161 # Strip out --no-create and --no-recursion so they do not pile up.
2162 # Strip out --silent because we don't want to record it for future runs.
2163 # Also quote any args containing shell meta-characters.
2164 # Make two passes to allow for proper duplicate-argument suppression.
2165 ac_configure_args=
2166 ac_configure_args0=
2167 ac_configure_args1=
2168 ac_must_keep_next=false
2169 for ac_pass in 1 2
2171 for ac_arg
2173 case $ac_arg in
2174 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2175 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2176 | -silent | --silent | --silen | --sile | --sil)
2177 continue ;;
2178 *\'*)
2179 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2180 esac
2181 case $ac_pass in
2182 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2184 as_fn_append ac_configure_args1 " '$ac_arg'"
2185 if test $ac_must_keep_next = true; then
2186 ac_must_keep_next=false # Got value, back to normal.
2187 else
2188 case $ac_arg in
2189 *=* | --config-cache | -C | -disable-* | --disable-* \
2190 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2191 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2192 | -with-* | --with-* | -without-* | --without-* | --x)
2193 case "$ac_configure_args0 " in
2194 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2195 esac
2197 -* ) ac_must_keep_next=true ;;
2198 esac
2200 as_fn_append ac_configure_args " '$ac_arg'"
2202 esac
2203 done
2204 done
2205 { ac_configure_args0=; unset ac_configure_args0;}
2206 { ac_configure_args1=; unset ac_configure_args1;}
2208 # When interrupted or exit'd, cleanup temporary files, and complete
2209 # config.log. We remove comments because anyway the quotes in there
2210 # would cause problems or look ugly.
2211 # WARNING: Use '\'' to represent an apostrophe within the trap.
2212 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2213 trap 'exit_status=$?
2214 # Save into config.log some information that might help in debugging.
2216 echo
2218 $as_echo "## ---------------- ##
2219 ## Cache variables. ##
2220 ## ---------------- ##"
2221 echo
2222 # The following way of writing the cache mishandles newlines in values,
2224 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2225 eval ac_val=\$$ac_var
2226 case $ac_val in #(
2227 *${as_nl}*)
2228 case $ac_var in #(
2229 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2230 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2231 esac
2232 case $ac_var in #(
2233 _ | IFS | as_nl) ;; #(
2234 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2235 *) { eval $ac_var=; unset $ac_var;} ;;
2236 esac ;;
2237 esac
2238 done
2239 (set) 2>&1 |
2240 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2241 *${as_nl}ac_space=\ *)
2242 sed -n \
2243 "s/'\''/'\''\\\\'\'''\''/g;
2244 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2245 ;; #(
2247 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2249 esac |
2250 sort
2252 echo
2254 $as_echo "## ----------------- ##
2255 ## Output variables. ##
2256 ## ----------------- ##"
2257 echo
2258 for ac_var in $ac_subst_vars
2260 eval ac_val=\$$ac_var
2261 case $ac_val in
2262 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2263 esac
2264 $as_echo "$ac_var='\''$ac_val'\''"
2265 done | sort
2266 echo
2268 if test -n "$ac_subst_files"; then
2269 $as_echo "## ------------------- ##
2270 ## File substitutions. ##
2271 ## ------------------- ##"
2272 echo
2273 for ac_var in $ac_subst_files
2275 eval ac_val=\$$ac_var
2276 case $ac_val in
2277 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2278 esac
2279 $as_echo "$ac_var='\''$ac_val'\''"
2280 done | sort
2281 echo
2284 if test -s confdefs.h; then
2285 $as_echo "## ----------- ##
2286 ## confdefs.h. ##
2287 ## ----------- ##"
2288 echo
2289 cat confdefs.h
2290 echo
2292 test "$ac_signal" != 0 &&
2293 $as_echo "$as_me: caught signal $ac_signal"
2294 $as_echo "$as_me: exit $exit_status"
2295 } >&5
2296 rm -f core *.core core.conftest.* &&
2297 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2298 exit $exit_status
2300 for ac_signal in 1 2 13 15; do
2301 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2302 done
2303 ac_signal=0
2305 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2306 rm -f -r conftest* confdefs.h
2308 $as_echo "/* confdefs.h */" > confdefs.h
2310 # Predefined preprocessor variables.
2312 cat >>confdefs.h <<_ACEOF
2313 #define PACKAGE_NAME "$PACKAGE_NAME"
2314 _ACEOF
2316 cat >>confdefs.h <<_ACEOF
2317 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2318 _ACEOF
2320 cat >>confdefs.h <<_ACEOF
2321 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2322 _ACEOF
2324 cat >>confdefs.h <<_ACEOF
2325 #define PACKAGE_STRING "$PACKAGE_STRING"
2326 _ACEOF
2328 cat >>confdefs.h <<_ACEOF
2329 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2330 _ACEOF
2332 cat >>confdefs.h <<_ACEOF
2333 #define PACKAGE_URL "$PACKAGE_URL"
2334 _ACEOF
2337 # Let the site file select an alternate cache file if it wants to.
2338 # Prefer an explicitly selected file to automatically selected ones.
2339 ac_site_file1=NONE
2340 ac_site_file2=NONE
2341 if test -n "$CONFIG_SITE"; then
2342 # We do not want a PATH search for config.site.
2343 case $CONFIG_SITE in #((
2344 -*) ac_site_file1=./$CONFIG_SITE;;
2345 */*) ac_site_file1=$CONFIG_SITE;;
2346 *) ac_site_file1=./$CONFIG_SITE;;
2347 esac
2348 elif test "x$prefix" != xNONE; then
2349 ac_site_file1=$prefix/share/config.site
2350 ac_site_file2=$prefix/etc/config.site
2351 else
2352 ac_site_file1=$ac_default_prefix/share/config.site
2353 ac_site_file2=$ac_default_prefix/etc/config.site
2355 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2357 test "x$ac_site_file" = xNONE && continue
2358 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2360 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2361 sed 's/^/| /' "$ac_site_file" >&5
2362 . "$ac_site_file" \
2363 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2364 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2365 as_fn_error $? "failed to load site script $ac_site_file
2366 See \`config.log' for more details" "$LINENO" 5 ; }
2368 done
2370 if test -r "$cache_file"; then
2371 # Some versions of bash will fail to source /dev/null (special files
2372 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2373 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2375 $as_echo "$as_me: loading cache $cache_file" >&6;}
2376 case $cache_file in
2377 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2378 *) . "./$cache_file";;
2379 esac
2381 else
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2383 $as_echo "$as_me: creating cache $cache_file" >&6;}
2384 >$cache_file
2387 # Check that the precious variables saved in the cache have kept the same
2388 # value.
2389 ac_cache_corrupted=false
2390 for ac_var in $ac_precious_vars; do
2391 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2392 eval ac_new_set=\$ac_env_${ac_var}_set
2393 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2394 eval ac_new_val=\$ac_env_${ac_var}_value
2395 case $ac_old_set,$ac_new_set in
2396 set,)
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2398 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2399 ac_cache_corrupted=: ;;
2400 ,set)
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2402 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2403 ac_cache_corrupted=: ;;
2404 ,);;
2406 if test "x$ac_old_val" != "x$ac_new_val"; then
2407 # differences in whitespace do not lead to failure.
2408 ac_old_val_w=`echo x $ac_old_val`
2409 ac_new_val_w=`echo x $ac_new_val`
2410 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2412 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2413 ac_cache_corrupted=:
2414 else
2415 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2416 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2417 eval $ac_var=\$ac_old_val
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2420 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2422 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2423 fi;;
2424 esac
2425 # Pass precious variables to config.status.
2426 if test "$ac_new_set" = set; then
2427 case $ac_new_val in
2428 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2429 *) ac_arg=$ac_var=$ac_new_val ;;
2430 esac
2431 case " $ac_configure_args " in
2432 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2433 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2434 esac
2436 done
2437 if $ac_cache_corrupted; then
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2439 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2441 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2442 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2444 ## -------------------- ##
2445 ## Main body of script. ##
2446 ## -------------------- ##
2448 ac_ext=c
2449 ac_cpp='$CPP $CPPFLAGS'
2450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2456 ac_config_headers="$ac_config_headers include/config.h"
2458 ac_aux_dir=
2459 for ac_dir in tools "$srcdir"/tools; do
2460 if test -f "$ac_dir/install-sh"; then
2461 ac_aux_dir=$ac_dir
2462 ac_install_sh="$ac_aux_dir/install-sh -c"
2463 break
2464 elif test -f "$ac_dir/install.sh"; then
2465 ac_aux_dir=$ac_dir
2466 ac_install_sh="$ac_aux_dir/install.sh -c"
2467 break
2468 elif test -f "$ac_dir/shtool"; then
2469 ac_aux_dir=$ac_dir
2470 ac_install_sh="$ac_aux_dir/shtool install -c"
2471 break
2473 done
2474 if test -z "$ac_aux_dir"; then
2475 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
2478 # These three variables are undocumented and unsupported,
2479 # and are intended to be withdrawn in a future Autoconf release.
2480 # They can cause serious problems if a builder's source tree is in a directory
2481 # whose full name contains unusual characters.
2482 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2483 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2484 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2490 # Check whether --enable-win16 was given.
2491 if test "${enable_win16+set}" = set; then :
2492 enableval=$enable_win16;
2495 # Check whether --enable-win64 was given.
2496 if test "${enable_win64+set}" = set; then :
2497 enableval=$enable_win64;
2500 # Check whether --enable-tests was given.
2501 if test "${enable_tests+set}" = set; then :
2502 enableval=$enable_tests;
2505 # Check whether --enable-maintainer-mode was given.
2506 if test "${enable_maintainer_mode+set}" = set; then :
2507 enableval=$enable_maintainer_mode;
2512 # Check whether --with-alsa was given.
2513 if test "${with_alsa+set}" = set; then :
2514 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
2518 # Check whether --with-audioio was given.
2519 if test "${with_audioio+set}" = set; then :
2520 withval=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h=no; fi
2524 # Check whether --with-capi was given.
2525 if test "${with_capi+set}" = set; then :
2526 withval=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h=no; ac_cv_header_linux_capi_h=no; fi
2530 # Check whether --with-cms was given.
2531 if test "${with_cms+set}" = set; then :
2532 withval=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h=no; ac_cv_header_lcms_lcms_h=no; fi
2536 # Check whether --with-coreaudio was given.
2537 if test "${with_coreaudio+set}" = set; then :
2538 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
2542 # Check whether --with-cups was given.
2543 if test "${with_cups+set}" = set; then :
2544 withval=$with_cups;
2548 # Check whether --with-curses was given.
2549 if test "${with_curses+set}" = set; then :
2550 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
2554 # Check whether --with-esd was given.
2555 if test "${with_esd+set}" = set; then :
2556 withval=$with_esd;
2560 # Check whether --with-fontconfig was given.
2561 if test "${with_fontconfig+set}" = set; then :
2562 withval=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h=no; fi
2566 # Check whether --with-freetype was given.
2567 if test "${with_freetype+set}" = set; then :
2568 withval=$with_freetype;
2572 # Check whether --with-gphoto was given.
2573 if test "${with_gphoto+set}" = set; then :
2574 withval=$with_gphoto;
2578 # Check whether --with-glu was given.
2579 if test "${with_glu+set}" = set; then :
2580 withval=$with_glu; if test "x$withval" = "xno"; then ac_cv_header_GL_glu_h=no; fi
2584 # Check whether --with-gnutls was given.
2585 if test "${with_gnutls+set}" = set; then :
2586 withval=$with_gnutls;
2590 # Check whether --with-gsm was given.
2591 if test "${with_gsm+set}" = set; then :
2592 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
2596 # Check whether --with-gstreamer was given.
2597 if test "${with_gstreamer+set}" = set; then :
2598 withval=$with_gstreamer;
2602 # Check whether --with-hal was given.
2603 if test "${with_hal+set}" = set; then :
2604 withval=$with_hal;
2608 # Check whether --with-icns was given.
2609 if test "${with_icns+set}" = set; then :
2610 withval=$with_icns; if test "x$withval" = "xno"; then ac_cv_header_icns_h=no; fi
2614 # Check whether --with-jack was given.
2615 if test "${with_jack+set}" = set; then :
2616 withval=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h=no; fi
2620 # Check whether --with-jpeg was given.
2621 if test "${with_jpeg+set}" = set; then :
2622 withval=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h=no; fi
2626 # Check whether --with-ldap was given.
2627 if test "${with_ldap+set}" = set; then :
2628 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
2632 # Check whether --with-mpg123 was given.
2633 if test "${with_mpg123+set}" = set; then :
2634 withval=$with_mpg123; if test "x$withval" = "xno"; then ac_cv_header_mpg123_h=no; fi
2638 # Check whether --with-nas was given.
2639 if test "${with_nas+set}" = set; then :
2640 withval=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h=no; fi
2644 # Check whether --with-openal was given.
2645 if test "${with_openal+set}" = set; then :
2646 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
2650 # Check whether --with-opencl was given.
2651 if test "${with_opencl+set}" = set; then :
2652 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_opencl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
2656 # Check whether --with-opengl was given.
2657 if test "${with_opengl+set}" = set; then :
2658 withval=$with_opengl;
2662 # Check whether --with-openssl was given.
2663 if test "${with_openssl+set}" = set; then :
2664 withval=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h=no; ac_cv_header_openssl_ssl_h=no; fi
2668 # Check whether --with-oss was given.
2669 if test "${with_oss+set}" = set; then :
2670 withval=$with_oss; if test "x$withval" = "xno"; then ac_cv_header_soundcard_h=no; ac_cv_header_sys_soundcard_h=no; ac_cv_header_machine_soundcard_h=no; fi
2674 # Check whether --with-png was given.
2675 if test "${with_png+set}" = set; then :
2676 withval=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h=no; fi
2680 # Check whether --with-pthread was given.
2681 if test "${with_pthread+set}" = set; then :
2682 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
2686 # Check whether --with-sane was given.
2687 if test "${with_sane+set}" = set; then :
2688 withval=$with_sane;
2692 # Check whether --with-tiff was given.
2693 if test "${with_tiff+set}" = set; then :
2694 withval=$with_tiff; if test "x$withval" = "xno"; then ac_cv_header_tiffio_h=no; fi
2698 # Check whether --with-v4l was given.
2699 if test "${with_v4l+set}" = set; then :
2700 withval=$with_v4l;
2704 # Check whether --with-xcomposite was given.
2705 if test "${with_xcomposite+set}" = set; then :
2706 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2710 # Check whether --with-xcursor was given.
2711 if test "${with_xcursor+set}" = set; then :
2712 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2716 # Check whether --with-xinerama was given.
2717 if test "${with_xinerama+set}" = set; then :
2718 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2722 # Check whether --with-xinput was given.
2723 if test "${with_xinput+set}" = set; then :
2724 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2728 # Check whether --with-xml was given.
2729 if test "${with_xml+set}" = set; then :
2730 withval=$with_xml;
2734 # Check whether --with-xrandr was given.
2735 if test "${with_xrandr+set}" = set; then :
2736 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2740 # Check whether --with-xrender was given.
2741 if test "${with_xrender+set}" = set; then :
2742 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2746 # Check whether --with-xshape was given.
2747 if test "${with_xshape+set}" = set; then :
2748 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2752 # Check whether --with-xshm was given.
2753 if test "${with_xshm+set}" = set; then :
2754 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
2758 # Check whether --with-xslt was given.
2759 if test "${with_xslt+set}" = set; then :
2760 withval=$with_xslt;
2764 # Check whether --with-xxf86vm was given.
2765 if test "${with_xxf86vm+set}" = set; then :
2766 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
2771 # Check whether --with-wine-tools was given.
2772 if test "${with_wine_tools+set}" = set; then :
2773 withval=$with_wine_tools;
2777 # Check whether --with-wine64 was given.
2778 if test "${with_wine64+set}" = set; then :
2779 withval=$with_wine64;
2783 # Make sure we can run config.sub.
2784 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2785 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2788 $as_echo_n "checking build system type... " >&6; }
2789 if test "${ac_cv_build+set}" = set; then :
2790 $as_echo_n "(cached) " >&6
2791 else
2792 ac_build_alias=$build_alias
2793 test "x$ac_build_alias" = x &&
2794 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2795 test "x$ac_build_alias" = x &&
2796 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2797 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2798 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2802 $as_echo "$ac_cv_build" >&6; }
2803 case $ac_cv_build in
2804 *-*-*) ;;
2805 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
2806 esac
2807 build=$ac_cv_build
2808 ac_save_IFS=$IFS; IFS='-'
2809 set x $ac_cv_build
2810 shift
2811 build_cpu=$1
2812 build_vendor=$2
2813 shift; shift
2814 # Remember, the first character of IFS is used to create $*,
2815 # except with old shells:
2816 build_os=$*
2817 IFS=$ac_save_IFS
2818 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2822 $as_echo_n "checking host system type... " >&6; }
2823 if test "${ac_cv_host+set}" = set; then :
2824 $as_echo_n "(cached) " >&6
2825 else
2826 if test "x$host_alias" = x; then
2827 ac_cv_host=$ac_cv_build
2828 else
2829 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2830 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2835 $as_echo "$ac_cv_host" >&6; }
2836 case $ac_cv_host in
2837 *-*-*) ;;
2838 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
2839 esac
2840 host=$ac_cv_host
2841 ac_save_IFS=$IFS; IFS='-'
2842 set x $ac_cv_host
2843 shift
2844 host_cpu=$1
2845 host_vendor=$2
2846 shift; shift
2847 # Remember, the first character of IFS is used to create $*,
2848 # except with old shells:
2849 host_os=$*
2850 IFS=$ac_save_IFS
2851 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2855 case "$srcdir" in
2856 .) ;;
2857 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2858 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
2859 You need to run 'make distclean' in the source tree first." "$LINENO" 5
2860 fi ;;
2861 esac
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2865 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2866 set x ${MAKE-make}
2867 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2868 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2869 $as_echo_n "(cached) " >&6
2870 else
2871 cat >conftest.make <<\_ACEOF
2872 SHELL = /bin/sh
2873 all:
2874 @echo '@@@%%%=$(MAKE)=@@@%%%'
2875 _ACEOF
2876 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2877 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2878 *@@@%%%=?*=@@@%%%*)
2879 eval ac_cv_prog_make_${ac_make}_set=yes;;
2881 eval ac_cv_prog_make_${ac_make}_set=no;;
2882 esac
2883 rm -f conftest.make
2885 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2887 $as_echo "yes" >&6; }
2888 SET_MAKE=
2889 else
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2891 $as_echo "no" >&6; }
2892 SET_MAKE="MAKE=${MAKE-make}"
2895 ac_ext=c
2896 ac_cpp='$CPP $CPPFLAGS'
2897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2900 if test -n "$ac_tool_prefix"; then
2901 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2902 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2904 $as_echo_n "checking for $ac_word... " >&6; }
2905 if test "${ac_cv_prog_CC+set}" = set; then :
2906 $as_echo_n "(cached) " >&6
2907 else
2908 if test -n "$CC"; then
2909 ac_cv_prog_CC="$CC" # Let the user override the test.
2910 else
2911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2912 for as_dir in $PATH
2914 IFS=$as_save_IFS
2915 test -z "$as_dir" && as_dir=.
2916 for ac_exec_ext in '' $ac_executable_extensions; do
2917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2918 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2920 break 2
2922 done
2923 done
2924 IFS=$as_save_IFS
2928 CC=$ac_cv_prog_CC
2929 if test -n "$CC"; then
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2931 $as_echo "$CC" >&6; }
2932 else
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2934 $as_echo "no" >&6; }
2939 if test -z "$ac_cv_prog_CC"; then
2940 ac_ct_CC=$CC
2941 # Extract the first word of "gcc", so it can be a program name with args.
2942 set dummy gcc; ac_word=$2
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2944 $as_echo_n "checking for $ac_word... " >&6; }
2945 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2946 $as_echo_n "(cached) " >&6
2947 else
2948 if test -n "$ac_ct_CC"; then
2949 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2950 else
2951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2952 for as_dir in $PATH
2954 IFS=$as_save_IFS
2955 test -z "$as_dir" && as_dir=.
2956 for ac_exec_ext in '' $ac_executable_extensions; do
2957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2958 ac_cv_prog_ac_ct_CC="gcc"
2959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2960 break 2
2962 done
2963 done
2964 IFS=$as_save_IFS
2968 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2969 if test -n "$ac_ct_CC"; then
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2971 $as_echo "$ac_ct_CC" >&6; }
2972 else
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2974 $as_echo "no" >&6; }
2977 if test "x$ac_ct_CC" = x; then
2978 CC=""
2979 else
2980 case $cross_compiling:$ac_tool_warned in
2981 yes:)
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2983 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2984 ac_tool_warned=yes ;;
2985 esac
2986 CC=$ac_ct_CC
2988 else
2989 CC="$ac_cv_prog_CC"
2992 if test -z "$CC"; then
2993 if test -n "$ac_tool_prefix"; then
2994 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2995 set dummy ${ac_tool_prefix}cc; ac_word=$2
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2997 $as_echo_n "checking for $ac_word... " >&6; }
2998 if test "${ac_cv_prog_CC+set}" = set; then :
2999 $as_echo_n "(cached) " >&6
3000 else
3001 if test -n "$CC"; then
3002 ac_cv_prog_CC="$CC" # Let the user override the test.
3003 else
3004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3005 for as_dir in $PATH
3007 IFS=$as_save_IFS
3008 test -z "$as_dir" && as_dir=.
3009 for ac_exec_ext in '' $ac_executable_extensions; do
3010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3011 ac_cv_prog_CC="${ac_tool_prefix}cc"
3012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3013 break 2
3015 done
3016 done
3017 IFS=$as_save_IFS
3021 CC=$ac_cv_prog_CC
3022 if test -n "$CC"; then
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3024 $as_echo "$CC" >&6; }
3025 else
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3027 $as_echo "no" >&6; }
3033 if test -z "$CC"; then
3034 # Extract the first word of "cc", so it can be a program name with args.
3035 set dummy cc; ac_word=$2
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3037 $as_echo_n "checking for $ac_word... " >&6; }
3038 if test "${ac_cv_prog_CC+set}" = set; then :
3039 $as_echo_n "(cached) " >&6
3040 else
3041 if test -n "$CC"; then
3042 ac_cv_prog_CC="$CC" # Let the user override the test.
3043 else
3044 ac_prog_rejected=no
3045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3046 for as_dir in $PATH
3048 IFS=$as_save_IFS
3049 test -z "$as_dir" && as_dir=.
3050 for ac_exec_ext in '' $ac_executable_extensions; do
3051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3052 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3053 ac_prog_rejected=yes
3054 continue
3056 ac_cv_prog_CC="cc"
3057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3058 break 2
3060 done
3061 done
3062 IFS=$as_save_IFS
3064 if test $ac_prog_rejected = yes; then
3065 # We found a bogon in the path, so make sure we never use it.
3066 set dummy $ac_cv_prog_CC
3067 shift
3068 if test $# != 0; then
3069 # We chose a different compiler from the bogus one.
3070 # However, it has the same basename, so the bogon will be chosen
3071 # first if we set CC to just the basename; use the full file name.
3072 shift
3073 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3078 CC=$ac_cv_prog_CC
3079 if test -n "$CC"; then
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3081 $as_echo "$CC" >&6; }
3082 else
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3084 $as_echo "no" >&6; }
3089 if test -z "$CC"; then
3090 if test -n "$ac_tool_prefix"; then
3091 for ac_prog in cl.exe
3093 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3094 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3096 $as_echo_n "checking for $ac_word... " >&6; }
3097 if test "${ac_cv_prog_CC+set}" = set; then :
3098 $as_echo_n "(cached) " >&6
3099 else
3100 if test -n "$CC"; then
3101 ac_cv_prog_CC="$CC" # Let the user override the test.
3102 else
3103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3104 for as_dir in $PATH
3106 IFS=$as_save_IFS
3107 test -z "$as_dir" && as_dir=.
3108 for ac_exec_ext in '' $ac_executable_extensions; do
3109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3110 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3112 break 2
3114 done
3115 done
3116 IFS=$as_save_IFS
3120 CC=$ac_cv_prog_CC
3121 if test -n "$CC"; then
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3123 $as_echo "$CC" >&6; }
3124 else
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3126 $as_echo "no" >&6; }
3130 test -n "$CC" && break
3131 done
3133 if test -z "$CC"; then
3134 ac_ct_CC=$CC
3135 for ac_prog in cl.exe
3137 # Extract the first word of "$ac_prog", so it can be a program name with args.
3138 set dummy $ac_prog; ac_word=$2
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3140 $as_echo_n "checking for $ac_word... " >&6; }
3141 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3142 $as_echo_n "(cached) " >&6
3143 else
3144 if test -n "$ac_ct_CC"; then
3145 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3146 else
3147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3148 for as_dir in $PATH
3150 IFS=$as_save_IFS
3151 test -z "$as_dir" && as_dir=.
3152 for ac_exec_ext in '' $ac_executable_extensions; do
3153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3154 ac_cv_prog_ac_ct_CC="$ac_prog"
3155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3156 break 2
3158 done
3159 done
3160 IFS=$as_save_IFS
3164 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3165 if test -n "$ac_ct_CC"; then
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3167 $as_echo "$ac_ct_CC" >&6; }
3168 else
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3170 $as_echo "no" >&6; }
3174 test -n "$ac_ct_CC" && break
3175 done
3177 if test "x$ac_ct_CC" = x; then
3178 CC=""
3179 else
3180 case $cross_compiling:$ac_tool_warned in
3181 yes:)
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3183 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3184 ac_tool_warned=yes ;;
3185 esac
3186 CC=$ac_ct_CC
3193 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3194 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3195 as_fn_error $? "no acceptable C compiler found in \$PATH
3196 See \`config.log' for more details" "$LINENO" 5 ; }
3198 # Provide some information about the compiler.
3199 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3200 set X $ac_compile
3201 ac_compiler=$2
3202 for ac_option in --version -v -V -qversion; do
3203 { { ac_try="$ac_compiler $ac_option >&5"
3204 case "(($ac_try" in
3205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3206 *) ac_try_echo=$ac_try;;
3207 esac
3208 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3209 $as_echo "$ac_try_echo"; } >&5
3210 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3211 ac_status=$?
3212 if test -s conftest.err; then
3213 sed '10a\
3214 ... rest of stderr output deleted ...
3215 10q' conftest.err >conftest.er1
3216 cat conftest.er1 >&5
3218 rm -f conftest.er1 conftest.err
3219 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3220 test $ac_status = 0; }
3221 done
3223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3224 /* end confdefs.h. */
3227 main ()
3231 return 0;
3233 _ACEOF
3234 ac_clean_files_save=$ac_clean_files
3235 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3236 # Try to create an executable without -o first, disregard a.out.
3237 # It will help us diagnose broken compilers, and finding out an intuition
3238 # of exeext.
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3240 $as_echo_n "checking whether the C compiler works... " >&6; }
3241 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3243 # The possible output files:
3244 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3246 ac_rmfiles=
3247 for ac_file in $ac_files
3249 case $ac_file in
3250 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3251 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3252 esac
3253 done
3254 rm -f $ac_rmfiles
3256 if { { ac_try="$ac_link_default"
3257 case "(($ac_try" in
3258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3259 *) ac_try_echo=$ac_try;;
3260 esac
3261 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3262 $as_echo "$ac_try_echo"; } >&5
3263 (eval "$ac_link_default") 2>&5
3264 ac_status=$?
3265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3266 test $ac_status = 0; }; then :
3267 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3268 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3269 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3270 # so that the user can short-circuit this test for compilers unknown to
3271 # Autoconf.
3272 for ac_file in $ac_files ''
3274 test -f "$ac_file" || continue
3275 case $ac_file in
3276 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3278 [ab].out )
3279 # We found the default executable, but exeext='' is most
3280 # certainly right.
3281 break;;
3282 *.* )
3283 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3284 then :; else
3285 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3287 # We set ac_cv_exeext here because the later test for it is not
3288 # safe: cross compilers may not add the suffix if given an `-o'
3289 # argument, so we may need to know it at that point already.
3290 # Even if this section looks crufty: it has the advantage of
3291 # actually working.
3292 break;;
3294 break;;
3295 esac
3296 done
3297 test "$ac_cv_exeext" = no && ac_cv_exeext=
3299 else
3300 ac_file=''
3302 if test -z "$ac_file"; then :
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3304 $as_echo "no" >&6; }
3305 $as_echo "$as_me: failed program was:" >&5
3306 sed 's/^/| /' conftest.$ac_ext >&5
3308 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3309 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3310 as_fn_error 77 "C compiler cannot create executables
3311 See \`config.log' for more details" "$LINENO" 5 ; }
3312 else
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3314 $as_echo "yes" >&6; }
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3317 $as_echo_n "checking for C compiler default output file name... " >&6; }
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3319 $as_echo "$ac_file" >&6; }
3320 ac_exeext=$ac_cv_exeext
3322 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3323 ac_clean_files=$ac_clean_files_save
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3325 $as_echo_n "checking for suffix of executables... " >&6; }
3326 if { { ac_try="$ac_link"
3327 case "(($ac_try" in
3328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3329 *) ac_try_echo=$ac_try;;
3330 esac
3331 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3332 $as_echo "$ac_try_echo"; } >&5
3333 (eval "$ac_link") 2>&5
3334 ac_status=$?
3335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3336 test $ac_status = 0; }; then :
3337 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3338 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3339 # work properly (i.e., refer to `conftest.exe'), while it won't with
3340 # `rm'.
3341 for ac_file in conftest.exe conftest conftest.*; do
3342 test -f "$ac_file" || continue
3343 case $ac_file in
3344 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3345 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3346 break;;
3347 * ) break;;
3348 esac
3349 done
3350 else
3351 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3352 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3353 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3354 See \`config.log' for more details" "$LINENO" 5 ; }
3356 rm -f conftest conftest$ac_cv_exeext
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3358 $as_echo "$ac_cv_exeext" >&6; }
3360 rm -f conftest.$ac_ext
3361 EXEEXT=$ac_cv_exeext
3362 ac_exeext=$EXEEXT
3363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3364 /* end confdefs.h. */
3365 #include <stdio.h>
3367 main ()
3369 FILE *f = fopen ("conftest.out", "w");
3370 return ferror (f) || fclose (f) != 0;
3373 return 0;
3375 _ACEOF
3376 ac_clean_files="$ac_clean_files conftest.out"
3377 # Check that the compiler produces executables we can run. If not, either
3378 # the compiler is broken, or we cross compile.
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3380 $as_echo_n "checking whether we are cross compiling... " >&6; }
3381 if test "$cross_compiling" != yes; then
3382 { { ac_try="$ac_link"
3383 case "(($ac_try" in
3384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3385 *) ac_try_echo=$ac_try;;
3386 esac
3387 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3388 $as_echo "$ac_try_echo"; } >&5
3389 (eval "$ac_link") 2>&5
3390 ac_status=$?
3391 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3392 test $ac_status = 0; }
3393 if { ac_try='./conftest$ac_cv_exeext'
3394 { { case "(($ac_try" in
3395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3396 *) ac_try_echo=$ac_try;;
3397 esac
3398 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3399 $as_echo "$ac_try_echo"; } >&5
3400 (eval "$ac_try") 2>&5
3401 ac_status=$?
3402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3403 test $ac_status = 0; }; }; then
3404 cross_compiling=no
3405 else
3406 if test "$cross_compiling" = maybe; then
3407 cross_compiling=yes
3408 else
3409 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3410 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3411 as_fn_error $? "cannot run C compiled programs.
3412 If you meant to cross compile, use \`--host'.
3413 See \`config.log' for more details" "$LINENO" 5 ; }
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3418 $as_echo "$cross_compiling" >&6; }
3420 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3421 ac_clean_files=$ac_clean_files_save
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3423 $as_echo_n "checking for suffix of object files... " >&6; }
3424 if test "${ac_cv_objext+set}" = set; then :
3425 $as_echo_n "(cached) " >&6
3426 else
3427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3428 /* end confdefs.h. */
3431 main ()
3435 return 0;
3437 _ACEOF
3438 rm -f conftest.o conftest.obj
3439 if { { ac_try="$ac_compile"
3440 case "(($ac_try" in
3441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3442 *) ac_try_echo=$ac_try;;
3443 esac
3444 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3445 $as_echo "$ac_try_echo"; } >&5
3446 (eval "$ac_compile") 2>&5
3447 ac_status=$?
3448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3449 test $ac_status = 0; }; then :
3450 for ac_file in conftest.o conftest.obj conftest.*; do
3451 test -f "$ac_file" || continue;
3452 case $ac_file in
3453 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3454 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3455 break;;
3456 esac
3457 done
3458 else
3459 $as_echo "$as_me: failed program was:" >&5
3460 sed 's/^/| /' conftest.$ac_ext >&5
3462 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3463 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3464 as_fn_error $? "cannot compute suffix of object files: cannot compile
3465 See \`config.log' for more details" "$LINENO" 5 ; }
3467 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3470 $as_echo "$ac_cv_objext" >&6; }
3471 OBJEXT=$ac_cv_objext
3472 ac_objext=$OBJEXT
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3474 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3475 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3476 $as_echo_n "(cached) " >&6
3477 else
3478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3479 /* end confdefs.h. */
3482 main ()
3484 #ifndef __GNUC__
3485 choke me
3486 #endif
3489 return 0;
3491 _ACEOF
3492 if ac_fn_c_try_compile "$LINENO"; then :
3493 ac_compiler_gnu=yes
3494 else
3495 ac_compiler_gnu=no
3497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3498 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3502 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3503 if test $ac_compiler_gnu = yes; then
3504 GCC=yes
3505 else
3506 GCC=
3508 ac_test_CFLAGS=${CFLAGS+set}
3509 ac_save_CFLAGS=$CFLAGS
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3511 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3512 if test "${ac_cv_prog_cc_g+set}" = set; then :
3513 $as_echo_n "(cached) " >&6
3514 else
3515 ac_save_c_werror_flag=$ac_c_werror_flag
3516 ac_c_werror_flag=yes
3517 ac_cv_prog_cc_g=no
3518 CFLAGS="-g"
3519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3520 /* end confdefs.h. */
3523 main ()
3527 return 0;
3529 _ACEOF
3530 if ac_fn_c_try_compile "$LINENO"; then :
3531 ac_cv_prog_cc_g=yes
3532 else
3533 CFLAGS=""
3534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3535 /* end confdefs.h. */
3538 main ()
3542 return 0;
3544 _ACEOF
3545 if ac_fn_c_try_compile "$LINENO"; then :
3547 else
3548 ac_c_werror_flag=$ac_save_c_werror_flag
3549 CFLAGS="-g"
3550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3551 /* end confdefs.h. */
3554 main ()
3558 return 0;
3560 _ACEOF
3561 if ac_fn_c_try_compile "$LINENO"; then :
3562 ac_cv_prog_cc_g=yes
3564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3569 ac_c_werror_flag=$ac_save_c_werror_flag
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3572 $as_echo "$ac_cv_prog_cc_g" >&6; }
3573 if test "$ac_test_CFLAGS" = set; then
3574 CFLAGS=$ac_save_CFLAGS
3575 elif test $ac_cv_prog_cc_g = yes; then
3576 if test "$GCC" = yes; then
3577 CFLAGS="-g -O2"
3578 else
3579 CFLAGS="-g"
3581 else
3582 if test "$GCC" = yes; then
3583 CFLAGS="-O2"
3584 else
3585 CFLAGS=
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3589 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3590 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3591 $as_echo_n "(cached) " >&6
3592 else
3593 ac_cv_prog_cc_c89=no
3594 ac_save_CC=$CC
3595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3596 /* end confdefs.h. */
3597 #include <stdarg.h>
3598 #include <stdio.h>
3599 #include <sys/types.h>
3600 #include <sys/stat.h>
3601 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3602 struct buf { int x; };
3603 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3604 static char *e (p, i)
3605 char **p;
3606 int i;
3608 return p[i];
3610 static char *f (char * (*g) (char **, int), char **p, ...)
3612 char *s;
3613 va_list v;
3614 va_start (v,p);
3615 s = g (p, va_arg (v,int));
3616 va_end (v);
3617 return s;
3620 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3621 function prototypes and stuff, but not '\xHH' hex character constants.
3622 These don't provoke an error unfortunately, instead are silently treated
3623 as 'x'. The following induces an error, until -std is added to get
3624 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3625 array size at least. It's necessary to write '\x00'==0 to get something
3626 that's true only with -std. */
3627 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3629 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3630 inside strings and character constants. */
3631 #define FOO(x) 'x'
3632 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3634 int test (int i, double x);
3635 struct s1 {int (*f) (int a);};
3636 struct s2 {int (*f) (double a);};
3637 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3638 int argc;
3639 char **argv;
3641 main ()
3643 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3645 return 0;
3647 _ACEOF
3648 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3649 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3651 CC="$ac_save_CC $ac_arg"
3652 if ac_fn_c_try_compile "$LINENO"; then :
3653 ac_cv_prog_cc_c89=$ac_arg
3655 rm -f core conftest.err conftest.$ac_objext
3656 test "x$ac_cv_prog_cc_c89" != "xno" && break
3657 done
3658 rm -f conftest.$ac_ext
3659 CC=$ac_save_CC
3662 # AC_CACHE_VAL
3663 case "x$ac_cv_prog_cc_c89" in
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3666 $as_echo "none needed" >&6; } ;;
3667 xno)
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3669 $as_echo "unsupported" >&6; } ;;
3671 CC="$CC $ac_cv_prog_cc_c89"
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3673 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3674 esac
3675 if test "x$ac_cv_prog_cc_c89" != xno; then :
3679 ac_ext=c
3680 ac_cpp='$CPP $CPPFLAGS'
3681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3685 ac_ext=cpp
3686 ac_cpp='$CXXCPP $CPPFLAGS'
3687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3690 if test -z "$CXX"; then
3691 if test -n "$CCC"; then
3692 CXX=$CCC
3693 else
3694 if test -n "$ac_tool_prefix"; then
3695 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3697 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3698 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3700 $as_echo_n "checking for $ac_word... " >&6; }
3701 if test "${ac_cv_prog_CXX+set}" = set; then :
3702 $as_echo_n "(cached) " >&6
3703 else
3704 if test -n "$CXX"; then
3705 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3706 else
3707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3708 for as_dir in $PATH
3710 IFS=$as_save_IFS
3711 test -z "$as_dir" && as_dir=.
3712 for ac_exec_ext in '' $ac_executable_extensions; do
3713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3714 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3716 break 2
3718 done
3719 done
3720 IFS=$as_save_IFS
3724 CXX=$ac_cv_prog_CXX
3725 if test -n "$CXX"; then
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3727 $as_echo "$CXX" >&6; }
3728 else
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3730 $as_echo "no" >&6; }
3734 test -n "$CXX" && break
3735 done
3737 if test -z "$CXX"; then
3738 ac_ct_CXX=$CXX
3739 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3741 # Extract the first word of "$ac_prog", so it can be a program name with args.
3742 set dummy $ac_prog; ac_word=$2
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3744 $as_echo_n "checking for $ac_word... " >&6; }
3745 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3746 $as_echo_n "(cached) " >&6
3747 else
3748 if test -n "$ac_ct_CXX"; then
3749 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3750 else
3751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3752 for as_dir in $PATH
3754 IFS=$as_save_IFS
3755 test -z "$as_dir" && as_dir=.
3756 for ac_exec_ext in '' $ac_executable_extensions; do
3757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3758 ac_cv_prog_ac_ct_CXX="$ac_prog"
3759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3760 break 2
3762 done
3763 done
3764 IFS=$as_save_IFS
3768 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3769 if test -n "$ac_ct_CXX"; then
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3771 $as_echo "$ac_ct_CXX" >&6; }
3772 else
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3774 $as_echo "no" >&6; }
3778 test -n "$ac_ct_CXX" && break
3779 done
3781 if test "x$ac_ct_CXX" = x; then
3782 CXX="g++"
3783 else
3784 case $cross_compiling:$ac_tool_warned in
3785 yes:)
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3787 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3788 ac_tool_warned=yes ;;
3789 esac
3790 CXX=$ac_ct_CXX
3796 # Provide some information about the compiler.
3797 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3798 set X $ac_compile
3799 ac_compiler=$2
3800 for ac_option in --version -v -V -qversion; do
3801 { { ac_try="$ac_compiler $ac_option >&5"
3802 case "(($ac_try" in
3803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3804 *) ac_try_echo=$ac_try;;
3805 esac
3806 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3807 $as_echo "$ac_try_echo"; } >&5
3808 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3809 ac_status=$?
3810 if test -s conftest.err; then
3811 sed '10a\
3812 ... rest of stderr output deleted ...
3813 10q' conftest.err >conftest.er1
3814 cat conftest.er1 >&5
3816 rm -f conftest.er1 conftest.err
3817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3818 test $ac_status = 0; }
3819 done
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3822 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3823 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3824 $as_echo_n "(cached) " >&6
3825 else
3826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3827 /* end confdefs.h. */
3830 main ()
3832 #ifndef __GNUC__
3833 choke me
3834 #endif
3837 return 0;
3839 _ACEOF
3840 if ac_fn_cxx_try_compile "$LINENO"; then :
3841 ac_compiler_gnu=yes
3842 else
3843 ac_compiler_gnu=no
3845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3846 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3850 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3851 if test $ac_compiler_gnu = yes; then
3852 GXX=yes
3853 else
3854 GXX=
3856 ac_test_CXXFLAGS=${CXXFLAGS+set}
3857 ac_save_CXXFLAGS=$CXXFLAGS
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3859 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3860 if test "${ac_cv_prog_cxx_g+set}" = set; then :
3861 $as_echo_n "(cached) " >&6
3862 else
3863 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3864 ac_cxx_werror_flag=yes
3865 ac_cv_prog_cxx_g=no
3866 CXXFLAGS="-g"
3867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3868 /* end confdefs.h. */
3871 main ()
3875 return 0;
3877 _ACEOF
3878 if ac_fn_cxx_try_compile "$LINENO"; then :
3879 ac_cv_prog_cxx_g=yes
3880 else
3881 CXXFLAGS=""
3882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3883 /* end confdefs.h. */
3886 main ()
3890 return 0;
3892 _ACEOF
3893 if ac_fn_cxx_try_compile "$LINENO"; then :
3895 else
3896 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3897 CXXFLAGS="-g"
3898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3899 /* end confdefs.h. */
3902 main ()
3906 return 0;
3908 _ACEOF
3909 if ac_fn_cxx_try_compile "$LINENO"; then :
3910 ac_cv_prog_cxx_g=yes
3912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3917 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3920 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3921 if test "$ac_test_CXXFLAGS" = set; then
3922 CXXFLAGS=$ac_save_CXXFLAGS
3923 elif test $ac_cv_prog_cxx_g = yes; then
3924 if test "$GXX" = yes; then
3925 CXXFLAGS="-g -O2"
3926 else
3927 CXXFLAGS="-g"
3929 else
3930 if test "$GXX" = yes; then
3931 CXXFLAGS="-O2"
3932 else
3933 CXXFLAGS=
3936 ac_ext=c
3937 ac_cpp='$CPP $CPPFLAGS'
3938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3942 if test -n "$ac_tool_prefix"; then
3943 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3944 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3946 $as_echo_n "checking for $ac_word... " >&6; }
3947 if test "${ac_cv_prog_CPPBIN+set}" = set; then :
3948 $as_echo_n "(cached) " >&6
3949 else
3950 if test -n "$CPPBIN"; then
3951 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3952 else
3953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3954 for as_dir in $PATH
3956 IFS=$as_save_IFS
3957 test -z "$as_dir" && as_dir=.
3958 for ac_exec_ext in '' $ac_executable_extensions; do
3959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3960 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3962 break 2
3964 done
3965 done
3966 IFS=$as_save_IFS
3970 CPPBIN=$ac_cv_prog_CPPBIN
3971 if test -n "$CPPBIN"; then
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
3973 $as_echo "$CPPBIN" >&6; }
3974 else
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3976 $as_echo "no" >&6; }
3981 if test -z "$ac_cv_prog_CPPBIN"; then
3982 ac_ct_CPPBIN=$CPPBIN
3983 # Extract the first word of "cpp", so it can be a program name with args.
3984 set dummy cpp; ac_word=$2
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3986 $as_echo_n "checking for $ac_word... " >&6; }
3987 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then :
3988 $as_echo_n "(cached) " >&6
3989 else
3990 if test -n "$ac_ct_CPPBIN"; then
3991 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3992 else
3993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3994 for as_dir in $PATH
3996 IFS=$as_save_IFS
3997 test -z "$as_dir" && as_dir=.
3998 for ac_exec_ext in '' $ac_executable_extensions; do
3999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4000 ac_cv_prog_ac_ct_CPPBIN="cpp"
4001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4002 break 2
4004 done
4005 done
4006 IFS=$as_save_IFS
4010 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4011 if test -n "$ac_ct_CPPBIN"; then
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4013 $as_echo "$ac_ct_CPPBIN" >&6; }
4014 else
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4016 $as_echo "no" >&6; }
4019 if test "x$ac_ct_CPPBIN" = x; then
4020 CPPBIN="cpp"
4021 else
4022 case $cross_compiling:$ac_tool_warned in
4023 yes:)
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4025 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4026 ac_tool_warned=yes ;;
4027 esac
4028 CPPBIN=$ac_ct_CPPBIN
4030 else
4031 CPPBIN="$ac_cv_prog_CPPBIN"
4035 cat >>confdefs.h <<_ACEOF
4036 #define EXEEXT "$ac_exeext"
4037 _ACEOF
4040 case $host in
4041 *-darwin*)
4042 if test "x$enable_win64" = "xyes"
4043 then
4044 CC="$CC -m64"
4045 CXX="$CXX -m64"
4046 LD="${LD:-ld} -arch x86_64"
4047 AS="${AS:-as} -arch x86_64"
4048 host_cpu="x86_64"
4049 notice_platform="64-bit "
4050 TARGETFLAGS="-m64"
4052 else
4053 CC="$CC -m32"
4054 CXX="$CXX -m32"
4055 LD="${LD:-ld} -arch i386"
4056 AS="${AS:-as} -arch i386"
4057 host_cpu="i386"
4058 notice_platform="32-bit "
4059 TARGETFLAGS="-m32"
4061 enable_win16=${enable_win16:-yes}
4064 x86_64*)
4065 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4066 then
4067 CC="$CC -m32"
4068 CXX="$CXX -m32"
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4070 $as_echo_n "checking whether $CC works... " >&6; }
4072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4073 /* end confdefs.h. */
4076 main ()
4080 return 0;
4082 _ACEOF
4083 if ac_fn_c_try_link "$LINENO"; then :
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4085 $as_echo "yes" >&6; }
4086 else
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4088 $as_echo "no" >&6; }
4089 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4091 rm -f core conftest.err conftest.$ac_objext \
4092 conftest$ac_exeext conftest.$ac_ext
4093 LD="${LD:-ld} -m elf_i386"
4094 AS="${AS:-as} --32"
4095 host_cpu="i386"
4096 notice_platform="32-bit "
4097 TARGETFLAGS="-m32"
4099 enable_win16=${enable_win16:-yes}
4100 else
4101 if test "x${GCC}" = "xyes"
4102 then
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4104 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4106 /* end confdefs.h. */
4107 #include <stdarg.h>
4109 main ()
4111 void func(__builtin_ms_va_list *args);
4113 return 0;
4115 _ACEOF
4116 if ac_fn_c_try_compile "$LINENO"; then :
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4118 $as_echo "yes" >&6; }
4119 else
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4121 $as_echo "no" >&6; }
4122 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4126 TARGETFLAGS="-m64"
4130 *-mingw32*|*-cygwin*)
4131 enable_win16=${enable_win16:-no}
4132 CFLAGS="$CFLAGS -D_WIN32"
4134 i[3456789]86*)
4135 enable_win16=${enable_win16:-yes}
4137 esac
4139 enable_win16=${enable_win16:-no}
4141 enable_winetest=${enable_winetest:-$enable_tests}
4143 if test -n "$with_wine64"
4144 then
4145 if test "x$enable_win64" = "xyes"
4146 then
4147 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4148 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4150 WOW64_DISABLE=\#
4152 enable_fonts=${enable_fonts:-no}
4153 enable_server=${enable_server:-no}
4154 enable_tools=${enable_tools:-no}
4155 elif test "x$enable_win64" = "xyes"
4156 then
4157 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4161 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4162 if test "${wine_cv_toolsdir+set}" = set; then :
4163 $as_echo_n "(cached) " >&6
4164 else
4165 wine_cv_toolsdir="$with_wine_tools"
4166 if test -z "$with_wine_tools"; then
4167 if test "$cross_compiling" = "yes"; then
4168 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4169 elif test -n "$with_wine64"; then
4170 wine_cv_toolsdir="$with_wine64"
4173 if test -z "$wine_cv_toolsdir"; then
4174 wine_cv_toolsdir="\$(top_builddir)"
4175 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4176 case "$wine_cv_toolsdir" in
4177 /*) ;;
4178 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4179 esac
4180 else
4181 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4185 $as_echo "$wine_cv_toolsdir" >&6; }
4186 TOOLSDIR=$wine_cv_toolsdir
4188 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4189 then
4190 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4194 for ac_prog in flex
4196 # Extract the first word of "$ac_prog", so it can be a program name with args.
4197 set dummy $ac_prog; ac_word=$2
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4199 $as_echo_n "checking for $ac_word... " >&6; }
4200 if test "${ac_cv_prog_FLEX+set}" = set; then :
4201 $as_echo_n "(cached) " >&6
4202 else
4203 if test -n "$FLEX"; then
4204 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4205 else
4206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4207 for as_dir in $PATH
4209 IFS=$as_save_IFS
4210 test -z "$as_dir" && as_dir=.
4211 for ac_exec_ext in '' $ac_executable_extensions; do
4212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4213 ac_cv_prog_FLEX="$ac_prog"
4214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4215 break 2
4217 done
4218 done
4219 IFS=$as_save_IFS
4223 FLEX=$ac_cv_prog_FLEX
4224 if test -n "$FLEX"; then
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4226 $as_echo "$FLEX" >&6; }
4227 else
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4229 $as_echo "no" >&6; }
4233 test -n "$FLEX" && break
4234 done
4235 test -n "$FLEX" || FLEX="none"
4237 if test "$FLEX" = "none"
4238 then
4239 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4242 $as_echo_n "checking whether flex is recent enough... " >&6; }
4243 cat >conftest.l <<EOF
4244 %top{
4245 #include "prediluvian.h"
4249 if $FLEX -t conftest.l >/dev/null 2>&5
4250 then
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4252 $as_echo "yes" >&6; }
4253 else
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4255 $as_echo "no" >&6; }
4256 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4259 for ac_prog in bison
4261 # Extract the first word of "$ac_prog", so it can be a program name with args.
4262 set dummy $ac_prog; ac_word=$2
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4264 $as_echo_n "checking for $ac_word... " >&6; }
4265 if test "${ac_cv_prog_BISON+set}" = set; then :
4266 $as_echo_n "(cached) " >&6
4267 else
4268 if test -n "$BISON"; then
4269 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4270 else
4271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4272 for as_dir in $PATH
4274 IFS=$as_save_IFS
4275 test -z "$as_dir" && as_dir=.
4276 for ac_exec_ext in '' $ac_executable_extensions; do
4277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4278 ac_cv_prog_BISON="$ac_prog"
4279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4280 break 2
4282 done
4283 done
4284 IFS=$as_save_IFS
4288 BISON=$ac_cv_prog_BISON
4289 if test -n "$BISON"; then
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4291 $as_echo "$BISON" >&6; }
4292 else
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4294 $as_echo "no" >&6; }
4298 test -n "$BISON" && break
4299 done
4300 test -n "$BISON" || BISON="none"
4302 if test "$BISON" = "none"
4303 then
4304 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4307 if test -n "$ac_tool_prefix"; then
4308 for ac_prog in ar gar
4310 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4311 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4313 $as_echo_n "checking for $ac_word... " >&6; }
4314 if test "${ac_cv_prog_AR+set}" = set; then :
4315 $as_echo_n "(cached) " >&6
4316 else
4317 if test -n "$AR"; then
4318 ac_cv_prog_AR="$AR" # Let the user override the test.
4319 else
4320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4321 for as_dir in $PATH
4323 IFS=$as_save_IFS
4324 test -z "$as_dir" && as_dir=.
4325 for ac_exec_ext in '' $ac_executable_extensions; do
4326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4327 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4329 break 2
4331 done
4332 done
4333 IFS=$as_save_IFS
4337 AR=$ac_cv_prog_AR
4338 if test -n "$AR"; then
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4340 $as_echo "$AR" >&6; }
4341 else
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4343 $as_echo "no" >&6; }
4347 test -n "$AR" && break
4348 done
4350 if test -z "$AR"; then
4351 ac_ct_AR=$AR
4352 for ac_prog in ar gar
4354 # Extract the first word of "$ac_prog", so it can be a program name with args.
4355 set dummy $ac_prog; ac_word=$2
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4357 $as_echo_n "checking for $ac_word... " >&6; }
4358 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4359 $as_echo_n "(cached) " >&6
4360 else
4361 if test -n "$ac_ct_AR"; then
4362 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4363 else
4364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4365 for as_dir in $PATH
4367 IFS=$as_save_IFS
4368 test -z "$as_dir" && as_dir=.
4369 for ac_exec_ext in '' $ac_executable_extensions; do
4370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4371 ac_cv_prog_ac_ct_AR="$ac_prog"
4372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4373 break 2
4375 done
4376 done
4377 IFS=$as_save_IFS
4381 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4382 if test -n "$ac_ct_AR"; then
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4384 $as_echo "$ac_ct_AR" >&6; }
4385 else
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4387 $as_echo "no" >&6; }
4391 test -n "$ac_ct_AR" && break
4392 done
4394 if test "x$ac_ct_AR" = x; then
4395 AR="ar"
4396 else
4397 case $cross_compiling:$ac_tool_warned in
4398 yes:)
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4400 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4401 ac_tool_warned=yes ;;
4402 esac
4403 AR=$ac_ct_AR
4407 ARFLAGS=rc
4409 if test -n "$ac_tool_prefix"; then
4410 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4411 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4413 $as_echo_n "checking for $ac_word... " >&6; }
4414 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4415 $as_echo_n "(cached) " >&6
4416 else
4417 if test -n "$RANLIB"; then
4418 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4419 else
4420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4421 for as_dir in $PATH
4423 IFS=$as_save_IFS
4424 test -z "$as_dir" && as_dir=.
4425 for ac_exec_ext in '' $ac_executable_extensions; do
4426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4427 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4429 break 2
4431 done
4432 done
4433 IFS=$as_save_IFS
4437 RANLIB=$ac_cv_prog_RANLIB
4438 if test -n "$RANLIB"; then
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4440 $as_echo "$RANLIB" >&6; }
4441 else
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4443 $as_echo "no" >&6; }
4448 if test -z "$ac_cv_prog_RANLIB"; then
4449 ac_ct_RANLIB=$RANLIB
4450 # Extract the first word of "ranlib", so it can be a program name with args.
4451 set dummy ranlib; ac_word=$2
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4453 $as_echo_n "checking for $ac_word... " >&6; }
4454 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4455 $as_echo_n "(cached) " >&6
4456 else
4457 if test -n "$ac_ct_RANLIB"; then
4458 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4459 else
4460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4461 for as_dir in $PATH
4463 IFS=$as_save_IFS
4464 test -z "$as_dir" && as_dir=.
4465 for ac_exec_ext in '' $ac_executable_extensions; do
4466 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4467 ac_cv_prog_ac_ct_RANLIB="ranlib"
4468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4469 break 2
4471 done
4472 done
4473 IFS=$as_save_IFS
4477 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4478 if test -n "$ac_ct_RANLIB"; then
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4480 $as_echo "$ac_ct_RANLIB" >&6; }
4481 else
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4483 $as_echo "no" >&6; }
4486 if test "x$ac_ct_RANLIB" = x; then
4487 RANLIB=":"
4488 else
4489 case $cross_compiling:$ac_tool_warned in
4490 yes:)
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4492 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4493 ac_tool_warned=yes ;;
4494 esac
4495 RANLIB=$ac_ct_RANLIB
4497 else
4498 RANLIB="$ac_cv_prog_RANLIB"
4501 if test -n "$ac_tool_prefix"; then
4502 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4503 set dummy ${ac_tool_prefix}strip; ac_word=$2
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4505 $as_echo_n "checking for $ac_word... " >&6; }
4506 if test "${ac_cv_prog_STRIP+set}" = set; then :
4507 $as_echo_n "(cached) " >&6
4508 else
4509 if test -n "$STRIP"; then
4510 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4511 else
4512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4513 for as_dir in $PATH
4515 IFS=$as_save_IFS
4516 test -z "$as_dir" && as_dir=.
4517 for ac_exec_ext in '' $ac_executable_extensions; do
4518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4519 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4521 break 2
4523 done
4524 done
4525 IFS=$as_save_IFS
4529 STRIP=$ac_cv_prog_STRIP
4530 if test -n "$STRIP"; then
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4532 $as_echo "$STRIP" >&6; }
4533 else
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4535 $as_echo "no" >&6; }
4540 if test -z "$ac_cv_prog_STRIP"; then
4541 ac_ct_STRIP=$STRIP
4542 # Extract the first word of "strip", so it can be a program name with args.
4543 set dummy strip; ac_word=$2
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4545 $as_echo_n "checking for $ac_word... " >&6; }
4546 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4547 $as_echo_n "(cached) " >&6
4548 else
4549 if test -n "$ac_ct_STRIP"; then
4550 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4551 else
4552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4553 for as_dir in $PATH
4555 IFS=$as_save_IFS
4556 test -z "$as_dir" && as_dir=.
4557 for ac_exec_ext in '' $ac_executable_extensions; do
4558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4559 ac_cv_prog_ac_ct_STRIP="strip"
4560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4561 break 2
4563 done
4564 done
4565 IFS=$as_save_IFS
4569 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4570 if test -n "$ac_ct_STRIP"; then
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4572 $as_echo "$ac_ct_STRIP" >&6; }
4573 else
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4575 $as_echo "no" >&6; }
4578 if test "x$ac_ct_STRIP" = x; then
4579 STRIP="strip"
4580 else
4581 case $cross_compiling:$ac_tool_warned in
4582 yes:)
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4584 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4585 ac_tool_warned=yes ;;
4586 esac
4587 STRIP=$ac_ct_STRIP
4589 else
4590 STRIP="$ac_cv_prog_STRIP"
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4594 $as_echo_n "checking whether ln -s works... " >&6; }
4595 LN_S=$as_ln_s
4596 if test "$LN_S" = "ln -s"; then
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4598 $as_echo "yes" >&6; }
4599 else
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4601 $as_echo "no, using $LN_S" >&6; }
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4605 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4606 if test "${ac_cv_path_GREP+set}" = set; then :
4607 $as_echo_n "(cached) " >&6
4608 else
4609 if test -z "$GREP"; then
4610 ac_path_GREP_found=false
4611 # Loop through the user's path and test for each of PROGNAME-LIST
4612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4613 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4615 IFS=$as_save_IFS
4616 test -z "$as_dir" && as_dir=.
4617 for ac_prog in grep ggrep; do
4618 for ac_exec_ext in '' $ac_executable_extensions; do
4619 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4620 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4621 # Check for GNU ac_path_GREP and select it if it is found.
4622 # Check for GNU $ac_path_GREP
4623 case `"$ac_path_GREP" --version 2>&1` in
4624 *GNU*)
4625 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4627 ac_count=0
4628 $as_echo_n 0123456789 >"conftest.in"
4629 while :
4631 cat "conftest.in" "conftest.in" >"conftest.tmp"
4632 mv "conftest.tmp" "conftest.in"
4633 cp "conftest.in" "conftest.nl"
4634 $as_echo 'GREP' >> "conftest.nl"
4635 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4636 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4637 as_fn_arith $ac_count + 1 && ac_count=$as_val
4638 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4639 # Best one so far, save it but keep looking for a better one
4640 ac_cv_path_GREP="$ac_path_GREP"
4641 ac_path_GREP_max=$ac_count
4643 # 10*(2^10) chars as input seems more than enough
4644 test $ac_count -gt 10 && break
4645 done
4646 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4647 esac
4649 $ac_path_GREP_found && break 3
4650 done
4651 done
4652 done
4653 IFS=$as_save_IFS
4654 if test -z "$ac_cv_path_GREP"; then
4655 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4657 else
4658 ac_cv_path_GREP=$GREP
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4663 $as_echo "$ac_cv_path_GREP" >&6; }
4664 GREP="$ac_cv_path_GREP"
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4668 $as_echo_n "checking for egrep... " >&6; }
4669 if test "${ac_cv_path_EGREP+set}" = set; then :
4670 $as_echo_n "(cached) " >&6
4671 else
4672 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4673 then ac_cv_path_EGREP="$GREP -E"
4674 else
4675 if test -z "$EGREP"; then
4676 ac_path_EGREP_found=false
4677 # Loop through the user's path and test for each of PROGNAME-LIST
4678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4679 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4681 IFS=$as_save_IFS
4682 test -z "$as_dir" && as_dir=.
4683 for ac_prog in egrep; do
4684 for ac_exec_ext in '' $ac_executable_extensions; do
4685 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4686 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4687 # Check for GNU ac_path_EGREP and select it if it is found.
4688 # Check for GNU $ac_path_EGREP
4689 case `"$ac_path_EGREP" --version 2>&1` in
4690 *GNU*)
4691 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4693 ac_count=0
4694 $as_echo_n 0123456789 >"conftest.in"
4695 while :
4697 cat "conftest.in" "conftest.in" >"conftest.tmp"
4698 mv "conftest.tmp" "conftest.in"
4699 cp "conftest.in" "conftest.nl"
4700 $as_echo 'EGREP' >> "conftest.nl"
4701 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4702 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4703 as_fn_arith $ac_count + 1 && ac_count=$as_val
4704 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4705 # Best one so far, save it but keep looking for a better one
4706 ac_cv_path_EGREP="$ac_path_EGREP"
4707 ac_path_EGREP_max=$ac_count
4709 # 10*(2^10) chars as input seems more than enough
4710 test $ac_count -gt 10 && break
4711 done
4712 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4713 esac
4715 $ac_path_EGREP_found && break 3
4716 done
4717 done
4718 done
4719 IFS=$as_save_IFS
4720 if test -z "$ac_cv_path_EGREP"; then
4721 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4723 else
4724 ac_cv_path_EGREP=$EGREP
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4730 $as_echo "$ac_cv_path_EGREP" >&6; }
4731 EGREP="$ac_cv_path_EGREP"
4734 # Extract the first word of "ldconfig", so it can be a program name with args.
4735 set dummy ldconfig; ac_word=$2
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4737 $as_echo_n "checking for $ac_word... " >&6; }
4738 if test "${ac_cv_path_LDCONFIG+set}" = set; then :
4739 $as_echo_n "(cached) " >&6
4740 else
4741 case $LDCONFIG in
4742 [\\/]* | ?:[\\/]*)
4743 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
4746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4747 for as_dir in /sbin /usr/sbin $PATH
4749 IFS=$as_save_IFS
4750 test -z "$as_dir" && as_dir=.
4751 for ac_exec_ext in '' $ac_executable_extensions; do
4752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4753 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
4754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4755 break 2
4757 done
4758 done
4759 IFS=$as_save_IFS
4761 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
4763 esac
4765 LDCONFIG=$ac_cv_path_LDCONFIG
4766 if test -n "$LDCONFIG"; then
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
4768 $as_echo "$LDCONFIG" >&6; }
4769 else
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4771 $as_echo "no" >&6; }
4775 # Find a good install program. We prefer a C program (faster),
4776 # so one script is as good as another. But avoid the broken or
4777 # incompatible versions:
4778 # SysV /etc/install, /usr/sbin/install
4779 # SunOS /usr/etc/install
4780 # IRIX /sbin/install
4781 # AIX /bin/install
4782 # AmigaOS /C/install, which installs bootblocks on floppy discs
4783 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4784 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4785 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4786 # OS/2's system install, which has a completely different semantic
4787 # ./install, which can be erroneously created by make from ./install.sh.
4788 # Reject install programs that cannot install multiple files.
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4790 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4791 if test -z "$INSTALL"; then
4792 if test "${ac_cv_path_install+set}" = set; then :
4793 $as_echo_n "(cached) " >&6
4794 else
4795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4796 for as_dir in $PATH
4798 IFS=$as_save_IFS
4799 test -z "$as_dir" && as_dir=.
4800 # Account for people who put trailing slashes in PATH elements.
4801 case $as_dir/ in #((
4802 ./ | .// | /[cC]/* | \
4803 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4804 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4805 /usr/ucb/* ) ;;
4807 # OSF1 and SCO ODT 3.0 have their own names for install.
4808 # Don't use installbsd from OSF since it installs stuff as root
4809 # by default.
4810 for ac_prog in ginstall scoinst install; do
4811 for ac_exec_ext in '' $ac_executable_extensions; do
4812 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4813 if test $ac_prog = install &&
4814 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4815 # AIX install. It has an incompatible calling convention.
4817 elif test $ac_prog = install &&
4818 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4819 # program-specific install script used by HP pwplus--don't use.
4821 else
4822 rm -rf conftest.one conftest.two conftest.dir
4823 echo one > conftest.one
4824 echo two > conftest.two
4825 mkdir conftest.dir
4826 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4827 test -s conftest.one && test -s conftest.two &&
4828 test -s conftest.dir/conftest.one &&
4829 test -s conftest.dir/conftest.two
4830 then
4831 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4832 break 3
4836 done
4837 done
4839 esac
4841 done
4842 IFS=$as_save_IFS
4844 rm -rf conftest.one conftest.two conftest.dir
4847 if test "${ac_cv_path_install+set}" = set; then
4848 INSTALL=$ac_cv_path_install
4849 else
4850 # As a last resort, use the slow shell script. Don't cache a
4851 # value for INSTALL within a source directory, because that will
4852 # break other packages using the cache if that directory is
4853 # removed, or if the value is a relative name.
4854 INSTALL=$ac_install_sh
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4858 $as_echo "$INSTALL" >&6; }
4860 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4861 # It thinks the first close brace ends the variable substitution.
4862 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4864 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4866 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4868 case "$INSTALL" in
4869 [\\/$]* | ?:[\\/]* ) ;;
4870 *) INSTALL="\\\$(top_srcdir)/$INSTALL" ;;
4871 esac
4873 for ac_prog in lclint lint
4875 # Extract the first word of "$ac_prog", so it can be a program name with args.
4876 set dummy $ac_prog; ac_word=$2
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4878 $as_echo_n "checking for $ac_word... " >&6; }
4879 if test "${ac_cv_prog_LINT+set}" = set; then :
4880 $as_echo_n "(cached) " >&6
4881 else
4882 if test -n "$LINT"; then
4883 ac_cv_prog_LINT="$LINT" # Let the user override the test.
4884 else
4885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4886 for as_dir in $PATH
4888 IFS=$as_save_IFS
4889 test -z "$as_dir" && as_dir=.
4890 for ac_exec_ext in '' $ac_executable_extensions; do
4891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4892 ac_cv_prog_LINT="$ac_prog"
4893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4894 break 2
4896 done
4897 done
4898 IFS=$as_save_IFS
4902 LINT=$ac_cv_prog_LINT
4903 if test -n "$LINT"; then
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
4905 $as_echo "$LINT" >&6; }
4906 else
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4908 $as_echo "no" >&6; }
4912 test -n "$LINT" && break
4913 done
4915 if test "$LINT" = "lint"
4916 then
4917 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4922 for ac_prog in fontforge
4924 # Extract the first word of "$ac_prog", so it can be a program name with args.
4925 set dummy $ac_prog; ac_word=$2
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4927 $as_echo_n "checking for $ac_word... " >&6; }
4928 if test "${ac_cv_prog_FONTFORGE+set}" = set; then :
4929 $as_echo_n "(cached) " >&6
4930 else
4931 if test -n "$FONTFORGE"; then
4932 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
4933 else
4934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4935 for as_dir in $PATH
4937 IFS=$as_save_IFS
4938 test -z "$as_dir" && as_dir=.
4939 for ac_exec_ext in '' $ac_executable_extensions; do
4940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4941 ac_cv_prog_FONTFORGE="$ac_prog"
4942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4943 break 2
4945 done
4946 done
4947 IFS=$as_save_IFS
4951 FONTFORGE=$ac_cv_prog_FONTFORGE
4952 if test -n "$FONTFORGE"; then
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
4954 $as_echo "$FONTFORGE" >&6; }
4955 else
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4957 $as_echo "no" >&6; }
4961 test -n "$FONTFORGE" && break
4962 done
4963 test -n "$FONTFORGE" || FONTFORGE="false"
4965 for ac_prog in pkg-config
4967 # Extract the first word of "$ac_prog", so it can be a program name with args.
4968 set dummy $ac_prog; ac_word=$2
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4970 $as_echo_n "checking for $ac_word... " >&6; }
4971 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then :
4972 $as_echo_n "(cached) " >&6
4973 else
4974 if test -n "$PKG_CONFIG"; then
4975 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
4976 else
4977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4978 for as_dir in $PATH
4980 IFS=$as_save_IFS
4981 test -z "$as_dir" && as_dir=.
4982 for ac_exec_ext in '' $ac_executable_extensions; do
4983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4984 ac_cv_prog_PKG_CONFIG="$ac_prog"
4985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4986 break 2
4988 done
4989 done
4990 IFS=$as_save_IFS
4994 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
4995 if test -n "$PKG_CONFIG"; then
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4997 $as_echo "$PKG_CONFIG" >&6; }
4998 else
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5000 $as_echo "no" >&6; }
5004 test -n "$PKG_CONFIG" && break
5005 done
5006 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
5008 for ac_prog in rsvg
5010 # Extract the first word of "$ac_prog", so it can be a program name with args.
5011 set dummy $ac_prog; ac_word=$2
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5013 $as_echo_n "checking for $ac_word... " >&6; }
5014 if test "${ac_cv_prog_RSVG+set}" = set; then :
5015 $as_echo_n "(cached) " >&6
5016 else
5017 if test -n "$RSVG"; then
5018 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5019 else
5020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5021 for as_dir in $PATH
5023 IFS=$as_save_IFS
5024 test -z "$as_dir" && as_dir=.
5025 for ac_exec_ext in '' $ac_executable_extensions; do
5026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5027 ac_cv_prog_RSVG="$ac_prog"
5028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5029 break 2
5031 done
5032 done
5033 IFS=$as_save_IFS
5037 RSVG=$ac_cv_prog_RSVG
5038 if test -n "$RSVG"; then
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5040 $as_echo "$RSVG" >&6; }
5041 else
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5043 $as_echo "no" >&6; }
5047 test -n "$RSVG" && break
5048 done
5049 test -n "$RSVG" || RSVG="false"
5051 for ac_prog in convert
5053 # Extract the first word of "$ac_prog", so it can be a program name with args.
5054 set dummy $ac_prog; ac_word=$2
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5056 $as_echo_n "checking for $ac_word... " >&6; }
5057 if test "${ac_cv_prog_CONVERT+set}" = set; then :
5058 $as_echo_n "(cached) " >&6
5059 else
5060 if test -n "$CONVERT"; then
5061 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5062 else
5063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5064 for as_dir in $PATH
5066 IFS=$as_save_IFS
5067 test -z "$as_dir" && as_dir=.
5068 for ac_exec_ext in '' $ac_executable_extensions; do
5069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5070 ac_cv_prog_CONVERT="$ac_prog"
5071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5072 break 2
5074 done
5075 done
5076 IFS=$as_save_IFS
5080 CONVERT=$ac_cv_prog_CONVERT
5081 if test -n "$CONVERT"; then
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5083 $as_echo "$CONVERT" >&6; }
5084 else
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5086 $as_echo "no" >&6; }
5090 test -n "$CONVERT" && break
5091 done
5092 test -n "$CONVERT" || CONVERT="false"
5094 for ac_prog in icotool
5096 # Extract the first word of "$ac_prog", so it can be a program name with args.
5097 set dummy $ac_prog; ac_word=$2
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5099 $as_echo_n "checking for $ac_word... " >&6; }
5100 if test "${ac_cv_prog_ICOTOOL+set}" = set; then :
5101 $as_echo_n "(cached) " >&6
5102 else
5103 if test -n "$ICOTOOL"; then
5104 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5105 else
5106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5107 for as_dir in $PATH
5109 IFS=$as_save_IFS
5110 test -z "$as_dir" && as_dir=.
5111 for ac_exec_ext in '' $ac_executable_extensions; do
5112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5113 ac_cv_prog_ICOTOOL="$ac_prog"
5114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5115 break 2
5117 done
5118 done
5119 IFS=$as_save_IFS
5123 ICOTOOL=$ac_cv_prog_ICOTOOL
5124 if test -n "$ICOTOOL"; then
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5126 $as_echo "$ICOTOOL" >&6; }
5127 else
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5129 $as_echo "no" >&6; }
5133 test -n "$ICOTOOL" && break
5134 done
5135 test -n "$ICOTOOL" || ICOTOOL="false"
5138 if test "x$enable_maintainer_mode" != "xyes"
5139 then
5140 MAINTAINER_MODE=\#
5142 else
5143 if test "$FONTFORGE" = "false"; then as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5 ; fi
5144 if test "$RSVG" = "false"; then as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5 ; fi
5146 if test "$CONVERT" = false
5147 then
5148 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5149 else
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5151 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5152 convert_version=`convert --version | head -n1`
5153 if test "x$convert_version" != "x"
5154 then
5155 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5156 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5157 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5158 then
5159 CONVERT=false
5162 if test "$CONVERT" = false
5163 then
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5165 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5166 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5167 else
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5169 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5173 if test "$ICOTOOL" = false
5174 then
5175 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5176 else
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5178 $as_echo_n "checking for recent enough icotool... " >&6; }
5179 icotool_version=`icotool --version | head -n1`
5180 if test "x$icotool_version" != "x"
5181 then
5182 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5183 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5184 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5185 then
5186 ICOTOOL=false
5187 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5190 if test "$ICOTOOL" = false
5191 then
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5193 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5194 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5195 else
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5197 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5205 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5206 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then :
5207 $as_echo_n "(cached) " >&6
5208 else
5209 ac_check_lib_save_LIBS=$LIBS
5210 LIBS="-li386 $LIBS"
5211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5212 /* end confdefs.h. */
5214 /* Override any GCC internal prototype to avoid an error.
5215 Use char because int might match the return type of a GCC
5216 builtin and then its argument prototype would still apply. */
5217 #ifdef __cplusplus
5218 extern "C"
5219 #endif
5220 char i386_set_ldt ();
5222 main ()
5224 return i386_set_ldt ();
5226 return 0;
5228 _ACEOF
5229 if ac_fn_c_try_link "$LINENO"; then :
5230 ac_cv_lib_i386_i386_set_ldt=yes
5231 else
5232 ac_cv_lib_i386_i386_set_ldt=no
5234 rm -f core conftest.err conftest.$ac_objext \
5235 conftest$ac_exeext conftest.$ac_ext
5236 LIBS=$ac_check_lib_save_LIBS
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5239 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5240 if test "x$ac_cv_lib_i386_i386_set_ldt" = x""yes; then :
5241 cat >>confdefs.h <<_ACEOF
5242 #define HAVE_LIBI386 1
5243 _ACEOF
5245 LIBS="-li386 $LIBS"
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5250 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5251 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then :
5252 $as_echo_n "(cached) " >&6
5253 else
5254 ac_check_lib_save_LIBS=$LIBS
5255 LIBS="-lossaudio $LIBS"
5256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5257 /* end confdefs.h. */
5259 /* Override any GCC internal prototype to avoid an error.
5260 Use char because int might match the return type of a GCC
5261 builtin and then its argument prototype would still apply. */
5262 #ifdef __cplusplus
5263 extern "C"
5264 #endif
5265 char _oss_ioctl ();
5267 main ()
5269 return _oss_ioctl ();
5271 return 0;
5273 _ACEOF
5274 if ac_fn_c_try_link "$LINENO"; then :
5275 ac_cv_lib_ossaudio__oss_ioctl=yes
5276 else
5277 ac_cv_lib_ossaudio__oss_ioctl=no
5279 rm -f core conftest.err conftest.$ac_objext \
5280 conftest$ac_exeext conftest.$ac_ext
5281 LIBS=$ac_check_lib_save_LIBS
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5284 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5285 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = x""yes; then :
5286 cat >>confdefs.h <<_ACEOF
5287 #define HAVE_LIBOSSAUDIO 1
5288 _ACEOF
5290 LIBS="-lossaudio $LIBS"
5295 XLIB=""
5297 OPENGL_LIBS=""
5301 # Check whether --enable-largefile was given.
5302 if test "${enable_largefile+set}" = set; then :
5303 enableval=$enable_largefile;
5306 if test "$enable_largefile" != no; then
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5309 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5310 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
5311 $as_echo_n "(cached) " >&6
5312 else
5313 ac_cv_sys_largefile_CC=no
5314 if test "$GCC" != yes; then
5315 ac_save_CC=$CC
5316 while :; do
5317 # IRIX 6.2 and later do not support large files by default,
5318 # so use the C compiler's -n32 option if that helps.
5319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5320 /* end confdefs.h. */
5321 #include <sys/types.h>
5322 /* Check that off_t can represent 2**63 - 1 correctly.
5323 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5324 since some C++ compilers masquerading as C compilers
5325 incorrectly reject 9223372036854775807. */
5326 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5327 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5328 && LARGE_OFF_T % 2147483647 == 1)
5329 ? 1 : -1];
5331 main ()
5335 return 0;
5337 _ACEOF
5338 if ac_fn_c_try_compile "$LINENO"; then :
5339 break
5341 rm -f core conftest.err conftest.$ac_objext
5342 CC="$CC -n32"
5343 if ac_fn_c_try_compile "$LINENO"; then :
5344 ac_cv_sys_largefile_CC=' -n32'; break
5346 rm -f core conftest.err conftest.$ac_objext
5347 break
5348 done
5349 CC=$ac_save_CC
5350 rm -f conftest.$ac_ext
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5354 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5355 if test "$ac_cv_sys_largefile_CC" != no; then
5356 CC=$CC$ac_cv_sys_largefile_CC
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5360 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5361 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
5362 $as_echo_n "(cached) " >&6
5363 else
5364 while :; do
5365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5366 /* end confdefs.h. */
5367 #include <sys/types.h>
5368 /* Check that off_t can represent 2**63 - 1 correctly.
5369 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5370 since some C++ compilers masquerading as C compilers
5371 incorrectly reject 9223372036854775807. */
5372 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5373 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5374 && LARGE_OFF_T % 2147483647 == 1)
5375 ? 1 : -1];
5377 main ()
5381 return 0;
5383 _ACEOF
5384 if ac_fn_c_try_compile "$LINENO"; then :
5385 ac_cv_sys_file_offset_bits=no; break
5387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5389 /* end confdefs.h. */
5390 #define _FILE_OFFSET_BITS 64
5391 #include <sys/types.h>
5392 /* Check that off_t can represent 2**63 - 1 correctly.
5393 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5394 since some C++ compilers masquerading as C compilers
5395 incorrectly reject 9223372036854775807. */
5396 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5397 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5398 && LARGE_OFF_T % 2147483647 == 1)
5399 ? 1 : -1];
5401 main ()
5405 return 0;
5407 _ACEOF
5408 if ac_fn_c_try_compile "$LINENO"; then :
5409 ac_cv_sys_file_offset_bits=64; break
5411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5412 ac_cv_sys_file_offset_bits=unknown
5413 break
5414 done
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5417 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5418 case $ac_cv_sys_file_offset_bits in #(
5419 no | unknown) ;;
5421 cat >>confdefs.h <<_ACEOF
5422 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5423 _ACEOF
5425 esac
5426 rm -rf conftest*
5427 if test $ac_cv_sys_file_offset_bits = unknown; then
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5429 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5430 if test "${ac_cv_sys_large_files+set}" = set; then :
5431 $as_echo_n "(cached) " >&6
5432 else
5433 while :; do
5434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5435 /* end confdefs.h. */
5436 #include <sys/types.h>
5437 /* Check that off_t can represent 2**63 - 1 correctly.
5438 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5439 since some C++ compilers masquerading as C compilers
5440 incorrectly reject 9223372036854775807. */
5441 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5442 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5443 && LARGE_OFF_T % 2147483647 == 1)
5444 ? 1 : -1];
5446 main ()
5450 return 0;
5452 _ACEOF
5453 if ac_fn_c_try_compile "$LINENO"; then :
5454 ac_cv_sys_large_files=no; break
5456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5458 /* end confdefs.h. */
5459 #define _LARGE_FILES 1
5460 #include <sys/types.h>
5461 /* Check that off_t can represent 2**63 - 1 correctly.
5462 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5463 since some C++ compilers masquerading as C compilers
5464 incorrectly reject 9223372036854775807. */
5465 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5466 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5467 && LARGE_OFF_T % 2147483647 == 1)
5468 ? 1 : -1];
5470 main ()
5474 return 0;
5476 _ACEOF
5477 if ac_fn_c_try_compile "$LINENO"; then :
5478 ac_cv_sys_large_files=1; break
5480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5481 ac_cv_sys_large_files=unknown
5482 break
5483 done
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5486 $as_echo "$ac_cv_sys_large_files" >&6; }
5487 case $ac_cv_sys_large_files in #(
5488 no | unknown) ;;
5490 cat >>confdefs.h <<_ACEOF
5491 #define _LARGE_FILES $ac_cv_sys_large_files
5492 _ACEOF
5494 esac
5495 rm -rf conftest*
5500 ac_ext=c
5501 ac_cpp='$CPP $CPPFLAGS'
5502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5506 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5507 # On Suns, sometimes $CPP names a directory.
5508 if test -n "$CPP" && test -d "$CPP"; then
5509 CPP=
5511 if test -z "$CPP"; then
5512 if test "${ac_cv_prog_CPP+set}" = set; then :
5513 $as_echo_n "(cached) " >&6
5514 else
5515 # Double quotes because CPP needs to be expanded
5516 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5518 ac_preproc_ok=false
5519 for ac_c_preproc_warn_flag in '' yes
5521 # Use a header file that comes with gcc, so configuring glibc
5522 # with a fresh cross-compiler works.
5523 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5524 # <limits.h> exists even on freestanding compilers.
5525 # On the NeXT, cc -E runs the code through the compiler's parser,
5526 # not just through cpp. "Syntax error" is here to catch this case.
5527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5528 /* end confdefs.h. */
5529 #ifdef __STDC__
5530 # include <limits.h>
5531 #else
5532 # include <assert.h>
5533 #endif
5534 Syntax error
5535 _ACEOF
5536 if ac_fn_c_try_cpp "$LINENO"; then :
5538 else
5539 # Broken: fails on valid input.
5540 continue
5542 rm -f conftest.err conftest.i conftest.$ac_ext
5544 # OK, works on sane cases. Now check whether nonexistent headers
5545 # can be detected and how.
5546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5547 /* end confdefs.h. */
5548 #include <ac_nonexistent.h>
5549 _ACEOF
5550 if ac_fn_c_try_cpp "$LINENO"; then :
5551 # Broken: success on invalid input.
5552 continue
5553 else
5554 # Passes both tests.
5555 ac_preproc_ok=:
5556 break
5558 rm -f conftest.err conftest.i conftest.$ac_ext
5560 done
5561 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5562 rm -f conftest.i conftest.err conftest.$ac_ext
5563 if $ac_preproc_ok; then :
5564 break
5567 done
5568 ac_cv_prog_CPP=$CPP
5571 CPP=$ac_cv_prog_CPP
5572 else
5573 ac_cv_prog_CPP=$CPP
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5576 $as_echo "$CPP" >&6; }
5577 ac_preproc_ok=false
5578 for ac_c_preproc_warn_flag in '' yes
5580 # Use a header file that comes with gcc, so configuring glibc
5581 # with a fresh cross-compiler works.
5582 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5583 # <limits.h> exists even on freestanding compilers.
5584 # On the NeXT, cc -E runs the code through the compiler's parser,
5585 # not just through cpp. "Syntax error" is here to catch this case.
5586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5587 /* end confdefs.h. */
5588 #ifdef __STDC__
5589 # include <limits.h>
5590 #else
5591 # include <assert.h>
5592 #endif
5593 Syntax error
5594 _ACEOF
5595 if ac_fn_c_try_cpp "$LINENO"; then :
5597 else
5598 # Broken: fails on valid input.
5599 continue
5601 rm -f conftest.err conftest.i conftest.$ac_ext
5603 # OK, works on sane cases. Now check whether nonexistent headers
5604 # can be detected and how.
5605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5606 /* end confdefs.h. */
5607 #include <ac_nonexistent.h>
5608 _ACEOF
5609 if ac_fn_c_try_cpp "$LINENO"; then :
5610 # Broken: success on invalid input.
5611 continue
5612 else
5613 # Passes both tests.
5614 ac_preproc_ok=:
5615 break
5617 rm -f conftest.err conftest.i conftest.$ac_ext
5619 done
5620 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5621 rm -f conftest.i conftest.err conftest.$ac_ext
5622 if $ac_preproc_ok; then :
5624 else
5625 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5626 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5627 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5628 See \`config.log' for more details" "$LINENO" 5 ; }
5631 ac_ext=c
5632 ac_cpp='$CPP $CPPFLAGS'
5633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5639 $as_echo_n "checking for ANSI C header files... " >&6; }
5640 if test "${ac_cv_header_stdc+set}" = set; then :
5641 $as_echo_n "(cached) " >&6
5642 else
5643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5644 /* end confdefs.h. */
5645 #include <stdlib.h>
5646 #include <stdarg.h>
5647 #include <string.h>
5648 #include <float.h>
5651 main ()
5655 return 0;
5657 _ACEOF
5658 if ac_fn_c_try_compile "$LINENO"; then :
5659 ac_cv_header_stdc=yes
5660 else
5661 ac_cv_header_stdc=no
5663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5665 if test $ac_cv_header_stdc = yes; then
5666 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5668 /* end confdefs.h. */
5669 #include <string.h>
5671 _ACEOF
5672 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5673 $EGREP "memchr" >/dev/null 2>&1; then :
5675 else
5676 ac_cv_header_stdc=no
5678 rm -f conftest*
5682 if test $ac_cv_header_stdc = yes; then
5683 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5685 /* end confdefs.h. */
5686 #include <stdlib.h>
5688 _ACEOF
5689 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5690 $EGREP "free" >/dev/null 2>&1; then :
5692 else
5693 ac_cv_header_stdc=no
5695 rm -f conftest*
5699 if test $ac_cv_header_stdc = yes; then
5700 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5701 if test "$cross_compiling" = yes; then :
5703 else
5704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5705 /* end confdefs.h. */
5706 #include <ctype.h>
5707 #include <stdlib.h>
5708 #if ((' ' & 0x0FF) == 0x020)
5709 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5710 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5711 #else
5712 # define ISLOWER(c) \
5713 (('a' <= (c) && (c) <= 'i') \
5714 || ('j' <= (c) && (c) <= 'r') \
5715 || ('s' <= (c) && (c) <= 'z'))
5716 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5717 #endif
5719 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5721 main ()
5723 int i;
5724 for (i = 0; i < 256; i++)
5725 if (XOR (islower (i), ISLOWER (i))
5726 || toupper (i) != TOUPPER (i))
5727 return 2;
5728 return 0;
5730 _ACEOF
5731 if ac_fn_c_try_run "$LINENO"; then :
5733 else
5734 ac_cv_header_stdc=no
5736 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5737 conftest.$ac_objext conftest.beam conftest.$ac_ext
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5743 $as_echo "$ac_cv_header_stdc" >&6; }
5744 if test $ac_cv_header_stdc = yes; then
5746 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5750 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5751 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5752 inttypes.h stdint.h unistd.h
5753 do :
5754 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5755 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5757 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5758 cat >>confdefs.h <<_ACEOF
5759 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5760 _ACEOF
5764 done
5767 for ac_header in \
5768 AL/al.h \
5769 AudioToolbox/AudioConverter.h \
5770 AudioUnit/AudioUnit.h \
5771 CL/opencl.h \
5772 Carbon/Carbon.h \
5773 CoreAudio/CoreAudio.h \
5774 DiskArbitration/DiskArbitration.h \
5775 IOKit/IOKitLib.h \
5776 IOKit/hid/IOHIDLib.h \
5777 OpenAL/al.h \
5778 OpenCL/opencl.h \
5779 alias.h \
5780 alsa/asoundlib.h \
5781 arpa/inet.h \
5782 arpa/nameser.h \
5783 asm/types.h \
5784 capi20.h \
5785 curses.h \
5786 direct.h \
5787 dirent.h \
5788 dlfcn.h \
5789 elf.h \
5790 float.h \
5791 fnmatch.h \
5792 fontconfig/fontconfig.h \
5793 getopt.h \
5794 grp.h \
5795 gsm.h \
5796 gsm/gsm.h \
5797 icns.h \
5798 ieeefp.h \
5799 inet/mib2.h \
5800 io.h \
5801 jack/jack.h \
5802 jpeglib.h \
5803 kstat.h \
5804 lber.h \
5805 lcms.h \
5806 lcms/lcms.h \
5807 ldap.h \
5808 libaudioio.h \
5809 link.h \
5810 linux/cdrom.h \
5811 linux/compiler.h \
5812 linux/hdreg.h \
5813 linux/input.h \
5814 linux/ioctl.h \
5815 linux/joystick.h \
5816 linux/major.h \
5817 linux/param.h \
5818 linux/serial.h \
5819 linux/types.h \
5820 linux/ucdrom.h \
5821 mach-o/nlist.h \
5822 mach-o/loader.h \
5823 mach/mach.h \
5824 mach/machine.h \
5825 machine/cpu.h \
5826 machine/limits.h \
5827 machine/soundcard.h \
5828 machine/sysarch.h \
5829 mntent.h \
5830 mpg123.h \
5831 ncurses.h \
5832 netdb.h \
5833 netinet/in.h \
5834 netinet/in_systm.h \
5835 netinet/tcp.h \
5836 netinet/tcp_fsm.h \
5837 openssl/err.h \
5838 openssl/ssl.h \
5839 png.h \
5840 poll.h \
5841 port.h \
5842 process.h \
5843 pthread.h \
5844 pwd.h \
5845 regex.h \
5846 sched.h \
5847 scsi/scsi.h \
5848 scsi/scsi_ioctl.h \
5849 scsi/sg.h \
5850 soundcard.h \
5851 stdbool.h \
5852 stdint.h \
5853 strings.h \
5854 stropts.h \
5855 sys/asoundlib.h \
5856 sys/cdio.h \
5857 sys/elf32.h \
5858 sys/epoll.h \
5859 sys/errno.h \
5860 sys/event.h \
5861 sys/exec_elf.h \
5862 sys/filio.h \
5863 sys/inotify.h \
5864 sys/ioctl.h \
5865 sys/ipc.h \
5866 sys/limits.h \
5867 sys/link.h \
5868 sys/mman.h \
5869 sys/modem.h \
5870 sys/msg.h \
5871 sys/mtio.h \
5872 sys/param.h \
5873 sys/poll.h \
5874 sys/prctl.h \
5875 sys/protosw.h \
5876 sys/ptrace.h \
5877 sys/resource.h \
5878 sys/scsiio.h \
5879 sys/shm.h \
5880 sys/signal.h \
5881 sys/socket.h \
5882 sys/socketvar.h \
5883 sys/sockio.h \
5884 sys/soundcard.h \
5885 sys/statvfs.h \
5886 sys/strtio.h \
5887 sys/syscall.h \
5888 sys/tihdr.h \
5889 sys/time.h \
5890 sys/timeout.h \
5891 sys/times.h \
5892 sys/uio.h \
5893 sys/un.h \
5894 sys/utsname.h \
5895 sys/vm86.h \
5896 sys/wait.h \
5897 syscall.h \
5898 termios.h \
5899 tiffio.h \
5900 unistd.h \
5901 utime.h \
5902 valgrind/memcheck.h \
5903 valgrind/valgrind.h \
5904 zlib.h
5906 do :
5907 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5908 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5909 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5910 cat >>confdefs.h <<_ACEOF
5911 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5912 _ACEOF
5916 done
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5919 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5920 if test "${ac_cv_header_stat_broken+set}" = set; then :
5921 $as_echo_n "(cached) " >&6
5922 else
5923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5924 /* end confdefs.h. */
5925 #include <sys/types.h>
5926 #include <sys/stat.h>
5928 #if defined S_ISBLK && defined S_IFDIR
5929 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5930 #endif
5932 #if defined S_ISBLK && defined S_IFCHR
5933 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5934 #endif
5936 #if defined S_ISLNK && defined S_IFREG
5937 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5938 #endif
5940 #if defined S_ISSOCK && defined S_IFREG
5941 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5942 #endif
5944 _ACEOF
5945 if ac_fn_c_try_compile "$LINENO"; then :
5946 ac_cv_header_stat_broken=no
5947 else
5948 ac_cv_header_stat_broken=yes
5950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
5953 $as_echo "$ac_cv_header_stat_broken" >&6; }
5954 if test $ac_cv_header_stat_broken = yes; then
5956 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
5962 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
5963 do :
5964 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5965 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
5966 #ifdef HAVE_SYS_PARAM_H
5967 # include <sys/param.h>
5968 #endif
5970 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5971 cat >>confdefs.h <<_ACEOF
5972 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5973 _ACEOF
5977 done
5980 for ac_header in \
5981 netinet/ip.h \
5982 net/if.h \
5983 net/if_arp.h \
5984 net/if_dl.h \
5985 net/if_types.h \
5986 net/route.h \
5987 netinet/if_ether.h \
5988 netinet/if_inarp.h \
5989 netinet/in_pcb.h \
5990 netinet/ip_icmp.h \
5991 netinet/ip_var.h \
5992 netinet/udp.h \
5993 netipx/ipx.h \
5995 do :
5996 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5997 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
5998 #ifdef HAVE_SYS_SOCKET_H
5999 # include <sys/socket.h>
6000 #endif
6001 #ifdef HAVE_SYS_SOCKETVAR_H
6002 # include <sys/socketvar.h>
6003 #endif
6004 #ifdef HAVE_NET_ROUTE_H
6005 # include <net/route.h>
6006 #endif
6007 #ifdef HAVE_NETINET_IN_H
6008 # include <netinet/in.h>
6009 #endif
6010 #ifdef HAVE_NETINET_IN_SYSTM_H
6011 # include <netinet/in_systm.h>
6012 #endif
6013 #ifdef HAVE_NET_IF_H
6014 # include <net/if.h>
6015 #endif
6016 #ifdef HAVE_NETINET_IP_H
6017 # include <netinet/ip.h>
6018 #endif
6020 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6021 cat >>confdefs.h <<_ACEOF
6022 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6023 _ACEOF
6027 done
6030 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6031 do :
6032 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6033 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6034 #ifdef HAVE_ALIAS_H
6035 # include <alias.h>
6036 #endif
6037 #ifdef HAVE_SYS_SOCKET_H
6038 # include <sys/socket.h>
6039 #endif
6040 #ifdef HAVE_SYS_SOCKETVAR_H
6041 # include <sys/socketvar.h>
6042 #endif
6043 #ifdef HAVE_SYS_TIMEOUT_H
6044 # include <sys/timeout.h>
6045 #endif
6046 #ifdef HAVE_NETINET_IN_H
6047 # include <netinet/in.h>
6048 #endif
6049 #ifdef HAVE_NETINET_IN_SYSTM_H
6050 # include <netinet/in_systm.h>
6051 #endif
6052 #ifdef HAVE_NETINET_IP_H
6053 # include <netinet/ip.h>
6054 #endif
6055 #ifdef HAVE_NETINET_IP_VAR_H
6056 # include <netinet/ip_var.h>
6057 #endif
6058 #ifdef HAVE_NETINET_IP_ICMP_H
6059 # include <netinet/ip_icmp.h>
6060 #endif
6061 #ifdef HAVE_NETINET_UDP_H
6062 # include <netinet/udp.h>
6063 #endif
6064 #ifdef HAVE_NETINET_TCP_H
6065 # include <netinet/tcp.h>
6066 #endif
6067 #ifdef HAVE_NETINET_TCP_TIMER_H
6068 #include <netinet/tcp_timer.h>
6069 #endif
6071 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6072 cat >>confdefs.h <<_ACEOF
6073 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6074 _ACEOF
6078 done
6081 for ac_header in linux/ipx.h linux/irda.h
6082 do :
6083 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6084 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6085 #ifdef HAVE_ASM_TYPES_H
6086 # include <asm/types.h>
6087 #endif
6088 #ifdef HAVE_SYS_SOCKET_H
6089 # include <sys/socket.h>
6090 #endif
6091 #ifdef HAVE_LINUX_TYPES_H
6092 # include <linux/types.h>
6093 #endif
6095 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6096 cat >>confdefs.h <<_ACEOF
6097 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6098 _ACEOF
6102 done
6105 for ac_header in mach-o/dyld_images.h
6106 do :
6107 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6108 # include <stdbool.h>
6109 #endif
6110 #ifdef HAVE_STDINT_H
6111 # include <stdint.h>
6112 #endif
6114 if test "x$ac_cv_header_mach_o_dyld_images_h" = x""yes; then :
6115 cat >>confdefs.h <<_ACEOF
6116 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6117 _ACEOF
6121 done
6124 for ac_header in resolv.h
6125 do :
6126 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6127 #ifdef HAVE_SYS_SOCKET_H
6128 # include <sys/socket.h>
6129 #endif
6130 #ifdef HAVE_NETINET_IN_H
6131 # include <netinet/in.h>
6132 #endif
6133 #ifdef HAVE_ARPA_NAMESER_H
6134 # include <arpa/nameser.h>
6135 #endif
6137 if test "x$ac_cv_header_resolv_h" = x""yes; then :
6138 cat >>confdefs.h <<_ACEOF
6139 #define HAVE_RESOLV_H 1
6140 _ACEOF
6144 done
6147 for ac_header in ifaddrs.h
6148 do :
6149 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6151 if test "x$ac_cv_header_ifaddrs_h" = x""yes; then :
6152 cat >>confdefs.h <<_ACEOF
6153 #define HAVE_IFADDRS_H 1
6154 _ACEOF
6158 done
6161 for ac_header in ucontext.h
6162 do :
6163 ac_fn_c_check_header_compile "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6165 if test "x$ac_cv_header_ucontext_h" = x""yes; then :
6166 cat >>confdefs.h <<_ACEOF
6167 #define HAVE_UCONTEXT_H 1
6168 _ACEOF
6172 done
6175 for ac_header in sys/thr.h
6176 do :
6177 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6178 #ifdef HAVE_UCONTEXT_H
6179 #include <ucontext.h>
6180 #endif
6182 if test "x$ac_cv_header_sys_thr_h" = x""yes; then :
6183 cat >>confdefs.h <<_ACEOF
6184 #define HAVE_SYS_THR_H 1
6185 _ACEOF
6189 done
6192 for ac_header in pthread_np.h
6193 do :
6194 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6195 #include <pthread.h>
6196 #endif
6198 if test "x$ac_cv_header_pthread_np_h" = x""yes; then :
6199 cat >>confdefs.h <<_ACEOF
6200 #define HAVE_PTHREAD_NP_H 1
6201 _ACEOF
6205 done
6208 for ac_header in linux/videodev.h
6209 do :
6210 ac_fn_c_check_header_compile "$LINENO" "linux/videodev.h" "ac_cv_header_linux_videodev_h" "#ifdef HAVE_SYS_TIME_H
6211 #include <sys/time.h>
6212 #endif
6213 #include <sys/types.h>
6214 #ifdef HAVE_ASM_TYPES_H
6215 #include <asm/types.h>
6216 #endif
6218 if test "x$ac_cv_header_linux_videodev_h" = x""yes; then :
6219 cat >>confdefs.h <<_ACEOF
6220 #define HAVE_LINUX_VIDEODEV_H 1
6221 _ACEOF
6225 done
6228 for ac_header in linux/capi.h
6229 do :
6230 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
6232 if test "x$ac_cv_header_linux_capi_h" = x""yes; then :
6233 cat >>confdefs.h <<_ACEOF
6234 #define HAVE_LINUX_CAPI_H 1
6235 _ACEOF
6239 done
6243 DLLEXT=""
6245 DLLFLAGS="-D_REENTRANT"
6247 LDSHARED=""
6249 LDDLLFLAGS=""
6251 LIBEXT="so"
6253 IMPLIBEXT="def"
6255 LDRPATH_INSTALL=""
6257 LDRPATH_LOCAL=""
6259 STATIC_IMPLIBEXT="def.a"
6260 # Extract the first word of "ldd", so it can be a program name with args.
6261 set dummy ldd; ac_word=$2
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6263 $as_echo_n "checking for $ac_word... " >&6; }
6264 if test "${ac_cv_path_LDD+set}" = set; then :
6265 $as_echo_n "(cached) " >&6
6266 else
6267 case $LDD in
6268 [\\/]* | ?:[\\/]*)
6269 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6273 as_dummy="/sbin:/usr/sbin:$PATH"
6274 for as_dir in $as_dummy
6276 IFS=$as_save_IFS
6277 test -z "$as_dir" && as_dir=.
6278 for ac_exec_ext in '' $ac_executable_extensions; do
6279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6280 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6282 break 2
6284 done
6285 done
6286 IFS=$as_save_IFS
6288 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6290 esac
6292 LDD=$ac_cv_path_LDD
6293 if test -n "$LDD"; then
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6295 $as_echo "$LDD" >&6; }
6296 else
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6298 $as_echo "no" >&6; }
6303 case $host_os in
6304 cygwin*|mingw32*)
6305 if test -n "$ac_tool_prefix"; then
6306 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6307 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6309 $as_echo_n "checking for $ac_word... " >&6; }
6310 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
6311 $as_echo_n "(cached) " >&6
6312 else
6313 if test -n "$DLLTOOL"; then
6314 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6315 else
6316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6317 for as_dir in $PATH
6319 IFS=$as_save_IFS
6320 test -z "$as_dir" && as_dir=.
6321 for ac_exec_ext in '' $ac_executable_extensions; do
6322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6323 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6325 break 2
6327 done
6328 done
6329 IFS=$as_save_IFS
6333 DLLTOOL=$ac_cv_prog_DLLTOOL
6334 if test -n "$DLLTOOL"; then
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6336 $as_echo "$DLLTOOL" >&6; }
6337 else
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6339 $as_echo "no" >&6; }
6344 if test -z "$ac_cv_prog_DLLTOOL"; then
6345 ac_ct_DLLTOOL=$DLLTOOL
6346 # Extract the first word of "dlltool", so it can be a program name with args.
6347 set dummy dlltool; ac_word=$2
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6349 $as_echo_n "checking for $ac_word... " >&6; }
6350 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
6351 $as_echo_n "(cached) " >&6
6352 else
6353 if test -n "$ac_ct_DLLTOOL"; then
6354 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6355 else
6356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6357 for as_dir in $PATH
6359 IFS=$as_save_IFS
6360 test -z "$as_dir" && as_dir=.
6361 for ac_exec_ext in '' $ac_executable_extensions; do
6362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6363 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6365 break 2
6367 done
6368 done
6369 IFS=$as_save_IFS
6373 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6374 if test -n "$ac_ct_DLLTOOL"; then
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6376 $as_echo "$ac_ct_DLLTOOL" >&6; }
6377 else
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6379 $as_echo "no" >&6; }
6382 if test "x$ac_ct_DLLTOOL" = x; then
6383 DLLTOOL="false"
6384 else
6385 case $cross_compiling:$ac_tool_warned in
6386 yes:)
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6388 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6389 ac_tool_warned=yes ;;
6390 esac
6391 DLLTOOL=$ac_ct_DLLTOOL
6393 else
6394 DLLTOOL="$ac_cv_prog_DLLTOOL"
6397 if test -n "$ac_tool_prefix"; then
6398 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
6399 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6401 $as_echo_n "checking for $ac_word... " >&6; }
6402 if test "${ac_cv_prog_DLLWRAP+set}" = set; then :
6403 $as_echo_n "(cached) " >&6
6404 else
6405 if test -n "$DLLWRAP"; then
6406 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
6407 else
6408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6409 for as_dir in $PATH
6411 IFS=$as_save_IFS
6412 test -z "$as_dir" && as_dir=.
6413 for ac_exec_ext in '' $ac_executable_extensions; do
6414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6415 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
6416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6417 break 2
6419 done
6420 done
6421 IFS=$as_save_IFS
6425 DLLWRAP=$ac_cv_prog_DLLWRAP
6426 if test -n "$DLLWRAP"; then
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLWRAP" >&5
6428 $as_echo "$DLLWRAP" >&6; }
6429 else
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6431 $as_echo "no" >&6; }
6436 if test -z "$ac_cv_prog_DLLWRAP"; then
6437 ac_ct_DLLWRAP=$DLLWRAP
6438 # Extract the first word of "dllwrap", so it can be a program name with args.
6439 set dummy dllwrap; ac_word=$2
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6441 $as_echo_n "checking for $ac_word... " >&6; }
6442 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then :
6443 $as_echo_n "(cached) " >&6
6444 else
6445 if test -n "$ac_ct_DLLWRAP"; then
6446 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
6447 else
6448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6449 for as_dir in $PATH
6451 IFS=$as_save_IFS
6452 test -z "$as_dir" && as_dir=.
6453 for ac_exec_ext in '' $ac_executable_extensions; do
6454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6455 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
6456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6457 break 2
6459 done
6460 done
6461 IFS=$as_save_IFS
6465 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
6466 if test -n "$ac_ct_DLLWRAP"; then
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLWRAP" >&5
6468 $as_echo "$ac_ct_DLLWRAP" >&6; }
6469 else
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6471 $as_echo "no" >&6; }
6474 if test "x$ac_ct_DLLWRAP" = x; then
6475 DLLWRAP="false"
6476 else
6477 case $cross_compiling:$ac_tool_warned in
6478 yes:)
6479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6480 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6481 ac_tool_warned=yes ;;
6482 esac
6483 DLLWRAP=$ac_ct_DLLWRAP
6485 else
6486 DLLWRAP="$ac_cv_prog_DLLWRAP"
6489 if test "$DLLWRAP" = "false"; then
6490 LIBEXT="a"
6491 else
6492 LIBEXT="dll"
6494 IMPLIBEXT="a"
6495 STATIC_IMPLIBEXT="a"
6496 enable_iphlpapi=${enable_iphlpapi:-no}
6497 enable_kernel32=${enable_kernel32:-no}
6498 enable_msvcrt=${enable_msvcrt:-no}
6499 enable_ntdll=${enable_ntdll:-no}
6500 enable_ws2_32=${enable_ws2_32:-no}
6501 enable_loader=${enable_loader:-no}
6502 enable_server=${enable_server:-no}
6503 with_x=${with_x:-no}
6504 with_pthread=${with_pthread:-no}
6506 darwin*|macosx*)
6507 DLLEXT=".so"
6508 LIBEXT="dylib"
6509 DLLFLAGS="$DLLFLAGS -fPIC"
6510 LDDLLFLAGS="-bundle -multiply_defined suppress"
6511 LIBWINE_LDFLAGS="-multiply_defined suppress"
6512 LDSHARED="\$(CC) -dynamiclib"
6513 STRIP="$STRIP -x"
6514 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(top_builddir)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
6515 SECURITYLIB="-framework Security -framework CoreFoundation"
6517 COREFOUNDATIONLIB="-framework CoreFoundation"
6519 IOKITLIB="-framework IOKit -framework CoreFoundation"
6521 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHAREDHEAP,0x7f000000"
6523 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
6524 then
6525 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
6528 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
6529 then
6530 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
6533 if test "$ac_cv_header_OpenAL_al_h" = "yes"
6534 then
6535 FRAMEWORK_OPENAL="-framework OpenAL"
6538 cat >>confdefs.h <<_ACEOF
6539 #define HAVE_OPENAL 1
6540 _ACEOF
6542 ac_cv_lib_openal=yes
6544 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
6545 then
6546 LIBOPENCL="-framework OpenCL"
6548 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
6550 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
6551 then
6552 ac_save_LIBS="$LIBS"
6553 LIBS="$LIBS $IOKITLIB"
6554 for ac_func in IOHIDManagerCreate
6555 do :
6556 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
6557 if test "x$ac_cv_func_IOHIDManagerCreate" = x""yes; then :
6558 cat >>confdefs.h <<_ACEOF
6559 #define HAVE_IOHIDMANAGERCREATE 1
6560 _ACEOF
6563 done
6565 LIBS="$ac_save_LIBS"
6567 case $host_cpu in
6568 *powerpc*)
6569 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
6570 esac
6571 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
6572 then
6573 CARBONLIB="-framework Carbon"
6575 enable_winequartz_drv=${enable_winequartz_drv:-yes}
6577 if test "x$enable_win16" = "xyes"
6578 then
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
6580 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
6581 if test "$cross_compiling" = yes; then :
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
6583 $as_echo "cross-compiling, assuming yes" >&6; }
6584 else
6585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6586 /* end confdefs.h. */
6587 asm(".text\n"
6588 "bad:\tnop;nop\n"
6589 "good:\tnop;nop\n\t"
6590 ".globl _testfunc\n"
6591 "_testfunc:\tcallw good");
6592 extern void testfunc();
6594 main ()
6596 unsigned short *p = (unsigned short *)testfunc;
6597 return p[0] != 0xe866 || p[1] != 0xfffa
6599 return 0;
6601 _ACEOF
6602 if ac_fn_c_try_run "$LINENO"; then :
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6604 $as_echo "yes" >&6; }
6605 else
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6607 $as_echo "no" >&6; }
6608 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
6610 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6611 conftest.$ac_objext conftest.beam conftest.$ac_ext
6617 DLLFLAGS="$DLLFLAGS -fPIC"
6618 DLLEXT=".so"
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
6620 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
6621 if test "${ac_cv_c_dll_gnuelf+set}" = set; then :
6622 $as_echo_n "(cached) " >&6
6623 else
6624 ac_wine_try_cflags_saved=$CFLAGS
6625 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
6626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6627 /* end confdefs.h. */
6628 void myfunc() {}
6629 _ACEOF
6630 if ac_fn_c_try_link "$LINENO"; then :
6631 ac_cv_c_dll_gnuelf="yes"
6632 else
6633 ac_cv_c_dll_gnuelf="no"
6635 rm -f core conftest.err conftest.$ac_objext \
6636 conftest$ac_exeext conftest.$ac_ext
6637 CFLAGS=$ac_wine_try_cflags_saved
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
6640 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
6641 if test "$ac_cv_c_dll_gnuelf" = "yes"
6642 then
6643 LDSHARED="\$(CC) -shared"
6644 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
6646 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
6647 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then :
6648 $as_echo_n "(cached) " >&6
6649 else
6650 ac_wine_try_cflags_saved=$CFLAGS
6651 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
6652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6653 /* end confdefs.h. */
6654 int main(int argc, char **argv) { return 0; }
6655 _ACEOF
6656 if ac_fn_c_try_link "$LINENO"; then :
6657 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
6658 else
6659 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
6661 rm -f core conftest.err conftest.$ac_objext \
6662 conftest$ac_exeext conftest.$ac_ext
6663 CFLAGS=$ac_wine_try_cflags_saved
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
6666 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
6667 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
6668 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
6669 else
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
6671 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
6672 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then :
6673 $as_echo_n "(cached) " >&6
6674 else
6675 ac_wine_try_cflags_saved=$CFLAGS
6676 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
6677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6678 /* end confdefs.h. */
6679 int main(int argc, char **argv) { return 0; }
6680 _ACEOF
6681 if ac_fn_c_try_link "$LINENO"; then :
6682 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
6683 else
6684 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
6686 rm -f core conftest.err conftest.$ac_objext \
6687 conftest$ac_exeext conftest.$ac_ext
6688 CFLAGS=$ac_wine_try_cflags_saved
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
6691 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
6692 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
6693 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
6698 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
6699 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then :
6700 $as_echo_n "(cached) " >&6
6701 else
6702 ac_wine_try_cflags_saved=$CFLAGS
6703 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
6704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6705 /* end confdefs.h. */
6706 int main(int argc, char **argv) { return 0; }
6707 _ACEOF
6708 if ac_fn_c_try_link "$LINENO"; then :
6709 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
6710 else
6711 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
6713 rm -f core conftest.err conftest.$ac_objext \
6714 conftest$ac_exeext conftest.$ac_ext
6715 CFLAGS=$ac_wine_try_cflags_saved
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
6718 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
6719 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
6720 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
6724 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
6725 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then :
6726 $as_echo_n "(cached) " >&6
6727 else
6728 ac_wine_try_cflags_saved=$CFLAGS
6729 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
6730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6731 /* end confdefs.h. */
6732 int main(int argc, char **argv) { return 0; }
6733 _ACEOF
6734 if ac_fn_c_try_link "$LINENO"; then :
6735 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
6736 else
6737 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
6739 rm -f core conftest.err conftest.$ac_objext \
6740 conftest$ac_exeext conftest.$ac_ext
6741 CFLAGS=$ac_wine_try_cflags_saved
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
6744 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
6745 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
6746 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
6749 echo '{ global: *; };' >conftest.map
6750 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -shared -Wl,--version-script=conftest.map" | $as_tr_sh`
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
6752 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
6753 if eval "test \"\${$as_ac_var+set}\"" = set; then :
6754 $as_echo_n "(cached) " >&6
6755 else
6756 ac_wine_try_cflags_saved=$CFLAGS
6757 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
6758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6759 /* end confdefs.h. */
6760 int main(int argc, char **argv) { return 0; }
6761 _ACEOF
6762 if ac_fn_c_try_link "$LINENO"; then :
6763 eval "$as_ac_var=yes"
6764 else
6765 eval "$as_ac_var=no"
6767 rm -f core conftest.err conftest.$ac_objext \
6768 conftest$ac_exeext conftest.$ac_ext
6769 CFLAGS=$ac_wine_try_cflags_saved
6771 eval ac_res=\$$as_ac_var
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6773 $as_echo "$ac_res" >&6; }
6774 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6775 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
6777 rm -f conftest.map
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
6780 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
6781 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then :
6782 $as_echo_n "(cached) " >&6
6783 else
6784 ac_wine_try_cflags_saved=$CFLAGS
6785 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
6786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6787 /* end confdefs.h. */
6788 int main(int argc, char **argv) { return 0; }
6789 _ACEOF
6790 if ac_fn_c_try_link "$LINENO"; then :
6791 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
6792 else
6793 ac_cv_cflags__fPIC__Wl___export_dynamic=no
6795 rm -f core conftest.err conftest.$ac_objext \
6796 conftest$ac_exeext conftest.$ac_ext
6797 CFLAGS=$ac_wine_try_cflags_saved
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
6800 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
6801 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
6802 LDEXECFLAGS="-Wl,--export-dynamic"
6806 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
6808 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
6809 if eval "test \"\${$as_ac_var+set}\"" = set; then :
6810 $as_echo_n "(cached) " >&6
6811 else
6812 ac_wine_try_cflags_saved=$CFLAGS
6813 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
6814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6815 /* end confdefs.h. */
6816 int main(int argc, char **argv) { return 0; }
6817 _ACEOF
6818 if ac_fn_c_try_link "$LINENO"; then :
6819 eval "$as_ac_var=yes"
6820 else
6821 eval "$as_ac_var=no"
6823 rm -f core conftest.err conftest.$ac_objext \
6824 conftest$ac_exeext conftest.$ac_ext
6825 CFLAGS=$ac_wine_try_cflags_saved
6827 eval ac_res=\$$as_ac_var
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6829 $as_echo "$ac_res" >&6; }
6830 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6831 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6832 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6833 else
6834 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
6836 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
6837 if eval "test \"\${$as_ac_var+set}\"" = set; then :
6838 $as_echo_n "(cached) " >&6
6839 else
6840 ac_wine_try_cflags_saved=$CFLAGS
6841 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
6842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6843 /* end confdefs.h. */
6844 int main(int argc, char **argv) { return 0; }
6845 _ACEOF
6846 if ac_fn_c_try_link "$LINENO"; then :
6847 eval "$as_ac_var=yes"
6848 else
6849 eval "$as_ac_var=no"
6851 rm -f core conftest.err conftest.$ac_objext \
6852 conftest$ac_exeext conftest.$ac_ext
6853 CFLAGS=$ac_wine_try_cflags_saved
6855 eval ac_res=\$$as_ac_var
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6857 $as_echo "$ac_res" >&6; }
6858 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6859 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6860 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
6865 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
6866 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then :
6867 $as_echo_n "(cached) " >&6
6868 else
6869 ac_wine_try_cflags_saved=$CFLAGS
6870 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
6871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6872 /* end confdefs.h. */
6873 int main(int argc, char **argv) { return 0; }
6874 _ACEOF
6875 if ac_fn_c_try_link "$LINENO"; then :
6876 ac_cv_cflags__Wl___enable_new_dtags=yes
6877 else
6878 ac_cv_cflags__Wl___enable_new_dtags=no
6880 rm -f core conftest.err conftest.$ac_objext \
6881 conftest$ac_exeext conftest.$ac_ext
6882 CFLAGS=$ac_wine_try_cflags_saved
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
6885 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
6886 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
6887 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
6890 case $host_cpu in
6891 *i[3456789]86* | x86_64)
6892 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--section-start,.interp=0x7bf00400" | $as_tr_sh`
6893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
6894 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
6895 if eval "test \"\${$as_ac_var+set}\"" = set; then :
6896 $as_echo_n "(cached) " >&6
6897 else
6898 ac_wine_try_cflags_saved=$CFLAGS
6899 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
6900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6901 /* end confdefs.h. */
6902 int main(int argc, char **argv) { return 0; }
6903 _ACEOF
6904 if ac_fn_c_try_link "$LINENO"; then :
6905 eval "$as_ac_var=yes"
6906 else
6907 eval "$as_ac_var=no"
6909 rm -f core conftest.err conftest.$ac_objext \
6910 conftest$ac_exeext conftest.$ac_ext
6911 CFLAGS=$ac_wine_try_cflags_saved
6913 eval ac_res=\$$as_ac_var
6914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6915 $as_echo "$ac_res" >&6; }
6916 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6917 case $host_os in
6918 freebsd*) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
6919 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
6920 esac
6923 # Extract the first word of "prelink", so it can be a program name with args.
6924 set dummy prelink; ac_word=$2
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6926 $as_echo_n "checking for $ac_word... " >&6; }
6927 if test "${ac_cv_path_PRELINK+set}" = set; then :
6928 $as_echo_n "(cached) " >&6
6929 else
6930 case $PRELINK in
6931 [\\/]* | ?:[\\/]*)
6932 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6936 for as_dir in /sbin /usr/sbin $PATH
6938 IFS=$as_save_IFS
6939 test -z "$as_dir" && as_dir=.
6940 for ac_exec_ext in '' $ac_executable_extensions; do
6941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6942 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6944 break 2
6946 done
6947 done
6948 IFS=$as_save_IFS
6950 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6952 esac
6954 PRELINK=$ac_cv_path_PRELINK
6955 if test -n "$PRELINK"; then
6956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
6957 $as_echo "$PRELINK" >&6; }
6958 else
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6960 $as_echo "no" >&6; }
6964 if test "x$PRELINK" = xfalse
6965 then
6966 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
6969 esac
6971 else
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
6973 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
6974 if test "${ac_cv_c_dll_unixware+set}" = set; then :
6975 $as_echo_n "(cached) " >&6
6976 else
6977 ac_wine_try_cflags_saved=$CFLAGS
6978 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
6979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6980 /* end confdefs.h. */
6981 void myfunc() {}
6982 _ACEOF
6983 if ac_fn_c_try_link "$LINENO"; then :
6984 ac_cv_c_dll_unixware="yes"
6985 else
6986 ac_cv_c_dll_unixware="no"
6988 rm -f core conftest.err conftest.$ac_objext \
6989 conftest$ac_exeext conftest.$ac_ext
6990 CFLAGS=$ac_wine_try_cflags_saved
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
6993 $as_echo "$ac_cv_c_dll_unixware" >&6; }
6994 if test "$ac_cv_c_dll_unixware" = "yes"
6995 then
6996 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
6997 LDDLLFLAGS="-Wl,-G,-B,symbolic"
6999 else
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build an HP-UX dll" >&5
7001 $as_echo_n "checking whether we can build an HP-UX dll... " >&6; }
7002 if test "${ac_cv_c_dll_hpux+set}" = set; then :
7003 $as_echo_n "(cached) " >&6
7004 else
7005 ac_wine_try_cflags_saved=$CFLAGS
7006 CFLAGS="$CFLAGS -shared"
7007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7008 /* end confdefs.h. */
7009 void myfunc() {}
7010 _ACEOF
7011 if ac_fn_c_try_link "$LINENO"; then :
7012 ac_cv_c_dll_hpux="yes"
7013 else
7014 ac_cv_c_dll_hpux="no"
7016 rm -f core conftest.err conftest.$ac_objext \
7017 conftest$ac_exeext conftest.$ac_ext
7018 CFLAGS=$ac_wine_try_cflags_saved
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_hpux" >&5
7021 $as_echo "$ac_cv_c_dll_hpux" >&6; }
7022 if test "$ac_cv_c_dll_hpux" = "yes"
7023 then
7024 LIBEXT="sl"
7025 DLLEXT=".sl"
7026 LDDLLFLAGS="-shared -fPIC"
7027 LDSHARED="\$(CC) -shared"
7032 esac
7034 enable_winequartz_drv=${enable_winequartz_drv:-no}
7036 if test "$LIBEXT" = "a"; then
7037 as_fn_error $? "could not find a way to build shared libraries.
7038 It is currently not possible to build Wine without shared library
7039 (.so) support to allow transparent switch between .so and .dll files.
7040 If you are using Linux, you will need a newer binutils.
7041 " "$LINENO" 5
7044 CROSSTEST_DISABLE=\#
7046 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
7047 then
7048 case "$host_cpu" in
7049 i[3456789]86*)
7050 ac_prefix_list="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 " ;;
7051 x86_64)
7052 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 " ;;
7054 ac_prefix_list="" ;;
7055 esac
7056 for ac_prog in $ac_prefix_list
7058 # Extract the first word of "$ac_prog", so it can be a program name with args.
7059 set dummy $ac_prog; ac_word=$2
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7061 $as_echo_n "checking for $ac_word... " >&6; }
7062 if test "${ac_cv_prog_CROSSCC+set}" = set; then :
7063 $as_echo_n "(cached) " >&6
7064 else
7065 if test -n "$CROSSCC"; then
7066 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
7067 else
7068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7069 for as_dir in $PATH
7071 IFS=$as_save_IFS
7072 test -z "$as_dir" && as_dir=.
7073 for ac_exec_ext in '' $ac_executable_extensions; do
7074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7075 ac_cv_prog_CROSSCC="$ac_prog"
7076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7077 break 2
7079 done
7080 done
7081 IFS=$as_save_IFS
7085 CROSSCC=$ac_cv_prog_CROSSCC
7086 if test -n "$CROSSCC"; then
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
7088 $as_echo "$CROSSCC" >&6; }
7089 else
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7091 $as_echo "no" >&6; }
7095 test -n "$CROSSCC" && break
7096 done
7097 test -n "$CROSSCC" || CROSSCC="false"
7099 if test "$CROSSCC" != "false"
7100 then
7101 ac_save_CC="$CC"
7102 CC="$CROSSCC"
7103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
7104 $as_echo_n "checking whether $CROSSCC works... " >&6; }
7105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7106 /* end confdefs.h. */
7109 main ()
7113 return 0;
7115 _ACEOF
7116 if ac_fn_c_try_compile "$LINENO"; then :
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7118 $as_echo "yes" >&6; }
7119 set x $CROSSCC
7120 shift
7121 target=""
7122 while test $# -ge 1
7124 case "$1" in
7125 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
7126 esac
7127 shift
7128 done
7129 if test -n "$target"
7130 then
7131 CROSSTEST_DISABLE=""
7132 CROSSTARGET="$target"
7135 else
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7137 $as_echo "no" >&6; }
7139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7140 CC="$ac_save_CC"
7145 if test "$ac_cv_header_pthread_h" = "yes"
7146 then
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7148 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7149 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then :
7150 $as_echo_n "(cached) " >&6
7151 else
7152 ac_check_lib_save_LIBS=$LIBS
7153 LIBS="-lpthread $LIBS"
7154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7155 /* end confdefs.h. */
7157 /* Override any GCC internal prototype to avoid an error.
7158 Use char because int might match the return type of a GCC
7159 builtin and then its argument prototype would still apply. */
7160 #ifdef __cplusplus
7161 extern "C"
7162 #endif
7163 char pthread_create ();
7165 main ()
7167 return pthread_create ();
7169 return 0;
7171 _ACEOF
7172 if ac_fn_c_try_link "$LINENO"; then :
7173 ac_cv_lib_pthread_pthread_create=yes
7174 else
7175 ac_cv_lib_pthread_pthread_create=no
7177 rm -f core conftest.err conftest.$ac_objext \
7178 conftest$ac_exeext conftest.$ac_ext
7179 LIBS=$ac_check_lib_save_LIBS
7181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7182 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7183 if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then :
7184 LIBPTHREAD="-lpthread"
7189 if test "x$LIBPTHREAD" = "x"; then :
7190 case "x$with_pthread" in
7191 xno) ;;
7192 *) as_fn_error $? "pthread ${notice_platform}development files not found.
7193 Wine cannot support threads without libpthread.
7194 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
7195 esac
7199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
7200 $as_echo_n "checking for X... " >&6; }
7203 # Check whether --with-x was given.
7204 if test "${with_x+set}" = set; then :
7205 withval=$with_x;
7208 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7209 if test "x$with_x" = xno; then
7210 # The user explicitly disabled X.
7211 have_x=disabled
7212 else
7213 case $x_includes,$x_libraries in #(
7214 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
7215 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
7216 $as_echo_n "(cached) " >&6
7217 else
7218 # One or both of the vars are not set, and there is no cached value.
7219 ac_x_includes=no ac_x_libraries=no
7220 rm -f -r conftest.dir
7221 if mkdir conftest.dir; then
7222 cd conftest.dir
7223 cat >Imakefile <<'_ACEOF'
7224 incroot:
7225 @echo incroot='${INCROOT}'
7226 usrlibdir:
7227 @echo usrlibdir='${USRLIBDIR}'
7228 libdir:
7229 @echo libdir='${LIBDIR}'
7230 _ACEOF
7231 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
7232 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7233 for ac_var in incroot usrlibdir libdir; do
7234 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7235 done
7236 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7237 for ac_extension in a so sl dylib la dll; do
7238 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7239 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7240 ac_im_usrlibdir=$ac_im_libdir; break
7242 done
7243 # Screen out bogus values from the imake configuration. They are
7244 # bogus both because they are the default anyway, and because
7245 # using them would break gcc on systems where it needs fixed includes.
7246 case $ac_im_incroot in
7247 /usr/include) ac_x_includes= ;;
7248 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
7249 esac
7250 case $ac_im_usrlibdir in
7251 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
7252 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
7253 esac
7255 cd ..
7256 rm -f -r conftest.dir
7259 # Standard set of common directories for X headers.
7260 # Check X11 before X11Rn because it is often a symlink to the current release.
7261 ac_x_header_dirs='
7262 /usr/X11/include
7263 /usr/X11R7/include
7264 /usr/X11R6/include
7265 /usr/X11R5/include
7266 /usr/X11R4/include
7268 /usr/include/X11
7269 /usr/include/X11R7
7270 /usr/include/X11R6
7271 /usr/include/X11R5
7272 /usr/include/X11R4
7274 /usr/local/X11/include
7275 /usr/local/X11R7/include
7276 /usr/local/X11R6/include
7277 /usr/local/X11R5/include
7278 /usr/local/X11R4/include
7280 /usr/local/include/X11
7281 /usr/local/include/X11R7
7282 /usr/local/include/X11R6
7283 /usr/local/include/X11R5
7284 /usr/local/include/X11R4
7286 /usr/X386/include
7287 /usr/x386/include
7288 /usr/XFree86/include/X11
7290 /usr/include
7291 /usr/local/include
7292 /usr/unsupported/include
7293 /usr/athena/include
7294 /usr/local/x11r5/include
7295 /usr/lpp/Xamples/include
7297 /usr/openwin/include
7298 /usr/openwin/share/include'
7300 if test "$ac_x_includes" = no; then
7301 # Guess where to find include files, by looking for Xlib.h.
7302 # First, try using that file with no special directory specified.
7303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7304 /* end confdefs.h. */
7305 #include <X11/Xlib.h>
7306 _ACEOF
7307 if ac_fn_c_try_cpp "$LINENO"; then :
7308 # We can compile using X headers with no special include directory.
7309 ac_x_includes=
7310 else
7311 for ac_dir in $ac_x_header_dirs; do
7312 if test -r "$ac_dir/X11/Xlib.h"; then
7313 ac_x_includes=$ac_dir
7314 break
7316 done
7318 rm -f conftest.err conftest.i conftest.$ac_ext
7319 fi # $ac_x_includes = no
7321 if test "$ac_x_libraries" = no; then
7322 # Check for the libraries.
7323 # See if we find them without any special options.
7324 # Don't add to $LIBS permanently.
7325 ac_save_LIBS=$LIBS
7326 LIBS="-lX11 $LIBS"
7327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7328 /* end confdefs.h. */
7329 #include <X11/Xlib.h>
7331 main ()
7333 XrmInitialize ()
7335 return 0;
7337 _ACEOF
7338 if ac_fn_c_try_link "$LINENO"; then :
7339 LIBS=$ac_save_LIBS
7340 # We can link X programs with no special library path.
7341 ac_x_libraries=
7342 else
7343 LIBS=$ac_save_LIBS
7344 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7346 # Don't even attempt the hair of trying to link an X program!
7347 for ac_extension in a so sl dylib la dll; do
7348 if test -r "$ac_dir/libX11.$ac_extension"; then
7349 ac_x_libraries=$ac_dir
7350 break 2
7352 done
7353 done
7355 rm -f core conftest.err conftest.$ac_objext \
7356 conftest$ac_exeext conftest.$ac_ext
7357 fi # $ac_x_libraries = no
7359 case $ac_x_includes,$ac_x_libraries in #(
7360 no,* | *,no | *\'*)
7361 # Didn't find X, or a directory has "'" in its name.
7362 ac_cv_have_x="have_x=no";; #(
7364 # Record where we found X for the cache.
7365 ac_cv_have_x="have_x=yes\
7366 ac_x_includes='$ac_x_includes'\
7367 ac_x_libraries='$ac_x_libraries'"
7368 esac
7370 ;; #(
7371 *) have_x=yes;;
7372 esac
7373 eval "$ac_cv_have_x"
7374 fi # $with_x != no
7376 if test "$have_x" != yes; then
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
7378 $as_echo "$have_x" >&6; }
7379 no_x=yes
7380 else
7381 # If each of the values was on the command line, it overrides each guess.
7382 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
7383 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
7384 # Update the cache value to reflect the command line values.
7385 ac_cv_have_x="have_x=yes\
7386 ac_x_includes='$x_includes'\
7387 ac_x_libraries='$x_libraries'"
7388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
7389 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7392 if test "$no_x" = yes; then
7393 # Not all programs may use this symbol, but it does not hurt to define it.
7395 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
7397 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
7398 else
7399 if test -n "$x_includes"; then
7400 X_CFLAGS="$X_CFLAGS -I$x_includes"
7403 # It would also be nice to do this for all -L options, not just this one.
7404 if test -n "$x_libraries"; then
7405 X_LIBS="$X_LIBS -L$x_libraries"
7406 # For Solaris; some versions of Sun CC require a space after -R and
7407 # others require no space. Words are not sufficient . . . .
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
7409 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
7410 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
7411 ac_xsave_c_werror_flag=$ac_c_werror_flag
7412 ac_c_werror_flag=yes
7413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7414 /* end confdefs.h. */
7417 main ()
7421 return 0;
7423 _ACEOF
7424 if ac_fn_c_try_link "$LINENO"; then :
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7426 $as_echo "no" >&6; }
7427 X_LIBS="$X_LIBS -R$x_libraries"
7428 else
7429 LIBS="$ac_xsave_LIBS -R $x_libraries"
7430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7431 /* end confdefs.h. */
7434 main ()
7438 return 0;
7440 _ACEOF
7441 if ac_fn_c_try_link "$LINENO"; then :
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7443 $as_echo "yes" >&6; }
7444 X_LIBS="$X_LIBS -R $x_libraries"
7445 else
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
7447 $as_echo "neither works" >&6; }
7449 rm -f core conftest.err conftest.$ac_objext \
7450 conftest$ac_exeext conftest.$ac_ext
7452 rm -f core conftest.err conftest.$ac_objext \
7453 conftest$ac_exeext conftest.$ac_ext
7454 ac_c_werror_flag=$ac_xsave_c_werror_flag
7455 LIBS=$ac_xsave_LIBS
7458 # Check for system-dependent libraries X programs must link with.
7459 # Do this before checking for the system-independent R6 libraries
7460 # (-lICE), since we may need -lsocket or whatever for X linking.
7462 if test "$ISC" = yes; then
7463 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
7464 else
7465 # Martyn Johnson says this is needed for Ultrix, if the X
7466 # libraries were built with DECnet support. And Karl Berry says
7467 # the Alpha needs dnet_stub (dnet does not exist).
7468 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
7469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7470 /* end confdefs.h. */
7472 /* Override any GCC internal prototype to avoid an error.
7473 Use char because int might match the return type of a GCC
7474 builtin and then its argument prototype would still apply. */
7475 #ifdef __cplusplus
7476 extern "C"
7477 #endif
7478 char XOpenDisplay ();
7480 main ()
7482 return XOpenDisplay ();
7484 return 0;
7486 _ACEOF
7487 if ac_fn_c_try_link "$LINENO"; then :
7489 else
7490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
7491 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
7492 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
7493 $as_echo_n "(cached) " >&6
7494 else
7495 ac_check_lib_save_LIBS=$LIBS
7496 LIBS="-ldnet $LIBS"
7497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7498 /* end confdefs.h. */
7500 /* Override any GCC internal prototype to avoid an error.
7501 Use char because int might match the return type of a GCC
7502 builtin and then its argument prototype would still apply. */
7503 #ifdef __cplusplus
7504 extern "C"
7505 #endif
7506 char dnet_ntoa ();
7508 main ()
7510 return dnet_ntoa ();
7512 return 0;
7514 _ACEOF
7515 if ac_fn_c_try_link "$LINENO"; then :
7516 ac_cv_lib_dnet_dnet_ntoa=yes
7517 else
7518 ac_cv_lib_dnet_dnet_ntoa=no
7520 rm -f core conftest.err conftest.$ac_objext \
7521 conftest$ac_exeext conftest.$ac_ext
7522 LIBS=$ac_check_lib_save_LIBS
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7525 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7526 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
7527 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
7530 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
7532 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
7533 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
7534 $as_echo_n "(cached) " >&6
7535 else
7536 ac_check_lib_save_LIBS=$LIBS
7537 LIBS="-ldnet_stub $LIBS"
7538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7539 /* end confdefs.h. */
7541 /* Override any GCC internal prototype to avoid an error.
7542 Use char because int might match the return type of a GCC
7543 builtin and then its argument prototype would still apply. */
7544 #ifdef __cplusplus
7545 extern "C"
7546 #endif
7547 char dnet_ntoa ();
7549 main ()
7551 return dnet_ntoa ();
7553 return 0;
7555 _ACEOF
7556 if ac_fn_c_try_link "$LINENO"; then :
7557 ac_cv_lib_dnet_stub_dnet_ntoa=yes
7558 else
7559 ac_cv_lib_dnet_stub_dnet_ntoa=no
7561 rm -f core conftest.err conftest.$ac_objext \
7562 conftest$ac_exeext conftest.$ac_ext
7563 LIBS=$ac_check_lib_save_LIBS
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7566 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
7567 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
7568 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
7573 rm -f core conftest.err conftest.$ac_objext \
7574 conftest$ac_exeext conftest.$ac_ext
7575 LIBS="$ac_xsave_LIBS"
7577 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7578 # to get the SysV transport functions.
7579 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7580 # needs -lnsl.
7581 # The nsl library prevents programs from opening the X display
7582 # on Irix 5.2, according to T.E. Dickey.
7583 # The functions gethostbyname, getservbyname, and inet_addr are
7584 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7585 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
7586 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
7590 if test $ac_cv_func_gethostbyname = no; then
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
7592 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
7593 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
7594 $as_echo_n "(cached) " >&6
7595 else
7596 ac_check_lib_save_LIBS=$LIBS
7597 LIBS="-lnsl $LIBS"
7598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7599 /* end confdefs.h. */
7601 /* Override any GCC internal prototype to avoid an error.
7602 Use char because int might match the return type of a GCC
7603 builtin and then its argument prototype would still apply. */
7604 #ifdef __cplusplus
7605 extern "C"
7606 #endif
7607 char gethostbyname ();
7609 main ()
7611 return gethostbyname ();
7613 return 0;
7615 _ACEOF
7616 if ac_fn_c_try_link "$LINENO"; then :
7617 ac_cv_lib_nsl_gethostbyname=yes
7618 else
7619 ac_cv_lib_nsl_gethostbyname=no
7621 rm -f core conftest.err conftest.$ac_objext \
7622 conftest$ac_exeext conftest.$ac_ext
7623 LIBS=$ac_check_lib_save_LIBS
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
7626 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
7627 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
7628 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
7631 if test $ac_cv_lib_nsl_gethostbyname = no; then
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
7633 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
7634 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
7635 $as_echo_n "(cached) " >&6
7636 else
7637 ac_check_lib_save_LIBS=$LIBS
7638 LIBS="-lbsd $LIBS"
7639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7640 /* end confdefs.h. */
7642 /* Override any GCC internal prototype to avoid an error.
7643 Use char because int might match the return type of a GCC
7644 builtin and then its argument prototype would still apply. */
7645 #ifdef __cplusplus
7646 extern "C"
7647 #endif
7648 char gethostbyname ();
7650 main ()
7652 return gethostbyname ();
7654 return 0;
7656 _ACEOF
7657 if ac_fn_c_try_link "$LINENO"; then :
7658 ac_cv_lib_bsd_gethostbyname=yes
7659 else
7660 ac_cv_lib_bsd_gethostbyname=no
7662 rm -f core conftest.err conftest.$ac_objext \
7663 conftest$ac_exeext conftest.$ac_ext
7664 LIBS=$ac_check_lib_save_LIBS
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
7667 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
7668 if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
7669 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
7675 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7676 # socket/setsockopt and other routines are undefined under SCO ODT
7677 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7678 # on later versions), says Simon Leinen: it contains gethostby*
7679 # variants that don't use the name server (or something). -lsocket
7680 # must be given before -lnsl if both are needed. We assume that
7681 # if connect needs -lnsl, so does gethostbyname.
7682 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
7683 if test "x$ac_cv_func_connect" = x""yes; then :
7687 if test $ac_cv_func_connect = no; then
7688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
7689 $as_echo_n "checking for connect in -lsocket... " >&6; }
7690 if test "${ac_cv_lib_socket_connect+set}" = set; then :
7691 $as_echo_n "(cached) " >&6
7692 else
7693 ac_check_lib_save_LIBS=$LIBS
7694 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
7695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7696 /* end confdefs.h. */
7698 /* Override any GCC internal prototype to avoid an error.
7699 Use char because int might match the return type of a GCC
7700 builtin and then its argument prototype would still apply. */
7701 #ifdef __cplusplus
7702 extern "C"
7703 #endif
7704 char connect ();
7706 main ()
7708 return connect ();
7710 return 0;
7712 _ACEOF
7713 if ac_fn_c_try_link "$LINENO"; then :
7714 ac_cv_lib_socket_connect=yes
7715 else
7716 ac_cv_lib_socket_connect=no
7718 rm -f core conftest.err conftest.$ac_objext \
7719 conftest$ac_exeext conftest.$ac_ext
7720 LIBS=$ac_check_lib_save_LIBS
7722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
7723 $as_echo "$ac_cv_lib_socket_connect" >&6; }
7724 if test "x$ac_cv_lib_socket_connect" = x""yes; then :
7725 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
7730 # Guillermo Gomez says -lposix is necessary on A/UX.
7731 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
7732 if test "x$ac_cv_func_remove" = x""yes; then :
7736 if test $ac_cv_func_remove = no; then
7737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
7738 $as_echo_n "checking for remove in -lposix... " >&6; }
7739 if test "${ac_cv_lib_posix_remove+set}" = set; then :
7740 $as_echo_n "(cached) " >&6
7741 else
7742 ac_check_lib_save_LIBS=$LIBS
7743 LIBS="-lposix $LIBS"
7744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7745 /* end confdefs.h. */
7747 /* Override any GCC internal prototype to avoid an error.
7748 Use char because int might match the return type of a GCC
7749 builtin and then its argument prototype would still apply. */
7750 #ifdef __cplusplus
7751 extern "C"
7752 #endif
7753 char remove ();
7755 main ()
7757 return remove ();
7759 return 0;
7761 _ACEOF
7762 if ac_fn_c_try_link "$LINENO"; then :
7763 ac_cv_lib_posix_remove=yes
7764 else
7765 ac_cv_lib_posix_remove=no
7767 rm -f core conftest.err conftest.$ac_objext \
7768 conftest$ac_exeext conftest.$ac_ext
7769 LIBS=$ac_check_lib_save_LIBS
7771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
7772 $as_echo "$ac_cv_lib_posix_remove" >&6; }
7773 if test "x$ac_cv_lib_posix_remove" = x""yes; then :
7774 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
7779 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7780 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
7781 if test "x$ac_cv_func_shmat" = x""yes; then :
7785 if test $ac_cv_func_shmat = no; then
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
7787 $as_echo_n "checking for shmat in -lipc... " >&6; }
7788 if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
7789 $as_echo_n "(cached) " >&6
7790 else
7791 ac_check_lib_save_LIBS=$LIBS
7792 LIBS="-lipc $LIBS"
7793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7794 /* end confdefs.h. */
7796 /* Override any GCC internal prototype to avoid an error.
7797 Use char because int might match the return type of a GCC
7798 builtin and then its argument prototype would still apply. */
7799 #ifdef __cplusplus
7800 extern "C"
7801 #endif
7802 char shmat ();
7804 main ()
7806 return shmat ();
7808 return 0;
7810 _ACEOF
7811 if ac_fn_c_try_link "$LINENO"; then :
7812 ac_cv_lib_ipc_shmat=yes
7813 else
7814 ac_cv_lib_ipc_shmat=no
7816 rm -f core conftest.err conftest.$ac_objext \
7817 conftest$ac_exeext conftest.$ac_ext
7818 LIBS=$ac_check_lib_save_LIBS
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
7821 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
7822 if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
7823 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
7829 # Check for libraries that X11R6 Xt/Xaw programs need.
7830 ac_save_LDFLAGS=$LDFLAGS
7831 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
7832 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7833 # check for ICE first), but we must link in the order -lSM -lICE or
7834 # we get undefined symbols. So assume we have SM if we have ICE.
7835 # These have to be linked with before -lX11, unlike the other
7836 # libraries we check for below, so use a different variable.
7837 # John Interrante, Karl Berry
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
7839 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
7840 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
7841 $as_echo_n "(cached) " >&6
7842 else
7843 ac_check_lib_save_LIBS=$LIBS
7844 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
7845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7846 /* end confdefs.h. */
7848 /* Override any GCC internal prototype to avoid an error.
7849 Use char because int might match the return type of a GCC
7850 builtin and then its argument prototype would still apply. */
7851 #ifdef __cplusplus
7852 extern "C"
7853 #endif
7854 char IceConnectionNumber ();
7856 main ()
7858 return IceConnectionNumber ();
7860 return 0;
7862 _ACEOF
7863 if ac_fn_c_try_link "$LINENO"; then :
7864 ac_cv_lib_ICE_IceConnectionNumber=yes
7865 else
7866 ac_cv_lib_ICE_IceConnectionNumber=no
7868 rm -f core conftest.err conftest.$ac_objext \
7869 conftest$ac_exeext conftest.$ac_ext
7870 LIBS=$ac_check_lib_save_LIBS
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
7873 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
7874 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
7875 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
7878 LDFLAGS=$ac_save_LDFLAGS
7883 if test "$have_x" = "yes"
7884 then
7885 XLIB="-lX11"
7886 ac_save_CPPFLAGS="$CPPFLAGS"
7887 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
7890 $as_echo_n "checking for -lX11... " >&6; }
7891 if test "${ac_cv_lib_soname_X11+set}" = set; then :
7892 $as_echo_n "(cached) " >&6
7893 else
7894 ac_check_soname_save_LIBS=$LIBS
7895 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
7896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7897 /* end confdefs.h. */
7899 /* Override any GCC internal prototype to avoid an error.
7900 Use char because int might match the return type of a GCC
7901 builtin and then its argument prototype would still apply. */
7902 #ifdef __cplusplus
7903 extern "C"
7904 #endif
7905 char XCreateWindow ();
7907 main ()
7909 return XCreateWindow ();
7911 return 0;
7913 _ACEOF
7914 if ac_fn_c_try_link "$LINENO"; then :
7915 case "$LIBEXT" in
7916 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
7917 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'` ;;
7918 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
7919 esac
7921 rm -f core conftest.err conftest.$ac_objext \
7922 conftest$ac_exeext conftest.$ac_ext
7923 LIBS=$ac_check_soname_save_LIBS
7925 if test "x$ac_cv_lib_soname_X11" = "x"; then :
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
7927 $as_echo "not found" >&6; }
7929 else
7930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
7931 $as_echo "$ac_cv_lib_soname_X11" >&6; }
7933 cat >>confdefs.h <<_ACEOF
7934 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
7935 _ACEOF
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
7940 $as_echo_n "checking for -lXext... " >&6; }
7941 if test "${ac_cv_lib_soname_Xext+set}" = set; then :
7942 $as_echo_n "(cached) " >&6
7943 else
7944 ac_check_soname_save_LIBS=$LIBS
7945 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
7946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7947 /* end confdefs.h. */
7949 /* Override any GCC internal prototype to avoid an error.
7950 Use char because int might match the return type of a GCC
7951 builtin and then its argument prototype would still apply. */
7952 #ifdef __cplusplus
7953 extern "C"
7954 #endif
7955 char XextCreateExtension ();
7957 main ()
7959 return XextCreateExtension ();
7961 return 0;
7963 _ACEOF
7964 if ac_fn_c_try_link "$LINENO"; then :
7965 case "$LIBEXT" in
7966 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
7967 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'` ;;
7968 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
7969 esac
7971 rm -f core conftest.err conftest.$ac_objext \
7972 conftest$ac_exeext conftest.$ac_ext
7973 LIBS=$ac_check_soname_save_LIBS
7975 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
7977 $as_echo "not found" >&6; }
7979 else
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
7981 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
7983 cat >>confdefs.h <<_ACEOF
7984 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
7985 _ACEOF
7987 XLIB="-lXext $XLIB"
7990 for ac_header in X11/Xlib.h \
7991 X11/XKBlib.h \
7992 X11/Xutil.h \
7993 X11/Xcursor/Xcursor.h \
7994 X11/extensions/shape.h \
7995 X11/extensions/XInput.h \
7996 X11/extensions/XShm.h \
7997 X11/extensions/Xcomposite.h \
7998 X11/extensions/Xinerama.h \
7999 X11/extensions/Xrandr.h \
8000 X11/extensions/Xrender.h \
8001 X11/extensions/xf86vmode.h \
8002 X11/extensions/xf86vmproto.h
8003 do :
8004 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8005 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
8006 # include <X11/Xlib.h>
8007 #endif
8008 #ifdef HAVE_X11_XUTIL_H
8009 # include <X11/Xutil.h>
8010 #endif
8012 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8013 cat >>confdefs.h <<_ACEOF
8014 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8015 _ACEOF
8019 done
8022 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8023 then
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
8025 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
8026 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then :
8027 $as_echo_n "(cached) " >&6
8028 else
8029 ac_check_lib_save_LIBS=$LIBS
8030 LIBS="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8032 /* end confdefs.h. */
8034 /* Override any GCC internal prototype to avoid an error.
8035 Use char because int might match the return type of a GCC
8036 builtin and then its argument prototype would still apply. */
8037 #ifdef __cplusplus
8038 extern "C"
8039 #endif
8040 char XkbQueryExtension ();
8042 main ()
8044 return XkbQueryExtension ();
8046 return 0;
8048 _ACEOF
8049 if ac_fn_c_try_link "$LINENO"; then :
8050 ac_cv_lib_X11_XkbQueryExtension=yes
8051 else
8052 ac_cv_lib_X11_XkbQueryExtension=no
8054 rm -f core conftest.err conftest.$ac_objext \
8055 conftest$ac_exeext conftest.$ac_ext
8056 LIBS=$ac_check_lib_save_LIBS
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8059 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8060 if test "x$ac_cv_lib_X11_XkbQueryExtension" = x""yes; then :
8062 $as_echo "#define HAVE_XKB 1" >>confdefs.h
8068 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
8069 then
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
8071 $as_echo_n "checking for -lXcursor... " >&6; }
8072 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then :
8073 $as_echo_n "(cached) " >&6
8074 else
8075 ac_check_soname_save_LIBS=$LIBS
8076 LIBS="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8078 /* end confdefs.h. */
8080 /* Override any GCC internal prototype to avoid an error.
8081 Use char because int might match the return type of a GCC
8082 builtin and then its argument prototype would still apply. */
8083 #ifdef __cplusplus
8084 extern "C"
8085 #endif
8086 char XcursorImageLoadCursor ();
8088 main ()
8090 return XcursorImageLoadCursor ();
8092 return 0;
8094 _ACEOF
8095 if ac_fn_c_try_link "$LINENO"; then :
8096 case "$LIBEXT" in
8097 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8098 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'` ;;
8099 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8100 esac
8102 rm -f core conftest.err conftest.$ac_objext \
8103 conftest$ac_exeext conftest.$ac_ext
8104 LIBS=$ac_check_soname_save_LIBS
8106 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8108 $as_echo "not found" >&6; }
8110 else
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
8112 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
8114 cat >>confdefs.h <<_ACEOF
8115 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
8116 _ACEOF
8121 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8122 case "x$with_xcursor" in
8123 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
8124 xno) ;;
8125 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
8126 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
8127 esac
8130 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
8131 then
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
8133 $as_echo_n "checking for -lXi... " >&6; }
8134 if test "${ac_cv_lib_soname_Xi+set}" = set; then :
8135 $as_echo_n "(cached) " >&6
8136 else
8137 ac_check_soname_save_LIBS=$LIBS
8138 LIBS="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8140 /* end confdefs.h. */
8142 /* Override any GCC internal prototype to avoid an error.
8143 Use char because int might match the return type of a GCC
8144 builtin and then its argument prototype would still apply. */
8145 #ifdef __cplusplus
8146 extern "C"
8147 #endif
8148 char XOpenDevice ();
8150 main ()
8152 return XOpenDevice ();
8154 return 0;
8156 _ACEOF
8157 if ac_fn_c_try_link "$LINENO"; then :
8158 case "$LIBEXT" in
8159 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8160 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'` ;;
8161 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8162 esac
8164 rm -f core conftest.err conftest.$ac_objext \
8165 conftest$ac_exeext conftest.$ac_ext
8166 LIBS=$ac_check_soname_save_LIBS
8168 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8170 $as_echo "not found" >&6; }
8172 else
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
8174 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
8176 cat >>confdefs.h <<_ACEOF
8177 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
8178 _ACEOF
8183 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8184 case "x$with_xinput" in
8185 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
8186 xno) ;;
8187 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
8188 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
8189 esac
8192 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8193 then
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
8195 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
8196 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then :
8197 $as_echo_n "(cached) " >&6
8198 else
8199 ac_check_lib_save_LIBS=$LIBS
8200 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8202 /* end confdefs.h. */
8204 /* Override any GCC internal prototype to avoid an error.
8205 Use char because int might match the return type of a GCC
8206 builtin and then its argument prototype would still apply. */
8207 #ifdef __cplusplus
8208 extern "C"
8209 #endif
8210 char XShmQueryExtension ();
8212 main ()
8214 return XShmQueryExtension ();
8216 return 0;
8218 _ACEOF
8219 if ac_fn_c_try_link "$LINENO"; then :
8220 ac_cv_lib_Xext_XShmQueryExtension=yes
8221 else
8222 ac_cv_lib_Xext_XShmQueryExtension=no
8224 rm -f core conftest.err conftest.$ac_objext \
8225 conftest$ac_exeext conftest.$ac_ext
8226 LIBS=$ac_check_lib_save_LIBS
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8229 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8230 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = x""yes; then :
8232 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
8237 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
8238 case "x$with_xshm" in
8239 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
8240 xno) ;;
8241 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
8242 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
8243 esac
8246 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8247 then
8248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
8249 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8250 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then :
8251 $as_echo_n "(cached) " >&6
8252 else
8253 ac_check_lib_save_LIBS=$LIBS
8254 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8256 /* end confdefs.h. */
8258 /* Override any GCC internal prototype to avoid an error.
8259 Use char because int might match the return type of a GCC
8260 builtin and then its argument prototype would still apply. */
8261 #ifdef __cplusplus
8262 extern "C"
8263 #endif
8264 char XShapeQueryExtension ();
8266 main ()
8268 return XShapeQueryExtension ();
8270 return 0;
8272 _ACEOF
8273 if ac_fn_c_try_link "$LINENO"; then :
8274 ac_cv_lib_Xext_XShapeQueryExtension=yes
8275 else
8276 ac_cv_lib_Xext_XShapeQueryExtension=no
8278 rm -f core conftest.err conftest.$ac_objext \
8279 conftest$ac_exeext conftest.$ac_ext
8280 LIBS=$ac_check_lib_save_LIBS
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8283 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8284 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = x""yes; then :
8286 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
8291 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
8292 case "x$with_xshape" in
8293 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
8294 xno) ;;
8295 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
8296 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
8297 esac
8300 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
8301 then
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
8303 $as_echo_n "checking for -lXxf86vm... " >&6; }
8304 if test "${ac_cv_lib_soname_Xxf86vm+set}" = set; then :
8305 $as_echo_n "(cached) " >&6
8306 else
8307 ac_check_soname_save_LIBS=$LIBS
8308 LIBS="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8310 /* end confdefs.h. */
8312 /* Override any GCC internal prototype to avoid an error.
8313 Use char because int might match the return type of a GCC
8314 builtin and then its argument prototype would still apply. */
8315 #ifdef __cplusplus
8316 extern "C"
8317 #endif
8318 char XF86VidModeQueryExtension ();
8320 main ()
8322 return XF86VidModeQueryExtension ();
8324 return 0;
8326 _ACEOF
8327 if ac_fn_c_try_link "$LINENO"; then :
8328 case "$LIBEXT" in
8329 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8330 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'` ;;
8331 *) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8332 esac
8334 rm -f core conftest.err conftest.$ac_objext \
8335 conftest$ac_exeext conftest.$ac_ext
8336 LIBS=$ac_check_soname_save_LIBS
8338 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8340 $as_echo "not found" >&6; }
8342 else
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
8344 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
8346 cat >>confdefs.h <<_ACEOF
8347 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
8348 _ACEOF
8353 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8354 case "x$with_xxf86vm" in
8355 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
8356 xno) ;;
8357 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
8358 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
8359 esac
8362 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x" -a "x$ac_cv_lib_soname_Xext" != "x"
8363 then
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
8365 $as_echo_n "checking for -lXrender... " >&6; }
8366 if test "${ac_cv_lib_soname_Xrender+set}" = set; then :
8367 $as_echo_n "(cached) " >&6
8368 else
8369 ac_check_soname_save_LIBS=$LIBS
8370 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8372 /* end confdefs.h. */
8374 /* Override any GCC internal prototype to avoid an error.
8375 Use char because int might match the return type of a GCC
8376 builtin and then its argument prototype would still apply. */
8377 #ifdef __cplusplus
8378 extern "C"
8379 #endif
8380 char XRenderQueryExtension ();
8382 main ()
8384 return XRenderQueryExtension ();
8386 return 0;
8388 _ACEOF
8389 if ac_fn_c_try_link "$LINENO"; then :
8390 case "$LIBEXT" in
8391 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8392 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'` ;;
8393 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8394 esac
8396 rm -f core conftest.err conftest.$ac_objext \
8397 conftest$ac_exeext conftest.$ac_ext
8398 LIBS=$ac_check_soname_save_LIBS
8400 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8402 $as_echo "not found" >&6; }
8404 else
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
8406 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
8408 cat >>confdefs.h <<_ACEOF
8409 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
8410 _ACEOF
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
8413 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
8414 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then :
8415 $as_echo_n "(cached) " >&6
8416 else
8417 ac_check_lib_save_LIBS=$LIBS
8418 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8420 /* end confdefs.h. */
8422 /* Override any GCC internal prototype to avoid an error.
8423 Use char because int might match the return type of a GCC
8424 builtin and then its argument prototype would still apply. */
8425 #ifdef __cplusplus
8426 extern "C"
8427 #endif
8428 char XRenderSetPictureTransform ();
8430 main ()
8432 return XRenderSetPictureTransform ();
8434 return 0;
8436 _ACEOF
8437 if ac_fn_c_try_link "$LINENO"; then :
8438 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
8439 else
8440 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
8442 rm -f core conftest.err conftest.$ac_objext \
8443 conftest$ac_exeext conftest.$ac_ext
8444 LIBS=$ac_check_lib_save_LIBS
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8447 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8448 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = x""yes; then :
8450 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
8457 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8458 case "x$with_xrender" in
8459 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
8460 xno) ;;
8461 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
8462 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
8463 esac
8466 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
8467 then
8468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8469 /* end confdefs.h. */
8470 #include <X11/Xlib.h>
8471 #include <X11/extensions/Xrandr.h>
8473 main ()
8475 static typeof(XRRSetScreenConfigAndRate) * func;
8477 return 0;
8479 _ACEOF
8480 if ac_fn_c_try_compile "$LINENO"; then :
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
8482 $as_echo_n "checking for -lXrandr... " >&6; }
8483 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then :
8484 $as_echo_n "(cached) " >&6
8485 else
8486 ac_check_soname_save_LIBS=$LIBS
8487 LIBS="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8489 /* end confdefs.h. */
8491 /* Override any GCC internal prototype to avoid an error.
8492 Use char because int might match the return type of a GCC
8493 builtin and then its argument prototype would still apply. */
8494 #ifdef __cplusplus
8495 extern "C"
8496 #endif
8497 char XRRQueryExtension ();
8499 main ()
8501 return XRRQueryExtension ();
8503 return 0;
8505 _ACEOF
8506 if ac_fn_c_try_link "$LINENO"; then :
8507 case "$LIBEXT" in
8508 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8509 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'` ;;
8510 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8511 esac
8513 rm -f core conftest.err conftest.$ac_objext \
8514 conftest$ac_exeext conftest.$ac_ext
8515 LIBS=$ac_check_soname_save_LIBS
8517 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8519 $as_echo "not found" >&6; }
8521 else
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
8523 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
8525 cat >>confdefs.h <<_ACEOF
8526 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
8527 _ACEOF
8532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8534 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8535 case "x$with_xrandr" in
8536 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
8537 xno) ;;
8538 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
8539 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
8540 esac
8543 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8544 then
8545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8546 /* end confdefs.h. */
8547 #include <X11/Xlib.h>
8548 #include <X11/extensions/Xinerama.h>
8550 main ()
8552 static typeof(XineramaQueryScreens) * func;
8554 return 0;
8556 _ACEOF
8557 if ac_fn_c_try_compile "$LINENO"; then :
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
8559 $as_echo_n "checking for -lXinerama... " >&6; }
8560 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then :
8561 $as_echo_n "(cached) " >&6
8562 else
8563 ac_check_soname_save_LIBS=$LIBS
8564 LIBS="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8566 /* end confdefs.h. */
8568 /* Override any GCC internal prototype to avoid an error.
8569 Use char because int might match the return type of a GCC
8570 builtin and then its argument prototype would still apply. */
8571 #ifdef __cplusplus
8572 extern "C"
8573 #endif
8574 char XineramaQueryScreens ();
8576 main ()
8578 return XineramaQueryScreens ();
8580 return 0;
8582 _ACEOF
8583 if ac_fn_c_try_link "$LINENO"; then :
8584 case "$LIBEXT" in
8585 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8586 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'` ;;
8587 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8588 esac
8590 rm -f core conftest.err conftest.$ac_objext \
8591 conftest$ac_exeext conftest.$ac_ext
8592 LIBS=$ac_check_soname_save_LIBS
8594 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8596 $as_echo "not found" >&6; }
8598 else
8599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
8600 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
8602 cat >>confdefs.h <<_ACEOF
8603 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
8604 _ACEOF
8609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8611 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8612 case "x$with_xinerama" in
8613 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
8614 xno) ;;
8615 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
8616 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
8617 esac
8620 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
8621 then
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
8623 $as_echo_n "checking for -lXcomposite... " >&6; }
8624 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then :
8625 $as_echo_n "(cached) " >&6
8626 else
8627 ac_check_soname_save_LIBS=$LIBS
8628 LIBS="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8630 /* end confdefs.h. */
8632 /* Override any GCC internal prototype to avoid an error.
8633 Use char because int might match the return type of a GCC
8634 builtin and then its argument prototype would still apply. */
8635 #ifdef __cplusplus
8636 extern "C"
8637 #endif
8638 char XCompositeRedirectWindow ();
8640 main ()
8642 return XCompositeRedirectWindow ();
8644 return 0;
8646 _ACEOF
8647 if ac_fn_c_try_link "$LINENO"; then :
8648 case "$LIBEXT" in
8649 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8650 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'` ;;
8651 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8652 esac
8654 rm -f core conftest.err conftest.$ac_objext \
8655 conftest$ac_exeext conftest.$ac_ext
8656 LIBS=$ac_check_soname_save_LIBS
8658 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8660 $as_echo "not found" >&6; }
8662 else
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
8664 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
8666 cat >>confdefs.h <<_ACEOF
8667 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
8668 _ACEOF
8673 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8674 case "x$with_xcomposite" in
8675 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
8676 xno) ;;
8677 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
8678 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
8679 esac
8682 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
8683 #include <X11/Xlib.h>
8684 #endif
8686 if test "x$ac_cv_member_XICCallback_callback" = x""yes; then :
8688 cat >>confdefs.h <<_ACEOF
8689 #define HAVE_XICCALLBACK_CALLBACK 1
8690 _ACEOF
8697 opengl_msg=""
8698 if test "x$with_opengl" != "xno"
8699 then
8700 for ac_header in GL/gl.h GL/glx.h GL/glu.h
8701 do :
8702 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8703 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_GL_GLX_H
8704 # include <GL/glx.h>
8705 #endif
8707 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8708 cat >>confdefs.h <<_ACEOF
8709 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8710 _ACEOF
8714 done
8716 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8717 then
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for up-to-date OpenGL version" >&5
8719 $as_echo_n "checking for up-to-date OpenGL version... " >&6; }
8720 if test "${wine_cv_opengl_header_version_OK+set}" = set; then :
8721 $as_echo_n "(cached) " >&6
8722 else
8723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8724 /* end confdefs.h. */
8725 #include <GL/gl.h>
8727 main ()
8729 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8731 return 0;
8733 _ACEOF
8734 if ac_fn_c_try_compile "$LINENO"; then :
8735 wine_cv_opengl_header_version_OK="yes"
8736 else
8737 wine_cv_opengl_header_version_OK="no"
8739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_opengl_header_version_OK" >&5
8742 $as_echo "$wine_cv_opengl_header_version_OK" >&6; }
8744 if test "$wine_cv_opengl_header_version_OK" = "yes"
8745 then
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8747 $as_echo_n "checking for -lGL... " >&6; }
8748 if test "${ac_cv_lib_soname_GL+set}" = set; then :
8749 $as_echo_n "(cached) " >&6
8750 else
8751 ac_check_soname_save_LIBS=$LIBS
8752 LIBS="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8754 /* end confdefs.h. */
8756 /* Override any GCC internal prototype to avoid an error.
8757 Use char because int might match the return type of a GCC
8758 builtin and then its argument prototype would still apply. */
8759 #ifdef __cplusplus
8760 extern "C"
8761 #endif
8762 char glXCreateContext ();
8764 main ()
8766 return glXCreateContext ();
8768 return 0;
8770 _ACEOF
8771 if ac_fn_c_try_link "$LINENO"; then :
8772 case "$LIBEXT" in
8773 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8774 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'` ;;
8775 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8776 esac
8778 rm -f core conftest.err conftest.$ac_objext \
8779 conftest$ac_exeext conftest.$ac_ext
8780 LIBS=$ac_check_soname_save_LIBS
8782 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8784 $as_echo "not found" >&6; }
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8786 $as_echo_n "checking for -lGL... " >&6; }
8787 if test "${ac_cv_lib_soname_GL+set}" = set; then :
8788 $as_echo_n "(cached) " >&6
8789 else
8790 ac_check_soname_save_LIBS=$LIBS
8791 LIBS="-lGL $X_LIBS $XLIB -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"
8792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8793 /* end confdefs.h. */
8795 /* Override any GCC internal prototype to avoid an error.
8796 Use char because int might match the return type of a GCC
8797 builtin and then its argument prototype would still apply. */
8798 #ifdef __cplusplus
8799 extern "C"
8800 #endif
8801 char glXCreateContext ();
8803 main ()
8805 return glXCreateContext ();
8807 return 0;
8809 _ACEOF
8810 if ac_fn_c_try_link "$LINENO"; then :
8811 case "$LIBEXT" in
8812 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8813 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'` ;;
8814 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8815 esac
8817 rm -f core conftest.err conftest.$ac_objext \
8818 conftest$ac_exeext conftest.$ac_ext
8819 LIBS=$ac_check_soname_save_LIBS
8821 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8823 $as_echo "not found" >&6; }
8824 if test -f /usr/X11R6/lib/libGL.a
8825 then
8826 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
8827 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
8828 else
8829 opengl_msg="No OpenGL library found on this system."
8831 else
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8833 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8835 cat >>confdefs.h <<_ACEOF
8836 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8837 _ACEOF
8839 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"
8841 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8844 else
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8846 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8848 cat >>confdefs.h <<_ACEOF
8849 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8850 _ACEOF
8852 OPENGL_LIBS="-lGL"
8854 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8857 if test "$ac_cv_header_GL_glu_h" = "yes"
8858 then
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
8860 $as_echo_n "checking for -lGLU... " >&6; }
8861 if test "${ac_cv_lib_soname_GLU+set}" = set; then :
8862 $as_echo_n "(cached) " >&6
8863 else
8864 ac_check_soname_save_LIBS=$LIBS
8865 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8867 /* end confdefs.h. */
8869 /* Override any GCC internal prototype to avoid an error.
8870 Use char because int might match the return type of a GCC
8871 builtin and then its argument prototype would still apply. */
8872 #ifdef __cplusplus
8873 extern "C"
8874 #endif
8875 char gluLookAt ();
8877 main ()
8879 return gluLookAt ();
8881 return 0;
8883 _ACEOF
8884 if ac_fn_c_try_link "$LINENO"; then :
8885 case "$LIBEXT" in
8886 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8887 dylib) ac_cv_lib_soname_GLU=`otool -L conftest$ac_exeext | grep "libGLU\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLU\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
8888 *) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8889 esac
8891 rm -f core conftest.err conftest.$ac_objext \
8892 conftest$ac_exeext conftest.$ac_ext
8893 LIBS=$ac_check_soname_save_LIBS
8895 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8897 $as_echo "not found" >&6; }
8899 else
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
8901 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
8903 cat >>confdefs.h <<_ACEOF
8904 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
8905 _ACEOF
8910 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
8911 case "x$with_glu" in
8912 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
8913 xno) ;;
8914 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
8915 This is an error since --with-glu was requested." "$LINENO" 5 ;;
8916 esac
8918 else
8919 opengl_msg="Old Mesa headers detected. Consider upgrading your Mesa libraries."
8921 else
8922 opengl_msg="OpenGL development headers not found."
8924 test -n "$opengl_msg" && enable_opengl32=${enable_opengl32:-no}
8925 test "x$ac_cv_lib_soname_GLU" = "x" && enable_glu32=${enable_glu32:-no}
8926 else
8927 enable_opengl32=${enable_opengl32:-no}
8928 enable_glu32=${enable_glu32:-no}
8930 if test -n "$opengl_msg"; then :
8931 case "x$with_opengl" in
8932 x) as_fn_append wine_warnings "|$opengl_msg
8933 OpenGL and Direct3D won't be supported." ;;
8934 xno) ;;
8935 *) as_fn_error $? "$opengl_msg
8936 OpenGL and Direct3D won't be supported.
8937 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
8938 esac
8941 NASLIBS=""
8943 for ac_header in audio/audiolib.h
8944 do :
8945 ac_fn_c_check_header_mongrel "$LINENO" "audio/audiolib.h" "ac_cv_header_audio_audiolib_h" "$ac_includes_default"
8946 if test "x$ac_cv_header_audio_audiolib_h" = x""yes; then :
8947 cat >>confdefs.h <<_ACEOF
8948 #define HAVE_AUDIO_AUDIOLIB_H 1
8949 _ACEOF
8950 for ac_header in audio/soundlib.h
8951 do :
8952 ac_fn_c_check_header_compile "$LINENO" "audio/soundlib.h" "ac_cv_header_audio_soundlib_h" "#include <audio/audiolib.h>
8954 if test "x$ac_cv_header_audio_soundlib_h" = x""yes; then :
8955 cat >>confdefs.h <<_ACEOF
8956 #define HAVE_AUDIO_SOUNDLIB_H 1
8957 _ACEOF
8961 done
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AuCreateFlow in -laudio" >&5
8964 $as_echo_n "checking for AuCreateFlow in -laudio... " >&6; }
8965 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then :
8966 $as_echo_n "(cached) " >&6
8967 else
8968 ac_check_lib_save_LIBS=$LIBS
8969 LIBS="-laudio -lXt $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8971 /* end confdefs.h. */
8973 /* Override any GCC internal prototype to avoid an error.
8974 Use char because int might match the return type of a GCC
8975 builtin and then its argument prototype would still apply. */
8976 #ifdef __cplusplus
8977 extern "C"
8978 #endif
8979 char AuCreateFlow ();
8981 main ()
8983 return AuCreateFlow ();
8985 return 0;
8987 _ACEOF
8988 if ac_fn_c_try_link "$LINENO"; then :
8989 ac_cv_lib_audio_AuCreateFlow=yes
8990 else
8991 ac_cv_lib_audio_AuCreateFlow=no
8993 rm -f core conftest.err conftest.$ac_objext \
8994 conftest$ac_exeext conftest.$ac_ext
8995 LIBS=$ac_check_lib_save_LIBS
8997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8998 $as_echo "$ac_cv_lib_audio_AuCreateFlow" >&6; }
8999 if test "x$ac_cv_lib_audio_AuCreateFlow" = x""yes; then :
9001 $as_echo "#define HAVE_NAS 1" >>confdefs.h
9003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XauGetBestAuthByAddr in -lXau" >&5
9004 $as_echo_n "checking for XauGetBestAuthByAddr in -lXau... " >&6; }
9005 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then :
9006 $as_echo_n "(cached) " >&6
9007 else
9008 ac_check_lib_save_LIBS=$LIBS
9009 LIBS="-lXau $X_LIBS $LIBS"
9010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9011 /* end confdefs.h. */
9013 /* Override any GCC internal prototype to avoid an error.
9014 Use char because int might match the return type of a GCC
9015 builtin and then its argument prototype would still apply. */
9016 #ifdef __cplusplus
9017 extern "C"
9018 #endif
9019 char XauGetBestAuthByAddr ();
9021 main ()
9023 return XauGetBestAuthByAddr ();
9025 return 0;
9027 _ACEOF
9028 if ac_fn_c_try_link "$LINENO"; then :
9029 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
9030 else
9031 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
9033 rm -f core conftest.err conftest.$ac_objext \
9034 conftest$ac_exeext conftest.$ac_ext
9035 LIBS=$ac_check_lib_save_LIBS
9037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
9038 $as_echo "$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
9039 if test "x$ac_cv_lib_Xau_XauGetBestAuthByAddr" = x""yes; then :
9040 NASLIBS="-lXau -laudio -lXt $X_LIBS $XLIB $X_EXTRA_LIBS"
9041 else
9042 NASLIBS="-laudio -lXt $X_LIBS $XLIB $X_EXTRA_LIBS"
9050 done
9053 CPPFLAGS="$ac_save_CPPFLAGS"
9054 else
9055 XLIB=""
9056 X_CFLAGS=""
9057 X_LIBS=""
9058 enable_winex11_drv=${enable_winex11_drv:-no}
9059 enable_opengl32=${enable_opengl32:-no}
9060 enable_glu32=${enable_glu32:-no}
9062 if test "x$XLIB" = "x"; then :
9063 case "x$with_x" in
9064 xno) ;;
9065 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
9066 without X support, which probably isn't what you want. You will need
9067 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
9068 Use the --without-x option if you really want this." "$LINENO" 5 ;;
9069 esac
9072 if test "$ac_cv_header_CL_opencl_h" = "yes"
9073 then
9074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
9075 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
9076 if test "${ac_cv_lib_OpenCL_clGetPlatformInfo+set}" = set; then :
9077 $as_echo_n "(cached) " >&6
9078 else
9079 ac_check_lib_save_LIBS=$LIBS
9080 LIBS="-lOpenCL $LIBS"
9081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9082 /* end confdefs.h. */
9084 /* Override any GCC internal prototype to avoid an error.
9085 Use char because int might match the return type of a GCC
9086 builtin and then its argument prototype would still apply. */
9087 #ifdef __cplusplus
9088 extern "C"
9089 #endif
9090 char clGetPlatformInfo ();
9092 main ()
9094 return clGetPlatformInfo ();
9096 return 0;
9098 _ACEOF
9099 if ac_fn_c_try_link "$LINENO"; then :
9100 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9101 else
9102 ac_cv_lib_OpenCL_clGetPlatformInfo=no
9104 rm -f core conftest.err conftest.$ac_objext \
9105 conftest$ac_exeext conftest.$ac_ext
9106 LIBS=$ac_check_lib_save_LIBS
9108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
9109 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
9110 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = x""yes; then :
9111 LIBOPENCL="-lOpenCL"
9116 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
9117 case "x$with_opencl" in
9118 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
9119 xno) ;;
9120 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
9121 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
9122 esac
9124 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
9127 XML2LIBS=""
9129 XML2INCL=""
9131 XSLTINCL=""
9133 if test "x$with_xml" != "xno"
9134 then
9135 ac_save_CPPFLAGS="$CPPFLAGS"
9136 if test "$PKG_CONFIG" != "false"
9137 then
9138 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
9139 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
9140 else
9141 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
9142 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
9144 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
9145 for ac_header in libxml/parser.h
9146 do :
9147 ac_fn_c_check_header_mongrel "$LINENO" "libxml/parser.h" "ac_cv_header_libxml_parser_h" "$ac_includes_default"
9148 if test "x$ac_cv_header_libxml_parser_h" = x""yes; then :
9149 cat >>confdefs.h <<_ACEOF
9150 #define HAVE_LIBXML_PARSER_H 1
9151 _ACEOF
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
9153 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
9154 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then :
9155 $as_echo_n "(cached) " >&6
9156 else
9157 ac_check_lib_save_LIBS=$LIBS
9158 LIBS="-lxml2 $ac_xml_libs $LIBS"
9159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9160 /* end confdefs.h. */
9162 /* Override any GCC internal prototype to avoid an error.
9163 Use char because int might match the return type of a GCC
9164 builtin and then its argument prototype would still apply. */
9165 #ifdef __cplusplus
9166 extern "C"
9167 #endif
9168 char xmlParseMemory ();
9170 main ()
9172 return xmlParseMemory ();
9174 return 0;
9176 _ACEOF
9177 if ac_fn_c_try_link "$LINENO"; then :
9178 ac_cv_lib_xml2_xmlParseMemory=yes
9179 else
9180 ac_cv_lib_xml2_xmlParseMemory=no
9182 rm -f core conftest.err conftest.$ac_objext \
9183 conftest$ac_exeext conftest.$ac_ext
9184 LIBS=$ac_check_lib_save_LIBS
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9187 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9188 if test "x$ac_cv_lib_xml2_xmlParseMemory" = x""yes; then :
9190 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
9192 XML2LIBS="$ac_xml_libs"
9193 XML2INCL="$ac_xml_cflags"
9196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
9197 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
9198 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then :
9199 $as_echo_n "(cached) " >&6
9200 else
9201 ac_check_lib_save_LIBS=$LIBS
9202 LIBS="-lxml2 $ac_xml_libs $LIBS"
9203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9204 /* end confdefs.h. */
9206 /* Override any GCC internal prototype to avoid an error.
9207 Use char because int might match the return type of a GCC
9208 builtin and then its argument prototype would still apply. */
9209 #ifdef __cplusplus
9210 extern "C"
9211 #endif
9212 char xmlReadMemory ();
9214 main ()
9216 return xmlReadMemory ();
9218 return 0;
9220 _ACEOF
9221 if ac_fn_c_try_link "$LINENO"; then :
9222 ac_cv_lib_xml2_xmlReadMemory=yes
9223 else
9224 ac_cv_lib_xml2_xmlReadMemory=no
9226 rm -f core conftest.err conftest.$ac_objext \
9227 conftest$ac_exeext conftest.$ac_ext
9228 LIBS=$ac_check_lib_save_LIBS
9230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9231 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9232 if test "x$ac_cv_lib_xml2_xmlReadMemory" = x""yes; then :
9234 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
9238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
9239 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
9240 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then :
9241 $as_echo_n "(cached) " >&6
9242 else
9243 ac_check_lib_save_LIBS=$LIBS
9244 LIBS="-lxml2 $ac_xml_libs $LIBS"
9245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9246 /* end confdefs.h. */
9248 /* Override any GCC internal prototype to avoid an error.
9249 Use char because int might match the return type of a GCC
9250 builtin and then its argument prototype would still apply. */
9251 #ifdef __cplusplus
9252 extern "C"
9253 #endif
9254 char xmlNewDocPI ();
9256 main ()
9258 return xmlNewDocPI ();
9260 return 0;
9262 _ACEOF
9263 if ac_fn_c_try_link "$LINENO"; then :
9264 ac_cv_lib_xml2_xmlNewDocPI=yes
9265 else
9266 ac_cv_lib_xml2_xmlNewDocPI=no
9268 rm -f core conftest.err conftest.$ac_objext \
9269 conftest$ac_exeext conftest.$ac_ext
9270 LIBS=$ac_check_lib_save_LIBS
9272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9273 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9274 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = x""yes; then :
9276 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
9280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
9281 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
9282 if test "${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+set}" = set; then :
9283 $as_echo_n "(cached) " >&6
9284 else
9285 ac_check_lib_save_LIBS=$LIBS
9286 LIBS="-lxml2 $ac_xml_libs $LIBS"
9287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9288 /* end confdefs.h. */
9290 /* Override any GCC internal prototype to avoid an error.
9291 Use char because int might match the return type of a GCC
9292 builtin and then its argument prototype would still apply. */
9293 #ifdef __cplusplus
9294 extern "C"
9295 #endif
9296 char xmlSchemaSetParserStructuredErrors ();
9298 main ()
9300 return xmlSchemaSetParserStructuredErrors ();
9302 return 0;
9304 _ACEOF
9305 if ac_fn_c_try_link "$LINENO"; then :
9306 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
9307 else
9308 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
9310 rm -f core conftest.err conftest.$ac_objext \
9311 conftest$ac_exeext conftest.$ac_ext
9312 LIBS=$ac_check_lib_save_LIBS
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
9315 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
9316 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = x""yes; then :
9318 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
9323 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
9324 if test "${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+set}" = set; then :
9325 $as_echo_n "(cached) " >&6
9326 else
9327 ac_check_lib_save_LIBS=$LIBS
9328 LIBS="-lxml2 $ac_xml_libs $LIBS"
9329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9330 /* end confdefs.h. */
9332 /* Override any GCC internal prototype to avoid an error.
9333 Use char because int might match the return type of a GCC
9334 builtin and then its argument prototype would still apply. */
9335 #ifdef __cplusplus
9336 extern "C"
9337 #endif
9338 char xmlSchemaSetValidStructuredErrors ();
9340 main ()
9342 return xmlSchemaSetValidStructuredErrors ();
9344 return 0;
9346 _ACEOF
9347 if ac_fn_c_try_link "$LINENO"; then :
9348 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
9349 else
9350 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
9352 rm -f core conftest.err conftest.$ac_objext \
9353 conftest$ac_exeext conftest.$ac_ext
9354 LIBS=$ac_check_lib_save_LIBS
9356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
9357 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
9358 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = x""yes; then :
9360 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
9365 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
9366 if test "${ac_cv_lib_xml2_xmlFirstElementChild+set}" = set; then :
9367 $as_echo_n "(cached) " >&6
9368 else
9369 ac_check_lib_save_LIBS=$LIBS
9370 LIBS="-lxml2 $ac_xml_libs $LIBS"
9371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9372 /* end confdefs.h. */
9374 /* Override any GCC internal prototype to avoid an error.
9375 Use char because int might match the return type of a GCC
9376 builtin and then its argument prototype would still apply. */
9377 #ifdef __cplusplus
9378 extern "C"
9379 #endif
9380 char xmlFirstElementChild ();
9382 main ()
9384 return xmlFirstElementChild ();
9386 return 0;
9388 _ACEOF
9389 if ac_fn_c_try_link "$LINENO"; then :
9390 ac_cv_lib_xml2_xmlFirstElementChild=yes
9391 else
9392 ac_cv_lib_xml2_xmlFirstElementChild=no
9394 rm -f core conftest.err conftest.$ac_objext \
9395 conftest$ac_exeext conftest.$ac_ext
9396 LIBS=$ac_check_lib_save_LIBS
9398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
9399 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
9400 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = x""yes; then :
9402 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
9406 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
9408 if test "x$ac_cv_type_xmlDocProperties" = x""yes; then :
9410 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
9417 done
9419 CPPFLAGS="$ac_save_CPPFLAGS"
9421 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
9422 case "x$with_xml" in
9423 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found, XML won't be supported." ;;
9424 xno) ;;
9425 *) as_fn_error $? "libxml2 ${notice_platform}development files not found, XML won't be supported.
9426 This is an error since --with-xml was requested." "$LINENO" 5 ;;
9427 esac
9430 if test "x$with_xslt" != "xno"
9431 then
9432 if test "$PKG_CONFIG" != "false"
9433 then
9434 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9435 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9436 else
9437 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
9438 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
9440 ac_save_CPPFLAGS="$CPPFLAGS"
9441 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
9442 for ac_header in libxslt/pattern.h libxslt/transform.h
9443 do :
9444 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9445 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
9446 # include <libxslt/pattern.h>
9447 #endif
9449 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9450 cat >>confdefs.h <<_ACEOF
9451 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9452 _ACEOF
9456 done
9458 CPPFLAGS="$ac_save_CPPFLAGS"
9459 if test "$ac_cv_header_libxslt_transform_h" = "yes"
9460 then
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
9462 $as_echo_n "checking for -lxslt... " >&6; }
9463 if test "${ac_cv_lib_soname_xslt+set}" = set; then :
9464 $as_echo_n "(cached) " >&6
9465 else
9466 ac_check_soname_save_LIBS=$LIBS
9467 LIBS="-lxslt $ac_xslt_libs $LIBS"
9468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9469 /* end confdefs.h. */
9471 /* Override any GCC internal prototype to avoid an error.
9472 Use char because int might match the return type of a GCC
9473 builtin and then its argument prototype would still apply. */
9474 #ifdef __cplusplus
9475 extern "C"
9476 #endif
9477 char xsltCompilePattern ();
9479 main ()
9481 return xsltCompilePattern ();
9483 return 0;
9485 _ACEOF
9486 if ac_fn_c_try_link "$LINENO"; then :
9487 case "$LIBEXT" in
9488 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9489 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'` ;;
9490 *) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9491 esac
9493 rm -f core conftest.err conftest.$ac_objext \
9494 conftest$ac_exeext conftest.$ac_ext
9495 LIBS=$ac_check_soname_save_LIBS
9497 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9499 $as_echo "not found" >&6; }
9501 else
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
9503 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
9505 cat >>confdefs.h <<_ACEOF
9506 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
9507 _ACEOF
9509 XSLTINCL="$ac_xslt_cflags"
9513 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9514 case "x$with_xslt" in
9515 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
9516 xno) ;;
9517 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
9518 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
9519 esac
9522 HALINCL=""
9524 if test "x$with_hal" != "xno"
9525 then
9526 ac_save_CPPFLAGS="$CPPFLAGS"
9527 if test "$PKG_CONFIG" != "false"
9528 then
9529 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
9530 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
9531 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
9533 for ac_header in dbus/dbus.h hal/libhal.h
9534 do :
9535 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9536 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9537 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9538 cat >>confdefs.h <<_ACEOF
9539 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9540 _ACEOF
9544 done
9546 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
9547 then
9548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbus_connection_close in -ldbus-1" >&5
9549 $as_echo_n "checking for dbus_connection_close in -ldbus-1... " >&6; }
9550 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then :
9551 $as_echo_n "(cached) " >&6
9552 else
9553 ac_check_lib_save_LIBS=$LIBS
9554 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
9555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9556 /* end confdefs.h. */
9558 /* Override any GCC internal prototype to avoid an error.
9559 Use char because int might match the return type of a GCC
9560 builtin and then its argument prototype would still apply. */
9561 #ifdef __cplusplus
9562 extern "C"
9563 #endif
9564 char dbus_connection_close ();
9566 main ()
9568 return dbus_connection_close ();
9570 return 0;
9572 _ACEOF
9573 if ac_fn_c_try_link "$LINENO"; then :
9574 ac_cv_lib_dbus_1_dbus_connection_close=yes
9575 else
9576 ac_cv_lib_dbus_1_dbus_connection_close=no
9578 rm -f core conftest.err conftest.$ac_objext \
9579 conftest$ac_exeext conftest.$ac_ext
9580 LIBS=$ac_check_lib_save_LIBS
9582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
9583 $as_echo "$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
9584 if test "x$ac_cv_lib_dbus_1_dbus_connection_close" = x""yes; then :
9585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
9586 $as_echo_n "checking for -lhal... " >&6; }
9587 if test "${ac_cv_lib_soname_hal+set}" = set; then :
9588 $as_echo_n "(cached) " >&6
9589 else
9590 ac_check_soname_save_LIBS=$LIBS
9591 LIBS="-lhal $ac_hal_libs $LIBS"
9592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9593 /* end confdefs.h. */
9595 /* Override any GCC internal prototype to avoid an error.
9596 Use char because int might match the return type of a GCC
9597 builtin and then its argument prototype would still apply. */
9598 #ifdef __cplusplus
9599 extern "C"
9600 #endif
9601 char libhal_ctx_new ();
9603 main ()
9605 return libhal_ctx_new ();
9607 return 0;
9609 _ACEOF
9610 if ac_fn_c_try_link "$LINENO"; then :
9611 case "$LIBEXT" in
9612 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9613 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'` ;;
9614 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9615 esac
9617 rm -f core conftest.err conftest.$ac_objext \
9618 conftest$ac_exeext conftest.$ac_ext
9619 LIBS=$ac_check_soname_save_LIBS
9621 if test "x$ac_cv_lib_soname_hal" = "x"; then :
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9623 $as_echo "not found" >&6; }
9625 else
9626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
9627 $as_echo "$ac_cv_lib_soname_hal" >&6; }
9629 cat >>confdefs.h <<_ACEOF
9630 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
9631 _ACEOF
9633 HALINCL="$ac_hal_cflags"
9638 CPPFLAGS="$ac_save_CPPFLAGS"
9640 if test "x$ac_cv_lib_soname_hal" = "x" -a "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
9641 case "x$with_hal" in
9642 x) as_fn_append wine_notices "|libhal/libdbus ${notice_platform}development files not found, no dynamic device support." ;;
9643 xno) ;;
9644 *) as_fn_error $? "libhal/libdbus ${notice_platform}development files not found, no dynamic device support.
9645 This is an error since --with-hal was requested." "$LINENO" 5 ;;
9646 esac
9649 if test "x$with_gnutls" != "xno"
9650 then
9651 ac_save_CPPFLAGS="$CPPFLAGS"
9652 if test "$PKG_CONFIG" != "false"
9653 then
9654 ac_gnutls_libs="`$PKG_CONFIG --libs gnutls 2>/dev/null`"
9655 ac_gnutls_cflags="`$PKG_CONFIG --cflags gnutls 2>/dev/null`"
9656 CPPFLAGS="$CPPFLAGS $ac_gnutls_cflags"
9658 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
9659 if test "x$ac_cv_header_gnutls_gnutls_h" = x""yes; then :
9660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9661 /* end confdefs.h. */
9662 #include <gnutls/gnutls.h>
9664 main ()
9666 typeof(gnutls_mac_get_key_size) *pfunc;
9668 return 0;
9670 _ACEOF
9671 if ac_fn_c_try_compile "$LINENO"; then :
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
9673 $as_echo_n "checking for -lgnutls... " >&6; }
9674 if test "${ac_cv_lib_soname_gnutls+set}" = set; then :
9675 $as_echo_n "(cached) " >&6
9676 else
9677 ac_check_soname_save_LIBS=$LIBS
9678 LIBS="-lgnutls $ac_gnutls_libs $LIBS"
9679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9680 /* end confdefs.h. */
9682 /* Override any GCC internal prototype to avoid an error.
9683 Use char because int might match the return type of a GCC
9684 builtin and then its argument prototype would still apply. */
9685 #ifdef __cplusplus
9686 extern "C"
9687 #endif
9688 char gnutls_global_init ();
9690 main ()
9692 return gnutls_global_init ();
9694 return 0;
9696 _ACEOF
9697 if ac_fn_c_try_link "$LINENO"; then :
9698 case "$LIBEXT" in
9699 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9700 dylib) ac_cv_lib_soname_gnutls=`otool -L conftest$ac_exeext | grep "libgnutls\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgnutls\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9701 *) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9702 esac
9704 rm -f core conftest.err conftest.$ac_objext \
9705 conftest$ac_exeext conftest.$ac_ext
9706 LIBS=$ac_check_soname_save_LIBS
9708 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9710 $as_echo "not found" >&6; }
9712 else
9713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
9714 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
9716 cat >>confdefs.h <<_ACEOF
9717 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
9718 _ACEOF
9720 GNUTLSINCL="$ac_gnutls_cflags"
9724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9728 CPPFLAGS="$ac_save_CPPFLAGS"
9730 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9731 case "x$with_gnutls" in
9732 x) as_fn_append wine_notices "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
9733 xno) ;;
9734 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
9735 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
9736 esac
9739 CURSESLIBS=""
9740 if test "$ac_cv_header_ncurses_h" = "yes"
9741 then
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
9743 $as_echo_n "checking for -lncurses... " >&6; }
9744 if test "${ac_cv_lib_soname_ncurses+set}" = set; then :
9745 $as_echo_n "(cached) " >&6
9746 else
9747 ac_check_soname_save_LIBS=$LIBS
9748 LIBS="-lncurses $LIBS"
9749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9750 /* end confdefs.h. */
9752 /* Override any GCC internal prototype to avoid an error.
9753 Use char because int might match the return type of a GCC
9754 builtin and then its argument prototype would still apply. */
9755 #ifdef __cplusplus
9756 extern "C"
9757 #endif
9758 char waddch ();
9760 main ()
9762 return waddch ();
9764 return 0;
9766 _ACEOF
9767 if ac_fn_c_try_link "$LINENO"; then :
9768 case "$LIBEXT" in
9769 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9770 dylib) ac_cv_lib_soname_ncurses=`otool -L conftest$ac_exeext | grep "libncurses\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libncurses\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9771 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9772 esac
9774 rm -f core conftest.err conftest.$ac_objext \
9775 conftest$ac_exeext conftest.$ac_ext
9776 LIBS=$ac_check_soname_save_LIBS
9778 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9780 $as_echo "not found" >&6; }
9782 else
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
9784 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
9786 cat >>confdefs.h <<_ACEOF
9787 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
9788 _ACEOF
9790 CURSESLIBS="-lncurses"
9792 elif test "$ac_cv_header_curses_h" = "yes"
9793 then
9794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
9795 $as_echo_n "checking for -lcurses... " >&6; }
9796 if test "${ac_cv_lib_soname_curses+set}" = set; then :
9797 $as_echo_n "(cached) " >&6
9798 else
9799 ac_check_soname_save_LIBS=$LIBS
9800 LIBS="-lcurses $LIBS"
9801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9802 /* end confdefs.h. */
9804 /* Override any GCC internal prototype to avoid an error.
9805 Use char because int might match the return type of a GCC
9806 builtin and then its argument prototype would still apply. */
9807 #ifdef __cplusplus
9808 extern "C"
9809 #endif
9810 char waddch ();
9812 main ()
9814 return waddch ();
9816 return 0;
9818 _ACEOF
9819 if ac_fn_c_try_link "$LINENO"; then :
9820 case "$LIBEXT" in
9821 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9822 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'` ;;
9823 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9824 esac
9826 rm -f core conftest.err conftest.$ac_objext \
9827 conftest$ac_exeext conftest.$ac_ext
9828 LIBS=$ac_check_soname_save_LIBS
9830 if test "x$ac_cv_lib_soname_curses" = "x"; then :
9831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9832 $as_echo "not found" >&6; }
9834 else
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
9836 $as_echo "$ac_cv_lib_soname_curses" >&6; }
9838 cat >>confdefs.h <<_ACEOF
9839 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
9840 _ACEOF
9842 CURSESLIBS="-lcurses"
9845 ac_save_LIBS="$LIBS"
9846 LIBS="$LIBS $CURSESLIBS"
9847 for ac_func in mousemask
9848 do :
9849 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
9850 if test "x$ac_cv_func_mousemask" = x""yes; then :
9851 cat >>confdefs.h <<_ACEOF
9852 #define HAVE_MOUSEMASK 1
9853 _ACEOF
9856 done
9858 LIBS="$ac_save_LIBS"
9859 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
9860 case "x$with_curses" in
9861 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
9862 xno) ;;
9863 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
9864 This is an error since --with-curses was requested." "$LINENO" 5 ;;
9865 esac
9868 if test "x$with_sane" != "xno"
9869 then
9870 ac_save_CPPFLAGS="$CPPFLAGS"
9871 # Extract the first word of "sane-config", so it can be a program name with args.
9872 set dummy sane-config; ac_word=$2
9873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9874 $as_echo_n "checking for $ac_word... " >&6; }
9875 if test "${ac_cv_prog_sane_devel+set}" = set; then :
9876 $as_echo_n "(cached) " >&6
9877 else
9878 if test -n "$sane_devel"; then
9879 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
9880 else
9881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9882 for as_dir in $PATH
9884 IFS=$as_save_IFS
9885 test -z "$as_dir" && as_dir=.
9886 for ac_exec_ext in '' $ac_executable_extensions; do
9887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9888 ac_cv_prog_sane_devel="sane-config"
9889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9890 break 2
9892 done
9893 done
9894 IFS=$as_save_IFS
9896 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
9899 sane_devel=$ac_cv_prog_sane_devel
9900 if test -n "$sane_devel"; then
9901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sane_devel" >&5
9902 $as_echo "$sane_devel" >&6; }
9903 else
9904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9905 $as_echo "no" >&6; }
9909 if test "$sane_devel" != "no"
9910 then
9911 ac_sane_incl="`$sane_devel --cflags`"
9912 ac_sane_libs="`$sane_devel --ldflags`"
9913 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
9915 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
9916 if test "x$ac_cv_header_sane_sane_h" = x""yes; then :
9917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
9918 $as_echo_n "checking for -lsane... " >&6; }
9919 if test "${ac_cv_lib_soname_sane+set}" = set; then :
9920 $as_echo_n "(cached) " >&6
9921 else
9922 ac_check_soname_save_LIBS=$LIBS
9923 LIBS="-lsane $ac_sane_libs $LIBS"
9924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9925 /* end confdefs.h. */
9927 /* Override any GCC internal prototype to avoid an error.
9928 Use char because int might match the return type of a GCC
9929 builtin and then its argument prototype would still apply. */
9930 #ifdef __cplusplus
9931 extern "C"
9932 #endif
9933 char sane_init ();
9935 main ()
9937 return sane_init ();
9939 return 0;
9941 _ACEOF
9942 if ac_fn_c_try_link "$LINENO"; then :
9943 case "$LIBEXT" in
9944 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9945 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'` ;;
9946 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9947 esac
9949 rm -f core conftest.err conftest.$ac_objext \
9950 conftest$ac_exeext conftest.$ac_ext
9951 LIBS=$ac_check_soname_save_LIBS
9953 if test "x$ac_cv_lib_soname_sane" = "x"; then :
9954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9955 $as_echo "not found" >&6; }
9957 else
9958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
9959 $as_echo "$ac_cv_lib_soname_sane" >&6; }
9961 cat >>confdefs.h <<_ACEOF
9962 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
9963 _ACEOF
9965 SANEINCL="$ac_sane_incl"
9971 CPPFLAGS="$ac_save_CPPFLAGS"
9973 if test "x$ac_cv_lib_soname_sane" = "x"; then :
9974 case "x$with_sane" in
9975 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
9976 xno) ;;
9977 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
9978 This is an error since --with-sane was requested." "$LINENO" 5 ;;
9979 esac
9982 if test "x$with_v4l" != "xno"
9983 then
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
9985 $as_echo_n "checking for -lv4l1... " >&6; }
9986 if test "${ac_cv_lib_soname_v4l1+set}" = set; then :
9987 $as_echo_n "(cached) " >&6
9988 else
9989 ac_check_soname_save_LIBS=$LIBS
9990 LIBS="-lv4l1 $LIBS"
9991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9992 /* end confdefs.h. */
9994 /* Override any GCC internal prototype to avoid an error.
9995 Use char because int might match the return type of a GCC
9996 builtin and then its argument prototype would still apply. */
9997 #ifdef __cplusplus
9998 extern "C"
9999 #endif
10000 char v4l1_open ();
10002 main ()
10004 return v4l1_open ();
10006 return 0;
10008 _ACEOF
10009 if ac_fn_c_try_link "$LINENO"; then :
10010 case "$LIBEXT" in
10011 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10012 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'` ;;
10013 *) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10014 esac
10016 rm -f core conftest.err conftest.$ac_objext \
10017 conftest$ac_exeext conftest.$ac_ext
10018 LIBS=$ac_check_soname_save_LIBS
10020 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10022 $as_echo "not found" >&6; }
10024 else
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
10026 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
10028 cat >>confdefs.h <<_ACEOF
10029 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
10030 _ACEOF
10035 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10036 case "x$with_v4l" in
10037 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
10038 xno) ;;
10039 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
10040 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
10041 esac
10044 if test "x$with_gphoto" != "xno"
10045 then
10046 ac_save_CPPFLAGS="$CPPFLAGS"
10047 # Extract the first word of "gphoto2-config", so it can be a program name with args.
10048 set dummy gphoto2-config; ac_word=$2
10049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10050 $as_echo_n "checking for $ac_word... " >&6; }
10051 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then :
10052 $as_echo_n "(cached) " >&6
10053 else
10054 if test -n "$gphoto2_devel"; then
10055 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
10056 else
10057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10058 for as_dir in $PATH
10060 IFS=$as_save_IFS
10061 test -z "$as_dir" && as_dir=.
10062 for ac_exec_ext in '' $ac_executable_extensions; do
10063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10064 ac_cv_prog_gphoto2_devel="gphoto2-config"
10065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10066 break 2
10068 done
10069 done
10070 IFS=$as_save_IFS
10072 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
10075 gphoto2_devel=$ac_cv_prog_gphoto2_devel
10076 if test -n "$gphoto2_devel"; then
10077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2_devel" >&5
10078 $as_echo "$gphoto2_devel" >&6; }
10079 else
10080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10081 $as_echo "no" >&6; }
10085 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10086 set dummy gphoto2-port-config; ac_word=$2
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10088 $as_echo_n "checking for $ac_word... " >&6; }
10089 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then :
10090 $as_echo_n "(cached) " >&6
10091 else
10092 if test -n "$gphoto2port_devel"; then
10093 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
10094 else
10095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10096 for as_dir in $PATH
10098 IFS=$as_save_IFS
10099 test -z "$as_dir" && as_dir=.
10100 for ac_exec_ext in '' $ac_executable_extensions; do
10101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10102 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
10103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10104 break 2
10106 done
10107 done
10108 IFS=$as_save_IFS
10110 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
10113 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
10114 if test -n "$gphoto2port_devel"; then
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2port_devel" >&5
10116 $as_echo "$gphoto2port_devel" >&6; }
10117 else
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10119 $as_echo "no" >&6; }
10123 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10124 then
10125 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10126 ac_gphoto2_libs=""
10127 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10129 case "$i" in
10130 -L/usr/lib|-L/usr/lib64) ;;
10131 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
10132 esac
10133 done
10134 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
10136 ac_gphoto2_libs=${ac_gphoto2_libs:-"-lgphoto2"}
10137 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
10138 if test "x$ac_cv_header_gphoto2_camera_h" = x""yes; then :
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
10140 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
10141 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then :
10142 $as_echo_n "(cached) " >&6
10143 else
10144 ac_check_lib_save_LIBS=$LIBS
10145 LIBS="-lgphoto2 $ac_gphoto2_libs $LIBS"
10146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10147 /* end confdefs.h. */
10149 /* Override any GCC internal prototype to avoid an error.
10150 Use char because int might match the return type of a GCC
10151 builtin and then its argument prototype would still apply. */
10152 #ifdef __cplusplus
10153 extern "C"
10154 #endif
10155 char gp_camera_new ();
10157 main ()
10159 return gp_camera_new ();
10161 return 0;
10163 _ACEOF
10164 if ac_fn_c_try_link "$LINENO"; then :
10165 ac_cv_lib_gphoto2_gp_camera_new=yes
10166 else
10167 ac_cv_lib_gphoto2_gp_camera_new=no
10169 rm -f core conftest.err conftest.$ac_objext \
10170 conftest$ac_exeext conftest.$ac_ext
10171 LIBS=$ac_check_lib_save_LIBS
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10174 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10175 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = x""yes; then :
10177 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
10179 GPHOTO2LIBS="$ac_gphoto2_libs"
10181 GPHOTO2INCL="$ac_gphoto2_incl"
10188 CPPFLAGS="$ac_save_CPPFLAGS"
10190 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
10191 case "x$with_gphoto" in
10192 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
10193 xno) ;;
10194 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
10195 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10196 esac
10200 if test "$ac_cv_header_resolv_h" = "yes"
10201 then
10202 ac_save_LIBS="$LIBS"
10203 for lib in '' -lresolv
10205 LIBS="$lib $ac_save_LIBS"
10206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10207 /* end confdefs.h. */
10208 #ifdef HAVE_NETINET_IN_H
10209 #include <netinet/in.h>
10210 #endif
10211 #include <resolv.h>
10213 main ()
10215 res_query("foo",ns_c_in,0,0,0);
10217 return 0;
10219 _ACEOF
10220 if ac_fn_c_try_link "$LINENO"; then :
10222 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
10224 RESOLVLIBS="$lib"
10227 rm -f core conftest.err conftest.$ac_objext \
10228 conftest$ac_exeext conftest.$ac_ext
10229 if test "${RESOLVLIBS+set}" = set; then
10230 break
10232 done
10233 LIBS="$ac_save_LIBS"
10236 LCMSLIBS=""
10238 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10239 then
10240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms" >&5
10241 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms... " >&6; }
10242 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then :
10243 $as_echo_n "(cached) " >&6
10244 else
10245 ac_check_lib_save_LIBS=$LIBS
10246 LIBS="-llcms $LIBS"
10247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10248 /* end confdefs.h. */
10250 /* Override any GCC internal prototype to avoid an error.
10251 Use char because int might match the return type of a GCC
10252 builtin and then its argument prototype would still apply. */
10253 #ifdef __cplusplus
10254 extern "C"
10255 #endif
10256 char cmsOpenProfileFromFile ();
10258 main ()
10260 return cmsOpenProfileFromFile ();
10262 return 0;
10264 _ACEOF
10265 if ac_fn_c_try_link "$LINENO"; then :
10266 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
10267 else
10268 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
10270 rm -f core conftest.err conftest.$ac_objext \
10271 conftest$ac_exeext conftest.$ac_ext
10272 LIBS=$ac_check_lib_save_LIBS
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10275 $as_echo "$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10276 if test "x$ac_cv_lib_lcms_cmsOpenProfileFromFile" = x""yes; then :
10278 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
10280 LCMSLIBS="-llcms"
10284 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then :
10285 case "x$with_cms" in
10286 x) as_fn_append wine_notices "|liblcms ${notice_platform}development files not found, Color Management won't be supported." ;;
10287 xno) ;;
10288 *) as_fn_error $? "liblcms ${notice_platform}development files not found, Color Management won't be supported.
10289 This is an error since --with-cms was requested." "$LINENO" 5 ;;
10290 esac
10293 if test "x$with_freetype" != "xno"
10294 then
10295 for ac_prog in freetype-config freetype2-config
10297 # Extract the first word of "$ac_prog", so it can be a program name with args.
10298 set dummy $ac_prog; ac_word=$2
10299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10300 $as_echo_n "checking for $ac_word... " >&6; }
10301 if test "${ac_cv_prog_ft_devel+set}" = set; then :
10302 $as_echo_n "(cached) " >&6
10303 else
10304 if test -n "$ft_devel"; then
10305 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
10306 else
10307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10308 for as_dir in $PATH
10310 IFS=$as_save_IFS
10311 test -z "$as_dir" && as_dir=.
10312 for ac_exec_ext in '' $ac_executable_extensions; do
10313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10314 ac_cv_prog_ft_devel="$ac_prog"
10315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10316 break 2
10318 done
10319 done
10320 IFS=$as_save_IFS
10324 ft_devel=$ac_cv_prog_ft_devel
10325 if test -n "$ft_devel"; then
10326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ft_devel" >&5
10327 $as_echo "$ft_devel" >&6; }
10328 else
10329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10330 $as_echo "no" >&6; }
10334 test -n "$ft_devel" && break
10335 done
10336 test -n "$ft_devel" || ft_devel="no"
10338 if test "$ft_devel" != "no"
10339 then
10340 ac_freetype_incl=`$ft_devel --cflags`
10341 ac_freetype_libs=`$ft_devel --libs`
10343 ac_freetype_libs=${ac_freetype_libs:-"-lfreetype"}
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
10345 $as_echo_n "checking for -lfreetype... " >&6; }
10346 if test "${ac_cv_lib_soname_freetype+set}" = set; then :
10347 $as_echo_n "(cached) " >&6
10348 else
10349 ac_check_soname_save_LIBS=$LIBS
10350 LIBS="-lfreetype $ac_freetype_libs $LIBS"
10351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10352 /* end confdefs.h. */
10354 /* Override any GCC internal prototype to avoid an error.
10355 Use char because int might match the return type of a GCC
10356 builtin and then its argument prototype would still apply. */
10357 #ifdef __cplusplus
10358 extern "C"
10359 #endif
10360 char FT_Init_FreeType ();
10362 main ()
10364 return FT_Init_FreeType ();
10366 return 0;
10368 _ACEOF
10369 if ac_fn_c_try_link "$LINENO"; then :
10370 case "$LIBEXT" in
10371 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10372 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'` ;;
10373 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10374 esac
10376 rm -f core conftest.err conftest.$ac_objext \
10377 conftest$ac_exeext conftest.$ac_ext
10378 LIBS=$ac_check_soname_save_LIBS
10380 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
10381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10382 $as_echo "not found" >&6; }
10383 ft_lib=no
10384 else
10385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
10386 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
10388 cat >>confdefs.h <<_ACEOF
10389 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10390 _ACEOF
10392 ft_lib=yes
10394 if test "$ft_lib" = "yes"
10395 then
10396 ac_save_CPPFLAGS="$CPPFLAGS"
10397 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
10398 for ac_header in ft2build.h \
10399 freetype/freetype.h \
10400 freetype/ftglyph.h \
10401 freetype/fttypes.h \
10402 freetype/tttables.h \
10403 freetype/ftsnames.h \
10404 freetype/ttnameid.h \
10405 freetype/ftoutln.h \
10406 freetype/ftwinfnt.h \
10407 freetype/ftmodapi.h \
10408 freetype/ftlcdfil.h \
10409 freetype/internal/sfnt.h
10410 do :
10411 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10412 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
10413 # include <ft2build.h>
10414 #endif
10416 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10417 cat >>confdefs.h <<_ACEOF
10418 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10419 _ACEOF
10423 done
10425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10426 /* end confdefs.h. */
10427 #include <ft2build.h>
10428 #include <freetype/fttrigon.h>
10429 _ACEOF
10430 if ac_fn_c_try_cpp "$LINENO"; then :
10432 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
10434 wine_cv_fttrigon=yes
10435 else
10436 wine_cv_fttrigon=no
10438 rm -f conftest.err conftest.i conftest.$ac_ext
10439 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
10441 if test "x$ac_cv_type_FT_TrueTypeEngineType" = x""yes; then :
10443 cat >>confdefs.h <<_ACEOF
10444 #define HAVE_FT_TRUETYPEENGINETYPE 1
10445 _ACEOF
10450 ac_save_CFLAGS="$CFLAGS"
10451 CFLAGS="$CFLAGS $ac_freetype_libs"
10452 for ac_func in FT_Load_Sfnt_Table
10453 do :
10454 ac_fn_c_check_func "$LINENO" "FT_Load_Sfnt_Table" "ac_cv_func_FT_Load_Sfnt_Table"
10455 if test "x$ac_cv_func_FT_Load_Sfnt_Table" = x""yes; then :
10456 cat >>confdefs.h <<_ACEOF
10457 #define HAVE_FT_LOAD_SFNT_TABLE 1
10458 _ACEOF
10461 done
10463 CFLAGS="$ac_save_CFLAGS"
10464 CPPFLAGS="$ac_save_CPPFLAGS"
10465 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10466 then
10468 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
10470 FREETYPELIBS="$ac_freetype_libs"
10472 FREETYPEINCL="$ac_freetype_incl"
10477 if test "x$FREETYPELIBS" = "x"; then :
10478 case "x$with_freetype" in
10479 xno) ;;
10480 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
10481 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
10482 esac
10484 test "x$FREETYPELIBS" = "x" && enable_fonts=${enable_fonts:-no}
10486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
10487 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
10488 if test "${ac_cv_c_ppdev+set}" = set; then :
10489 $as_echo_n "(cached) " >&6
10490 else
10491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10492 /* end confdefs.h. */
10493 #ifdef HAVE_SYS_IOCTL_H
10494 # include <sys/ioctl.h>
10495 #endif
10496 #include <linux/ppdev.h>
10498 main ()
10500 ioctl (1,PPCLAIM,0)
10502 return 0;
10504 _ACEOF
10505 if ac_fn_c_try_compile "$LINENO"; then :
10506 ac_cv_c_ppdev="yes"
10507 else
10508 ac_cv_c_ppdev="no"
10510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
10513 $as_echo "$ac_cv_c_ppdev" >&6; }
10514 if test "$ac_cv_c_ppdev" = "yes"
10515 then
10517 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
10521 ac_wine_check_funcs_save_LIBS="$LIBS"
10522 LIBS="$LIBS $LIBPTHREAD"
10523 for ac_func in \
10524 pthread_attr_get_np \
10525 pthread_getattr_np \
10526 pthread_get_stackaddr_np \
10527 pthread_get_stacksize_np
10528 do :
10529 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10530 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
10531 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
10532 cat >>confdefs.h <<_ACEOF
10533 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10534 _ACEOF
10537 done
10539 LIBS="$ac_wine_check_funcs_save_LIBS"
10541 if test "$ac_cv_header_zlib_h" = "yes"
10542 then
10543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
10544 $as_echo_n "checking for inflate in -lz... " >&6; }
10545 if test "${ac_cv_lib_z_inflate+set}" = set; then :
10546 $as_echo_n "(cached) " >&6
10547 else
10548 ac_check_lib_save_LIBS=$LIBS
10549 LIBS="-lz $LIBS"
10550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10551 /* end confdefs.h. */
10553 /* Override any GCC internal prototype to avoid an error.
10554 Use char because int might match the return type of a GCC
10555 builtin and then its argument prototype would still apply. */
10556 #ifdef __cplusplus
10557 extern "C"
10558 #endif
10559 char inflate ();
10561 main ()
10563 return inflate ();
10565 return 0;
10567 _ACEOF
10568 if ac_fn_c_try_link "$LINENO"; then :
10569 ac_cv_lib_z_inflate=yes
10570 else
10571 ac_cv_lib_z_inflate=no
10573 rm -f core conftest.err conftest.$ac_objext \
10574 conftest$ac_exeext conftest.$ac_ext
10575 LIBS=$ac_check_lib_save_LIBS
10577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
10578 $as_echo "$ac_cv_lib_z_inflate" >&6; }
10579 if test "x$ac_cv_lib_z_inflate" = x""yes; then :
10581 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
10583 ZLIB="-lz"
10589 if test "x$with_esd" != xno
10590 then
10591 save_CFLAGS="$CFLAGS"
10592 # Extract the first word of "esd-config", so it can be a program name with args.
10593 set dummy esd-config; ac_word=$2
10594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10595 $as_echo_n "checking for $ac_word... " >&6; }
10596 if test "${ac_cv_path_ESDCONFIG+set}" = set; then :
10597 $as_echo_n "(cached) " >&6
10598 else
10599 case $ESDCONFIG in
10600 [\\/]* | ?:[\\/]*)
10601 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
10604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10605 for as_dir in $PATH
10607 IFS=$as_save_IFS
10608 test -z "$as_dir" && as_dir=.
10609 for ac_exec_ext in '' $ac_executable_extensions; do
10610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10611 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
10612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10613 break 2
10615 done
10616 done
10617 IFS=$as_save_IFS
10619 test -z "$ac_cv_path_ESDCONFIG" && ac_cv_path_ESDCONFIG="no"
10621 esac
10623 ESDCONFIG=$ac_cv_path_ESDCONFIG
10624 if test -n "$ESDCONFIG"; then
10625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ESDCONFIG" >&5
10626 $as_echo "$ESDCONFIG" >&6; }
10627 else
10628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10629 $as_echo "no" >&6; }
10633 if test "x$ESDCONFIG" != "xno"
10634 then
10635 ac_esd_incl=""
10636 for i in `$ESDCONFIG --cflags`
10638 case "$i" in
10639 -I*) ac_esd_incl="$ac_esd_incl $i";;
10640 esac
10641 done
10642 ac_esd_libs=`$ESDCONFIG --libs`
10643 CFLAGS="$CFLAGS $ac_esd_incl"
10645 ac_esd_libs=${ac_esd_libs:-"-lesd"}
10646 ac_fn_c_check_header_mongrel "$LINENO" "esd.h" "ac_cv_header_esd_h" "$ac_includes_default"
10647 if test "x$ac_cv_header_esd_h" = x""yes; then :
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for esd_open_sound in -lesd" >&5
10649 $as_echo_n "checking for esd_open_sound in -lesd... " >&6; }
10650 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then :
10651 $as_echo_n "(cached) " >&6
10652 else
10653 ac_check_lib_save_LIBS=$LIBS
10654 LIBS="-lesd $ac_esd_libs $LIBS"
10655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10656 /* end confdefs.h. */
10658 /* Override any GCC internal prototype to avoid an error.
10659 Use char because int might match the return type of a GCC
10660 builtin and then its argument prototype would still apply. */
10661 #ifdef __cplusplus
10662 extern "C"
10663 #endif
10664 char esd_open_sound ();
10666 main ()
10668 return esd_open_sound ();
10670 return 0;
10672 _ACEOF
10673 if ac_fn_c_try_link "$LINENO"; then :
10674 ac_cv_lib_esd_esd_open_sound=yes
10675 else
10676 ac_cv_lib_esd_esd_open_sound=no
10678 rm -f core conftest.err conftest.$ac_objext \
10679 conftest$ac_exeext conftest.$ac_ext
10680 LIBS=$ac_check_lib_save_LIBS
10682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_esd_esd_open_sound" >&5
10683 $as_echo "$ac_cv_lib_esd_esd_open_sound" >&6; }
10684 if test "x$ac_cv_lib_esd_esd_open_sound" = x""yes; then :
10685 ESDINCL="$ac_esd_incl"
10687 ESDLIBS="$ac_esd_libs"
10690 $as_echo "#define HAVE_ESD 1" >>confdefs.h
10697 CFLAGS="$save_CFLAGS"
10700 if test "x$with_gstreamer" != "xno"
10701 then
10702 ac_save_CPPFLAGS="$CPPFLAGS"
10703 if test "$PKG_CONFIG" != "false"; then
10704 ac_gst_incl=""
10705 for i in `$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
10707 case "$i" in
10708 -I*) ac_gst_incl="$ac_gst_incl $i";;
10709 esac
10710 done
10711 ac_gst_libs="`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`"
10712 CPPFLAGS="$CPPFLAGS $ac_gst_incl"
10713 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
10714 if test "x$ac_cv_header_gst_gstpad_h" = x""yes; then :
10715 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
10716 if test "x$ac_cv_header_gst_app_gstappsink_h" = x""yes; then :
10717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
10718 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
10719 if test "${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+set}" = set; then :
10720 $as_echo_n "(cached) " >&6
10721 else
10722 ac_check_lib_save_LIBS=$LIBS
10723 LIBS="-lgstreamer-0.10 $LIBS"
10724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10725 /* end confdefs.h. */
10727 /* Override any GCC internal prototype to avoid an error.
10728 Use char because int might match the return type of a GCC
10729 builtin and then its argument prototype would still apply. */
10730 #ifdef __cplusplus
10731 extern "C"
10732 #endif
10733 char gst_pad_get_caps_reffed ();
10735 main ()
10737 return gst_pad_get_caps_reffed ();
10739 return 0;
10741 _ACEOF
10742 if ac_fn_c_try_link "$LINENO"; then :
10743 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
10744 else
10745 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
10747 rm -f core conftest.err conftest.$ac_objext \
10748 conftest$ac_exeext conftest.$ac_ext
10749 LIBS=$ac_check_lib_save_LIBS
10751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
10752 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
10753 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = x""yes; then :
10754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
10755 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
10756 if test "${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+set}" = set; then :
10757 $as_echo_n "(cached) " >&6
10758 else
10759 ac_check_lib_save_LIBS=$LIBS
10760 LIBS="-lgstapp-0.10 $ac_gst_libs $LIBS"
10761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10762 /* end confdefs.h. */
10764 /* Override any GCC internal prototype to avoid an error.
10765 Use char because int might match the return type of a GCC
10766 builtin and then its argument prototype would still apply. */
10767 #ifdef __cplusplus
10768 extern "C"
10769 #endif
10770 char gst_app_buffer_new ();
10772 main ()
10774 return gst_app_buffer_new ();
10776 return 0;
10778 _ACEOF
10779 if ac_fn_c_try_link "$LINENO"; then :
10780 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
10781 else
10782 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
10784 rm -f core conftest.err conftest.$ac_objext \
10785 conftest$ac_exeext conftest.$ac_ext
10786 LIBS=$ac_check_lib_save_LIBS
10788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
10789 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
10790 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = x""yes; then :
10791 GSTREAMER_LIBS="$ac_gst_libs"
10793 GSTREAMER_INCL="$ac_gst_incl"
10806 CPPFLAGS="$ac_save_CPPFLAGS"
10808 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes; then :
10809 case "x$with_gstreamer" in
10810 x) as_fn_append wine_notices "|gstreamer-0.10 ${notice_platform}development files not found, gstreamer support disabled" ;;
10811 xno) ;;
10812 *) as_fn_error $? "gstreamer-0.10 ${notice_platform}development files not found, gstreamer support disabled
10813 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
10814 esac
10816 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
10818 ALSALIBS=""
10820 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
10821 then
10822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access in -lasound" >&5
10823 $as_echo_n "checking for snd_pcm_hw_params_get_access in -lasound... " >&6; }
10824 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then :
10825 $as_echo_n "(cached) " >&6
10826 else
10827 ac_check_lib_save_LIBS=$LIBS
10828 LIBS="-lasound $LIBS"
10829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10830 /* end confdefs.h. */
10832 /* Override any GCC internal prototype to avoid an error.
10833 Use char because int might match the return type of a GCC
10834 builtin and then its argument prototype would still apply. */
10835 #ifdef __cplusplus
10836 extern "C"
10837 #endif
10838 char snd_pcm_hw_params_get_access ();
10840 main ()
10842 return snd_pcm_hw_params_get_access ();
10844 return 0;
10846 _ACEOF
10847 if ac_fn_c_try_link "$LINENO"; then :
10848 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
10849 else
10850 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
10852 rm -f core conftest.err conftest.$ac_objext \
10853 conftest$ac_exeext conftest.$ac_ext
10854 LIBS=$ac_check_lib_save_LIBS
10856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
10857 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
10858 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access" = x""yes; then :
10859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10860 /* end confdefs.h. */
10861 #ifdef HAVE_ALSA_ASOUNDLIB_H
10862 #include <alsa/asoundlib.h>
10863 #elif defined(HAVE_SYS_ASOUNDLIB_H)
10864 #include <sys/asoundlib.h>
10865 #endif
10867 main ()
10869 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
10871 return 0;
10873 _ACEOF
10874 if ac_fn_c_try_compile "$LINENO"; then :
10876 $as_echo "#define HAVE_ALSA 1" >>confdefs.h
10878 ALSALIBS="-lasound"
10880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10885 AUDIOIOLIBS=""
10887 if test "$ac_cv_header_libaudioio_h" = "yes"
10888 then
10889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AudioIOGetVersion in -laudioio" >&5
10890 $as_echo_n "checking for AudioIOGetVersion in -laudioio... " >&6; }
10891 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then :
10892 $as_echo_n "(cached) " >&6
10893 else
10894 ac_check_lib_save_LIBS=$LIBS
10895 LIBS="-laudioio $LIBS"
10896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10897 /* end confdefs.h. */
10899 /* Override any GCC internal prototype to avoid an error.
10900 Use char because int might match the return type of a GCC
10901 builtin and then its argument prototype would still apply. */
10902 #ifdef __cplusplus
10903 extern "C"
10904 #endif
10905 char AudioIOGetVersion ();
10907 main ()
10909 return AudioIOGetVersion ();
10911 return 0;
10913 _ACEOF
10914 if ac_fn_c_try_link "$LINENO"; then :
10915 ac_cv_lib_audioio_AudioIOGetVersion=yes
10916 else
10917 ac_cv_lib_audioio_AudioIOGetVersion=no
10919 rm -f core conftest.err conftest.$ac_objext \
10920 conftest$ac_exeext conftest.$ac_ext
10921 LIBS=$ac_check_lib_save_LIBS
10923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
10924 $as_echo "$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
10925 if test "x$ac_cv_lib_audioio_AudioIOGetVersion" = x""yes; then :
10926 AUDIOIOLIBS="-laudioio"
10928 $as_echo "#define HAVE_LIBAUDIOIO 1" >>confdefs.h
10935 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
10936 then
10937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
10938 $as_echo_n "checking for -lcapi20... " >&6; }
10939 if test "${ac_cv_lib_soname_capi20+set}" = set; then :
10940 $as_echo_n "(cached) " >&6
10941 else
10942 ac_check_soname_save_LIBS=$LIBS
10943 LIBS="-lcapi20 $LIBS"
10944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10945 /* end confdefs.h. */
10947 /* Override any GCC internal prototype to avoid an error.
10948 Use char because int might match the return type of a GCC
10949 builtin and then its argument prototype would still apply. */
10950 #ifdef __cplusplus
10951 extern "C"
10952 #endif
10953 char capi20_register ();
10955 main ()
10957 return capi20_register ();
10959 return 0;
10961 _ACEOF
10962 if ac_fn_c_try_link "$LINENO"; then :
10963 case "$LIBEXT" in
10964 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10965 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'` ;;
10966 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10967 esac
10969 rm -f core conftest.err conftest.$ac_objext \
10970 conftest$ac_exeext conftest.$ac_ext
10971 LIBS=$ac_check_soname_save_LIBS
10973 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
10974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10975 $as_echo "not found" >&6; }
10977 else
10978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
10979 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
10981 cat >>confdefs.h <<_ACEOF
10982 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
10983 _ACEOF
10988 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
10989 case "x$with_capi" in
10990 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
10991 xno) ;;
10992 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
10993 This is an error since --with-capi was requested." "$LINENO" 5 ;;
10994 esac
10997 CUPSINCL=""
10999 if test "x$with_cups" != "xno"
11000 then
11001 ac_save_CPPFLAGS="$CPPFLAGS"
11002 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
11003 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
11004 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
11005 for ac_header in cups/cups.h
11006 do :
11007 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
11008 if test "x$ac_cv_header_cups_cups_h" = x""yes; then :
11009 cat >>confdefs.h <<_ACEOF
11010 #define HAVE_CUPS_CUPS_H 1
11011 _ACEOF
11012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
11013 $as_echo_n "checking for -lcups... " >&6; }
11014 if test "${ac_cv_lib_soname_cups+set}" = set; then :
11015 $as_echo_n "(cached) " >&6
11016 else
11017 ac_check_soname_save_LIBS=$LIBS
11018 LIBS="-lcups $ac_cups_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 cupsGetDefault ();
11030 main ()
11032 return cupsGetDefault ();
11034 return 0;
11036 _ACEOF
11037 if ac_fn_c_try_link "$LINENO"; then :
11038 case "$LIBEXT" in
11039 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11040 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'` ;;
11041 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11042 esac
11044 rm -f core conftest.err conftest.$ac_objext \
11045 conftest$ac_exeext conftest.$ac_ext
11046 LIBS=$ac_check_soname_save_LIBS
11048 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11050 $as_echo "not found" >&6; }
11052 else
11053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
11054 $as_echo "$ac_cv_lib_soname_cups" >&6; }
11056 cat >>confdefs.h <<_ACEOF
11057 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
11058 _ACEOF
11060 CUPSINCL="$ac_cups_cflags"
11064 done
11066 CPPFLAGS="$ac_save_CPPFLAGS"
11068 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11069 case "x$with_cups" in
11070 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
11071 xno) ;;
11072 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
11073 This is an error since --with-cups was requested." "$LINENO" 5 ;;
11074 esac
11077 if test "$ac_cv_header_jack_jack_h" = "yes"
11078 then
11079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljack" >&5
11080 $as_echo_n "checking for -ljack... " >&6; }
11081 if test "${ac_cv_lib_soname_jack+set}" = set; then :
11082 $as_echo_n "(cached) " >&6
11083 else
11084 ac_check_soname_save_LIBS=$LIBS
11085 LIBS="-ljack $LIBS"
11086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11087 /* end confdefs.h. */
11089 /* Override any GCC internal prototype to avoid an error.
11090 Use char because int might match the return type of a GCC
11091 builtin and then its argument prototype would still apply. */
11092 #ifdef __cplusplus
11093 extern "C"
11094 #endif
11095 char jack_client_new ();
11097 main ()
11099 return jack_client_new ();
11101 return 0;
11103 _ACEOF
11104 if ac_fn_c_try_link "$LINENO"; then :
11105 case "$LIBEXT" in
11106 dll) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest.exe | grep "jack" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11107 dylib) ac_cv_lib_soname_jack=`otool -L conftest$ac_exeext | grep "libjack-*[0-9.]*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libjack-*[0-9.]*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11108 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack-*[0-9.]*\\.$LIBEXT" | sed -e "s/^.*\(libjack-*[0-9.]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11109 esac
11111 rm -f core conftest.err conftest.$ac_objext \
11112 conftest$ac_exeext conftest.$ac_ext
11113 LIBS=$ac_check_soname_save_LIBS
11115 if test "x$ac_cv_lib_soname_jack" = "x"; then :
11116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11117 $as_echo "not found" >&6; }
11119 else
11120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jack" >&5
11121 $as_echo "$ac_cv_lib_soname_jack" >&6; }
11123 cat >>confdefs.h <<_ACEOF
11124 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
11125 _ACEOF
11131 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11132 then
11133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11134 $as_echo_n "checking for -lfontconfig... " >&6; }
11135 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then :
11136 $as_echo_n "(cached) " >&6
11137 else
11138 ac_check_soname_save_LIBS=$LIBS
11139 LIBS="-lfontconfig $LIBS"
11140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11141 /* end confdefs.h. */
11143 /* Override any GCC internal prototype to avoid an error.
11144 Use char because int might match the return type of a GCC
11145 builtin and then its argument prototype would still apply. */
11146 #ifdef __cplusplus
11147 extern "C"
11148 #endif
11149 char FcInit ();
11151 main ()
11153 return FcInit ();
11155 return 0;
11157 _ACEOF
11158 if ac_fn_c_try_link "$LINENO"; then :
11159 case "$LIBEXT" in
11160 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11161 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'` ;;
11162 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11163 esac
11165 rm -f core conftest.err conftest.$ac_objext \
11166 conftest$ac_exeext conftest.$ac_ext
11167 LIBS=$ac_check_soname_save_LIBS
11169 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11171 $as_echo "not found" >&6; }
11173 else
11174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11175 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11177 cat >>confdefs.h <<_ACEOF
11178 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11179 _ACEOF
11183 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
11184 then
11185 ac_save_CPPFLAGS="$CPPFLAGS"
11186 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11187 $as_unset ac_cv_header_fontconfig_fontconfig_h
11188 for ac_header in fontconfig/fontconfig.h
11189 do :
11190 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
11191 if test "x$ac_cv_header_fontconfig_fontconfig_h" = x""yes; then :
11192 cat >>confdefs.h <<_ACEOF
11193 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
11194 _ACEOF
11198 done
11200 CPPFLAGS="$ac_save_CPPFLAGS"
11201 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11202 then
11203 FONTCONFIGINCL="$X_CFLAGS"
11205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11206 $as_echo_n "checking for -lfontconfig... " >&6; }
11207 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then :
11208 $as_echo_n "(cached) " >&6
11209 else
11210 ac_check_soname_save_LIBS=$LIBS
11211 LIBS="-lfontconfig $X_LIBS $LIBS"
11212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11213 /* end confdefs.h. */
11215 /* Override any GCC internal prototype to avoid an error.
11216 Use char because int might match the return type of a GCC
11217 builtin and then its argument prototype would still apply. */
11218 #ifdef __cplusplus
11219 extern "C"
11220 #endif
11221 char FcInit ();
11223 main ()
11225 return FcInit ();
11227 return 0;
11229 _ACEOF
11230 if ac_fn_c_try_link "$LINENO"; then :
11231 case "$LIBEXT" in
11232 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11233 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'` ;;
11234 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11235 esac
11237 rm -f core conftest.err conftest.$ac_objext \
11238 conftest$ac_exeext conftest.$ac_ext
11239 LIBS=$ac_check_soname_save_LIBS
11241 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11243 $as_echo "not found" >&6; }
11245 else
11246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11247 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11249 cat >>confdefs.h <<_ACEOF
11250 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11251 _ACEOF
11257 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11258 case "x$with_fontconfig" in
11259 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
11260 xno) ;;
11261 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
11262 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
11263 esac
11266 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
11267 then
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lssl" >&5
11269 $as_echo_n "checking for -lssl... " >&6; }
11270 if test "${ac_cv_lib_soname_ssl+set}" = set; then :
11271 $as_echo_n "(cached) " >&6
11272 else
11273 ac_check_soname_save_LIBS=$LIBS
11274 LIBS="-lssl $LIBS"
11275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11276 /* end confdefs.h. */
11278 /* Override any GCC internal prototype to avoid an error.
11279 Use char because int might match the return type of a GCC
11280 builtin and then its argument prototype would still apply. */
11281 #ifdef __cplusplus
11282 extern "C"
11283 #endif
11284 char SSL_library_init ();
11286 main ()
11288 return SSL_library_init ();
11290 return 0;
11292 _ACEOF
11293 if ac_fn_c_try_link "$LINENO"; then :
11294 case "$LIBEXT" in
11295 dll) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest.exe | grep "ssl" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11296 dylib) ac_cv_lib_soname_ssl=`otool -L conftest$ac_exeext | grep "libssl\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libssl\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11297 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11298 esac
11300 rm -f core conftest.err conftest.$ac_objext \
11301 conftest$ac_exeext conftest.$ac_ext
11302 LIBS=$ac_check_soname_save_LIBS
11304 if test "x$ac_cv_lib_soname_ssl" = "x"; then :
11305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11306 $as_echo "not found" >&6; }
11308 else
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ssl" >&5
11310 $as_echo "$ac_cv_lib_soname_ssl" >&6; }
11312 cat >>confdefs.h <<_ACEOF
11313 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
11314 _ACEOF
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcrypto" >&5
11319 $as_echo_n "checking for -lcrypto... " >&6; }
11320 if test "${ac_cv_lib_soname_crypto+set}" = set; then :
11321 $as_echo_n "(cached) " >&6
11322 else
11323 ac_check_soname_save_LIBS=$LIBS
11324 LIBS="-lcrypto $LIBS"
11325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11326 /* end confdefs.h. */
11328 /* Override any GCC internal prototype to avoid an error.
11329 Use char because int might match the return type of a GCC
11330 builtin and then its argument prototype would still apply. */
11331 #ifdef __cplusplus
11332 extern "C"
11333 #endif
11334 char BIO_new_socket ();
11336 main ()
11338 return BIO_new_socket ();
11340 return 0;
11342 _ACEOF
11343 if ac_fn_c_try_link "$LINENO"; then :
11344 case "$LIBEXT" in
11345 dll) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest.exe | grep "crypto" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11346 dylib) ac_cv_lib_soname_crypto=`otool -L conftest$ac_exeext | grep "libcrypto\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libcrypto\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11347 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11348 esac
11350 rm -f core conftest.err conftest.$ac_objext \
11351 conftest$ac_exeext conftest.$ac_ext
11352 LIBS=$ac_check_soname_save_LIBS
11354 if test "x$ac_cv_lib_soname_crypto" = "x"; then :
11355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11356 $as_echo "not found" >&6; }
11358 else
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_crypto" >&5
11360 $as_echo "$ac_cv_lib_soname_crypto" >&6; }
11362 cat >>confdefs.h <<_ACEOF
11363 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
11364 _ACEOF
11369 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then :
11370 case "x$with_openssl" in
11371 x) as_fn_append wine_warnings "|OpenSSL ${notice_platform}development files not found, SSL won't be supported." ;;
11372 xno) ;;
11373 *) as_fn_error $? "OpenSSL ${notice_platform}development files not found, SSL won't be supported.
11374 This is an error since --with-openssl was requested." "$LINENO" 5 ;;
11375 esac
11378 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
11379 then
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
11381 $as_echo_n "checking for -lgsm... " >&6; }
11382 if test "${ac_cv_lib_soname_gsm+set}" = set; then :
11383 $as_echo_n "(cached) " >&6
11384 else
11385 ac_check_soname_save_LIBS=$LIBS
11386 LIBS="-lgsm $LIBS"
11387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11388 /* end confdefs.h. */
11390 /* Override any GCC internal prototype to avoid an error.
11391 Use char because int might match the return type of a GCC
11392 builtin and then its argument prototype would still apply. */
11393 #ifdef __cplusplus
11394 extern "C"
11395 #endif
11396 char gsm_create ();
11398 main ()
11400 return gsm_create ();
11402 return 0;
11404 _ACEOF
11405 if ac_fn_c_try_link "$LINENO"; then :
11406 case "$LIBEXT" in
11407 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11408 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'` ;;
11409 *) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11410 esac
11412 rm -f core conftest.err conftest.$ac_objext \
11413 conftest$ac_exeext conftest.$ac_ext
11414 LIBS=$ac_check_soname_save_LIBS
11416 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11418 $as_echo "not found" >&6; }
11420 else
11421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
11422 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
11424 cat >>confdefs.h <<_ACEOF
11425 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
11426 _ACEOF
11431 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11432 case "x$with_gsm" in
11433 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
11434 xno) ;;
11435 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
11436 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
11437 esac
11440 if test "$ac_cv_header_icns_h" = "yes"
11441 then
11442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -licns" >&5
11443 $as_echo_n "checking for -licns... " >&6; }
11444 if test "${ac_cv_lib_soname_icns+set}" = set; then :
11445 $as_echo_n "(cached) " >&6
11446 else
11447 ac_check_soname_save_LIBS=$LIBS
11448 LIBS="-licns $LIBS"
11449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11450 /* end confdefs.h. */
11452 /* Override any GCC internal prototype to avoid an error.
11453 Use char because int might match the return type of a GCC
11454 builtin and then its argument prototype would still apply. */
11455 #ifdef __cplusplus
11456 extern "C"
11457 #endif
11458 char icns_write_family_to_file ();
11460 main ()
11462 return icns_write_family_to_file ();
11464 return 0;
11466 _ACEOF
11467 if ac_fn_c_try_link "$LINENO"; then :
11468 case "$LIBEXT" in
11469 dll) ac_cv_lib_soname_icns=`$ac_cv_path_LDD conftest.exe | grep "icns" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11470 dylib) ac_cv_lib_soname_icns=`otool -L conftest$ac_exeext | grep "libicns\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libicns\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11471 *) ac_cv_lib_soname_icns=`$ac_cv_path_LDD conftest$ac_exeext | grep "libicns\\.$LIBEXT" | sed -e "s/^.*\(libicns\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11472 esac
11474 rm -f core conftest.err conftest.$ac_objext \
11475 conftest$ac_exeext conftest.$ac_ext
11476 LIBS=$ac_check_soname_save_LIBS
11478 if test "x$ac_cv_lib_soname_icns" = "x"; then :
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11480 $as_echo "not found" >&6; }
11482 else
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_icns" >&5
11484 $as_echo "$ac_cv_lib_soname_icns" >&6; }
11486 cat >>confdefs.h <<_ACEOF
11487 #define SONAME_LIBICNS "$ac_cv_lib_soname_icns"
11488 _ACEOF
11493 case $host_os in
11494 darwin*|macosx*)
11495 if test "x$ac_cv_lib_soname_icns" = "x"; then :
11496 case "x$with_icns" in
11497 x) as_fn_append wine_notices "|libicns ${notice_platform}development files not found, ICNS icons won't be supported." ;;
11498 xno) ;;
11499 *) as_fn_error $? "libicns ${notice_platform}development files not found, ICNS icons won't be supported.
11500 This is an error since --with-icns was requested." "$LINENO" 5 ;;
11501 esac
11502 fi ;;
11503 esac
11505 if test "$ac_cv_header_jpeglib_h" = "yes"
11506 then
11507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
11508 $as_echo_n "checking for -ljpeg... " >&6; }
11509 if test "${ac_cv_lib_soname_jpeg+set}" = set; then :
11510 $as_echo_n "(cached) " >&6
11511 else
11512 ac_check_soname_save_LIBS=$LIBS
11513 LIBS="-ljpeg $LIBS"
11514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11515 /* end confdefs.h. */
11517 /* Override any GCC internal prototype to avoid an error.
11518 Use char because int might match the return type of a GCC
11519 builtin and then its argument prototype would still apply. */
11520 #ifdef __cplusplus
11521 extern "C"
11522 #endif
11523 char jpeg_start_decompress ();
11525 main ()
11527 return jpeg_start_decompress ();
11529 return 0;
11531 _ACEOF
11532 if ac_fn_c_try_link "$LINENO"; then :
11533 case "$LIBEXT" in
11534 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11535 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'` ;;
11536 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11537 esac
11539 rm -f core conftest.err conftest.$ac_objext \
11540 conftest$ac_exeext conftest.$ac_ext
11541 LIBS=$ac_check_soname_save_LIBS
11543 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11545 $as_echo "not found" >&6; }
11547 else
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
11549 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
11551 cat >>confdefs.h <<_ACEOF
11552 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
11553 _ACEOF
11558 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11559 case "x$with_jpeg" in
11560 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
11561 xno) ;;
11562 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
11563 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
11564 esac
11567 if test "$ac_cv_header_png_h" = "yes"
11568 then
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11570 $as_echo_n "checking for -lpng... " >&6; }
11571 if test "${ac_cv_lib_soname_png+set}" = set; then :
11572 $as_echo_n "(cached) " >&6
11573 else
11574 ac_check_soname_save_LIBS=$LIBS
11575 LIBS="-lpng -lm -lz $LIBS"
11576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11577 /* end confdefs.h. */
11579 /* Override any GCC internal prototype to avoid an error.
11580 Use char because int might match the return type of a GCC
11581 builtin and then its argument prototype would still apply. */
11582 #ifdef __cplusplus
11583 extern "C"
11584 #endif
11585 char png_create_read_struct ();
11587 main ()
11589 return png_create_read_struct ();
11591 return 0;
11593 _ACEOF
11594 if ac_fn_c_try_link "$LINENO"; then :
11595 case "$LIBEXT" in
11596 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11597 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'` ;;
11598 *) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11599 esac
11601 rm -f core conftest.err conftest.$ac_objext \
11602 conftest$ac_exeext conftest.$ac_ext
11603 LIBS=$ac_check_soname_save_LIBS
11605 if test "x$ac_cv_lib_soname_png" = "x"; then :
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11607 $as_echo "not found" >&6; }
11609 else
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11611 $as_echo "$ac_cv_lib_soname_png" >&6; }
11613 cat >>confdefs.h <<_ACEOF
11614 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11615 _ACEOF
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11620 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11621 if test "${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+set}" = set; then :
11622 $as_echo_n "(cached) " >&6
11623 else
11624 ac_check_lib_save_LIBS=$LIBS
11625 LIBS="-lpng -lm -lz $LIBS"
11626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11627 /* end confdefs.h. */
11629 /* Override any GCC internal prototype to avoid an error.
11630 Use char because int might match the return type of a GCC
11631 builtin and then its argument prototype would still apply. */
11632 #ifdef __cplusplus
11633 extern "C"
11634 #endif
11635 char png_set_expand_gray_1_2_4_to_8 ();
11637 main ()
11639 return png_set_expand_gray_1_2_4_to_8 ();
11641 return 0;
11643 _ACEOF
11644 if ac_fn_c_try_link "$LINENO"; then :
11645 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=yes
11646 else
11647 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=no
11649 rm -f core conftest.err conftest.$ac_objext \
11650 conftest$ac_exeext conftest.$ac_ext
11651 LIBS=$ac_check_lib_save_LIBS
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11654 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11655 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = x""yes; then :
11657 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11662 elif test -n "$X_CFLAGS" -a "x$with_png" != "xno"
11663 then
11664 ac_save_CPPFLAGS="$CPPFLAGS"
11665 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11666 $as_unset ac_cv_header_png_h
11667 for ac_header in png.h
11668 do :
11669 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
11670 if test "x$ac_cv_header_png_h" = x""yes; then :
11671 cat >>confdefs.h <<_ACEOF
11672 #define HAVE_PNG_H 1
11673 _ACEOF
11677 done
11679 CPPFLAGS="$ac_save_CPPFLAGS"
11680 if test "$ac_cv_header_png_h" = "yes"
11681 then
11682 PNGINCL="$X_CFLAGS"
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11685 $as_echo_n "checking for -lpng... " >&6; }
11686 if test "${ac_cv_lib_soname_png+set}" = set; then :
11687 $as_echo_n "(cached) " >&6
11688 else
11689 ac_check_soname_save_LIBS=$LIBS
11690 LIBS="-lpng $X_LIBS -lm -lz $LIBS"
11691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11692 /* end confdefs.h. */
11694 /* Override any GCC internal prototype to avoid an error.
11695 Use char because int might match the return type of a GCC
11696 builtin and then its argument prototype would still apply. */
11697 #ifdef __cplusplus
11698 extern "C"
11699 #endif
11700 char png_create_read_struct ();
11702 main ()
11704 return png_create_read_struct ();
11706 return 0;
11708 _ACEOF
11709 if ac_fn_c_try_link "$LINENO"; then :
11710 case "$LIBEXT" in
11711 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11712 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'` ;;
11713 *) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11714 esac
11716 rm -f core conftest.err conftest.$ac_objext \
11717 conftest$ac_exeext conftest.$ac_ext
11718 LIBS=$ac_check_soname_save_LIBS
11720 if test "x$ac_cv_lib_soname_png" = "x"; then :
11721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11722 $as_echo "not found" >&6; }
11724 else
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11726 $as_echo "$ac_cv_lib_soname_png" >&6; }
11728 cat >>confdefs.h <<_ACEOF
11729 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11730 _ACEOF
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11735 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11736 if test "${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+set}" = set; then :
11737 $as_echo_n "(cached) " >&6
11738 else
11739 ac_check_lib_save_LIBS=$LIBS
11740 LIBS="-lpng $X_LIBS -lm -lz $LIBS"
11741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11742 /* end confdefs.h. */
11744 /* Override any GCC internal prototype to avoid an error.
11745 Use char because int might match the return type of a GCC
11746 builtin and then its argument prototype would still apply. */
11747 #ifdef __cplusplus
11748 extern "C"
11749 #endif
11750 char png_set_expand_gray_1_2_4_to_8 ();
11752 main ()
11754 return png_set_expand_gray_1_2_4_to_8 ();
11756 return 0;
11758 _ACEOF
11759 if ac_fn_c_try_link "$LINENO"; then :
11760 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=yes
11761 else
11762 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=no
11764 rm -f core conftest.err conftest.$ac_objext \
11765 conftest$ac_exeext conftest.$ac_ext
11766 LIBS=$ac_check_lib_save_LIBS
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11769 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11770 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = x""yes; then :
11771 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11777 if test "x$ac_cv_lib_soname_png" = "x"; then :
11778 case "x$with_png" in
11779 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
11780 xno) ;;
11781 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
11782 This is an error since --with-png was requested." "$LINENO" 5 ;;
11783 esac
11786 if test "$ac_cv_header_tiffio_h" = "yes"
11787 then
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
11789 $as_echo_n "checking for -ltiff... " >&6; }
11790 if test "${ac_cv_lib_soname_tiff+set}" = set; then :
11791 $as_echo_n "(cached) " >&6
11792 else
11793 ac_check_soname_save_LIBS=$LIBS
11794 LIBS="-ltiff $LIBS"
11795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11796 /* end confdefs.h. */
11798 /* Override any GCC internal prototype to avoid an error.
11799 Use char because int might match the return type of a GCC
11800 builtin and then its argument prototype would still apply. */
11801 #ifdef __cplusplus
11802 extern "C"
11803 #endif
11804 char TIFFClientOpen ();
11806 main ()
11808 return TIFFClientOpen ();
11810 return 0;
11812 _ACEOF
11813 if ac_fn_c_try_link "$LINENO"; then :
11814 case "$LIBEXT" in
11815 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11816 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'` ;;
11817 *) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11818 esac
11820 rm -f core conftest.err conftest.$ac_objext \
11821 conftest$ac_exeext conftest.$ac_ext
11822 LIBS=$ac_check_soname_save_LIBS
11824 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11826 $as_echo "not found" >&6; }
11828 else
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
11830 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
11832 cat >>confdefs.h <<_ACEOF
11833 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
11834 _ACEOF
11839 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11840 case "x$with_tiff" in
11841 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
11842 xno) ;;
11843 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
11844 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
11845 esac
11848 if test "$ac_cv_header_mpg123_h" = "yes"
11849 then
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
11851 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
11852 if test "${ac_cv_lib_mpg123_mpg123_feed+set}" = set; then :
11853 $as_echo_n "(cached) " >&6
11854 else
11855 ac_check_lib_save_LIBS=$LIBS
11856 LIBS="-lmpg123 $LIBS"
11857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11858 /* end confdefs.h. */
11860 /* Override any GCC internal prototype to avoid an error.
11861 Use char because int might match the return type of a GCC
11862 builtin and then its argument prototype would still apply. */
11863 #ifdef __cplusplus
11864 extern "C"
11865 #endif
11866 char mpg123_feed ();
11868 main ()
11870 return mpg123_feed ();
11872 return 0;
11874 _ACEOF
11875 if ac_fn_c_try_link "$LINENO"; then :
11876 ac_cv_lib_mpg123_mpg123_feed=yes
11877 else
11878 ac_cv_lib_mpg123_mpg123_feed=no
11880 rm -f core conftest.err conftest.$ac_objext \
11881 conftest$ac_exeext conftest.$ac_ext
11882 LIBS=$ac_check_lib_save_LIBS
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
11885 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
11886 if test "x$ac_cv_lib_mpg123_mpg123_feed" = x""yes; then :
11887 LIBMPG123="-lmpg123"
11892 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
11893 case "x$with_mpg123" in
11894 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
11895 xno) ;;
11896 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
11897 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
11898 esac
11900 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}
11902 if test "$ac_cv_header_AL_al_h" = "yes"
11903 then
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
11905 $as_echo_n "checking for -lopenal... " >&6; }
11906 if test "${ac_cv_lib_soname_openal+set}" = set; then :
11907 $as_echo_n "(cached) " >&6
11908 else
11909 ac_check_soname_save_LIBS=$LIBS
11910 LIBS="-lopenal $LIBS"
11911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11912 /* end confdefs.h. */
11914 /* Override any GCC internal prototype to avoid an error.
11915 Use char because int might match the return type of a GCC
11916 builtin and then its argument prototype would still apply. */
11917 #ifdef __cplusplus
11918 extern "C"
11919 #endif
11920 char alGetSource3i ();
11922 main ()
11924 return alGetSource3i ();
11926 return 0;
11928 _ACEOF
11929 if ac_fn_c_try_link "$LINENO"; then :
11930 case "$LIBEXT" in
11931 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11932 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'` ;;
11933 *) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11934 esac
11936 rm -f core conftest.err conftest.$ac_objext \
11937 conftest$ac_exeext conftest.$ac_ext
11938 LIBS=$ac_check_soname_save_LIBS
11940 if test "x$ac_cv_lib_soname_openal" = "x"; then :
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11942 $as_echo "not found" >&6; }
11944 else
11945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
11946 $as_echo "$ac_cv_lib_soname_openal" >&6; }
11948 cat >>confdefs.h <<_ACEOF
11949 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
11950 _ACEOF
11952 LIBOPENAL="-lopenal"
11954 ac_cv_lib_openal=yes
11956 cat >>confdefs.h <<_ACEOF
11957 #define HAVE_OPENAL 1
11958 _ACEOF
11962 if test "x$ac_cv_lib_openal" != xyes; then :
11963 case "x$with_openal" in
11964 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
11965 xno) ;;
11966 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
11967 This is an error since --with-openal was requested." "$LINENO" 5 ;;
11968 esac
11970 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
11972 if test "$ac_cv_header_kstat_h" = "yes"
11973 then
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
11975 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
11976 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then :
11977 $as_echo_n "(cached) " >&6
11978 else
11979 ac_check_lib_save_LIBS=$LIBS
11980 LIBS="-lkstat $LIBS"
11981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11982 /* end confdefs.h. */
11984 /* Override any GCC internal prototype to avoid an error.
11985 Use char because int might match the return type of a GCC
11986 builtin and then its argument prototype would still apply. */
11987 #ifdef __cplusplus
11988 extern "C"
11989 #endif
11990 char kstat_open ();
11992 main ()
11994 return kstat_open ();
11996 return 0;
11998 _ACEOF
11999 if ac_fn_c_try_link "$LINENO"; then :
12000 ac_cv_lib_kstat_kstat_open=yes
12001 else
12002 ac_cv_lib_kstat_kstat_open=no
12004 rm -f core conftest.err conftest.$ac_objext \
12005 conftest$ac_exeext conftest.$ac_ext
12006 LIBS=$ac_check_lib_save_LIBS
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
12009 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
12010 if test "x$ac_cv_lib_kstat_kstat_open" = x""yes; then :
12012 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
12014 LIBKSTAT="-lkstat"
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
12021 $as_echo_n "checking for -lodbc... " >&6; }
12022 if test "${ac_cv_lib_soname_odbc+set}" = set; then :
12023 $as_echo_n "(cached) " >&6
12024 else
12025 ac_check_soname_save_LIBS=$LIBS
12026 LIBS="-lodbc $LIBS"
12027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12028 /* end confdefs.h. */
12030 /* Override any GCC internal prototype to avoid an error.
12031 Use char because int might match the return type of a GCC
12032 builtin and then its argument prototype would still apply. */
12033 #ifdef __cplusplus
12034 extern "C"
12035 #endif
12036 char SQLConnect ();
12038 main ()
12040 return SQLConnect ();
12042 return 0;
12044 _ACEOF
12045 if ac_fn_c_try_link "$LINENO"; then :
12046 case "$LIBEXT" in
12047 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12048 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'` ;;
12049 *) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12050 esac
12052 rm -f core conftest.err conftest.$ac_objext \
12053 conftest$ac_exeext conftest.$ac_ext
12054 LIBS=$ac_check_soname_save_LIBS
12056 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
12057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12058 $as_echo "not found" >&6; }
12059 cat >>confdefs.h <<_ACEOF
12060 #define SONAME_LIBODBC "libodbc.$LIBEXT"
12061 _ACEOF
12063 else
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
12065 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
12067 cat >>confdefs.h <<_ACEOF
12068 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
12069 _ACEOF
12074 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESDLIBS$ac_cv_lib_soname_jack" = "x" -a \
12075 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
12076 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
12077 "$ac_cv_header_soundcard_h" != "yes" -a \
12078 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
12079 then
12080 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
12084 EXTRACFLAGS=""
12086 if test "x${GCC}" = "xyes"
12087 then
12088 EXTRACFLAGS="-Wall -pipe"
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
12091 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
12092 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then :
12093 $as_echo_n "(cached) " >&6
12094 else
12095 if test "$cross_compiling" = yes; then :
12096 ac_cv_c_gcc_strength_bug="yes"
12097 else
12098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12099 /* end confdefs.h. */
12100 int L[4] = {0,1,2,3};
12102 main ()
12104 static int Array[3];
12105 unsigned int B = 3;
12106 int i;
12107 for(i=0; i<B; i++) Array[i] = i - 3;
12108 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12109 L[i] = 4;
12110 return (Array[1] != -2 || L[2] != 3)
12112 return 0;
12114 _ACEOF
12115 if ac_fn_c_try_run "$LINENO"; then :
12116 ac_cv_c_gcc_strength_bug="no"
12117 else
12118 ac_cv_c_gcc_strength_bug="yes"
12120 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12121 conftest.$ac_objext conftest.beam conftest.$ac_ext
12125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
12126 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
12127 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12128 then
12129 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
12133 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
12134 if test "${ac_cv_cflags__fno_builtin+set}" = set; then :
12135 $as_echo_n "(cached) " >&6
12136 else
12137 ac_wine_try_cflags_saved=$CFLAGS
12138 CFLAGS="$CFLAGS -fno-builtin"
12139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12140 /* end confdefs.h. */
12141 int main(int argc, char **argv) { return 0; }
12142 _ACEOF
12143 if ac_fn_c_try_link "$LINENO"; then :
12144 ac_cv_cflags__fno_builtin=yes
12145 else
12146 ac_cv_cflags__fno_builtin=no
12148 rm -f core conftest.err conftest.$ac_objext \
12149 conftest$ac_exeext conftest.$ac_ext
12150 CFLAGS=$ac_wine_try_cflags_saved
12152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
12153 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
12154 if test $ac_cv_cflags__fno_builtin = yes; then :
12155 BUILTINFLAG="-fno-builtin"
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
12159 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
12160 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then :
12161 $as_echo_n "(cached) " >&6
12162 else
12163 ac_wine_try_cflags_saved=$CFLAGS
12164 CFLAGS="$CFLAGS -fno-strict-aliasing"
12165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12166 /* end confdefs.h. */
12167 int main(int argc, char **argv) { return 0; }
12168 _ACEOF
12169 if ac_fn_c_try_link "$LINENO"; then :
12170 ac_cv_cflags__fno_strict_aliasing=yes
12171 else
12172 ac_cv_cflags__fno_strict_aliasing=no
12174 rm -f core conftest.err conftest.$ac_objext \
12175 conftest$ac_exeext conftest.$ac_ext
12176 CFLAGS=$ac_wine_try_cflags_saved
12178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12179 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
12180 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
12181 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
12183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12184 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
12185 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then :
12186 $as_echo_n "(cached) " >&6
12187 else
12188 ac_wine_try_cflags_saved=$CFLAGS
12189 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
12190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12191 /* end confdefs.h. */
12192 int main(int argc, char **argv) { return 0; }
12193 _ACEOF
12194 if ac_fn_c_try_link "$LINENO"; then :
12195 ac_cv_cflags__Wdeclaration_after_statement=yes
12196 else
12197 ac_cv_cflags__Wdeclaration_after_statement=no
12199 rm -f core conftest.err conftest.$ac_objext \
12200 conftest$ac_exeext conftest.$ac_ext
12201 CFLAGS=$ac_wine_try_cflags_saved
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12204 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12205 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
12206 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
12208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
12209 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
12210 if test "${ac_cv_cflags__Wstrict_prototypes+set}" = set; then :
12211 $as_echo_n "(cached) " >&6
12212 else
12213 ac_wine_try_cflags_saved=$CFLAGS
12214 CFLAGS="$CFLAGS -Wstrict-prototypes"
12215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12216 /* end confdefs.h. */
12217 int main(int argc, char **argv) { return 0; }
12218 _ACEOF
12219 if ac_fn_c_try_link "$LINENO"; then :
12220 ac_cv_cflags__Wstrict_prototypes=yes
12221 else
12222 ac_cv_cflags__Wstrict_prototypes=no
12224 rm -f core conftest.err conftest.$ac_objext \
12225 conftest$ac_exeext conftest.$ac_ext
12226 CFLAGS=$ac_wine_try_cflags_saved
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
12229 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
12230 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
12231 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
12234 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
12235 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then :
12236 $as_echo_n "(cached) " >&6
12237 else
12238 ac_wine_try_cflags_saved=$CFLAGS
12239 CFLAGS="$CFLAGS -Wtype-limits"
12240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12241 /* end confdefs.h. */
12242 int main(int argc, char **argv) { return 0; }
12243 _ACEOF
12244 if ac_fn_c_try_link "$LINENO"; then :
12245 ac_cv_cflags__Wtype_limits=yes
12246 else
12247 ac_cv_cflags__Wtype_limits=no
12249 rm -f core conftest.err conftest.$ac_objext \
12250 conftest$ac_exeext conftest.$ac_ext
12251 CFLAGS=$ac_wine_try_cflags_saved
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
12254 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
12255 if test $ac_cv_cflags__Wtype_limits = yes; then :
12256 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
12259 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
12260 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then :
12261 $as_echo_n "(cached) " >&6
12262 else
12263 ac_wine_try_cflags_saved=$CFLAGS
12264 CFLAGS="$CFLAGS -Wwrite-strings"
12265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12266 /* end confdefs.h. */
12267 int main(int argc, char **argv) { return 0; }
12268 _ACEOF
12269 if ac_fn_c_try_link "$LINENO"; then :
12270 ac_cv_cflags__Wwrite_strings=yes
12271 else
12272 ac_cv_cflags__Wwrite_strings=no
12274 rm -f core conftest.err conftest.$ac_objext \
12275 conftest$ac_exeext conftest.$ac_ext
12276 CFLAGS=$ac_wine_try_cflags_saved
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
12279 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
12280 if test $ac_cv_cflags__Wwrite_strings = yes; then :
12281 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
12284 saved_CFLAGS="$CFLAGS"
12285 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings" >&5
12287 $as_echo_n "checking for broken string.h that generates warnings... " >&6; }
12288 if test "${ac_cv_c_string_h_warnings+set}" = set; then :
12289 $as_echo_n "(cached) " >&6
12290 else
12291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12292 /* end confdefs.h. */
12293 #include <string.h>
12295 main ()
12299 return 0;
12301 _ACEOF
12302 if ac_fn_c_try_compile "$LINENO"; then :
12303 ac_cv_c_string_h_warnings=no
12304 else
12305 ac_cv_c_string_h_warnings=yes
12307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
12310 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
12311 CFLAGS="$saved_CFLAGS"
12312 if test "$ac_cv_c_string_h_warnings" = "no"
12313 then
12314 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12317 if test "x$enable_maintainer_mode" = "xyes"
12318 then
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
12320 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
12321 if test "${ac_cv_cflags__Werror+set}" = set; then :
12322 $as_echo_n "(cached) " >&6
12323 else
12324 ac_wine_try_cflags_saved=$CFLAGS
12325 CFLAGS="$CFLAGS -Werror"
12326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12327 /* end confdefs.h. */
12328 int main(int argc, char **argv) { return 0; }
12329 _ACEOF
12330 if ac_fn_c_try_link "$LINENO"; then :
12331 ac_cv_cflags__Werror=yes
12332 else
12333 ac_cv_cflags__Werror=no
12335 rm -f core conftest.err conftest.$ac_objext \
12336 conftest$ac_exeext conftest.$ac_ext
12337 CFLAGS=$ac_wine_try_cflags_saved
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
12340 $as_echo "$ac_cv_cflags__Werror" >&6; }
12341 if test $ac_cv_cflags__Werror = yes; then :
12342 EXTRACFLAGS="$EXTRACFLAGS -Werror"
12346 saved_CFLAGS="$CFLAGS"
12347 CFLAGS="$CFLAGS -Werror"
12348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
12349 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
12350 if test "${ac_cv_have_ms_hook_prologue+set}" = set; then :
12351 $as_echo_n "(cached) " >&6
12352 else
12353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12354 /* end confdefs.h. */
12355 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
12357 main ()
12361 return 0;
12363 _ACEOF
12364 if ac_fn_c_try_compile "$LINENO"; then :
12365 ac_cv_have_ms_hook_prologue="yes"
12366 else
12367 ac_cv_have_ms_hook_prologue="no"
12369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
12372 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
12373 CFLAGS="$saved_CFLAGS"
12374 if test "$ac_cv_have_ms_hook_prologue" = "yes"
12375 then
12377 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
12379 else
12380 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
12387 $as_echo_n "checking for the need to disable Fortify... " >&6; }
12388 if test "${ac_cv_c_fortify_enabled+set}" = set; then :
12389 $as_echo_n "(cached) " >&6
12390 else
12391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12392 /* end confdefs.h. */
12393 #include <string.h>
12395 main ()
12397 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
12398 #error Fortify enabled
12399 #endif
12401 return 0;
12403 _ACEOF
12404 if ac_fn_c_try_compile "$LINENO"; then :
12405 ac_cv_c_fortify_enabled=no
12406 else
12407 ac_cv_c_fortify_enabled=yes
12409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
12412 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
12413 if test "$ac_cv_c_fortify_enabled" = yes
12414 then
12415 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
12420 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
12421 if test "${ac_cv_c_extern_prefix+set}" = set; then :
12422 $as_echo_n "(cached) " >&6
12423 else
12424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12425 /* end confdefs.h. */
12426 extern int ac_test;
12428 main ()
12430 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
12432 return 0;
12434 _ACEOF
12435 if ac_fn_c_try_link "$LINENO"; then :
12436 ac_cv_c_extern_prefix="yes"
12437 else
12438 ac_cv_c_extern_prefix="no"
12440 rm -f core conftest.err conftest.$ac_objext \
12441 conftest$ac_exeext conftest.$ac_ext
12443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
12444 $as_echo "$ac_cv_c_extern_prefix" >&6; }
12446 case $host_cpu in
12447 *i[3456789]86*)
12448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
12449 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
12450 if test "${ac_cv_c_stdcall_suffix+set}" = set; then :
12451 $as_echo_n "(cached) " >&6
12452 else
12453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12454 /* end confdefs.h. */
12455 #ifndef _MSC_VER
12456 #define __stdcall __attribute__((__stdcall__))
12457 #endif
12458 int __stdcall ac_test(int i) { return i; }
12460 main ()
12462 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
12464 return 0;
12466 _ACEOF
12467 if ac_fn_c_try_link "$LINENO"; then :
12468 ac_cv_c_stdcall_suffix="yes"
12469 else
12470 ac_cv_c_stdcall_suffix="no"
12472 rm -f core conftest.err conftest.$ac_objext \
12473 conftest$ac_exeext conftest.$ac_ext
12475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
12476 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
12477 *) ac_cv_c_stdcall_suffix="no" ;;
12478 esac
12481 if test "$ac_cv_c_extern_prefix" = "yes"
12482 then
12483 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
12485 asm_name_prefix="_"
12486 else
12487 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
12489 asm_name_prefix=""
12493 if test "$ac_cv_c_stdcall_suffix" = "yes"
12494 then
12495 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
12497 else
12498 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
12503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
12504 $as_echo_n "checking how to define a function in assembly code... " >&6; }
12505 if test "${ac_cv_asm_func_def+set}" = set; then :
12506 $as_echo_n "(cached) " >&6
12507 else
12508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12509 /* end confdefs.h. */
12512 main ()
12514 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
12516 return 0;
12518 _ACEOF
12519 if ac_fn_c_try_link "$LINENO"; then :
12520 ac_cv_asm_func_def=".def"
12521 else
12522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12523 /* end confdefs.h. */
12526 main ()
12528 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
12530 return 0;
12532 _ACEOF
12533 if ac_fn_c_try_link "$LINENO"; then :
12534 ac_cv_asm_func_def=".type @function"
12535 else
12536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12537 /* end confdefs.h. */
12540 main ()
12542 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
12544 return 0;
12546 _ACEOF
12547 if ac_fn_c_try_link "$LINENO"; then :
12548 ac_cv_asm_func_def=".type 2"
12549 else
12550 ac_cv_asm_func_def="unknown"
12552 rm -f core conftest.err conftest.$ac_objext \
12553 conftest$ac_exeext conftest.$ac_ext
12555 rm -f core conftest.err conftest.$ac_objext \
12556 conftest$ac_exeext conftest.$ac_ext
12558 rm -f core conftest.err conftest.$ac_objext \
12559 conftest$ac_exeext conftest.$ac_ext
12561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
12562 $as_echo "$ac_cv_asm_func_def" >&6; }
12565 case "$ac_cv_asm_func_def" in
12566 ".def")
12567 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
12569 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
12570 ".type @function")
12571 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
12573 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
12574 ".type 2")
12575 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
12577 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
12579 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
12581 asm_func_header="" ;;
12582 esac
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
12585 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
12586 if test "${ac_cv_c_asm_outside_funcs+set}" = set; then :
12587 $as_echo_n "(cached) " >&6
12588 else
12589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12590 /* end confdefs.h. */
12591 asm(".text\n\t.long 0");
12593 main ()
12597 return 0;
12599 _ACEOF
12600 if ac_fn_c_try_compile "$LINENO"; then :
12601 ac_cv_c_asm_outside_funcs="yes"
12602 else
12603 ac_cv_c_asm_outside_funcs="no"
12605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
12608 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
12610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
12611 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
12612 if test "${ac_cv_c_dot_previous+set}" = set; then :
12613 $as_echo_n "(cached) " >&6
12614 else
12615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12616 /* end confdefs.h. */
12619 main ()
12621 asm(".text\nac_test:\t.long 0\n\t.previous");
12623 return 0;
12625 _ACEOF
12626 if ac_fn_c_try_link "$LINENO"; then :
12627 ac_cv_c_dot_previous="yes"
12628 else
12629 ac_cv_c_dot_previous="no"
12631 rm -f core conftest.err conftest.$ac_objext \
12632 conftest$ac_exeext conftest.$ac_ext
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
12635 $as_echo "$ac_cv_c_dot_previous" >&6; }
12637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
12638 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
12639 if test "${ac_cv_c_cfi_support+set}" = set; then :
12640 $as_echo_n "(cached) " >&6
12641 else
12642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12643 /* end confdefs.h. */
12644 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
12646 main ()
12650 return 0;
12652 _ACEOF
12653 if ac_fn_c_try_compile "$LINENO"; then :
12654 ac_cv_c_cfi_support="yes"
12655 else
12656 ac_cv_c_cfi_support="no"
12658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
12661 $as_echo "$ac_cv_c_cfi_support" >&6; }
12663 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
12664 asm_func_trailer=""
12665 if test "$ac_cv_c_dot_previous" = "yes"
12666 then
12667 asm_func_trailer="\\n\\t.previous"
12669 if test "$ac_cv_c_cfi_support" = "yes"
12670 then
12671 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
12672 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
12674 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
12676 UNWINDFLAGS=-fasynchronous-unwind-tables
12678 else
12679 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
12683 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
12686 if test "$ac_cv_c_asm_outside_funcs" = "yes"
12687 then
12688 cat >>confdefs.h <<_ACEOF
12689 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
12690 _ACEOF
12692 else
12693 cat >>confdefs.h <<_ACEOF
12694 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
12695 _ACEOF
12699 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
12702 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
12706 LDPATH=""
12708 case $build_os in
12709 cygwin*|mingw32*)
12710 TOOLSEXT=".exe"
12712 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
12714 darwin*|macosx*)
12717 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
12719 esac
12721 case $host_os in
12722 mingw32*)
12723 CRTLIBS="-lmsvcrt"
12725 SOCKETLIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
12728 esac
12730 MAIN_BINARY="wine"
12732 test "x$enable_win64" != "xyes" || MAIN_BINARY="wine64"
12734 case $host_cpu in
12735 *i[3456789]86*)
12736 case $host_os in
12737 linux*)
12738 EXTRA_BINARIES="wine-preloader"
12740 esac
12742 esac
12745 ac_save_CFLAGS="$CFLAGS"
12746 CFLAGS="$CFLAGS $BUILTINFLAG"
12747 for ac_func in \
12748 _pclose \
12749 _popen \
12750 _snprintf \
12751 _spawnvp \
12752 _strdup \
12753 _stricmp \
12754 _strnicmp \
12755 _strtoi64 \
12756 _strtoui64 \
12757 _vsnprintf \
12758 asctime_r \
12759 chsize \
12760 dlopen \
12761 epoll_create \
12762 ffs \
12763 finite \
12764 fnmatch \
12765 fork \
12766 fpclass \
12767 fstatfs \
12768 fstatvfs \
12769 ftruncate \
12770 futimes \
12771 futimesat \
12772 getdirentries \
12773 getopt_long \
12774 getpagesize \
12775 getpwuid \
12776 gettid \
12777 gettimeofday \
12778 getuid \
12779 kqueue \
12780 lstat \
12781 memmove \
12782 mmap \
12783 pclose \
12784 pipe2 \
12785 poll \
12786 popen \
12787 port_create \
12788 prctl \
12789 pread \
12790 pwrite \
12791 readdir \
12792 readlink \
12793 sched_setaffinity \
12794 sched_yield \
12795 select \
12796 setproctitle \
12797 setrlimit \
12798 settimeofday \
12799 sigaltstack \
12800 sigprocmask \
12801 snprintf \
12802 spawnvp \
12803 statfs \
12804 statvfs \
12805 strcasecmp \
12806 strdup \
12807 strerror \
12808 strncasecmp \
12809 strtold \
12810 strtoll \
12811 strtoull \
12812 symlink \
12813 tcgetattr \
12814 thr_kill2 \
12815 timegm \
12816 usleep \
12817 vsnprintf \
12818 wait4 \
12819 waitpid \
12821 do :
12822 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12823 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12824 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12825 cat >>confdefs.h <<_ACEOF
12826 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12827 _ACEOF
12830 done
12832 CFLAGS="$ac_save_CFLAGS"
12834 if test "$ac_cv_func_dlopen" = no
12835 then
12836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12837 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12838 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12839 $as_echo_n "(cached) " >&6
12840 else
12841 ac_check_lib_save_LIBS=$LIBS
12842 LIBS="-ldl $LIBS"
12843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12844 /* end confdefs.h. */
12846 /* Override any GCC internal prototype to avoid an error.
12847 Use char because int might match the return type of a GCC
12848 builtin and then its argument prototype would still apply. */
12849 #ifdef __cplusplus
12850 extern "C"
12851 #endif
12852 char dlopen ();
12854 main ()
12856 return dlopen ();
12858 return 0;
12860 _ACEOF
12861 if ac_fn_c_try_link "$LINENO"; then :
12862 ac_cv_lib_dl_dlopen=yes
12863 else
12864 ac_cv_lib_dl_dlopen=no
12866 rm -f core conftest.err conftest.$ac_objext \
12867 conftest$ac_exeext conftest.$ac_ext
12868 LIBS=$ac_check_lib_save_LIBS
12870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12871 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12872 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12873 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
12874 LIBDL="-ldl"
12879 ac_wine_check_funcs_save_LIBS="$LIBS"
12880 LIBS="$LIBS $LIBDL"
12881 for ac_func in dladdr
12882 do :
12883 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
12884 if test "x$ac_cv_func_dladdr" = x""yes; then :
12885 cat >>confdefs.h <<_ACEOF
12886 #define HAVE_DLADDR 1
12887 _ACEOF
12890 done
12892 LIBS="$ac_wine_check_funcs_save_LIBS"
12894 if test "$ac_cv_func_poll" = no
12895 then
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
12897 $as_echo_n "checking for poll in -lpoll... " >&6; }
12898 if test "${ac_cv_lib_poll_poll+set}" = set; then :
12899 $as_echo_n "(cached) " >&6
12900 else
12901 ac_check_lib_save_LIBS=$LIBS
12902 LIBS="-lpoll $LIBS"
12903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12904 /* end confdefs.h. */
12906 /* Override any GCC internal prototype to avoid an error.
12907 Use char because int might match the return type of a GCC
12908 builtin and then its argument prototype would still apply. */
12909 #ifdef __cplusplus
12910 extern "C"
12911 #endif
12912 char poll ();
12914 main ()
12916 return poll ();
12918 return 0;
12920 _ACEOF
12921 if ac_fn_c_try_link "$LINENO"; then :
12922 ac_cv_lib_poll_poll=yes
12923 else
12924 ac_cv_lib_poll_poll=no
12926 rm -f core conftest.err conftest.$ac_objext \
12927 conftest$ac_exeext conftest.$ac_ext
12928 LIBS=$ac_check_lib_save_LIBS
12930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
12931 $as_echo "$ac_cv_lib_poll_poll" >&6; }
12932 if test "x$ac_cv_lib_poll_poll" = x""yes; then :
12933 $as_echo "#define HAVE_POLL 1" >>confdefs.h
12934 LIBPOLL="-lpoll"
12940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
12941 $as_echo_n "checking for library containing gethostbyname... " >&6; }
12942 if test "${ac_cv_search_gethostbyname+set}" = set; then :
12943 $as_echo_n "(cached) " >&6
12944 else
12945 ac_func_search_save_LIBS=$LIBS
12946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12947 /* end confdefs.h. */
12949 /* Override any GCC internal prototype to avoid an error.
12950 Use char because int might match the return type of a GCC
12951 builtin and then its argument prototype would still apply. */
12952 #ifdef __cplusplus
12953 extern "C"
12954 #endif
12955 char gethostbyname ();
12957 main ()
12959 return gethostbyname ();
12961 return 0;
12963 _ACEOF
12964 for ac_lib in '' nsl; do
12965 if test -z "$ac_lib"; then
12966 ac_res="none required"
12967 else
12968 ac_res=-l$ac_lib
12969 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12971 if ac_fn_c_try_link "$LINENO"; then :
12972 ac_cv_search_gethostbyname=$ac_res
12974 rm -f core conftest.err conftest.$ac_objext \
12975 conftest$ac_exeext
12976 if test "${ac_cv_search_gethostbyname+set}" = set; then :
12977 break
12979 done
12980 if test "${ac_cv_search_gethostbyname+set}" = set; then :
12982 else
12983 ac_cv_search_gethostbyname=no
12985 rm conftest.$ac_ext
12986 LIBS=$ac_func_search_save_LIBS
12988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
12989 $as_echo "$ac_cv_search_gethostbyname" >&6; }
12990 ac_res=$ac_cv_search_gethostbyname
12991 if test "$ac_res" != no; then :
12992 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
12998 $as_echo_n "checking for library containing connect... " >&6; }
12999 if test "${ac_cv_search_connect+set}" = set; then :
13000 $as_echo_n "(cached) " >&6
13001 else
13002 ac_func_search_save_LIBS=$LIBS
13003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13004 /* end confdefs.h. */
13006 /* Override any GCC internal prototype to avoid an error.
13007 Use char because int might match the return type of a GCC
13008 builtin and then its argument prototype would still apply. */
13009 #ifdef __cplusplus
13010 extern "C"
13011 #endif
13012 char connect ();
13014 main ()
13016 return connect ();
13018 return 0;
13020 _ACEOF
13021 for ac_lib in '' socket; do
13022 if test -z "$ac_lib"; then
13023 ac_res="none required"
13024 else
13025 ac_res=-l$ac_lib
13026 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13028 if ac_fn_c_try_link "$LINENO"; then :
13029 ac_cv_search_connect=$ac_res
13031 rm -f core conftest.err conftest.$ac_objext \
13032 conftest$ac_exeext
13033 if test "${ac_cv_search_connect+set}" = set; then :
13034 break
13036 done
13037 if test "${ac_cv_search_connect+set}" = set; then :
13039 else
13040 ac_cv_search_connect=no
13042 rm conftest.$ac_ext
13043 LIBS=$ac_func_search_save_LIBS
13045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
13046 $as_echo "$ac_cv_search_connect" >&6; }
13047 ac_res=$ac_cv_search_connect
13048 if test "$ac_res" != no; then :
13049 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13055 $as_echo_n "checking for library containing inet_aton... " >&6; }
13056 if test "${ac_cv_search_inet_aton+set}" = set; then :
13057 $as_echo_n "(cached) " >&6
13058 else
13059 ac_func_search_save_LIBS=$LIBS
13060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13061 /* end confdefs.h. */
13063 /* Override any GCC internal prototype to avoid an error.
13064 Use char because int might match the return type of a GCC
13065 builtin and then its argument prototype would still apply. */
13066 #ifdef __cplusplus
13067 extern "C"
13068 #endif
13069 char inet_aton ();
13071 main ()
13073 return inet_aton ();
13075 return 0;
13077 _ACEOF
13078 for ac_lib in '' resolv; do
13079 if test -z "$ac_lib"; then
13080 ac_res="none required"
13081 else
13082 ac_res=-l$ac_lib
13083 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13085 if ac_fn_c_try_link "$LINENO"; then :
13086 ac_cv_search_inet_aton=$ac_res
13088 rm -f core conftest.err conftest.$ac_objext \
13089 conftest$ac_exeext
13090 if test "${ac_cv_search_inet_aton+set}" = set; then :
13091 break
13093 done
13094 if test "${ac_cv_search_inet_aton+set}" = set; then :
13096 else
13097 ac_cv_search_inet_aton=no
13099 rm conftest.$ac_ext
13100 LIBS=$ac_func_search_save_LIBS
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13103 $as_echo "$ac_cv_search_inet_aton" >&6; }
13104 ac_res=$ac_cv_search_inet_aton
13105 if test "$ac_res" != no; then :
13106 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13111 for ac_func in \
13112 getaddrinfo \
13113 getnameinfo \
13114 getnetbyname \
13115 getprotobyname \
13116 getprotobynumber \
13117 getservbyport \
13118 inet_network \
13119 inet_ntop \
13120 inet_pton \
13121 sendmsg \
13122 socketpair \
13124 do :
13125 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13126 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13127 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13128 cat >>confdefs.h <<_ACEOF
13129 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13130 _ACEOF
13133 done
13136 LDAPLIBS=""
13138 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13139 then
13140 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
13142 if test "x$ac_cv_type_LDAPSortKey" = x""yes; then :
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
13144 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
13145 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then :
13146 $as_echo_n "(cached) " >&6
13147 else
13148 ac_check_lib_save_LIBS=$LIBS
13149 LIBS="-lldap_r $LIBPTHREAD $LIBS"
13150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13151 /* end confdefs.h. */
13153 /* Override any GCC internal prototype to avoid an error.
13154 Use char because int might match the return type of a GCC
13155 builtin and then its argument prototype would still apply. */
13156 #ifdef __cplusplus
13157 extern "C"
13158 #endif
13159 char ldap_initialize ();
13161 main ()
13163 return ldap_initialize ();
13165 return 0;
13167 _ACEOF
13168 if ac_fn_c_try_link "$LINENO"; then :
13169 ac_cv_lib_ldap_r_ldap_initialize=yes
13170 else
13171 ac_cv_lib_ldap_r_ldap_initialize=no
13173 rm -f core conftest.err conftest.$ac_objext \
13174 conftest$ac_exeext conftest.$ac_ext
13175 LIBS=$ac_check_lib_save_LIBS
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13178 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13179 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = x""yes; then :
13180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
13181 $as_echo_n "checking for ber_init in -llber... " >&6; }
13182 if test "${ac_cv_lib_lber_ber_init+set}" = set; then :
13183 $as_echo_n "(cached) " >&6
13184 else
13185 ac_check_lib_save_LIBS=$LIBS
13186 LIBS="-llber $LIBPTHREAD $LIBS"
13187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13188 /* end confdefs.h. */
13190 /* Override any GCC internal prototype to avoid an error.
13191 Use char because int might match the return type of a GCC
13192 builtin and then its argument prototype would still apply. */
13193 #ifdef __cplusplus
13194 extern "C"
13195 #endif
13196 char ber_init ();
13198 main ()
13200 return ber_init ();
13202 return 0;
13204 _ACEOF
13205 if ac_fn_c_try_link "$LINENO"; then :
13206 ac_cv_lib_lber_ber_init=yes
13207 else
13208 ac_cv_lib_lber_ber_init=no
13210 rm -f core conftest.err conftest.$ac_objext \
13211 conftest$ac_exeext conftest.$ac_ext
13212 LIBS=$ac_check_lib_save_LIBS
13214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
13215 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
13216 if test "x$ac_cv_lib_lber_ber_init" = x""yes; then :
13218 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
13220 LDAPLIBS="-lldap_r -llber"
13227 ac_wine_check_funcs_save_LIBS="$LIBS"
13228 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13229 for ac_func in \
13230 ldap_count_references \
13231 ldap_first_reference \
13232 ldap_next_reference \
13233 ldap_parse_reference \
13234 ldap_parse_sort_control \
13235 ldap_parse_sortresponse_control \
13236 ldap_parse_vlv_control \
13237 ldap_parse_vlvresponse_control
13238 do :
13239 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13240 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13241 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13242 cat >>confdefs.h <<_ACEOF
13243 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13244 _ACEOF
13247 done
13249 LIBS="$ac_wine_check_funcs_save_LIBS"
13251 if test "x$LDAPLIBS" = "x"; then :
13252 case "x$with_ldap" in
13253 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
13254 xno) ;;
13255 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
13256 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
13257 esac
13260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
13261 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
13262 if test "${wine_cv_one_arg_mkdir+set}" = set; then :
13263 $as_echo_n "(cached) " >&6
13264 else
13265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13266 /* end confdefs.h. */
13267 #include <sys/stat.h>
13269 main ()
13271 mkdir("foo");
13273 return 0;
13275 _ACEOF
13276 if ac_fn_c_try_compile "$LINENO"; then :
13277 wine_cv_one_arg_mkdir=yes
13278 else
13279 wine_cv_one_arg_mkdir=no
13281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
13284 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
13285 if test "$wine_cv_one_arg_mkdir" = "yes"
13286 then
13288 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
13293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
13294 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
13295 if test "${ac_cv_c_const+set}" = set; then :
13296 $as_echo_n "(cached) " >&6
13297 else
13298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13299 /* end confdefs.h. */
13302 main ()
13304 /* FIXME: Include the comments suggested by Paul. */
13305 #ifndef __cplusplus
13306 /* Ultrix mips cc rejects this. */
13307 typedef int charset[2];
13308 const charset cs;
13309 /* SunOS 4.1.1 cc rejects this. */
13310 char const *const *pcpcc;
13311 char **ppc;
13312 /* NEC SVR4.0.2 mips cc rejects this. */
13313 struct point {int x, y;};
13314 static struct point const zero = {0,0};
13315 /* AIX XL C 1.02.0.0 rejects this.
13316 It does not let you subtract one const X* pointer from another in
13317 an arm of an if-expression whose if-part is not a constant
13318 expression */
13319 const char *g = "string";
13320 pcpcc = &g + (g ? g-g : 0);
13321 /* HPUX 7.0 cc rejects these. */
13322 ++pcpcc;
13323 ppc = (char**) pcpcc;
13324 pcpcc = (char const *const *) ppc;
13325 { /* SCO 3.2v4 cc rejects this. */
13326 char *t;
13327 char const *s = 0 ? (char *) 0 : (char const *) 0;
13329 *t++ = 0;
13330 if (s) return 0;
13332 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13333 int x[] = {25, 17};
13334 const int *foo = &x[0];
13335 ++foo;
13337 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13338 typedef const int *iptr;
13339 iptr p = 0;
13340 ++p;
13342 { /* AIX XL C 1.02.0.0 rejects this saying
13343 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13344 struct s { int j; const int *ap[3]; };
13345 struct s *b; b->j = 5;
13347 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13348 const int foo = 10;
13349 if (!foo) return 0;
13351 return !cs[0] && !zero.x;
13352 #endif
13355 return 0;
13357 _ACEOF
13358 if ac_fn_c_try_compile "$LINENO"; then :
13359 ac_cv_c_const=yes
13360 else
13361 ac_cv_c_const=no
13363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
13366 $as_echo "$ac_cv_c_const" >&6; }
13367 if test $ac_cv_c_const = no; then
13369 $as_echo "#define const /**/" >>confdefs.h
13373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13374 $as_echo_n "checking for inline... " >&6; }
13375 if test "${ac_cv_c_inline+set}" = set; then :
13376 $as_echo_n "(cached) " >&6
13377 else
13378 ac_cv_c_inline=no
13379 for ac_kw in inline __inline__ __inline; do
13380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13381 /* end confdefs.h. */
13382 #ifndef __cplusplus
13383 typedef int foo_t;
13384 static $ac_kw foo_t static_foo () {return 0; }
13385 $ac_kw foo_t foo () {return 0; }
13386 #endif
13388 _ACEOF
13389 if ac_fn_c_try_compile "$LINENO"; then :
13390 ac_cv_c_inline=$ac_kw
13392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13393 test "$ac_cv_c_inline" != no && break
13394 done
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
13398 $as_echo "$ac_cv_c_inline" >&6; }
13400 case $ac_cv_c_inline in
13401 inline | yes) ;;
13403 case $ac_cv_c_inline in
13404 no) ac_val=;;
13405 *) ac_val=$ac_cv_c_inline;;
13406 esac
13407 cat >>confdefs.h <<_ACEOF
13408 #ifndef __cplusplus
13409 #define inline $ac_val
13410 #endif
13411 _ACEOF
13413 esac
13415 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
13416 if test "x$ac_cv_type_mode_t" = x""yes; then :
13418 cat >>confdefs.h <<_ACEOF
13419 #define HAVE_MODE_T 1
13420 _ACEOF
13424 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
13425 if test "x$ac_cv_type_off_t" = x""yes; then :
13427 cat >>confdefs.h <<_ACEOF
13428 #define HAVE_OFF_T 1
13429 _ACEOF
13433 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
13434 if test "x$ac_cv_type_pid_t" = x""yes; then :
13436 cat >>confdefs.h <<_ACEOF
13437 #define HAVE_PID_T 1
13438 _ACEOF
13442 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13443 if test "x$ac_cv_type_size_t" = x""yes; then :
13445 cat >>confdefs.h <<_ACEOF
13446 #define HAVE_SIZE_T 1
13447 _ACEOF
13451 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
13452 if test "x$ac_cv_type_ssize_t" = x""yes; then :
13454 cat >>confdefs.h <<_ACEOF
13455 #define HAVE_SSIZE_T 1
13456 _ACEOF
13460 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
13461 if test "x$ac_cv_type_long_long" = x""yes; then :
13463 cat >>confdefs.h <<_ACEOF
13464 #define HAVE_LONG_LONG 1
13465 _ACEOF
13469 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
13470 if test "x$ac_cv_type_fsblkcnt_t" = x""yes; then :
13472 cat >>confdefs.h <<_ACEOF
13473 #define HAVE_FSBLKCNT_T 1
13474 _ACEOF
13478 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
13479 if test "x$ac_cv_type_fsfilcnt_t" = x""yes; then :
13481 cat >>confdefs.h <<_ACEOF
13482 #define HAVE_FSFILCNT_T 1
13483 _ACEOF
13488 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
13489 #include <signal.h>
13491 if test "x$ac_cv_type_sigset_t" = x""yes; then :
13493 cat >>confdefs.h <<_ACEOF
13494 #define HAVE_SIGSET_T 1
13495 _ACEOF
13500 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
13502 if test "x$ac_cv_type_request_sense" = x""yes; then :
13504 cat >>confdefs.h <<_ACEOF
13505 #define HAVE_REQUEST_SENSE 1
13506 _ACEOF
13512 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
13513 #ifdef HAVE_SYS_SOCKET_H
13514 #include <sys/socket.h>
13515 #endif
13516 #ifdef HAVE_SYS_SOCKETVAR_H
13517 #include <sys/socketvar.h>
13518 #endif
13519 #ifdef HAVE_NET_ROUTE_H
13520 #include <net/route.h>
13521 #endif
13522 #ifdef HAVE_NETINET_IN_H
13523 #include <netinet/in.h>
13524 #endif
13525 #ifdef HAVE_NETINET_IN_SYSTM_H
13526 #include <netinet/in_systm.h>
13527 #endif
13528 #ifdef HAVE_NETINET_IP_H
13529 #include <netinet/ip.h>
13530 #endif
13531 #ifdef HAVE_NETINET_IN_PCB_H
13532 #include <netinet/in_pcb.h>
13533 #endif
13535 if test "x$ac_cv_type_struct_xinpgen" = x""yes; then :
13537 cat >>confdefs.h <<_ACEOF
13538 #define HAVE_STRUCT_XINPGEN 1
13539 _ACEOF
13545 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
13546 #include <linux/input.h>
13547 #endif
13549 if test "x$ac_cv_member_struct_ff_effect_direction" = x""yes; then :
13551 cat >>confdefs.h <<_ACEOF
13552 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
13553 _ACEOF
13559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
13560 $as_echo_n "checking for sigaddset... " >&6; }
13561 if test "${wine_cv_have_sigaddset+set}" = set; then :
13562 $as_echo_n "(cached) " >&6
13563 else
13564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13565 /* end confdefs.h. */
13566 #include <signal.h>
13568 main ()
13570 sigset_t set; sigaddset(&set,SIGTERM);
13572 return 0;
13574 _ACEOF
13575 if ac_fn_c_try_link "$LINENO"; then :
13576 wine_cv_have_sigaddset=yes
13577 else
13578 wine_cv_have_sigaddset=no
13580 rm -f core conftest.err conftest.$ac_objext \
13581 conftest$ac_exeext conftest.$ac_ext
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
13584 $as_echo "$wine_cv_have_sigaddset" >&6; }
13585 if test "$wine_cv_have_sigaddset" = "yes"
13586 then
13588 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
13594 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
13595 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then :
13596 $as_echo_n "(cached) " >&6
13597 else
13598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13599 /* end confdefs.h. */
13600 #include <netdb.h>
13602 main ()
13605 char *name=0;
13606 struct hostent he;
13607 struct hostent *result;
13608 char *buf=0;
13609 int bufsize=0;
13610 int res,errnr;
13611 char *addr=0;
13612 int addrlen=0;
13613 int addrtype=0;
13614 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
13615 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
13618 return 0;
13620 _ACEOF
13621 if ac_fn_c_try_link "$LINENO"; then :
13622 wine_cv_linux_gethostbyname_r_6=yes
13623 else
13624 wine_cv_linux_gethostbyname_r_6=no
13627 rm -f core conftest.err conftest.$ac_objext \
13628 conftest$ac_exeext conftest.$ac_ext
13631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
13632 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
13633 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
13634 then
13636 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
13640 if test "$ac_cv_header_linux_joystick_h" = "yes"
13641 then
13642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
13643 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
13644 if test "${wine_cv_linux_joystick_22_api+set}" = set; then :
13645 $as_echo_n "(cached) " >&6
13646 else
13647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13648 /* end confdefs.h. */
13650 #include <sys/ioctl.h>
13651 #include <sys/types.h>
13652 #include <linux/joystick.h>
13654 struct js_event blub;
13655 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
13656 #error "no 2.2 header"
13657 #endif
13660 main ()
13662 /*empty*/
13664 return 0;
13666 _ACEOF
13667 if ac_fn_c_try_compile "$LINENO"; then :
13668 wine_cv_linux_joystick_22_api=yes
13669 else
13670 wine_cv_linux_joystick_22_api=no
13672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
13676 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
13677 if test "$wine_cv_linux_joystick_22_api" = "yes"
13678 then
13680 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
13686 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
13687 #ifdef HAVE_SYS_PARAM_H
13688 # include <sys/param.h>
13689 #endif
13690 #ifdef HAVE_SYS_MOUNT_H
13691 # include <sys/mount.h>
13692 #endif
13693 #ifdef HAVE_SYS_VFS_H
13694 # include <sys/vfs.h>
13695 #endif
13696 #ifdef HAVE_SYS_STATFS_H
13697 # include <sys/statfs.h>
13698 #endif
13700 if test "x$ac_cv_member_struct_statfs_f_bfree" = x""yes; then :
13702 cat >>confdefs.h <<_ACEOF
13703 #define HAVE_STRUCT_STATFS_F_BFREE 1
13704 _ACEOF
13708 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
13709 #ifdef HAVE_SYS_PARAM_H
13710 # include <sys/param.h>
13711 #endif
13712 #ifdef HAVE_SYS_MOUNT_H
13713 # include <sys/mount.h>
13714 #endif
13715 #ifdef HAVE_SYS_VFS_H
13716 # include <sys/vfs.h>
13717 #endif
13718 #ifdef HAVE_SYS_STATFS_H
13719 # include <sys/statfs.h>
13720 #endif
13722 if test "x$ac_cv_member_struct_statfs_f_bavail" = x""yes; then :
13724 cat >>confdefs.h <<_ACEOF
13725 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
13726 _ACEOF
13730 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
13731 #ifdef HAVE_SYS_PARAM_H
13732 # include <sys/param.h>
13733 #endif
13734 #ifdef HAVE_SYS_MOUNT_H
13735 # include <sys/mount.h>
13736 #endif
13737 #ifdef HAVE_SYS_VFS_H
13738 # include <sys/vfs.h>
13739 #endif
13740 #ifdef HAVE_SYS_STATFS_H
13741 # include <sys/statfs.h>
13742 #endif
13744 if test "x$ac_cv_member_struct_statfs_f_frsize" = x""yes; then :
13746 cat >>confdefs.h <<_ACEOF
13747 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
13748 _ACEOF
13752 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
13753 #ifdef HAVE_SYS_PARAM_H
13754 # include <sys/param.h>
13755 #endif
13756 #ifdef HAVE_SYS_MOUNT_H
13757 # include <sys/mount.h>
13758 #endif
13759 #ifdef HAVE_SYS_VFS_H
13760 # include <sys/vfs.h>
13761 #endif
13762 #ifdef HAVE_SYS_STATFS_H
13763 # include <sys/statfs.h>
13764 #endif
13766 if test "x$ac_cv_member_struct_statfs_f_ffree" = x""yes; then :
13768 cat >>confdefs.h <<_ACEOF
13769 #define HAVE_STRUCT_STATFS_F_FFREE 1
13770 _ACEOF
13774 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
13775 #ifdef HAVE_SYS_PARAM_H
13776 # include <sys/param.h>
13777 #endif
13778 #ifdef HAVE_SYS_MOUNT_H
13779 # include <sys/mount.h>
13780 #endif
13781 #ifdef HAVE_SYS_VFS_H
13782 # include <sys/vfs.h>
13783 #endif
13784 #ifdef HAVE_SYS_STATFS_H
13785 # include <sys/statfs.h>
13786 #endif
13788 if test "x$ac_cv_member_struct_statfs_f_favail" = x""yes; then :
13790 cat >>confdefs.h <<_ACEOF
13791 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
13792 _ACEOF
13796 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
13797 #ifdef HAVE_SYS_PARAM_H
13798 # include <sys/param.h>
13799 #endif
13800 #ifdef HAVE_SYS_MOUNT_H
13801 # include <sys/mount.h>
13802 #endif
13803 #ifdef HAVE_SYS_VFS_H
13804 # include <sys/vfs.h>
13805 #endif
13806 #ifdef HAVE_SYS_STATFS_H
13807 # include <sys/statfs.h>
13808 #endif
13810 if test "x$ac_cv_member_struct_statfs_f_namelen" = x""yes; then :
13812 cat >>confdefs.h <<_ACEOF
13813 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
13814 _ACEOF
13820 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
13821 #include <sys/statvfs.h>
13822 #endif
13824 if test "x$ac_cv_member_struct_statvfs_f_blocks" = x""yes; then :
13826 cat >>confdefs.h <<_ACEOF
13827 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
13828 _ACEOF
13834 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
13835 #ifdef HAVE_SYS_SOCKET_H
13836 # include <sys/socket.h>
13837 #endif
13838 #ifdef HAVE_SYS_UN_H
13839 # include <sys/un.h>
13840 #endif
13842 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = x""yes; then :
13844 cat >>confdefs.h <<_ACEOF
13845 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
13846 _ACEOF
13850 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
13851 #ifdef HAVE_SYS_SOCKET_H
13852 # include <sys/socket.h>
13853 #endif
13854 #ifdef HAVE_SYS_UN_H
13855 # include <sys/un.h>
13856 #endif
13858 if test "x$ac_cv_member_struct_sockaddr_sa_len" = x""yes; then :
13860 cat >>confdefs.h <<_ACEOF
13861 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
13862 _ACEOF
13866 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
13867 #ifdef HAVE_SYS_SOCKET_H
13868 # include <sys/socket.h>
13869 #endif
13870 #ifdef HAVE_SYS_UN_H
13871 # include <sys/un.h>
13872 #endif
13874 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = x""yes; then :
13876 cat >>confdefs.h <<_ACEOF
13877 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
13878 _ACEOF
13884 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
13885 #ifdef HAVE_SCSI_SG_H
13886 #include <scsi/sg.h>
13887 #endif
13889 if test "x$ac_cv_member_scsireq_t_cmd" = x""yes; then :
13891 cat >>confdefs.h <<_ACEOF
13892 #define HAVE_SCSIREQ_T_CMD 1
13893 _ACEOF
13897 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>
13898 #ifdef HAVE_SCSI_SG_H
13899 #include <scsi/sg.h>
13900 #endif
13902 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = x""yes; then :
13904 cat >>confdefs.h <<_ACEOF
13905 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
13906 _ACEOF
13912 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
13914 if test "x$ac_cv_member_siginfo_t_si_fd" = x""yes; then :
13916 cat >>confdefs.h <<_ACEOF
13917 #define HAVE_SIGINFO_T_SI_FD 1
13918 _ACEOF
13924 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
13925 #ifdef HAVE_SYS_MTIO_H
13926 #include <sys/mtio.h>
13927 #endif
13929 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = x""yes; then :
13931 cat >>confdefs.h <<_ACEOF
13932 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
13933 _ACEOF
13937 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
13938 #ifdef HAVE_SYS_MTIO_H
13939 #include <sys/mtio.h>
13940 #endif
13942 if test "x$ac_cv_member_struct_mtget_mt_gstat" = x""yes; then :
13944 cat >>confdefs.h <<_ACEOF
13945 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
13946 _ACEOF
13950 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
13951 #ifdef HAVE_SYS_MTIO_H
13952 #include <sys/mtio.h>
13953 #endif
13955 if test "x$ac_cv_member_struct_mtget_mt_blkno" = x""yes; then :
13957 cat >>confdefs.h <<_ACEOF
13958 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
13959 _ACEOF
13965 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
13966 #include <getopt.h>
13967 #endif
13969 if test "x$ac_cv_member_struct_option_name" = x""yes; then :
13971 cat >>confdefs.h <<_ACEOF
13972 #define HAVE_STRUCT_OPTION_NAME 1
13973 _ACEOF
13979 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
13980 if test "x$ac_cv_member_struct_stat_st_blocks" = x""yes; then :
13982 cat >>confdefs.h <<_ACEOF
13983 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
13984 _ACEOF
13988 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
13989 if test "x$ac_cv_member_struct_stat_st_mtim" = x""yes; then :
13991 cat >>confdefs.h <<_ACEOF
13992 #define HAVE_STRUCT_STAT_ST_MTIM 1
13993 _ACEOF
13997 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
13998 if test "x$ac_cv_member_struct_stat_st_ctim" = x""yes; then :
14000 cat >>confdefs.h <<_ACEOF
14001 #define HAVE_STRUCT_STAT_ST_CTIM 1
14002 _ACEOF
14006 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
14007 if test "x$ac_cv_member_struct_stat_st_atim" = x""yes; then :
14009 cat >>confdefs.h <<_ACEOF
14010 #define HAVE_STRUCT_STAT_ST_ATIM 1
14011 _ACEOF
14017 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
14018 #include <sys/types.h>
14019 #endif
14020 #ifdef HAVE_NETINET_IN_H
14021 #include <netinet/in.h>
14022 #endif
14024 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = x""yes; then :
14026 cat >>confdefs.h <<_ACEOF
14027 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
14028 _ACEOF
14034 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
14035 #include <sys/types.h>
14036 #endif
14037 #ifdef HAVE_NETINET_IN_H
14038 # include <netinet/in.h>
14039 #endif
14040 #ifdef HAVE_ARPA_NAMESER_H
14041 # include <arpa/nameser.h>
14042 #endif
14044 if test "x$ac_cv_member_ns_msg__msg_ptr" = x""yes; then :
14046 cat >>confdefs.h <<_ACEOF
14047 #define HAVE_NS_MSG__MSG_PTR 1
14048 _ACEOF
14054 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
14055 #include <sys/types.h>
14056 #endif
14057 #ifdef HAVE_ALIAS_H
14058 #include <alias.h>
14059 #endif
14060 #ifdef HAVE_SYS_SOCKET_H
14061 #include <sys/socket.h>
14062 #endif
14063 #ifdef HAVE_SYS_SOCKETVAR_H
14064 #include <sys/socketvar.h>
14065 #endif
14066 #ifdef HAVE_SYS_TIMEOUT_H
14067 #include <sys/timeout.h>
14068 #endif
14069 #ifdef HAVE_NETINET_IN_H
14070 #include <netinet/in.h>
14071 #endif
14072 #ifdef HAVE_NETINET_IN_SYSTM_H
14073 #include <netinet/in_systm.h>
14074 #endif
14075 #ifdef HAVE_NETINET_IP_H
14076 #include <netinet/ip.h>
14077 #endif
14078 #ifdef HAVE_NETINET_IP_VAR_H
14079 #include <netinet/ip_var.h>
14080 #endif
14081 #ifdef HAVE_NETINET_IP_ICMP_H
14082 #include <netinet/ip_icmp.h>
14083 #endif
14084 #ifdef HAVE_NETINET_ICMP_VAR
14085 #include <netinet/icmp_var.h>
14086 #endif
14088 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = x""yes; then :
14090 cat >>confdefs.h <<_ACEOF
14091 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
14092 _ACEOF
14098 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
14099 #include <sys/types.h>
14100 #endif
14101 #ifdef HAVE_NET_IF_H
14102 # include <net/if.h>
14103 #endif
14105 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = x""yes; then :
14107 cat >>confdefs.h <<_ACEOF
14108 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
14109 _ACEOF
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
14116 $as_echo_n "checking for timezone variable... " >&6; }
14117 if test "${ac_cv_have_timezone+set}" = set; then :
14118 $as_echo_n "(cached) " >&6
14119 else
14120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14121 /* end confdefs.h. */
14122 #include <time.h>
14124 main ()
14126 timezone = 1
14128 return 0;
14130 _ACEOF
14131 if ac_fn_c_try_link "$LINENO"; then :
14132 ac_cv_have_timezone="yes"
14133 else
14134 ac_cv_have_timezone="no"
14136 rm -f core conftest.err conftest.$ac_objext \
14137 conftest$ac_exeext conftest.$ac_ext
14139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
14140 $as_echo "$ac_cv_have_timezone" >&6; }
14141 if test "$ac_cv_have_timezone" = "yes"
14142 then
14144 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
14147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
14148 $as_echo_n "checking for daylight variable... " >&6; }
14149 if test "${ac_cv_have_daylight+set}" = set; then :
14150 $as_echo_n "(cached) " >&6
14151 else
14152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14153 /* end confdefs.h. */
14154 #include <time.h>
14156 main ()
14158 daylight = 1
14160 return 0;
14162 _ACEOF
14163 if ac_fn_c_try_link "$LINENO"; then :
14164 ac_cv_have_daylight="yes"
14165 else
14166 ac_cv_have_daylight="no"
14168 rm -f core conftest.err conftest.$ac_objext \
14169 conftest$ac_exeext conftest.$ac_ext
14171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
14172 $as_echo "$ac_cv_have_daylight" >&6; }
14173 if test "$ac_cv_have_daylight" = "yes"
14174 then
14176 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
14181 $as_echo_n "checking for isinf... " >&6; }
14182 if test "${ac_cv_have_isinf+set}" = set; then :
14183 $as_echo_n "(cached) " >&6
14184 else
14185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14186 /* end confdefs.h. */
14187 #include <math.h>
14189 main ()
14191 float f = 0.0; int i=isinf(f)
14193 return 0;
14195 _ACEOF
14196 if ac_fn_c_try_link "$LINENO"; then :
14197 ac_cv_have_isinf="yes"
14198 else
14199 ac_cv_have_isinf="no"
14201 rm -f core conftest.err conftest.$ac_objext \
14202 conftest$ac_exeext conftest.$ac_ext
14204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
14205 $as_echo "$ac_cv_have_isinf" >&6; }
14206 if test "$ac_cv_have_isinf" = "yes"
14207 then
14209 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
14213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
14214 $as_echo_n "checking for isnan... " >&6; }
14215 if test "${ac_cv_have_isnan+set}" = set; then :
14216 $as_echo_n "(cached) " >&6
14217 else
14218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14219 /* end confdefs.h. */
14220 #include <math.h>
14222 main ()
14224 float f = 0.0; int i=isnan(f)
14226 return 0;
14228 _ACEOF
14229 if ac_fn_c_try_link "$LINENO"; then :
14230 ac_cv_have_isnan="yes"
14231 else
14232 ac_cv_have_isnan="no"
14234 rm -f core conftest.err conftest.$ac_objext \
14235 conftest$ac_exeext conftest.$ac_ext
14237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
14238 $as_echo "$ac_cv_have_isnan" >&6; }
14239 if test "$ac_cv_have_isnan" = "yes"
14240 then
14242 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
14247 case $host_cpu in
14248 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
14249 $as_echo_n "checking whether we need to define __i386__... " >&6; }
14250 if test "${ac_cv_cpp_def___i386__+set}" = set; then :
14251 $as_echo_n "(cached) " >&6
14252 else
14253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14254 /* end confdefs.h. */
14255 #ifndef __i386__
14257 #endif
14258 _ACEOF
14259 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14260 $EGREP "yes" >/dev/null 2>&1; then :
14261 ac_cv_cpp_def___i386__=yes
14262 else
14263 ac_cv_cpp_def___i386__=no
14265 rm -f conftest*
14268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
14269 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
14270 if test $ac_cv_cpp_def___i386__ = yes; then :
14271 CFLAGS="$CFLAGS -D__i386__"
14272 LINTFLAGS="$LINTFLAGS -D__i386__"
14273 fi ;;
14274 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
14275 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
14276 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then :
14277 $as_echo_n "(cached) " >&6
14278 else
14279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14280 /* end confdefs.h. */
14281 #ifndef __x86_64__
14283 #endif
14284 _ACEOF
14285 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14286 $EGREP "yes" >/dev/null 2>&1; then :
14287 ac_cv_cpp_def___x86_64__=yes
14288 else
14289 ac_cv_cpp_def___x86_64__=no
14291 rm -f conftest*
14294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
14295 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
14296 if test $ac_cv_cpp_def___x86_64__ = yes; then :
14297 CFLAGS="$CFLAGS -D__x86_64__"
14298 LINTFLAGS="$LINTFLAGS -D__x86_64__"
14299 fi ;;
14300 *alpha*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __ALPHA__" >&5
14301 $as_echo_n "checking whether we need to define __ALPHA__... " >&6; }
14302 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then :
14303 $as_echo_n "(cached) " >&6
14304 else
14305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14306 /* end confdefs.h. */
14307 #ifndef __ALPHA__
14309 #endif
14310 _ACEOF
14311 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14312 $EGREP "yes" >/dev/null 2>&1; then :
14313 ac_cv_cpp_def___ALPHA__=yes
14314 else
14315 ac_cv_cpp_def___ALPHA__=no
14317 rm -f conftest*
14320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___ALPHA__" >&5
14321 $as_echo "$ac_cv_cpp_def___ALPHA__" >&6; }
14322 if test $ac_cv_cpp_def___ALPHA__ = yes; then :
14323 CFLAGS="$CFLAGS -D__ALPHA__"
14324 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
14325 fi ;;
14326 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
14327 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
14328 if test "${ac_cv_cpp_def___sparc__+set}" = set; then :
14329 $as_echo_n "(cached) " >&6
14330 else
14331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14332 /* end confdefs.h. */
14333 #ifndef __sparc__
14335 #endif
14336 _ACEOF
14337 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14338 $EGREP "yes" >/dev/null 2>&1; then :
14339 ac_cv_cpp_def___sparc__=yes
14340 else
14341 ac_cv_cpp_def___sparc__=no
14343 rm -f conftest*
14346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
14347 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
14348 if test $ac_cv_cpp_def___sparc__ = yes; then :
14349 CFLAGS="$CFLAGS -D__sparc__"
14350 LINTFLAGS="$LINTFLAGS -D__sparc__"
14351 fi ;;
14352 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
14353 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
14354 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then :
14355 $as_echo_n "(cached) " >&6
14356 else
14357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14358 /* end confdefs.h. */
14359 #ifndef __powerpc__
14361 #endif
14362 _ACEOF
14363 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14364 $EGREP "yes" >/dev/null 2>&1; then :
14365 ac_cv_cpp_def___powerpc__=yes
14366 else
14367 ac_cv_cpp_def___powerpc__=no
14369 rm -f conftest*
14372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
14373 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
14374 if test $ac_cv_cpp_def___powerpc__ = yes; then :
14375 CFLAGS="$CFLAGS -D__powerpc__"
14376 LINTFLAGS="$LINTFLAGS -D__powerpc__"
14377 fi ;;
14378 esac
14380 case $host_vendor in
14381 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
14382 $as_echo_n "checking whether we need to define __sun__... " >&6; }
14383 if test "${ac_cv_cpp_def___sun__+set}" = set; then :
14384 $as_echo_n "(cached) " >&6
14385 else
14386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14387 /* end confdefs.h. */
14388 #ifndef __sun__
14390 #endif
14391 _ACEOF
14392 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14393 $EGREP "yes" >/dev/null 2>&1; then :
14394 ac_cv_cpp_def___sun__=yes
14395 else
14396 ac_cv_cpp_def___sun__=no
14398 rm -f conftest*
14401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
14402 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
14403 if test $ac_cv_cpp_def___sun__ = yes; then :
14404 CFLAGS="$CFLAGS -D__sun__"
14405 LINTFLAGS="$LINTFLAGS -D__sun__"
14406 fi ;;
14407 esac
14413 ac_config_commands="$ac_config_commands include/stamp-h"
14416 ALL_MAKEFILE_DEPENDS="
14417 # Rules automatically generated by configure
14419 .INIT: Makefile
14420 .MAKEFILEDEPS:
14421 all: Makefile
14422 Makefile: Makefile.in Make.vars.in Make.rules config.status
14423 @./config.status Make.tmp Makefile"
14425 ALL_WINETEST_DEPENDS="# Test binaries"
14427 ALL_TEST_BINARIES=""
14430 wine_fn_append_file ()
14432 as_fn_append $1 " \\$as_nl $2"
14435 wine_fn_append_rule ()
14437 as_fn_append $1 "$as_nl$2"
14440 wine_fn_all_dir_rules ()
14442 ac_dir=$1
14443 ac_alldeps=$2
14444 ac_makedep="\$(MAKEDEP)"
14445 ac_input=Make.vars.in:$ac_dir/Makefile.in
14446 if test $ac_dir != tools
14447 then
14448 ac_alldeps="$2 $ac_makedep"
14450 case $2 in
14451 *.in) ac_input=$ac_input:$2 ;;
14452 *) ac_makedep="$2 $ac_makedep" ;;
14453 esac
14455 wine_fn_append_file ALL_DIRS $ac_dir
14456 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14457 "__clean__: $ac_dir/__clean__
14458 .PHONY: $ac_dir/__clean__
14459 $ac_dir/__clean__: $ac_dir/Makefile
14460 @cd $ac_dir && \$(MAKE) clean
14461 \$(RM) $ac_dir/Makefile
14462 $ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
14463 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
14464 depend: $ac_dir/__depend__
14465 .PHONY: $ac_dir/__depend__
14466 $ac_dir/__depend__: $ac_makedep dummy
14467 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
14470 wine_fn_config_makefile ()
14472 ac_dir=$1
14473 ac_enable=$2
14474 if eval test \"x\$"$ac_enable"\" = x"no"; then :
14475 return 0
14478 wine_fn_all_dir_rules $ac_dir Make.rules
14479 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14480 "all: $ac_dir
14481 .PHONY: $ac_dir
14482 $ac_dir: $ac_dir/Makefile dummy
14483 @cd $ac_dir && \$(MAKE)
14484 install:: $ac_dir
14485 @cd $ac_dir && \$(MAKE) install
14486 install-lib:: $ac_dir
14487 @cd $ac_dir && \$(MAKE) install-lib
14488 install-dev:: $ac_dir
14489 @cd $ac_dir && \$(MAKE) install-dev
14490 uninstall:: $ac_dir/Makefile
14491 @cd $ac_dir && \$(MAKE) uninstall"
14494 wine_fn_config_lib ()
14496 ac_name=$1
14497 ac_dir=dlls/$ac_name
14498 wine_fn_all_dir_rules $ac_dir dlls/Makeimplib.rules
14499 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14500 "all __builddeps__: $ac_dir
14501 $ac_dir: $ac_dir/Makefile tools/widl tools/winebuild tools/winegcc include dummy
14502 @cd $ac_dir && \$(MAKE)
14503 install install-dev:: $ac_dir
14504 @cd $ac_dir && \$(MAKE) install
14505 uninstall:: $ac_dir/Makefile
14506 @cd $ac_dir && \$(MAKE) uninstall"
14509 wine_fn_config_dll ()
14511 ac_name=$1
14512 ac_dir=dlls/$ac_name
14513 ac_enable=$2
14514 ac_implib=$3
14515 ac_implibsrc=$4
14516 ac_file=$ac_dir/lib$ac_implib
14517 ac_deps="tools/widl tools/winebuild tools/winegcc include"
14518 ac_implibflags=""
14520 case $ac_name in
14521 *16) ac_implibflags=" -m16" ;;
14522 esac
14524 wine_fn_all_dir_rules $ac_dir dlls/Makedll.rules
14526 if eval test \"x\$"$ac_enable"\" = x"no"; then :
14527 test "$ac_enable" != enable_win16 || return 0
14528 else
14529 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14530 "all: $ac_dir
14531 .PHONY: $ac_dir
14532 $ac_dir: $ac_dir/Makefile __builddeps__ dummy
14533 @cd $ac_dir && \$(MAKE)
14534 install:: $ac_dir/Makefile __builddeps__
14535 @cd $ac_dir && \$(MAKE) install
14536 install-lib:: $ac_dir/Makefile __builddeps__
14537 @cd $ac_dir && \$(MAKE) install-lib
14538 uninstall manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
14539 @cd $ac_dir && \$(MAKE) \$@"
14542 if test -n "$ac_implibsrc"
14543 then
14544 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14545 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
14546 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
14547 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile
14548 @cd $ac_dir && \$(MAKE) lib$ac_implib.def
14549 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
14550 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
14551 install-dev:: $ac_dir/Makefile __builddeps__
14552 @cd $ac_dir && \$(MAKE) install-dev"
14553 if test "x$CROSSTEST_DISABLE" = x
14554 then
14555 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14556 "__builddeps__: $ac_file.cross.a
14557 $ac_file.cross.a: $ac_dir/Makefile dummy
14558 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
14561 elif test -n "$ac_implib"
14562 then
14563 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14564 "__builddeps__: $ac_file.$IMPLIBEXT
14565 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14566 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
14567 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14568 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
14569 install-dev:: $ac_dir/Makefile __builddeps__
14570 @cd $ac_dir && \$(MAKE) install-dev"
14571 if test "x$CROSSTEST_DISABLE" = x
14572 then
14573 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14574 "__builddeps__: $ac_file.cross.a
14575 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14576 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
14579 if test "$ac_name" != "$ac_implib"
14580 then
14581 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14582 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
14583 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
14584 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
14585 clean::
14586 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
14587 if test "x$CROSSTEST_DISABLE" = x
14588 then
14589 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14590 "__builddeps__: dlls/lib$ac_implib.cross.a
14591 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
14592 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
14598 wine_fn_config_program ()
14600 ac_name=$1
14601 ac_dir=programs/$ac_name
14602 ac_enable=$2
14603 ac_install=$3
14604 wine_fn_all_dir_rules $ac_dir programs/Makeprog.rules
14606 if eval test \"x\$"$ac_enable"\" = x"no"; then :
14608 else
14609 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14610 "all: $ac_dir
14611 .PHONY: $ac_dir
14612 $ac_dir: $ac_dir/Makefile __builddeps__ dummy
14613 @cd $ac_dir && \$(MAKE)"
14615 test -n "$ac_install" || return
14616 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14617 "install install-lib:: $ac_dir/Makefile __builddeps__
14618 @cd $ac_dir && \$(MAKE) install
14619 uninstall:: $ac_dir/Makefile
14620 @cd $ac_dir && \$(MAKE) uninstall"
14621 if test "$ac_install" = installbin -a -n "$DLLEXT" -a "x$enable_tools" != xno
14622 then
14623 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14624 "install install-lib:: tools \$(DESTDIR)\$(bindir)
14625 \$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
14626 uninstall::
14627 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
14632 wine_fn_config_test ()
14634 ac_dir=$1
14635 ac_name=$2
14636 wine_fn_append_file ALL_TEST_BINARIES $ac_name.exe
14637 wine_fn_append_rule ALL_WINETEST_DEPENDS \
14638 "$ac_name.exe: \$(top_builddir)/$ac_dir/$ac_name.exe$DLLEXT
14639 cp \$(top_builddir)/$ac_dir/$ac_name.exe$DLLEXT \$@ && \$(STRIP) \$@
14640 $ac_name.rc:
14641 echo \"$ac_name.exe TESTRES \\\"$ac_name.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
14642 $ac_name.res: $ac_name.rc $ac_name.exe"
14643 wine_fn_all_dir_rules $ac_dir Maketest.rules
14645 if test "x$enable_tests" = x""no; then :
14647 else
14648 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14649 "all programs/winetest: $ac_dir
14650 .PHONY: $ac_dir
14651 $ac_dir: $ac_dir/Makefile __builddeps__ dummy
14652 @cd $ac_dir && \$(MAKE)
14653 test: $ac_dir/__test__
14654 .PHONY: $ac_dir/__test__
14655 $ac_dir/__test__: dummy
14656 @cd $ac_dir && \$(MAKE) test
14657 testclean::
14658 \$(RM) $ac_dir/*.ok"
14660 if test "x$CROSSTEST_DISABLE" = x
14661 then
14662 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14663 "crosstest: $ac_dir/__crosstest__
14664 .PHONY: $ac_dir/__crosstest__
14665 $ac_dir/__crosstest__: $ac_dir/Makefile __builddeps__ dummy
14666 @cd $ac_dir && \$(MAKE) crosstest"
14671 wine_fn_config_tool ()
14673 ac_dir=$1
14674 wine_fn_all_dir_rules $ac_dir Make.rules
14676 if test "x$enable_tools" = x""no; then :
14678 else
14679 case $ac_dir in
14680 tools) wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14681 "install:: $ac_dir
14682 @cd $ac_dir && \$(MAKE) install
14683 install-lib:: $ac_dir
14684 @cd $ac_dir && \$(MAKE) install-lib
14685 install-dev:: $ac_dir
14686 @cd $ac_dir && \$(MAKE) install-dev" ;;
14687 *) wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14688 "install install-dev:: $ac_dir
14689 @cd $ac_dir && \$(MAKE) install" ;;
14690 esac
14691 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14692 "uninstall:: $ac_dir/Makefile
14693 @cd $ac_dir && \$(MAKE) uninstall
14694 all __tooldeps__: $ac_dir
14695 .PHONY: $ac_dir
14696 $ac_dir: $ac_dir/Makefile libs/port dummy
14697 @cd $ac_dir && \$(MAKE)"
14698 case $ac_dir in
14699 tools/winebuild) wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(WINEBUILD): $ac_dir" ;;
14700 esac
14704 wine_fn_config_makerules ()
14706 ac_rules=$1
14707 ac_deps=$2
14708 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14709 "$ac_rules: $ac_rules.in $ac_deps config.status
14710 @./config.status $ac_rules
14711 distclean::
14712 \$(RM) $ac_rules"
14715 wine_fn_config_symlink ()
14717 ac_link=$1
14718 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14719 "$ac_link:
14720 @./config.status $ac_link
14721 distclean::
14722 \$(RM) $ac_link"
14725 if test "x$CROSSTEST_DISABLE" != x
14726 then
14727 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14728 "crosstest:
14729 @echo \"crosstest is not supported (mingw not installed?)\" && false"
14731 ac_config_links="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
14732 wine_fn_config_symlink dlls/shell32/AUTHORS
14733 ac_config_links="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
14734 test "$srcdir" = "." || wine_fn_config_symlink dlls/wineps.drv/generic.ppd
14735 if test "x$enable_fonts" != xno; then
14736 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
14737 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf
14739 if test "x$enable_fonts" != xno; then
14740 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
14741 test "$srcdir" = "." || wine_fn_config_symlink fonts/symbol.ttf
14743 if test "x$enable_fonts" != xno; then
14744 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
14745 test "$srcdir" = "." || wine_fn_config_symlink fonts/tahoma.ttf
14747 if test "x$enable_fonts" != xno; then
14748 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
14749 test "$srcdir" = "." || wine_fn_config_symlink fonts/tahomabd.ttf
14751 ac_config_links="$ac_config_links tools/l_intl.nls:tools/l_intl.nls"
14752 test "$srcdir" = "." || wine_fn_config_symlink tools/l_intl.nls
14753 ac_config_links="$ac_config_links wine:tools/winewrapper"
14754 wine_fn_config_symlink wine
14756 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
14758 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
14760 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
14762 ac_config_commands="$ac_config_commands dlls/user32/resources"
14764 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
14766 ac_config_commands="$ac_config_commands include/wine"
14769 wine_fn_config_makerules Make.rules
14770 MAKE_RULES=Make.rules
14771 ac_config_files="$ac_config_files Make.rules"
14773 wine_fn_config_makerules Maketest.rules Make.rules
14774 MAKE_TEST_RULES=Maketest.rules
14775 ac_config_files="$ac_config_files Maketest.rules"
14777 wine_fn_config_makerules dlls/Makedll.rules Make.rules
14778 MAKE_DLL_RULES=dlls/Makedll.rules
14779 ac_config_files="$ac_config_files dlls/Makedll.rules"
14781 wine_fn_config_makerules dlls/Makeimplib.rules Make.rules
14782 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
14783 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
14785 wine_fn_config_makerules programs/Makeprog.rules Make.rules
14786 MAKE_PROG_RULES=programs/Makeprog.rules
14787 ac_config_files="$ac_config_files programs/Makeprog.rules"
14790 wine_fn_config_dll acledit enable_acledit
14791 wine_fn_config_dll aclui enable_aclui aclui
14792 wine_fn_config_dll activeds enable_activeds activeds
14793 wine_fn_config_dll actxprxy enable_actxprxy
14794 wine_fn_config_lib adsiid
14795 wine_fn_config_dll advapi32 enable_advapi32 advapi32
14796 wine_fn_config_test dlls/advapi32/tests advapi32_test
14797 wine_fn_config_dll advpack enable_advpack advpack
14798 wine_fn_config_test dlls/advpack/tests advpack_test
14799 wine_fn_config_dll amstream enable_amstream
14800 wine_fn_config_test dlls/amstream/tests amstream_test
14801 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl
14802 wine_fn_config_dll atl enable_atl atl
14803 wine_fn_config_test dlls/atl/tests atl_test
14804 wine_fn_config_dll authz enable_authz
14805 wine_fn_config_dll avicap32 enable_avicap32 avicap32
14806 wine_fn_config_dll avifil32 enable_avifil32 avifil32
14807 wine_fn_config_test dlls/avifil32/tests avifil32_test
14808 wine_fn_config_dll avifile.dll16 enable_win16
14809 wine_fn_config_dll avrt enable_avrt avrt
14810 wine_fn_config_dll bcrypt enable_bcrypt
14811 wine_fn_config_dll browseui enable_browseui
14812 wine_fn_config_test dlls/browseui/tests browseui_test
14813 wine_fn_config_dll cabinet enable_cabinet cabinet
14814 wine_fn_config_test dlls/cabinet/tests cabinet_test
14815 wine_fn_config_dll capi2032 enable_capi2032 capi2032
14816 wine_fn_config_dll cards enable_cards cards
14817 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 cfgmgr32
14818 wine_fn_config_dll clusapi enable_clusapi clusapi
14819 wine_fn_config_dll comcat enable_comcat
14820 wine_fn_config_test dlls/comcat/tests comcat_test
14821 wine_fn_config_dll comctl32 enable_comctl32 comctl32
14822 wine_fn_config_test dlls/comctl32/tests comctl32_test
14823 wine_fn_config_dll comdlg32 enable_comdlg32 comdlg32
14824 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
14825 wine_fn_config_dll comm.drv16 enable_win16
14826 wine_fn_config_dll commdlg.dll16 enable_win16
14827 wine_fn_config_dll compobj.dll16 enable_win16
14828 wine_fn_config_dll compstui enable_compstui compstui
14829 wine_fn_config_dll credui enable_credui credui
14830 wine_fn_config_test dlls/credui/tests credui_test
14831 wine_fn_config_dll crtdll enable_crtdll crtdll
14832 wine_fn_config_dll crypt32 enable_crypt32 crypt32
14833 wine_fn_config_test dlls/crypt32/tests crypt32_test
14834 wine_fn_config_dll cryptdlg enable_cryptdlg
14835 wine_fn_config_dll cryptdll enable_cryptdll cryptdll
14836 wine_fn_config_dll cryptnet enable_cryptnet cryptnet
14837 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
14838 wine_fn_config_dll cryptui enable_cryptui cryptui
14839 wine_fn_config_test dlls/cryptui/tests cryptui_test
14840 wine_fn_config_dll ctapi32 enable_ctapi32
14841 wine_fn_config_dll ctl3d.dll16 enable_win16
14842 wine_fn_config_dll ctl3d32 enable_ctl3d32 ctl3d32
14843 wine_fn_config_dll ctl3dv2.dll16 enable_win16
14844 wine_fn_config_dll d3d10 enable_d3d10 d3d10
14845 wine_fn_config_test dlls/d3d10/tests d3d10_test
14846 wine_fn_config_dll d3d10core enable_d3d10core d3d10core
14847 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
14848 wine_fn_config_dll d3d8 enable_d3d8 d3d8
14849 wine_fn_config_test dlls/d3d8/tests d3d8_test
14850 wine_fn_config_dll d3d9 enable_d3d9 d3d9
14851 wine_fn_config_test dlls/d3d9/tests d3d9_test
14852 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
14853 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
14854 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
14855 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
14856 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
14857 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
14858 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
14859 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
14860 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
14861 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
14862 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 d3dcompiler
14863 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
14864 wine_fn_config_dll d3dim enable_d3dim d3dim
14865 wine_fn_config_dll d3drm enable_d3drm d3drm
14866 wine_fn_config_test dlls/d3drm/tests d3drm_test
14867 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
14868 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
14869 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
14870 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
14871 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
14872 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
14873 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
14874 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
14875 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
14876 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
14877 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
14878 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
14879 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
14880 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
14881 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
14882 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
14883 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
14884 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
14885 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
14886 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
14887 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
14888 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
14889 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
14890 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 d3dx9
14891 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
14892 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
14893 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
14894 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
14895 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
14896 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
14897 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
14898 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
14899 wine_fn_config_dll d3dxof enable_d3dxof d3dxof
14900 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
14901 wine_fn_config_dll dbgeng enable_dbgeng dbgeng
14902 wine_fn_config_dll dbghelp enable_dbghelp dbghelp
14903 wine_fn_config_dll dciman32 enable_dciman32 dciman32
14904 wine_fn_config_dll ddeml.dll16 enable_win16
14905 wine_fn_config_dll ddraw enable_ddraw ddraw
14906 wine_fn_config_test dlls/ddraw/tests ddraw_test
14907 wine_fn_config_dll ddrawex enable_ddrawex
14908 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
14909 wine_fn_config_dll devenum enable_devenum
14910 wine_fn_config_dll dinput enable_dinput dinput "data_formats.c"
14911 wine_fn_config_test dlls/dinput/tests dinput_test
14912 wine_fn_config_dll dinput8 enable_dinput8 dinput8
14913 wine_fn_config_dll dispdib.dll16 enable_win16
14914 wine_fn_config_dll dispex enable_dispex
14915 wine_fn_config_test dlls/dispex/tests dispex_test
14916 wine_fn_config_dll display.drv16 enable_win16
14917 wine_fn_config_dll dmband enable_dmband
14918 wine_fn_config_dll dmcompos enable_dmcompos
14919 wine_fn_config_dll dmime enable_dmime
14920 wine_fn_config_test dlls/dmime/tests dmime_test
14921 wine_fn_config_dll dmloader enable_dmloader
14922 wine_fn_config_test dlls/dmloader/tests dmloader_test
14923 wine_fn_config_dll dmscript enable_dmscript
14924 wine_fn_config_dll dmstyle enable_dmstyle
14925 wine_fn_config_dll dmsynth enable_dmsynth
14926 wine_fn_config_dll dmusic enable_dmusic
14927 wine_fn_config_dll dmusic32 enable_dmusic32 dmusic32
14928 wine_fn_config_dll dnsapi enable_dnsapi dnsapi
14929 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
14930 wine_fn_config_dll dplay enable_dplay dplay
14931 wine_fn_config_dll dplayx enable_dplayx dplayx
14932 wine_fn_config_test dlls/dplayx/tests dplayx_test
14933 wine_fn_config_dll dpnaddr enable_dpnaddr
14934 wine_fn_config_dll dpnet enable_dpnet dpnet
14935 wine_fn_config_dll dpnhpast enable_dpnhpast
14936 wine_fn_config_dll dpnlobby enable_dpnlobby
14937 wine_fn_config_dll dpwsockx enable_dpwsockx
14938 wine_fn_config_dll drmclien enable_drmclien
14939 wine_fn_config_dll dsound enable_dsound dsound
14940 wine_fn_config_test dlls/dsound/tests dsound_test
14941 wine_fn_config_dll dssenh enable_dssenh
14942 wine_fn_config_dll dswave enable_dswave
14943 wine_fn_config_dll dwmapi enable_dwmapi dwmapi
14944 wine_fn_config_dll dxdiagn enable_dxdiagn
14945 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
14946 wine_fn_config_lib dxerr8
14947 wine_fn_config_lib dxerr9
14948 wine_fn_config_dll dxgi enable_dxgi dxgi
14949 wine_fn_config_test dlls/dxgi/tests dxgi_test
14950 wine_fn_config_lib dxguid
14951 wine_fn_config_dll explorerframe enable_explorerframe
14952 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
14953 wine_fn_config_dll faultrep enable_faultrep faultrep
14954 wine_fn_config_test dlls/faultrep/tests faultrep_test
14955 wine_fn_config_dll fltlib enable_fltlib
14956 wine_fn_config_dll fusion enable_fusion
14957 wine_fn_config_test dlls/fusion/tests fusion_test
14958 wine_fn_config_dll fwpuclnt enable_fwpuclnt
14959 wine_fn_config_dll gameux enable_gameux
14960 wine_fn_config_test dlls/gameux/tests gameux_test
14961 wine_fn_config_dll gdi.exe16 enable_win16
14962 wine_fn_config_dll gdi32 enable_gdi32 gdi32
14963 wine_fn_config_test dlls/gdi32/tests gdi32_test
14964 wine_fn_config_dll gdiplus enable_gdiplus gdiplus
14965 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
14966 wine_fn_config_dll glu32 enable_glu32 glu32
14967 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds
14968 wine_fn_config_dll gpkcsp enable_gpkcsp
14969 wine_fn_config_dll hal enable_hal
14970 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx
14971 wine_fn_config_dll hid enable_hid hid
14972 wine_fn_config_dll hlink enable_hlink hlink
14973 wine_fn_config_test dlls/hlink/tests hlink_test
14974 wine_fn_config_dll hnetcfg enable_hnetcfg
14975 wine_fn_config_dll httpapi enable_httpapi
14976 wine_fn_config_dll iccvid enable_iccvid
14977 wine_fn_config_dll icmp enable_icmp
14978 wine_fn_config_dll ifsmgr.vxd enable_win16
14979 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
14980 wine_fn_config_dll imagehlp enable_imagehlp imagehlp
14981 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
14982 wine_fn_config_dll imm.dll16 enable_win16
14983 wine_fn_config_dll imm32 enable_imm32 imm32
14984 wine_fn_config_test dlls/imm32/tests imm32_test
14985 wine_fn_config_dll inetcomm enable_inetcomm inetcomm
14986 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
14987 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl
14988 wine_fn_config_dll inetmib1 enable_inetmib1
14989 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
14990 wine_fn_config_dll infosoft enable_infosoft
14991 wine_fn_config_test dlls/infosoft/tests infosoft_test
14992 wine_fn_config_dll initpki enable_initpki
14993 wine_fn_config_dll inkobj enable_inkobj
14994 wine_fn_config_dll inseng enable_inseng
14995 wine_fn_config_dll iphlpapi enable_iphlpapi iphlpapi
14996 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
14997 wine_fn_config_dll itircl enable_itircl
14998 wine_fn_config_dll itss enable_itss
14999 wine_fn_config_test dlls/itss/tests itss_test
15000 wine_fn_config_dll jscript enable_jscript
15001 wine_fn_config_test dlls/jscript/tests jscript_test
15002 wine_fn_config_dll kernel32 enable_kernel32 kernel32
15003 wine_fn_config_test dlls/kernel32/tests kernel32_test
15004 wine_fn_config_dll keyboard.drv16 enable_win16
15005 wine_fn_config_dll krnl386.exe16 enable_win16 kernel
15006 wine_fn_config_dll ktmw32 enable_ktmw32
15007 wine_fn_config_dll loadperf enable_loadperf loadperf
15008 wine_fn_config_dll localspl enable_localspl
15009 wine_fn_config_test dlls/localspl/tests localspl_test
15010 wine_fn_config_dll localui enable_localui
15011 wine_fn_config_test dlls/localui/tests localui_test
15012 wine_fn_config_dll lz32 enable_lz32 lz32
15013 wine_fn_config_test dlls/lz32/tests lz32_test
15014 wine_fn_config_dll lzexpand.dll16 enable_win16
15015 wine_fn_config_dll mapi32 enable_mapi32 mapi32
15016 wine_fn_config_test dlls/mapi32/tests mapi32_test
15017 wine_fn_config_dll mapistub enable_mapistub
15018 wine_fn_config_dll mciavi32 enable_mciavi32
15019 wine_fn_config_dll mcicda enable_mcicda
15020 wine_fn_config_dll mciqtz32 enable_mciqtz32
15021 wine_fn_config_dll mciseq enable_mciseq
15022 wine_fn_config_dll mciwave enable_mciwave
15023 wine_fn_config_dll midimap enable_midimap
15024 wine_fn_config_dll mlang enable_mlang mlang
15025 wine_fn_config_test dlls/mlang/tests mlang_test
15026 wine_fn_config_dll mmdevapi enable_mmdevapi
15027 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
15028 wine_fn_config_dll mmdevldr.vxd enable_win16
15029 wine_fn_config_dll mmsystem.dll16 enable_win16
15030 wine_fn_config_dll monodebg.vxd enable_win16
15031 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
15032 wine_fn_config_dll mouse.drv16 enable_win16
15033 wine_fn_config_dll mpr enable_mpr mpr
15034 wine_fn_config_dll mprapi enable_mprapi mprapi
15035 wine_fn_config_dll msacm.dll16 enable_win16
15036 wine_fn_config_dll msacm32.drv enable_msacm32_drv
15037 wine_fn_config_dll msacm32 enable_msacm32 msacm32
15038 wine_fn_config_test dlls/msacm32/tests msacm32_test
15039 wine_fn_config_dll msadp32.acm enable_msadp32_acm
15040 wine_fn_config_dll mscat32 enable_mscat32
15041 wine_fn_config_dll mscms enable_mscms mscms
15042 wine_fn_config_test dlls/mscms/tests mscms_test
15043 wine_fn_config_dll mscoree enable_mscoree
15044 wine_fn_config_test dlls/mscoree/tests mscoree_test
15045 wine_fn_config_dll msctf enable_msctf
15046 wine_fn_config_test dlls/msctf/tests msctf_test
15047 wine_fn_config_dll msdaps enable_msdaps
15048 wine_fn_config_dll msdmo enable_msdmo msdmo
15049 wine_fn_config_dll msftedit enable_msftedit
15050 wine_fn_config_dll msg711.acm enable_msg711_acm
15051 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
15052 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
15053 wine_fn_config_dll mshtml enable_mshtml mshtml
15054 wine_fn_config_test dlls/mshtml/tests mshtml_test
15055 wine_fn_config_dll msi enable_msi msi
15056 wine_fn_config_test dlls/msi/tests msi_test
15057 wine_fn_config_dll msimg32 enable_msimg32 msimg32
15058 wine_fn_config_dll msimtf enable_msimtf
15059 wine_fn_config_dll msisip enable_msisip
15060 wine_fn_config_dll msisys.ocx enable_msisys_ocx
15061 wine_fn_config_dll msnet32 enable_msnet32
15062 wine_fn_config_dll msrle32 enable_msrle32
15063 wine_fn_config_dll mssign32 enable_mssign32
15064 wine_fn_config_dll mssip32 enable_mssip32
15065 wine_fn_config_dll mstask enable_mstask
15066 wine_fn_config_test dlls/mstask/tests mstask_test
15067 wine_fn_config_dll msvcirt enable_msvcirt
15068 wine_fn_config_dll msvcp80 enable_msvcp80
15069 wine_fn_config_dll msvcp90 enable_msvcp90
15070 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
15071 wine_fn_config_dll msvcr100 enable_msvcr100
15072 wine_fn_config_dll msvcr70 enable_msvcr70 msvcr70
15073 wine_fn_config_dll msvcr71 enable_msvcr71 msvcr71
15074 wine_fn_config_dll msvcr80 enable_msvcr80
15075 wine_fn_config_dll msvcr90 enable_msvcr90
15076 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
15077 wine_fn_config_dll msvcrt enable_msvcrt msvcrt
15078 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
15079 wine_fn_config_dll msvcrt20 enable_msvcrt20 msvcrt20
15080 wine_fn_config_dll msvcrt40 enable_msvcrt40 msvcrt40
15081 wine_fn_config_dll msvcrtd enable_msvcrtd msvcrtd
15082 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
15083 wine_fn_config_dll msvfw32 enable_msvfw32 msvfw32
15084 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
15085 wine_fn_config_dll msvidc32 enable_msvidc32
15086 wine_fn_config_dll msvideo.dll16 enable_win16
15087 wine_fn_config_dll mswsock enable_mswsock mswsock
15088 wine_fn_config_dll msxml3 enable_msxml3
15089 wine_fn_config_test dlls/msxml3/tests msxml3_test
15090 wine_fn_config_dll msxml4 enable_msxml4
15091 wine_fn_config_dll msxml6 enable_msxml6
15092 wine_fn_config_dll nddeapi enable_nddeapi nddeapi
15093 wine_fn_config_dll netapi32 enable_netapi32 netapi32
15094 wine_fn_config_test dlls/netapi32/tests netapi32_test
15095 wine_fn_config_dll newdev enable_newdev newdev
15096 wine_fn_config_dll npmshtml enable_npmshtml
15097 wine_fn_config_dll ntdll enable_ntdll ntdll
15098 wine_fn_config_test dlls/ntdll/tests ntdll_test
15099 wine_fn_config_dll ntdsapi enable_ntdsapi ntdsapi
15100 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
15101 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe ntoskrnl.exe
15102 wine_fn_config_dll ntprint enable_ntprint
15103 wine_fn_config_test dlls/ntprint/tests ntprint_test
15104 wine_fn_config_dll objsel enable_objsel
15105 wine_fn_config_dll odbc32 enable_odbc32 odbc32
15106 wine_fn_config_dll odbccp32 enable_odbccp32 odbccp32
15107 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
15108 wine_fn_config_dll ole2.dll16 enable_win16
15109 wine_fn_config_dll ole2conv.dll16 enable_win16
15110 wine_fn_config_dll ole2disp.dll16 enable_win16
15111 wine_fn_config_dll ole2nls.dll16 enable_win16
15112 wine_fn_config_dll ole2prox.dll16 enable_win16
15113 wine_fn_config_dll ole2thk.dll16 enable_win16
15114 wine_fn_config_dll ole32 enable_ole32 ole32
15115 wine_fn_config_test dlls/ole32/tests ole32_test
15116 wine_fn_config_dll oleacc enable_oleacc oleacc
15117 wine_fn_config_test dlls/oleacc/tests oleacc_test
15118 wine_fn_config_dll oleaut32 enable_oleaut32 oleaut32
15119 wine_fn_config_test dlls/oleaut32/tests oleaut32_test
15120 wine_fn_config_dll olecli.dll16 enable_win16
15121 wine_fn_config_dll olecli32 enable_olecli32 olecli32
15122 wine_fn_config_dll oledb32 enable_oledb32
15123 wine_fn_config_test dlls/oledb32/tests oledb32_test
15124 wine_fn_config_dll oledlg enable_oledlg oledlg
15125 wine_fn_config_dll olepro32 enable_olepro32 olepro32
15126 wine_fn_config_dll olesvr.dll16 enable_win16
15127 wine_fn_config_dll olesvr32 enable_olesvr32 olesvr32
15128 wine_fn_config_dll olethk32 enable_olethk32
15129 wine_fn_config_dll openal32 enable_openal32
15130 wine_fn_config_dll opencl enable_opencl
15131 wine_fn_config_dll opengl32 enable_opengl32 opengl32
15132 wine_fn_config_test dlls/opengl32/tests opengl32_test
15133 wine_fn_config_dll pdh enable_pdh pdh
15134 wine_fn_config_test dlls/pdh/tests pdh_test
15135 wine_fn_config_dll pidgen enable_pidgen
15136 wine_fn_config_dll powrprof enable_powrprof powrprof
15137 wine_fn_config_dll printui enable_printui
15138 wine_fn_config_dll propsys enable_propsys propsys
15139 wine_fn_config_test dlls/propsys/tests propsys_test
15140 wine_fn_config_dll psapi enable_psapi psapi
15141 wine_fn_config_test dlls/psapi/tests psapi_test
15142 wine_fn_config_dll pstorec enable_pstorec
15143 wine_fn_config_dll qcap enable_qcap
15144 wine_fn_config_dll qedit enable_qedit
15145 wine_fn_config_test dlls/qedit/tests qedit_test
15146 wine_fn_config_dll qmgr enable_qmgr
15147 wine_fn_config_test dlls/qmgr/tests qmgr_test
15148 wine_fn_config_dll qmgrprxy enable_qmgrprxy
15149 wine_fn_config_dll quartz enable_quartz quartz
15150 wine_fn_config_test dlls/quartz/tests quartz_test
15151 wine_fn_config_dll query enable_query
15152 wine_fn_config_dll rasapi16.dll16 enable_win16
15153 wine_fn_config_dll rasapi32 enable_rasapi32 rasapi32
15154 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
15155 wine_fn_config_dll rasdlg enable_rasdlg rasdlg
15156 wine_fn_config_dll resutils enable_resutils resutils
15157 wine_fn_config_dll riched20 enable_riched20 riched20
15158 wine_fn_config_test dlls/riched20/tests riched20_test
15159 wine_fn_config_dll riched32 enable_riched32
15160 wine_fn_config_test dlls/riched32/tests riched32_test
15161 wine_fn_config_dll rpcrt4 enable_rpcrt4 rpcrt4
15162 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test
15163 wine_fn_config_dll rsabase enable_rsabase
15164 wine_fn_config_dll rsaenh enable_rsaenh rsaenh
15165 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
15166 wine_fn_config_dll rstrtmgr enable_rstrtmgr
15167 wine_fn_config_dll rtutils enable_rtutils rtutils
15168 wine_fn_config_dll samlib enable_samlib
15169 wine_fn_config_dll sane.ds enable_sane_ds
15170 wine_fn_config_dll sccbase enable_sccbase
15171 wine_fn_config_dll schannel enable_schannel
15172 wine_fn_config_test dlls/schannel/tests schannel_test
15173 wine_fn_config_dll secur32 enable_secur32 secur32
15174 wine_fn_config_test dlls/secur32/tests secur32_test
15175 wine_fn_config_dll security enable_security
15176 wine_fn_config_dll sensapi enable_sensapi sensapi
15177 wine_fn_config_dll serialui enable_serialui serialui
15178 wine_fn_config_test dlls/serialui/tests serialui_test
15179 wine_fn_config_dll setupapi enable_setupapi setupapi
15180 wine_fn_config_test dlls/setupapi/tests setupapi_test
15181 wine_fn_config_dll setupx.dll16 enable_win16
15182 wine_fn_config_dll sfc enable_sfc sfc
15183 wine_fn_config_dll sfc_os enable_sfc_os sfc_os
15184 wine_fn_config_dll shdoclc enable_shdoclc
15185 wine_fn_config_dll shdocvw enable_shdocvw shdocvw
15186 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
15187 wine_fn_config_dll shell.dll16 enable_win16
15188 wine_fn_config_dll shell32 enable_shell32 shell32
15189 wine_fn_config_test dlls/shell32/tests shell32_test
15190 wine_fn_config_dll shfolder enable_shfolder shfolder
15191 wine_fn_config_dll shlwapi enable_shlwapi shlwapi
15192 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
15193 wine_fn_config_dll slbcsp enable_slbcsp
15194 wine_fn_config_dll slc enable_slc slc
15195 wine_fn_config_dll snmpapi enable_snmpapi snmpapi
15196 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
15197 wine_fn_config_dll softpub enable_softpub
15198 wine_fn_config_dll sound.drv16 enable_win16
15199 wine_fn_config_dll spoolss enable_spoolss spoolss
15200 wine_fn_config_test dlls/spoolss/tests spoolss_test
15201 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
15202 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
15203 wine_fn_config_dll sti enable_sti sti
15204 wine_fn_config_test dlls/sti/tests sti_test
15205 wine_fn_config_dll storage.dll16 enable_win16
15206 wine_fn_config_dll stress.dll16 enable_win16
15207 wine_fn_config_lib strmbase
15208 wine_fn_config_lib strmiids
15209 wine_fn_config_dll svrapi enable_svrapi
15210 wine_fn_config_dll sxs enable_sxs
15211 wine_fn_config_dll system.drv16 enable_win16
15212 wine_fn_config_dll t2embed enable_t2embed
15213 wine_fn_config_dll tapi32 enable_tapi32 tapi32
15214 wine_fn_config_dll toolhelp.dll16 enable_win16
15215 wine_fn_config_dll traffic enable_traffic
15216 wine_fn_config_dll twain.dll16 enable_win16
15217 wine_fn_config_dll twain_32 enable_twain_32
15218 wine_fn_config_test dlls/twain_32/tests twain_32_test
15219 wine_fn_config_dll typelib.dll16 enable_win16
15220 wine_fn_config_dll unicows enable_unicows unicows
15221 wine_fn_config_dll updspapi enable_updspapi
15222 wine_fn_config_dll url enable_url url
15223 wine_fn_config_dll urlmon enable_urlmon urlmon
15224 wine_fn_config_test dlls/urlmon/tests urlmon_test
15225 wine_fn_config_dll usbd.sys enable_usbd_sys usbd.sys
15226 wine_fn_config_dll user.exe16 enable_win16
15227 wine_fn_config_dll user32 enable_user32 user32
15228 wine_fn_config_test dlls/user32/tests user32_test
15229 wine_fn_config_dll userenv enable_userenv userenv
15230 wine_fn_config_test dlls/userenv/tests userenv_test
15231 wine_fn_config_dll usp10 enable_usp10 usp10
15232 wine_fn_config_test dlls/usp10/tests usp10_test
15233 wine_fn_config_lib uuid
15234 wine_fn_config_dll uxtheme enable_uxtheme uxtheme
15235 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
15236 wine_fn_config_dll vdhcp.vxd enable_win16
15237 wine_fn_config_dll vdmdbg enable_vdmdbg vdmdbg
15238 wine_fn_config_dll ver.dll16 enable_win16
15239 wine_fn_config_dll version enable_version version
15240 wine_fn_config_test dlls/version/tests version_test
15241 wine_fn_config_dll vmm.vxd enable_win16
15242 wine_fn_config_dll vnbt.vxd enable_win16
15243 wine_fn_config_dll vnetbios.vxd enable_win16
15244 wine_fn_config_dll vtdapi.vxd enable_win16
15245 wine_fn_config_dll vwin32.vxd enable_win16
15246 wine_fn_config_dll w32skrnl enable_win16
15247 wine_fn_config_dll w32sys.dll16 enable_win16
15248 wine_fn_config_dll wbemprox enable_wbemprox
15249 wine_fn_config_dll wer enable_wer wer
15250 wine_fn_config_test dlls/wer/tests wer_test
15251 wine_fn_config_dll wiaservc enable_wiaservc
15252 wine_fn_config_dll win32s16.dll16 enable_win16
15253 wine_fn_config_dll win87em.dll16 enable_win16
15254 wine_fn_config_dll winaspi.dll16 enable_win16
15255 wine_fn_config_dll windebug.dll16 enable_win16
15256 wine_fn_config_dll windowscodecs enable_windowscodecs windowscodecs
15257 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
15258 wine_fn_config_dll winealsa.drv enable_winealsa_drv
15259 wine_fn_config_dll wineaudioio.drv enable_wineaudioio_drv
15260 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
15261 wine_fn_config_lib winecrt0
15262 wine_fn_config_dll wined3d enable_wined3d wined3d
15263 wine_fn_config_dll wineesd.drv enable_wineesd_drv
15264 wine_fn_config_dll winegstreamer enable_winegstreamer
15265 wine_fn_config_dll winejack.drv enable_winejack_drv
15266 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
15267 wine_fn_config_dll winemapi enable_winemapi
15268 wine_fn_config_dll winemp3.acm enable_winemp3_acm
15269 wine_fn_config_dll winenas.drv enable_winenas_drv
15270 wine_fn_config_dll wineoss.drv enable_wineoss_drv
15271 wine_fn_config_dll wineps.drv enable_wineps_drv
15272 wine_fn_config_dll wineps16.drv16 enable_win16
15273 wine_fn_config_dll winequartz.drv enable_winequartz_drv
15274 wine_fn_config_dll winex11.drv enable_winex11_drv
15275 wine_fn_config_dll wing.dll16 enable_win16
15276 wine_fn_config_dll wing32 enable_wing32
15277 wine_fn_config_dll winhttp enable_winhttp winhttp
15278 wine_fn_config_test dlls/winhttp/tests winhttp_test
15279 wine_fn_config_dll wininet enable_wininet wininet
15280 wine_fn_config_test dlls/wininet/tests wininet_test
15281 wine_fn_config_dll winmm enable_winmm winmm
15282 wine_fn_config_test dlls/winmm/tests winmm_test
15283 wine_fn_config_dll winnls.dll16 enable_win16
15284 wine_fn_config_dll winnls32 enable_winnls32 winnls32
15285 wine_fn_config_dll winscard enable_winscard winscard
15286 wine_fn_config_dll winsock.dll16 enable_win16
15287 wine_fn_config_dll winspool.drv enable_winspool_drv winspool
15288 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
15289 wine_fn_config_dll wintab.dll16 enable_win16
15290 wine_fn_config_dll wintab32 enable_wintab32 wintab32
15291 wine_fn_config_test dlls/wintab32/tests wintab32_test
15292 wine_fn_config_dll wintrust enable_wintrust wintrust
15293 wine_fn_config_test dlls/wintrust/tests wintrust_test
15294 wine_fn_config_dll wlanapi enable_wlanapi
15295 wine_fn_config_dll wldap32 enable_wldap32 wldap32
15296 wine_fn_config_test dlls/wldap32/tests wldap32_test
15297 wine_fn_config_dll wmi enable_wmi
15298 wine_fn_config_dll wmiutils enable_wmiutils
15299 wine_fn_config_dll wnaspi32 enable_wnaspi32 wnaspi32
15300 wine_fn_config_dll wow32 enable_win16 wow32
15301 wine_fn_config_dll ws2_32 enable_ws2_32 ws2_32
15302 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
15303 wine_fn_config_dll wsock32 enable_wsock32 wsock32
15304 wine_fn_config_dll wtsapi32 enable_wtsapi32 wtsapi32
15305 wine_fn_config_dll wuapi enable_wuapi
15306 wine_fn_config_dll wuaueng enable_wuaueng
15307 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
15308 wine_fn_config_dll xinput1_1 enable_xinput1_1
15309 wine_fn_config_dll xinput1_2 enable_xinput1_2
15310 wine_fn_config_dll xinput1_3 enable_xinput1_3 xinput
15311 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
15312 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
15313 wine_fn_config_dll xmllite enable_xmllite
15314 wine_fn_config_test dlls/xmllite/tests xmllite_test
15315 wine_fn_config_makefile documentation enable_documentation
15316 wine_fn_config_makefile fonts enable_fonts
15317 wine_fn_config_makefile include enable_include
15318 wine_fn_config_makefile libs/port enable_libs_port
15319 wine_fn_config_makefile libs/wine enable_libs_wine
15320 wine_fn_config_makefile libs/wpp enable_libs_wpp
15321 wine_fn_config_makefile loader enable_loader
15322 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
15323 wine_fn_config_program attrib enable_attrib install
15324 wine_fn_config_program cacls enable_cacls install
15325 wine_fn_config_program clock enable_clock install
15326 wine_fn_config_program cmd enable_cmd install
15327 wine_fn_config_test programs/cmd/tests cmd.exe_test
15328 wine_fn_config_program cmdlgtst enable_cmdlgtst
15329 wine_fn_config_program control enable_control install
15330 wine_fn_config_program dxdiag enable_dxdiag install
15331 wine_fn_config_program eject enable_eject install
15332 wine_fn_config_program expand enable_expand install
15333 wine_fn_config_program explorer enable_explorer install
15334 wine_fn_config_program extrac32 enable_extrac32 install
15335 wine_fn_config_program hh enable_hh install
15336 wine_fn_config_program icinfo enable_icinfo install
15337 wine_fn_config_program iexplore enable_iexplore install
15338 wine_fn_config_program ipconfig enable_ipconfig install
15339 wine_fn_config_program lodctr enable_lodctr install
15340 wine_fn_config_program mofcomp enable_mofcomp install
15341 wine_fn_config_program mshta enable_mshta install
15342 wine_fn_config_program msiexec enable_msiexec installbin
15343 wine_fn_config_program net enable_net install
15344 wine_fn_config_program ngen enable_ngen install
15345 wine_fn_config_program notepad enable_notepad installbin
15346 wine_fn_config_program oleview enable_oleview install
15347 wine_fn_config_program ping enable_ping install
15348 wine_fn_config_program progman enable_progman install
15349 wine_fn_config_program reg enable_reg install
15350 wine_fn_config_program regedit enable_regedit installbin
15351 wine_fn_config_test programs/regedit/tests regedit.exe_test
15352 wine_fn_config_program regsvcs enable_regsvcs install
15353 wine_fn_config_program regsvr32 enable_regsvr32 installbin
15354 wine_fn_config_program rpcss enable_rpcss install
15355 wine_fn_config_program rundll.exe16 enable_win16 install
15356 wine_fn_config_program rundll32 enable_rundll32 install
15357 wine_fn_config_program sc enable_sc install
15358 wine_fn_config_program secedit enable_secedit install
15359 wine_fn_config_program servicemodelreg enable_servicemodelreg install
15360 wine_fn_config_program services enable_services install
15361 wine_fn_config_program spoolsv enable_spoolsv install
15362 wine_fn_config_program start enable_start install
15363 wine_fn_config_program svchost enable_svchost install
15364 wine_fn_config_program taskkill enable_taskkill install
15365 wine_fn_config_program taskmgr enable_taskmgr install
15366 wine_fn_config_program termsv enable_termsv install
15367 wine_fn_config_program uninstaller enable_uninstaller install
15368 wine_fn_config_program unlodctr enable_unlodctr install
15369 wine_fn_config_program view enable_view
15370 wine_fn_config_program wineboot enable_wineboot installbin
15371 wine_fn_config_program winebrowser enable_winebrowser install
15372 wine_fn_config_program winecfg enable_winecfg installbin
15373 wine_fn_config_program wineconsole enable_wineconsole installbin
15374 wine_fn_config_program winedbg enable_winedbg installbin
15375 wine_fn_config_program winedevice enable_winedevice install
15376 wine_fn_config_program winefile enable_winefile installbin
15377 wine_fn_config_program winemenubuilder enable_winemenubuilder install
15378 wine_fn_config_program winemine enable_winemine installbin
15379 wine_fn_config_program winepath enable_winepath installbin
15380 wine_fn_config_program winetest enable_winetest
15381 wine_fn_config_program winevdm enable_win16 install
15382 wine_fn_config_program winhelp.exe16 enable_win16 install
15383 wine_fn_config_program winhlp32 enable_winhlp32 install
15384 wine_fn_config_program winoldap.mod16 enable_win16 install
15385 wine_fn_config_program winver enable_winver install
15386 wine_fn_config_program wordpad enable_wordpad install
15387 wine_fn_config_program write enable_write install
15388 wine_fn_config_program wscript enable_wscript install
15389 wine_fn_config_program xcopy enable_xcopy install
15390 wine_fn_config_makefile server enable_server
15391 wine_fn_config_tool tools
15392 wine_fn_config_tool tools/widl
15393 wine_fn_config_tool tools/winebuild
15394 wine_fn_config_tool tools/winedump
15395 wine_fn_config_tool tools/winegcc
15396 wine_fn_config_tool tools/wmc
15397 wine_fn_config_tool tools/wrc
15399 ac_config_commands="$ac_config_commands Makefile"
15402 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
15406 if test -n "$with_wine64"
15407 then
15408 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "all: fonts server $with_wine64/loader/wine
15409 fonts server:
15410 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
15411 $with_wine64/loader/wine:
15412 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
15413 clean::
15414 \$(RM) fonts server $with_wine64/loader/wine"
15417 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "uninstall::
15418 -rmdir \$(DESTDIR)\$(datadir)/wine \$(DESTDIR)\$(fakedlldir) \$(DESTDIR)\$(dlldir)"
15420 cat >confcache <<\_ACEOF
15421 # This file is a shell script that caches the results of configure
15422 # tests run on this system so they can be shared between configure
15423 # scripts and configure runs, see configure's option --config-cache.
15424 # It is not useful on other systems. If it contains results you don't
15425 # want to keep, you may remove or edit it.
15427 # config.status only pays attention to the cache file if you give it
15428 # the --recheck option to rerun configure.
15430 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15431 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15432 # following values.
15434 _ACEOF
15436 # The following way of writing the cache mishandles newlines in values,
15437 # but we know of no workaround that is simple, portable, and efficient.
15438 # So, we kill variables containing newlines.
15439 # Ultrix sh set writes to stderr and can't be redirected directly,
15440 # and sets the high bit in the cache file unless we assign to the vars.
15442 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15443 eval ac_val=\$$ac_var
15444 case $ac_val in #(
15445 *${as_nl}*)
15446 case $ac_var in #(
15447 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15448 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15449 esac
15450 case $ac_var in #(
15451 _ | IFS | as_nl) ;; #(
15452 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15453 *) { eval $ac_var=; unset $ac_var;} ;;
15454 esac ;;
15455 esac
15456 done
15458 (set) 2>&1 |
15459 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15460 *${as_nl}ac_space=\ *)
15461 # `set' does not quote correctly, so add quotes: double-quote
15462 # substitution turns \\\\ into \\, and sed turns \\ into \.
15463 sed -n \
15464 "s/'/'\\\\''/g;
15465 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15466 ;; #(
15468 # `set' quotes correctly as required by POSIX, so do not add quotes.
15469 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15471 esac |
15472 sort
15474 sed '
15475 /^ac_cv_env_/b end
15476 t clear
15477 :clear
15478 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15479 t end
15480 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15481 :end' >>confcache
15482 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15483 if test -w "$cache_file"; then
15484 test "x$cache_file" != "x/dev/null" &&
15485 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15486 $as_echo "$as_me: updating cache $cache_file" >&6;}
15487 cat confcache >$cache_file
15488 else
15489 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15490 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15493 rm -f confcache
15495 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15496 # Let make expand exec_prefix.
15497 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15499 DEFS=-DHAVE_CONFIG_H
15501 ac_libobjs=
15502 ac_ltlibobjs=
15504 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15505 # 1. Remove the extension, and $U if already installed.
15506 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15507 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15508 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15509 # will be set to the directory where LIBOBJS objects are built.
15510 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15511 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15512 done
15513 LIBOBJS=$ac_libobjs
15515 LTLIBOBJS=$ac_ltlibobjs
15519 : ${CONFIG_STATUS=./config.status}
15520 ac_write_fail=0
15521 ac_clean_files_save=$ac_clean_files
15522 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15523 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15524 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15525 as_write_fail=0
15526 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15527 #! $SHELL
15528 # Generated by $as_me.
15529 # Run this file to recreate the current configuration.
15530 # Compiler output produced by configure, useful for debugging
15531 # configure, is in config.log if it exists.
15533 debug=false
15534 ac_cs_recheck=false
15535 ac_cs_silent=false
15537 SHELL=\${CONFIG_SHELL-$SHELL}
15538 export SHELL
15539 _ASEOF
15540 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15541 ## -------------------- ##
15542 ## M4sh Initialization. ##
15543 ## -------------------- ##
15545 # Be more Bourne compatible
15546 DUALCASE=1; export DUALCASE # for MKS sh
15547 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15548 emulate sh
15549 NULLCMD=:
15550 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15551 # is contrary to our usage. Disable this feature.
15552 alias -g '${1+"$@"}'='"$@"'
15553 setopt NO_GLOB_SUBST
15554 else
15555 case `(set -o) 2>/dev/null` in #(
15556 *posix*) :
15557 set -o posix ;; #(
15558 *) :
15560 esac
15564 as_nl='
15566 export as_nl
15567 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15568 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15569 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15570 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15571 # Prefer a ksh shell builtin over an external printf program on Solaris,
15572 # but without wasting forks for bash or zsh.
15573 if test -z "$BASH_VERSION$ZSH_VERSION" \
15574 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15575 as_echo='print -r --'
15576 as_echo_n='print -rn --'
15577 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15578 as_echo='printf %s\n'
15579 as_echo_n='printf %s'
15580 else
15581 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15582 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15583 as_echo_n='/usr/ucb/echo -n'
15584 else
15585 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15586 as_echo_n_body='eval
15587 arg=$1;
15588 case $arg in #(
15589 *"$as_nl"*)
15590 expr "X$arg" : "X\\(.*\\)$as_nl";
15591 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15592 esac;
15593 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15595 export as_echo_n_body
15596 as_echo_n='sh -c $as_echo_n_body as_echo'
15598 export as_echo_body
15599 as_echo='sh -c $as_echo_body as_echo'
15602 # The user is always right.
15603 if test "${PATH_SEPARATOR+set}" != set; then
15604 PATH_SEPARATOR=:
15605 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15606 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15607 PATH_SEPARATOR=';'
15612 # IFS
15613 # We need space, tab and new line, in precisely that order. Quoting is
15614 # there to prevent editors from complaining about space-tab.
15615 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15616 # splitting by setting IFS to empty value.)
15617 IFS=" "" $as_nl"
15619 # Find who we are. Look in the path if we contain no directory separator.
15620 case $0 in #((
15621 *[\\/]* ) as_myself=$0 ;;
15622 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15623 for as_dir in $PATH
15625 IFS=$as_save_IFS
15626 test -z "$as_dir" && as_dir=.
15627 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15628 done
15629 IFS=$as_save_IFS
15632 esac
15633 # We did not find ourselves, most probably we were run as `sh COMMAND'
15634 # in which case we are not to be found in the path.
15635 if test "x$as_myself" = x; then
15636 as_myself=$0
15638 if test ! -f "$as_myself"; then
15639 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15640 exit 1
15643 # Unset variables that we do not need and which cause bugs (e.g. in
15644 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15645 # suppresses any "Segmentation fault" message there. '((' could
15646 # trigger a bug in pdksh 5.2.14.
15647 for as_var in BASH_ENV ENV MAIL MAILPATH
15648 do eval test x\${$as_var+set} = xset \
15649 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15650 done
15651 PS1='$ '
15652 PS2='> '
15653 PS4='+ '
15655 # NLS nuisances.
15656 LC_ALL=C
15657 export LC_ALL
15658 LANGUAGE=C
15659 export LANGUAGE
15661 # CDPATH.
15662 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15665 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15666 # ----------------------------------------
15667 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15668 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15669 # script with STATUS, using 1 if that was 0.
15670 as_fn_error ()
15672 as_status=$1; test $as_status -eq 0 && as_status=1
15673 if test "$4"; then
15674 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15675 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15677 $as_echo "$as_me: error: $2" >&2
15678 as_fn_exit $as_status
15679 } # as_fn_error
15682 # as_fn_set_status STATUS
15683 # -----------------------
15684 # Set $? to STATUS, without forking.
15685 as_fn_set_status ()
15687 return $1
15688 } # as_fn_set_status
15690 # as_fn_exit STATUS
15691 # -----------------
15692 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15693 as_fn_exit ()
15695 set +e
15696 as_fn_set_status $1
15697 exit $1
15698 } # as_fn_exit
15700 # as_fn_unset VAR
15701 # ---------------
15702 # Portably unset VAR.
15703 as_fn_unset ()
15705 { eval $1=; unset $1;}
15707 as_unset=as_fn_unset
15708 # as_fn_append VAR VALUE
15709 # ----------------------
15710 # Append the text in VALUE to the end of the definition contained in VAR. Take
15711 # advantage of any shell optimizations that allow amortized linear growth over
15712 # repeated appends, instead of the typical quadratic growth present in naive
15713 # implementations.
15714 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15715 eval 'as_fn_append ()
15717 eval $1+=\$2
15719 else
15720 as_fn_append ()
15722 eval $1=\$$1\$2
15724 fi # as_fn_append
15726 # as_fn_arith ARG...
15727 # ------------------
15728 # Perform arithmetic evaluation on the ARGs, and store the result in the
15729 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15730 # must be portable across $(()) and expr.
15731 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15732 eval 'as_fn_arith ()
15734 as_val=$(( $* ))
15736 else
15737 as_fn_arith ()
15739 as_val=`expr "$@" || test $? -eq 1`
15741 fi # as_fn_arith
15744 if expr a : '\(a\)' >/dev/null 2>&1 &&
15745 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15746 as_expr=expr
15747 else
15748 as_expr=false
15751 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15752 as_basename=basename
15753 else
15754 as_basename=false
15757 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15758 as_dirname=dirname
15759 else
15760 as_dirname=false
15763 as_me=`$as_basename -- "$0" ||
15764 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15765 X"$0" : 'X\(//\)$' \| \
15766 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15767 $as_echo X/"$0" |
15768 sed '/^.*\/\([^/][^/]*\)\/*$/{
15769 s//\1/
15772 /^X\/\(\/\/\)$/{
15773 s//\1/
15776 /^X\/\(\/\).*/{
15777 s//\1/
15780 s/.*/./; q'`
15782 # Avoid depending upon Character Ranges.
15783 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15784 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15785 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15786 as_cr_digits='0123456789'
15787 as_cr_alnum=$as_cr_Letters$as_cr_digits
15789 ECHO_C= ECHO_N= ECHO_T=
15790 case `echo -n x` in #(((((
15791 -n*)
15792 case `echo 'xy\c'` in
15793 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15794 xy) ECHO_C='\c';;
15795 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15796 ECHO_T=' ';;
15797 esac;;
15799 ECHO_N='-n';;
15800 esac
15802 rm -f conf$$ conf$$.exe conf$$.file
15803 if test -d conf$$.dir; then
15804 rm -f conf$$.dir/conf$$.file
15805 else
15806 rm -f conf$$.dir
15807 mkdir conf$$.dir 2>/dev/null
15809 if (echo >conf$$.file) 2>/dev/null; then
15810 if ln -s conf$$.file conf$$ 2>/dev/null; then
15811 as_ln_s='ln -s'
15812 # ... but there are two gotchas:
15813 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15814 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15815 # In both cases, we have to default to `cp -p'.
15816 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15817 as_ln_s='cp -p'
15818 elif ln conf$$.file conf$$ 2>/dev/null; then
15819 as_ln_s=ln
15820 else
15821 as_ln_s='cp -p'
15823 else
15824 as_ln_s='cp -p'
15826 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15827 rmdir conf$$.dir 2>/dev/null
15830 # as_fn_mkdir_p
15831 # -------------
15832 # Create "$as_dir" as a directory, including parents if necessary.
15833 as_fn_mkdir_p ()
15836 case $as_dir in #(
15837 -*) as_dir=./$as_dir;;
15838 esac
15839 test -d "$as_dir" || eval $as_mkdir_p || {
15840 as_dirs=
15841 while :; do
15842 case $as_dir in #(
15843 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15844 *) as_qdir=$as_dir;;
15845 esac
15846 as_dirs="'$as_qdir' $as_dirs"
15847 as_dir=`$as_dirname -- "$as_dir" ||
15848 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15849 X"$as_dir" : 'X\(//\)[^/]' \| \
15850 X"$as_dir" : 'X\(//\)$' \| \
15851 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15852 $as_echo X"$as_dir" |
15853 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15854 s//\1/
15857 /^X\(\/\/\)[^/].*/{
15858 s//\1/
15861 /^X\(\/\/\)$/{
15862 s//\1/
15865 /^X\(\/\).*/{
15866 s//\1/
15869 s/.*/./; q'`
15870 test -d "$as_dir" && break
15871 done
15872 test -z "$as_dirs" || eval "mkdir $as_dirs"
15873 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15876 } # as_fn_mkdir_p
15877 if mkdir -p . 2>/dev/null; then
15878 as_mkdir_p='mkdir -p "$as_dir"'
15879 else
15880 test -d ./-p && rmdir ./-p
15881 as_mkdir_p=false
15884 if test -x / >/dev/null 2>&1; then
15885 as_test_x='test -x'
15886 else
15887 if ls -dL / >/dev/null 2>&1; then
15888 as_ls_L_option=L
15889 else
15890 as_ls_L_option=
15892 as_test_x='
15893 eval sh -c '\''
15894 if test -d "$1"; then
15895 test -d "$1/.";
15896 else
15897 case $1 in #(
15898 -*)set "./$1";;
15899 esac;
15900 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15901 ???[sx]*):;;*)false;;esac;fi
15902 '\'' sh
15905 as_executable_p=$as_test_x
15907 # Sed expression to map a string onto a valid CPP name.
15908 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15910 # Sed expression to map a string onto a valid variable name.
15911 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15914 exec 6>&1
15915 ## ----------------------------------- ##
15916 ## Main body of $CONFIG_STATUS script. ##
15917 ## ----------------------------------- ##
15918 _ASEOF
15919 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15921 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15922 # Save the log message, to keep $0 and so on meaningful, and to
15923 # report actual input values of CONFIG_FILES etc. instead of their
15924 # values after options handling.
15925 ac_log="
15926 This file was extended by Wine $as_me 1.3.8, which was
15927 generated by GNU Autoconf 2.67. Invocation command line was
15929 CONFIG_FILES = $CONFIG_FILES
15930 CONFIG_HEADERS = $CONFIG_HEADERS
15931 CONFIG_LINKS = $CONFIG_LINKS
15932 CONFIG_COMMANDS = $CONFIG_COMMANDS
15933 $ $0 $@
15935 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15938 _ACEOF
15940 case $ac_config_files in *"
15941 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15942 esac
15944 case $ac_config_headers in *"
15945 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15946 esac
15949 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15950 # Files that config.status was made for.
15951 config_files="$ac_config_files"
15952 config_headers="$ac_config_headers"
15953 config_links="$ac_config_links"
15954 config_commands="$ac_config_commands"
15956 _ACEOF
15958 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15959 ac_cs_usage="\
15960 \`$as_me' instantiates files and other configuration actions
15961 from templates according to the current configuration. Unless the files
15962 and actions are specified as TAGs, all are instantiated by default.
15964 Usage: $0 [OPTION]... [TAG]...
15966 -h, --help print this help, then exit
15967 -V, --version print version number and configuration settings, then exit
15968 --config print configuration, then exit
15969 -q, --quiet, --silent
15970 do not print progress messages
15971 -d, --debug don't remove temporary files
15972 --recheck update $as_me by reconfiguring in the same conditions
15973 --file=FILE[:TEMPLATE]
15974 instantiate the configuration file FILE
15975 --header=FILE[:TEMPLATE]
15976 instantiate the configuration header FILE
15978 Configuration files:
15979 $config_files
15981 Configuration headers:
15982 $config_headers
15984 Configuration links:
15985 $config_links
15987 Configuration commands:
15988 $config_commands
15990 Report bugs to <wine-devel@winehq.org>.
15991 Wine home page: <http://www.winehq.org>."
15993 _ACEOF
15994 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15995 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15996 ac_cs_version="\\
15997 Wine config.status 1.3.8
15998 configured by $0, generated by GNU Autoconf 2.67,
15999 with options \\"\$ac_cs_config\\"
16001 Copyright (C) 2010 Free Software Foundation, Inc.
16002 This config.status script is free software; the Free Software Foundation
16003 gives unlimited permission to copy, distribute and modify it."
16005 ac_pwd='$ac_pwd'
16006 srcdir='$srcdir'
16007 INSTALL='$INSTALL'
16008 test -n "\$AWK" || AWK=awk
16009 _ACEOF
16011 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16012 # The default lists apply if the user does not specify any file.
16013 ac_need_defaults=:
16014 while test $# != 0
16016 case $1 in
16017 --*=?*)
16018 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16019 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16020 ac_shift=:
16022 --*=)
16023 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16024 ac_optarg=
16025 ac_shift=:
16028 ac_option=$1
16029 ac_optarg=$2
16030 ac_shift=shift
16032 esac
16034 case $ac_option in
16035 # Handling of the options.
16036 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16037 ac_cs_recheck=: ;;
16038 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16039 $as_echo "$ac_cs_version"; exit ;;
16040 --config | --confi | --conf | --con | --co | --c )
16041 $as_echo "$ac_cs_config"; exit ;;
16042 --debug | --debu | --deb | --de | --d | -d )
16043 debug=: ;;
16044 --file | --fil | --fi | --f )
16045 $ac_shift
16046 case $ac_optarg in
16047 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16048 '') as_fn_error $? "missing file argument" ;;
16049 esac
16050 as_fn_append CONFIG_FILES " '$ac_optarg'"
16051 ac_need_defaults=false;;
16052 --header | --heade | --head | --hea )
16053 $ac_shift
16054 case $ac_optarg in
16055 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16056 esac
16057 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16058 ac_need_defaults=false;;
16059 --he | --h)
16060 # Conflict between --help and --header
16061 as_fn_error $? "ambiguous option: \`$1'
16062 Try \`$0 --help' for more information.";;
16063 --help | --hel | -h )
16064 $as_echo "$ac_cs_usage"; exit ;;
16065 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16066 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16067 ac_cs_silent=: ;;
16069 # This is an error.
16070 -*) as_fn_error $? "unrecognized option: \`$1'
16071 Try \`$0 --help' for more information." ;;
16073 *) as_fn_append ac_config_targets " $1"
16074 ac_need_defaults=false ;;
16076 esac
16077 shift
16078 done
16080 ac_configure_extra_args=
16082 if $ac_cs_silent; then
16083 exec 6>/dev/null
16084 ac_configure_extra_args="$ac_configure_extra_args --silent"
16087 _ACEOF
16088 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16089 if \$ac_cs_recheck; then
16090 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16091 shift
16092 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16093 CONFIG_SHELL='$SHELL'
16094 export CONFIG_SHELL
16095 exec "\$@"
16098 _ACEOF
16099 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16100 exec 5>>config.log
16102 echo
16103 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16104 ## Running $as_me. ##
16105 _ASBOX
16106 $as_echo "$ac_log"
16107 } >&5
16109 _ACEOF
16110 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16112 # INIT-COMMANDS
16114 wine_fn_output_makefile ()
16116 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
16117 $ALL_MAKEFILE_DEPENDS
16118 _WINE_EOF
16119 as_fn_error $? "could not create Makefile" "$LINENO" 5
16122 _ACEOF
16124 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16126 # Handling of arguments.
16127 for ac_config_target in $ac_config_targets
16129 case $ac_config_target in
16130 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
16131 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
16132 "dlls/shell32/AUTHORS") CONFIG_LINKS="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
16133 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
16134 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
16135 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
16136 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
16137 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
16138 "tools/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS tools/l_intl.nls:tools/l_intl.nls" ;;
16139 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
16140 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
16141 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
16142 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
16143 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
16144 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
16145 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
16146 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
16147 "Maketest.rules") CONFIG_FILES="$CONFIG_FILES Maketest.rules" ;;
16148 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
16149 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
16150 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
16151 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
16152 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
16154 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
16155 esac
16156 done
16159 # If the user did not use the arguments to specify the items to instantiate,
16160 # then the envvar interface is used. Set only those that are not.
16161 # We use the long form for the default assignment because of an extremely
16162 # bizarre bug on SunOS 4.1.3.
16163 if $ac_need_defaults; then
16164 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16165 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16166 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
16167 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16170 # Have a temporary directory for convenience. Make it in the build tree
16171 # simply because there is no reason against having it here, and in addition,
16172 # creating and moving files from /tmp can sometimes cause problems.
16173 # Hook for its removal unless debugging.
16174 # Note that there is a small window in which the directory will not be cleaned:
16175 # after its creation but before its name has been assigned to `$tmp'.
16176 $debug ||
16178 tmp=
16179 trap 'exit_status=$?
16180 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16182 trap 'as_fn_exit 1' 1 2 13 15
16184 # Create a (secure) tmp directory for tmp files.
16187 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16188 test -n "$tmp" && test -d "$tmp"
16189 } ||
16191 tmp=./conf$$-$RANDOM
16192 (umask 077 && mkdir "$tmp")
16193 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16195 # Set up the scripts for CONFIG_FILES section.
16196 # No need to generate them if there are no CONFIG_FILES.
16197 # This happens for instance with `./config.status config.h'.
16198 if test -n "$CONFIG_FILES"; then
16200 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
16201 ac_cs_awk_getline=:
16202 ac_cs_awk_pipe_init=
16203 ac_cs_awk_read_file='
16204 while ((getline aline < (F[key])) > 0)
16205 print(aline)
16206 close(F[key])'
16207 ac_cs_awk_pipe_fini=
16208 else
16209 ac_cs_awk_getline=false
16210 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
16211 ac_cs_awk_read_file='
16212 print "|#_!!_#|"
16213 print "cat " F[key] " &&"
16214 '$ac_cs_awk_pipe_init
16215 # The final `:' finishes the AND list.
16216 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
16218 ac_cr=`echo X | tr X '\015'`
16219 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16220 # But we know of no other shell where ac_cr would be empty at this
16221 # point, so we can use a bashism as a fallback.
16222 if test "x$ac_cr" = x; then
16223 eval ac_cr=\$\'\\r\'
16225 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16226 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16227 ac_cs_awk_cr='\\r'
16228 else
16229 ac_cs_awk_cr=$ac_cr
16232 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16233 _ACEOF
16235 # Create commands to substitute file output variables.
16237 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
16238 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
16239 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
16240 echo "_ACAWK" &&
16241 echo "_ACEOF"
16242 } >conf$$files.sh &&
16243 . ./conf$$files.sh ||
16244 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16245 rm -f conf$$files.sh
16248 echo "cat >conf$$subs.awk <<_ACEOF" &&
16249 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16250 echo "_ACEOF"
16251 } >conf$$subs.sh ||
16252 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16253 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16254 ac_delim='%!_!# '
16255 for ac_last_try in false false false false false :; do
16256 . ./conf$$subs.sh ||
16257 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16259 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16260 if test $ac_delim_n = $ac_delim_num; then
16261 break
16262 elif $ac_last_try; then
16263 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16264 else
16265 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16267 done
16268 rm -f conf$$subs.sh
16270 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16271 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
16272 _ACEOF
16273 sed -n '
16275 s/^/S["/; s/!.*/"]=/
16278 s/^[^!]*!//
16279 :repl
16280 t repl
16281 s/'"$ac_delim"'$//
16282 t delim
16285 s/\(.\{148\}\)..*/\1/
16286 t more1
16287 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16290 b repl
16291 :more1
16292 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16295 s/.\{148\}//
16296 t nl
16297 :delim
16299 s/\(.\{148\}\)..*/\1/
16300 t more2
16301 s/["\\]/\\&/g; s/^/"/; s/$/"/
16304 :more2
16305 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16308 s/.\{148\}//
16309 t delim
16310 ' <conf$$subs.awk | sed '
16311 /^[^""]/{
16313 s/\n//
16315 ' >>$CONFIG_STATUS || ac_write_fail=1
16316 rm -f conf$$subs.awk
16317 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16318 _ACAWK
16319 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
16320 for (key in S) S_is_set[key] = 1
16321 FS = "\a"
16322 \$ac_cs_awk_pipe_init
16325 line = $ 0
16326 nfields = split(line, field, "@")
16327 substed = 0
16328 len = length(field[1])
16329 for (i = 2; i < nfields; i++) {
16330 key = field[i]
16331 keylen = length(key)
16332 if (S_is_set[key]) {
16333 value = S[key]
16334 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16335 len += length(value) + length(field[++i])
16336 substed = 1
16337 } else
16338 len += 1 + keylen
16340 if (nfields == 3 && !substed) {
16341 key = field[2]
16342 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
16343 \$ac_cs_awk_read_file
16344 next
16347 print line
16349 \$ac_cs_awk_pipe_fini
16350 _ACAWK
16351 _ACEOF
16352 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16353 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16354 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16355 else
16357 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
16358 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16359 _ACEOF
16361 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16362 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16363 # trailing colons and then remove the whole line if VPATH becomes empty
16364 # (actually we leave an empty line to preserve line numbers).
16365 if test "x$srcdir" = x.; then
16366 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16368 s///
16369 s/^/:/
16370 s/[ ]*$/:/
16371 s/:\$(srcdir):/:/g
16372 s/:\${srcdir}:/:/g
16373 s/:@srcdir@:/:/g
16374 s/^:*//
16375 s/:*$//
16377 s/\(=[ ]*\).*/\1/
16379 s/\n//
16380 s/^[^=]*=[ ]*$//
16384 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16385 fi # test -n "$CONFIG_FILES"
16387 # Set up the scripts for CONFIG_HEADERS section.
16388 # No need to generate them if there are no CONFIG_HEADERS.
16389 # This happens for instance with `./config.status Makefile'.
16390 if test -n "$CONFIG_HEADERS"; then
16391 cat >"$tmp/defines.awk" <<\_ACAWK ||
16392 BEGIN {
16393 _ACEOF
16395 # Transform confdefs.h into an awk script `defines.awk', embedded as
16396 # here-document in config.status, that substitutes the proper values into
16397 # config.h.in to produce config.h.
16399 # Create a delimiter string that does not exist in confdefs.h, to ease
16400 # handling of long lines.
16401 ac_delim='%!_!# '
16402 for ac_last_try in false false :; do
16403 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
16404 if test -z "$ac_t"; then
16405 break
16406 elif $ac_last_try; then
16407 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16408 else
16409 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16411 done
16413 # For the awk script, D is an array of macro values keyed by name,
16414 # likewise P contains macro parameters if any. Preserve backslash
16415 # newline sequences.
16417 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16418 sed -n '
16419 s/.\{148\}/&'"$ac_delim"'/g
16420 t rset
16421 :rset
16422 s/^[ ]*#[ ]*define[ ][ ]*/ /
16423 t def
16425 :def
16426 s/\\$//
16427 t bsnl
16428 s/["\\]/\\&/g
16429 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16430 D["\1"]=" \3"/p
16431 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16433 :bsnl
16434 s/["\\]/\\&/g
16435 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16436 D["\1"]=" \3\\\\\\n"\\/p
16437 t cont
16438 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16439 t cont
16441 :cont
16443 s/.\{148\}/&'"$ac_delim"'/g
16444 t clear
16445 :clear
16446 s/\\$//
16447 t bsnlc
16448 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16450 :bsnlc
16451 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16452 b cont
16453 ' <confdefs.h | sed '
16454 s/'"$ac_delim"'/"\\\
16455 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16457 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16458 for (key in D) D_is_set[key] = 1
16459 FS = "\a"
16461 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16462 line = \$ 0
16463 split(line, arg, " ")
16464 if (arg[1] == "#") {
16465 defundef = arg[2]
16466 mac1 = arg[3]
16467 } else {
16468 defundef = substr(arg[1], 2)
16469 mac1 = arg[2]
16471 split(mac1, mac2, "(") #)
16472 macro = mac2[1]
16473 prefix = substr(line, 1, index(line, defundef) - 1)
16474 if (D_is_set[macro]) {
16475 # Preserve the white space surrounding the "#".
16476 print prefix "define", macro P[macro] D[macro]
16477 next
16478 } else {
16479 # Replace #undef with comments. This is necessary, for example,
16480 # in the case of _POSIX_SOURCE, which is predefined and required
16481 # on some systems where configure will not decide to define it.
16482 if (defundef == "undef") {
16483 print "/*", prefix defundef, macro, "*/"
16484 next
16488 { print }
16489 _ACAWK
16490 _ACEOF
16491 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16492 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16493 fi # test -n "$CONFIG_HEADERS"
16496 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
16497 shift
16498 for ac_tag
16500 case $ac_tag in
16501 :[FHLC]) ac_mode=$ac_tag; continue;;
16502 esac
16503 case $ac_mode$ac_tag in
16504 :[FHL]*:*);;
16505 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
16506 :[FH]-) ac_tag=-:-;;
16507 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16508 esac
16509 ac_save_IFS=$IFS
16510 IFS=:
16511 set x $ac_tag
16512 IFS=$ac_save_IFS
16513 shift
16514 ac_file=$1
16515 shift
16517 case $ac_mode in
16518 :L) ac_source=$1;;
16519 :[FH])
16520 ac_file_inputs=
16521 for ac_f
16523 case $ac_f in
16524 -) ac_f="$tmp/stdin";;
16525 *) # Look for the file first in the build tree, then in the source tree
16526 # (if the path is not absolute). The absolute path cannot be DOS-style,
16527 # because $ac_f cannot contain `:'.
16528 test -f "$ac_f" ||
16529 case $ac_f in
16530 [\\/$]*) false;;
16531 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16532 esac ||
16533 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
16534 esac
16535 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16536 as_fn_append ac_file_inputs " '$ac_f'"
16537 done
16539 # Let's still pretend it is `configure' which instantiates (i.e., don't
16540 # use $as_me), people would be surprised to read:
16541 # /* config.h. Generated by config.status. */
16542 configure_input='Generated from '`
16543 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16544 `' by configure.'
16545 if test x"$ac_file" != x-; then
16546 configure_input="$ac_file. $configure_input"
16547 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16548 $as_echo "$as_me: creating $ac_file" >&6;}
16550 # Neutralize special characters interpreted by sed in replacement strings.
16551 case $configure_input in #(
16552 *\&* | *\|* | *\\* )
16553 ac_sed_conf_input=`$as_echo "$configure_input" |
16554 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16555 *) ac_sed_conf_input=$configure_input;;
16556 esac
16558 case $ac_tag in
16559 *:-:* | *:-) cat >"$tmp/stdin" \
16560 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16561 esac
16563 esac
16565 ac_dir=`$as_dirname -- "$ac_file" ||
16566 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16567 X"$ac_file" : 'X\(//\)[^/]' \| \
16568 X"$ac_file" : 'X\(//\)$' \| \
16569 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16570 $as_echo X"$ac_file" |
16571 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16572 s//\1/
16575 /^X\(\/\/\)[^/].*/{
16576 s//\1/
16579 /^X\(\/\/\)$/{
16580 s//\1/
16583 /^X\(\/\).*/{
16584 s//\1/
16587 s/.*/./; q'`
16588 as_dir="$ac_dir"; as_fn_mkdir_p
16589 ac_builddir=.
16591 case "$ac_dir" in
16592 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16594 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16595 # A ".." for each directory in $ac_dir_suffix.
16596 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16597 case $ac_top_builddir_sub in
16598 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16599 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16600 esac ;;
16601 esac
16602 ac_abs_top_builddir=$ac_pwd
16603 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16604 # for backward compatibility:
16605 ac_top_builddir=$ac_top_build_prefix
16607 case $srcdir in
16608 .) # We are building in place.
16609 ac_srcdir=.
16610 ac_top_srcdir=$ac_top_builddir_sub
16611 ac_abs_top_srcdir=$ac_pwd ;;
16612 [\\/]* | ?:[\\/]* ) # Absolute name.
16613 ac_srcdir=$srcdir$ac_dir_suffix;
16614 ac_top_srcdir=$srcdir
16615 ac_abs_top_srcdir=$srcdir ;;
16616 *) # Relative name.
16617 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16618 ac_top_srcdir=$ac_top_build_prefix$srcdir
16619 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16620 esac
16621 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16624 case $ac_mode in
16627 # CONFIG_FILE
16630 case $INSTALL in
16631 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16632 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16633 esac
16634 _ACEOF
16636 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16637 # If the template does not know about datarootdir, expand it.
16638 # FIXME: This hack should be removed a few years after 2.60.
16639 ac_datarootdir_hack=; ac_datarootdir_seen=
16640 ac_sed_dataroot='
16641 /datarootdir/ {
16645 /@datadir@/p
16646 /@docdir@/p
16647 /@infodir@/p
16648 /@localedir@/p
16649 /@mandir@/p'
16650 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16651 *datarootdir*) ac_datarootdir_seen=yes;;
16652 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16654 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16655 _ACEOF
16656 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16657 ac_datarootdir_hack='
16658 s&@datadir@&$datadir&g
16659 s&@docdir@&$docdir&g
16660 s&@infodir@&$infodir&g
16661 s&@localedir@&$localedir&g
16662 s&@mandir@&$mandir&g
16663 s&\\\${datarootdir}&$datarootdir&g' ;;
16664 esac
16665 _ACEOF
16667 # Neutralize VPATH when `$srcdir' = `.'.
16668 # Shell code in configure.ac might set extrasub.
16669 # FIXME: do we really want to maintain this feature?
16670 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16671 ac_sed_extra="$ac_vpsub
16672 $extrasub
16673 _ACEOF
16674 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16676 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16677 s|@configure_input@|$ac_sed_conf_input|;t t
16678 s&@top_builddir@&$ac_top_builddir_sub&;t t
16679 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16680 s&@srcdir@&$ac_srcdir&;t t
16681 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16682 s&@top_srcdir@&$ac_top_srcdir&;t t
16683 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16684 s&@builddir@&$ac_builddir&;t t
16685 s&@abs_builddir@&$ac_abs_builddir&;t t
16686 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16687 s&@INSTALL@&$ac_INSTALL&;t t
16688 $ac_datarootdir_hack
16690 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
16691 if $ac_cs_awk_getline; then
16692 $AWK -f "$tmp/subs.awk"
16693 else
16694 $AWK -f "$tmp/subs.awk" | $SHELL
16695 fi >$tmp/out \
16696 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16698 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16699 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16700 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16702 which seems to be undefined. Please make sure it is defined" >&5
16703 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16704 which seems to be undefined. Please make sure it is defined" >&2;}
16706 rm -f "$tmp/stdin"
16707 case $ac_file in
16708 -) cat "$tmp/out" && rm -f "$tmp/out";;
16709 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16710 esac \
16711 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16715 # CONFIG_HEADER
16717 if test x"$ac_file" != x-; then
16719 $as_echo "/* $configure_input */" \
16720 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16721 } >"$tmp/config.h" \
16722 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16723 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16724 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16725 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16726 else
16727 rm -f "$ac_file"
16728 mv "$tmp/config.h" "$ac_file" \
16729 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16731 else
16732 $as_echo "/* $configure_input */" \
16733 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16734 || as_fn_error $? "could not create -" "$LINENO" 5
16739 # CONFIG_LINK
16742 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
16744 else
16745 # Prefer the file from the source tree if names are identical.
16746 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
16747 ac_source=$srcdir/$ac_source
16750 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
16751 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
16753 if test ! -r "$ac_source"; then
16754 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
16756 rm -f "$ac_file"
16758 # Try a relative symlink, then a hard link, then a copy.
16759 case $ac_source in
16760 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
16761 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
16762 esac
16763 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
16764 ln "$ac_source" "$ac_file" 2>/dev/null ||
16765 cp -p "$ac_source" "$ac_file" ||
16766 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
16769 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16770 $as_echo "$as_me: executing $ac_file commands" >&6;}
16772 esac
16775 case $ac_file$ac_mode in
16776 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
16777 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
16778 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
16779 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
16780 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
16781 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
16782 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
16783 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
16784 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
16785 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
16786 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
16787 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
16788 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
16789 "Makefile":C) wine_fn_output_makefile Makefile ;;
16791 esac
16792 done # for ac_tag
16795 as_fn_exit 0
16796 _ACEOF
16797 ac_clean_files=$ac_clean_files_save
16799 test $ac_write_fail = 0 ||
16800 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16803 # configure is writing to config.log, and then calls config.status.
16804 # config.status does its own redirection, appending to config.log.
16805 # Unfortunately, on DOS this fails, as config.log is still kept open
16806 # by configure, so config.status won't be able to write to it; its
16807 # output is simply discarded. So we exec the FD to /dev/null,
16808 # effectively closing config.log, so it can be properly (re)opened and
16809 # appended to by config.status. When coming back to configure, we
16810 # need to make the FD available again.
16811 if test "$no_create" != yes; then
16812 ac_cs_success=:
16813 ac_config_status_args=
16814 test "$silent" = yes &&
16815 ac_config_status_args="$ac_config_status_args --quiet"
16816 exec 5>/dev/null
16817 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16818 exec 5>>config.log
16819 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16820 # would make configure fail if this is the last instruction.
16821 $ac_cs_success || as_fn_exit 1
16823 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16825 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16829 if test "$no_create" = "yes"
16830 then
16831 exit 0
16834 ac_save_IFS="$IFS"
16835 if test "x$wine_notices != "x; then
16836 echo >&6
16837 IFS="|"
16838 for msg in $wine_notices; do
16839 IFS="$ac_save_IFS"
16840 if test -n "$msg"; then
16841 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
16842 $as_echo "$as_me: $msg" >&6;}
16844 done
16846 IFS="|"
16847 for msg in $wine_warnings; do
16848 IFS="$ac_save_IFS"
16849 if test -n "$msg"; then
16850 echo >&2
16851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
16852 $as_echo "$as_me: WARNING: $msg" >&2;}
16854 done
16855 IFS="$ac_save_IFS"
16857 echo "
16858 $as_me: Finished. Do '${ac_make}' to compile Wine.
16859 " >&6