d3dx9: Handle invalid byte code in D3DXFindShaderComment().
[wine.git] / configure
blob6dc5b50e451e5f73bfc6d5abe47ce55d0a6a0a0a
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.5.21.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='1.5.21'
584 PACKAGE_STRING='Wine 1.5.21'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 PORCFLAGS
628 LINGUAS
629 ALL_TEST_RESOURCES
630 LDAPLIBS
631 LIBPOLL
632 LIBDL
633 EXTRA_BINARIES
634 MAIN_BINARY
635 SOCKETLIBS
636 CRTLIBS
637 TOOLSEXT
638 LDPATH
639 UNWINDFLAGS
640 BUILTINFLAG
641 EXTRACFLAGS
642 LIBKSTAT
643 LIBOPENAL
644 LIBMPG123
645 PNGINCL
646 FONTCONFIGINCL
647 CUPSINCL
648 OSS4INCL
649 ALSALIBS
650 GSTREAMER_INCL
651 GSTREAMER_LIBS
652 LIBGETTEXTPO
653 ZLIB
654 FREETYPEINCL
655 FREETYPELIBS
656 ft_devel
657 LCMSLIBS
658 RESOLVLIBS
659 GPHOTO2INCL
660 GPHOTO2LIBS
661 gphoto2port_devel
662 gphoto2_devel
663 SANEINCL
664 sane_devel
665 GNUTLSINCL
666 HALINCL
667 DBUSINCL
668 XSLTINCL
669 XML2INCL
670 XML2LIBS
671 X_EXTRA_LIBS
672 X_LIBS
673 X_PRE_LIBS
674 X_CFLAGS
675 XMKMF
676 LIBPTHREAD
677 CROSSTARGET
678 CROSSCC
679 CROSSTEST_DISABLE
680 PRELINK
681 CARBONLIB
682 QUICKTIMELIB
683 LIBOPENCL
684 FRAMEWORK_OPENAL
685 COREAUDIO
686 SECURITYLIB
687 DISKARBITRATIONLIB
688 LDEXECFLAGS
689 CORESERVICESLIB
690 APPLICATIONSERVICESLIB
691 IOKITLIB
692 COREFOUNDATIONLIB
693 DLLWRAP
694 DLLTOOL
696 LDRPATH_LOCAL
697 LDRPATH_INSTALL
698 IMPLIBEXT
699 LIBEXT
700 LDDLLFLAGS
701 LDSHARED
702 DLLFLAGS
703 DLLEXT
705 OPENGL_LIBS
706 XLIB
707 MAINTAINER_MODE
708 MSGFMT
709 ICOTOOL
710 CONVERT
711 RSVG
712 PKG_CONFIG
713 FONTFORGE
714 LINTFLAGS
715 LINT
716 INSTALL_DATA
717 INSTALL_SCRIPT
718 INSTALL_PROGRAM
719 LDCONFIG
720 EGREP
721 GREP
722 LN_S
723 RANLIB
724 ARFLAGS
725 ac_ct_AR
727 BISON
728 FLEX
729 TOOLSDIR
730 WOW64_DISABLE
731 TARGETFLAGS
732 CPPBIN
733 ac_ct_CXX
734 CXXFLAGS
736 OBJEXT
737 EXEEXT
738 ac_ct_CC
739 CPPFLAGS
740 LDFLAGS
741 CFLAGS
743 SET_MAKE
744 host_os
745 host_vendor
746 host_cpu
747 host
748 build_os
749 build_vendor
750 build_cpu
751 build
752 target_alias
753 host_alias
754 build_alias
755 LIBS
756 ECHO_T
757 ECHO_N
758 ECHO_C
759 DEFS
760 mandir
761 localedir
762 libdir
763 psdir
764 pdfdir
765 dvidir
766 htmldir
767 infodir
768 docdir
769 oldincludedir
770 includedir
771 localstatedir
772 sharedstatedir
773 sysconfdir
774 datadir
775 datarootdir
776 libexecdir
777 sbindir
778 bindir
779 program_transform_name
780 prefix
781 exec_prefix
782 PACKAGE_URL
783 PACKAGE_BUGREPORT
784 PACKAGE_STRING
785 PACKAGE_VERSION
786 PACKAGE_TARNAME
787 PACKAGE_NAME
788 PATH_SEPARATOR
789 SHELL'
790 ac_subst_files='MAKE_RULES
791 MAKE_TEST_RULES
792 MAKE_DLL_RULES
793 MAKE_IMPLIB_RULES
794 MAKE_PROG_RULES'
795 ac_user_opts='
796 enable_option_checking
797 enable_win16
798 enable_win64
799 enable_tests
800 enable_maintainer_mode
801 with_alsa
802 with_capi
803 with_cms
804 with_coreaudio
805 with_cups
806 with_curses
807 with_dbus
808 with_fontconfig
809 with_freetype
810 with_gettext
811 with_gettextpo
812 with_gphoto
813 with_glu
814 with_gnutls
815 with_gsm
816 with_gstreamer
817 with_hal
818 with_jpeg
819 with_ldap
820 with_mpg123
821 with_openal
822 with_opencl
823 with_opengl
824 with_openssl
825 with_osmesa
826 with_oss
827 with_png
828 with_pthread
829 with_sane
830 with_tiff
831 with_v4l
832 with_xcomposite
833 with_xcursor
834 with_xinerama
835 with_xinput
836 with_xinput2
837 with_xml
838 with_xrandr
839 with_xrender
840 with_xshape
841 with_xshm
842 with_xslt
843 with_xxf86vm
844 with_zlib
845 with_wine_tools
846 with_wine64
847 enable_largefile
848 with_x
850 ac_precious_vars='build_alias
851 host_alias
852 target_alias
854 CFLAGS
855 LDFLAGS
856 LIBS
857 CPPFLAGS
859 CXXFLAGS
862 XMKMF'
865 # Initialize some variables set by options.
866 ac_init_help=
867 ac_init_version=false
868 ac_unrecognized_opts=
869 ac_unrecognized_sep=
870 # The variables have the same names as the options, with
871 # dashes changed to underlines.
872 cache_file=/dev/null
873 exec_prefix=NONE
874 no_create=
875 no_recursion=
876 prefix=NONE
877 program_prefix=NONE
878 program_suffix=NONE
879 program_transform_name=s,x,x,
880 silent=
881 site=
882 srcdir=
883 verbose=
884 x_includes=NONE
885 x_libraries=NONE
887 # Installation directory options.
888 # These are left unexpanded so users can "make install exec_prefix=/foo"
889 # and all the variables that are supposed to be based on exec_prefix
890 # by default will actually change.
891 # Use braces instead of parens because sh, perl, etc. also accept them.
892 # (The list follows the same order as the GNU Coding Standards.)
893 bindir='${exec_prefix}/bin'
894 sbindir='${exec_prefix}/sbin'
895 libexecdir='${exec_prefix}/libexec'
896 datarootdir='${prefix}/share'
897 datadir='${datarootdir}'
898 sysconfdir='${prefix}/etc'
899 sharedstatedir='${prefix}/com'
900 localstatedir='${prefix}/var'
901 includedir='${prefix}/include'
902 oldincludedir='/usr/include'
903 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
904 infodir='${datarootdir}/info'
905 htmldir='${docdir}'
906 dvidir='${docdir}'
907 pdfdir='${docdir}'
908 psdir='${docdir}'
909 libdir='${exec_prefix}/lib'
910 localedir='${datarootdir}/locale'
911 mandir='${datarootdir}/man'
913 ac_prev=
914 ac_dashdash=
915 for ac_option
917 # If the previous option needs an argument, assign it.
918 if test -n "$ac_prev"; then
919 eval $ac_prev=\$ac_option
920 ac_prev=
921 continue
924 case $ac_option in
925 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
926 *=) ac_optarg= ;;
927 *) ac_optarg=yes ;;
928 esac
930 # Accept the important Cygnus configure options, so we can diagnose typos.
932 case $ac_dashdash$ac_option in
934 ac_dashdash=yes ;;
936 -bindir | --bindir | --bindi | --bind | --bin | --bi)
937 ac_prev=bindir ;;
938 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
939 bindir=$ac_optarg ;;
941 -build | --build | --buil | --bui | --bu)
942 ac_prev=build_alias ;;
943 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
944 build_alias=$ac_optarg ;;
946 -cache-file | --cache-file | --cache-fil | --cache-fi \
947 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
948 ac_prev=cache_file ;;
949 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
950 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
951 cache_file=$ac_optarg ;;
953 --config-cache | -C)
954 cache_file=config.cache ;;
956 -datadir | --datadir | --datadi | --datad)
957 ac_prev=datadir ;;
958 -datadir=* | --datadir=* | --datadi=* | --datad=*)
959 datadir=$ac_optarg ;;
961 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
962 | --dataroo | --dataro | --datar)
963 ac_prev=datarootdir ;;
964 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
965 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
966 datarootdir=$ac_optarg ;;
968 -disable-* | --disable-*)
969 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
970 # Reject names that are not valid shell variable names.
971 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
972 as_fn_error $? "invalid feature name: $ac_useropt"
973 ac_useropt_orig=$ac_useropt
974 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
975 case $ac_user_opts in
977 "enable_$ac_useropt"
978 "*) ;;
979 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
980 ac_unrecognized_sep=', ';;
981 esac
982 eval enable_$ac_useropt=no ;;
984 -docdir | --docdir | --docdi | --doc | --do)
985 ac_prev=docdir ;;
986 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
987 docdir=$ac_optarg ;;
989 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
990 ac_prev=dvidir ;;
991 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
992 dvidir=$ac_optarg ;;
994 -enable-* | --enable-*)
995 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
996 # Reject names that are not valid shell variable names.
997 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
998 as_fn_error $? "invalid feature name: $ac_useropt"
999 ac_useropt_orig=$ac_useropt
1000 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1001 case $ac_user_opts in
1003 "enable_$ac_useropt"
1004 "*) ;;
1005 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1006 ac_unrecognized_sep=', ';;
1007 esac
1008 eval enable_$ac_useropt=\$ac_optarg ;;
1010 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1011 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1012 | --exec | --exe | --ex)
1013 ac_prev=exec_prefix ;;
1014 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1015 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1016 | --exec=* | --exe=* | --ex=*)
1017 exec_prefix=$ac_optarg ;;
1019 -gas | --gas | --ga | --g)
1020 # Obsolete; use --with-gas.
1021 with_gas=yes ;;
1023 -help | --help | --hel | --he | -h)
1024 ac_init_help=long ;;
1025 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1026 ac_init_help=recursive ;;
1027 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1028 ac_init_help=short ;;
1030 -host | --host | --hos | --ho)
1031 ac_prev=host_alias ;;
1032 -host=* | --host=* | --hos=* | --ho=*)
1033 host_alias=$ac_optarg ;;
1035 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1036 ac_prev=htmldir ;;
1037 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1038 | --ht=*)
1039 htmldir=$ac_optarg ;;
1041 -includedir | --includedir | --includedi | --included | --include \
1042 | --includ | --inclu | --incl | --inc)
1043 ac_prev=includedir ;;
1044 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1045 | --includ=* | --inclu=* | --incl=* | --inc=*)
1046 includedir=$ac_optarg ;;
1048 -infodir | --infodir | --infodi | --infod | --info | --inf)
1049 ac_prev=infodir ;;
1050 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1051 infodir=$ac_optarg ;;
1053 -libdir | --libdir | --libdi | --libd)
1054 ac_prev=libdir ;;
1055 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1056 libdir=$ac_optarg ;;
1058 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1059 | --libexe | --libex | --libe)
1060 ac_prev=libexecdir ;;
1061 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1062 | --libexe=* | --libex=* | --libe=*)
1063 libexecdir=$ac_optarg ;;
1065 -localedir | --localedir | --localedi | --localed | --locale)
1066 ac_prev=localedir ;;
1067 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1068 localedir=$ac_optarg ;;
1070 -localstatedir | --localstatedir | --localstatedi | --localstated \
1071 | --localstate | --localstat | --localsta | --localst | --locals)
1072 ac_prev=localstatedir ;;
1073 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1074 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1075 localstatedir=$ac_optarg ;;
1077 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1078 ac_prev=mandir ;;
1079 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1080 mandir=$ac_optarg ;;
1082 -nfp | --nfp | --nf)
1083 # Obsolete; use --without-fp.
1084 with_fp=no ;;
1086 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1087 | --no-cr | --no-c | -n)
1088 no_create=yes ;;
1090 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1091 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1092 no_recursion=yes ;;
1094 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1095 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1096 | --oldin | --oldi | --old | --ol | --o)
1097 ac_prev=oldincludedir ;;
1098 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1099 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1100 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1101 oldincludedir=$ac_optarg ;;
1103 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1104 ac_prev=prefix ;;
1105 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1106 prefix=$ac_optarg ;;
1108 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1109 | --program-pre | --program-pr | --program-p)
1110 ac_prev=program_prefix ;;
1111 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1112 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1113 program_prefix=$ac_optarg ;;
1115 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1116 | --program-suf | --program-su | --program-s)
1117 ac_prev=program_suffix ;;
1118 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1119 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1120 program_suffix=$ac_optarg ;;
1122 -program-transform-name | --program-transform-name \
1123 | --program-transform-nam | --program-transform-na \
1124 | --program-transform-n | --program-transform- \
1125 | --program-transform | --program-transfor \
1126 | --program-transfo | --program-transf \
1127 | --program-trans | --program-tran \
1128 | --progr-tra | --program-tr | --program-t)
1129 ac_prev=program_transform_name ;;
1130 -program-transform-name=* | --program-transform-name=* \
1131 | --program-transform-nam=* | --program-transform-na=* \
1132 | --program-transform-n=* | --program-transform-=* \
1133 | --program-transform=* | --program-transfor=* \
1134 | --program-transfo=* | --program-transf=* \
1135 | --program-trans=* | --program-tran=* \
1136 | --progr-tra=* | --program-tr=* | --program-t=*)
1137 program_transform_name=$ac_optarg ;;
1139 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1140 ac_prev=pdfdir ;;
1141 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1142 pdfdir=$ac_optarg ;;
1144 -psdir | --psdir | --psdi | --psd | --ps)
1145 ac_prev=psdir ;;
1146 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1147 psdir=$ac_optarg ;;
1149 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1150 | -silent | --silent | --silen | --sile | --sil)
1151 silent=yes ;;
1153 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1154 ac_prev=sbindir ;;
1155 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1156 | --sbi=* | --sb=*)
1157 sbindir=$ac_optarg ;;
1159 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1160 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1161 | --sharedst | --shareds | --shared | --share | --shar \
1162 | --sha | --sh)
1163 ac_prev=sharedstatedir ;;
1164 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1165 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1166 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1167 | --sha=* | --sh=*)
1168 sharedstatedir=$ac_optarg ;;
1170 -site | --site | --sit)
1171 ac_prev=site ;;
1172 -site=* | --site=* | --sit=*)
1173 site=$ac_optarg ;;
1175 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1176 ac_prev=srcdir ;;
1177 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1178 srcdir=$ac_optarg ;;
1180 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1181 | --syscon | --sysco | --sysc | --sys | --sy)
1182 ac_prev=sysconfdir ;;
1183 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1184 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1185 sysconfdir=$ac_optarg ;;
1187 -target | --target | --targe | --targ | --tar | --ta | --t)
1188 ac_prev=target_alias ;;
1189 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1190 target_alias=$ac_optarg ;;
1192 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1193 verbose=yes ;;
1195 -version | --version | --versio | --versi | --vers | -V)
1196 ac_init_version=: ;;
1198 -with-* | --with-*)
1199 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1200 # Reject names that are not valid shell variable names.
1201 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1202 as_fn_error $? "invalid package name: $ac_useropt"
1203 ac_useropt_orig=$ac_useropt
1204 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1205 case $ac_user_opts in
1207 "with_$ac_useropt"
1208 "*) ;;
1209 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1210 ac_unrecognized_sep=', ';;
1211 esac
1212 eval with_$ac_useropt=\$ac_optarg ;;
1214 -without-* | --without-*)
1215 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1216 # Reject names that are not valid shell variable names.
1217 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1218 as_fn_error $? "invalid package name: $ac_useropt"
1219 ac_useropt_orig=$ac_useropt
1220 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1221 case $ac_user_opts in
1223 "with_$ac_useropt"
1224 "*) ;;
1225 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1226 ac_unrecognized_sep=', ';;
1227 esac
1228 eval with_$ac_useropt=no ;;
1230 --x)
1231 # Obsolete; use --with-x.
1232 with_x=yes ;;
1234 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1235 | --x-incl | --x-inc | --x-in | --x-i)
1236 ac_prev=x_includes ;;
1237 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1238 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1239 x_includes=$ac_optarg ;;
1241 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1242 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1243 ac_prev=x_libraries ;;
1244 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1245 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1246 x_libraries=$ac_optarg ;;
1248 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1249 Try \`$0 --help' for more information"
1252 *=*)
1253 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1254 # Reject names that are not valid shell variable names.
1255 case $ac_envvar in #(
1256 '' | [0-9]* | *[!_$as_cr_alnum]* )
1257 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1258 esac
1259 eval $ac_envvar=\$ac_optarg
1260 export $ac_envvar ;;
1263 # FIXME: should be removed in autoconf 3.0.
1264 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1265 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1266 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1267 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1270 esac
1271 done
1273 if test -n "$ac_prev"; then
1274 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1275 as_fn_error $? "missing argument to $ac_option"
1278 if test -n "$ac_unrecognized_opts"; then
1279 case $enable_option_checking in
1280 no) ;;
1281 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1282 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1283 esac
1286 # Check all directory arguments for consistency.
1287 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1288 datadir sysconfdir sharedstatedir localstatedir includedir \
1289 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1290 libdir localedir mandir
1292 eval ac_val=\$$ac_var
1293 # Remove trailing slashes.
1294 case $ac_val in
1295 */ )
1296 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1297 eval $ac_var=\$ac_val;;
1298 esac
1299 # Be sure to have absolute directory names.
1300 case $ac_val in
1301 [\\/$]* | ?:[\\/]* ) continue;;
1302 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1303 esac
1304 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1305 done
1307 # There might be people who depend on the old broken behavior: `$host'
1308 # used to hold the argument of --host etc.
1309 # FIXME: To remove some day.
1310 build=$build_alias
1311 host=$host_alias
1312 target=$target_alias
1314 # FIXME: To remove some day.
1315 if test "x$host_alias" != x; then
1316 if test "x$build_alias" = x; then
1317 cross_compiling=maybe
1318 elif test "x$build_alias" != "x$host_alias"; then
1319 cross_compiling=yes
1323 ac_tool_prefix=
1324 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1326 test "$silent" = yes && exec 6>/dev/null
1329 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1330 ac_ls_di=`ls -di .` &&
1331 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1332 as_fn_error $? "working directory cannot be determined"
1333 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1334 as_fn_error $? "pwd does not report name of working directory"
1337 # Find the source files, if location was not specified.
1338 if test -z "$srcdir"; then
1339 ac_srcdir_defaulted=yes
1340 # Try the directory containing this script, then the parent directory.
1341 ac_confdir=`$as_dirname -- "$as_myself" ||
1342 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1343 X"$as_myself" : 'X\(//\)[^/]' \| \
1344 X"$as_myself" : 'X\(//\)$' \| \
1345 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1346 $as_echo X"$as_myself" |
1347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1348 s//\1/
1351 /^X\(\/\/\)[^/].*/{
1352 s//\1/
1355 /^X\(\/\/\)$/{
1356 s//\1/
1359 /^X\(\/\).*/{
1360 s//\1/
1363 s/.*/./; q'`
1364 srcdir=$ac_confdir
1365 if test ! -r "$srcdir/$ac_unique_file"; then
1366 srcdir=..
1368 else
1369 ac_srcdir_defaulted=no
1371 if test ! -r "$srcdir/$ac_unique_file"; then
1372 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1373 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1375 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1376 ac_abs_confdir=`(
1377 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1378 pwd)`
1379 # When building in place, set srcdir=.
1380 if test "$ac_abs_confdir" = "$ac_pwd"; then
1381 srcdir=.
1383 # Remove unnecessary trailing slashes from srcdir.
1384 # Double slashes in file names in object file debugging info
1385 # mess up M-x gdb in Emacs.
1386 case $srcdir in
1387 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1388 esac
1389 for ac_var in $ac_precious_vars; do
1390 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1391 eval ac_env_${ac_var}_value=\$${ac_var}
1392 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1393 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1394 done
1397 # Report the --help message.
1399 if test "$ac_init_help" = "long"; then
1400 # Omit some internal or obsolete options to make the list less imposing.
1401 # This message is too long to be a string in the A/UX 3.1 sh.
1402 cat <<_ACEOF
1403 \`configure' configures Wine 1.5.21 to adapt to many kinds of systems.
1405 Usage: $0 [OPTION]... [VAR=VALUE]...
1407 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1408 VAR=VALUE. See below for descriptions of some of the useful variables.
1410 Defaults for the options are specified in brackets.
1412 Configuration:
1413 -h, --help display this help and exit
1414 --help=short display options specific to this package
1415 --help=recursive display the short help of all the included packages
1416 -V, --version display version information and exit
1417 -q, --quiet, --silent do not print \`checking ...' messages
1418 --cache-file=FILE cache test results in FILE [disabled]
1419 -C, --config-cache alias for \`--cache-file=config.cache'
1420 -n, --no-create do not create output files
1421 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1423 Installation directories:
1424 --prefix=PREFIX install architecture-independent files in PREFIX
1425 [$ac_default_prefix]
1426 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1427 [PREFIX]
1429 By default, \`make install' will install all the files in
1430 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1431 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1432 for instance \`--prefix=\$HOME'.
1434 For better control, use the options below.
1436 Fine tuning of the installation directories:
1437 --bindir=DIR user executables [EPREFIX/bin]
1438 --sbindir=DIR system admin executables [EPREFIX/sbin]
1439 --libexecdir=DIR program executables [EPREFIX/libexec]
1440 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1441 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1442 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1443 --libdir=DIR object code libraries [EPREFIX/lib]
1444 --includedir=DIR C header files [PREFIX/include]
1445 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1446 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1447 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1448 --infodir=DIR info documentation [DATAROOTDIR/info]
1449 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1450 --mandir=DIR man documentation [DATAROOTDIR/man]
1451 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1452 --htmldir=DIR html documentation [DOCDIR]
1453 --dvidir=DIR dvi documentation [DOCDIR]
1454 --pdfdir=DIR pdf documentation [DOCDIR]
1455 --psdir=DIR ps documentation [DOCDIR]
1456 _ACEOF
1458 cat <<\_ACEOF
1460 X features:
1461 --x-includes=DIR X include files are in DIR
1462 --x-libraries=DIR X library files are in DIR
1464 System types:
1465 --build=BUILD configure for building on BUILD [guessed]
1466 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1467 _ACEOF
1470 if test -n "$ac_init_help"; then
1471 case $ac_init_help in
1472 short | recursive ) echo "Configuration of Wine 1.5.21:";;
1473 esac
1474 cat <<\_ACEOF
1476 Optional Features:
1477 --disable-option-checking ignore unrecognized --enable/--with options
1478 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1479 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1480 --disable-win16 do not include Win16 support
1481 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1482 binaries)
1483 --disable-tests do not build the regression tests
1484 --enable-maintainer-mode
1485 enable maintainer-specific build rules
1486 --disable-largefile omit support for large files
1488 Optional Packages:
1489 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1490 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1491 --without-alsa do not use the Alsa sound support
1492 --without-capi do not use CAPI (ISDN support)
1493 --without-cms do not use CMS (color management support)
1494 --without-coreaudio do not use the CoreAudio sound support
1495 --without-cups do not use CUPS
1496 --without-curses do not use (n)curses
1497 --without-dbus do not use DBus (dynamic device support)
1498 --without-fontconfig do not use fontconfig
1499 --without-freetype do not use the FreeType library
1500 --without-gettext do not use gettext
1501 --with-gettextpo use the GetTextPO library to rebuild po files
1502 --without-gphoto do not use gphoto (Digital Camera support)
1503 --without-glu do not use the GLU library
1504 --without-gnutls do not use GnuTLS (schannel support)
1505 --without-gsm do not use libgsm (GSM 06.10 codec support)
1506 --without-gstreamer do not use GStreamer (codecs support)
1507 --without-hal do not use HAL (dynamic device support)
1508 --without-jpeg do not use JPEG
1509 --without-ldap do not use LDAP
1510 --without-mpg123 do not use the mpg123 library
1511 --without-openal do not use OpenAL
1512 --without-opencl do not use OpenCL
1513 --without-opengl do not use OpenGL
1514 --without-openssl do not use OpenSSL
1515 --without-osmesa do not use the OSMesa library
1516 --without-oss do not use the OSS sound support
1517 --without-png do not use PNG
1518 --without-pthread do not use the pthread library
1519 --without-sane do not use SANE (scanner support)
1520 --without-tiff do not use TIFF
1521 --without-v4l do not use v4l1 (v4l support)
1522 --without-xcomposite do not use the Xcomposite extension
1523 --without-xcursor do not use the Xcursor extension
1524 --without-xinerama do not use Xinerama (multi-monitor support)
1525 --without-xinput do not use the Xinput extension
1526 --without-xinput2 do not use the Xinput 2 extension
1527 --without-xml do not use XML
1528 --without-xrandr do not use Xrandr (resolution changes)
1529 --without-xrender do not use the Xrender extension
1530 --without-xshape do not use the Xshape extension
1531 --without-xshm do not use XShm (shared memory extension)
1532 --without-xslt do not use XSLT
1533 --without-xxf86vm do not use XFree video mode extension
1534 --without-zlib do not use Zlib (data compression)
1535 --with-wine-tools=DIR use Wine tools from directory DIR
1536 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
1537 --with-x use the X Window System
1539 Some influential environment variables:
1540 CC C compiler command
1541 CFLAGS C compiler flags
1542 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1543 nonstandard directory <lib dir>
1544 LIBS libraries to pass to the linker, e.g. -l<library>
1545 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1546 you have headers in a nonstandard directory <include dir>
1547 CXX C++ compiler command
1548 CXXFLAGS C++ compiler flags
1549 CPP C preprocessor
1550 XMKMF Path to xmkmf, Makefile generator for X Window System
1552 Use these variables to override the choices made by `configure' or to help
1553 it to find libraries and programs with nonstandard names/locations.
1555 Report bugs to <wine-devel@winehq.org>.
1556 Wine home page: <http://www.winehq.org>.
1557 _ACEOF
1558 ac_status=$?
1561 if test "$ac_init_help" = "recursive"; then
1562 # If there are subdirs, report their specific --help.
1563 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1564 test -d "$ac_dir" ||
1565 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1566 continue
1567 ac_builddir=.
1569 case "$ac_dir" in
1570 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1572 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1573 # A ".." for each directory in $ac_dir_suffix.
1574 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1575 case $ac_top_builddir_sub in
1576 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1577 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1578 esac ;;
1579 esac
1580 ac_abs_top_builddir=$ac_pwd
1581 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1582 # for backward compatibility:
1583 ac_top_builddir=$ac_top_build_prefix
1585 case $srcdir in
1586 .) # We are building in place.
1587 ac_srcdir=.
1588 ac_top_srcdir=$ac_top_builddir_sub
1589 ac_abs_top_srcdir=$ac_pwd ;;
1590 [\\/]* | ?:[\\/]* ) # Absolute name.
1591 ac_srcdir=$srcdir$ac_dir_suffix;
1592 ac_top_srcdir=$srcdir
1593 ac_abs_top_srcdir=$srcdir ;;
1594 *) # Relative name.
1595 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1596 ac_top_srcdir=$ac_top_build_prefix$srcdir
1597 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1598 esac
1599 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1601 cd "$ac_dir" || { ac_status=$?; continue; }
1602 # Check for guested configure.
1603 if test -f "$ac_srcdir/configure.gnu"; then
1604 echo &&
1605 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1606 elif test -f "$ac_srcdir/configure"; then
1607 echo &&
1608 $SHELL "$ac_srcdir/configure" --help=recursive
1609 else
1610 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1611 fi || ac_status=$?
1612 cd "$ac_pwd" || { ac_status=$?; break; }
1613 done
1616 test -n "$ac_init_help" && exit $ac_status
1617 if $ac_init_version; then
1618 cat <<\_ACEOF
1619 Wine configure 1.5.21
1620 generated by GNU Autoconf 2.69
1622 Copyright (C) 2012 Free Software Foundation, Inc.
1623 This configure script is free software; the Free Software Foundation
1624 gives unlimited permission to copy, distribute and modify it.
1625 _ACEOF
1626 exit
1629 ## ------------------------ ##
1630 ## Autoconf initialization. ##
1631 ## ------------------------ ##
1633 # ac_fn_c_try_compile LINENO
1634 # --------------------------
1635 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1636 ac_fn_c_try_compile ()
1638 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1639 rm -f conftest.$ac_objext
1640 if { { ac_try="$ac_compile"
1641 case "(($ac_try" in
1642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1643 *) ac_try_echo=$ac_try;;
1644 esac
1645 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1646 $as_echo "$ac_try_echo"; } >&5
1647 (eval "$ac_compile") 2>conftest.err
1648 ac_status=$?
1649 if test -s conftest.err; then
1650 grep -v '^ *+' conftest.err >conftest.er1
1651 cat conftest.er1 >&5
1652 mv -f conftest.er1 conftest.err
1654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1655 test $ac_status = 0; } && {
1656 test -z "$ac_c_werror_flag" ||
1657 test ! -s conftest.err
1658 } && test -s conftest.$ac_objext; then :
1659 ac_retval=0
1660 else
1661 $as_echo "$as_me: failed program was:" >&5
1662 sed 's/^/| /' conftest.$ac_ext >&5
1664 ac_retval=1
1666 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1667 as_fn_set_status $ac_retval
1669 } # ac_fn_c_try_compile
1671 # ac_fn_cxx_try_compile LINENO
1672 # ----------------------------
1673 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1674 ac_fn_cxx_try_compile ()
1676 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1677 rm -f conftest.$ac_objext
1678 if { { ac_try="$ac_compile"
1679 case "(($ac_try" in
1680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1681 *) ac_try_echo=$ac_try;;
1682 esac
1683 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1684 $as_echo "$ac_try_echo"; } >&5
1685 (eval "$ac_compile") 2>conftest.err
1686 ac_status=$?
1687 if test -s conftest.err; then
1688 grep -v '^ *+' conftest.err >conftest.er1
1689 cat conftest.er1 >&5
1690 mv -f conftest.er1 conftest.err
1692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1693 test $ac_status = 0; } && {
1694 test -z "$ac_cxx_werror_flag" ||
1695 test ! -s conftest.err
1696 } && test -s conftest.$ac_objext; then :
1697 ac_retval=0
1698 else
1699 $as_echo "$as_me: failed program was:" >&5
1700 sed 's/^/| /' conftest.$ac_ext >&5
1702 ac_retval=1
1704 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1705 as_fn_set_status $ac_retval
1707 } # ac_fn_cxx_try_compile
1709 # ac_fn_c_try_link LINENO
1710 # -----------------------
1711 # Try to link conftest.$ac_ext, and return whether this succeeded.
1712 ac_fn_c_try_link ()
1714 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1715 rm -f conftest.$ac_objext conftest$ac_exeext
1716 if { { ac_try="$ac_link"
1717 case "(($ac_try" in
1718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1719 *) ac_try_echo=$ac_try;;
1720 esac
1721 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1722 $as_echo "$ac_try_echo"; } >&5
1723 (eval "$ac_link") 2>conftest.err
1724 ac_status=$?
1725 if test -s conftest.err; then
1726 grep -v '^ *+' conftest.err >conftest.er1
1727 cat conftest.er1 >&5
1728 mv -f conftest.er1 conftest.err
1730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1731 test $ac_status = 0; } && {
1732 test -z "$ac_c_werror_flag" ||
1733 test ! -s conftest.err
1734 } && test -s conftest$ac_exeext && {
1735 test "$cross_compiling" = yes ||
1736 test -x conftest$ac_exeext
1737 }; then :
1738 ac_retval=0
1739 else
1740 $as_echo "$as_me: failed program was:" >&5
1741 sed 's/^/| /' conftest.$ac_ext >&5
1743 ac_retval=1
1745 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1746 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1747 # interfere with the next link command; also delete a directory that is
1748 # left behind by Apple's compiler. We do this before executing the actions.
1749 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1750 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1751 as_fn_set_status $ac_retval
1753 } # ac_fn_c_try_link
1755 # ac_fn_c_try_cpp LINENO
1756 # ----------------------
1757 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1758 ac_fn_c_try_cpp ()
1760 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1761 if { { ac_try="$ac_cpp conftest.$ac_ext"
1762 case "(($ac_try" in
1763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1764 *) ac_try_echo=$ac_try;;
1765 esac
1766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1767 $as_echo "$ac_try_echo"; } >&5
1768 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1769 ac_status=$?
1770 if test -s conftest.err; then
1771 grep -v '^ *+' conftest.err >conftest.er1
1772 cat conftest.er1 >&5
1773 mv -f conftest.er1 conftest.err
1775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1776 test $ac_status = 0; } > conftest.i && {
1777 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1778 test ! -s conftest.err
1779 }; then :
1780 ac_retval=0
1781 else
1782 $as_echo "$as_me: failed program was:" >&5
1783 sed 's/^/| /' conftest.$ac_ext >&5
1785 ac_retval=1
1787 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1788 as_fn_set_status $ac_retval
1790 } # ac_fn_c_try_cpp
1792 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1793 # -------------------------------------------------------
1794 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1795 # the include files in INCLUDES and setting the cache variable VAR
1796 # accordingly.
1797 ac_fn_c_check_header_mongrel ()
1799 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1800 if eval \${$3+:} false; then :
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1802 $as_echo_n "checking for $2... " >&6; }
1803 if eval \${$3+:} false; then :
1804 $as_echo_n "(cached) " >&6
1806 eval ac_res=\$$3
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1808 $as_echo "$ac_res" >&6; }
1809 else
1810 # Is the header compilable?
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1812 $as_echo_n "checking $2 usability... " >&6; }
1813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1814 /* end confdefs.h. */
1816 #include <$2>
1817 _ACEOF
1818 if ac_fn_c_try_compile "$LINENO"; then :
1819 ac_header_compiler=yes
1820 else
1821 ac_header_compiler=no
1823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1825 $as_echo "$ac_header_compiler" >&6; }
1827 # Is the header present?
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1829 $as_echo_n "checking $2 presence... " >&6; }
1830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1831 /* end confdefs.h. */
1832 #include <$2>
1833 _ACEOF
1834 if ac_fn_c_try_cpp "$LINENO"; then :
1835 ac_header_preproc=yes
1836 else
1837 ac_header_preproc=no
1839 rm -f conftest.err conftest.i conftest.$ac_ext
1840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1841 $as_echo "$ac_header_preproc" >&6; }
1843 # So? What about this header?
1844 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1845 yes:no: )
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1847 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1849 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1851 no:yes:* )
1852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1853 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1855 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1857 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1859 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1861 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1862 ( $as_echo "## ------------------------------------ ##
1863 ## Report this to wine-devel@winehq.org ##
1864 ## ------------------------------------ ##"
1865 ) | sed "s/^/$as_me: WARNING: /" >&2
1867 esac
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1869 $as_echo_n "checking for $2... " >&6; }
1870 if eval \${$3+:} false; then :
1871 $as_echo_n "(cached) " >&6
1872 else
1873 eval "$3=\$ac_header_compiler"
1875 eval ac_res=\$$3
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1877 $as_echo "$ac_res" >&6; }
1879 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1881 } # ac_fn_c_check_header_mongrel
1883 # ac_fn_c_try_run LINENO
1884 # ----------------------
1885 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1886 # that executables *can* be run.
1887 ac_fn_c_try_run ()
1889 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1890 if { { ac_try="$ac_link"
1891 case "(($ac_try" in
1892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1893 *) ac_try_echo=$ac_try;;
1894 esac
1895 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1896 $as_echo "$ac_try_echo"; } >&5
1897 (eval "$ac_link") 2>&5
1898 ac_status=$?
1899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1900 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1901 { { case "(($ac_try" in
1902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1903 *) ac_try_echo=$ac_try;;
1904 esac
1905 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1906 $as_echo "$ac_try_echo"; } >&5
1907 (eval "$ac_try") 2>&5
1908 ac_status=$?
1909 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1910 test $ac_status = 0; }; }; then :
1911 ac_retval=0
1912 else
1913 $as_echo "$as_me: program exited with status $ac_status" >&5
1914 $as_echo "$as_me: failed program was:" >&5
1915 sed 's/^/| /' conftest.$ac_ext >&5
1917 ac_retval=$ac_status
1919 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1920 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1921 as_fn_set_status $ac_retval
1923 } # ac_fn_c_try_run
1925 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1926 # -------------------------------------------------------
1927 # Tests whether HEADER exists and can be compiled using the include files in
1928 # INCLUDES, setting the cache variable VAR accordingly.
1929 ac_fn_c_check_header_compile ()
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 \${$3+:} false; then :
1935 $as_echo_n "(cached) " >&6
1936 else
1937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1938 /* end confdefs.h. */
1940 #include <$2>
1941 _ACEOF
1942 if ac_fn_c_try_compile "$LINENO"; then :
1943 eval "$3=yes"
1944 else
1945 eval "$3=no"
1947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1949 eval ac_res=\$$3
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1951 $as_echo "$ac_res" >&6; }
1952 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1954 } # ac_fn_c_check_header_compile
1956 # ac_fn_c_check_func LINENO FUNC VAR
1957 # ----------------------------------
1958 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1959 ac_fn_c_check_func ()
1961 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1963 $as_echo_n "checking for $2... " >&6; }
1964 if eval \${$3+:} false; then :
1965 $as_echo_n "(cached) " >&6
1966 else
1967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1968 /* end confdefs.h. */
1969 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1971 #define $2 innocuous_$2
1973 /* System header to define __stub macros and hopefully few prototypes,
1974 which can conflict with char $2 (); below.
1975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1976 <limits.h> exists even on freestanding compilers. */
1978 #ifdef __STDC__
1979 # include <limits.h>
1980 #else
1981 # include <assert.h>
1982 #endif
1984 #undef $2
1986 /* Override any GCC internal prototype to avoid an error.
1987 Use char because int might match the return type of a GCC
1988 builtin and then its argument prototype would still apply. */
1989 #ifdef __cplusplus
1990 extern "C"
1991 #endif
1992 char $2 ();
1993 /* The GNU C library defines this for functions which it implements
1994 to always fail with ENOSYS. Some functions are actually named
1995 something starting with __ and the normal name is an alias. */
1996 #if defined __stub_$2 || defined __stub___$2
1997 choke me
1998 #endif
2001 main ()
2003 return $2 ();
2005 return 0;
2007 _ACEOF
2008 if ac_fn_c_try_link "$LINENO"; then :
2009 eval "$3=yes"
2010 else
2011 eval "$3=no"
2013 rm -f core conftest.err conftest.$ac_objext \
2014 conftest$ac_exeext conftest.$ac_ext
2016 eval ac_res=\$$3
2017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2018 $as_echo "$ac_res" >&6; }
2019 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2021 } # ac_fn_c_check_func
2023 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2024 # ----------------------------------------------------
2025 # Tries to find if the field MEMBER exists in type AGGR, after including
2026 # INCLUDES, setting cache variable VAR accordingly.
2027 ac_fn_c_check_member ()
2029 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2031 $as_echo_n "checking for $2.$3... " >&6; }
2032 if eval \${$4+:} false; then :
2033 $as_echo_n "(cached) " >&6
2034 else
2035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2036 /* end confdefs.h. */
2039 main ()
2041 static $2 ac_aggr;
2042 if (ac_aggr.$3)
2043 return 0;
2045 return 0;
2047 _ACEOF
2048 if ac_fn_c_try_compile "$LINENO"; then :
2049 eval "$4=yes"
2050 else
2051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2052 /* end confdefs.h. */
2055 main ()
2057 static $2 ac_aggr;
2058 if (sizeof ac_aggr.$3)
2059 return 0;
2061 return 0;
2063 _ACEOF
2064 if ac_fn_c_try_compile "$LINENO"; then :
2065 eval "$4=yes"
2066 else
2067 eval "$4=no"
2069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2073 eval ac_res=\$$4
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2075 $as_echo "$ac_res" >&6; }
2076 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2078 } # ac_fn_c_check_member
2080 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2081 # -------------------------------------------
2082 # Tests whether TYPE exists after having included INCLUDES, setting cache
2083 # variable VAR accordingly.
2084 ac_fn_c_check_type ()
2086 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2088 $as_echo_n "checking for $2... " >&6; }
2089 if eval \${$3+:} false; then :
2090 $as_echo_n "(cached) " >&6
2091 else
2092 eval "$3=no"
2093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2094 /* end confdefs.h. */
2097 main ()
2099 if (sizeof ($2))
2100 return 0;
2102 return 0;
2104 _ACEOF
2105 if ac_fn_c_try_compile "$LINENO"; then :
2106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2107 /* end confdefs.h. */
2110 main ()
2112 if (sizeof (($2)))
2113 return 0;
2115 return 0;
2117 _ACEOF
2118 if ac_fn_c_try_compile "$LINENO"; then :
2120 else
2121 eval "$3=yes"
2123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2127 eval ac_res=\$$3
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2129 $as_echo "$ac_res" >&6; }
2130 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2132 } # ac_fn_c_check_type
2133 cat >config.log <<_ACEOF
2134 This file contains any messages produced by compilers while
2135 running configure, to aid debugging if configure makes a mistake.
2137 It was created by Wine $as_me 1.5.21, which was
2138 generated by GNU Autoconf 2.69. Invocation command line was
2140 $ $0 $@
2142 _ACEOF
2143 exec 5>>config.log
2145 cat <<_ASUNAME
2146 ## --------- ##
2147 ## Platform. ##
2148 ## --------- ##
2150 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2151 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2152 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2153 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2154 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2156 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2157 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2159 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2160 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2161 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2162 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2163 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2164 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2165 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2167 _ASUNAME
2169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2170 for as_dir in $PATH
2172 IFS=$as_save_IFS
2173 test -z "$as_dir" && as_dir=.
2174 $as_echo "PATH: $as_dir"
2175 done
2176 IFS=$as_save_IFS
2178 } >&5
2180 cat >&5 <<_ACEOF
2183 ## ----------- ##
2184 ## Core tests. ##
2185 ## ----------- ##
2187 _ACEOF
2190 # Keep a trace of the command line.
2191 # Strip out --no-create and --no-recursion so they do not pile up.
2192 # Strip out --silent because we don't want to record it for future runs.
2193 # Also quote any args containing shell meta-characters.
2194 # Make two passes to allow for proper duplicate-argument suppression.
2195 ac_configure_args=
2196 ac_configure_args0=
2197 ac_configure_args1=
2198 ac_must_keep_next=false
2199 for ac_pass in 1 2
2201 for ac_arg
2203 case $ac_arg in
2204 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2205 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2206 | -silent | --silent | --silen | --sile | --sil)
2207 continue ;;
2208 *\'*)
2209 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2210 esac
2211 case $ac_pass in
2212 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2214 as_fn_append ac_configure_args1 " '$ac_arg'"
2215 if test $ac_must_keep_next = true; then
2216 ac_must_keep_next=false # Got value, back to normal.
2217 else
2218 case $ac_arg in
2219 *=* | --config-cache | -C | -disable-* | --disable-* \
2220 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2221 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2222 | -with-* | --with-* | -without-* | --without-* | --x)
2223 case "$ac_configure_args0 " in
2224 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2225 esac
2227 -* ) ac_must_keep_next=true ;;
2228 esac
2230 as_fn_append ac_configure_args " '$ac_arg'"
2232 esac
2233 done
2234 done
2235 { ac_configure_args0=; unset ac_configure_args0;}
2236 { ac_configure_args1=; unset ac_configure_args1;}
2238 # When interrupted or exit'd, cleanup temporary files, and complete
2239 # config.log. We remove comments because anyway the quotes in there
2240 # would cause problems or look ugly.
2241 # WARNING: Use '\'' to represent an apostrophe within the trap.
2242 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2243 trap 'exit_status=$?
2244 # Save into config.log some information that might help in debugging.
2246 echo
2248 $as_echo "## ---------------- ##
2249 ## Cache variables. ##
2250 ## ---------------- ##"
2251 echo
2252 # The following way of writing the cache mishandles newlines in values,
2254 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2255 eval ac_val=\$$ac_var
2256 case $ac_val in #(
2257 *${as_nl}*)
2258 case $ac_var in #(
2259 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2260 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2261 esac
2262 case $ac_var in #(
2263 _ | IFS | as_nl) ;; #(
2264 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2265 *) { eval $ac_var=; unset $ac_var;} ;;
2266 esac ;;
2267 esac
2268 done
2269 (set) 2>&1 |
2270 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2271 *${as_nl}ac_space=\ *)
2272 sed -n \
2273 "s/'\''/'\''\\\\'\'''\''/g;
2274 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2275 ;; #(
2277 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2279 esac |
2280 sort
2282 echo
2284 $as_echo "## ----------------- ##
2285 ## Output variables. ##
2286 ## ----------------- ##"
2287 echo
2288 for ac_var in $ac_subst_vars
2290 eval ac_val=\$$ac_var
2291 case $ac_val in
2292 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2293 esac
2294 $as_echo "$ac_var='\''$ac_val'\''"
2295 done | sort
2296 echo
2298 if test -n "$ac_subst_files"; then
2299 $as_echo "## ------------------- ##
2300 ## File substitutions. ##
2301 ## ------------------- ##"
2302 echo
2303 for ac_var in $ac_subst_files
2305 eval ac_val=\$$ac_var
2306 case $ac_val in
2307 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2308 esac
2309 $as_echo "$ac_var='\''$ac_val'\''"
2310 done | sort
2311 echo
2314 if test -s confdefs.h; then
2315 $as_echo "## ----------- ##
2316 ## confdefs.h. ##
2317 ## ----------- ##"
2318 echo
2319 cat confdefs.h
2320 echo
2322 test "$ac_signal" != 0 &&
2323 $as_echo "$as_me: caught signal $ac_signal"
2324 $as_echo "$as_me: exit $exit_status"
2325 } >&5
2326 rm -f core *.core core.conftest.* &&
2327 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2328 exit $exit_status
2330 for ac_signal in 1 2 13 15; do
2331 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2332 done
2333 ac_signal=0
2335 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2336 rm -f -r conftest* confdefs.h
2338 $as_echo "/* confdefs.h */" > confdefs.h
2340 # Predefined preprocessor variables.
2342 cat >>confdefs.h <<_ACEOF
2343 #define PACKAGE_NAME "$PACKAGE_NAME"
2344 _ACEOF
2346 cat >>confdefs.h <<_ACEOF
2347 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2348 _ACEOF
2350 cat >>confdefs.h <<_ACEOF
2351 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2352 _ACEOF
2354 cat >>confdefs.h <<_ACEOF
2355 #define PACKAGE_STRING "$PACKAGE_STRING"
2356 _ACEOF
2358 cat >>confdefs.h <<_ACEOF
2359 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2360 _ACEOF
2362 cat >>confdefs.h <<_ACEOF
2363 #define PACKAGE_URL "$PACKAGE_URL"
2364 _ACEOF
2367 # Let the site file select an alternate cache file if it wants to.
2368 # Prefer an explicitly selected file to automatically selected ones.
2369 ac_site_file1=NONE
2370 ac_site_file2=NONE
2371 if test -n "$CONFIG_SITE"; then
2372 # We do not want a PATH search for config.site.
2373 case $CONFIG_SITE in #((
2374 -*) ac_site_file1=./$CONFIG_SITE;;
2375 */*) ac_site_file1=$CONFIG_SITE;;
2376 *) ac_site_file1=./$CONFIG_SITE;;
2377 esac
2378 elif test "x$prefix" != xNONE; then
2379 ac_site_file1=$prefix/share/config.site
2380 ac_site_file2=$prefix/etc/config.site
2381 else
2382 ac_site_file1=$ac_default_prefix/share/config.site
2383 ac_site_file2=$ac_default_prefix/etc/config.site
2385 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2387 test "x$ac_site_file" = xNONE && continue
2388 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2390 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2391 sed 's/^/| /' "$ac_site_file" >&5
2392 . "$ac_site_file" \
2393 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2394 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2395 as_fn_error $? "failed to load site script $ac_site_file
2396 See \`config.log' for more details" "$LINENO" 5; }
2398 done
2400 if test -r "$cache_file"; then
2401 # Some versions of bash will fail to source /dev/null (special files
2402 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2403 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2405 $as_echo "$as_me: loading cache $cache_file" >&6;}
2406 case $cache_file in
2407 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2408 *) . "./$cache_file";;
2409 esac
2411 else
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2413 $as_echo "$as_me: creating cache $cache_file" >&6;}
2414 >$cache_file
2417 # Check that the precious variables saved in the cache have kept the same
2418 # value.
2419 ac_cache_corrupted=false
2420 for ac_var in $ac_precious_vars; do
2421 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2422 eval ac_new_set=\$ac_env_${ac_var}_set
2423 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2424 eval ac_new_val=\$ac_env_${ac_var}_value
2425 case $ac_old_set,$ac_new_set in
2426 set,)
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2428 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2429 ac_cache_corrupted=: ;;
2430 ,set)
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2432 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2433 ac_cache_corrupted=: ;;
2434 ,);;
2436 if test "x$ac_old_val" != "x$ac_new_val"; then
2437 # differences in whitespace do not lead to failure.
2438 ac_old_val_w=`echo x $ac_old_val`
2439 ac_new_val_w=`echo x $ac_new_val`
2440 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2442 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2443 ac_cache_corrupted=:
2444 else
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2446 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2447 eval $ac_var=\$ac_old_val
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2450 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2452 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2453 fi;;
2454 esac
2455 # Pass precious variables to config.status.
2456 if test "$ac_new_set" = set; then
2457 case $ac_new_val in
2458 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2459 *) ac_arg=$ac_var=$ac_new_val ;;
2460 esac
2461 case " $ac_configure_args " in
2462 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2463 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2464 esac
2466 done
2467 if $ac_cache_corrupted; then
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2469 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2471 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2472 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2474 ## -------------------- ##
2475 ## Main body of script. ##
2476 ## -------------------- ##
2478 ac_ext=c
2479 ac_cpp='$CPP $CPPFLAGS'
2480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2486 ac_config_headers="$ac_config_headers include/config.h"
2488 ac_aux_dir=
2489 for ac_dir in tools "$srcdir"/tools; do
2490 if test -f "$ac_dir/install-sh"; then
2491 ac_aux_dir=$ac_dir
2492 ac_install_sh="$ac_aux_dir/install-sh -c"
2493 break
2494 elif test -f "$ac_dir/install.sh"; then
2495 ac_aux_dir=$ac_dir
2496 ac_install_sh="$ac_aux_dir/install.sh -c"
2497 break
2498 elif test -f "$ac_dir/shtool"; then
2499 ac_aux_dir=$ac_dir
2500 ac_install_sh="$ac_aux_dir/shtool install -c"
2501 break
2503 done
2504 if test -z "$ac_aux_dir"; then
2505 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
2508 # These three variables are undocumented and unsupported,
2509 # and are intended to be withdrawn in a future Autoconf release.
2510 # They can cause serious problems if a builder's source tree is in a directory
2511 # whose full name contains unusual characters.
2512 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2513 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2514 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2520 # Check whether --enable-win16 was given.
2521 if test "${enable_win16+set}" = set; then :
2522 enableval=$enable_win16;
2525 # Check whether --enable-win64 was given.
2526 if test "${enable_win64+set}" = set; then :
2527 enableval=$enable_win64;
2530 # Check whether --enable-tests was given.
2531 if test "${enable_tests+set}" = set; then :
2532 enableval=$enable_tests;
2535 # Check whether --enable-maintainer-mode was given.
2536 if test "${enable_maintainer_mode+set}" = set; then :
2537 enableval=$enable_maintainer_mode;
2542 # Check whether --with-alsa was given.
2543 if test "${with_alsa+set}" = set; then :
2544 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
2548 # Check whether --with-capi was given.
2549 if test "${with_capi+set}" = set; then :
2550 withval=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h=no; ac_cv_header_linux_capi_h=no; fi
2554 # Check whether --with-cms was given.
2555 if test "${with_cms+set}" = set; then :
2556 withval=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h=no; ac_cv_header_lcms_lcms_h=no; fi
2560 # Check whether --with-coreaudio was given.
2561 if test "${with_coreaudio+set}" = set; then :
2562 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
2566 # Check whether --with-cups was given.
2567 if test "${with_cups+set}" = set; then :
2568 withval=$with_cups;
2572 # Check whether --with-curses was given.
2573 if test "${with_curses+set}" = set; then :
2574 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
2578 # Check whether --with-dbus was given.
2579 if test "${with_dbus+set}" = set; then :
2580 withval=$with_dbus;
2584 # Check whether --with-fontconfig was given.
2585 if test "${with_fontconfig+set}" = set; then :
2586 withval=$with_fontconfig;
2590 # Check whether --with-freetype was given.
2591 if test "${with_freetype+set}" = set; then :
2592 withval=$with_freetype;
2596 # Check whether --with-gettext was given.
2597 if test "${with_gettext+set}" = set; then :
2598 withval=$with_gettext;
2602 # Check whether --with-gettextpo was given.
2603 if test "${with_gettextpo+set}" = set; then :
2604 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
2608 # Check whether --with-gphoto was given.
2609 if test "${with_gphoto+set}" = set; then :
2610 withval=$with_gphoto;
2614 # Check whether --with-glu was given.
2615 if test "${with_glu+set}" = set; then :
2616 withval=$with_glu;
2620 # Check whether --with-gnutls was given.
2621 if test "${with_gnutls+set}" = set; then :
2622 withval=$with_gnutls;
2626 # Check whether --with-gsm was given.
2627 if test "${with_gsm+set}" = set; then :
2628 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
2632 # Check whether --with-gstreamer was given.
2633 if test "${with_gstreamer+set}" = set; then :
2634 withval=$with_gstreamer;
2638 # Check whether --with-hal was given.
2639 if test "${with_hal+set}" = set; then :
2640 withval=$with_hal;
2644 # Check whether --with-jpeg was given.
2645 if test "${with_jpeg+set}" = set; then :
2646 withval=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h=no; fi
2650 # Check whether --with-ldap was given.
2651 if test "${with_ldap+set}" = set; then :
2652 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
2656 # Check whether --with-mpg123 was given.
2657 if test "${with_mpg123+set}" = set; then :
2658 withval=$with_mpg123; if test "x$withval" = "xno"; then ac_cv_header_mpg123_h=no; fi
2662 # Check whether --with-openal was given.
2663 if test "${with_openal+set}" = set; then :
2664 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
2668 # Check whether --with-opencl was given.
2669 if test "${with_opencl+set}" = set; then :
2670 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
2674 # Check whether --with-opengl was given.
2675 if test "${with_opengl+set}" = set; then :
2676 withval=$with_opengl;
2680 # Check whether --with-openssl was given.
2681 if test "${with_openssl+set}" = set; then :
2682 withval=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h=no; ac_cv_header_openssl_ssl_h=no; fi
2686 # Check whether --with-osmesa was given.
2687 if test "${with_osmesa+set}" = set; then :
2688 withval=$with_osmesa;
2692 # Check whether --with-oss was given.
2693 if test "${with_oss+set}" = set; then :
2694 withval=$with_oss;
2698 # Check whether --with-png was given.
2699 if test "${with_png+set}" = set; then :
2700 withval=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h=no; fi
2704 # Check whether --with-pthread was given.
2705 if test "${with_pthread+set}" = set; then :
2706 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
2710 # Check whether --with-sane was given.
2711 if test "${with_sane+set}" = set; then :
2712 withval=$with_sane;
2716 # Check whether --with-tiff was given.
2717 if test "${with_tiff+set}" = set; then :
2718 withval=$with_tiff; if test "x$withval" = "xno"; then ac_cv_header_tiffio_h=no; fi
2722 # Check whether --with-v4l was given.
2723 if test "${with_v4l+set}" = set; then :
2724 withval=$with_v4l;
2728 # Check whether --with-xcomposite was given.
2729 if test "${with_xcomposite+set}" = set; then :
2730 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2734 # Check whether --with-xcursor was given.
2735 if test "${with_xcursor+set}" = set; then :
2736 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2740 # Check whether --with-xinerama was given.
2741 if test "${with_xinerama+set}" = set; then :
2742 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2746 # Check whether --with-xinput was given.
2747 if test "${with_xinput+set}" = set; then :
2748 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2752 # Check whether --with-xinput2 was given.
2753 if test "${with_xinput2+set}" = set; then :
2754 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
2758 # Check whether --with-xml was given.
2759 if test "${with_xml+set}" = set; then :
2760 withval=$with_xml;
2764 # Check whether --with-xrandr was given.
2765 if test "${with_xrandr+set}" = set; then :
2766 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2770 # Check whether --with-xrender was given.
2771 if test "${with_xrender+set}" = set; then :
2772 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2776 # Check whether --with-xshape was given.
2777 if test "${with_xshape+set}" = set; then :
2778 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2782 # Check whether --with-xshm was given.
2783 if test "${with_xshm+set}" = set; then :
2784 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
2788 # Check whether --with-xslt was given.
2789 if test "${with_xslt+set}" = set; then :
2790 withval=$with_xslt;
2794 # Check whether --with-xxf86vm was given.
2795 if test "${with_xxf86vm+set}" = set; then :
2796 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
2800 # Check whether --with-zlib was given.
2801 if test "${with_zlib+set}" = set; then :
2802 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
2807 # Check whether --with-wine-tools was given.
2808 if test "${with_wine_tools+set}" = set; then :
2809 withval=$with_wine_tools;
2813 # Check whether --with-wine64 was given.
2814 if test "${with_wine64+set}" = set; then :
2815 withval=$with_wine64;
2819 # Make sure we can run config.sub.
2820 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2821 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2824 $as_echo_n "checking build system type... " >&6; }
2825 if ${ac_cv_build+:} false; then :
2826 $as_echo_n "(cached) " >&6
2827 else
2828 ac_build_alias=$build_alias
2829 test "x$ac_build_alias" = x &&
2830 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2831 test "x$ac_build_alias" = x &&
2832 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2833 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2834 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2838 $as_echo "$ac_cv_build" >&6; }
2839 case $ac_cv_build in
2840 *-*-*) ;;
2841 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2842 esac
2843 build=$ac_cv_build
2844 ac_save_IFS=$IFS; IFS='-'
2845 set x $ac_cv_build
2846 shift
2847 build_cpu=$1
2848 build_vendor=$2
2849 shift; shift
2850 # Remember, the first character of IFS is used to create $*,
2851 # except with old shells:
2852 build_os=$*
2853 IFS=$ac_save_IFS
2854 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2858 $as_echo_n "checking host system type... " >&6; }
2859 if ${ac_cv_host+:} false; then :
2860 $as_echo_n "(cached) " >&6
2861 else
2862 if test "x$host_alias" = x; then
2863 ac_cv_host=$ac_cv_build
2864 else
2865 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2866 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2871 $as_echo "$ac_cv_host" >&6; }
2872 case $ac_cv_host in
2873 *-*-*) ;;
2874 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2875 esac
2876 host=$ac_cv_host
2877 ac_save_IFS=$IFS; IFS='-'
2878 set x $ac_cv_host
2879 shift
2880 host_cpu=$1
2881 host_vendor=$2
2882 shift; shift
2883 # Remember, the first character of IFS is used to create $*,
2884 # except with old shells:
2885 host_os=$*
2886 IFS=$ac_save_IFS
2887 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2891 case "$srcdir" in
2892 .) ;;
2893 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2894 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
2895 You need to run 'make distclean' in the source tree first." "$LINENO" 5
2896 fi ;;
2897 esac
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2901 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2902 set x ${MAKE-make}
2903 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2904 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2905 $as_echo_n "(cached) " >&6
2906 else
2907 cat >conftest.make <<\_ACEOF
2908 SHELL = /bin/sh
2909 all:
2910 @echo '@@@%%%=$(MAKE)=@@@%%%'
2911 _ACEOF
2912 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2913 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2914 *@@@%%%=?*=@@@%%%*)
2915 eval ac_cv_prog_make_${ac_make}_set=yes;;
2917 eval ac_cv_prog_make_${ac_make}_set=no;;
2918 esac
2919 rm -f conftest.make
2921 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2923 $as_echo "yes" >&6; }
2924 SET_MAKE=
2925 else
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2927 $as_echo "no" >&6; }
2928 SET_MAKE="MAKE=${MAKE-make}"
2931 ac_ext=c
2932 ac_cpp='$CPP $CPPFLAGS'
2933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2936 if test -n "$ac_tool_prefix"; then
2937 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2938 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2940 $as_echo_n "checking for $ac_word... " >&6; }
2941 if ${ac_cv_prog_CC+:} false; then :
2942 $as_echo_n "(cached) " >&6
2943 else
2944 if test -n "$CC"; then
2945 ac_cv_prog_CC="$CC" # Let the user override the test.
2946 else
2947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2948 for as_dir in $PATH
2950 IFS=$as_save_IFS
2951 test -z "$as_dir" && as_dir=.
2952 for ac_exec_ext in '' $ac_executable_extensions; do
2953 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2954 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2956 break 2
2958 done
2959 done
2960 IFS=$as_save_IFS
2964 CC=$ac_cv_prog_CC
2965 if test -n "$CC"; then
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2967 $as_echo "$CC" >&6; }
2968 else
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2970 $as_echo "no" >&6; }
2975 if test -z "$ac_cv_prog_CC"; then
2976 ac_ct_CC=$CC
2977 # Extract the first word of "gcc", so it can be a program name with args.
2978 set dummy gcc; ac_word=$2
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2980 $as_echo_n "checking for $ac_word... " >&6; }
2981 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2982 $as_echo_n "(cached) " >&6
2983 else
2984 if test -n "$ac_ct_CC"; then
2985 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2986 else
2987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2988 for as_dir in $PATH
2990 IFS=$as_save_IFS
2991 test -z "$as_dir" && as_dir=.
2992 for ac_exec_ext in '' $ac_executable_extensions; do
2993 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2994 ac_cv_prog_ac_ct_CC="gcc"
2995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2996 break 2
2998 done
2999 done
3000 IFS=$as_save_IFS
3004 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3005 if test -n "$ac_ct_CC"; then
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3007 $as_echo "$ac_ct_CC" >&6; }
3008 else
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3010 $as_echo "no" >&6; }
3013 if test "x$ac_ct_CC" = x; then
3014 CC=""
3015 else
3016 case $cross_compiling:$ac_tool_warned in
3017 yes:)
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3019 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3020 ac_tool_warned=yes ;;
3021 esac
3022 CC=$ac_ct_CC
3024 else
3025 CC="$ac_cv_prog_CC"
3028 if test -z "$CC"; then
3029 if test -n "$ac_tool_prefix"; then
3030 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3031 set dummy ${ac_tool_prefix}cc; ac_word=$2
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3033 $as_echo_n "checking for $ac_word... " >&6; }
3034 if ${ac_cv_prog_CC+:} false; then :
3035 $as_echo_n "(cached) " >&6
3036 else
3037 if test -n "$CC"; then
3038 ac_cv_prog_CC="$CC" # Let the user override the test.
3039 else
3040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3041 for as_dir in $PATH
3043 IFS=$as_save_IFS
3044 test -z "$as_dir" && as_dir=.
3045 for ac_exec_ext in '' $ac_executable_extensions; do
3046 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3047 ac_cv_prog_CC="${ac_tool_prefix}cc"
3048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3049 break 2
3051 done
3052 done
3053 IFS=$as_save_IFS
3057 CC=$ac_cv_prog_CC
3058 if test -n "$CC"; then
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3060 $as_echo "$CC" >&6; }
3061 else
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3063 $as_echo "no" >&6; }
3069 if test -z "$CC"; then
3070 # Extract the first word of "cc", so it can be a program name with args.
3071 set dummy cc; ac_word=$2
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3073 $as_echo_n "checking for $ac_word... " >&6; }
3074 if ${ac_cv_prog_CC+:} false; then :
3075 $as_echo_n "(cached) " >&6
3076 else
3077 if test -n "$CC"; then
3078 ac_cv_prog_CC="$CC" # Let the user override the test.
3079 else
3080 ac_prog_rejected=no
3081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3082 for as_dir in $PATH
3084 IFS=$as_save_IFS
3085 test -z "$as_dir" && as_dir=.
3086 for ac_exec_ext in '' $ac_executable_extensions; do
3087 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3088 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3089 ac_prog_rejected=yes
3090 continue
3092 ac_cv_prog_CC="cc"
3093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3094 break 2
3096 done
3097 done
3098 IFS=$as_save_IFS
3100 if test $ac_prog_rejected = yes; then
3101 # We found a bogon in the path, so make sure we never use it.
3102 set dummy $ac_cv_prog_CC
3103 shift
3104 if test $# != 0; then
3105 # We chose a different compiler from the bogus one.
3106 # However, it has the same basename, so the bogon will be chosen
3107 # first if we set CC to just the basename; use the full file name.
3108 shift
3109 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3114 CC=$ac_cv_prog_CC
3115 if test -n "$CC"; then
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3117 $as_echo "$CC" >&6; }
3118 else
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3120 $as_echo "no" >&6; }
3125 if test -z "$CC"; then
3126 if test -n "$ac_tool_prefix"; then
3127 for ac_prog in cl.exe
3129 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3130 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3132 $as_echo_n "checking for $ac_word... " >&6; }
3133 if ${ac_cv_prog_CC+:} false; then :
3134 $as_echo_n "(cached) " >&6
3135 else
3136 if test -n "$CC"; then
3137 ac_cv_prog_CC="$CC" # Let the user override the test.
3138 else
3139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3140 for as_dir in $PATH
3142 IFS=$as_save_IFS
3143 test -z "$as_dir" && as_dir=.
3144 for ac_exec_ext in '' $ac_executable_extensions; do
3145 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3146 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3148 break 2
3150 done
3151 done
3152 IFS=$as_save_IFS
3156 CC=$ac_cv_prog_CC
3157 if test -n "$CC"; then
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3159 $as_echo "$CC" >&6; }
3160 else
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3162 $as_echo "no" >&6; }
3166 test -n "$CC" && break
3167 done
3169 if test -z "$CC"; then
3170 ac_ct_CC=$CC
3171 for ac_prog in cl.exe
3173 # Extract the first word of "$ac_prog", so it can be a program name with args.
3174 set dummy $ac_prog; ac_word=$2
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3176 $as_echo_n "checking for $ac_word... " >&6; }
3177 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3178 $as_echo_n "(cached) " >&6
3179 else
3180 if test -n "$ac_ct_CC"; then
3181 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3182 else
3183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3184 for as_dir in $PATH
3186 IFS=$as_save_IFS
3187 test -z "$as_dir" && as_dir=.
3188 for ac_exec_ext in '' $ac_executable_extensions; do
3189 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3190 ac_cv_prog_ac_ct_CC="$ac_prog"
3191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3192 break 2
3194 done
3195 done
3196 IFS=$as_save_IFS
3200 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3201 if test -n "$ac_ct_CC"; then
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3203 $as_echo "$ac_ct_CC" >&6; }
3204 else
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3206 $as_echo "no" >&6; }
3210 test -n "$ac_ct_CC" && break
3211 done
3213 if test "x$ac_ct_CC" = x; then
3214 CC=""
3215 else
3216 case $cross_compiling:$ac_tool_warned in
3217 yes:)
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3220 ac_tool_warned=yes ;;
3221 esac
3222 CC=$ac_ct_CC
3229 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3230 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3231 as_fn_error $? "no acceptable C compiler found in \$PATH
3232 See \`config.log' for more details" "$LINENO" 5; }
3234 # Provide some information about the compiler.
3235 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3236 set X $ac_compile
3237 ac_compiler=$2
3238 for ac_option in --version -v -V -qversion; do
3239 { { ac_try="$ac_compiler $ac_option >&5"
3240 case "(($ac_try" in
3241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3242 *) ac_try_echo=$ac_try;;
3243 esac
3244 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3245 $as_echo "$ac_try_echo"; } >&5
3246 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3247 ac_status=$?
3248 if test -s conftest.err; then
3249 sed '10a\
3250 ... rest of stderr output deleted ...
3251 10q' conftest.err >conftest.er1
3252 cat conftest.er1 >&5
3254 rm -f conftest.er1 conftest.err
3255 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3256 test $ac_status = 0; }
3257 done
3259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3260 /* end confdefs.h. */
3263 main ()
3267 return 0;
3269 _ACEOF
3270 ac_clean_files_save=$ac_clean_files
3271 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3272 # Try to create an executable without -o first, disregard a.out.
3273 # It will help us diagnose broken compilers, and finding out an intuition
3274 # of exeext.
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3276 $as_echo_n "checking whether the C compiler works... " >&6; }
3277 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3279 # The possible output files:
3280 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3282 ac_rmfiles=
3283 for ac_file in $ac_files
3285 case $ac_file in
3286 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3287 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3288 esac
3289 done
3290 rm -f $ac_rmfiles
3292 if { { ac_try="$ac_link_default"
3293 case "(($ac_try" in
3294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3295 *) ac_try_echo=$ac_try;;
3296 esac
3297 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3298 $as_echo "$ac_try_echo"; } >&5
3299 (eval "$ac_link_default") 2>&5
3300 ac_status=$?
3301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3302 test $ac_status = 0; }; then :
3303 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3304 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3305 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3306 # so that the user can short-circuit this test for compilers unknown to
3307 # Autoconf.
3308 for ac_file in $ac_files ''
3310 test -f "$ac_file" || continue
3311 case $ac_file in
3312 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3314 [ab].out )
3315 # We found the default executable, but exeext='' is most
3316 # certainly right.
3317 break;;
3318 *.* )
3319 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3320 then :; else
3321 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3323 # We set ac_cv_exeext here because the later test for it is not
3324 # safe: cross compilers may not add the suffix if given an `-o'
3325 # argument, so we may need to know it at that point already.
3326 # Even if this section looks crufty: it has the advantage of
3327 # actually working.
3328 break;;
3330 break;;
3331 esac
3332 done
3333 test "$ac_cv_exeext" = no && ac_cv_exeext=
3335 else
3336 ac_file=''
3338 if test -z "$ac_file"; then :
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3340 $as_echo "no" >&6; }
3341 $as_echo "$as_me: failed program was:" >&5
3342 sed 's/^/| /' conftest.$ac_ext >&5
3344 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3345 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3346 as_fn_error 77 "C compiler cannot create executables
3347 See \`config.log' for more details" "$LINENO" 5; }
3348 else
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3350 $as_echo "yes" >&6; }
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3353 $as_echo_n "checking for C compiler default output file name... " >&6; }
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3355 $as_echo "$ac_file" >&6; }
3356 ac_exeext=$ac_cv_exeext
3358 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3359 ac_clean_files=$ac_clean_files_save
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3361 $as_echo_n "checking for suffix of executables... " >&6; }
3362 if { { ac_try="$ac_link"
3363 case "(($ac_try" in
3364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3365 *) ac_try_echo=$ac_try;;
3366 esac
3367 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3368 $as_echo "$ac_try_echo"; } >&5
3369 (eval "$ac_link") 2>&5
3370 ac_status=$?
3371 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3372 test $ac_status = 0; }; then :
3373 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3374 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3375 # work properly (i.e., refer to `conftest.exe'), while it won't with
3376 # `rm'.
3377 for ac_file in conftest.exe conftest conftest.*; do
3378 test -f "$ac_file" || continue
3379 case $ac_file in
3380 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3381 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3382 break;;
3383 * ) break;;
3384 esac
3385 done
3386 else
3387 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3388 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3389 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3390 See \`config.log' for more details" "$LINENO" 5; }
3392 rm -f conftest conftest$ac_cv_exeext
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3394 $as_echo "$ac_cv_exeext" >&6; }
3396 rm -f conftest.$ac_ext
3397 EXEEXT=$ac_cv_exeext
3398 ac_exeext=$EXEEXT
3399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3400 /* end confdefs.h. */
3401 #include <stdio.h>
3403 main ()
3405 FILE *f = fopen ("conftest.out", "w");
3406 return ferror (f) || fclose (f) != 0;
3409 return 0;
3411 _ACEOF
3412 ac_clean_files="$ac_clean_files conftest.out"
3413 # Check that the compiler produces executables we can run. If not, either
3414 # the compiler is broken, or we cross compile.
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3416 $as_echo_n "checking whether we are cross compiling... " >&6; }
3417 if test "$cross_compiling" != yes; then
3418 { { ac_try="$ac_link"
3419 case "(($ac_try" in
3420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3421 *) ac_try_echo=$ac_try;;
3422 esac
3423 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3424 $as_echo "$ac_try_echo"; } >&5
3425 (eval "$ac_link") 2>&5
3426 ac_status=$?
3427 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3428 test $ac_status = 0; }
3429 if { ac_try='./conftest$ac_cv_exeext'
3430 { { case "(($ac_try" in
3431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3432 *) ac_try_echo=$ac_try;;
3433 esac
3434 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3435 $as_echo "$ac_try_echo"; } >&5
3436 (eval "$ac_try") 2>&5
3437 ac_status=$?
3438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3439 test $ac_status = 0; }; }; then
3440 cross_compiling=no
3441 else
3442 if test "$cross_compiling" = maybe; then
3443 cross_compiling=yes
3444 else
3445 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3446 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3447 as_fn_error $? "cannot run C compiled programs.
3448 If you meant to cross compile, use \`--host'.
3449 See \`config.log' for more details" "$LINENO" 5; }
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3454 $as_echo "$cross_compiling" >&6; }
3456 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3457 ac_clean_files=$ac_clean_files_save
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3459 $as_echo_n "checking for suffix of object files... " >&6; }
3460 if ${ac_cv_objext+:} false; then :
3461 $as_echo_n "(cached) " >&6
3462 else
3463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3464 /* end confdefs.h. */
3467 main ()
3471 return 0;
3473 _ACEOF
3474 rm -f conftest.o conftest.obj
3475 if { { ac_try="$ac_compile"
3476 case "(($ac_try" in
3477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3478 *) ac_try_echo=$ac_try;;
3479 esac
3480 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3481 $as_echo "$ac_try_echo"; } >&5
3482 (eval "$ac_compile") 2>&5
3483 ac_status=$?
3484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3485 test $ac_status = 0; }; then :
3486 for ac_file in conftest.o conftest.obj conftest.*; do
3487 test -f "$ac_file" || continue;
3488 case $ac_file in
3489 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3490 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3491 break;;
3492 esac
3493 done
3494 else
3495 $as_echo "$as_me: failed program was:" >&5
3496 sed 's/^/| /' conftest.$ac_ext >&5
3498 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3499 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3500 as_fn_error $? "cannot compute suffix of object files: cannot compile
3501 See \`config.log' for more details" "$LINENO" 5; }
3503 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3506 $as_echo "$ac_cv_objext" >&6; }
3507 OBJEXT=$ac_cv_objext
3508 ac_objext=$OBJEXT
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3510 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3511 if ${ac_cv_c_compiler_gnu+:} false; then :
3512 $as_echo_n "(cached) " >&6
3513 else
3514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3515 /* end confdefs.h. */
3518 main ()
3520 #ifndef __GNUC__
3521 choke me
3522 #endif
3525 return 0;
3527 _ACEOF
3528 if ac_fn_c_try_compile "$LINENO"; then :
3529 ac_compiler_gnu=yes
3530 else
3531 ac_compiler_gnu=no
3533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3534 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3538 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3539 if test $ac_compiler_gnu = yes; then
3540 GCC=yes
3541 else
3542 GCC=
3544 ac_test_CFLAGS=${CFLAGS+set}
3545 ac_save_CFLAGS=$CFLAGS
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3547 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3548 if ${ac_cv_prog_cc_g+:} false; then :
3549 $as_echo_n "(cached) " >&6
3550 else
3551 ac_save_c_werror_flag=$ac_c_werror_flag
3552 ac_c_werror_flag=yes
3553 ac_cv_prog_cc_g=no
3554 CFLAGS="-g"
3555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3556 /* end confdefs.h. */
3559 main ()
3563 return 0;
3565 _ACEOF
3566 if ac_fn_c_try_compile "$LINENO"; then :
3567 ac_cv_prog_cc_g=yes
3568 else
3569 CFLAGS=""
3570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3571 /* end confdefs.h. */
3574 main ()
3578 return 0;
3580 _ACEOF
3581 if ac_fn_c_try_compile "$LINENO"; then :
3583 else
3584 ac_c_werror_flag=$ac_save_c_werror_flag
3585 CFLAGS="-g"
3586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3587 /* end confdefs.h. */
3590 main ()
3594 return 0;
3596 _ACEOF
3597 if ac_fn_c_try_compile "$LINENO"; then :
3598 ac_cv_prog_cc_g=yes
3600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3605 ac_c_werror_flag=$ac_save_c_werror_flag
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3608 $as_echo "$ac_cv_prog_cc_g" >&6; }
3609 if test "$ac_test_CFLAGS" = set; then
3610 CFLAGS=$ac_save_CFLAGS
3611 elif test $ac_cv_prog_cc_g = yes; then
3612 if test "$GCC" = yes; then
3613 CFLAGS="-g -O2"
3614 else
3615 CFLAGS="-g"
3617 else
3618 if test "$GCC" = yes; then
3619 CFLAGS="-O2"
3620 else
3621 CFLAGS=
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3625 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3626 if ${ac_cv_prog_cc_c89+:} false; then :
3627 $as_echo_n "(cached) " >&6
3628 else
3629 ac_cv_prog_cc_c89=no
3630 ac_save_CC=$CC
3631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3632 /* end confdefs.h. */
3633 #include <stdarg.h>
3634 #include <stdio.h>
3635 struct stat;
3636 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3637 struct buf { int x; };
3638 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3639 static char *e (p, i)
3640 char **p;
3641 int i;
3643 return p[i];
3645 static char *f (char * (*g) (char **, int), char **p, ...)
3647 char *s;
3648 va_list v;
3649 va_start (v,p);
3650 s = g (p, va_arg (v,int));
3651 va_end (v);
3652 return s;
3655 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3656 function prototypes and stuff, but not '\xHH' hex character constants.
3657 These don't provoke an error unfortunately, instead are silently treated
3658 as 'x'. The following induces an error, until -std is added to get
3659 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3660 array size at least. It's necessary to write '\x00'==0 to get something
3661 that's true only with -std. */
3662 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3664 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3665 inside strings and character constants. */
3666 #define FOO(x) 'x'
3667 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3669 int test (int i, double x);
3670 struct s1 {int (*f) (int a);};
3671 struct s2 {int (*f) (double a);};
3672 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3673 int argc;
3674 char **argv;
3676 main ()
3678 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3680 return 0;
3682 _ACEOF
3683 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3684 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3686 CC="$ac_save_CC $ac_arg"
3687 if ac_fn_c_try_compile "$LINENO"; then :
3688 ac_cv_prog_cc_c89=$ac_arg
3690 rm -f core conftest.err conftest.$ac_objext
3691 test "x$ac_cv_prog_cc_c89" != "xno" && break
3692 done
3693 rm -f conftest.$ac_ext
3694 CC=$ac_save_CC
3697 # AC_CACHE_VAL
3698 case "x$ac_cv_prog_cc_c89" in
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3701 $as_echo "none needed" >&6; } ;;
3702 xno)
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3704 $as_echo "unsupported" >&6; } ;;
3706 CC="$CC $ac_cv_prog_cc_c89"
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3708 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3709 esac
3710 if test "x$ac_cv_prog_cc_c89" != xno; then :
3714 ac_ext=c
3715 ac_cpp='$CPP $CPPFLAGS'
3716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3720 ac_ext=cpp
3721 ac_cpp='$CXXCPP $CPPFLAGS'
3722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3725 if test -z "$CXX"; then
3726 if test -n "$CCC"; then
3727 CXX=$CCC
3728 else
3729 if test -n "$ac_tool_prefix"; then
3730 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3732 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3733 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3735 $as_echo_n "checking for $ac_word... " >&6; }
3736 if ${ac_cv_prog_CXX+:} false; then :
3737 $as_echo_n "(cached) " >&6
3738 else
3739 if test -n "$CXX"; then
3740 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3741 else
3742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3743 for as_dir in $PATH
3745 IFS=$as_save_IFS
3746 test -z "$as_dir" && as_dir=.
3747 for ac_exec_ext in '' $ac_executable_extensions; do
3748 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3749 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3751 break 2
3753 done
3754 done
3755 IFS=$as_save_IFS
3759 CXX=$ac_cv_prog_CXX
3760 if test -n "$CXX"; then
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3762 $as_echo "$CXX" >&6; }
3763 else
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3765 $as_echo "no" >&6; }
3769 test -n "$CXX" && break
3770 done
3772 if test -z "$CXX"; then
3773 ac_ct_CXX=$CXX
3774 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3776 # Extract the first word of "$ac_prog", so it can be a program name with args.
3777 set dummy $ac_prog; ac_word=$2
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3779 $as_echo_n "checking for $ac_word... " >&6; }
3780 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3781 $as_echo_n "(cached) " >&6
3782 else
3783 if test -n "$ac_ct_CXX"; then
3784 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3785 else
3786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3787 for as_dir in $PATH
3789 IFS=$as_save_IFS
3790 test -z "$as_dir" && as_dir=.
3791 for ac_exec_ext in '' $ac_executable_extensions; do
3792 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3793 ac_cv_prog_ac_ct_CXX="$ac_prog"
3794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3795 break 2
3797 done
3798 done
3799 IFS=$as_save_IFS
3803 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3804 if test -n "$ac_ct_CXX"; then
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3806 $as_echo "$ac_ct_CXX" >&6; }
3807 else
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3809 $as_echo "no" >&6; }
3813 test -n "$ac_ct_CXX" && break
3814 done
3816 if test "x$ac_ct_CXX" = x; then
3817 CXX="g++"
3818 else
3819 case $cross_compiling:$ac_tool_warned in
3820 yes:)
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3822 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3823 ac_tool_warned=yes ;;
3824 esac
3825 CXX=$ac_ct_CXX
3831 # Provide some information about the compiler.
3832 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3833 set X $ac_compile
3834 ac_compiler=$2
3835 for ac_option in --version -v -V -qversion; do
3836 { { ac_try="$ac_compiler $ac_option >&5"
3837 case "(($ac_try" in
3838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3839 *) ac_try_echo=$ac_try;;
3840 esac
3841 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3842 $as_echo "$ac_try_echo"; } >&5
3843 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3844 ac_status=$?
3845 if test -s conftest.err; then
3846 sed '10a\
3847 ... rest of stderr output deleted ...
3848 10q' conftest.err >conftest.er1
3849 cat conftest.er1 >&5
3851 rm -f conftest.er1 conftest.err
3852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3853 test $ac_status = 0; }
3854 done
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3857 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3858 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3859 $as_echo_n "(cached) " >&6
3860 else
3861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3862 /* end confdefs.h. */
3865 main ()
3867 #ifndef __GNUC__
3868 choke me
3869 #endif
3872 return 0;
3874 _ACEOF
3875 if ac_fn_cxx_try_compile "$LINENO"; then :
3876 ac_compiler_gnu=yes
3877 else
3878 ac_compiler_gnu=no
3880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3881 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3885 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3886 if test $ac_compiler_gnu = yes; then
3887 GXX=yes
3888 else
3889 GXX=
3891 ac_test_CXXFLAGS=${CXXFLAGS+set}
3892 ac_save_CXXFLAGS=$CXXFLAGS
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3894 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3895 if ${ac_cv_prog_cxx_g+:} false; then :
3896 $as_echo_n "(cached) " >&6
3897 else
3898 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3899 ac_cxx_werror_flag=yes
3900 ac_cv_prog_cxx_g=no
3901 CXXFLAGS="-g"
3902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3903 /* end confdefs.h. */
3906 main ()
3910 return 0;
3912 _ACEOF
3913 if ac_fn_cxx_try_compile "$LINENO"; then :
3914 ac_cv_prog_cxx_g=yes
3915 else
3916 CXXFLAGS=""
3917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3918 /* end confdefs.h. */
3921 main ()
3925 return 0;
3927 _ACEOF
3928 if ac_fn_cxx_try_compile "$LINENO"; then :
3930 else
3931 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3932 CXXFLAGS="-g"
3933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3934 /* end confdefs.h. */
3937 main ()
3941 return 0;
3943 _ACEOF
3944 if ac_fn_cxx_try_compile "$LINENO"; then :
3945 ac_cv_prog_cxx_g=yes
3947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3952 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3955 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3956 if test "$ac_test_CXXFLAGS" = set; then
3957 CXXFLAGS=$ac_save_CXXFLAGS
3958 elif test $ac_cv_prog_cxx_g = yes; then
3959 if test "$GXX" = yes; then
3960 CXXFLAGS="-g -O2"
3961 else
3962 CXXFLAGS="-g"
3964 else
3965 if test "$GXX" = yes; then
3966 CXXFLAGS="-O2"
3967 else
3968 CXXFLAGS=
3971 ac_ext=c
3972 ac_cpp='$CPP $CPPFLAGS'
3973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3977 if test -n "$ac_tool_prefix"; then
3978 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3979 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3981 $as_echo_n "checking for $ac_word... " >&6; }
3982 if ${ac_cv_prog_CPPBIN+:} false; then :
3983 $as_echo_n "(cached) " >&6
3984 else
3985 if test -n "$CPPBIN"; then
3986 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3987 else
3988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3989 for as_dir in $PATH
3991 IFS=$as_save_IFS
3992 test -z "$as_dir" && as_dir=.
3993 for ac_exec_ext in '' $ac_executable_extensions; do
3994 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3995 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3997 break 2
3999 done
4000 done
4001 IFS=$as_save_IFS
4005 CPPBIN=$ac_cv_prog_CPPBIN
4006 if test -n "$CPPBIN"; then
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4008 $as_echo "$CPPBIN" >&6; }
4009 else
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4011 $as_echo "no" >&6; }
4016 if test -z "$ac_cv_prog_CPPBIN"; then
4017 ac_ct_CPPBIN=$CPPBIN
4018 # Extract the first word of "cpp", so it can be a program name with args.
4019 set dummy cpp; ac_word=$2
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4021 $as_echo_n "checking for $ac_word... " >&6; }
4022 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4023 $as_echo_n "(cached) " >&6
4024 else
4025 if test -n "$ac_ct_CPPBIN"; then
4026 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4027 else
4028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4029 for as_dir in $PATH
4031 IFS=$as_save_IFS
4032 test -z "$as_dir" && as_dir=.
4033 for ac_exec_ext in '' $ac_executable_extensions; do
4034 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4035 ac_cv_prog_ac_ct_CPPBIN="cpp"
4036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4037 break 2
4039 done
4040 done
4041 IFS=$as_save_IFS
4045 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4046 if test -n "$ac_ct_CPPBIN"; then
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4048 $as_echo "$ac_ct_CPPBIN" >&6; }
4049 else
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4051 $as_echo "no" >&6; }
4054 if test "x$ac_ct_CPPBIN" = x; then
4055 CPPBIN="cpp"
4056 else
4057 case $cross_compiling:$ac_tool_warned in
4058 yes:)
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4060 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4061 ac_tool_warned=yes ;;
4062 esac
4063 CPPBIN=$ac_ct_CPPBIN
4065 else
4066 CPPBIN="$ac_cv_prog_CPPBIN"
4070 cat >>confdefs.h <<_ACEOF
4071 #define EXEEXT "$ac_exeext"
4072 _ACEOF
4075 case $host in
4076 *-darwin*)
4077 if test "x$enable_win64" = "xyes"
4078 then
4079 CC="$CC -m64"
4080 CXX="$CXX -m64"
4081 host_cpu="x86_64"
4082 notice_platform="64-bit "
4083 TARGETFLAGS="-m64"
4085 else
4086 CC="$CC -m32"
4087 CXX="$CXX -m32"
4088 host_cpu="i386"
4089 notice_platform="32-bit "
4090 TARGETFLAGS="-m32"
4092 enable_win16=${enable_win16:-yes}
4094 with_fontconfig=${with_fontconfig:-no}
4096 x86_64*)
4097 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4098 then
4099 CC="$CC -m32"
4100 CXX="$CXX -m32"
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4102 $as_echo_n "checking whether $CC works... " >&6; }
4104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4105 /* end confdefs.h. */
4108 main ()
4112 return 0;
4114 _ACEOF
4115 if ac_fn_c_try_link "$LINENO"; then :
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4117 $as_echo "yes" >&6; }
4118 else
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4120 $as_echo "no" >&6; }
4121 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4123 rm -f core conftest.err conftest.$ac_objext \
4124 conftest$ac_exeext conftest.$ac_ext
4125 host_cpu="i386"
4126 notice_platform="32-bit "
4127 TARGETFLAGS="-m32"
4129 enable_win16=${enable_win16:-yes}
4130 else
4131 if test "x${GCC}" = "xyes"
4132 then
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4134 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4136 /* end confdefs.h. */
4137 #include <stdarg.h>
4139 main ()
4141 void func(__builtin_ms_va_list *args);
4143 return 0;
4145 _ACEOF
4146 if ac_fn_c_try_compile "$LINENO"; then :
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4148 $as_echo "yes" >&6; }
4149 else
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4151 $as_echo "no" >&6; }
4152 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4156 TARGETFLAGS="-m64"
4160 arm*)
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4162 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4164 /* end confdefs.h. */
4165 int ac_test(int i) { return i; }
4167 main ()
4169 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4171 return 0;
4173 _ACEOF
4174 if ac_fn_c_try_link "$LINENO"; then :
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4176 $as_echo "yes" >&6; }
4177 else
4178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4179 $as_echo "no" >&6; }
4180 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4182 rm -f core conftest.err conftest.$ac_objext \
4183 conftest$ac_exeext conftest.$ac_ext
4184 CFLAGS="$CFLAGS -marm"
4186 *-mingw32*|*-cygwin*)
4187 enable_win16=${enable_win16:-no}
4188 CFLAGS="$CFLAGS -D_WIN32"
4190 i[3456789]86*)
4191 enable_win16=${enable_win16:-yes}
4193 esac
4195 enable_win16=${enable_win16:-no}
4196 enable_win64=${enable_win64:-no}
4198 enable_winetest=${enable_winetest:-$enable_tests}
4200 if test -n "$with_wine64"
4201 then
4202 if test "x$enable_win64" = "xyes"
4203 then
4204 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4205 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4207 WOW64_DISABLE=\#
4209 enable_fonts=${enable_fonts:-no}
4210 enable_server=${enable_server:-no}
4211 enable_tools=${enable_tools:-no}
4212 elif test "x$enable_win64" = "xyes"
4213 then
4214 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4218 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4219 if ${wine_cv_toolsdir+:} false; then :
4220 $as_echo_n "(cached) " >&6
4221 else
4222 wine_cv_toolsdir="$with_wine_tools"
4223 if test -z "$with_wine_tools"; then
4224 if test "$cross_compiling" = "yes"; then
4225 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4226 elif test -n "$with_wine64"; then
4227 wine_cv_toolsdir="$with_wine64"
4230 if test -z "$wine_cv_toolsdir"; then
4231 wine_cv_toolsdir="\$(top_builddir)"
4232 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4233 case "$wine_cv_toolsdir" in
4234 /*) ;;
4235 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4236 esac
4237 else
4238 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4242 $as_echo "$wine_cv_toolsdir" >&6; }
4243 TOOLSDIR=$wine_cv_toolsdir
4245 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4246 then
4247 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4251 for ac_prog in flex
4253 # Extract the first word of "$ac_prog", so it can be a program name with args.
4254 set dummy $ac_prog; ac_word=$2
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4256 $as_echo_n "checking for $ac_word... " >&6; }
4257 if ${ac_cv_prog_FLEX+:} false; then :
4258 $as_echo_n "(cached) " >&6
4259 else
4260 if test -n "$FLEX"; then
4261 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4262 else
4263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4264 for as_dir in $PATH
4266 IFS=$as_save_IFS
4267 test -z "$as_dir" && as_dir=.
4268 for ac_exec_ext in '' $ac_executable_extensions; do
4269 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4270 ac_cv_prog_FLEX="$ac_prog"
4271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4272 break 2
4274 done
4275 done
4276 IFS=$as_save_IFS
4280 FLEX=$ac_cv_prog_FLEX
4281 if test -n "$FLEX"; then
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4283 $as_echo "$FLEX" >&6; }
4284 else
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4286 $as_echo "no" >&6; }
4290 test -n "$FLEX" && break
4291 done
4292 test -n "$FLEX" || FLEX="none"
4294 if test "$FLEX" = "none"
4295 then
4296 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4299 $as_echo_n "checking whether flex is recent enough... " >&6; }
4300 cat >conftest.l <<EOF
4301 %top{
4302 #include "prediluvian.h"
4306 if $FLEX -t conftest.l >/dev/null 2>&5
4307 then
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4309 $as_echo "yes" >&6; }
4310 else
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4312 $as_echo "no" >&6; }
4313 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4316 for ac_prog in bison
4318 # Extract the first word of "$ac_prog", so it can be a program name with args.
4319 set dummy $ac_prog; ac_word=$2
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4321 $as_echo_n "checking for $ac_word... " >&6; }
4322 if ${ac_cv_prog_BISON+:} false; then :
4323 $as_echo_n "(cached) " >&6
4324 else
4325 if test -n "$BISON"; then
4326 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4327 else
4328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4329 for as_dir in $PATH
4331 IFS=$as_save_IFS
4332 test -z "$as_dir" && as_dir=.
4333 for ac_exec_ext in '' $ac_executable_extensions; do
4334 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4335 ac_cv_prog_BISON="$ac_prog"
4336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4337 break 2
4339 done
4340 done
4341 IFS=$as_save_IFS
4345 BISON=$ac_cv_prog_BISON
4346 if test -n "$BISON"; then
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4348 $as_echo "$BISON" >&6; }
4349 else
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4351 $as_echo "no" >&6; }
4355 test -n "$BISON" && break
4356 done
4357 test -n "$BISON" || BISON="none"
4359 if test "$BISON" = "none"
4360 then
4361 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4364 if test -n "$ac_tool_prefix"; then
4365 for ac_prog in ar gar
4367 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4368 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4370 $as_echo_n "checking for $ac_word... " >&6; }
4371 if ${ac_cv_prog_AR+:} false; then :
4372 $as_echo_n "(cached) " >&6
4373 else
4374 if test -n "$AR"; then
4375 ac_cv_prog_AR="$AR" # Let the user override the test.
4376 else
4377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4378 for as_dir in $PATH
4380 IFS=$as_save_IFS
4381 test -z "$as_dir" && as_dir=.
4382 for ac_exec_ext in '' $ac_executable_extensions; do
4383 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4384 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4386 break 2
4388 done
4389 done
4390 IFS=$as_save_IFS
4394 AR=$ac_cv_prog_AR
4395 if test -n "$AR"; then
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4397 $as_echo "$AR" >&6; }
4398 else
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4400 $as_echo "no" >&6; }
4404 test -n "$AR" && break
4405 done
4407 if test -z "$AR"; then
4408 ac_ct_AR=$AR
4409 for ac_prog in ar gar
4411 # Extract the first word of "$ac_prog", so it can be a program name with args.
4412 set dummy $ac_prog; ac_word=$2
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4414 $as_echo_n "checking for $ac_word... " >&6; }
4415 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4416 $as_echo_n "(cached) " >&6
4417 else
4418 if test -n "$ac_ct_AR"; then
4419 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4420 else
4421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4422 for as_dir in $PATH
4424 IFS=$as_save_IFS
4425 test -z "$as_dir" && as_dir=.
4426 for ac_exec_ext in '' $ac_executable_extensions; do
4427 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4428 ac_cv_prog_ac_ct_AR="$ac_prog"
4429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4430 break 2
4432 done
4433 done
4434 IFS=$as_save_IFS
4438 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4439 if test -n "$ac_ct_AR"; then
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4441 $as_echo "$ac_ct_AR" >&6; }
4442 else
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4444 $as_echo "no" >&6; }
4448 test -n "$ac_ct_AR" && break
4449 done
4451 if test "x$ac_ct_AR" = x; then
4452 AR="ar"
4453 else
4454 case $cross_compiling:$ac_tool_warned in
4455 yes:)
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4457 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4458 ac_tool_warned=yes ;;
4459 esac
4460 AR=$ac_ct_AR
4464 ARFLAGS=rc
4466 if test -n "$ac_tool_prefix"; then
4467 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4468 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4470 $as_echo_n "checking for $ac_word... " >&6; }
4471 if ${ac_cv_prog_RANLIB+:} false; then :
4472 $as_echo_n "(cached) " >&6
4473 else
4474 if test -n "$RANLIB"; then
4475 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4476 else
4477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4478 for as_dir in $PATH
4480 IFS=$as_save_IFS
4481 test -z "$as_dir" && as_dir=.
4482 for ac_exec_ext in '' $ac_executable_extensions; do
4483 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4484 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4486 break 2
4488 done
4489 done
4490 IFS=$as_save_IFS
4494 RANLIB=$ac_cv_prog_RANLIB
4495 if test -n "$RANLIB"; then
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4497 $as_echo "$RANLIB" >&6; }
4498 else
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4500 $as_echo "no" >&6; }
4505 if test -z "$ac_cv_prog_RANLIB"; then
4506 ac_ct_RANLIB=$RANLIB
4507 # Extract the first word of "ranlib", so it can be a program name with args.
4508 set dummy ranlib; ac_word=$2
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4510 $as_echo_n "checking for $ac_word... " >&6; }
4511 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4512 $as_echo_n "(cached) " >&6
4513 else
4514 if test -n "$ac_ct_RANLIB"; then
4515 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4516 else
4517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4518 for as_dir in $PATH
4520 IFS=$as_save_IFS
4521 test -z "$as_dir" && as_dir=.
4522 for ac_exec_ext in '' $ac_executable_extensions; do
4523 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4524 ac_cv_prog_ac_ct_RANLIB="ranlib"
4525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4526 break 2
4528 done
4529 done
4530 IFS=$as_save_IFS
4534 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4535 if test -n "$ac_ct_RANLIB"; then
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4537 $as_echo "$ac_ct_RANLIB" >&6; }
4538 else
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4540 $as_echo "no" >&6; }
4543 if test "x$ac_ct_RANLIB" = x; then
4544 RANLIB=":"
4545 else
4546 case $cross_compiling:$ac_tool_warned in
4547 yes:)
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4549 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4550 ac_tool_warned=yes ;;
4551 esac
4552 RANLIB=$ac_ct_RANLIB
4554 else
4555 RANLIB="$ac_cv_prog_RANLIB"
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4559 $as_echo_n "checking whether ln -s works... " >&6; }
4560 LN_S=$as_ln_s
4561 if test "$LN_S" = "ln -s"; then
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4563 $as_echo "yes" >&6; }
4564 else
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4566 $as_echo "no, using $LN_S" >&6; }
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4570 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4571 if ${ac_cv_path_GREP+:} false; then :
4572 $as_echo_n "(cached) " >&6
4573 else
4574 if test -z "$GREP"; then
4575 ac_path_GREP_found=false
4576 # Loop through the user's path and test for each of PROGNAME-LIST
4577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4578 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4580 IFS=$as_save_IFS
4581 test -z "$as_dir" && as_dir=.
4582 for ac_prog in grep ggrep; do
4583 for ac_exec_ext in '' $ac_executable_extensions; do
4584 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4585 as_fn_executable_p "$ac_path_GREP" || continue
4586 # Check for GNU ac_path_GREP and select it if it is found.
4587 # Check for GNU $ac_path_GREP
4588 case `"$ac_path_GREP" --version 2>&1` in
4589 *GNU*)
4590 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4592 ac_count=0
4593 $as_echo_n 0123456789 >"conftest.in"
4594 while :
4596 cat "conftest.in" "conftest.in" >"conftest.tmp"
4597 mv "conftest.tmp" "conftest.in"
4598 cp "conftest.in" "conftest.nl"
4599 $as_echo 'GREP' >> "conftest.nl"
4600 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4601 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4602 as_fn_arith $ac_count + 1 && ac_count=$as_val
4603 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4604 # Best one so far, save it but keep looking for a better one
4605 ac_cv_path_GREP="$ac_path_GREP"
4606 ac_path_GREP_max=$ac_count
4608 # 10*(2^10) chars as input seems more than enough
4609 test $ac_count -gt 10 && break
4610 done
4611 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4612 esac
4614 $ac_path_GREP_found && break 3
4615 done
4616 done
4617 done
4618 IFS=$as_save_IFS
4619 if test -z "$ac_cv_path_GREP"; then
4620 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4622 else
4623 ac_cv_path_GREP=$GREP
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4628 $as_echo "$ac_cv_path_GREP" >&6; }
4629 GREP="$ac_cv_path_GREP"
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4633 $as_echo_n "checking for egrep... " >&6; }
4634 if ${ac_cv_path_EGREP+:} false; then :
4635 $as_echo_n "(cached) " >&6
4636 else
4637 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4638 then ac_cv_path_EGREP="$GREP -E"
4639 else
4640 if test -z "$EGREP"; then
4641 ac_path_EGREP_found=false
4642 # Loop through the user's path and test for each of PROGNAME-LIST
4643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4644 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4646 IFS=$as_save_IFS
4647 test -z "$as_dir" && as_dir=.
4648 for ac_prog in egrep; do
4649 for ac_exec_ext in '' $ac_executable_extensions; do
4650 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4651 as_fn_executable_p "$ac_path_EGREP" || continue
4652 # Check for GNU ac_path_EGREP and select it if it is found.
4653 # Check for GNU $ac_path_EGREP
4654 case `"$ac_path_EGREP" --version 2>&1` in
4655 *GNU*)
4656 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4658 ac_count=0
4659 $as_echo_n 0123456789 >"conftest.in"
4660 while :
4662 cat "conftest.in" "conftest.in" >"conftest.tmp"
4663 mv "conftest.tmp" "conftest.in"
4664 cp "conftest.in" "conftest.nl"
4665 $as_echo 'EGREP' >> "conftest.nl"
4666 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4667 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4668 as_fn_arith $ac_count + 1 && ac_count=$as_val
4669 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4670 # Best one so far, save it but keep looking for a better one
4671 ac_cv_path_EGREP="$ac_path_EGREP"
4672 ac_path_EGREP_max=$ac_count
4674 # 10*(2^10) chars as input seems more than enough
4675 test $ac_count -gt 10 && break
4676 done
4677 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4678 esac
4680 $ac_path_EGREP_found && break 3
4681 done
4682 done
4683 done
4684 IFS=$as_save_IFS
4685 if test -z "$ac_cv_path_EGREP"; then
4686 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4688 else
4689 ac_cv_path_EGREP=$EGREP
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4695 $as_echo "$ac_cv_path_EGREP" >&6; }
4696 EGREP="$ac_cv_path_EGREP"
4699 # Extract the first word of "ldconfig", so it can be a program name with args.
4700 set dummy ldconfig; ac_word=$2
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4702 $as_echo_n "checking for $ac_word... " >&6; }
4703 if ${ac_cv_path_LDCONFIG+:} false; then :
4704 $as_echo_n "(cached) " >&6
4705 else
4706 case $LDCONFIG in
4707 [\\/]* | ?:[\\/]*)
4708 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
4711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4712 for as_dir in /sbin /usr/sbin $PATH
4714 IFS=$as_save_IFS
4715 test -z "$as_dir" && as_dir=.
4716 for ac_exec_ext in '' $ac_executable_extensions; do
4717 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4718 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
4719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4720 break 2
4722 done
4723 done
4724 IFS=$as_save_IFS
4726 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
4728 esac
4730 LDCONFIG=$ac_cv_path_LDCONFIG
4731 if test -n "$LDCONFIG"; then
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
4733 $as_echo "$LDCONFIG" >&6; }
4734 else
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4736 $as_echo "no" >&6; }
4740 # Find a good install program. We prefer a C program (faster),
4741 # so one script is as good as another. But avoid the broken or
4742 # incompatible versions:
4743 # SysV /etc/install, /usr/sbin/install
4744 # SunOS /usr/etc/install
4745 # IRIX /sbin/install
4746 # AIX /bin/install
4747 # AmigaOS /C/install, which installs bootblocks on floppy discs
4748 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4749 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4750 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4751 # OS/2's system install, which has a completely different semantic
4752 # ./install, which can be erroneously created by make from ./install.sh.
4753 # Reject install programs that cannot install multiple files.
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4755 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4756 if test -z "$INSTALL"; then
4757 if ${ac_cv_path_install+:} false; then :
4758 $as_echo_n "(cached) " >&6
4759 else
4760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4761 for as_dir in $PATH
4763 IFS=$as_save_IFS
4764 test -z "$as_dir" && as_dir=.
4765 # Account for people who put trailing slashes in PATH elements.
4766 case $as_dir/ in #((
4767 ./ | .// | /[cC]/* | \
4768 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4769 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4770 /usr/ucb/* ) ;;
4772 # OSF1 and SCO ODT 3.0 have their own names for install.
4773 # Don't use installbsd from OSF since it installs stuff as root
4774 # by default.
4775 for ac_prog in ginstall scoinst install; do
4776 for ac_exec_ext in '' $ac_executable_extensions; do
4777 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4778 if test $ac_prog = install &&
4779 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4780 # AIX install. It has an incompatible calling convention.
4782 elif test $ac_prog = install &&
4783 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4784 # program-specific install script used by HP pwplus--don't use.
4786 else
4787 rm -rf conftest.one conftest.two conftest.dir
4788 echo one > conftest.one
4789 echo two > conftest.two
4790 mkdir conftest.dir
4791 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4792 test -s conftest.one && test -s conftest.two &&
4793 test -s conftest.dir/conftest.one &&
4794 test -s conftest.dir/conftest.two
4795 then
4796 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4797 break 3
4801 done
4802 done
4804 esac
4806 done
4807 IFS=$as_save_IFS
4809 rm -rf conftest.one conftest.two conftest.dir
4812 if test "${ac_cv_path_install+set}" = set; then
4813 INSTALL=$ac_cv_path_install
4814 else
4815 # As a last resort, use the slow shell script. Don't cache a
4816 # value for INSTALL within a source directory, because that will
4817 # break other packages using the cache if that directory is
4818 # removed, or if the value is a relative name.
4819 INSTALL=$ac_install_sh
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4823 $as_echo "$INSTALL" >&6; }
4825 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4826 # It thinks the first close brace ends the variable substitution.
4827 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4829 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4831 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4833 case "$INSTALL" in
4834 [\\/$]* | ?:[\\/]* ) ;;
4835 *) INSTALL="\\\$(top_srcdir)/$INSTALL" ;;
4836 esac
4838 for ac_prog in lclint lint
4840 # Extract the first word of "$ac_prog", so it can be a program name with args.
4841 set dummy $ac_prog; ac_word=$2
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4843 $as_echo_n "checking for $ac_word... " >&6; }
4844 if ${ac_cv_prog_LINT+:} false; then :
4845 $as_echo_n "(cached) " >&6
4846 else
4847 if test -n "$LINT"; then
4848 ac_cv_prog_LINT="$LINT" # Let the user override the test.
4849 else
4850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4851 for as_dir in $PATH
4853 IFS=$as_save_IFS
4854 test -z "$as_dir" && as_dir=.
4855 for ac_exec_ext in '' $ac_executable_extensions; do
4856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4857 ac_cv_prog_LINT="$ac_prog"
4858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4859 break 2
4861 done
4862 done
4863 IFS=$as_save_IFS
4867 LINT=$ac_cv_prog_LINT
4868 if test -n "$LINT"; then
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
4870 $as_echo "$LINT" >&6; }
4871 else
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4873 $as_echo "no" >&6; }
4877 test -n "$LINT" && break
4878 done
4880 if test "$LINT" = "lint"
4881 then
4882 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4886 for ac_prog in fontforge
4888 # Extract the first word of "$ac_prog", so it can be a program name with args.
4889 set dummy $ac_prog; ac_word=$2
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4891 $as_echo_n "checking for $ac_word... " >&6; }
4892 if ${ac_cv_prog_FONTFORGE+:} false; then :
4893 $as_echo_n "(cached) " >&6
4894 else
4895 if test -n "$FONTFORGE"; then
4896 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
4897 else
4898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4899 for as_dir in $PATH
4901 IFS=$as_save_IFS
4902 test -z "$as_dir" && as_dir=.
4903 for ac_exec_ext in '' $ac_executable_extensions; do
4904 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4905 ac_cv_prog_FONTFORGE="$ac_prog"
4906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4907 break 2
4909 done
4910 done
4911 IFS=$as_save_IFS
4915 FONTFORGE=$ac_cv_prog_FONTFORGE
4916 if test -n "$FONTFORGE"; then
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
4918 $as_echo "$FONTFORGE" >&6; }
4919 else
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4921 $as_echo "no" >&6; }
4925 test -n "$FONTFORGE" && break
4926 done
4927 test -n "$FONTFORGE" || FONTFORGE="false"
4929 for ac_prog in pkg-config
4931 # Extract the first word of "$ac_prog", so it can be a program name with args.
4932 set dummy $ac_prog; ac_word=$2
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4934 $as_echo_n "checking for $ac_word... " >&6; }
4935 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
4936 $as_echo_n "(cached) " >&6
4937 else
4938 if test -n "$PKG_CONFIG"; then
4939 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
4940 else
4941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4942 for as_dir in $PATH
4944 IFS=$as_save_IFS
4945 test -z "$as_dir" && as_dir=.
4946 for ac_exec_ext in '' $ac_executable_extensions; do
4947 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4948 ac_cv_prog_PKG_CONFIG="$ac_prog"
4949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4950 break 2
4952 done
4953 done
4954 IFS=$as_save_IFS
4958 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
4959 if test -n "$PKG_CONFIG"; then
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4961 $as_echo "$PKG_CONFIG" >&6; }
4962 else
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4964 $as_echo "no" >&6; }
4968 test -n "$PKG_CONFIG" && break
4969 done
4970 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
4972 for ac_prog in rsvg
4974 # Extract the first word of "$ac_prog", so it can be a program name with args.
4975 set dummy $ac_prog; ac_word=$2
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4977 $as_echo_n "checking for $ac_word... " >&6; }
4978 if ${ac_cv_prog_RSVG+:} false; then :
4979 $as_echo_n "(cached) " >&6
4980 else
4981 if test -n "$RSVG"; then
4982 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
4983 else
4984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4985 for as_dir in $PATH
4987 IFS=$as_save_IFS
4988 test -z "$as_dir" && as_dir=.
4989 for ac_exec_ext in '' $ac_executable_extensions; do
4990 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4991 ac_cv_prog_RSVG="$ac_prog"
4992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4993 break 2
4995 done
4996 done
4997 IFS=$as_save_IFS
5001 RSVG=$ac_cv_prog_RSVG
5002 if test -n "$RSVG"; then
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5004 $as_echo "$RSVG" >&6; }
5005 else
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5007 $as_echo "no" >&6; }
5011 test -n "$RSVG" && break
5012 done
5013 test -n "$RSVG" || RSVG="false"
5015 for ac_prog in convert
5017 # Extract the first word of "$ac_prog", so it can be a program name with args.
5018 set dummy $ac_prog; ac_word=$2
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5020 $as_echo_n "checking for $ac_word... " >&6; }
5021 if ${ac_cv_prog_CONVERT+:} false; then :
5022 $as_echo_n "(cached) " >&6
5023 else
5024 if test -n "$CONVERT"; then
5025 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5026 else
5027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5028 for as_dir in $PATH
5030 IFS=$as_save_IFS
5031 test -z "$as_dir" && as_dir=.
5032 for ac_exec_ext in '' $ac_executable_extensions; do
5033 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5034 ac_cv_prog_CONVERT="$ac_prog"
5035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5036 break 2
5038 done
5039 done
5040 IFS=$as_save_IFS
5044 CONVERT=$ac_cv_prog_CONVERT
5045 if test -n "$CONVERT"; then
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5047 $as_echo "$CONVERT" >&6; }
5048 else
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5050 $as_echo "no" >&6; }
5054 test -n "$CONVERT" && break
5055 done
5056 test -n "$CONVERT" || CONVERT="false"
5058 for ac_prog in icotool
5060 # Extract the first word of "$ac_prog", so it can be a program name with args.
5061 set dummy $ac_prog; ac_word=$2
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5063 $as_echo_n "checking for $ac_word... " >&6; }
5064 if ${ac_cv_prog_ICOTOOL+:} false; then :
5065 $as_echo_n "(cached) " >&6
5066 else
5067 if test -n "$ICOTOOL"; then
5068 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5069 else
5070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5071 for as_dir in $PATH
5073 IFS=$as_save_IFS
5074 test -z "$as_dir" && as_dir=.
5075 for ac_exec_ext in '' $ac_executable_extensions; do
5076 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5077 ac_cv_prog_ICOTOOL="$ac_prog"
5078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5079 break 2
5081 done
5082 done
5083 IFS=$as_save_IFS
5087 ICOTOOL=$ac_cv_prog_ICOTOOL
5088 if test -n "$ICOTOOL"; then
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5090 $as_echo "$ICOTOOL" >&6; }
5091 else
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5093 $as_echo "no" >&6; }
5097 test -n "$ICOTOOL" && break
5098 done
5099 test -n "$ICOTOOL" || ICOTOOL="false"
5101 for ac_prog in msgfmt
5103 # Extract the first word of "$ac_prog", so it can be a program name with args.
5104 set dummy $ac_prog; ac_word=$2
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5106 $as_echo_n "checking for $ac_word... " >&6; }
5107 if ${ac_cv_prog_MSGFMT+:} false; then :
5108 $as_echo_n "(cached) " >&6
5109 else
5110 if test -n "$MSGFMT"; then
5111 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5112 else
5113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5114 for as_dir in $PATH
5116 IFS=$as_save_IFS
5117 test -z "$as_dir" && as_dir=.
5118 for ac_exec_ext in '' $ac_executable_extensions; do
5119 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5120 ac_cv_prog_MSGFMT="$ac_prog"
5121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5122 break 2
5124 done
5125 done
5126 IFS=$as_save_IFS
5130 MSGFMT=$ac_cv_prog_MSGFMT
5131 if test -n "$MSGFMT"; then
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5133 $as_echo "$MSGFMT" >&6; }
5134 else
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5136 $as_echo "no" >&6; }
5140 test -n "$MSGFMT" && break
5141 done
5142 test -n "$MSGFMT" || MSGFMT="false"
5145 if test "x$enable_maintainer_mode" != "xyes"
5146 then
5147 MAINTAINER_MODE=\#
5149 else
5150 if test "$FONTFORGE" = "false"; then as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5151 if test "$RSVG" = "false"; then as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5153 if test "$CONVERT" = false
5154 then
5155 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5156 else
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5158 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5159 convert_version=`convert --version | head -n1`
5160 if test "x$convert_version" != "x"
5161 then
5162 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5163 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5164 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5165 then
5166 CONVERT=false
5169 if test "$CONVERT" = false
5170 then
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5172 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5173 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5174 else
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5176 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5180 if test "$ICOTOOL" = false
5181 then
5182 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5183 else
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5185 $as_echo_n "checking for recent enough icotool... " >&6; }
5186 icotool_version=`icotool --version | head -n1`
5187 if test "x$icotool_version" != "x"
5188 then
5189 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5190 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5191 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5192 then
5193 ICOTOOL=false
5194 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5197 if test "$ICOTOOL" = false
5198 then
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5200 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5201 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5202 else
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5204 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5208 with_gettext=yes
5209 with_gettextpo=yes
5210 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5213 test "x$with_gettext" != xno || MSGFMT=false
5214 if test "$MSGFMT" != "false"
5215 then
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5217 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5218 cat >conftest.po <<EOF
5219 # comment
5220 msgctxt "ctxt"
5221 msgid "id"
5222 msgstr "str"
5224 if $MSGFMT -o /dev/null conftest.po 2>&5
5225 then
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5227 $as_echo "yes" >&6; }
5228 else
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5230 $as_echo "no" >&6; }
5231 MSGFMT=false
5234 if test "$MSGFMT" = false; then :
5235 case "x$with_gettext" in
5236 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5237 xno) ;;
5238 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5239 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5240 esac
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5245 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5246 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5247 $as_echo_n "(cached) " >&6
5248 else
5249 ac_check_lib_save_LIBS=$LIBS
5250 LIBS="-li386 $LIBS"
5251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5252 /* end confdefs.h. */
5254 /* Override any GCC internal prototype to avoid an error.
5255 Use char because int might match the return type of a GCC
5256 builtin and then its argument prototype would still apply. */
5257 #ifdef __cplusplus
5258 extern "C"
5259 #endif
5260 char i386_set_ldt ();
5262 main ()
5264 return i386_set_ldt ();
5266 return 0;
5268 _ACEOF
5269 if ac_fn_c_try_link "$LINENO"; then :
5270 ac_cv_lib_i386_i386_set_ldt=yes
5271 else
5272 ac_cv_lib_i386_i386_set_ldt=no
5274 rm -f core conftest.err conftest.$ac_objext \
5275 conftest$ac_exeext conftest.$ac_ext
5276 LIBS=$ac_check_lib_save_LIBS
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5279 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5280 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5281 cat >>confdefs.h <<_ACEOF
5282 #define HAVE_LIBI386 1
5283 _ACEOF
5285 LIBS="-li386 $LIBS"
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5290 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5291 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5292 $as_echo_n "(cached) " >&6
5293 else
5294 ac_check_lib_save_LIBS=$LIBS
5295 LIBS="-lossaudio $LIBS"
5296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5297 /* end confdefs.h. */
5299 /* Override any GCC internal prototype to avoid an error.
5300 Use char because int might match the return type of a GCC
5301 builtin and then its argument prototype would still apply. */
5302 #ifdef __cplusplus
5303 extern "C"
5304 #endif
5305 char _oss_ioctl ();
5307 main ()
5309 return _oss_ioctl ();
5311 return 0;
5313 _ACEOF
5314 if ac_fn_c_try_link "$LINENO"; then :
5315 ac_cv_lib_ossaudio__oss_ioctl=yes
5316 else
5317 ac_cv_lib_ossaudio__oss_ioctl=no
5319 rm -f core conftest.err conftest.$ac_objext \
5320 conftest$ac_exeext conftest.$ac_ext
5321 LIBS=$ac_check_lib_save_LIBS
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5324 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5325 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5326 cat >>confdefs.h <<_ACEOF
5327 #define HAVE_LIBOSSAUDIO 1
5328 _ACEOF
5330 LIBS="-lossaudio $LIBS"
5335 XLIB=""
5337 OPENGL_LIBS=""
5341 test "x$with_fontconfig" != "xno" || ac_cv_header_fontconfig_fontconfig_h=no
5343 # Check whether --enable-largefile was given.
5344 if test "${enable_largefile+set}" = set; then :
5345 enableval=$enable_largefile;
5348 if test "$enable_largefile" != no; then
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5351 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5352 if ${ac_cv_sys_largefile_CC+:} false; then :
5353 $as_echo_n "(cached) " >&6
5354 else
5355 ac_cv_sys_largefile_CC=no
5356 if test "$GCC" != yes; then
5357 ac_save_CC=$CC
5358 while :; do
5359 # IRIX 6.2 and later do not support large files by default,
5360 # so use the C compiler's -n32 option if that helps.
5361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5362 /* end confdefs.h. */
5363 #include <sys/types.h>
5364 /* Check that off_t can represent 2**63 - 1 correctly.
5365 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5366 since some C++ compilers masquerading as C compilers
5367 incorrectly reject 9223372036854775807. */
5368 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5369 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5370 && LARGE_OFF_T % 2147483647 == 1)
5371 ? 1 : -1];
5373 main ()
5377 return 0;
5379 _ACEOF
5380 if ac_fn_c_try_compile "$LINENO"; then :
5381 break
5383 rm -f core conftest.err conftest.$ac_objext
5384 CC="$CC -n32"
5385 if ac_fn_c_try_compile "$LINENO"; then :
5386 ac_cv_sys_largefile_CC=' -n32'; break
5388 rm -f core conftest.err conftest.$ac_objext
5389 break
5390 done
5391 CC=$ac_save_CC
5392 rm -f conftest.$ac_ext
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5396 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5397 if test "$ac_cv_sys_largefile_CC" != no; then
5398 CC=$CC$ac_cv_sys_largefile_CC
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5402 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5403 if ${ac_cv_sys_file_offset_bits+:} false; then :
5404 $as_echo_n "(cached) " >&6
5405 else
5406 while :; do
5407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5408 /* end confdefs.h. */
5409 #include <sys/types.h>
5410 /* Check that off_t can represent 2**63 - 1 correctly.
5411 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5412 since some C++ compilers masquerading as C compilers
5413 incorrectly reject 9223372036854775807. */
5414 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5415 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5416 && LARGE_OFF_T % 2147483647 == 1)
5417 ? 1 : -1];
5419 main ()
5423 return 0;
5425 _ACEOF
5426 if ac_fn_c_try_compile "$LINENO"; then :
5427 ac_cv_sys_file_offset_bits=no; break
5429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5431 /* end confdefs.h. */
5432 #define _FILE_OFFSET_BITS 64
5433 #include <sys/types.h>
5434 /* Check that off_t can represent 2**63 - 1 correctly.
5435 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5436 since some C++ compilers masquerading as C compilers
5437 incorrectly reject 9223372036854775807. */
5438 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5439 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5440 && LARGE_OFF_T % 2147483647 == 1)
5441 ? 1 : -1];
5443 main ()
5447 return 0;
5449 _ACEOF
5450 if ac_fn_c_try_compile "$LINENO"; then :
5451 ac_cv_sys_file_offset_bits=64; break
5453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5454 ac_cv_sys_file_offset_bits=unknown
5455 break
5456 done
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5459 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5460 case $ac_cv_sys_file_offset_bits in #(
5461 no | unknown) ;;
5463 cat >>confdefs.h <<_ACEOF
5464 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5465 _ACEOF
5467 esac
5468 rm -rf conftest*
5469 if test $ac_cv_sys_file_offset_bits = unknown; then
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5471 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5472 if ${ac_cv_sys_large_files+:} false; then :
5473 $as_echo_n "(cached) " >&6
5474 else
5475 while :; do
5476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5477 /* end confdefs.h. */
5478 #include <sys/types.h>
5479 /* Check that off_t can represent 2**63 - 1 correctly.
5480 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5481 since some C++ compilers masquerading as C compilers
5482 incorrectly reject 9223372036854775807. */
5483 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5484 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5485 && LARGE_OFF_T % 2147483647 == 1)
5486 ? 1 : -1];
5488 main ()
5492 return 0;
5494 _ACEOF
5495 if ac_fn_c_try_compile "$LINENO"; then :
5496 ac_cv_sys_large_files=no; break
5498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5500 /* end confdefs.h. */
5501 #define _LARGE_FILES 1
5502 #include <sys/types.h>
5503 /* Check that off_t can represent 2**63 - 1 correctly.
5504 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5505 since some C++ compilers masquerading as C compilers
5506 incorrectly reject 9223372036854775807. */
5507 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5508 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5509 && LARGE_OFF_T % 2147483647 == 1)
5510 ? 1 : -1];
5512 main ()
5516 return 0;
5518 _ACEOF
5519 if ac_fn_c_try_compile "$LINENO"; then :
5520 ac_cv_sys_large_files=1; break
5522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5523 ac_cv_sys_large_files=unknown
5524 break
5525 done
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5528 $as_echo "$ac_cv_sys_large_files" >&6; }
5529 case $ac_cv_sys_large_files in #(
5530 no | unknown) ;;
5532 cat >>confdefs.h <<_ACEOF
5533 #define _LARGE_FILES $ac_cv_sys_large_files
5534 _ACEOF
5536 esac
5537 rm -rf conftest*
5544 ac_ext=c
5545 ac_cpp='$CPP $CPPFLAGS'
5546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5550 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5551 # On Suns, sometimes $CPP names a directory.
5552 if test -n "$CPP" && test -d "$CPP"; then
5553 CPP=
5555 if test -z "$CPP"; then
5556 if ${ac_cv_prog_CPP+:} false; then :
5557 $as_echo_n "(cached) " >&6
5558 else
5559 # Double quotes because CPP needs to be expanded
5560 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5562 ac_preproc_ok=false
5563 for ac_c_preproc_warn_flag in '' yes
5565 # Use a header file that comes with gcc, so configuring glibc
5566 # with a fresh cross-compiler works.
5567 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5568 # <limits.h> exists even on freestanding compilers.
5569 # On the NeXT, cc -E runs the code through the compiler's parser,
5570 # not just through cpp. "Syntax error" is here to catch this case.
5571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5572 /* end confdefs.h. */
5573 #ifdef __STDC__
5574 # include <limits.h>
5575 #else
5576 # include <assert.h>
5577 #endif
5578 Syntax error
5579 _ACEOF
5580 if ac_fn_c_try_cpp "$LINENO"; then :
5582 else
5583 # Broken: fails on valid input.
5584 continue
5586 rm -f conftest.err conftest.i conftest.$ac_ext
5588 # OK, works on sane cases. Now check whether nonexistent headers
5589 # can be detected and how.
5590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5591 /* end confdefs.h. */
5592 #include <ac_nonexistent.h>
5593 _ACEOF
5594 if ac_fn_c_try_cpp "$LINENO"; then :
5595 # Broken: success on invalid input.
5596 continue
5597 else
5598 # Passes both tests.
5599 ac_preproc_ok=:
5600 break
5602 rm -f conftest.err conftest.i conftest.$ac_ext
5604 done
5605 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5606 rm -f conftest.i conftest.err conftest.$ac_ext
5607 if $ac_preproc_ok; then :
5608 break
5611 done
5612 ac_cv_prog_CPP=$CPP
5615 CPP=$ac_cv_prog_CPP
5616 else
5617 ac_cv_prog_CPP=$CPP
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5620 $as_echo "$CPP" >&6; }
5621 ac_preproc_ok=false
5622 for ac_c_preproc_warn_flag in '' yes
5624 # Use a header file that comes with gcc, so configuring glibc
5625 # with a fresh cross-compiler works.
5626 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5627 # <limits.h> exists even on freestanding compilers.
5628 # On the NeXT, cc -E runs the code through the compiler's parser,
5629 # not just through cpp. "Syntax error" is here to catch this case.
5630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5631 /* end confdefs.h. */
5632 #ifdef __STDC__
5633 # include <limits.h>
5634 #else
5635 # include <assert.h>
5636 #endif
5637 Syntax error
5638 _ACEOF
5639 if ac_fn_c_try_cpp "$LINENO"; then :
5641 else
5642 # Broken: fails on valid input.
5643 continue
5645 rm -f conftest.err conftest.i conftest.$ac_ext
5647 # OK, works on sane cases. Now check whether nonexistent headers
5648 # can be detected and how.
5649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5650 /* end confdefs.h. */
5651 #include <ac_nonexistent.h>
5652 _ACEOF
5653 if ac_fn_c_try_cpp "$LINENO"; then :
5654 # Broken: success on invalid input.
5655 continue
5656 else
5657 # Passes both tests.
5658 ac_preproc_ok=:
5659 break
5661 rm -f conftest.err conftest.i conftest.$ac_ext
5663 done
5664 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5665 rm -f conftest.i conftest.err conftest.$ac_ext
5666 if $ac_preproc_ok; then :
5668 else
5669 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5670 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5671 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5672 See \`config.log' for more details" "$LINENO" 5; }
5675 ac_ext=c
5676 ac_cpp='$CPP $CPPFLAGS'
5677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5683 $as_echo_n "checking for ANSI C header files... " >&6; }
5684 if ${ac_cv_header_stdc+:} false; then :
5685 $as_echo_n "(cached) " >&6
5686 else
5687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5688 /* end confdefs.h. */
5689 #include <stdlib.h>
5690 #include <stdarg.h>
5691 #include <string.h>
5692 #include <float.h>
5695 main ()
5699 return 0;
5701 _ACEOF
5702 if ac_fn_c_try_compile "$LINENO"; then :
5703 ac_cv_header_stdc=yes
5704 else
5705 ac_cv_header_stdc=no
5707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5709 if test $ac_cv_header_stdc = yes; then
5710 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5712 /* end confdefs.h. */
5713 #include <string.h>
5715 _ACEOF
5716 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5717 $EGREP "memchr" >/dev/null 2>&1; then :
5719 else
5720 ac_cv_header_stdc=no
5722 rm -f conftest*
5726 if test $ac_cv_header_stdc = yes; then
5727 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5729 /* end confdefs.h. */
5730 #include <stdlib.h>
5732 _ACEOF
5733 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5734 $EGREP "free" >/dev/null 2>&1; then :
5736 else
5737 ac_cv_header_stdc=no
5739 rm -f conftest*
5743 if test $ac_cv_header_stdc = yes; then
5744 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5745 if test "$cross_compiling" = yes; then :
5747 else
5748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5749 /* end confdefs.h. */
5750 #include <ctype.h>
5751 #include <stdlib.h>
5752 #if ((' ' & 0x0FF) == 0x020)
5753 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5754 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5755 #else
5756 # define ISLOWER(c) \
5757 (('a' <= (c) && (c) <= 'i') \
5758 || ('j' <= (c) && (c) <= 'r') \
5759 || ('s' <= (c) && (c) <= 'z'))
5760 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5761 #endif
5763 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5765 main ()
5767 int i;
5768 for (i = 0; i < 256; i++)
5769 if (XOR (islower (i), ISLOWER (i))
5770 || toupper (i) != TOUPPER (i))
5771 return 2;
5772 return 0;
5774 _ACEOF
5775 if ac_fn_c_try_run "$LINENO"; then :
5777 else
5778 ac_cv_header_stdc=no
5780 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5781 conftest.$ac_objext conftest.beam conftest.$ac_ext
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5787 $as_echo "$ac_cv_header_stdc" >&6; }
5788 if test $ac_cv_header_stdc = yes; then
5790 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5794 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5795 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5796 inttypes.h stdint.h unistd.h
5797 do :
5798 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5799 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5801 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5802 cat >>confdefs.h <<_ACEOF
5803 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5804 _ACEOF
5808 done
5811 for ac_header in \
5812 AL/al.h \
5813 ApplicationServices/ApplicationServices.h \
5814 AudioToolbox/AudioConverter.h \
5815 AudioUnit/AudioUnit.h \
5816 AudioUnit/AudioComponent.h \
5817 CL/cl.h \
5818 Carbon/Carbon.h \
5819 CoreAudio/CoreAudio.h \
5820 CoreServices/CoreServices.h \
5821 DiskArbitration/DiskArbitration.h \
5822 IOKit/IOKitLib.h \
5823 IOKit/hid/IOHIDLib.h \
5824 OpenAL/al.h \
5825 OpenCL/opencl.h \
5826 QuickTime/ImageCompression.h \
5827 Security/Security.h \
5828 alias.h \
5829 alsa/asoundlib.h \
5830 arpa/inet.h \
5831 arpa/nameser.h \
5832 asm/types.h \
5833 capi20.h \
5834 curses.h \
5835 direct.h \
5836 dirent.h \
5837 dlfcn.h \
5838 elf.h \
5839 float.h \
5840 fnmatch.h \
5841 fontconfig/fontconfig.h \
5842 getopt.h \
5843 gettext-po.h \
5844 grp.h \
5845 gsm.h \
5846 gsm/gsm.h \
5847 ieeefp.h \
5848 inet/mib2.h \
5849 io.h \
5850 jpeglib.h \
5851 kstat.h \
5852 lber.h \
5853 lcms.h \
5854 lcms/lcms.h \
5855 ldap.h \
5856 link.h \
5857 linux/cdrom.h \
5858 linux/compiler.h \
5859 linux/filter.h \
5860 linux/hdreg.h \
5861 linux/input.h \
5862 linux/ioctl.h \
5863 linux/joystick.h \
5864 linux/major.h \
5865 linux/param.h \
5866 linux/serial.h \
5867 linux/types.h \
5868 linux/ucdrom.h \
5869 lwp.h \
5870 mach-o/nlist.h \
5871 mach-o/loader.h \
5872 mach/mach.h \
5873 mach/machine.h \
5874 machine/cpu.h \
5875 machine/limits.h \
5876 machine/sysarch.h \
5877 mntent.h \
5878 mpg123.h \
5879 ncurses.h \
5880 netdb.h \
5881 netinet/in.h \
5882 netinet/in_systm.h \
5883 netinet/tcp.h \
5884 netinet/tcp_fsm.h \
5885 openssl/err.h \
5886 openssl/ssl.h \
5887 png.h \
5888 poll.h \
5889 port.h \
5890 process.h \
5891 pthread.h \
5892 pwd.h \
5893 sched.h \
5894 scsi/scsi.h \
5895 scsi/scsi_ioctl.h \
5896 scsi/sg.h \
5897 stdbool.h \
5898 stdint.h \
5899 strings.h \
5900 stropts.h \
5901 sys/asoundlib.h \
5902 sys/attr.h \
5903 sys/cdio.h \
5904 sys/elf32.h \
5905 sys/epoll.h \
5906 sys/event.h \
5907 sys/exec_elf.h \
5908 sys/filio.h \
5909 sys/inotify.h \
5910 sys/ioctl.h \
5911 sys/ipc.h \
5912 sys/limits.h \
5913 sys/link.h \
5914 sys/mman.h \
5915 sys/modem.h \
5916 sys/msg.h \
5917 sys/mtio.h \
5918 sys/param.h \
5919 sys/poll.h \
5920 sys/prctl.h \
5921 sys/protosw.h \
5922 sys/ptrace.h \
5923 sys/resource.h \
5924 sys/scsiio.h \
5925 sys/shm.h \
5926 sys/signal.h \
5927 sys/socket.h \
5928 sys/socketvar.h \
5929 sys/sockio.h \
5930 sys/statvfs.h \
5931 sys/strtio.h \
5932 sys/syscall.h \
5933 sys/tihdr.h \
5934 sys/time.h \
5935 sys/timeout.h \
5936 sys/times.h \
5937 sys/uio.h \
5938 sys/utsname.h \
5939 sys/vm86.h \
5940 sys/wait.h \
5941 syscall.h \
5942 termios.h \
5943 tiffio.h \
5944 unistd.h \
5945 utime.h \
5946 valgrind/memcheck.h \
5947 valgrind/valgrind.h \
5948 zlib.h
5950 do :
5951 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5952 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5953 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5954 cat >>confdefs.h <<_ACEOF
5955 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5956 _ACEOF
5960 done
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5963 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5964 if ${ac_cv_header_stat_broken+:} false; then :
5965 $as_echo_n "(cached) " >&6
5966 else
5967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5968 /* end confdefs.h. */
5969 #include <sys/types.h>
5970 #include <sys/stat.h>
5972 #if defined S_ISBLK && defined S_IFDIR
5973 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5974 #endif
5976 #if defined S_ISBLK && defined S_IFCHR
5977 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5978 #endif
5980 #if defined S_ISLNK && defined S_IFREG
5981 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5982 #endif
5984 #if defined S_ISSOCK && defined S_IFREG
5985 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5986 #endif
5988 _ACEOF
5989 if ac_fn_c_try_compile "$LINENO"; then :
5990 ac_cv_header_stat_broken=no
5991 else
5992 ac_cv_header_stat_broken=yes
5994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
5997 $as_echo "$ac_cv_header_stat_broken" >&6; }
5998 if test $ac_cv_header_stat_broken = yes; then
6000 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6006 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6007 do :
6008 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6009 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6010 #ifdef HAVE_SYS_PARAM_H
6011 # include <sys/param.h>
6012 #endif
6014 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6015 cat >>confdefs.h <<_ACEOF
6016 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6017 _ACEOF
6021 done
6024 for ac_header in \
6025 netinet/ip.h \
6026 net/if.h \
6027 net/if_arp.h \
6028 net/if_dl.h \
6029 net/if_types.h \
6030 net/route.h \
6031 netinet/if_ether.h \
6032 netinet/if_inarp.h \
6033 netinet/in_pcb.h \
6034 netinet/ip_icmp.h \
6035 netinet/ip_var.h \
6036 netinet/udp.h \
6037 netipx/ipx.h \
6038 sys/un.h \
6040 do :
6041 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6042 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6043 #ifdef HAVE_SYS_SOCKET_H
6044 # include <sys/socket.h>
6045 #endif
6046 #ifdef HAVE_SYS_SOCKETVAR_H
6047 # include <sys/socketvar.h>
6048 #endif
6049 #ifdef HAVE_NET_ROUTE_H
6050 # include <net/route.h>
6051 #endif
6052 #ifdef HAVE_NETINET_IN_H
6053 # include <netinet/in.h>
6054 #endif
6055 #ifdef HAVE_NETINET_IN_SYSTM_H
6056 # include <netinet/in_systm.h>
6057 #endif
6058 #ifdef HAVE_NET_IF_H
6059 # include <net/if.h>
6060 #endif
6061 #ifdef HAVE_NETINET_IP_H
6062 # include <netinet/ip.h>
6063 #endif
6065 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6066 cat >>confdefs.h <<_ACEOF
6067 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6068 _ACEOF
6072 done
6075 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6076 do :
6077 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6078 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6079 #ifdef HAVE_ALIAS_H
6080 # include <alias.h>
6081 #endif
6082 #ifdef HAVE_SYS_SOCKET_H
6083 # include <sys/socket.h>
6084 #endif
6085 #ifdef HAVE_SYS_SOCKETVAR_H
6086 # include <sys/socketvar.h>
6087 #endif
6088 #ifdef HAVE_SYS_TIMEOUT_H
6089 # include <sys/timeout.h>
6090 #endif
6091 #ifdef HAVE_NETINET_IN_H
6092 # include <netinet/in.h>
6093 #endif
6094 #ifdef HAVE_NETINET_IN_SYSTM_H
6095 # include <netinet/in_systm.h>
6096 #endif
6097 #ifdef HAVE_NETINET_IP_H
6098 # include <netinet/ip.h>
6099 #endif
6100 #ifdef HAVE_NETINET_IP_VAR_H
6101 # include <netinet/ip_var.h>
6102 #endif
6103 #ifdef HAVE_NETINET_IP_ICMP_H
6104 # include <netinet/ip_icmp.h>
6105 #endif
6106 #ifdef HAVE_NETINET_UDP_H
6107 # include <netinet/udp.h>
6108 #endif
6109 #ifdef HAVE_NETINET_TCP_H
6110 # include <netinet/tcp.h>
6111 #endif
6112 #ifdef HAVE_NETINET_TCP_TIMER_H
6113 #include <netinet/tcp_timer.h>
6114 #endif
6116 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6117 cat >>confdefs.h <<_ACEOF
6118 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6119 _ACEOF
6123 done
6126 for ac_header in linux/ipx.h linux/irda.h
6127 do :
6128 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6129 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6130 #ifdef HAVE_ASM_TYPES_H
6131 # include <asm/types.h>
6132 #endif
6133 #ifdef HAVE_SYS_SOCKET_H
6134 # include <sys/socket.h>
6135 #endif
6136 #ifdef HAVE_LINUX_TYPES_H
6137 # include <linux/types.h>
6138 #endif
6140 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6141 cat >>confdefs.h <<_ACEOF
6142 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6143 _ACEOF
6147 done
6150 for ac_header in mach-o/dyld_images.h
6151 do :
6152 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6153 # include <stdbool.h>
6154 #endif
6155 #ifdef HAVE_STDINT_H
6156 # include <stdint.h>
6157 #endif
6159 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6160 cat >>confdefs.h <<_ACEOF
6161 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6162 _ACEOF
6166 done
6169 for ac_header in resolv.h
6170 do :
6171 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6172 #ifdef HAVE_SYS_SOCKET_H
6173 # include <sys/socket.h>
6174 #endif
6175 #ifdef HAVE_NETINET_IN_H
6176 # include <netinet/in.h>
6177 #endif
6178 #ifdef HAVE_ARPA_NAMESER_H
6179 # include <arpa/nameser.h>
6180 #endif
6182 if test "x$ac_cv_header_resolv_h" = xyes; then :
6183 cat >>confdefs.h <<_ACEOF
6184 #define HAVE_RESOLV_H 1
6185 _ACEOF
6189 done
6192 for ac_header in ifaddrs.h
6193 do :
6194 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6196 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6197 cat >>confdefs.h <<_ACEOF
6198 #define HAVE_IFADDRS_H 1
6199 _ACEOF
6203 done
6206 for ac_header in ucontext.h
6207 do :
6208 ac_fn_c_check_header_compile "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6210 if test "x$ac_cv_header_ucontext_h" = xyes; then :
6211 cat >>confdefs.h <<_ACEOF
6212 #define HAVE_UCONTEXT_H 1
6213 _ACEOF
6217 done
6220 for ac_header in sys/thr.h
6221 do :
6222 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6223 #ifdef HAVE_UCONTEXT_H
6224 #include <ucontext.h>
6225 #endif
6227 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6228 cat >>confdefs.h <<_ACEOF
6229 #define HAVE_SYS_THR_H 1
6230 _ACEOF
6234 done
6237 for ac_header in pthread_np.h
6238 do :
6239 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6240 #include <pthread.h>
6241 #endif
6243 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6244 cat >>confdefs.h <<_ACEOF
6245 #define HAVE_PTHREAD_NP_H 1
6246 _ACEOF
6250 done
6253 for ac_header in linux/videodev.h linux/videodev2.h
6254 do :
6255 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6256 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6257 #include <sys/time.h>
6258 #endif
6259 #include <sys/types.h>
6260 #ifdef HAVE_ASM_TYPES_H
6261 #include <asm/types.h>
6262 #endif
6264 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6265 cat >>confdefs.h <<_ACEOF
6266 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6267 _ACEOF
6271 done
6274 for ac_header in linux/capi.h
6275 do :
6276 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
6278 if test "x$ac_cv_header_linux_capi_h" = xyes; then :
6279 cat >>confdefs.h <<_ACEOF
6280 #define HAVE_LINUX_CAPI_H 1
6281 _ACEOF
6285 done
6289 DLLEXT=""
6291 DLLFLAGS="-D_REENTRANT"
6293 LDSHARED=""
6295 LDDLLFLAGS=""
6297 LIBEXT="so"
6299 IMPLIBEXT="def"
6301 LDRPATH_INSTALL=""
6303 LDRPATH_LOCAL=""
6305 STATIC_IMPLIBEXT="def.a"
6306 # Extract the first word of "ldd", so it can be a program name with args.
6307 set dummy ldd; 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 ${ac_cv_path_LDD+:} false; then :
6311 $as_echo_n "(cached) " >&6
6312 else
6313 case $LDD in
6314 [\\/]* | ?:[\\/]*)
6315 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6319 as_dummy="/sbin:/usr/sbin:$PATH"
6320 for as_dir in $as_dummy
6322 IFS=$as_save_IFS
6323 test -z "$as_dir" && as_dir=.
6324 for ac_exec_ext in '' $ac_executable_extensions; do
6325 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6326 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6328 break 2
6330 done
6331 done
6332 IFS=$as_save_IFS
6334 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6336 esac
6338 LDD=$ac_cv_path_LDD
6339 if test -n "$LDD"; then
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6341 $as_echo "$LDD" >&6; }
6342 else
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6344 $as_echo "no" >&6; }
6349 case $host_os in
6350 cygwin*|mingw32*)
6351 if test -n "$ac_tool_prefix"; then
6352 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6353 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6355 $as_echo_n "checking for $ac_word... " >&6; }
6356 if ${ac_cv_prog_DLLTOOL+:} false; then :
6357 $as_echo_n "(cached) " >&6
6358 else
6359 if test -n "$DLLTOOL"; then
6360 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6361 else
6362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6363 for as_dir in $PATH
6365 IFS=$as_save_IFS
6366 test -z "$as_dir" && as_dir=.
6367 for ac_exec_ext in '' $ac_executable_extensions; do
6368 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6369 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6371 break 2
6373 done
6374 done
6375 IFS=$as_save_IFS
6379 DLLTOOL=$ac_cv_prog_DLLTOOL
6380 if test -n "$DLLTOOL"; then
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6382 $as_echo "$DLLTOOL" >&6; }
6383 else
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6385 $as_echo "no" >&6; }
6390 if test -z "$ac_cv_prog_DLLTOOL"; then
6391 ac_ct_DLLTOOL=$DLLTOOL
6392 # Extract the first word of "dlltool", so it can be a program name with args.
6393 set dummy dlltool; ac_word=$2
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6395 $as_echo_n "checking for $ac_word... " >&6; }
6396 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6397 $as_echo_n "(cached) " >&6
6398 else
6399 if test -n "$ac_ct_DLLTOOL"; then
6400 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6401 else
6402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6403 for as_dir in $PATH
6405 IFS=$as_save_IFS
6406 test -z "$as_dir" && as_dir=.
6407 for ac_exec_ext in '' $ac_executable_extensions; do
6408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6409 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6411 break 2
6413 done
6414 done
6415 IFS=$as_save_IFS
6419 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6420 if test -n "$ac_ct_DLLTOOL"; then
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6422 $as_echo "$ac_ct_DLLTOOL" >&6; }
6423 else
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6425 $as_echo "no" >&6; }
6428 if test "x$ac_ct_DLLTOOL" = x; then
6429 DLLTOOL="false"
6430 else
6431 case $cross_compiling:$ac_tool_warned in
6432 yes:)
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6434 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6435 ac_tool_warned=yes ;;
6436 esac
6437 DLLTOOL=$ac_ct_DLLTOOL
6439 else
6440 DLLTOOL="$ac_cv_prog_DLLTOOL"
6443 if test -n "$ac_tool_prefix"; then
6444 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
6445 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6447 $as_echo_n "checking for $ac_word... " >&6; }
6448 if ${ac_cv_prog_DLLWRAP+:} false; then :
6449 $as_echo_n "(cached) " >&6
6450 else
6451 if test -n "$DLLWRAP"; then
6452 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
6453 else
6454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6455 for as_dir in $PATH
6457 IFS=$as_save_IFS
6458 test -z "$as_dir" && as_dir=.
6459 for ac_exec_ext in '' $ac_executable_extensions; do
6460 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6461 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
6462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6463 break 2
6465 done
6466 done
6467 IFS=$as_save_IFS
6471 DLLWRAP=$ac_cv_prog_DLLWRAP
6472 if test -n "$DLLWRAP"; then
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLWRAP" >&5
6474 $as_echo "$DLLWRAP" >&6; }
6475 else
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6477 $as_echo "no" >&6; }
6482 if test -z "$ac_cv_prog_DLLWRAP"; then
6483 ac_ct_DLLWRAP=$DLLWRAP
6484 # Extract the first word of "dllwrap", so it can be a program name with args.
6485 set dummy dllwrap; ac_word=$2
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6487 $as_echo_n "checking for $ac_word... " >&6; }
6488 if ${ac_cv_prog_ac_ct_DLLWRAP+:} false; then :
6489 $as_echo_n "(cached) " >&6
6490 else
6491 if test -n "$ac_ct_DLLWRAP"; then
6492 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
6493 else
6494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6495 for as_dir in $PATH
6497 IFS=$as_save_IFS
6498 test -z "$as_dir" && as_dir=.
6499 for ac_exec_ext in '' $ac_executable_extensions; do
6500 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6501 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
6502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6503 break 2
6505 done
6506 done
6507 IFS=$as_save_IFS
6511 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
6512 if test -n "$ac_ct_DLLWRAP"; then
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLWRAP" >&5
6514 $as_echo "$ac_ct_DLLWRAP" >&6; }
6515 else
6516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6517 $as_echo "no" >&6; }
6520 if test "x$ac_ct_DLLWRAP" = x; then
6521 DLLWRAP="false"
6522 else
6523 case $cross_compiling:$ac_tool_warned in
6524 yes:)
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6526 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6527 ac_tool_warned=yes ;;
6528 esac
6529 DLLWRAP=$ac_ct_DLLWRAP
6531 else
6532 DLLWRAP="$ac_cv_prog_DLLWRAP"
6535 if test "$DLLWRAP" = "false"; then
6536 LIBEXT="a"
6537 else
6538 LIBEXT="dll"
6540 IMPLIBEXT="a"
6541 STATIC_IMPLIBEXT="a"
6542 enable_iphlpapi=${enable_iphlpapi:-no}
6543 enable_kernel32=${enable_kernel32:-no}
6544 enable_msvcrt=${enable_msvcrt:-no}
6545 enable_ntdll=${enable_ntdll:-no}
6546 enable_ws2_32=${enable_ws2_32:-no}
6547 enable_loader=${enable_loader:-no}
6548 enable_server=${enable_server:-no}
6549 with_x=${with_x:-no}
6550 with_pthread=${with_pthread:-no}
6552 darwin*|macosx*)
6553 DLLEXT=".so"
6554 LIBEXT="dylib"
6555 DLLFLAGS="$DLLFLAGS -fPIC"
6556 LDDLLFLAGS="-bundle -multiply_defined suppress"
6557 LIBWINE_LDFLAGS="-multiply_defined suppress"
6558 LDSHARED="\$(CC) -dynamiclib"
6559 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(top_builddir)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
6560 COREFOUNDATIONLIB="-framework CoreFoundation"
6562 IOKITLIB="-framework IOKit -framework CoreFoundation"
6564 APPLICATIONSERVICESLIB="-framework ApplicationServices"
6566 CORESERVICESLIB="-framework CoreServices"
6568 case $host_os in
6569 darwin11*)
6570 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-macosx_version_min,10.6,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
6573 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
6575 esac
6576 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
6577 then
6578 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
6581 if test "$ac_cv_header_Security_Security_h" = "yes"
6582 then
6583 SECURITYLIB="-framework Security -framework CoreFoundation"
6585 ac_save_LIBS="$LIBS"
6586 LIBS="$LIBS $SECURITYLIB"
6587 for ac_func in SSLCopyPeerCertificates
6588 do :
6589 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
6590 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
6591 cat >>confdefs.h <<_ACEOF
6592 #define HAVE_SSLCOPYPEERCERTIFICATES 1
6593 _ACEOF
6596 done
6598 LIBS="$ac_save_LIBS"
6599 with_gnutls=${with_gnutls:-no}
6601 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
6602 then
6603 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
6604 then
6605 COREAUDIO="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
6607 else
6608 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
6611 ac_save_LIBS="$LIBS"
6612 LIBS="$LIBS $COREAUDIO"
6613 for ac_func in AUGraphAddNode
6614 do :
6615 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
6616 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
6617 cat >>confdefs.h <<_ACEOF
6618 #define HAVE_AUGRAPHADDNODE 1
6619 _ACEOF
6622 done
6624 LIBS="$ac_save_LIBS"
6626 if test "$ac_cv_header_OpenAL_al_h" = "yes"
6627 then
6628 FRAMEWORK_OPENAL="-framework OpenAL"
6631 cat >>confdefs.h <<_ACEOF
6632 #define HAVE_OPENAL 1
6633 _ACEOF
6635 ac_cv_lib_openal=yes
6637 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
6638 then
6639 LIBOPENCL="-framework OpenCL"
6641 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
6643 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
6644 then
6645 ac_save_LIBS="$LIBS"
6646 LIBS="$LIBS $IOKITLIB"
6647 for ac_func in IOHIDManagerCreate
6648 do :
6649 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
6650 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
6651 cat >>confdefs.h <<_ACEOF
6652 #define HAVE_IOHIDMANAGERCREATE 1
6653 _ACEOF
6656 done
6658 LIBS="$ac_save_LIBS"
6660 case $host_cpu in
6661 *powerpc*)
6662 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
6663 esac
6664 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
6665 then
6666 QUICKTIMELIB="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
6668 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
6669 else
6670 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
6672 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
6673 then
6674 CARBONLIB="-framework Carbon"
6678 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
6679 then
6680 ac_save_LIBS="$LIBS"
6681 LIBS="$LIBS $APPLICATIONSERVICESLIB"
6682 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
6683 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
6684 enable_winemac_drv=${enable_winemac_drv:-yes}
6687 LIBS="$ac_save_LIBS"
6690 if test "x$enable_win16" = "xyes"
6691 then
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
6693 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
6694 if test "$cross_compiling" = yes; then :
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
6696 $as_echo "cross-compiling, assuming yes" >&6; }
6697 else
6698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6699 /* end confdefs.h. */
6700 asm(".text\n"
6701 "bad:\tnop;nop\n"
6702 "good:\tnop;nop\n\t"
6703 ".globl _testfunc\n"
6704 "_testfunc:\tcallw good");
6705 extern void testfunc();
6707 main ()
6709 unsigned short *p = (unsigned short *)testfunc;
6710 return p[0] != 0xe866 || p[1] != 0xfffa
6712 return 0;
6714 _ACEOF
6715 if ac_fn_c_try_run "$LINENO"; then :
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6717 $as_echo "yes" >&6; }
6718 else
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6720 $as_echo "no" >&6; }
6721 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
6723 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6724 conftest.$ac_objext conftest.beam conftest.$ac_ext
6730 DLLFLAGS="$DLLFLAGS -fPIC"
6731 DLLEXT=".so"
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
6733 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
6734 if ${ac_cv_c_dll_gnuelf+:} false; then :
6735 $as_echo_n "(cached) " >&6
6736 else
6737 ac_wine_try_cflags_saved=$CFLAGS
6738 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
6739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6740 /* end confdefs.h. */
6741 void myfunc() {}
6742 _ACEOF
6743 if ac_fn_c_try_link "$LINENO"; then :
6744 ac_cv_c_dll_gnuelf="yes"
6745 else
6746 ac_cv_c_dll_gnuelf="no"
6748 rm -f core conftest.err conftest.$ac_objext \
6749 conftest$ac_exeext conftest.$ac_ext
6750 CFLAGS=$ac_wine_try_cflags_saved
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
6753 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
6754 if test "$ac_cv_c_dll_gnuelf" = "yes"
6755 then
6756 LDSHARED="\$(CC) -shared"
6757 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
6759 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
6760 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
6761 $as_echo_n "(cached) " >&6
6762 else
6763 ac_wine_try_cflags_saved=$CFLAGS
6764 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
6765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6766 /* end confdefs.h. */
6767 int main(int argc, char **argv) { return 0; }
6768 _ACEOF
6769 if ac_fn_c_try_link "$LINENO"; then :
6770 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
6771 else
6772 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
6774 rm -f core conftest.err conftest.$ac_objext \
6775 conftest$ac_exeext conftest.$ac_ext
6776 CFLAGS=$ac_wine_try_cflags_saved
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
6779 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
6780 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
6781 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
6782 else
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
6784 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
6785 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
6786 $as_echo_n "(cached) " >&6
6787 else
6788 ac_wine_try_cflags_saved=$CFLAGS
6789 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
6790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6791 /* end confdefs.h. */
6792 int main(int argc, char **argv) { return 0; }
6793 _ACEOF
6794 if ac_fn_c_try_link "$LINENO"; then :
6795 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
6796 else
6797 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
6799 rm -f core conftest.err conftest.$ac_objext \
6800 conftest$ac_exeext conftest.$ac_ext
6801 CFLAGS=$ac_wine_try_cflags_saved
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
6804 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
6805 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
6806 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
6811 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
6812 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+:} false; then :
6813 $as_echo_n "(cached) " >&6
6814 else
6815 ac_wine_try_cflags_saved=$CFLAGS
6816 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
6817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6818 /* end confdefs.h. */
6819 int main(int argc, char **argv) { return 0; }
6820 _ACEOF
6821 if ac_fn_c_try_link "$LINENO"; then :
6822 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
6823 else
6824 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
6826 rm -f core conftest.err conftest.$ac_objext \
6827 conftest$ac_exeext conftest.$ac_ext
6828 CFLAGS=$ac_wine_try_cflags_saved
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
6831 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
6832 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
6833 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
6836 { $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
6837 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
6838 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+:} false; then :
6839 $as_echo_n "(cached) " >&6
6840 else
6841 ac_wine_try_cflags_saved=$CFLAGS
6842 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
6843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6844 /* end confdefs.h. */
6845 int main(int argc, char **argv) { return 0; }
6846 _ACEOF
6847 if ac_fn_c_try_link "$LINENO"; then :
6848 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
6849 else
6850 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
6852 rm -f core conftest.err conftest.$ac_objext \
6853 conftest$ac_exeext conftest.$ac_ext
6854 CFLAGS=$ac_wine_try_cflags_saved
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
6857 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
6858 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
6859 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
6862 echo '{ global: *; };' >conftest.map
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
6864 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
6865 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
6866 $as_echo_n "(cached) " >&6
6867 else
6868 ac_wine_try_cflags_saved=$CFLAGS
6869 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
6870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6871 /* end confdefs.h. */
6872 int main(int argc, char **argv) { return 0; }
6873 _ACEOF
6874 if ac_fn_c_try_link "$LINENO"; then :
6875 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
6876 else
6877 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
6879 rm -f core conftest.err conftest.$ac_objext \
6880 conftest$ac_exeext conftest.$ac_ext
6881 CFLAGS=$ac_wine_try_cflags_saved
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
6884 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
6885 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
6886 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
6888 rm -f conftest.map
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
6891 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
6892 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
6893 $as_echo_n "(cached) " >&6
6894 else
6895 ac_wine_try_cflags_saved=$CFLAGS
6896 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
6897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6898 /* end confdefs.h. */
6899 int main(int argc, char **argv) { return 0; }
6900 _ACEOF
6901 if ac_fn_c_try_link "$LINENO"; then :
6902 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
6903 else
6904 ac_cv_cflags__fPIC__Wl___export_dynamic=no
6906 rm -f core conftest.err conftest.$ac_objext \
6907 conftest$ac_exeext conftest.$ac_ext
6908 CFLAGS=$ac_wine_try_cflags_saved
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
6911 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
6912 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
6913 LDEXECFLAGS="-Wl,--export-dynamic"
6917 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
6919 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
6920 if eval \${$as_ac_var+:} false; then :
6921 $as_echo_n "(cached) " >&6
6922 else
6923 ac_wine_try_cflags_saved=$CFLAGS
6924 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
6925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6926 /* end confdefs.h. */
6927 int main(int argc, char **argv) { return 0; }
6928 _ACEOF
6929 if ac_fn_c_try_link "$LINENO"; then :
6930 eval "$as_ac_var=yes"
6931 else
6932 eval "$as_ac_var=no"
6934 rm -f core conftest.err conftest.$ac_objext \
6935 conftest$ac_exeext conftest.$ac_ext
6936 CFLAGS=$ac_wine_try_cflags_saved
6938 eval ac_res=\$$as_ac_var
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6940 $as_echo "$ac_res" >&6; }
6941 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6942 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6943 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6944 else
6945 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
6947 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
6948 if eval \${$as_ac_var+:} false; then :
6949 $as_echo_n "(cached) " >&6
6950 else
6951 ac_wine_try_cflags_saved=$CFLAGS
6952 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
6953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6954 /* end confdefs.h. */
6955 int main(int argc, char **argv) { return 0; }
6956 _ACEOF
6957 if ac_fn_c_try_link "$LINENO"; then :
6958 eval "$as_ac_var=yes"
6959 else
6960 eval "$as_ac_var=no"
6962 rm -f core conftest.err conftest.$ac_objext \
6963 conftest$ac_exeext conftest.$ac_ext
6964 CFLAGS=$ac_wine_try_cflags_saved
6966 eval ac_res=\$$as_ac_var
6967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6968 $as_echo "$ac_res" >&6; }
6969 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6970 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6971 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
6976 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
6977 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
6978 $as_echo_n "(cached) " >&6
6979 else
6980 ac_wine_try_cflags_saved=$CFLAGS
6981 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
6982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6983 /* end confdefs.h. */
6984 int main(int argc, char **argv) { return 0; }
6985 _ACEOF
6986 if ac_fn_c_try_link "$LINENO"; then :
6987 ac_cv_cflags__Wl___enable_new_dtags=yes
6988 else
6989 ac_cv_cflags__Wl___enable_new_dtags=no
6991 rm -f core conftest.err conftest.$ac_objext \
6992 conftest$ac_exeext conftest.$ac_ext
6993 CFLAGS=$ac_wine_try_cflags_saved
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
6996 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
6997 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
6998 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7001 case $host_cpu in
7002 *i[3456789]86* | x86_64)
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7004 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7005 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
7006 $as_echo_n "(cached) " >&6
7007 else
7008 ac_wine_try_cflags_saved=$CFLAGS
7009 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7011 /* end confdefs.h. */
7012 int main(int argc, char **argv) { return 0; }
7013 _ACEOF
7014 if ac_fn_c_try_link "$LINENO"; then :
7015 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
7016 else
7017 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
7019 rm -f core conftest.err conftest.$ac_objext \
7020 conftest$ac_exeext conftest.$ac_ext
7021 CFLAGS=$ac_wine_try_cflags_saved
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7024 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7025 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7026 case $host_os in
7027 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
7028 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
7029 esac
7032 # Extract the first word of "prelink", so it can be a program name with args.
7033 set dummy prelink; ac_word=$2
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7035 $as_echo_n "checking for $ac_word... " >&6; }
7036 if ${ac_cv_path_PRELINK+:} false; then :
7037 $as_echo_n "(cached) " >&6
7038 else
7039 case $PRELINK in
7040 [\\/]* | ?:[\\/]*)
7041 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
7044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7045 for as_dir in /sbin /usr/sbin $PATH
7047 IFS=$as_save_IFS
7048 test -z "$as_dir" && as_dir=.
7049 for ac_exec_ext in '' $ac_executable_extensions; do
7050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7051 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
7052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7053 break 2
7055 done
7056 done
7057 IFS=$as_save_IFS
7059 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
7061 esac
7063 PRELINK=$ac_cv_path_PRELINK
7064 if test -n "$PRELINK"; then
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
7066 $as_echo "$PRELINK" >&6; }
7067 else
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7069 $as_echo "no" >&6; }
7073 if test "x$PRELINK" = xfalse
7074 then
7075 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
7078 esac
7080 else
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
7082 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
7083 if ${ac_cv_c_dll_unixware+:} false; then :
7084 $as_echo_n "(cached) " >&6
7085 else
7086 ac_wine_try_cflags_saved=$CFLAGS
7087 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
7088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7089 /* end confdefs.h. */
7090 void myfunc() {}
7091 _ACEOF
7092 if ac_fn_c_try_link "$LINENO"; then :
7093 ac_cv_c_dll_unixware="yes"
7094 else
7095 ac_cv_c_dll_unixware="no"
7097 rm -f core conftest.err conftest.$ac_objext \
7098 conftest$ac_exeext conftest.$ac_ext
7099 CFLAGS=$ac_wine_try_cflags_saved
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
7102 $as_echo "$ac_cv_c_dll_unixware" >&6; }
7103 if test "$ac_cv_c_dll_unixware" = "yes"
7104 then
7105 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
7106 LDDLLFLAGS="-Wl,-G,-B,symbolic"
7108 else
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build an HP-UX dll" >&5
7110 $as_echo_n "checking whether we can build an HP-UX dll... " >&6; }
7111 if ${ac_cv_c_dll_hpux+:} false; then :
7112 $as_echo_n "(cached) " >&6
7113 else
7114 ac_wine_try_cflags_saved=$CFLAGS
7115 CFLAGS="$CFLAGS -shared"
7116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7117 /* end confdefs.h. */
7118 void myfunc() {}
7119 _ACEOF
7120 if ac_fn_c_try_link "$LINENO"; then :
7121 ac_cv_c_dll_hpux="yes"
7122 else
7123 ac_cv_c_dll_hpux="no"
7125 rm -f core conftest.err conftest.$ac_objext \
7126 conftest$ac_exeext conftest.$ac_ext
7127 CFLAGS=$ac_wine_try_cflags_saved
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_hpux" >&5
7130 $as_echo "$ac_cv_c_dll_hpux" >&6; }
7131 if test "$ac_cv_c_dll_hpux" = "yes"
7132 then
7133 LIBEXT="sl"
7134 DLLEXT=".sl"
7135 LDDLLFLAGS="-shared -fPIC"
7136 LDSHARED="\$(CC) -shared"
7141 esac
7143 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
7144 enable_winemac_drv=${enable_winemac_drv:-no}
7146 if test "$LIBEXT" = "a"; then
7147 as_fn_error $? "could not find a way to build shared libraries.
7148 It is currently not possible to build Wine without shared library
7149 (.so) support to allow transparent switch between .so and .dll files.
7150 If you are using Linux, you will need a newer binutils.
7151 " "$LINENO" 5
7154 CROSSTEST_DISABLE=\#
7156 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
7157 then
7158 case "$host_cpu" in
7159 i[3456789]86*)
7160 ac_prefix_list="i686-w64-mingw32-gcc i586-w64-mingw32-gcc i486-w64-mingw32-gcc i386-w64-mingw32-gcc i686-pc-mingw32-gcc i586-pc-mingw32-gcc i486-pc-mingw32-gcc i386-pc-mingw32-gcc i686-mingw32msvc-gcc i586-mingw32msvc-gcc i486-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i486-mingw32-gcc i386-mingw32-gcc
7161 mingw32-gcc" ;;
7162 x86_64)
7163 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 " ;;
7165 ac_prefix_list="" ;;
7166 esac
7167 for ac_prog in $ac_prefix_list
7169 # Extract the first word of "$ac_prog", so it can be a program name with args.
7170 set dummy $ac_prog; ac_word=$2
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7172 $as_echo_n "checking for $ac_word... " >&6; }
7173 if ${ac_cv_prog_CROSSCC+:} false; then :
7174 $as_echo_n "(cached) " >&6
7175 else
7176 if test -n "$CROSSCC"; then
7177 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
7178 else
7179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7180 for as_dir in $PATH
7182 IFS=$as_save_IFS
7183 test -z "$as_dir" && as_dir=.
7184 for ac_exec_ext in '' $ac_executable_extensions; do
7185 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7186 ac_cv_prog_CROSSCC="$ac_prog"
7187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7188 break 2
7190 done
7191 done
7192 IFS=$as_save_IFS
7196 CROSSCC=$ac_cv_prog_CROSSCC
7197 if test -n "$CROSSCC"; then
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
7199 $as_echo "$CROSSCC" >&6; }
7200 else
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7202 $as_echo "no" >&6; }
7206 test -n "$CROSSCC" && break
7207 done
7208 test -n "$CROSSCC" || CROSSCC="false"
7210 if test "$CROSSCC" != "false"
7211 then
7212 ac_save_CC="$CC"
7213 CC="$CROSSCC"
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
7215 $as_echo_n "checking whether $CROSSCC works... " >&6; }
7216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7217 /* end confdefs.h. */
7220 main ()
7224 return 0;
7226 _ACEOF
7227 if ac_fn_c_try_compile "$LINENO"; then :
7228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7229 $as_echo "yes" >&6; }
7230 set x $CROSSCC
7231 shift
7232 target=""
7233 while test $# -ge 1
7235 case "$1" in
7236 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
7237 esac
7238 shift
7239 done
7240 if test -n "$target"
7241 then
7242 CROSSTEST_DISABLE=""
7243 CROSSTARGET="$target"
7246 else
7247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7248 $as_echo "no" >&6; }
7250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7251 CC="$ac_save_CC"
7256 if test "$ac_cv_header_pthread_h" = "yes"
7257 then
7258 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
7259 if test "x$ac_cv_func_pthread_create" = xyes; then :
7261 else
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7263 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7264 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
7265 $as_echo_n "(cached) " >&6
7266 else
7267 ac_check_lib_save_LIBS=$LIBS
7268 LIBS="-lpthread $LIBS"
7269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7270 /* end confdefs.h. */
7272 /* Override any GCC internal prototype to avoid an error.
7273 Use char because int might match the return type of a GCC
7274 builtin and then its argument prototype would still apply. */
7275 #ifdef __cplusplus
7276 extern "C"
7277 #endif
7278 char pthread_create ();
7280 main ()
7282 return pthread_create ();
7284 return 0;
7286 _ACEOF
7287 if ac_fn_c_try_link "$LINENO"; then :
7288 ac_cv_lib_pthread_pthread_create=yes
7289 else
7290 ac_cv_lib_pthread_pthread_create=no
7292 rm -f core conftest.err conftest.$ac_objext \
7293 conftest$ac_exeext conftest.$ac_ext
7294 LIBS=$ac_check_lib_save_LIBS
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7297 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7298 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
7299 LIBPTHREAD="-lpthread"
7306 if test "x$ac_cv_func_pthread_create" != xyes -a "x$LIBPTHREAD" = x; then :
7307 case "x$with_pthread" in
7308 xno) ;;
7309 *) as_fn_error $? "pthread ${notice_platform}development files not found.
7310 Wine cannot support threads without libpthread.
7311 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
7312 esac
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
7317 $as_echo_n "checking for X... " >&6; }
7320 # Check whether --with-x was given.
7321 if test "${with_x+set}" = set; then :
7322 withval=$with_x;
7325 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7326 if test "x$with_x" = xno; then
7327 # The user explicitly disabled X.
7328 have_x=disabled
7329 else
7330 case $x_includes,$x_libraries in #(
7331 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
7332 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
7333 $as_echo_n "(cached) " >&6
7334 else
7335 # One or both of the vars are not set, and there is no cached value.
7336 ac_x_includes=no ac_x_libraries=no
7337 rm -f -r conftest.dir
7338 if mkdir conftest.dir; then
7339 cd conftest.dir
7340 cat >Imakefile <<'_ACEOF'
7341 incroot:
7342 @echo incroot='${INCROOT}'
7343 usrlibdir:
7344 @echo usrlibdir='${USRLIBDIR}'
7345 libdir:
7346 @echo libdir='${LIBDIR}'
7347 _ACEOF
7348 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
7349 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7350 for ac_var in incroot usrlibdir libdir; do
7351 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7352 done
7353 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7354 for ac_extension in a so sl dylib la dll; do
7355 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7356 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7357 ac_im_usrlibdir=$ac_im_libdir; break
7359 done
7360 # Screen out bogus values from the imake configuration. They are
7361 # bogus both because they are the default anyway, and because
7362 # using them would break gcc on systems where it needs fixed includes.
7363 case $ac_im_incroot in
7364 /usr/include) ac_x_includes= ;;
7365 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
7366 esac
7367 case $ac_im_usrlibdir in
7368 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
7369 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
7370 esac
7372 cd ..
7373 rm -f -r conftest.dir
7376 # Standard set of common directories for X headers.
7377 # Check X11 before X11Rn because it is often a symlink to the current release.
7378 ac_x_header_dirs='
7379 /usr/X11/include
7380 /usr/X11R7/include
7381 /usr/X11R6/include
7382 /usr/X11R5/include
7383 /usr/X11R4/include
7385 /usr/include/X11
7386 /usr/include/X11R7
7387 /usr/include/X11R6
7388 /usr/include/X11R5
7389 /usr/include/X11R4
7391 /usr/local/X11/include
7392 /usr/local/X11R7/include
7393 /usr/local/X11R6/include
7394 /usr/local/X11R5/include
7395 /usr/local/X11R4/include
7397 /usr/local/include/X11
7398 /usr/local/include/X11R7
7399 /usr/local/include/X11R6
7400 /usr/local/include/X11R5
7401 /usr/local/include/X11R4
7403 /usr/X386/include
7404 /usr/x386/include
7405 /usr/XFree86/include/X11
7407 /usr/include
7408 /usr/local/include
7409 /usr/unsupported/include
7410 /usr/athena/include
7411 /usr/local/x11r5/include
7412 /usr/lpp/Xamples/include
7414 /usr/openwin/include
7415 /usr/openwin/share/include'
7417 if test "$ac_x_includes" = no; then
7418 # Guess where to find include files, by looking for Xlib.h.
7419 # First, try using that file with no special directory specified.
7420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7421 /* end confdefs.h. */
7422 #include <X11/Xlib.h>
7423 _ACEOF
7424 if ac_fn_c_try_cpp "$LINENO"; then :
7425 # We can compile using X headers with no special include directory.
7426 ac_x_includes=
7427 else
7428 for ac_dir in $ac_x_header_dirs; do
7429 if test -r "$ac_dir/X11/Xlib.h"; then
7430 ac_x_includes=$ac_dir
7431 break
7433 done
7435 rm -f conftest.err conftest.i conftest.$ac_ext
7436 fi # $ac_x_includes = no
7438 if test "$ac_x_libraries" = no; then
7439 # Check for the libraries.
7440 # See if we find them without any special options.
7441 # Don't add to $LIBS permanently.
7442 ac_save_LIBS=$LIBS
7443 LIBS="-lX11 $LIBS"
7444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7445 /* end confdefs.h. */
7446 #include <X11/Xlib.h>
7448 main ()
7450 XrmInitialize ()
7452 return 0;
7454 _ACEOF
7455 if ac_fn_c_try_link "$LINENO"; then :
7456 LIBS=$ac_save_LIBS
7457 # We can link X programs with no special library path.
7458 ac_x_libraries=
7459 else
7460 LIBS=$ac_save_LIBS
7461 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7463 # Don't even attempt the hair of trying to link an X program!
7464 for ac_extension in a so sl dylib la dll; do
7465 if test -r "$ac_dir/libX11.$ac_extension"; then
7466 ac_x_libraries=$ac_dir
7467 break 2
7469 done
7470 done
7472 rm -f core conftest.err conftest.$ac_objext \
7473 conftest$ac_exeext conftest.$ac_ext
7474 fi # $ac_x_libraries = no
7476 case $ac_x_includes,$ac_x_libraries in #(
7477 no,* | *,no | *\'*)
7478 # Didn't find X, or a directory has "'" in its name.
7479 ac_cv_have_x="have_x=no";; #(
7481 # Record where we found X for the cache.
7482 ac_cv_have_x="have_x=yes\
7483 ac_x_includes='$ac_x_includes'\
7484 ac_x_libraries='$ac_x_libraries'"
7485 esac
7487 ;; #(
7488 *) have_x=yes;;
7489 esac
7490 eval "$ac_cv_have_x"
7491 fi # $with_x != no
7493 if test "$have_x" != yes; then
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
7495 $as_echo "$have_x" >&6; }
7496 no_x=yes
7497 else
7498 # If each of the values was on the command line, it overrides each guess.
7499 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
7500 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
7501 # Update the cache value to reflect the command line values.
7502 ac_cv_have_x="have_x=yes\
7503 ac_x_includes='$x_includes'\
7504 ac_x_libraries='$x_libraries'"
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
7506 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7509 if test "$no_x" = yes; then
7510 # Not all programs may use this symbol, but it does not hurt to define it.
7512 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
7514 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
7515 else
7516 if test -n "$x_includes"; then
7517 X_CFLAGS="$X_CFLAGS -I$x_includes"
7520 # It would also be nice to do this for all -L options, not just this one.
7521 if test -n "$x_libraries"; then
7522 X_LIBS="$X_LIBS -L$x_libraries"
7523 # For Solaris; some versions of Sun CC require a space after -R and
7524 # others require no space. Words are not sufficient . . . .
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
7526 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
7527 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
7528 ac_xsave_c_werror_flag=$ac_c_werror_flag
7529 ac_c_werror_flag=yes
7530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7531 /* end confdefs.h. */
7534 main ()
7538 return 0;
7540 _ACEOF
7541 if ac_fn_c_try_link "$LINENO"; then :
7542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7543 $as_echo "no" >&6; }
7544 X_LIBS="$X_LIBS -R$x_libraries"
7545 else
7546 LIBS="$ac_xsave_LIBS -R $x_libraries"
7547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7548 /* end confdefs.h. */
7551 main ()
7555 return 0;
7557 _ACEOF
7558 if ac_fn_c_try_link "$LINENO"; then :
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7560 $as_echo "yes" >&6; }
7561 X_LIBS="$X_LIBS -R $x_libraries"
7562 else
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
7564 $as_echo "neither works" >&6; }
7566 rm -f core conftest.err conftest.$ac_objext \
7567 conftest$ac_exeext conftest.$ac_ext
7569 rm -f core conftest.err conftest.$ac_objext \
7570 conftest$ac_exeext conftest.$ac_ext
7571 ac_c_werror_flag=$ac_xsave_c_werror_flag
7572 LIBS=$ac_xsave_LIBS
7575 # Check for system-dependent libraries X programs must link with.
7576 # Do this before checking for the system-independent R6 libraries
7577 # (-lICE), since we may need -lsocket or whatever for X linking.
7579 if test "$ISC" = yes; then
7580 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
7581 else
7582 # Martyn Johnson says this is needed for Ultrix, if the X
7583 # libraries were built with DECnet support. And Karl Berry says
7584 # the Alpha needs dnet_stub (dnet does not exist).
7585 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
7586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7587 /* end confdefs.h. */
7589 /* Override any GCC internal prototype to avoid an error.
7590 Use char because int might match the return type of a GCC
7591 builtin and then its argument prototype would still apply. */
7592 #ifdef __cplusplus
7593 extern "C"
7594 #endif
7595 char XOpenDisplay ();
7597 main ()
7599 return XOpenDisplay ();
7601 return 0;
7603 _ACEOF
7604 if ac_fn_c_try_link "$LINENO"; then :
7606 else
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
7608 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
7609 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
7610 $as_echo_n "(cached) " >&6
7611 else
7612 ac_check_lib_save_LIBS=$LIBS
7613 LIBS="-ldnet $LIBS"
7614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7615 /* end confdefs.h. */
7617 /* Override any GCC internal prototype to avoid an error.
7618 Use char because int might match the return type of a GCC
7619 builtin and then its argument prototype would still apply. */
7620 #ifdef __cplusplus
7621 extern "C"
7622 #endif
7623 char dnet_ntoa ();
7625 main ()
7627 return dnet_ntoa ();
7629 return 0;
7631 _ACEOF
7632 if ac_fn_c_try_link "$LINENO"; then :
7633 ac_cv_lib_dnet_dnet_ntoa=yes
7634 else
7635 ac_cv_lib_dnet_dnet_ntoa=no
7637 rm -f core conftest.err conftest.$ac_objext \
7638 conftest$ac_exeext conftest.$ac_ext
7639 LIBS=$ac_check_lib_save_LIBS
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7642 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7643 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
7644 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
7647 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
7648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
7649 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
7650 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
7651 $as_echo_n "(cached) " >&6
7652 else
7653 ac_check_lib_save_LIBS=$LIBS
7654 LIBS="-ldnet_stub $LIBS"
7655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7656 /* end confdefs.h. */
7658 /* Override any GCC internal prototype to avoid an error.
7659 Use char because int might match the return type of a GCC
7660 builtin and then its argument prototype would still apply. */
7661 #ifdef __cplusplus
7662 extern "C"
7663 #endif
7664 char dnet_ntoa ();
7666 main ()
7668 return dnet_ntoa ();
7670 return 0;
7672 _ACEOF
7673 if ac_fn_c_try_link "$LINENO"; then :
7674 ac_cv_lib_dnet_stub_dnet_ntoa=yes
7675 else
7676 ac_cv_lib_dnet_stub_dnet_ntoa=no
7678 rm -f core conftest.err conftest.$ac_objext \
7679 conftest$ac_exeext conftest.$ac_ext
7680 LIBS=$ac_check_lib_save_LIBS
7682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7683 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
7684 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
7685 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
7690 rm -f core conftest.err conftest.$ac_objext \
7691 conftest$ac_exeext conftest.$ac_ext
7692 LIBS="$ac_xsave_LIBS"
7694 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7695 # to get the SysV transport functions.
7696 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7697 # needs -lnsl.
7698 # The nsl library prevents programs from opening the X display
7699 # on Irix 5.2, according to T.E. Dickey.
7700 # The functions gethostbyname, getservbyname, and inet_addr are
7701 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7702 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
7703 if test "x$ac_cv_func_gethostbyname" = xyes; then :
7707 if test $ac_cv_func_gethostbyname = no; then
7708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
7709 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
7710 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
7711 $as_echo_n "(cached) " >&6
7712 else
7713 ac_check_lib_save_LIBS=$LIBS
7714 LIBS="-lnsl $LIBS"
7715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7716 /* end confdefs.h. */
7718 /* Override any GCC internal prototype to avoid an error.
7719 Use char because int might match the return type of a GCC
7720 builtin and then its argument prototype would still apply. */
7721 #ifdef __cplusplus
7722 extern "C"
7723 #endif
7724 char gethostbyname ();
7726 main ()
7728 return gethostbyname ();
7730 return 0;
7732 _ACEOF
7733 if ac_fn_c_try_link "$LINENO"; then :
7734 ac_cv_lib_nsl_gethostbyname=yes
7735 else
7736 ac_cv_lib_nsl_gethostbyname=no
7738 rm -f core conftest.err conftest.$ac_objext \
7739 conftest$ac_exeext conftest.$ac_ext
7740 LIBS=$ac_check_lib_save_LIBS
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
7743 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
7744 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
7745 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
7748 if test $ac_cv_lib_nsl_gethostbyname = no; then
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
7750 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
7751 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
7752 $as_echo_n "(cached) " >&6
7753 else
7754 ac_check_lib_save_LIBS=$LIBS
7755 LIBS="-lbsd $LIBS"
7756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7757 /* end confdefs.h. */
7759 /* Override any GCC internal prototype to avoid an error.
7760 Use char because int might match the return type of a GCC
7761 builtin and then its argument prototype would still apply. */
7762 #ifdef __cplusplus
7763 extern "C"
7764 #endif
7765 char gethostbyname ();
7767 main ()
7769 return gethostbyname ();
7771 return 0;
7773 _ACEOF
7774 if ac_fn_c_try_link "$LINENO"; then :
7775 ac_cv_lib_bsd_gethostbyname=yes
7776 else
7777 ac_cv_lib_bsd_gethostbyname=no
7779 rm -f core conftest.err conftest.$ac_objext \
7780 conftest$ac_exeext conftest.$ac_ext
7781 LIBS=$ac_check_lib_save_LIBS
7783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
7784 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
7785 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
7786 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
7792 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7793 # socket/setsockopt and other routines are undefined under SCO ODT
7794 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7795 # on later versions), says Simon Leinen: it contains gethostby*
7796 # variants that don't use the name server (or something). -lsocket
7797 # must be given before -lnsl if both are needed. We assume that
7798 # if connect needs -lnsl, so does gethostbyname.
7799 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
7800 if test "x$ac_cv_func_connect" = xyes; then :
7804 if test $ac_cv_func_connect = no; then
7805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
7806 $as_echo_n "checking for connect in -lsocket... " >&6; }
7807 if ${ac_cv_lib_socket_connect+:} false; then :
7808 $as_echo_n "(cached) " >&6
7809 else
7810 ac_check_lib_save_LIBS=$LIBS
7811 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
7812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7813 /* end confdefs.h. */
7815 /* Override any GCC internal prototype to avoid an error.
7816 Use char because int might match the return type of a GCC
7817 builtin and then its argument prototype would still apply. */
7818 #ifdef __cplusplus
7819 extern "C"
7820 #endif
7821 char connect ();
7823 main ()
7825 return connect ();
7827 return 0;
7829 _ACEOF
7830 if ac_fn_c_try_link "$LINENO"; then :
7831 ac_cv_lib_socket_connect=yes
7832 else
7833 ac_cv_lib_socket_connect=no
7835 rm -f core conftest.err conftest.$ac_objext \
7836 conftest$ac_exeext conftest.$ac_ext
7837 LIBS=$ac_check_lib_save_LIBS
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
7840 $as_echo "$ac_cv_lib_socket_connect" >&6; }
7841 if test "x$ac_cv_lib_socket_connect" = xyes; then :
7842 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
7847 # Guillermo Gomez says -lposix is necessary on A/UX.
7848 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
7849 if test "x$ac_cv_func_remove" = xyes; then :
7853 if test $ac_cv_func_remove = no; then
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
7855 $as_echo_n "checking for remove in -lposix... " >&6; }
7856 if ${ac_cv_lib_posix_remove+:} false; then :
7857 $as_echo_n "(cached) " >&6
7858 else
7859 ac_check_lib_save_LIBS=$LIBS
7860 LIBS="-lposix $LIBS"
7861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7862 /* end confdefs.h. */
7864 /* Override any GCC internal prototype to avoid an error.
7865 Use char because int might match the return type of a GCC
7866 builtin and then its argument prototype would still apply. */
7867 #ifdef __cplusplus
7868 extern "C"
7869 #endif
7870 char remove ();
7872 main ()
7874 return remove ();
7876 return 0;
7878 _ACEOF
7879 if ac_fn_c_try_link "$LINENO"; then :
7880 ac_cv_lib_posix_remove=yes
7881 else
7882 ac_cv_lib_posix_remove=no
7884 rm -f core conftest.err conftest.$ac_objext \
7885 conftest$ac_exeext conftest.$ac_ext
7886 LIBS=$ac_check_lib_save_LIBS
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
7889 $as_echo "$ac_cv_lib_posix_remove" >&6; }
7890 if test "x$ac_cv_lib_posix_remove" = xyes; then :
7891 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
7896 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7897 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
7898 if test "x$ac_cv_func_shmat" = xyes; then :
7902 if test $ac_cv_func_shmat = no; then
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
7904 $as_echo_n "checking for shmat in -lipc... " >&6; }
7905 if ${ac_cv_lib_ipc_shmat+:} false; then :
7906 $as_echo_n "(cached) " >&6
7907 else
7908 ac_check_lib_save_LIBS=$LIBS
7909 LIBS="-lipc $LIBS"
7910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7911 /* end confdefs.h. */
7913 /* Override any GCC internal prototype to avoid an error.
7914 Use char because int might match the return type of a GCC
7915 builtin and then its argument prototype would still apply. */
7916 #ifdef __cplusplus
7917 extern "C"
7918 #endif
7919 char shmat ();
7921 main ()
7923 return shmat ();
7925 return 0;
7927 _ACEOF
7928 if ac_fn_c_try_link "$LINENO"; then :
7929 ac_cv_lib_ipc_shmat=yes
7930 else
7931 ac_cv_lib_ipc_shmat=no
7933 rm -f core conftest.err conftest.$ac_objext \
7934 conftest$ac_exeext conftest.$ac_ext
7935 LIBS=$ac_check_lib_save_LIBS
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
7938 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
7939 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
7940 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
7946 # Check for libraries that X11R6 Xt/Xaw programs need.
7947 ac_save_LDFLAGS=$LDFLAGS
7948 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
7949 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7950 # check for ICE first), but we must link in the order -lSM -lICE or
7951 # we get undefined symbols. So assume we have SM if we have ICE.
7952 # These have to be linked with before -lX11, unlike the other
7953 # libraries we check for below, so use a different variable.
7954 # John Interrante, Karl Berry
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
7956 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
7957 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
7958 $as_echo_n "(cached) " >&6
7959 else
7960 ac_check_lib_save_LIBS=$LIBS
7961 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
7962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7963 /* end confdefs.h. */
7965 /* Override any GCC internal prototype to avoid an error.
7966 Use char because int might match the return type of a GCC
7967 builtin and then its argument prototype would still apply. */
7968 #ifdef __cplusplus
7969 extern "C"
7970 #endif
7971 char IceConnectionNumber ();
7973 main ()
7975 return IceConnectionNumber ();
7977 return 0;
7979 _ACEOF
7980 if ac_fn_c_try_link "$LINENO"; then :
7981 ac_cv_lib_ICE_IceConnectionNumber=yes
7982 else
7983 ac_cv_lib_ICE_IceConnectionNumber=no
7985 rm -f core conftest.err conftest.$ac_objext \
7986 conftest$ac_exeext conftest.$ac_ext
7987 LIBS=$ac_check_lib_save_LIBS
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
7990 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
7991 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
7992 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
7995 LDFLAGS=$ac_save_LDFLAGS
8000 if test "$have_x" = "yes"
8001 then
8002 XLIB="-lX11"
8003 ac_save_CPPFLAGS="$CPPFLAGS"
8004 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
8007 $as_echo_n "checking for -lX11... " >&6; }
8008 if ${ac_cv_lib_soname_X11+:} false; then :
8009 $as_echo_n "(cached) " >&6
8010 else
8011 ac_check_soname_save_LIBS=$LIBS
8012 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
8013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8014 /* end confdefs.h. */
8016 /* Override any GCC internal prototype to avoid an error.
8017 Use char because int might match the return type of a GCC
8018 builtin and then its argument prototype would still apply. */
8019 #ifdef __cplusplus
8020 extern "C"
8021 #endif
8022 char XCreateWindow ();
8024 main ()
8026 return XCreateWindow ();
8028 return 0;
8030 _ACEOF
8031 if ac_fn_c_try_link "$LINENO"; then :
8032 case "$LIBEXT" in
8033 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8034 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'` ;;
8035 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8036 esac
8038 rm -f core conftest.err conftest.$ac_objext \
8039 conftest$ac_exeext conftest.$ac_ext
8040 LIBS=$ac_check_soname_save_LIBS
8042 if test "x$ac_cv_lib_soname_X11" = "x"; then :
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8044 $as_echo "not found" >&6; }
8046 else
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
8048 $as_echo "$ac_cv_lib_soname_X11" >&6; }
8050 cat >>confdefs.h <<_ACEOF
8051 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
8052 _ACEOF
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
8057 $as_echo_n "checking for -lXext... " >&6; }
8058 if ${ac_cv_lib_soname_Xext+:} false; then :
8059 $as_echo_n "(cached) " >&6
8060 else
8061 ac_check_soname_save_LIBS=$LIBS
8062 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8064 /* end confdefs.h. */
8066 /* Override any GCC internal prototype to avoid an error.
8067 Use char because int might match the return type of a GCC
8068 builtin and then its argument prototype would still apply. */
8069 #ifdef __cplusplus
8070 extern "C"
8071 #endif
8072 char XextCreateExtension ();
8074 main ()
8076 return XextCreateExtension ();
8078 return 0;
8080 _ACEOF
8081 if ac_fn_c_try_link "$LINENO"; then :
8082 case "$LIBEXT" in
8083 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8084 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'` ;;
8085 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8086 esac
8088 rm -f core conftest.err conftest.$ac_objext \
8089 conftest$ac_exeext conftest.$ac_ext
8090 LIBS=$ac_check_soname_save_LIBS
8092 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8094 $as_echo "not found" >&6; }
8096 else
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
8098 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
8100 cat >>confdefs.h <<_ACEOF
8101 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
8102 _ACEOF
8104 XLIB="-lXext $XLIB"
8107 for ac_header in X11/Xlib.h \
8108 X11/XKBlib.h \
8109 X11/Xutil.h \
8110 X11/Xcursor/Xcursor.h \
8111 X11/extensions/shape.h \
8112 X11/extensions/XInput.h \
8113 X11/extensions/XInput2.h \
8114 X11/extensions/XShm.h \
8115 X11/extensions/Xcomposite.h \
8116 X11/extensions/Xinerama.h \
8117 X11/extensions/Xrandr.h \
8118 X11/extensions/Xrender.h \
8119 X11/extensions/xf86vmode.h \
8120 X11/extensions/xf86vmproto.h
8121 do :
8122 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8123 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
8124 # include <X11/Xlib.h>
8125 #endif
8126 #ifdef HAVE_X11_XUTIL_H
8127 # include <X11/Xutil.h>
8128 #endif
8130 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8131 cat >>confdefs.h <<_ACEOF
8132 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8133 _ACEOF
8137 done
8140 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8141 then
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
8143 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
8144 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
8145 $as_echo_n "(cached) " >&6
8146 else
8147 ac_check_lib_save_LIBS=$LIBS
8148 LIBS="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8150 /* end confdefs.h. */
8152 /* Override any GCC internal prototype to avoid an error.
8153 Use char because int might match the return type of a GCC
8154 builtin and then its argument prototype would still apply. */
8155 #ifdef __cplusplus
8156 extern "C"
8157 #endif
8158 char XkbQueryExtension ();
8160 main ()
8162 return XkbQueryExtension ();
8164 return 0;
8166 _ACEOF
8167 if ac_fn_c_try_link "$LINENO"; then :
8168 ac_cv_lib_X11_XkbQueryExtension=yes
8169 else
8170 ac_cv_lib_X11_XkbQueryExtension=no
8172 rm -f core conftest.err conftest.$ac_objext \
8173 conftest$ac_exeext conftest.$ac_ext
8174 LIBS=$ac_check_lib_save_LIBS
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8177 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8178 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
8180 $as_echo "#define HAVE_XKB 1" >>confdefs.h
8186 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
8187 then
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
8189 $as_echo_n "checking for -lXcursor... " >&6; }
8190 if ${ac_cv_lib_soname_Xcursor+:} false; then :
8191 $as_echo_n "(cached) " >&6
8192 else
8193 ac_check_soname_save_LIBS=$LIBS
8194 LIBS="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8196 /* end confdefs.h. */
8198 /* Override any GCC internal prototype to avoid an error.
8199 Use char because int might match the return type of a GCC
8200 builtin and then its argument prototype would still apply. */
8201 #ifdef __cplusplus
8202 extern "C"
8203 #endif
8204 char XcursorImageLoadCursor ();
8206 main ()
8208 return XcursorImageLoadCursor ();
8210 return 0;
8212 _ACEOF
8213 if ac_fn_c_try_link "$LINENO"; then :
8214 case "$LIBEXT" in
8215 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8216 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'` ;;
8217 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8218 esac
8220 rm -f core conftest.err conftest.$ac_objext \
8221 conftest$ac_exeext conftest.$ac_ext
8222 LIBS=$ac_check_soname_save_LIBS
8224 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8226 $as_echo "not found" >&6; }
8228 else
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
8230 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
8232 cat >>confdefs.h <<_ACEOF
8233 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
8234 _ACEOF
8239 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8240 case "x$with_xcursor" in
8241 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
8242 xno) ;;
8243 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
8244 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
8245 esac
8248 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
8249 then
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
8251 $as_echo_n "checking for -lXi... " >&6; }
8252 if ${ac_cv_lib_soname_Xi+:} false; then :
8253 $as_echo_n "(cached) " >&6
8254 else
8255 ac_check_soname_save_LIBS=$LIBS
8256 LIBS="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8258 /* end confdefs.h. */
8260 /* Override any GCC internal prototype to avoid an error.
8261 Use char because int might match the return type of a GCC
8262 builtin and then its argument prototype would still apply. */
8263 #ifdef __cplusplus
8264 extern "C"
8265 #endif
8266 char XOpenDevice ();
8268 main ()
8270 return XOpenDevice ();
8272 return 0;
8274 _ACEOF
8275 if ac_fn_c_try_link "$LINENO"; then :
8276 case "$LIBEXT" in
8277 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8278 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'` ;;
8279 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8280 esac
8282 rm -f core conftest.err conftest.$ac_objext \
8283 conftest$ac_exeext conftest.$ac_ext
8284 LIBS=$ac_check_soname_save_LIBS
8286 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8288 $as_echo "not found" >&6; }
8290 else
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
8292 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
8294 cat >>confdefs.h <<_ACEOF
8295 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
8296 _ACEOF
8301 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8302 case "x$with_xinput" in
8303 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
8304 xno) ;;
8305 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
8306 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
8307 esac
8310 if test "x$ac_cv_lib_soname_Xi" != x
8311 then
8312 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
8313 case "x$with_xinput2" in
8314 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
8315 xno) ;;
8316 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
8317 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
8318 esac
8322 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8323 then
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
8325 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
8326 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
8327 $as_echo_n "(cached) " >&6
8328 else
8329 ac_check_lib_save_LIBS=$LIBS
8330 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8332 /* end confdefs.h. */
8334 /* Override any GCC internal prototype to avoid an error.
8335 Use char because int might match the return type of a GCC
8336 builtin and then its argument prototype would still apply. */
8337 #ifdef __cplusplus
8338 extern "C"
8339 #endif
8340 char XShmQueryExtension ();
8342 main ()
8344 return XShmQueryExtension ();
8346 return 0;
8348 _ACEOF
8349 if ac_fn_c_try_link "$LINENO"; then :
8350 ac_cv_lib_Xext_XShmQueryExtension=yes
8351 else
8352 ac_cv_lib_Xext_XShmQueryExtension=no
8354 rm -f core conftest.err conftest.$ac_objext \
8355 conftest$ac_exeext conftest.$ac_ext
8356 LIBS=$ac_check_lib_save_LIBS
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8359 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8360 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
8362 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
8367 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
8368 case "x$with_xshm" in
8369 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
8370 xno) ;;
8371 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
8372 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
8373 esac
8376 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8377 then
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
8379 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8380 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
8381 $as_echo_n "(cached) " >&6
8382 else
8383 ac_check_lib_save_LIBS=$LIBS
8384 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8386 /* end confdefs.h. */
8388 /* Override any GCC internal prototype to avoid an error.
8389 Use char because int might match the return type of a GCC
8390 builtin and then its argument prototype would still apply. */
8391 #ifdef __cplusplus
8392 extern "C"
8393 #endif
8394 char XShapeQueryExtension ();
8396 main ()
8398 return XShapeQueryExtension ();
8400 return 0;
8402 _ACEOF
8403 if ac_fn_c_try_link "$LINENO"; then :
8404 ac_cv_lib_Xext_XShapeQueryExtension=yes
8405 else
8406 ac_cv_lib_Xext_XShapeQueryExtension=no
8408 rm -f core conftest.err conftest.$ac_objext \
8409 conftest$ac_exeext conftest.$ac_ext
8410 LIBS=$ac_check_lib_save_LIBS
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8413 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8414 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
8416 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
8421 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
8422 case "x$with_xshape" in
8423 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
8424 xno) ;;
8425 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
8426 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
8427 esac
8430 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
8431 then
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
8433 $as_echo_n "checking for -lXxf86vm... " >&6; }
8434 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
8435 $as_echo_n "(cached) " >&6
8436 else
8437 ac_check_soname_save_LIBS=$LIBS
8438 LIBS="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8440 /* end confdefs.h. */
8442 /* Override any GCC internal prototype to avoid an error.
8443 Use char because int might match the return type of a GCC
8444 builtin and then its argument prototype would still apply. */
8445 #ifdef __cplusplus
8446 extern "C"
8447 #endif
8448 char XF86VidModeQueryExtension ();
8450 main ()
8452 return XF86VidModeQueryExtension ();
8454 return 0;
8456 _ACEOF
8457 if ac_fn_c_try_link "$LINENO"; then :
8458 case "$LIBEXT" in
8459 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8460 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'` ;;
8461 *) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8462 esac
8464 rm -f core conftest.err conftest.$ac_objext \
8465 conftest$ac_exeext conftest.$ac_ext
8466 LIBS=$ac_check_soname_save_LIBS
8468 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8470 $as_echo "not found" >&6; }
8472 else
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
8474 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
8476 cat >>confdefs.h <<_ACEOF
8477 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
8478 _ACEOF
8483 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8484 case "x$with_xxf86vm" in
8485 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
8486 xno) ;;
8487 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
8488 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
8489 esac
8492 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"
8493 then
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
8495 $as_echo_n "checking for -lXrender... " >&6; }
8496 if ${ac_cv_lib_soname_Xrender+:} false; then :
8497 $as_echo_n "(cached) " >&6
8498 else
8499 ac_check_soname_save_LIBS=$LIBS
8500 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8502 /* end confdefs.h. */
8504 /* Override any GCC internal prototype to avoid an error.
8505 Use char because int might match the return type of a GCC
8506 builtin and then its argument prototype would still apply. */
8507 #ifdef __cplusplus
8508 extern "C"
8509 #endif
8510 char XRenderQueryExtension ();
8512 main ()
8514 return XRenderQueryExtension ();
8516 return 0;
8518 _ACEOF
8519 if ac_fn_c_try_link "$LINENO"; then :
8520 case "$LIBEXT" in
8521 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8522 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'` ;;
8523 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8524 esac
8526 rm -f core conftest.err conftest.$ac_objext \
8527 conftest$ac_exeext conftest.$ac_ext
8528 LIBS=$ac_check_soname_save_LIBS
8530 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8532 $as_echo "not found" >&6; }
8534 else
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
8536 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
8538 cat >>confdefs.h <<_ACEOF
8539 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
8540 _ACEOF
8542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
8543 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
8544 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
8545 $as_echo_n "(cached) " >&6
8546 else
8547 ac_check_lib_save_LIBS=$LIBS
8548 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8550 /* end confdefs.h. */
8552 /* Override any GCC internal prototype to avoid an error.
8553 Use char because int might match the return type of a GCC
8554 builtin and then its argument prototype would still apply. */
8555 #ifdef __cplusplus
8556 extern "C"
8557 #endif
8558 char XRenderSetPictureTransform ();
8560 main ()
8562 return XRenderSetPictureTransform ();
8564 return 0;
8566 _ACEOF
8567 if ac_fn_c_try_link "$LINENO"; then :
8568 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
8569 else
8570 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
8572 rm -f core conftest.err conftest.$ac_objext \
8573 conftest$ac_exeext conftest.$ac_ext
8574 LIBS=$ac_check_lib_save_LIBS
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8577 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8578 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
8580 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
8585 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
8586 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
8587 $as_echo_n "(cached) " >&6
8588 else
8589 ac_check_lib_save_LIBS=$LIBS
8590 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8592 /* end confdefs.h. */
8594 /* Override any GCC internal prototype to avoid an error.
8595 Use char because int might match the return type of a GCC
8596 builtin and then its argument prototype would still apply. */
8597 #ifdef __cplusplus
8598 extern "C"
8599 #endif
8600 char XRenderCreateLinearGradient ();
8602 main ()
8604 return XRenderCreateLinearGradient ();
8606 return 0;
8608 _ACEOF
8609 if ac_fn_c_try_link "$LINENO"; then :
8610 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
8611 else
8612 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
8614 rm -f core conftest.err conftest.$ac_objext \
8615 conftest$ac_exeext conftest.$ac_ext
8616 LIBS=$ac_check_lib_save_LIBS
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
8619 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
8620 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
8622 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
8629 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8630 case "x$with_xrender" in
8631 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
8632 xno) ;;
8633 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
8634 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
8635 esac
8638 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
8639 then
8640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8641 /* end confdefs.h. */
8642 #include <X11/Xlib.h>
8643 #include <X11/extensions/Xrandr.h>
8645 main ()
8647 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
8649 return 0;
8651 _ACEOF
8652 if ac_fn_c_try_compile "$LINENO"; then :
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
8654 $as_echo_n "checking for -lXrandr... " >&6; }
8655 if ${ac_cv_lib_soname_Xrandr+:} false; then :
8656 $as_echo_n "(cached) " >&6
8657 else
8658 ac_check_soname_save_LIBS=$LIBS
8659 LIBS="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8661 /* end confdefs.h. */
8663 /* Override any GCC internal prototype to avoid an error.
8664 Use char because int might match the return type of a GCC
8665 builtin and then its argument prototype would still apply. */
8666 #ifdef __cplusplus
8667 extern "C"
8668 #endif
8669 char XRRQueryExtension ();
8671 main ()
8673 return XRRQueryExtension ();
8675 return 0;
8677 _ACEOF
8678 if ac_fn_c_try_link "$LINENO"; then :
8679 case "$LIBEXT" in
8680 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8681 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'` ;;
8682 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8683 esac
8685 rm -f core conftest.err conftest.$ac_objext \
8686 conftest$ac_exeext conftest.$ac_ext
8687 LIBS=$ac_check_soname_save_LIBS
8689 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8691 $as_echo "not found" >&6; }
8693 else
8694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
8695 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
8697 cat >>confdefs.h <<_ACEOF
8698 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
8699 _ACEOF
8701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8702 /* end confdefs.h. */
8703 #include <X11/extensions/Xrandr.h>
8705 main ()
8707 static typeof(XRRGetScreenResources) *f; if (f) return 0;
8709 return 0;
8711 _ACEOF
8712 if ac_fn_c_try_compile "$LINENO"; then :
8714 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
8717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8722 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8723 case "x$with_xrandr" in
8724 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
8725 xno) ;;
8726 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
8727 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
8728 esac
8731 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8732 then
8733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8734 /* end confdefs.h. */
8735 #include <X11/Xlib.h>
8736 #include <X11/extensions/Xinerama.h>
8738 main ()
8740 static typeof(XineramaQueryScreens) * func; if (func) return 0;
8742 return 0;
8744 _ACEOF
8745 if ac_fn_c_try_compile "$LINENO"; then :
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
8747 $as_echo_n "checking for -lXinerama... " >&6; }
8748 if ${ac_cv_lib_soname_Xinerama+:} false; then :
8749 $as_echo_n "(cached) " >&6
8750 else
8751 ac_check_soname_save_LIBS=$LIBS
8752 LIBS="-lXinerama $X_LIBS $XLIB $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 XineramaQueryScreens ();
8764 main ()
8766 return XineramaQueryScreens ();
8768 return 0;
8770 _ACEOF
8771 if ac_fn_c_try_link "$LINENO"; then :
8772 case "$LIBEXT" in
8773 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8774 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'` ;;
8775 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$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_Xinerama" = "x"; then :
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8784 $as_echo "not found" >&6; }
8786 else
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
8788 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
8790 cat >>confdefs.h <<_ACEOF
8791 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
8792 _ACEOF
8797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8799 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8800 case "x$with_xinerama" in
8801 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
8802 xno) ;;
8803 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
8804 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
8805 esac
8808 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
8809 then
8810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
8811 $as_echo_n "checking for -lXcomposite... " >&6; }
8812 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
8813 $as_echo_n "(cached) " >&6
8814 else
8815 ac_check_soname_save_LIBS=$LIBS
8816 LIBS="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8818 /* end confdefs.h. */
8820 /* Override any GCC internal prototype to avoid an error.
8821 Use char because int might match the return type of a GCC
8822 builtin and then its argument prototype would still apply. */
8823 #ifdef __cplusplus
8824 extern "C"
8825 #endif
8826 char XCompositeRedirectWindow ();
8828 main ()
8830 return XCompositeRedirectWindow ();
8832 return 0;
8834 _ACEOF
8835 if ac_fn_c_try_link "$LINENO"; then :
8836 case "$LIBEXT" in
8837 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8838 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'` ;;
8839 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8840 esac
8842 rm -f core conftest.err conftest.$ac_objext \
8843 conftest$ac_exeext conftest.$ac_ext
8844 LIBS=$ac_check_soname_save_LIBS
8846 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8848 $as_echo "not found" >&6; }
8850 else
8851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
8852 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
8854 cat >>confdefs.h <<_ACEOF
8855 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
8856 _ACEOF
8861 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8862 case "x$with_xcomposite" in
8863 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
8864 xno) ;;
8865 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
8866 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
8867 esac
8870 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
8871 #include <X11/Xlib.h>
8872 #endif
8874 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
8876 cat >>confdefs.h <<_ACEOF
8877 #define HAVE_XICCALLBACK_CALLBACK 1
8878 _ACEOF
8882 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
8883 #include <X11/Xlib.h>
8884 #endif
8886 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
8888 cat >>confdefs.h <<_ACEOF
8889 #define HAVE_XEVENT_XCOOKIE 1
8890 _ACEOF
8897 opengl_msg=""
8898 if test "x$with_opengl" != "xno"
8899 then
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8901 $as_echo_n "checking for -lGL... " >&6; }
8902 if ${ac_cv_lib_soname_GL+:} false; then :
8903 $as_echo_n "(cached) " >&6
8904 else
8905 ac_check_soname_save_LIBS=$LIBS
8906 LIBS="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8908 /* end confdefs.h. */
8910 /* Override any GCC internal prototype to avoid an error.
8911 Use char because int might match the return type of a GCC
8912 builtin and then its argument prototype would still apply. */
8913 #ifdef __cplusplus
8914 extern "C"
8915 #endif
8916 char glXCreateContext ();
8918 main ()
8920 return glXCreateContext ();
8922 return 0;
8924 _ACEOF
8925 if ac_fn_c_try_link "$LINENO"; then :
8926 case "$LIBEXT" in
8927 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8928 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'` ;;
8929 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8930 esac
8932 rm -f core conftest.err conftest.$ac_objext \
8933 conftest$ac_exeext conftest.$ac_ext
8934 LIBS=$ac_check_soname_save_LIBS
8936 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8938 $as_echo "not found" >&6; }
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8940 $as_echo_n "checking for -lGL... " >&6; }
8941 if ${ac_cv_lib_soname_GL+:} false; then :
8942 $as_echo_n "(cached) " >&6
8943 else
8944 ac_check_soname_save_LIBS=$LIBS
8945 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"
8946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8947 /* end confdefs.h. */
8949 /* Override any GCC internal prototype to avoid an error.
8950 Use char because int might match the return type of a GCC
8951 builtin and then its argument prototype would still apply. */
8952 #ifdef __cplusplus
8953 extern "C"
8954 #endif
8955 char glXCreateContext ();
8957 main ()
8959 return glXCreateContext ();
8961 return 0;
8963 _ACEOF
8964 if ac_fn_c_try_link "$LINENO"; then :
8965 case "$LIBEXT" in
8966 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8967 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'` ;;
8968 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8969 esac
8971 rm -f core conftest.err conftest.$ac_objext \
8972 conftest$ac_exeext conftest.$ac_ext
8973 LIBS=$ac_check_soname_save_LIBS
8975 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8977 $as_echo "not found" >&6; }
8978 if test -f /usr/X11R6/lib/libGL.a
8979 then
8980 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
8981 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
8982 else
8983 opengl_msg="No OpenGL library found on this system."
8985 else
8986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8987 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8989 cat >>confdefs.h <<_ACEOF
8990 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8991 _ACEOF
8993 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"
8995 else
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8997 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8999 cat >>confdefs.h <<_ACEOF
9000 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9001 _ACEOF
9003 OPENGL_LIBS="-lGL"
9005 if test "x$with_glu" != "xno"
9006 then
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
9008 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
9009 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
9010 $as_echo_n "(cached) " >&6
9011 else
9012 ac_check_lib_save_LIBS=$LIBS
9013 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9015 /* end confdefs.h. */
9017 /* Override any GCC internal prototype to avoid an error.
9018 Use char because int might match the return type of a GCC
9019 builtin and then its argument prototype would still apply. */
9020 #ifdef __cplusplus
9021 extern "C"
9022 #endif
9023 char gluLookAt ();
9025 main ()
9027 return gluLookAt ();
9029 return 0;
9031 _ACEOF
9032 if ac_fn_c_try_link "$LINENO"; then :
9033 ac_cv_lib_GLU_gluLookAt=yes
9034 else
9035 ac_cv_lib_GLU_gluLookAt=no
9037 rm -f core conftest.err conftest.$ac_objext \
9038 conftest$ac_exeext conftest.$ac_ext
9039 LIBS=$ac_check_lib_save_LIBS
9041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
9042 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
9043 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
9047 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
9048 case "x$with_glu" in
9049 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
9050 xno) ;;
9051 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
9052 This is an error since --with-glu was requested." "$LINENO" 5 ;;
9053 esac
9057 if test "x$with_osmesa" != "xno"
9058 then
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
9060 $as_echo_n "checking for -lOSMesa... " >&6; }
9061 if ${ac_cv_lib_soname_OSMesa+:} false; then :
9062 $as_echo_n "(cached) " >&6
9063 else
9064 ac_check_soname_save_LIBS=$LIBS
9065 LIBS="-lOSMesa $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9067 /* end confdefs.h. */
9069 /* Override any GCC internal prototype to avoid an error.
9070 Use char because int might match the return type of a GCC
9071 builtin and then its argument prototype would still apply. */
9072 #ifdef __cplusplus
9073 extern "C"
9074 #endif
9075 char glAccum ();
9077 main ()
9079 return glAccum ();
9081 return 0;
9083 _ACEOF
9084 if ac_fn_c_try_link "$LINENO"; then :
9085 case "$LIBEXT" in
9086 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9087 dylib) ac_cv_lib_soname_OSMesa=`otool -L conftest$ac_exeext | grep "libOSMesa\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libOSMesa\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9088 *) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9089 esac
9091 rm -f core conftest.err conftest.$ac_objext \
9092 conftest$ac_exeext conftest.$ac_ext
9093 LIBS=$ac_check_soname_save_LIBS
9095 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9097 $as_echo "not found" >&6; }
9099 else
9100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
9101 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
9103 cat >>confdefs.h <<_ACEOF
9104 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
9105 _ACEOF
9109 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9110 case "x$with_osmesa" in
9111 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
9112 xno) ;;
9113 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
9114 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
9115 esac
9119 if test -n "$opengl_msg"; then :
9120 case "x$with_opengl" in
9121 x) as_fn_append wine_warnings "|$opengl_msg
9122 OpenGL and Direct3D won't be supported." ;;
9123 xno) ;;
9124 *) as_fn_error $? "$opengl_msg
9125 OpenGL and Direct3D won't be supported.
9126 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
9127 esac
9130 CPPFLAGS="$ac_save_CPPFLAGS"
9131 else
9132 XLIB=""
9133 X_CFLAGS=""
9134 X_LIBS=""
9135 enable_winex11_drv=${enable_winex11_drv:-no}
9137 if test "x$XLIB" = "x"; then :
9138 case "x$with_x" in
9139 xno) ;;
9140 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
9141 without X support, which probably isn't what you want. You will need
9142 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
9143 Use the --without-x option if you really want this." "$LINENO" 5 ;;
9144 esac
9147 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
9149 if test "$ac_cv_header_CL_cl_h" = "yes"
9150 then
9151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
9152 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
9153 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
9154 $as_echo_n "(cached) " >&6
9155 else
9156 ac_check_lib_save_LIBS=$LIBS
9157 LIBS="-lOpenCL $LIBS"
9158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9159 /* end confdefs.h. */
9161 /* Override any GCC internal prototype to avoid an error.
9162 Use char because int might match the return type of a GCC
9163 builtin and then its argument prototype would still apply. */
9164 #ifdef __cplusplus
9165 extern "C"
9166 #endif
9167 char clGetPlatformInfo ();
9169 main ()
9171 return clGetPlatformInfo ();
9173 return 0;
9175 _ACEOF
9176 if ac_fn_c_try_link "$LINENO"; then :
9177 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9178 else
9179 ac_cv_lib_OpenCL_clGetPlatformInfo=no
9181 rm -f core conftest.err conftest.$ac_objext \
9182 conftest$ac_exeext conftest.$ac_ext
9183 LIBS=$ac_check_lib_save_LIBS
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
9186 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
9187 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
9188 LIBOPENCL="-lOpenCL"
9193 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
9194 case "x$with_opencl" in
9195 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
9196 xno) ;;
9197 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
9198 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
9199 esac
9201 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
9204 XML2LIBS=""
9206 XML2INCL=""
9208 XSLTINCL=""
9210 if test "x$with_xml" != "xno"
9211 then
9212 ac_save_CPPFLAGS="$CPPFLAGS"
9213 if test "$PKG_CONFIG" != "false"
9214 then
9215 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
9216 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
9217 else
9218 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
9219 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
9221 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
9222 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
9223 do :
9224 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9225 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9226 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9227 cat >>confdefs.h <<_ACEOF
9228 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9229 _ACEOF
9233 done
9235 if test "$ac_cv_header_libxml_parser_h" = "yes" -a "$ac_cv_header_libxml_xmlsave_h" = "yes" -a "$ac_cv_header_libxml_SAX2_h" = "yes"
9236 then
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
9238 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
9239 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
9240 $as_echo_n "(cached) " >&6
9241 else
9242 ac_check_lib_save_LIBS=$LIBS
9243 LIBS="-lxml2 $ac_xml_libs $LIBS"
9244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9245 /* end confdefs.h. */
9247 /* Override any GCC internal prototype to avoid an error.
9248 Use char because int might match the return type of a GCC
9249 builtin and then its argument prototype would still apply. */
9250 #ifdef __cplusplus
9251 extern "C"
9252 #endif
9253 char xmlParseMemory ();
9255 main ()
9257 return xmlParseMemory ();
9259 return 0;
9261 _ACEOF
9262 if ac_fn_c_try_link "$LINENO"; then :
9263 ac_cv_lib_xml2_xmlParseMemory=yes
9264 else
9265 ac_cv_lib_xml2_xmlParseMemory=no
9267 rm -f core conftest.err conftest.$ac_objext \
9268 conftest$ac_exeext conftest.$ac_ext
9269 LIBS=$ac_check_lib_save_LIBS
9271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9272 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9273 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
9275 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
9277 XML2LIBS="$ac_xml_libs"
9278 XML2INCL="$ac_xml_cflags"
9281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
9282 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
9283 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
9284 $as_echo_n "(cached) " >&6
9285 else
9286 ac_check_lib_save_LIBS=$LIBS
9287 LIBS="-lxml2 $ac_xml_libs $LIBS"
9288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9289 /* end confdefs.h. */
9291 /* Override any GCC internal prototype to avoid an error.
9292 Use char because int might match the return type of a GCC
9293 builtin and then its argument prototype would still apply. */
9294 #ifdef __cplusplus
9295 extern "C"
9296 #endif
9297 char xmlReadMemory ();
9299 main ()
9301 return xmlReadMemory ();
9303 return 0;
9305 _ACEOF
9306 if ac_fn_c_try_link "$LINENO"; then :
9307 ac_cv_lib_xml2_xmlReadMemory=yes
9308 else
9309 ac_cv_lib_xml2_xmlReadMemory=no
9311 rm -f core conftest.err conftest.$ac_objext \
9312 conftest$ac_exeext conftest.$ac_ext
9313 LIBS=$ac_check_lib_save_LIBS
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9316 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9317 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
9319 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
9323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
9324 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
9325 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
9326 $as_echo_n "(cached) " >&6
9327 else
9328 ac_check_lib_save_LIBS=$LIBS
9329 LIBS="-lxml2 $ac_xml_libs $LIBS"
9330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9331 /* end confdefs.h. */
9333 /* Override any GCC internal prototype to avoid an error.
9334 Use char because int might match the return type of a GCC
9335 builtin and then its argument prototype would still apply. */
9336 #ifdef __cplusplus
9337 extern "C"
9338 #endif
9339 char xmlNewDocPI ();
9341 main ()
9343 return xmlNewDocPI ();
9345 return 0;
9347 _ACEOF
9348 if ac_fn_c_try_link "$LINENO"; then :
9349 ac_cv_lib_xml2_xmlNewDocPI=yes
9350 else
9351 ac_cv_lib_xml2_xmlNewDocPI=no
9353 rm -f core conftest.err conftest.$ac_objext \
9354 conftest$ac_exeext conftest.$ac_ext
9355 LIBS=$ac_check_lib_save_LIBS
9357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9358 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9359 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
9361 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
9366 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
9367 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
9368 $as_echo_n "(cached) " >&6
9369 else
9370 ac_check_lib_save_LIBS=$LIBS
9371 LIBS="-lxml2 $ac_xml_libs $LIBS"
9372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9373 /* end confdefs.h. */
9375 /* Override any GCC internal prototype to avoid an error.
9376 Use char because int might match the return type of a GCC
9377 builtin and then its argument prototype would still apply. */
9378 #ifdef __cplusplus
9379 extern "C"
9380 #endif
9381 char xmlSchemaSetParserStructuredErrors ();
9383 main ()
9385 return xmlSchemaSetParserStructuredErrors ();
9387 return 0;
9389 _ACEOF
9390 if ac_fn_c_try_link "$LINENO"; then :
9391 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
9392 else
9393 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
9395 rm -f core conftest.err conftest.$ac_objext \
9396 conftest$ac_exeext conftest.$ac_ext
9397 LIBS=$ac_check_lib_save_LIBS
9399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
9400 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
9401 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
9403 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
9407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
9408 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
9409 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
9410 $as_echo_n "(cached) " >&6
9411 else
9412 ac_check_lib_save_LIBS=$LIBS
9413 LIBS="-lxml2 $ac_xml_libs $LIBS"
9414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9415 /* end confdefs.h. */
9417 /* Override any GCC internal prototype to avoid an error.
9418 Use char because int might match the return type of a GCC
9419 builtin and then its argument prototype would still apply. */
9420 #ifdef __cplusplus
9421 extern "C"
9422 #endif
9423 char xmlSchemaSetValidStructuredErrors ();
9425 main ()
9427 return xmlSchemaSetValidStructuredErrors ();
9429 return 0;
9431 _ACEOF
9432 if ac_fn_c_try_link "$LINENO"; then :
9433 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
9434 else
9435 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
9437 rm -f core conftest.err conftest.$ac_objext \
9438 conftest$ac_exeext conftest.$ac_ext
9439 LIBS=$ac_check_lib_save_LIBS
9441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
9442 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
9443 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
9445 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
9450 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
9451 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
9452 $as_echo_n "(cached) " >&6
9453 else
9454 ac_check_lib_save_LIBS=$LIBS
9455 LIBS="-lxml2 $ac_xml_libs $LIBS"
9456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9457 /* end confdefs.h. */
9459 /* Override any GCC internal prototype to avoid an error.
9460 Use char because int might match the return type of a GCC
9461 builtin and then its argument prototype would still apply. */
9462 #ifdef __cplusplus
9463 extern "C"
9464 #endif
9465 char xmlFirstElementChild ();
9467 main ()
9469 return xmlFirstElementChild ();
9471 return 0;
9473 _ACEOF
9474 if ac_fn_c_try_link "$LINENO"; then :
9475 ac_cv_lib_xml2_xmlFirstElementChild=yes
9476 else
9477 ac_cv_lib_xml2_xmlFirstElementChild=no
9479 rm -f core conftest.err conftest.$ac_objext \
9480 conftest$ac_exeext conftest.$ac_ext
9481 LIBS=$ac_check_lib_save_LIBS
9483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
9484 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
9485 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
9487 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
9491 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
9493 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
9495 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
9500 CPPFLAGS="$ac_save_CPPFLAGS"
9502 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
9503 case "x$with_xml" in
9504 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
9505 xno) ;;
9506 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
9507 This is an error since --with-xml was requested." "$LINENO" 5 ;;
9508 esac
9511 if test "x$with_xslt" != "xno"
9512 then
9513 if test "$PKG_CONFIG" != "false"
9514 then
9515 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9516 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9517 else
9518 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
9519 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
9521 ac_save_CPPFLAGS="$CPPFLAGS"
9522 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
9523 for ac_header in libxslt/pattern.h libxslt/transform.h
9524 do :
9525 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9526 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
9527 # include <libxslt/pattern.h>
9528 #endif
9530 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9531 cat >>confdefs.h <<_ACEOF
9532 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9533 _ACEOF
9537 done
9539 CPPFLAGS="$ac_save_CPPFLAGS"
9540 if test "$ac_cv_header_libxslt_transform_h" = "yes"
9541 then
9542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
9543 $as_echo_n "checking for -lxslt... " >&6; }
9544 if ${ac_cv_lib_soname_xslt+:} false; then :
9545 $as_echo_n "(cached) " >&6
9546 else
9547 ac_check_soname_save_LIBS=$LIBS
9548 LIBS="-lxslt $ac_xslt_libs $LIBS"
9549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9550 /* end confdefs.h. */
9552 /* Override any GCC internal prototype to avoid an error.
9553 Use char because int might match the return type of a GCC
9554 builtin and then its argument prototype would still apply. */
9555 #ifdef __cplusplus
9556 extern "C"
9557 #endif
9558 char xsltCompilePattern ();
9560 main ()
9562 return xsltCompilePattern ();
9564 return 0;
9566 _ACEOF
9567 if ac_fn_c_try_link "$LINENO"; then :
9568 case "$LIBEXT" in
9569 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9570 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'` ;;
9571 *) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9572 esac
9574 rm -f core conftest.err conftest.$ac_objext \
9575 conftest$ac_exeext conftest.$ac_ext
9576 LIBS=$ac_check_soname_save_LIBS
9578 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9580 $as_echo "not found" >&6; }
9582 else
9583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
9584 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
9586 cat >>confdefs.h <<_ACEOF
9587 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
9588 _ACEOF
9590 XSLTINCL="$ac_xslt_cflags"
9594 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9595 case "x$with_xslt" in
9596 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
9597 xno) ;;
9598 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
9599 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
9600 esac
9603 if test "x$with_dbus" != "xno"
9604 then
9605 ac_save_CPPFLAGS="$CPPFLAGS"
9606 if test "$PKG_CONFIG" != "false"
9607 then
9608 ac_dbus_libs="`$PKG_CONFIG --libs dbus-1 2>/dev/null`"
9609 ac_dbus_cflags="`$PKG_CONFIG --cflags dbus-1 2>/dev/null`"
9610 CPPFLAGS="$CPPFLAGS $ac_dbus_cflags"
9612 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
9613 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
9614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
9615 $as_echo_n "checking for -ldbus-1... " >&6; }
9616 if ${ac_cv_lib_soname_dbus_1+:} false; then :
9617 $as_echo_n "(cached) " >&6
9618 else
9619 ac_check_soname_save_LIBS=$LIBS
9620 LIBS="-ldbus-1 $ac_dbus_libs $LIBS"
9621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9622 /* end confdefs.h. */
9624 /* Override any GCC internal prototype to avoid an error.
9625 Use char because int might match the return type of a GCC
9626 builtin and then its argument prototype would still apply. */
9627 #ifdef __cplusplus
9628 extern "C"
9629 #endif
9630 char dbus_connection_close ();
9632 main ()
9634 return dbus_connection_close ();
9636 return 0;
9638 _ACEOF
9639 if ac_fn_c_try_link "$LINENO"; then :
9640 case "$LIBEXT" in
9641 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9642 dylib) ac_cv_lib_soname_dbus_1=`otool -L conftest$ac_exeext | grep "libdbus-1\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libdbus-1\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9643 *) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9644 esac
9646 rm -f core conftest.err conftest.$ac_objext \
9647 conftest$ac_exeext conftest.$ac_ext
9648 LIBS=$ac_check_soname_save_LIBS
9650 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
9651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9652 $as_echo "not found" >&6; }
9654 else
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
9656 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
9658 cat >>confdefs.h <<_ACEOF
9659 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
9660 _ACEOF
9662 DBUSINCL="$ac_dbus_cflags"
9668 CPPFLAGS="$ac_save_CPPFLAGS"
9670 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
9671 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
9672 case "x$with_dbus" in
9673 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
9674 xno) ;;
9675 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
9676 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
9677 esac
9680 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
9681 then
9682 ac_save_CPPFLAGS="$CPPFLAGS"
9683 if test "$PKG_CONFIG" != "false"
9684 then
9685 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
9686 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
9687 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
9689 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
9690 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
9692 $as_echo_n "checking for -lhal... " >&6; }
9693 if ${ac_cv_lib_soname_hal+:} false; then :
9694 $as_echo_n "(cached) " >&6
9695 else
9696 ac_check_soname_save_LIBS=$LIBS
9697 LIBS="-lhal $ac_hal_libs $LIBS"
9698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9699 /* end confdefs.h. */
9701 /* Override any GCC internal prototype to avoid an error.
9702 Use char because int might match the return type of a GCC
9703 builtin and then its argument prototype would still apply. */
9704 #ifdef __cplusplus
9705 extern "C"
9706 #endif
9707 char libhal_ctx_new ();
9709 main ()
9711 return libhal_ctx_new ();
9713 return 0;
9715 _ACEOF
9716 if ac_fn_c_try_link "$LINENO"; then :
9717 case "$LIBEXT" in
9718 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9719 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'` ;;
9720 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9721 esac
9723 rm -f core conftest.err conftest.$ac_objext \
9724 conftest$ac_exeext conftest.$ac_ext
9725 LIBS=$ac_check_soname_save_LIBS
9727 if test "x$ac_cv_lib_soname_hal" = "x"; then :
9728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9729 $as_echo "not found" >&6; }
9731 else
9732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
9733 $as_echo "$ac_cv_lib_soname_hal" >&6; }
9735 cat >>confdefs.h <<_ACEOF
9736 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
9737 _ACEOF
9739 HALINCL="$ac_hal_cflags"
9745 CPPFLAGS="$ac_save_CPPFLAGS"
9746 if test "x$ac_cv_lib_soname_hal" = "x" -a \
9747 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
9748 case "x$with_hal" in
9749 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
9750 xno) ;;
9751 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
9752 This is an error since --with-hal was requested." "$LINENO" 5 ;;
9753 esac
9757 if test "x$with_gnutls" != "xno"
9758 then
9759 ac_save_CPPFLAGS="$CPPFLAGS"
9760 if test "$PKG_CONFIG" != "false"
9761 then
9762 ac_gnutls_libs="`$PKG_CONFIG --libs gnutls 2>/dev/null`"
9763 ac_gnutls_cflags="`$PKG_CONFIG --cflags gnutls 2>/dev/null`"
9764 CPPFLAGS="$CPPFLAGS $ac_gnutls_cflags"
9766 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
9767 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
9768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9769 /* end confdefs.h. */
9770 #include <gnutls/gnutls.h>
9772 main ()
9774 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
9776 return 0;
9778 _ACEOF
9779 if ac_fn_c_try_compile "$LINENO"; then :
9780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
9781 $as_echo_n "checking for -lgnutls... " >&6; }
9782 if ${ac_cv_lib_soname_gnutls+:} false; then :
9783 $as_echo_n "(cached) " >&6
9784 else
9785 ac_check_soname_save_LIBS=$LIBS
9786 LIBS="-lgnutls $ac_gnutls_libs $LIBS"
9787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9788 /* end confdefs.h. */
9790 /* Override any GCC internal prototype to avoid an error.
9791 Use char because int might match the return type of a GCC
9792 builtin and then its argument prototype would still apply. */
9793 #ifdef __cplusplus
9794 extern "C"
9795 #endif
9796 char gnutls_global_init ();
9798 main ()
9800 return gnutls_global_init ();
9802 return 0;
9804 _ACEOF
9805 if ac_fn_c_try_link "$LINENO"; then :
9806 case "$LIBEXT" in
9807 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9808 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'` ;;
9809 *) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9810 esac
9812 rm -f core conftest.err conftest.$ac_objext \
9813 conftest$ac_exeext conftest.$ac_ext
9814 LIBS=$ac_check_soname_save_LIBS
9816 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9818 $as_echo "not found" >&6; }
9820 else
9821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
9822 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
9824 cat >>confdefs.h <<_ACEOF
9825 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
9826 _ACEOF
9828 GNUTLSINCL="$ac_gnutls_cflags"
9832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9836 CPPFLAGS="$ac_save_CPPFLAGS"
9838 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9839 case "x$with_gnutls" in
9840 x) as_fn_append wine_notices "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
9841 xno) ;;
9842 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
9843 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
9844 esac
9847 CURSESLIBS=""
9848 if test "$ac_cv_header_ncurses_h" = "yes"
9849 then
9850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
9851 $as_echo_n "checking for -lncurses... " >&6; }
9852 if ${ac_cv_lib_soname_ncurses+:} false; then :
9853 $as_echo_n "(cached) " >&6
9854 else
9855 ac_check_soname_save_LIBS=$LIBS
9856 LIBS="-lncurses $LIBS"
9857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9858 /* end confdefs.h. */
9860 /* Override any GCC internal prototype to avoid an error.
9861 Use char because int might match the return type of a GCC
9862 builtin and then its argument prototype would still apply. */
9863 #ifdef __cplusplus
9864 extern "C"
9865 #endif
9866 char waddch ();
9868 main ()
9870 return waddch ();
9872 return 0;
9874 _ACEOF
9875 if ac_fn_c_try_link "$LINENO"; then :
9876 case "$LIBEXT" in
9877 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9878 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'` ;;
9879 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9880 esac
9882 rm -f core conftest.err conftest.$ac_objext \
9883 conftest$ac_exeext conftest.$ac_ext
9884 LIBS=$ac_check_soname_save_LIBS
9886 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
9887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9888 $as_echo "not found" >&6; }
9890 else
9891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
9892 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
9894 cat >>confdefs.h <<_ACEOF
9895 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
9896 _ACEOF
9898 CURSESLIBS="-lncurses"
9900 elif test "$ac_cv_header_curses_h" = "yes"
9901 then
9902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
9903 $as_echo_n "checking for -lcurses... " >&6; }
9904 if ${ac_cv_lib_soname_curses+:} false; then :
9905 $as_echo_n "(cached) " >&6
9906 else
9907 ac_check_soname_save_LIBS=$LIBS
9908 LIBS="-lcurses $LIBS"
9909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9910 /* end confdefs.h. */
9912 /* Override any GCC internal prototype to avoid an error.
9913 Use char because int might match the return type of a GCC
9914 builtin and then its argument prototype would still apply. */
9915 #ifdef __cplusplus
9916 extern "C"
9917 #endif
9918 char waddch ();
9920 main ()
9922 return waddch ();
9924 return 0;
9926 _ACEOF
9927 if ac_fn_c_try_link "$LINENO"; then :
9928 case "$LIBEXT" in
9929 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9930 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'` ;;
9931 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9932 esac
9934 rm -f core conftest.err conftest.$ac_objext \
9935 conftest$ac_exeext conftest.$ac_ext
9936 LIBS=$ac_check_soname_save_LIBS
9938 if test "x$ac_cv_lib_soname_curses" = "x"; then :
9939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9940 $as_echo "not found" >&6; }
9942 else
9943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
9944 $as_echo "$ac_cv_lib_soname_curses" >&6; }
9946 cat >>confdefs.h <<_ACEOF
9947 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
9948 _ACEOF
9950 CURSESLIBS="-lcurses"
9953 ac_save_LIBS="$LIBS"
9954 LIBS="$LIBS $CURSESLIBS"
9955 for ac_func in mousemask
9956 do :
9957 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
9958 if test "x$ac_cv_func_mousemask" = xyes; then :
9959 cat >>confdefs.h <<_ACEOF
9960 #define HAVE_MOUSEMASK 1
9961 _ACEOF
9964 done
9966 LIBS="$ac_save_LIBS"
9967 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
9968 case "x$with_curses" in
9969 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
9970 xno) ;;
9971 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
9972 This is an error since --with-curses was requested." "$LINENO" 5 ;;
9973 esac
9976 if test "x$with_sane" != "xno"
9977 then
9978 ac_save_CPPFLAGS="$CPPFLAGS"
9979 # Extract the first word of "sane-config", so it can be a program name with args.
9980 set dummy sane-config; ac_word=$2
9981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9982 $as_echo_n "checking for $ac_word... " >&6; }
9983 if ${ac_cv_prog_sane_devel+:} false; then :
9984 $as_echo_n "(cached) " >&6
9985 else
9986 if test -n "$sane_devel"; then
9987 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
9988 else
9989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9990 for as_dir in $PATH
9992 IFS=$as_save_IFS
9993 test -z "$as_dir" && as_dir=.
9994 for ac_exec_ext in '' $ac_executable_extensions; do
9995 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9996 ac_cv_prog_sane_devel="sane-config"
9997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9998 break 2
10000 done
10001 done
10002 IFS=$as_save_IFS
10004 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
10007 sane_devel=$ac_cv_prog_sane_devel
10008 if test -n "$sane_devel"; then
10009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sane_devel" >&5
10010 $as_echo "$sane_devel" >&6; }
10011 else
10012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10013 $as_echo "no" >&6; }
10017 if test "$sane_devel" != "no"
10018 then
10019 ac_sane_incl="`$sane_devel --cflags`"
10020 ac_sane_libs="`$sane_devel --ldflags`"
10021 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
10023 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
10024 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
10026 $as_echo_n "checking for -lsane... " >&6; }
10027 if ${ac_cv_lib_soname_sane+:} false; then :
10028 $as_echo_n "(cached) " >&6
10029 else
10030 ac_check_soname_save_LIBS=$LIBS
10031 LIBS="-lsane $ac_sane_libs $LIBS"
10032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10033 /* end confdefs.h. */
10035 /* Override any GCC internal prototype to avoid an error.
10036 Use char because int might match the return type of a GCC
10037 builtin and then its argument prototype would still apply. */
10038 #ifdef __cplusplus
10039 extern "C"
10040 #endif
10041 char sane_init ();
10043 main ()
10045 return sane_init ();
10047 return 0;
10049 _ACEOF
10050 if ac_fn_c_try_link "$LINENO"; then :
10051 case "$LIBEXT" in
10052 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10053 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'` ;;
10054 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10055 esac
10057 rm -f core conftest.err conftest.$ac_objext \
10058 conftest$ac_exeext conftest.$ac_ext
10059 LIBS=$ac_check_soname_save_LIBS
10061 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10063 $as_echo "not found" >&6; }
10065 else
10066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
10067 $as_echo "$ac_cv_lib_soname_sane" >&6; }
10069 cat >>confdefs.h <<_ACEOF
10070 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
10071 _ACEOF
10073 SANEINCL="$ac_sane_incl"
10079 CPPFLAGS="$ac_save_CPPFLAGS"
10081 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10082 case "x$with_sane" in
10083 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
10084 xno) ;;
10085 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
10086 This is an error since --with-sane was requested." "$LINENO" 5 ;;
10087 esac
10090 if test "x$with_v4l" != "xno"
10091 then
10092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
10093 $as_echo_n "checking for -lv4l1... " >&6; }
10094 if ${ac_cv_lib_soname_v4l1+:} false; then :
10095 $as_echo_n "(cached) " >&6
10096 else
10097 ac_check_soname_save_LIBS=$LIBS
10098 LIBS="-lv4l1 $LIBS"
10099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10100 /* end confdefs.h. */
10102 /* Override any GCC internal prototype to avoid an error.
10103 Use char because int might match the return type of a GCC
10104 builtin and then its argument prototype would still apply. */
10105 #ifdef __cplusplus
10106 extern "C"
10107 #endif
10108 char v4l1_open ();
10110 main ()
10112 return v4l1_open ();
10114 return 0;
10116 _ACEOF
10117 if ac_fn_c_try_link "$LINENO"; then :
10118 case "$LIBEXT" in
10119 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10120 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'` ;;
10121 *) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10122 esac
10124 rm -f core conftest.err conftest.$ac_objext \
10125 conftest$ac_exeext conftest.$ac_ext
10126 LIBS=$ac_check_soname_save_LIBS
10128 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10130 $as_echo "not found" >&6; }
10132 else
10133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
10134 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
10136 cat >>confdefs.h <<_ACEOF
10137 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
10138 _ACEOF
10143 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10144 case "x$with_v4l" in
10145 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
10146 xno) ;;
10147 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
10148 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
10149 esac
10152 if test "x$with_gphoto" != "xno"
10153 then
10154 ac_save_CPPFLAGS="$CPPFLAGS"
10155 # Extract the first word of "gphoto2-config", so it can be a program name with args.
10156 set dummy gphoto2-config; ac_word=$2
10157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10158 $as_echo_n "checking for $ac_word... " >&6; }
10159 if ${ac_cv_prog_gphoto2_devel+:} false; then :
10160 $as_echo_n "(cached) " >&6
10161 else
10162 if test -n "$gphoto2_devel"; then
10163 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
10164 else
10165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10166 for as_dir in $PATH
10168 IFS=$as_save_IFS
10169 test -z "$as_dir" && as_dir=.
10170 for ac_exec_ext in '' $ac_executable_extensions; do
10171 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10172 ac_cv_prog_gphoto2_devel="gphoto2-config"
10173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10174 break 2
10176 done
10177 done
10178 IFS=$as_save_IFS
10180 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
10183 gphoto2_devel=$ac_cv_prog_gphoto2_devel
10184 if test -n "$gphoto2_devel"; then
10185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2_devel" >&5
10186 $as_echo "$gphoto2_devel" >&6; }
10187 else
10188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10189 $as_echo "no" >&6; }
10193 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10194 set dummy gphoto2-port-config; ac_word=$2
10195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10196 $as_echo_n "checking for $ac_word... " >&6; }
10197 if ${ac_cv_prog_gphoto2port_devel+:} false; then :
10198 $as_echo_n "(cached) " >&6
10199 else
10200 if test -n "$gphoto2port_devel"; then
10201 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
10202 else
10203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10204 for as_dir in $PATH
10206 IFS=$as_save_IFS
10207 test -z "$as_dir" && as_dir=.
10208 for ac_exec_ext in '' $ac_executable_extensions; do
10209 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10210 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
10211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10212 break 2
10214 done
10215 done
10216 IFS=$as_save_IFS
10218 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
10221 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
10222 if test -n "$gphoto2port_devel"; then
10223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2port_devel" >&5
10224 $as_echo "$gphoto2port_devel" >&6; }
10225 else
10226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10227 $as_echo "no" >&6; }
10231 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10232 then
10233 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10234 ac_gphoto2_libs=""
10235 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10237 case "$i" in
10238 -L/usr/lib|-L/usr/lib64) ;;
10239 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
10240 esac
10241 done
10242 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
10244 ac_gphoto2_libs=${ac_gphoto2_libs:-"-lgphoto2"}
10245 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
10246 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
10247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
10248 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
10249 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
10250 $as_echo_n "(cached) " >&6
10251 else
10252 ac_check_lib_save_LIBS=$LIBS
10253 LIBS="-lgphoto2 $ac_gphoto2_libs $LIBS"
10254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10255 /* end confdefs.h. */
10257 /* Override any GCC internal prototype to avoid an error.
10258 Use char because int might match the return type of a GCC
10259 builtin and then its argument prototype would still apply. */
10260 #ifdef __cplusplus
10261 extern "C"
10262 #endif
10263 char gp_camera_new ();
10265 main ()
10267 return gp_camera_new ();
10269 return 0;
10271 _ACEOF
10272 if ac_fn_c_try_link "$LINENO"; then :
10273 ac_cv_lib_gphoto2_gp_camera_new=yes
10274 else
10275 ac_cv_lib_gphoto2_gp_camera_new=no
10277 rm -f core conftest.err conftest.$ac_objext \
10278 conftest$ac_exeext conftest.$ac_ext
10279 LIBS=$ac_check_lib_save_LIBS
10281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10282 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10283 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
10285 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
10287 GPHOTO2LIBS="$ac_gphoto2_libs"
10289 GPHOTO2INCL="$ac_gphoto2_incl"
10296 CPPFLAGS="$ac_save_CPPFLAGS"
10298 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
10299 case "x$with_gphoto" in
10300 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
10301 xno) ;;
10302 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
10303 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10304 esac
10308 if test "$ac_cv_header_resolv_h" = "yes"
10309 then
10310 ac_save_LIBS="$LIBS"
10311 for lib in '' -lresolv
10313 LIBS="$lib $ac_save_LIBS"
10314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10315 /* end confdefs.h. */
10316 #ifdef HAVE_NETINET_IN_H
10317 #include <netinet/in.h>
10318 #endif
10319 #include <resolv.h>
10321 main ()
10323 res_query("foo",ns_c_in,0,0,0);
10325 return 0;
10327 _ACEOF
10328 if ac_fn_c_try_link "$LINENO"; then :
10330 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
10332 RESOLVLIBS="$lib"
10335 rm -f core conftest.err conftest.$ac_objext \
10336 conftest$ac_exeext conftest.$ac_ext
10337 if test "${RESOLVLIBS+set}" = set; then
10338 break
10340 done
10341 LIBS="$ac_save_LIBS"
10344 LCMSLIBS=""
10346 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10347 then
10348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms" >&5
10349 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms... " >&6; }
10350 if ${ac_cv_lib_lcms_cmsOpenProfileFromFile+:} false; then :
10351 $as_echo_n "(cached) " >&6
10352 else
10353 ac_check_lib_save_LIBS=$LIBS
10354 LIBS="-llcms $LIBS"
10355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10356 /* end confdefs.h. */
10358 /* Override any GCC internal prototype to avoid an error.
10359 Use char because int might match the return type of a GCC
10360 builtin and then its argument prototype would still apply. */
10361 #ifdef __cplusplus
10362 extern "C"
10363 #endif
10364 char cmsOpenProfileFromFile ();
10366 main ()
10368 return cmsOpenProfileFromFile ();
10370 return 0;
10372 _ACEOF
10373 if ac_fn_c_try_link "$LINENO"; then :
10374 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
10375 else
10376 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
10378 rm -f core conftest.err conftest.$ac_objext \
10379 conftest$ac_exeext conftest.$ac_ext
10380 LIBS=$ac_check_lib_save_LIBS
10382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10383 $as_echo "$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10384 if test "x$ac_cv_lib_lcms_cmsOpenProfileFromFile" = xyes; then :
10386 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
10388 LCMSLIBS="-llcms"
10392 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then :
10393 case "x$with_cms" in
10394 x) as_fn_append wine_notices "|liblcms ${notice_platform}development files not found, Color Management won't be supported." ;;
10395 xno) ;;
10396 *) as_fn_error $? "liblcms ${notice_platform}development files not found, Color Management won't be supported.
10397 This is an error since --with-cms was requested." "$LINENO" 5 ;;
10398 esac
10401 if test "x$with_freetype" != "xno"
10402 then
10403 if test "$PKG_CONFIG" != "false"
10404 then
10405 ac_freetype_incl="`$PKG_CONFIG --cflags freetype2 2>/dev/null`"
10406 ac_freetype_libs="`$PKG_CONFIG --libs freetype2 2>/dev/null`"
10407 else
10408 for ac_prog in freetype-config freetype2-config
10410 # Extract the first word of "$ac_prog", so it can be a program name with args.
10411 set dummy $ac_prog; ac_word=$2
10412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10413 $as_echo_n "checking for $ac_word... " >&6; }
10414 if ${ac_cv_prog_ft_devel+:} false; then :
10415 $as_echo_n "(cached) " >&6
10416 else
10417 if test -n "$ft_devel"; then
10418 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
10419 else
10420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10421 for as_dir in $PATH
10423 IFS=$as_save_IFS
10424 test -z "$as_dir" && as_dir=.
10425 for ac_exec_ext in '' $ac_executable_extensions; do
10426 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10427 ac_cv_prog_ft_devel="$ac_prog"
10428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10429 break 2
10431 done
10432 done
10433 IFS=$as_save_IFS
10437 ft_devel=$ac_cv_prog_ft_devel
10438 if test -n "$ft_devel"; then
10439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ft_devel" >&5
10440 $as_echo "$ft_devel" >&6; }
10441 else
10442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10443 $as_echo "no" >&6; }
10447 test -n "$ft_devel" && break
10448 done
10449 test -n "$ft_devel" || ft_devel="no"
10451 if test "$ft_devel" != "no"
10452 then
10453 ac_freetype_incl=`$ft_devel --cflags`
10454 ac_freetype_libs=`$ft_devel --libs`
10457 ac_freetype_libs=${ac_freetype_libs:-"-lfreetype"}
10458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
10459 $as_echo_n "checking for -lfreetype... " >&6; }
10460 if ${ac_cv_lib_soname_freetype+:} false; then :
10461 $as_echo_n "(cached) " >&6
10462 else
10463 ac_check_soname_save_LIBS=$LIBS
10464 LIBS="-lfreetype $ac_freetype_libs $LIBS"
10465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10466 /* end confdefs.h. */
10468 /* Override any GCC internal prototype to avoid an error.
10469 Use char because int might match the return type of a GCC
10470 builtin and then its argument prototype would still apply. */
10471 #ifdef __cplusplus
10472 extern "C"
10473 #endif
10474 char FT_Init_FreeType ();
10476 main ()
10478 return FT_Init_FreeType ();
10480 return 0;
10482 _ACEOF
10483 if ac_fn_c_try_link "$LINENO"; then :
10484 case "$LIBEXT" in
10485 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10486 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'` ;;
10487 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10488 esac
10490 rm -f core conftest.err conftest.$ac_objext \
10491 conftest$ac_exeext conftest.$ac_ext
10492 LIBS=$ac_check_soname_save_LIBS
10494 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
10495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10496 $as_echo "not found" >&6; }
10497 ft_lib=no
10498 else
10499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
10500 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
10502 cat >>confdefs.h <<_ACEOF
10503 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10504 _ACEOF
10506 ft_lib=yes
10508 if test "$ft_lib" = "yes"
10509 then
10510 ac_save_CPPFLAGS="$CPPFLAGS"
10511 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
10512 for ac_header in ft2build.h \
10513 freetype/freetype.h \
10514 freetype/ftglyph.h \
10515 freetype/fttypes.h \
10516 freetype/tttables.h \
10517 freetype/ftsnames.h \
10518 freetype/ttnameid.h \
10519 freetype/ftoutln.h \
10520 freetype/ftwinfnt.h \
10521 freetype/ftmodapi.h \
10522 freetype/ftlcdfil.h
10523 do :
10524 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10525 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
10526 # include <ft2build.h>
10527 #endif
10529 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10530 cat >>confdefs.h <<_ACEOF
10531 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10532 _ACEOF
10536 done
10538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10539 /* end confdefs.h. */
10540 #include <ft2build.h>
10541 #include <freetype/fttrigon.h>
10542 _ACEOF
10543 if ac_fn_c_try_cpp "$LINENO"; then :
10545 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
10547 wine_cv_fttrigon=yes
10548 else
10549 wine_cv_fttrigon=no
10551 rm -f conftest.err conftest.i conftest.$ac_ext
10552 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
10554 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
10556 cat >>confdefs.h <<_ACEOF
10557 #define HAVE_FT_TRUETYPEENGINETYPE 1
10558 _ACEOF
10563 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10564 then
10566 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
10568 FREETYPELIBS="$ac_freetype_libs"
10570 FREETYPEINCL="$ac_freetype_incl"
10575 if test "x$FREETYPELIBS" = "x"; then :
10576 case "x$with_freetype" in
10577 xno) ;;
10578 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
10579 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
10580 esac
10582 test "x$FREETYPELIBS" = "x" && enable_fonts=${enable_fonts:-no}
10584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
10585 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
10586 if ${ac_cv_c_ppdev+:} false; then :
10587 $as_echo_n "(cached) " >&6
10588 else
10589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10590 /* end confdefs.h. */
10591 #ifdef HAVE_SYS_IOCTL_H
10592 # include <sys/ioctl.h>
10593 #endif
10594 #include <linux/ppdev.h>
10596 main ()
10598 ioctl (1,PPCLAIM,0)
10600 return 0;
10602 _ACEOF
10603 if ac_fn_c_try_compile "$LINENO"; then :
10604 ac_cv_c_ppdev="yes"
10605 else
10606 ac_cv_c_ppdev="no"
10608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
10611 $as_echo "$ac_cv_c_ppdev" >&6; }
10612 if test "$ac_cv_c_ppdev" = "yes"
10613 then
10615 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
10619 ac_wine_check_funcs_save_LIBS="$LIBS"
10620 LIBS="$LIBS $LIBPTHREAD"
10621 for ac_func in \
10622 pthread_attr_get_np \
10623 pthread_getattr_np \
10624 pthread_getthreadid_np \
10625 pthread_get_stackaddr_np \
10626 pthread_get_stacksize_np
10627 do :
10628 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10629 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
10630 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
10631 cat >>confdefs.h <<_ACEOF
10632 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10633 _ACEOF
10636 done
10638 LIBS="$ac_wine_check_funcs_save_LIBS"
10640 if test "$ac_cv_header_zlib_h" = "yes"
10641 then
10642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
10643 $as_echo_n "checking for inflate in -lz... " >&6; }
10644 if ${ac_cv_lib_z_inflate+:} false; then :
10645 $as_echo_n "(cached) " >&6
10646 else
10647 ac_check_lib_save_LIBS=$LIBS
10648 LIBS="-lz $LIBS"
10649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10650 /* end confdefs.h. */
10652 /* Override any GCC internal prototype to avoid an error.
10653 Use char because int might match the return type of a GCC
10654 builtin and then its argument prototype would still apply. */
10655 #ifdef __cplusplus
10656 extern "C"
10657 #endif
10658 char inflate ();
10660 main ()
10662 return inflate ();
10664 return 0;
10666 _ACEOF
10667 if ac_fn_c_try_link "$LINENO"; then :
10668 ac_cv_lib_z_inflate=yes
10669 else
10670 ac_cv_lib_z_inflate=no
10672 rm -f core conftest.err conftest.$ac_objext \
10673 conftest$ac_exeext conftest.$ac_ext
10674 LIBS=$ac_check_lib_save_LIBS
10676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
10677 $as_echo "$ac_cv_lib_z_inflate" >&6; }
10678 if test "x$ac_cv_lib_z_inflate" = xyes; then :
10680 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
10682 ZLIB="-lz"
10687 if test "x$ZLIB" = "x"; then :
10688 case "x$with_zlib" in
10689 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
10690 xno) ;;
10691 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
10692 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
10693 esac
10696 if test "x$enable_tools" != xno
10697 then
10698 if test "$ac_cv_header_gettext_po_h" = "yes"
10699 then
10700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
10701 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
10702 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
10703 $as_echo_n "(cached) " >&6
10704 else
10705 ac_check_lib_save_LIBS=$LIBS
10706 LIBS="-lgettextpo $LIBS"
10707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10708 /* end confdefs.h. */
10710 /* Override any GCC internal prototype to avoid an error.
10711 Use char because int might match the return type of a GCC
10712 builtin and then its argument prototype would still apply. */
10713 #ifdef __cplusplus
10714 extern "C"
10715 #endif
10716 char po_message_msgctxt ();
10718 main ()
10720 return po_message_msgctxt ();
10722 return 0;
10724 _ACEOF
10725 if ac_fn_c_try_link "$LINENO"; then :
10726 ac_cv_lib_gettextpo_po_message_msgctxt=yes
10727 else
10728 ac_cv_lib_gettextpo_po_message_msgctxt=no
10730 rm -f core conftest.err conftest.$ac_objext \
10731 conftest$ac_exeext conftest.$ac_ext
10732 LIBS=$ac_check_lib_save_LIBS
10734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
10735 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
10736 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
10738 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
10740 LIBGETTEXTPO="-lgettextpo"
10745 test "x$with_gettextpo" != xyes || if test "x$LIBGETTEXTPO" = "x"; then :
10746 case "x$with_gettextpo" in
10747 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
10748 xno) ;;
10749 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
10750 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
10751 esac
10755 if test "x$with_gstreamer" != "xno"
10756 then
10757 ac_save_CPPFLAGS="$CPPFLAGS"
10758 if test "$PKG_CONFIG" != "false"; then
10759 ac_gst_incl=""
10760 for i in `$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
10762 case "$i" in
10763 -I*) ac_gst_incl="$ac_gst_incl $i";;
10764 esac
10765 done
10766 ac_gst_libs="`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`"
10767 CPPFLAGS="$CPPFLAGS $ac_gst_incl"
10768 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
10769 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
10770 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
10771 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
10772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
10773 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
10774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10775 /* end confdefs.h. */
10776 #include <gst/app/gstappsink.h>
10778 main ()
10780 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
10782 return 0;
10784 _ACEOF
10785 if ac_fn_c_try_compile "$LINENO"; then :
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10787 $as_echo "yes" >&6; }
10788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
10789 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
10790 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
10791 $as_echo_n "(cached) " >&6
10792 else
10793 ac_check_lib_save_LIBS=$LIBS
10794 LIBS="-lgstreamer-0.10 $LIBS"
10795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10796 /* end confdefs.h. */
10798 /* Override any GCC internal prototype to avoid an error.
10799 Use char because int might match the return type of a GCC
10800 builtin and then its argument prototype would still apply. */
10801 #ifdef __cplusplus
10802 extern "C"
10803 #endif
10804 char gst_pad_get_caps_reffed ();
10806 main ()
10808 return gst_pad_get_caps_reffed ();
10810 return 0;
10812 _ACEOF
10813 if ac_fn_c_try_link "$LINENO"; then :
10814 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
10815 else
10816 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
10818 rm -f core conftest.err conftest.$ac_objext \
10819 conftest$ac_exeext conftest.$ac_ext
10820 LIBS=$ac_check_lib_save_LIBS
10822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
10823 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
10824 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
10825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
10826 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
10827 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
10828 $as_echo_n "(cached) " >&6
10829 else
10830 ac_check_lib_save_LIBS=$LIBS
10831 LIBS="-lgstapp-0.10 $ac_gst_libs $LIBS"
10832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10833 /* end confdefs.h. */
10835 /* Override any GCC internal prototype to avoid an error.
10836 Use char because int might match the return type of a GCC
10837 builtin and then its argument prototype would still apply. */
10838 #ifdef __cplusplus
10839 extern "C"
10840 #endif
10841 char gst_app_buffer_new ();
10843 main ()
10845 return gst_app_buffer_new ();
10847 return 0;
10849 _ACEOF
10850 if ac_fn_c_try_link "$LINENO"; then :
10851 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
10852 else
10853 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
10855 rm -f core conftest.err conftest.$ac_objext \
10856 conftest$ac_exeext conftest.$ac_ext
10857 LIBS=$ac_check_lib_save_LIBS
10859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
10860 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
10861 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
10862 GSTREAMER_LIBS="$ac_gst_libs"
10864 GSTREAMER_INCL="$ac_gst_incl"
10870 else
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10872 $as_echo "no" >&6; }
10874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10882 CPPFLAGS="$ac_save_CPPFLAGS"
10884 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
10885 case "x$with_gstreamer" in
10886 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
10887 xno) ;;
10888 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
10889 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
10890 esac
10892 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
10894 ALSALIBS=""
10896 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
10897 then
10898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
10899 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
10900 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
10901 $as_echo_n "(cached) " >&6
10902 else
10903 ac_check_lib_save_LIBS=$LIBS
10904 LIBS="-lasound $LIBS"
10905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10906 /* end confdefs.h. */
10908 /* Override any GCC internal prototype to avoid an error.
10909 Use char because int might match the return type of a GCC
10910 builtin and then its argument prototype would still apply. */
10911 #ifdef __cplusplus
10912 extern "C"
10913 #endif
10914 char snd_pcm_hw_params_get_access_mask ();
10916 main ()
10918 return snd_pcm_hw_params_get_access_mask ();
10920 return 0;
10922 _ACEOF
10923 if ac_fn_c_try_link "$LINENO"; then :
10924 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
10925 else
10926 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
10928 rm -f core conftest.err conftest.$ac_objext \
10929 conftest$ac_exeext conftest.$ac_ext
10930 LIBS=$ac_check_lib_save_LIBS
10932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
10933 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
10934 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
10935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10936 /* end confdefs.h. */
10937 #ifdef HAVE_ALSA_ASOUNDLIB_H
10938 #include <alsa/asoundlib.h>
10939 #elif defined(HAVE_SYS_ASOUNDLIB_H)
10940 #include <sys/asoundlib.h>
10941 #endif
10943 main ()
10945 snd_pcm_hw_params_get_access_mask(NULL, NULL)
10947 return 0;
10949 _ACEOF
10950 if ac_fn_c_try_compile "$LINENO"; then :
10951 ALSALIBS="-lasound"
10953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10958 if test "x$with_oss" != xno
10959 then
10960 ac_save_CPPFLAGS="$CPPFLAGS"
10961 if test -f /etc/oss.conf
10962 then
10963 . /etc/oss.conf
10965 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
10966 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
10967 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
10968 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
10969 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
10971 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
10973 cat >>confdefs.h <<_ACEOF
10974 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
10975 _ACEOF
10977 OSS4INCL="$ac_oss_incl"
10984 CPPFLAGS="$ac_save_CPPFLAGS"
10985 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
10986 then
10987 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
10992 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
10993 then
10994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
10995 $as_echo_n "checking for -lcapi20... " >&6; }
10996 if ${ac_cv_lib_soname_capi20+:} false; then :
10997 $as_echo_n "(cached) " >&6
10998 else
10999 ac_check_soname_save_LIBS=$LIBS
11000 LIBS="-lcapi20 $LIBS"
11001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11002 /* end confdefs.h. */
11004 /* Override any GCC internal prototype to avoid an error.
11005 Use char because int might match the return type of a GCC
11006 builtin and then its argument prototype would still apply. */
11007 #ifdef __cplusplus
11008 extern "C"
11009 #endif
11010 char capi20_register ();
11012 main ()
11014 return capi20_register ();
11016 return 0;
11018 _ACEOF
11019 if ac_fn_c_try_link "$LINENO"; then :
11020 case "$LIBEXT" in
11021 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11022 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'` ;;
11023 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11024 esac
11026 rm -f core conftest.err conftest.$ac_objext \
11027 conftest$ac_exeext conftest.$ac_ext
11028 LIBS=$ac_check_soname_save_LIBS
11030 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11032 $as_echo "not found" >&6; }
11034 else
11035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
11036 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
11038 cat >>confdefs.h <<_ACEOF
11039 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
11040 _ACEOF
11045 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11046 case "x$with_capi" in
11047 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
11048 xno) ;;
11049 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
11050 This is an error since --with-capi was requested." "$LINENO" 5 ;;
11051 esac
11054 CUPSINCL=""
11056 if test "x$with_cups" != "xno"
11057 then
11058 ac_save_CPPFLAGS="$CPPFLAGS"
11059 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
11060 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
11061 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
11062 for ac_header in cups/cups.h
11063 do :
11064 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
11065 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
11066 cat >>confdefs.h <<_ACEOF
11067 #define HAVE_CUPS_CUPS_H 1
11068 _ACEOF
11069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
11070 $as_echo_n "checking for -lcups... " >&6; }
11071 if ${ac_cv_lib_soname_cups+:} false; then :
11072 $as_echo_n "(cached) " >&6
11073 else
11074 ac_check_soname_save_LIBS=$LIBS
11075 LIBS="-lcups $ac_cups_libs $LIBS"
11076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11077 /* end confdefs.h. */
11079 /* Override any GCC internal prototype to avoid an error.
11080 Use char because int might match the return type of a GCC
11081 builtin and then its argument prototype would still apply. */
11082 #ifdef __cplusplus
11083 extern "C"
11084 #endif
11085 char cupsGetDefault ();
11087 main ()
11089 return cupsGetDefault ();
11091 return 0;
11093 _ACEOF
11094 if ac_fn_c_try_link "$LINENO"; then :
11095 case "$LIBEXT" in
11096 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11097 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'` ;;
11098 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11099 esac
11101 rm -f core conftest.err conftest.$ac_objext \
11102 conftest$ac_exeext conftest.$ac_ext
11103 LIBS=$ac_check_soname_save_LIBS
11105 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11107 $as_echo "not found" >&6; }
11109 else
11110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
11111 $as_echo "$ac_cv_lib_soname_cups" >&6; }
11113 cat >>confdefs.h <<_ACEOF
11114 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
11115 _ACEOF
11117 CUPSINCL="$ac_cups_cflags"
11121 done
11123 CPPFLAGS="$ac_save_CPPFLAGS"
11125 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11126 case "x$with_cups" in
11127 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
11128 xno) ;;
11129 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
11130 This is an error since --with-cups was requested." "$LINENO" 5 ;;
11131 esac
11134 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11135 then
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11137 $as_echo_n "checking for -lfontconfig... " >&6; }
11138 if ${ac_cv_lib_soname_fontconfig+:} false; then :
11139 $as_echo_n "(cached) " >&6
11140 else
11141 ac_check_soname_save_LIBS=$LIBS
11142 LIBS="-lfontconfig $LIBS"
11143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11144 /* end confdefs.h. */
11146 /* Override any GCC internal prototype to avoid an error.
11147 Use char because int might match the return type of a GCC
11148 builtin and then its argument prototype would still apply. */
11149 #ifdef __cplusplus
11150 extern "C"
11151 #endif
11152 char FcInit ();
11154 main ()
11156 return FcInit ();
11158 return 0;
11160 _ACEOF
11161 if ac_fn_c_try_link "$LINENO"; then :
11162 case "$LIBEXT" in
11163 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11164 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'` ;;
11165 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11166 esac
11168 rm -f core conftest.err conftest.$ac_objext \
11169 conftest$ac_exeext conftest.$ac_ext
11170 LIBS=$ac_check_soname_save_LIBS
11172 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11174 $as_echo "not found" >&6; }
11176 else
11177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11178 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11180 cat >>confdefs.h <<_ACEOF
11181 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11182 _ACEOF
11186 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
11187 then
11188 ac_save_CPPFLAGS="$CPPFLAGS"
11189 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11190 $as_unset ac_cv_header_fontconfig_fontconfig_h
11191 for ac_header in fontconfig/fontconfig.h
11192 do :
11193 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
11194 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
11195 cat >>confdefs.h <<_ACEOF
11196 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
11197 _ACEOF
11201 done
11203 CPPFLAGS="$ac_save_CPPFLAGS"
11204 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11205 then
11206 FONTCONFIGINCL="$X_CFLAGS"
11208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11209 $as_echo_n "checking for -lfontconfig... " >&6; }
11210 if ${ac_cv_lib_soname_fontconfig+:} false; then :
11211 $as_echo_n "(cached) " >&6
11212 else
11213 ac_check_soname_save_LIBS=$LIBS
11214 LIBS="-lfontconfig $X_LIBS $LIBS"
11215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11216 /* end confdefs.h. */
11218 /* Override any GCC internal prototype to avoid an error.
11219 Use char because int might match the return type of a GCC
11220 builtin and then its argument prototype would still apply. */
11221 #ifdef __cplusplus
11222 extern "C"
11223 #endif
11224 char FcInit ();
11226 main ()
11228 return FcInit ();
11230 return 0;
11232 _ACEOF
11233 if ac_fn_c_try_link "$LINENO"; then :
11234 case "$LIBEXT" in
11235 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11236 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'` ;;
11237 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11238 esac
11240 rm -f core conftest.err conftest.$ac_objext \
11241 conftest$ac_exeext conftest.$ac_ext
11242 LIBS=$ac_check_soname_save_LIBS
11244 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11246 $as_echo "not found" >&6; }
11248 else
11249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11250 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11252 cat >>confdefs.h <<_ACEOF
11253 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11254 _ACEOF
11260 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11261 case "x$with_fontconfig" in
11262 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
11263 xno) ;;
11264 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
11265 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
11266 esac
11269 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
11270 then
11271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lssl" >&5
11272 $as_echo_n "checking for -lssl... " >&6; }
11273 if ${ac_cv_lib_soname_ssl+:} false; then :
11274 $as_echo_n "(cached) " >&6
11275 else
11276 ac_check_soname_save_LIBS=$LIBS
11277 LIBS="-lssl $LIBS"
11278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11279 /* end confdefs.h. */
11281 /* Override any GCC internal prototype to avoid an error.
11282 Use char because int might match the return type of a GCC
11283 builtin and then its argument prototype would still apply. */
11284 #ifdef __cplusplus
11285 extern "C"
11286 #endif
11287 char SSL_library_init ();
11289 main ()
11291 return SSL_library_init ();
11293 return 0;
11295 _ACEOF
11296 if ac_fn_c_try_link "$LINENO"; then :
11297 case "$LIBEXT" in
11298 dll) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest.exe | grep "ssl" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11299 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'` ;;
11300 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11301 esac
11303 rm -f core conftest.err conftest.$ac_objext \
11304 conftest$ac_exeext conftest.$ac_ext
11305 LIBS=$ac_check_soname_save_LIBS
11307 if test "x$ac_cv_lib_soname_ssl" = "x"; then :
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11309 $as_echo "not found" >&6; }
11311 else
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ssl" >&5
11313 $as_echo "$ac_cv_lib_soname_ssl" >&6; }
11315 cat >>confdefs.h <<_ACEOF
11316 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
11317 _ACEOF
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcrypto" >&5
11322 $as_echo_n "checking for -lcrypto... " >&6; }
11323 if ${ac_cv_lib_soname_crypto+:} false; then :
11324 $as_echo_n "(cached) " >&6
11325 else
11326 ac_check_soname_save_LIBS=$LIBS
11327 LIBS="-lcrypto $LIBS"
11328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11329 /* end confdefs.h. */
11331 /* Override any GCC internal prototype to avoid an error.
11332 Use char because int might match the return type of a GCC
11333 builtin and then its argument prototype would still apply. */
11334 #ifdef __cplusplus
11335 extern "C"
11336 #endif
11337 char BIO_new_socket ();
11339 main ()
11341 return BIO_new_socket ();
11343 return 0;
11345 _ACEOF
11346 if ac_fn_c_try_link "$LINENO"; then :
11347 case "$LIBEXT" in
11348 dll) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest.exe | grep "crypto" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11349 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'` ;;
11350 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11351 esac
11353 rm -f core conftest.err conftest.$ac_objext \
11354 conftest$ac_exeext conftest.$ac_ext
11355 LIBS=$ac_check_soname_save_LIBS
11357 if test "x$ac_cv_lib_soname_crypto" = "x"; then :
11358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11359 $as_echo "not found" >&6; }
11361 else
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_crypto" >&5
11363 $as_echo "$ac_cv_lib_soname_crypto" >&6; }
11365 cat >>confdefs.h <<_ACEOF
11366 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
11367 _ACEOF
11372 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then :
11373 case "x$with_openssl" in
11374 x) as_fn_append wine_warnings "|OpenSSL ${notice_platform}development files not found, SSL won't be supported." ;;
11375 xno) ;;
11376 *) as_fn_error $? "OpenSSL ${notice_platform}development files not found, SSL won't be supported.
11377 This is an error since --with-openssl was requested." "$LINENO" 5 ;;
11378 esac
11381 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
11382 then
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
11384 $as_echo_n "checking for -lgsm... " >&6; }
11385 if ${ac_cv_lib_soname_gsm+:} false; then :
11386 $as_echo_n "(cached) " >&6
11387 else
11388 ac_check_soname_save_LIBS=$LIBS
11389 LIBS="-lgsm $LIBS"
11390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11391 /* end confdefs.h. */
11393 /* Override any GCC internal prototype to avoid an error.
11394 Use char because int might match the return type of a GCC
11395 builtin and then its argument prototype would still apply. */
11396 #ifdef __cplusplus
11397 extern "C"
11398 #endif
11399 char gsm_create ();
11401 main ()
11403 return gsm_create ();
11405 return 0;
11407 _ACEOF
11408 if ac_fn_c_try_link "$LINENO"; then :
11409 case "$LIBEXT" in
11410 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11411 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'` ;;
11412 *) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11413 esac
11415 rm -f core conftest.err conftest.$ac_objext \
11416 conftest$ac_exeext conftest.$ac_ext
11417 LIBS=$ac_check_soname_save_LIBS
11419 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11421 $as_echo "not found" >&6; }
11423 else
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
11425 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
11427 cat >>confdefs.h <<_ACEOF
11428 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
11429 _ACEOF
11434 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11435 case "x$with_gsm" in
11436 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
11437 xno) ;;
11438 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
11439 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
11440 esac
11443 if test "$ac_cv_header_jpeglib_h" = "yes"
11444 then
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
11446 $as_echo_n "checking for -ljpeg... " >&6; }
11447 if ${ac_cv_lib_soname_jpeg+:} false; then :
11448 $as_echo_n "(cached) " >&6
11449 else
11450 ac_check_soname_save_LIBS=$LIBS
11451 LIBS="-ljpeg $LIBS"
11452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11453 /* end confdefs.h. */
11455 /* Override any GCC internal prototype to avoid an error.
11456 Use char because int might match the return type of a GCC
11457 builtin and then its argument prototype would still apply. */
11458 #ifdef __cplusplus
11459 extern "C"
11460 #endif
11461 char jpeg_start_decompress ();
11463 main ()
11465 return jpeg_start_decompress ();
11467 return 0;
11469 _ACEOF
11470 if ac_fn_c_try_link "$LINENO"; then :
11471 case "$LIBEXT" in
11472 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11473 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'` ;;
11474 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11475 esac
11477 rm -f core conftest.err conftest.$ac_objext \
11478 conftest$ac_exeext conftest.$ac_ext
11479 LIBS=$ac_check_soname_save_LIBS
11481 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11483 $as_echo "not found" >&6; }
11485 else
11486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
11487 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
11489 cat >>confdefs.h <<_ACEOF
11490 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
11491 _ACEOF
11496 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11497 case "x$with_jpeg" in
11498 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
11499 xno) ;;
11500 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
11501 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
11502 esac
11505 if test "$ac_cv_header_png_h" = "yes"
11506 then
11507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11508 $as_echo_n "checking for -lpng... " >&6; }
11509 if ${ac_cv_lib_soname_png+:} false; then :
11510 $as_echo_n "(cached) " >&6
11511 else
11512 ac_check_soname_save_LIBS=$LIBS
11513 LIBS="-lpng -lm -lz $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 png_create_read_struct ();
11525 main ()
11527 return png_create_read_struct ();
11529 return 0;
11531 _ACEOF
11532 if ac_fn_c_try_link "$LINENO"; then :
11533 case "$LIBEXT" in
11534 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11535 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'` ;;
11536 *) 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'` ;;
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_png" = "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_png" >&5
11549 $as_echo "$ac_cv_lib_soname_png" >&6; }
11551 cat >>confdefs.h <<_ACEOF
11552 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11553 _ACEOF
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11558 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11559 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false; then :
11560 $as_echo_n "(cached) " >&6
11561 else
11562 ac_check_lib_save_LIBS=$LIBS
11563 LIBS="-lpng -lm -lz $LIBS"
11564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11565 /* end confdefs.h. */
11567 /* Override any GCC internal prototype to avoid an error.
11568 Use char because int might match the return type of a GCC
11569 builtin and then its argument prototype would still apply. */
11570 #ifdef __cplusplus
11571 extern "C"
11572 #endif
11573 char png_set_expand_gray_1_2_4_to_8 ();
11575 main ()
11577 return png_set_expand_gray_1_2_4_to_8 ();
11579 return 0;
11581 _ACEOF
11582 if ac_fn_c_try_link "$LINENO"; then :
11583 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=yes
11584 else
11585 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=no
11587 rm -f core conftest.err conftest.$ac_objext \
11588 conftest$ac_exeext conftest.$ac_ext
11589 LIBS=$ac_check_lib_save_LIBS
11591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11592 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11593 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes; then :
11595 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11600 elif test -n "$X_CFLAGS" -a "x$with_png" != "xno"
11601 then
11602 ac_save_CPPFLAGS="$CPPFLAGS"
11603 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11604 $as_unset ac_cv_header_png_h
11605 for ac_header in png.h
11606 do :
11607 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
11608 if test "x$ac_cv_header_png_h" = xyes; then :
11609 cat >>confdefs.h <<_ACEOF
11610 #define HAVE_PNG_H 1
11611 _ACEOF
11615 done
11617 CPPFLAGS="$ac_save_CPPFLAGS"
11618 if test "$ac_cv_header_png_h" = "yes"
11619 then
11620 PNGINCL="$X_CFLAGS"
11622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11623 $as_echo_n "checking for -lpng... " >&6; }
11624 if ${ac_cv_lib_soname_png+:} false; then :
11625 $as_echo_n "(cached) " >&6
11626 else
11627 ac_check_soname_save_LIBS=$LIBS
11628 LIBS="-lpng $X_LIBS -lm -lz $LIBS"
11629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11630 /* end confdefs.h. */
11632 /* Override any GCC internal prototype to avoid an error.
11633 Use char because int might match the return type of a GCC
11634 builtin and then its argument prototype would still apply. */
11635 #ifdef __cplusplus
11636 extern "C"
11637 #endif
11638 char png_create_read_struct ();
11640 main ()
11642 return png_create_read_struct ();
11644 return 0;
11646 _ACEOF
11647 if ac_fn_c_try_link "$LINENO"; then :
11648 case "$LIBEXT" in
11649 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11650 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'` ;;
11651 *) 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'` ;;
11652 esac
11654 rm -f core conftest.err conftest.$ac_objext \
11655 conftest$ac_exeext conftest.$ac_ext
11656 LIBS=$ac_check_soname_save_LIBS
11658 if test "x$ac_cv_lib_soname_png" = "x"; then :
11659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11660 $as_echo "not found" >&6; }
11662 else
11663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11664 $as_echo "$ac_cv_lib_soname_png" >&6; }
11666 cat >>confdefs.h <<_ACEOF
11667 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11668 _ACEOF
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11673 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11674 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false; then :
11675 $as_echo_n "(cached) " >&6
11676 else
11677 ac_check_lib_save_LIBS=$LIBS
11678 LIBS="-lpng $X_LIBS -lm -lz $LIBS"
11679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11680 /* end confdefs.h. */
11682 /* Override any GCC internal prototype to avoid an error.
11683 Use char because int might match the return type of a GCC
11684 builtin and then its argument prototype would still apply. */
11685 #ifdef __cplusplus
11686 extern "C"
11687 #endif
11688 char png_set_expand_gray_1_2_4_to_8 ();
11690 main ()
11692 return png_set_expand_gray_1_2_4_to_8 ();
11694 return 0;
11696 _ACEOF
11697 if ac_fn_c_try_link "$LINENO"; then :
11698 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=yes
11699 else
11700 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=no
11702 rm -f core conftest.err conftest.$ac_objext \
11703 conftest$ac_exeext conftest.$ac_ext
11704 LIBS=$ac_check_lib_save_LIBS
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11707 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11708 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes; then :
11709 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11715 if test "x$ac_cv_lib_soname_png" = "x"; then :
11716 case "x$with_png" in
11717 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
11718 xno) ;;
11719 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
11720 This is an error since --with-png was requested." "$LINENO" 5 ;;
11721 esac
11724 if test "$ac_cv_header_tiffio_h" = "yes"
11725 then
11726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
11727 $as_echo_n "checking for -ltiff... " >&6; }
11728 if ${ac_cv_lib_soname_tiff+:} false; then :
11729 $as_echo_n "(cached) " >&6
11730 else
11731 ac_check_soname_save_LIBS=$LIBS
11732 LIBS="-ltiff $LIBS"
11733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11734 /* end confdefs.h. */
11736 /* Override any GCC internal prototype to avoid an error.
11737 Use char because int might match the return type of a GCC
11738 builtin and then its argument prototype would still apply. */
11739 #ifdef __cplusplus
11740 extern "C"
11741 #endif
11742 char TIFFClientOpen ();
11744 main ()
11746 return TIFFClientOpen ();
11748 return 0;
11750 _ACEOF
11751 if ac_fn_c_try_link "$LINENO"; then :
11752 case "$LIBEXT" in
11753 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11754 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'` ;;
11755 *) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11756 esac
11758 rm -f core conftest.err conftest.$ac_objext \
11759 conftest$ac_exeext conftest.$ac_ext
11760 LIBS=$ac_check_soname_save_LIBS
11762 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11764 $as_echo "not found" >&6; }
11766 else
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
11768 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
11770 cat >>confdefs.h <<_ACEOF
11771 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
11772 _ACEOF
11777 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11778 case "x$with_tiff" in
11779 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
11780 xno) ;;
11781 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
11782 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
11783 esac
11786 if test "$ac_cv_header_mpg123_h" = "yes"
11787 then
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
11789 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
11790 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
11791 $as_echo_n "(cached) " >&6
11792 else
11793 ac_check_lib_save_LIBS=$LIBS
11794 LIBS="-lmpg123 $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 mpg123_feed ();
11806 main ()
11808 return mpg123_feed ();
11810 return 0;
11812 _ACEOF
11813 if ac_fn_c_try_link "$LINENO"; then :
11814 ac_cv_lib_mpg123_mpg123_feed=yes
11815 else
11816 ac_cv_lib_mpg123_mpg123_feed=no
11818 rm -f core conftest.err conftest.$ac_objext \
11819 conftest$ac_exeext conftest.$ac_ext
11820 LIBS=$ac_check_lib_save_LIBS
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
11823 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
11824 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
11825 LIBMPG123="-lmpg123"
11830 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
11831 case "x$with_mpg123" in
11832 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
11833 xno) ;;
11834 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
11835 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
11836 esac
11838 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}
11840 if test "$ac_cv_header_AL_al_h" = "yes"
11841 then
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
11843 $as_echo_n "checking for -lopenal... " >&6; }
11844 if ${ac_cv_lib_soname_openal+:} false; then :
11845 $as_echo_n "(cached) " >&6
11846 else
11847 ac_check_soname_save_LIBS=$LIBS
11848 LIBS="-lopenal $LIBS"
11849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11850 /* end confdefs.h. */
11852 /* Override any GCC internal prototype to avoid an error.
11853 Use char because int might match the return type of a GCC
11854 builtin and then its argument prototype would still apply. */
11855 #ifdef __cplusplus
11856 extern "C"
11857 #endif
11858 char alGetSource3i ();
11860 main ()
11862 return alGetSource3i ();
11864 return 0;
11866 _ACEOF
11867 if ac_fn_c_try_link "$LINENO"; then :
11868 case "$LIBEXT" in
11869 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11870 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'` ;;
11871 *) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11872 esac
11874 rm -f core conftest.err conftest.$ac_objext \
11875 conftest$ac_exeext conftest.$ac_ext
11876 LIBS=$ac_check_soname_save_LIBS
11878 if test "x$ac_cv_lib_soname_openal" = "x"; then :
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11880 $as_echo "not found" >&6; }
11882 else
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
11884 $as_echo "$ac_cv_lib_soname_openal" >&6; }
11886 cat >>confdefs.h <<_ACEOF
11887 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
11888 _ACEOF
11890 LIBOPENAL="-lopenal"
11892 ac_cv_lib_openal=yes
11894 cat >>confdefs.h <<_ACEOF
11895 #define HAVE_OPENAL 1
11896 _ACEOF
11900 if test "x$ac_cv_lib_openal" != xyes; then :
11901 case "x$with_openal" in
11902 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
11903 xno) ;;
11904 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
11905 This is an error since --with-openal was requested." "$LINENO" 5 ;;
11906 esac
11908 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
11910 if test "$ac_cv_header_kstat_h" = "yes"
11911 then
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
11913 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
11914 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
11915 $as_echo_n "(cached) " >&6
11916 else
11917 ac_check_lib_save_LIBS=$LIBS
11918 LIBS="-lkstat $LIBS"
11919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11920 /* end confdefs.h. */
11922 /* Override any GCC internal prototype to avoid an error.
11923 Use char because int might match the return type of a GCC
11924 builtin and then its argument prototype would still apply. */
11925 #ifdef __cplusplus
11926 extern "C"
11927 #endif
11928 char kstat_open ();
11930 main ()
11932 return kstat_open ();
11934 return 0;
11936 _ACEOF
11937 if ac_fn_c_try_link "$LINENO"; then :
11938 ac_cv_lib_kstat_kstat_open=yes
11939 else
11940 ac_cv_lib_kstat_kstat_open=no
11942 rm -f core conftest.err conftest.$ac_objext \
11943 conftest$ac_exeext conftest.$ac_ext
11944 LIBS=$ac_check_lib_save_LIBS
11946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
11947 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
11948 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
11950 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
11952 LIBKSTAT="-lkstat"
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
11959 $as_echo_n "checking for -lodbc... " >&6; }
11960 if ${ac_cv_lib_soname_odbc+:} false; then :
11961 $as_echo_n "(cached) " >&6
11962 else
11963 ac_check_soname_save_LIBS=$LIBS
11964 LIBS="-lodbc $LIBS"
11965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11966 /* end confdefs.h. */
11968 /* Override any GCC internal prototype to avoid an error.
11969 Use char because int might match the return type of a GCC
11970 builtin and then its argument prototype would still apply. */
11971 #ifdef __cplusplus
11972 extern "C"
11973 #endif
11974 char SQLConnect ();
11976 main ()
11978 return SQLConnect ();
11980 return 0;
11982 _ACEOF
11983 if ac_fn_c_try_link "$LINENO"; then :
11984 case "$LIBEXT" in
11985 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11986 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'` ;;
11987 *) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11988 esac
11990 rm -f core conftest.err conftest.$ac_objext \
11991 conftest$ac_exeext conftest.$ac_ext
11992 LIBS=$ac_check_soname_save_LIBS
11994 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11996 $as_echo "not found" >&6; }
11997 cat >>confdefs.h <<_ACEOF
11998 #define SONAME_LIBODBC "libodbc.$LIBEXT"
11999 _ACEOF
12001 else
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
12003 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
12005 cat >>confdefs.h <<_ACEOF
12006 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
12007 _ACEOF
12012 test -n "$ALSALIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12013 test -n "$COREAUDIO" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
12014 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
12015 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
12017 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
12018 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
12019 "x$with_alsa$with_coreaudio$with_oss" != xnonono
12020 then
12021 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
12025 EXTRACFLAGS=""
12027 if test "x${GCC}" = "xyes"
12028 then
12029 EXTRACFLAGS="-Wall -pipe"
12031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
12032 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
12033 if ${ac_cv_c_gcc_strength_bug+:} false; then :
12034 $as_echo_n "(cached) " >&6
12035 else
12036 if test "$cross_compiling" = yes; then :
12037 ac_cv_c_gcc_strength_bug="yes"
12038 else
12039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12040 /* end confdefs.h. */
12041 int L[4] = {0,1,2,3};
12043 main ()
12045 static int Array[3];
12046 unsigned int B = 3;
12047 int i;
12048 for(i=0; i<B; i++) Array[i] = i - 3;
12049 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12050 L[i] = 4;
12051 return (Array[1] != -2 || L[2] != 3)
12053 return 0;
12055 _ACEOF
12056 if ac_fn_c_try_run "$LINENO"; then :
12057 ac_cv_c_gcc_strength_bug="no"
12058 else
12059 ac_cv_c_gcc_strength_bug="yes"
12061 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12062 conftest.$ac_objext conftest.beam conftest.$ac_ext
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
12067 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
12068 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12069 then
12070 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
12073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
12074 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
12075 if ${ac_cv_cflags__fno_builtin+:} false; then :
12076 $as_echo_n "(cached) " >&6
12077 else
12078 ac_wine_try_cflags_saved=$CFLAGS
12079 CFLAGS="$CFLAGS -fno-builtin"
12080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12081 /* end confdefs.h. */
12082 int main(int argc, char **argv) { return 0; }
12083 _ACEOF
12084 if ac_fn_c_try_link "$LINENO"; then :
12085 ac_cv_cflags__fno_builtin=yes
12086 else
12087 ac_cv_cflags__fno_builtin=no
12089 rm -f core conftest.err conftest.$ac_objext \
12090 conftest$ac_exeext conftest.$ac_ext
12091 CFLAGS=$ac_wine_try_cflags_saved
12093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
12094 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
12095 if test $ac_cv_cflags__fno_builtin = yes; then :
12096 BUILTINFLAG="-fno-builtin"
12099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
12100 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
12101 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
12102 $as_echo_n "(cached) " >&6
12103 else
12104 ac_wine_try_cflags_saved=$CFLAGS
12105 CFLAGS="$CFLAGS -fno-strict-aliasing"
12106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12107 /* end confdefs.h. */
12108 int main(int argc, char **argv) { return 0; }
12109 _ACEOF
12110 if ac_fn_c_try_link "$LINENO"; then :
12111 ac_cv_cflags__fno_strict_aliasing=yes
12112 else
12113 ac_cv_cflags__fno_strict_aliasing=no
12115 rm -f core conftest.err conftest.$ac_objext \
12116 conftest$ac_exeext conftest.$ac_ext
12117 CFLAGS=$ac_wine_try_cflags_saved
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12120 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
12121 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
12122 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12125 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
12126 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
12127 $as_echo_n "(cached) " >&6
12128 else
12129 ac_wine_try_cflags_saved=$CFLAGS
12130 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
12131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12132 /* end confdefs.h. */
12133 int main(int argc, char **argv) { return 0; }
12134 _ACEOF
12135 if ac_fn_c_try_link "$LINENO"; then :
12136 ac_cv_cflags__Wdeclaration_after_statement=yes
12137 else
12138 ac_cv_cflags__Wdeclaration_after_statement=no
12140 rm -f core conftest.err conftest.$ac_objext \
12141 conftest$ac_exeext conftest.$ac_ext
12142 CFLAGS=$ac_wine_try_cflags_saved
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12145 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12146 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
12147 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
12150 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
12151 if ${ac_cv_cflags__Wempty_body+:} false; then :
12152 $as_echo_n "(cached) " >&6
12153 else
12154 ac_wine_try_cflags_saved=$CFLAGS
12155 CFLAGS="$CFLAGS -Wempty-body"
12156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12157 /* end confdefs.h. */
12158 int main(int argc, char **argv) { return 0; }
12159 _ACEOF
12160 if ac_fn_c_try_link "$LINENO"; then :
12161 ac_cv_cflags__Wempty_body=yes
12162 else
12163 ac_cv_cflags__Wempty_body=no
12165 rm -f core conftest.err conftest.$ac_objext \
12166 conftest$ac_exeext conftest.$ac_ext
12167 CFLAGS=$ac_wine_try_cflags_saved
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
12170 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
12171 if test $ac_cv_cflags__Wempty_body = yes; then :
12172 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
12175 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
12176 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
12177 $as_echo_n "(cached) " >&6
12178 else
12179 ac_wine_try_cflags_saved=$CFLAGS
12180 CFLAGS="$CFLAGS -Wignored-qualifiers"
12181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12182 /* end confdefs.h. */
12183 int main(int argc, char **argv) { return 0; }
12184 _ACEOF
12185 if ac_fn_c_try_link "$LINENO"; then :
12186 ac_cv_cflags__Wignored_qualifiers=yes
12187 else
12188 ac_cv_cflags__Wignored_qualifiers=no
12190 rm -f core conftest.err conftest.$ac_objext \
12191 conftest$ac_exeext conftest.$ac_ext
12192 CFLAGS=$ac_wine_try_cflags_saved
12194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
12195 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
12196 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
12197 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
12200 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
12201 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
12202 $as_echo_n "(cached) " >&6
12203 else
12204 ac_wine_try_cflags_saved=$CFLAGS
12205 CFLAGS="$CFLAGS -Wstrict-prototypes"
12206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12207 /* end confdefs.h. */
12208 int main(int argc, char **argv) { return 0; }
12209 _ACEOF
12210 if ac_fn_c_try_link "$LINENO"; then :
12211 ac_cv_cflags__Wstrict_prototypes=yes
12212 else
12213 ac_cv_cflags__Wstrict_prototypes=no
12215 rm -f core conftest.err conftest.$ac_objext \
12216 conftest$ac_exeext conftest.$ac_ext
12217 CFLAGS=$ac_wine_try_cflags_saved
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
12220 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
12221 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
12222 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
12224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
12225 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
12226 if ${ac_cv_cflags__Wtype_limits+:} false; then :
12227 $as_echo_n "(cached) " >&6
12228 else
12229 ac_wine_try_cflags_saved=$CFLAGS
12230 CFLAGS="$CFLAGS -Wtype-limits"
12231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12232 /* end confdefs.h. */
12233 int main(int argc, char **argv) { return 0; }
12234 _ACEOF
12235 if ac_fn_c_try_link "$LINENO"; then :
12236 ac_cv_cflags__Wtype_limits=yes
12237 else
12238 ac_cv_cflags__Wtype_limits=no
12240 rm -f core conftest.err conftest.$ac_objext \
12241 conftest$ac_exeext conftest.$ac_ext
12242 CFLAGS=$ac_wine_try_cflags_saved
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
12245 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
12246 if test $ac_cv_cflags__Wtype_limits = yes; then :
12247 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
12249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
12250 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
12251 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
12252 $as_echo_n "(cached) " >&6
12253 else
12254 ac_wine_try_cflags_saved=$CFLAGS
12255 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
12256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12257 /* end confdefs.h. */
12258 int main(int argc, char **argv) { return 0; }
12259 _ACEOF
12260 if ac_fn_c_try_link "$LINENO"; then :
12261 ac_cv_cflags__Wunused_but_set_parameter=yes
12262 else
12263 ac_cv_cflags__Wunused_but_set_parameter=no
12265 rm -f core conftest.err conftest.$ac_objext \
12266 conftest$ac_exeext conftest.$ac_ext
12267 CFLAGS=$ac_wine_try_cflags_saved
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
12270 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
12271 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
12272 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
12275 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
12276 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
12277 $as_echo_n "(cached) " >&6
12278 else
12279 ac_wine_try_cflags_saved=$CFLAGS
12280 CFLAGS="$CFLAGS -Wwrite-strings"
12281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12282 /* end confdefs.h. */
12283 int main(int argc, char **argv) { return 0; }
12284 _ACEOF
12285 if ac_fn_c_try_link "$LINENO"; then :
12286 ac_cv_cflags__Wwrite_strings=yes
12287 else
12288 ac_cv_cflags__Wwrite_strings=no
12290 rm -f core conftest.err conftest.$ac_objext \
12291 conftest$ac_exeext conftest.$ac_ext
12292 CFLAGS=$ac_wine_try_cflags_saved
12294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
12295 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
12296 if test $ac_cv_cflags__Wwrite_strings = yes; then :
12297 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
12300 for ac_flag in $CFLAGS; do
12301 case $ac_flag in
12302 -g) case $host_os in
12303 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
12304 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
12305 if ${ac_cv_cflags__gstabsp+:} false; then :
12306 $as_echo_n "(cached) " >&6
12307 else
12308 ac_wine_try_cflags_saved=$CFLAGS
12309 CFLAGS="$CFLAGS -gstabs+"
12310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12311 /* end confdefs.h. */
12312 int main(int argc, char **argv) { return 0; }
12313 _ACEOF
12314 if ac_fn_c_try_link "$LINENO"; then :
12315 ac_cv_cflags__gstabsp=yes
12316 else
12317 ac_cv_cflags__gstabsp=no
12319 rm -f core conftest.err conftest.$ac_objext \
12320 conftest$ac_exeext conftest.$ac_ext
12321 CFLAGS=$ac_wine_try_cflags_saved
12323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
12324 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
12325 if test $ac_cv_cflags__gstabsp = yes; then :
12326 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
12327 fi ;;
12328 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
12329 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
12330 if ${ac_cv_cflags__gdwarf_2+:} false; then :
12331 $as_echo_n "(cached) " >&6
12332 else
12333 ac_wine_try_cflags_saved=$CFLAGS
12334 CFLAGS="$CFLAGS -gdwarf-2"
12335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12336 /* end confdefs.h. */
12337 int main(int argc, char **argv) { return 0; }
12338 _ACEOF
12339 if ac_fn_c_try_link "$LINENO"; then :
12340 ac_cv_cflags__gdwarf_2=yes
12341 else
12342 ac_cv_cflags__gdwarf_2=no
12344 rm -f core conftest.err conftest.$ac_objext \
12345 conftest$ac_exeext conftest.$ac_ext
12346 CFLAGS=$ac_wine_try_cflags_saved
12348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
12349 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
12350 if test $ac_cv_cflags__gdwarf_2 = yes; then :
12351 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
12354 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
12355 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
12356 $as_echo_n "(cached) " >&6
12357 else
12358 ac_wine_try_cflags_saved=$CFLAGS
12359 CFLAGS="$CFLAGS -gstrict-dwarf"
12360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12361 /* end confdefs.h. */
12362 int main(int argc, char **argv) { return 0; }
12363 _ACEOF
12364 if ac_fn_c_try_link "$LINENO"; then :
12365 ac_cv_cflags__gstrict_dwarf=yes
12366 else
12367 ac_cv_cflags__gstrict_dwarf=no
12369 rm -f core conftest.err conftest.$ac_objext \
12370 conftest$ac_exeext conftest.$ac_ext
12371 CFLAGS=$ac_wine_try_cflags_saved
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
12374 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
12375 if test $ac_cv_cflags__gstrict_dwarf = yes; then :
12376 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
12377 fi ;;
12378 esac ;;
12379 esac
12380 done
12382 case $host_cpu in
12383 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
12384 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
12385 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
12386 $as_echo_n "(cached) " >&6
12387 else
12388 ac_wine_try_cflags_saved=$CFLAGS
12389 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
12390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12391 /* end confdefs.h. */
12392 int main(int argc, char **argv) { return 0; }
12393 _ACEOF
12394 if ac_fn_c_try_link "$LINENO"; then :
12395 ac_cv_cflags__fno_omit_frame_pointer=yes
12396 else
12397 ac_cv_cflags__fno_omit_frame_pointer=no
12399 rm -f core conftest.err conftest.$ac_objext \
12400 conftest$ac_exeext conftest.$ac_ext
12401 CFLAGS=$ac_wine_try_cflags_saved
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
12404 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
12405 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
12406 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
12407 fi ;;
12408 esac
12410 case $host in
12411 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
12412 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
12413 if ${ac_cv_cflags__Wno_format+:} false; then :
12414 $as_echo_n "(cached) " >&6
12415 else
12416 ac_wine_try_cflags_saved=$CFLAGS
12417 CFLAGS="$CFLAGS -Wno-format"
12418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12419 /* end confdefs.h. */
12420 int main(int argc, char **argv) { return 0; }
12421 _ACEOF
12422 if ac_fn_c_try_link "$LINENO"; then :
12423 ac_cv_cflags__Wno_format=yes
12424 else
12425 ac_cv_cflags__Wno_format=no
12427 rm -f core conftest.err conftest.$ac_objext \
12428 conftest$ac_exeext conftest.$ac_ext
12429 CFLAGS=$ac_wine_try_cflags_saved
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
12432 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
12433 if test $ac_cv_cflags__Wno_format = yes; then :
12434 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
12435 fi ;;
12436 esac
12438 saved_CFLAGS="$CFLAGS"
12439 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
12441 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
12442 if ${ac_cv_c_string_h_warnings+:} false; then :
12443 $as_echo_n "(cached) " >&6
12444 else
12445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12446 /* end confdefs.h. */
12447 #include <string.h>
12449 main ()
12453 return 0;
12455 _ACEOF
12456 if ac_fn_c_try_compile "$LINENO"; then :
12457 ac_cv_c_string_h_warnings=no
12458 else
12459 ac_cv_c_string_h_warnings=yes
12461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
12464 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
12465 CFLAGS="$saved_CFLAGS"
12466 if test "$ac_cv_c_string_h_warnings" = "no"
12467 then
12468 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12471 saved_CFLAGS="$CFLAGS"
12472 CFLAGS="$CFLAGS -Wlogical-op -Werror"
12473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
12474 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
12475 if ${ac_cv_c_logicalop_noisy+:} false; then :
12476 $as_echo_n "(cached) " >&6
12477 else
12478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12479 /* end confdefs.h. */
12480 #include <string.h>
12482 main ()
12484 char*f(const char *h,char n) {return strchr(h,n);}
12486 return 0;
12488 _ACEOF
12489 if ac_fn_c_try_compile "$LINENO"; then :
12490 ac_cv_c_logicalop_noisy=no
12491 else
12492 ac_cv_c_logicalop_noisy=yes
12494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
12497 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
12498 CFLAGS="$saved_CFLAGS"
12499 if test "$ac_cv_c_logicalop_noisy" = "no"
12500 then
12501 EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
12504 if test "x$enable_maintainer_mode" = "xyes"
12505 then
12506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
12507 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
12508 if ${ac_cv_cflags__Werror+:} false; then :
12509 $as_echo_n "(cached) " >&6
12510 else
12511 ac_wine_try_cflags_saved=$CFLAGS
12512 CFLAGS="$CFLAGS -Werror"
12513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12514 /* end confdefs.h. */
12515 int main(int argc, char **argv) { return 0; }
12516 _ACEOF
12517 if ac_fn_c_try_link "$LINENO"; then :
12518 ac_cv_cflags__Werror=yes
12519 else
12520 ac_cv_cflags__Werror=no
12522 rm -f core conftest.err conftest.$ac_objext \
12523 conftest$ac_exeext conftest.$ac_ext
12524 CFLAGS=$ac_wine_try_cflags_saved
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
12527 $as_echo "$ac_cv_cflags__Werror" >&6; }
12528 if test $ac_cv_cflags__Werror = yes; then :
12529 EXTRACFLAGS="$EXTRACFLAGS -Werror"
12533 saved_CFLAGS="$CFLAGS"
12534 CFLAGS="$CFLAGS -Werror"
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
12536 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
12537 if ${ac_cv_have_ms_hook_prologue+:} false; then :
12538 $as_echo_n "(cached) " >&6
12539 else
12540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12541 /* end confdefs.h. */
12542 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
12544 main ()
12548 return 0;
12550 _ACEOF
12551 if ac_fn_c_try_compile "$LINENO"; then :
12552 ac_cv_have_ms_hook_prologue="yes"
12553 else
12554 ac_cv_have_ms_hook_prologue="no"
12556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
12559 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
12560 CFLAGS="$saved_CFLAGS"
12561 if test "$ac_cv_have_ms_hook_prologue" = "yes"
12562 then
12564 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
12566 else
12567 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
12574 $as_echo_n "checking for the need to disable Fortify... " >&6; }
12575 if ${ac_cv_c_fortify_enabled+:} false; then :
12576 $as_echo_n "(cached) " >&6
12577 else
12578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12579 /* end confdefs.h. */
12580 #include <string.h>
12582 main ()
12584 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
12585 #error Fortify enabled
12586 #endif
12588 return 0;
12590 _ACEOF
12591 if ac_fn_c_try_compile "$LINENO"; then :
12592 ac_cv_c_fortify_enabled=no
12593 else
12594 ac_cv_c_fortify_enabled=yes
12596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
12599 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
12600 if test "$ac_cv_c_fortify_enabled" = yes
12601 then
12602 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
12607 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
12608 if ${ac_cv_c_extern_prefix+:} false; then :
12609 $as_echo_n "(cached) " >&6
12610 else
12611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12612 /* end confdefs.h. */
12613 extern int ac_test;
12615 main ()
12617 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
12619 return 0;
12621 _ACEOF
12622 if ac_fn_c_try_link "$LINENO"; then :
12623 ac_cv_c_extern_prefix="yes"
12624 else
12625 ac_cv_c_extern_prefix="no"
12627 rm -f core conftest.err conftest.$ac_objext \
12628 conftest$ac_exeext conftest.$ac_ext
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
12631 $as_echo "$ac_cv_c_extern_prefix" >&6; }
12633 case $host_cpu in
12634 *i[3456789]86*)
12635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
12636 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
12637 if ${ac_cv_c_stdcall_suffix+:} false; then :
12638 $as_echo_n "(cached) " >&6
12639 else
12640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12641 /* end confdefs.h. */
12642 #ifndef _MSC_VER
12643 #define __stdcall __attribute__((__stdcall__))
12644 #endif
12645 int __stdcall ac_test(int i) { return i; }
12647 main ()
12649 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
12651 return 0;
12653 _ACEOF
12654 if ac_fn_c_try_link "$LINENO"; then :
12655 ac_cv_c_stdcall_suffix="yes"
12656 else
12657 ac_cv_c_stdcall_suffix="no"
12659 rm -f core conftest.err conftest.$ac_objext \
12660 conftest$ac_exeext conftest.$ac_ext
12662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
12663 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
12664 *) ac_cv_c_stdcall_suffix="no" ;;
12665 esac
12668 if test "$ac_cv_c_extern_prefix" = "yes"
12669 then
12670 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
12672 asm_name_prefix="_"
12673 else
12674 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
12676 asm_name_prefix=""
12680 if test "$ac_cv_c_stdcall_suffix" = "yes"
12681 then
12682 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
12684 else
12685 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
12690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
12691 $as_echo_n "checking how to define a function in assembly code... " >&6; }
12692 if ${ac_cv_asm_func_def+:} false; then :
12693 $as_echo_n "(cached) " >&6
12694 else
12695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12696 /* end confdefs.h. */
12699 main ()
12701 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
12703 return 0;
12705 _ACEOF
12706 if ac_fn_c_try_link "$LINENO"; then :
12707 ac_cv_asm_func_def=".def"
12708 else
12709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12710 /* end confdefs.h. */
12713 main ()
12715 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
12717 return 0;
12719 _ACEOF
12720 if ac_fn_c_try_link "$LINENO"; then :
12721 ac_cv_asm_func_def=".type @function"
12722 else
12723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12724 /* end confdefs.h. */
12727 main ()
12729 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
12731 return 0;
12733 _ACEOF
12734 if ac_fn_c_try_link "$LINENO"; then :
12735 ac_cv_asm_func_def=".type 2"
12736 else
12737 ac_cv_asm_func_def="unknown"
12739 rm -f core conftest.err conftest.$ac_objext \
12740 conftest$ac_exeext conftest.$ac_ext
12742 rm -f core conftest.err conftest.$ac_objext \
12743 conftest$ac_exeext conftest.$ac_ext
12745 rm -f core conftest.err conftest.$ac_objext \
12746 conftest$ac_exeext conftest.$ac_ext
12748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
12749 $as_echo "$ac_cv_asm_func_def" >&6; }
12752 case "$ac_cv_asm_func_def" in
12753 ".def")
12754 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
12756 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
12757 ".type @function")
12758 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
12760 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
12761 ".type 2")
12762 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
12764 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
12766 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
12768 asm_func_header="" ;;
12769 esac
12771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
12772 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
12773 if ${ac_cv_c_asm_outside_funcs+:} false; then :
12774 $as_echo_n "(cached) " >&6
12775 else
12776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12777 /* end confdefs.h. */
12778 asm(".text\n\t.long 0");
12780 main ()
12784 return 0;
12786 _ACEOF
12787 if ac_fn_c_try_compile "$LINENO"; then :
12788 ac_cv_c_asm_outside_funcs="yes"
12789 else
12790 ac_cv_c_asm_outside_funcs="no"
12792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
12795 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
12797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
12798 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
12799 if ${ac_cv_c_dot_previous+:} false; then :
12800 $as_echo_n "(cached) " >&6
12801 else
12802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12803 /* end confdefs.h. */
12806 main ()
12808 asm(".text\nac_test:\t.long 0\n\t.previous");
12810 return 0;
12812 _ACEOF
12813 if ac_fn_c_try_link "$LINENO"; then :
12814 ac_cv_c_dot_previous="yes"
12815 else
12816 ac_cv_c_dot_previous="no"
12818 rm -f core conftest.err conftest.$ac_objext \
12819 conftest$ac_exeext conftest.$ac_ext
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
12822 $as_echo "$ac_cv_c_dot_previous" >&6; }
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
12825 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
12826 if ${ac_cv_c_cfi_support+:} false; then :
12827 $as_echo_n "(cached) " >&6
12828 else
12829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12830 /* end confdefs.h. */
12831 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
12833 main ()
12837 return 0;
12839 _ACEOF
12840 if ac_fn_c_try_compile "$LINENO"; then :
12841 ac_cv_c_cfi_support="yes"
12842 else
12843 ac_cv_c_cfi_support="no"
12845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
12848 $as_echo "$ac_cv_c_cfi_support" >&6; }
12850 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
12851 asm_func_trailer=""
12852 if test "$ac_cv_c_dot_previous" = "yes"
12853 then
12854 asm_func_trailer="\\n\\t.previous"
12856 if test "$ac_cv_c_cfi_support" = "yes"
12857 then
12858 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
12859 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
12861 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
12863 UNWINDFLAGS=-fasynchronous-unwind-tables
12865 else
12866 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
12870 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
12873 if test "$ac_cv_c_asm_outside_funcs" = "yes"
12874 then
12875 cat >>confdefs.h <<_ACEOF
12876 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
12877 _ACEOF
12879 else
12880 cat >>confdefs.h <<_ACEOF
12881 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
12882 _ACEOF
12886 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
12889 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
12893 LDPATH=""
12895 case $build_os in
12896 cygwin*|mingw32*)
12897 TOOLSEXT=".exe"
12899 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
12901 darwin*|macosx*)
12904 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
12906 esac
12908 case $host_os in
12909 mingw32*)
12910 CRTLIBS="-lmsvcrt"
12912 SOCKETLIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
12915 esac
12917 MAIN_BINARY="wine"
12919 test "x$enable_win64" != "xyes" || MAIN_BINARY="wine64"
12921 case $host_os in
12922 linux*)
12923 case $host_cpu in
12924 *i[3456789]86*) EXTRA_BINARIES="wine-preloader"
12926 x86_64*) EXTRA_BINARIES="wine64-preloader"
12928 esac
12930 esac
12933 ac_save_CFLAGS="$CFLAGS"
12934 CFLAGS="$CFLAGS $BUILTINFLAG"
12935 for ac_func in \
12936 _finite \
12937 _isnan \
12938 _pclose \
12939 _popen \
12940 _snprintf \
12941 _spawnvp \
12942 _strdup \
12943 _stricmp \
12944 _strnicmp \
12945 _strtoi64 \
12946 _strtoui64 \
12947 _vsnprintf \
12948 asctime_r \
12949 chsize \
12950 dlopen \
12951 epoll_create \
12952 ffs \
12953 finite \
12954 fnmatch \
12955 fork \
12956 fpclass \
12957 fstatfs \
12958 fstatvfs \
12959 ftruncate \
12960 futimens \
12961 futimes \
12962 futimesat \
12963 getattrlist \
12964 getdirentries \
12965 getopt_long_only \
12966 getpagesize \
12967 getpwuid \
12968 gettimeofday \
12969 getuid \
12970 kqueue \
12971 lstat \
12972 memmove \
12973 mmap \
12974 pclose \
12975 pipe2 \
12976 poll \
12977 popen \
12978 port_create \
12979 prctl \
12980 pread \
12981 pwrite \
12982 readdir \
12983 readlink \
12984 sched_yield \
12985 select \
12986 setproctitle \
12987 setrlimit \
12988 settimeofday \
12989 sigaltstack \
12990 sigprocmask \
12991 snprintf \
12992 spawnvp \
12993 statfs \
12994 statvfs \
12995 strcasecmp \
12996 strdup \
12997 strerror \
12998 strncasecmp \
12999 strtold \
13000 strtoll \
13001 strtoull \
13002 symlink \
13003 tcgetattr \
13004 thr_kill2 \
13005 timegm \
13006 usleep \
13007 vsnprintf
13009 do :
13010 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13011 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13012 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13013 cat >>confdefs.h <<_ACEOF
13014 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13015 _ACEOF
13018 done
13020 CFLAGS="$ac_save_CFLAGS"
13022 if test "$ac_cv_func_dlopen" = no
13023 then
13024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13025 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13026 if ${ac_cv_lib_dl_dlopen+:} false; then :
13027 $as_echo_n "(cached) " >&6
13028 else
13029 ac_check_lib_save_LIBS=$LIBS
13030 LIBS="-ldl $LIBS"
13031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13032 /* end confdefs.h. */
13034 /* Override any GCC internal prototype to avoid an error.
13035 Use char because int might match the return type of a GCC
13036 builtin and then its argument prototype would still apply. */
13037 #ifdef __cplusplus
13038 extern "C"
13039 #endif
13040 char dlopen ();
13042 main ()
13044 return dlopen ();
13046 return 0;
13048 _ACEOF
13049 if ac_fn_c_try_link "$LINENO"; then :
13050 ac_cv_lib_dl_dlopen=yes
13051 else
13052 ac_cv_lib_dl_dlopen=no
13054 rm -f core conftest.err conftest.$ac_objext \
13055 conftest$ac_exeext conftest.$ac_ext
13056 LIBS=$ac_check_lib_save_LIBS
13058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13059 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13060 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13061 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
13062 LIBDL="-ldl"
13067 ac_wine_check_funcs_save_LIBS="$LIBS"
13068 LIBS="$LIBS $LIBDL"
13069 for ac_func in dladdr
13070 do :
13071 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
13072 if test "x$ac_cv_func_dladdr" = xyes; then :
13073 cat >>confdefs.h <<_ACEOF
13074 #define HAVE_DLADDR 1
13075 _ACEOF
13078 done
13080 LIBS="$ac_wine_check_funcs_save_LIBS"
13082 if test "$ac_cv_func_poll" = no
13083 then
13084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
13085 $as_echo_n "checking for poll in -lpoll... " >&6; }
13086 if ${ac_cv_lib_poll_poll+:} false; then :
13087 $as_echo_n "(cached) " >&6
13088 else
13089 ac_check_lib_save_LIBS=$LIBS
13090 LIBS="-lpoll $LIBS"
13091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13092 /* end confdefs.h. */
13094 /* Override any GCC internal prototype to avoid an error.
13095 Use char because int might match the return type of a GCC
13096 builtin and then its argument prototype would still apply. */
13097 #ifdef __cplusplus
13098 extern "C"
13099 #endif
13100 char poll ();
13102 main ()
13104 return poll ();
13106 return 0;
13108 _ACEOF
13109 if ac_fn_c_try_link "$LINENO"; then :
13110 ac_cv_lib_poll_poll=yes
13111 else
13112 ac_cv_lib_poll_poll=no
13114 rm -f core conftest.err conftest.$ac_objext \
13115 conftest$ac_exeext conftest.$ac_ext
13116 LIBS=$ac_check_lib_save_LIBS
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
13119 $as_echo "$ac_cv_lib_poll_poll" >&6; }
13120 if test "x$ac_cv_lib_poll_poll" = xyes; then :
13121 $as_echo "#define HAVE_POLL 1" >>confdefs.h
13122 LIBPOLL="-lpoll"
13128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
13129 $as_echo_n "checking for library containing gethostbyname... " >&6; }
13130 if ${ac_cv_search_gethostbyname+:} false; then :
13131 $as_echo_n "(cached) " >&6
13132 else
13133 ac_func_search_save_LIBS=$LIBS
13134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13135 /* end confdefs.h. */
13137 /* Override any GCC internal prototype to avoid an error.
13138 Use char because int might match the return type of a GCC
13139 builtin and then its argument prototype would still apply. */
13140 #ifdef __cplusplus
13141 extern "C"
13142 #endif
13143 char gethostbyname ();
13145 main ()
13147 return gethostbyname ();
13149 return 0;
13151 _ACEOF
13152 for ac_lib in '' nsl; do
13153 if test -z "$ac_lib"; then
13154 ac_res="none required"
13155 else
13156 ac_res=-l$ac_lib
13157 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13159 if ac_fn_c_try_link "$LINENO"; then :
13160 ac_cv_search_gethostbyname=$ac_res
13162 rm -f core conftest.err conftest.$ac_objext \
13163 conftest$ac_exeext
13164 if ${ac_cv_search_gethostbyname+:} false; then :
13165 break
13167 done
13168 if ${ac_cv_search_gethostbyname+:} false; then :
13170 else
13171 ac_cv_search_gethostbyname=no
13173 rm conftest.$ac_ext
13174 LIBS=$ac_func_search_save_LIBS
13176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
13177 $as_echo "$ac_cv_search_gethostbyname" >&6; }
13178 ac_res=$ac_cv_search_gethostbyname
13179 if test "$ac_res" != no; then :
13180 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
13186 $as_echo_n "checking for library containing connect... " >&6; }
13187 if ${ac_cv_search_connect+:} false; then :
13188 $as_echo_n "(cached) " >&6
13189 else
13190 ac_func_search_save_LIBS=$LIBS
13191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13192 /* end confdefs.h. */
13194 /* Override any GCC internal prototype to avoid an error.
13195 Use char because int might match the return type of a GCC
13196 builtin and then its argument prototype would still apply. */
13197 #ifdef __cplusplus
13198 extern "C"
13199 #endif
13200 char connect ();
13202 main ()
13204 return connect ();
13206 return 0;
13208 _ACEOF
13209 for ac_lib in '' socket; do
13210 if test -z "$ac_lib"; then
13211 ac_res="none required"
13212 else
13213 ac_res=-l$ac_lib
13214 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13216 if ac_fn_c_try_link "$LINENO"; then :
13217 ac_cv_search_connect=$ac_res
13219 rm -f core conftest.err conftest.$ac_objext \
13220 conftest$ac_exeext
13221 if ${ac_cv_search_connect+:} false; then :
13222 break
13224 done
13225 if ${ac_cv_search_connect+:} false; then :
13227 else
13228 ac_cv_search_connect=no
13230 rm conftest.$ac_ext
13231 LIBS=$ac_func_search_save_LIBS
13233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
13234 $as_echo "$ac_cv_search_connect" >&6; }
13235 ac_res=$ac_cv_search_connect
13236 if test "$ac_res" != no; then :
13237 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13243 $as_echo_n "checking for library containing inet_aton... " >&6; }
13244 if ${ac_cv_search_inet_aton+:} false; then :
13245 $as_echo_n "(cached) " >&6
13246 else
13247 ac_func_search_save_LIBS=$LIBS
13248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13249 /* end confdefs.h. */
13251 /* Override any GCC internal prototype to avoid an error.
13252 Use char because int might match the return type of a GCC
13253 builtin and then its argument prototype would still apply. */
13254 #ifdef __cplusplus
13255 extern "C"
13256 #endif
13257 char inet_aton ();
13259 main ()
13261 return inet_aton ();
13263 return 0;
13265 _ACEOF
13266 for ac_lib in '' resolv; do
13267 if test -z "$ac_lib"; then
13268 ac_res="none required"
13269 else
13270 ac_res=-l$ac_lib
13271 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13273 if ac_fn_c_try_link "$LINENO"; then :
13274 ac_cv_search_inet_aton=$ac_res
13276 rm -f core conftest.err conftest.$ac_objext \
13277 conftest$ac_exeext
13278 if ${ac_cv_search_inet_aton+:} false; then :
13279 break
13281 done
13282 if ${ac_cv_search_inet_aton+:} false; then :
13284 else
13285 ac_cv_search_inet_aton=no
13287 rm conftest.$ac_ext
13288 LIBS=$ac_func_search_save_LIBS
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13291 $as_echo "$ac_cv_search_inet_aton" >&6; }
13292 ac_res=$ac_cv_search_inet_aton
13293 if test "$ac_res" != no; then :
13294 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13299 for ac_func in \
13300 getaddrinfo \
13301 getnameinfo \
13302 getnetbyname \
13303 getprotobyname \
13304 getprotobynumber \
13305 getservbyport \
13306 inet_network \
13307 inet_ntop \
13308 inet_pton \
13309 sendmsg \
13310 socketpair \
13312 do :
13313 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13314 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13315 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13316 cat >>confdefs.h <<_ACEOF
13317 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13318 _ACEOF
13321 done
13324 LDAPLIBS=""
13326 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13327 then
13328 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
13330 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
13331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
13332 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
13333 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
13334 $as_echo_n "(cached) " >&6
13335 else
13336 ac_check_lib_save_LIBS=$LIBS
13337 LIBS="-lldap_r $LIBPTHREAD $LIBS"
13338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13339 /* end confdefs.h. */
13341 /* Override any GCC internal prototype to avoid an error.
13342 Use char because int might match the return type of a GCC
13343 builtin and then its argument prototype would still apply. */
13344 #ifdef __cplusplus
13345 extern "C"
13346 #endif
13347 char ldap_initialize ();
13349 main ()
13351 return ldap_initialize ();
13353 return 0;
13355 _ACEOF
13356 if ac_fn_c_try_link "$LINENO"; then :
13357 ac_cv_lib_ldap_r_ldap_initialize=yes
13358 else
13359 ac_cv_lib_ldap_r_ldap_initialize=no
13361 rm -f core conftest.err conftest.$ac_objext \
13362 conftest$ac_exeext conftest.$ac_ext
13363 LIBS=$ac_check_lib_save_LIBS
13365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13366 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13367 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
13369 $as_echo_n "checking for ber_init in -llber... " >&6; }
13370 if ${ac_cv_lib_lber_ber_init+:} false; then :
13371 $as_echo_n "(cached) " >&6
13372 else
13373 ac_check_lib_save_LIBS=$LIBS
13374 LIBS="-llber $LIBPTHREAD $LIBS"
13375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13376 /* end confdefs.h. */
13378 /* Override any GCC internal prototype to avoid an error.
13379 Use char because int might match the return type of a GCC
13380 builtin and then its argument prototype would still apply. */
13381 #ifdef __cplusplus
13382 extern "C"
13383 #endif
13384 char ber_init ();
13386 main ()
13388 return ber_init ();
13390 return 0;
13392 _ACEOF
13393 if ac_fn_c_try_link "$LINENO"; then :
13394 ac_cv_lib_lber_ber_init=yes
13395 else
13396 ac_cv_lib_lber_ber_init=no
13398 rm -f core conftest.err conftest.$ac_objext \
13399 conftest$ac_exeext conftest.$ac_ext
13400 LIBS=$ac_check_lib_save_LIBS
13402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
13403 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
13404 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
13406 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
13408 LDAPLIBS="-lldap_r -llber"
13415 ac_wine_check_funcs_save_LIBS="$LIBS"
13416 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13417 for ac_func in \
13418 ldap_count_references \
13419 ldap_first_reference \
13420 ldap_next_reference \
13421 ldap_parse_reference \
13422 ldap_parse_sort_control \
13423 ldap_parse_sortresponse_control \
13424 ldap_parse_vlv_control \
13425 ldap_parse_vlvresponse_control
13426 do :
13427 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13428 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13429 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13430 cat >>confdefs.h <<_ACEOF
13431 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13432 _ACEOF
13435 done
13437 LIBS="$ac_wine_check_funcs_save_LIBS"
13439 if test "x$LDAPLIBS" = "x"; then :
13440 case "x$with_ldap" in
13441 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
13442 xno) ;;
13443 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
13444 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
13445 esac
13448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
13449 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
13450 if ${wine_cv_one_arg_mkdir+:} false; then :
13451 $as_echo_n "(cached) " >&6
13452 else
13453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13454 /* end confdefs.h. */
13455 #include <sys/stat.h>
13457 main ()
13459 mkdir("foo");
13461 return 0;
13463 _ACEOF
13464 if ac_fn_c_try_compile "$LINENO"; then :
13465 wine_cv_one_arg_mkdir=yes
13466 else
13467 wine_cv_one_arg_mkdir=no
13469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
13472 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
13473 if test "$wine_cv_one_arg_mkdir" = "yes"
13474 then
13476 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
13480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
13481 $as_echo_n "checking for sched_setaffinity... " >&6; }
13482 if ${wine_cv_have_sched_setaffinity+:} false; then :
13483 $as_echo_n "(cached) " >&6
13484 else
13485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13486 /* end confdefs.h. */
13487 #define _GNU_SOURCE
13488 #include <sched.h>
13490 main ()
13492 sched_setaffinity(0, 0, 0);
13494 return 0;
13496 _ACEOF
13497 if ac_fn_c_try_link "$LINENO"; then :
13498 wine_cv_have_sched_setaffinity=yes
13499 else
13500 wine_cv_have_sched_setaffinity=no
13502 rm -f core conftest.err conftest.$ac_objext \
13503 conftest$ac_exeext conftest.$ac_ext
13505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
13506 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
13507 if test "$wine_cv_have_sched_setaffinity" = "yes"
13508 then
13510 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
13514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
13515 $as_echo_n "checking for fallocate... " >&6; }
13516 if ${wine_cv_have_fallocate+:} false; then :
13517 $as_echo_n "(cached) " >&6
13518 else
13519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13520 /* end confdefs.h. */
13521 #define _GNU_SOURCE
13522 #include <fcntl.h>
13524 main ()
13526 fallocate(-1, 0, 0, 0);
13528 return 0;
13530 _ACEOF
13531 if ac_fn_c_try_link "$LINENO"; then :
13532 wine_cv_have_fallocate=yes
13533 else
13534 wine_cv_have_fallocate=no
13536 rm -f core conftest.err conftest.$ac_objext \
13537 conftest$ac_exeext conftest.$ac_ext
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
13540 $as_echo "$wine_cv_have_fallocate" >&6; }
13541 if test "$wine_cv_have_fallocate" = "yes"
13542 then
13544 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13550 $as_echo_n "checking for inline... " >&6; }
13551 if ${ac_cv_c_inline+:} false; then :
13552 $as_echo_n "(cached) " >&6
13553 else
13554 ac_cv_c_inline=no
13555 for ac_kw in inline __inline__ __inline; do
13556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13557 /* end confdefs.h. */
13558 #ifndef __cplusplus
13559 typedef int foo_t;
13560 static $ac_kw foo_t static_foo () {return 0; }
13561 $ac_kw foo_t foo () {return 0; }
13562 #endif
13564 _ACEOF
13565 if ac_fn_c_try_compile "$LINENO"; then :
13566 ac_cv_c_inline=$ac_kw
13568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13569 test "$ac_cv_c_inline" != no && break
13570 done
13573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
13574 $as_echo "$ac_cv_c_inline" >&6; }
13576 case $ac_cv_c_inline in
13577 inline | yes) ;;
13579 case $ac_cv_c_inline in
13580 no) ac_val=;;
13581 *) ac_val=$ac_cv_c_inline;;
13582 esac
13583 cat >>confdefs.h <<_ACEOF
13584 #ifndef __cplusplus
13585 #define inline $ac_val
13586 #endif
13587 _ACEOF
13589 esac
13591 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
13592 if test "x$ac_cv_type_mode_t" = xyes; then :
13594 cat >>confdefs.h <<_ACEOF
13595 #define HAVE_MODE_T 1
13596 _ACEOF
13600 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
13601 if test "x$ac_cv_type_off_t" = xyes; then :
13603 cat >>confdefs.h <<_ACEOF
13604 #define HAVE_OFF_T 1
13605 _ACEOF
13609 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
13610 if test "x$ac_cv_type_pid_t" = xyes; then :
13612 cat >>confdefs.h <<_ACEOF
13613 #define HAVE_PID_T 1
13614 _ACEOF
13618 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13619 if test "x$ac_cv_type_size_t" = xyes; then :
13621 cat >>confdefs.h <<_ACEOF
13622 #define HAVE_SIZE_T 1
13623 _ACEOF
13627 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
13628 if test "x$ac_cv_type_ssize_t" = xyes; then :
13630 cat >>confdefs.h <<_ACEOF
13631 #define HAVE_SSIZE_T 1
13632 _ACEOF
13636 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
13637 if test "x$ac_cv_type_long_long" = xyes; then :
13639 cat >>confdefs.h <<_ACEOF
13640 #define HAVE_LONG_LONG 1
13641 _ACEOF
13645 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
13646 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
13648 cat >>confdefs.h <<_ACEOF
13649 #define HAVE_FSBLKCNT_T 1
13650 _ACEOF
13654 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
13655 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
13657 cat >>confdefs.h <<_ACEOF
13658 #define HAVE_FSFILCNT_T 1
13659 _ACEOF
13664 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
13665 #include <signal.h>
13667 if test "x$ac_cv_type_sigset_t" = xyes; then :
13669 cat >>confdefs.h <<_ACEOF
13670 #define HAVE_SIGSET_T 1
13671 _ACEOF
13676 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
13678 if test "x$ac_cv_type_request_sense" = xyes; then :
13680 cat >>confdefs.h <<_ACEOF
13681 #define HAVE_REQUEST_SENSE 1
13682 _ACEOF
13688 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
13689 #ifdef HAVE_SYS_SOCKET_H
13690 #include <sys/socket.h>
13691 #endif
13692 #ifdef HAVE_SYS_SOCKETVAR_H
13693 #include <sys/socketvar.h>
13694 #endif
13695 #ifdef HAVE_NET_ROUTE_H
13696 #include <net/route.h>
13697 #endif
13698 #ifdef HAVE_NETINET_IN_H
13699 #include <netinet/in.h>
13700 #endif
13701 #ifdef HAVE_NETINET_IN_SYSTM_H
13702 #include <netinet/in_systm.h>
13703 #endif
13704 #ifdef HAVE_NETINET_IP_H
13705 #include <netinet/ip.h>
13706 #endif
13707 #ifdef HAVE_NETINET_IN_PCB_H
13708 #include <netinet/in_pcb.h>
13709 #endif
13711 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
13713 cat >>confdefs.h <<_ACEOF
13714 #define HAVE_STRUCT_XINPGEN 1
13715 _ACEOF
13721 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
13722 #include <linux/input.h>
13723 #endif
13725 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
13727 cat >>confdefs.h <<_ACEOF
13728 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
13729 _ACEOF
13735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
13736 $as_echo_n "checking for sigaddset... " >&6; }
13737 if ${wine_cv_have_sigaddset+:} false; then :
13738 $as_echo_n "(cached) " >&6
13739 else
13740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13741 /* end confdefs.h. */
13742 #include <signal.h>
13744 main ()
13746 sigset_t set; sigaddset(&set,SIGTERM);
13748 return 0;
13750 _ACEOF
13751 if ac_fn_c_try_link "$LINENO"; then :
13752 wine_cv_have_sigaddset=yes
13753 else
13754 wine_cv_have_sigaddset=no
13756 rm -f core conftest.err conftest.$ac_objext \
13757 conftest$ac_exeext conftest.$ac_ext
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
13760 $as_echo "$wine_cv_have_sigaddset" >&6; }
13761 if test "$wine_cv_have_sigaddset" = "yes"
13762 then
13764 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
13769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
13770 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
13771 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
13772 $as_echo_n "(cached) " >&6
13773 else
13774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13775 /* end confdefs.h. */
13776 #include <netdb.h>
13778 main ()
13781 char *name=0;
13782 struct hostent he;
13783 struct hostent *result;
13784 char *buf=0;
13785 int bufsize=0;
13786 int errnr;
13787 char *addr=0;
13788 int addrlen=0;
13789 int addrtype=0;
13790 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
13791 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
13794 return 0;
13796 _ACEOF
13797 if ac_fn_c_try_link "$LINENO"; then :
13798 wine_cv_linux_gethostbyname_r_6=yes
13799 else
13800 wine_cv_linux_gethostbyname_r_6=no
13803 rm -f core conftest.err conftest.$ac_objext \
13804 conftest$ac_exeext conftest.$ac_ext
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
13808 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
13809 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
13810 then
13812 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
13816 if test "$ac_cv_header_linux_joystick_h" = "yes"
13817 then
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
13819 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
13820 if ${wine_cv_linux_joystick_22_api+:} false; then :
13821 $as_echo_n "(cached) " >&6
13822 else
13823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13824 /* end confdefs.h. */
13826 #include <sys/ioctl.h>
13827 #include <sys/types.h>
13828 #include <linux/joystick.h>
13830 struct js_event blub;
13831 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
13832 #error "no 2.2 header"
13833 #endif
13836 main ()
13838 /*empty*/
13840 return 0;
13842 _ACEOF
13843 if ac_fn_c_try_compile "$LINENO"; then :
13844 wine_cv_linux_joystick_22_api=yes
13845 else
13846 wine_cv_linux_joystick_22_api=no
13848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
13852 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
13853 if test "$wine_cv_linux_joystick_22_api" = "yes"
13854 then
13856 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
13862 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
13863 #ifdef HAVE_SYS_PARAM_H
13864 # include <sys/param.h>
13865 #endif
13866 #ifdef HAVE_SYS_MOUNT_H
13867 # include <sys/mount.h>
13868 #endif
13869 #ifdef HAVE_SYS_VFS_H
13870 # include <sys/vfs.h>
13871 #endif
13872 #ifdef HAVE_SYS_STATFS_H
13873 # include <sys/statfs.h>
13874 #endif
13876 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
13878 cat >>confdefs.h <<_ACEOF
13879 #define HAVE_STRUCT_STATFS_F_BFREE 1
13880 _ACEOF
13884 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
13885 #ifdef HAVE_SYS_PARAM_H
13886 # include <sys/param.h>
13887 #endif
13888 #ifdef HAVE_SYS_MOUNT_H
13889 # include <sys/mount.h>
13890 #endif
13891 #ifdef HAVE_SYS_VFS_H
13892 # include <sys/vfs.h>
13893 #endif
13894 #ifdef HAVE_SYS_STATFS_H
13895 # include <sys/statfs.h>
13896 #endif
13898 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
13900 cat >>confdefs.h <<_ACEOF
13901 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
13902 _ACEOF
13906 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
13907 #ifdef HAVE_SYS_PARAM_H
13908 # include <sys/param.h>
13909 #endif
13910 #ifdef HAVE_SYS_MOUNT_H
13911 # include <sys/mount.h>
13912 #endif
13913 #ifdef HAVE_SYS_VFS_H
13914 # include <sys/vfs.h>
13915 #endif
13916 #ifdef HAVE_SYS_STATFS_H
13917 # include <sys/statfs.h>
13918 #endif
13920 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
13922 cat >>confdefs.h <<_ACEOF
13923 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
13924 _ACEOF
13928 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
13929 #ifdef HAVE_SYS_PARAM_H
13930 # include <sys/param.h>
13931 #endif
13932 #ifdef HAVE_SYS_MOUNT_H
13933 # include <sys/mount.h>
13934 #endif
13935 #ifdef HAVE_SYS_VFS_H
13936 # include <sys/vfs.h>
13937 #endif
13938 #ifdef HAVE_SYS_STATFS_H
13939 # include <sys/statfs.h>
13940 #endif
13942 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
13944 cat >>confdefs.h <<_ACEOF
13945 #define HAVE_STRUCT_STATFS_F_FFREE 1
13946 _ACEOF
13950 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
13951 #ifdef HAVE_SYS_PARAM_H
13952 # include <sys/param.h>
13953 #endif
13954 #ifdef HAVE_SYS_MOUNT_H
13955 # include <sys/mount.h>
13956 #endif
13957 #ifdef HAVE_SYS_VFS_H
13958 # include <sys/vfs.h>
13959 #endif
13960 #ifdef HAVE_SYS_STATFS_H
13961 # include <sys/statfs.h>
13962 #endif
13964 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
13966 cat >>confdefs.h <<_ACEOF
13967 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
13968 _ACEOF
13972 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
13973 #ifdef HAVE_SYS_PARAM_H
13974 # include <sys/param.h>
13975 #endif
13976 #ifdef HAVE_SYS_MOUNT_H
13977 # include <sys/mount.h>
13978 #endif
13979 #ifdef HAVE_SYS_VFS_H
13980 # include <sys/vfs.h>
13981 #endif
13982 #ifdef HAVE_SYS_STATFS_H
13983 # include <sys/statfs.h>
13984 #endif
13986 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
13988 cat >>confdefs.h <<_ACEOF
13989 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
13990 _ACEOF
13996 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
13997 #include <sys/statvfs.h>
13998 #endif
14000 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
14002 cat >>confdefs.h <<_ACEOF
14003 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
14004 _ACEOF
14010 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
14011 #include <dirent.h>
14012 #endif
14014 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
14016 cat >>confdefs.h <<_ACEOF
14017 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
14018 _ACEOF
14024 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
14025 #ifdef HAVE_SYS_SOCKET_H
14026 # include <sys/socket.h>
14027 #endif
14028 #ifdef HAVE_SYS_UN_H
14029 # include <sys/un.h>
14030 #endif
14032 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
14034 cat >>confdefs.h <<_ACEOF
14035 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
14036 _ACEOF
14040 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
14041 #ifdef HAVE_SYS_SOCKET_H
14042 # include <sys/socket.h>
14043 #endif
14044 #ifdef HAVE_SYS_UN_H
14045 # include <sys/un.h>
14046 #endif
14048 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
14050 cat >>confdefs.h <<_ACEOF
14051 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
14052 _ACEOF
14056 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
14057 #ifdef HAVE_SYS_SOCKET_H
14058 # include <sys/socket.h>
14059 #endif
14060 #ifdef HAVE_SYS_UN_H
14061 # include <sys/un.h>
14062 #endif
14064 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
14066 cat >>confdefs.h <<_ACEOF
14067 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
14068 _ACEOF
14074 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
14075 #ifdef HAVE_SCSI_SG_H
14076 #include <scsi/sg.h>
14077 #endif
14079 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
14081 cat >>confdefs.h <<_ACEOF
14082 #define HAVE_SCSIREQ_T_CMD 1
14083 _ACEOF
14087 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>
14088 #ifdef HAVE_SCSI_SG_H
14089 #include <scsi/sg.h>
14090 #endif
14092 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
14094 cat >>confdefs.h <<_ACEOF
14095 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
14096 _ACEOF
14102 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
14104 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
14106 cat >>confdefs.h <<_ACEOF
14107 #define HAVE_SIGINFO_T_SI_FD 1
14108 _ACEOF
14114 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
14115 #ifdef HAVE_SYS_MTIO_H
14116 #include <sys/mtio.h>
14117 #endif
14119 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
14121 cat >>confdefs.h <<_ACEOF
14122 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
14123 _ACEOF
14127 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
14128 #ifdef HAVE_SYS_MTIO_H
14129 #include <sys/mtio.h>
14130 #endif
14132 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
14134 cat >>confdefs.h <<_ACEOF
14135 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
14136 _ACEOF
14140 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
14141 #ifdef HAVE_SYS_MTIO_H
14142 #include <sys/mtio.h>
14143 #endif
14145 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
14147 cat >>confdefs.h <<_ACEOF
14148 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
14149 _ACEOF
14155 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
14156 #include <getopt.h>
14157 #endif
14159 if test "x$ac_cv_member_struct_option_name" = xyes; then :
14161 cat >>confdefs.h <<_ACEOF
14162 #define HAVE_STRUCT_OPTION_NAME 1
14163 _ACEOF
14169 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
14170 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
14172 cat >>confdefs.h <<_ACEOF
14173 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
14174 _ACEOF
14178 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
14179 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
14181 cat >>confdefs.h <<_ACEOF
14182 #define HAVE_STRUCT_STAT_ST_MTIM 1
14183 _ACEOF
14187 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
14188 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
14190 cat >>confdefs.h <<_ACEOF
14191 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
14192 _ACEOF
14196 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
14197 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
14199 cat >>confdefs.h <<_ACEOF
14200 #define HAVE_STRUCT_STAT_ST_CTIM 1
14201 _ACEOF
14205 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
14206 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
14208 cat >>confdefs.h <<_ACEOF
14209 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
14210 _ACEOF
14214 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
14215 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
14217 cat >>confdefs.h <<_ACEOF
14218 #define HAVE_STRUCT_STAT_ST_ATIM 1
14219 _ACEOF
14223 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
14224 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
14226 cat >>confdefs.h <<_ACEOF
14227 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
14228 _ACEOF
14232 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
14233 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
14235 cat >>confdefs.h <<_ACEOF
14236 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
14237 _ACEOF
14241 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
14242 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
14244 cat >>confdefs.h <<_ACEOF
14245 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
14246 _ACEOF
14250 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
14251 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
14253 cat >>confdefs.h <<_ACEOF
14254 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
14255 _ACEOF
14259 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
14260 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
14262 cat >>confdefs.h <<_ACEOF
14263 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
14264 _ACEOF
14268 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
14269 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
14271 cat >>confdefs.h <<_ACEOF
14272 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
14273 _ACEOF
14279 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
14280 #include <sys/types.h>
14281 #endif
14282 #ifdef HAVE_NETINET_IN_H
14283 #include <netinet/in.h>
14284 #endif
14286 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
14288 cat >>confdefs.h <<_ACEOF
14289 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
14290 _ACEOF
14296 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
14297 #include <sys/types.h>
14298 #endif
14299 #ifdef HAVE_NETINET_IN_H
14300 # include <netinet/in.h>
14301 #endif
14302 #ifdef HAVE_ARPA_NAMESER_H
14303 # include <arpa/nameser.h>
14304 #endif
14306 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
14308 cat >>confdefs.h <<_ACEOF
14309 #define HAVE_NS_MSG__MSG_PTR 1
14310 _ACEOF
14316 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
14317 #include <sys/types.h>
14318 #endif
14319 #ifdef HAVE_NETINET_IP_H
14320 #include <netinet/ip.h>
14321 #endif
14322 #ifdef HAVE_NETINET_IP_ICMP_H
14323 #include <netinet/ip_icmp.h>
14324 #endif
14325 #ifdef HAVE_NETINET_ICMP_VAR_H
14326 #include <netinet/icmp_var.h>
14327 #endif
14329 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
14331 cat >>confdefs.h <<_ACEOF
14332 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
14333 _ACEOF
14339 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
14340 #include <sys/types.h>
14341 #endif
14342 #ifdef HAVE_ALIAS_H
14343 #include <alias.h>
14344 #endif
14345 #ifdef HAVE_SYS_SOCKET_H
14346 #include <sys/socket.h>
14347 #endif
14348 #ifdef HAVE_SYS_SOCKETVAR_H
14349 #include <sys/socketvar.h>
14350 #endif
14351 #ifdef HAVE_SYS_TIMEOUT_H
14352 #include <sys/timeout.h>
14353 #endif
14354 #ifdef HAVE_NETINET_IN_H
14355 #include <netinet/in.h>
14356 #endif
14357 #ifdef HAVE_NETINET_IN_SYSTM_H
14358 #include <netinet/in_systm.h>
14359 #endif
14360 #ifdef HAVE_NETINET_IP_H
14361 #include <netinet/ip.h>
14362 #endif
14363 #ifdef HAVE_NETINET_IP_VAR_H
14364 #include <netinet/ip_var.h>
14365 #endif
14366 #ifdef HAVE_NETINET_IP_ICMP_H
14367 #include <netinet/ip_icmp.h>
14368 #endif
14369 #ifdef HAVE_NETINET_ICMP_VAR_H
14370 #include <netinet/icmp_var.h>
14371 #endif
14373 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
14375 cat >>confdefs.h <<_ACEOF
14376 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
14377 _ACEOF
14383 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
14384 #include <sys/types.h>
14385 #endif
14386 #ifdef HAVE_SYS_SOCKETVAR_H
14387 #include <sys/socketvar.h>
14388 #endif
14389 #ifdef HAVE_NETINET_IN_H
14390 #include <netinet/in.h>
14391 #endif
14392 #ifdef HAVE_NETINET_IP_VAR_H
14393 #include <netinet/ip_var.h>
14394 #endif
14396 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
14398 cat >>confdefs.h <<_ACEOF
14399 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
14400 _ACEOF
14406 ac_fn_c_check_member "$LINENO" "struct ip_stats" "ips_total" "ac_cv_member_struct_ip_stats_ips_total" "#ifdef HAVE_NETINET_IP_VAR_H
14407 #include <netinet/ip_var.h>
14408 #endif
14410 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
14412 cat >>confdefs.h <<_ACEOF
14413 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
14414 _ACEOF
14420 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
14421 #include <sys/types.h>
14422 #endif
14423 #ifdef HAVE_SYS_SOCKETVAR_H
14424 #include <sys/socketvar.h>
14425 #endif
14426 #ifdef HAVE_NETINET_IN_H
14427 #include <netinet/in.h>
14428 #endif
14429 #ifdef HAVE_NETINET_TCP_H
14430 #include <netinet/tcp.h>
14431 #endif
14432 #ifdef HAVE_NETINET_TCP_VAR_H
14433 #include <netinet/tcp_var.h>
14434 #endif
14436 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
14438 cat >>confdefs.h <<_ACEOF
14439 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
14440 _ACEOF
14446 ac_fn_c_check_member "$LINENO" "struct tcp_stats" "tcps_connattempt" "ac_cv_member_struct_tcp_stats_tcps_connattempt" "#ifdef HAVE_NETINET_TCP_VAR_H
14447 #include <netinet/tcp_var.h>
14448 #endif
14450 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
14452 cat >>confdefs.h <<_ACEOF
14453 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
14454 _ACEOF
14460 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
14461 #include <sys/types.h>
14462 #endif
14463 #ifdef HAVE_NETINET_IN_H
14464 #include <netinet/in.h>
14465 #endif
14466 #ifdef HAVE_NETINET_IP_VAR_H
14467 #include <netinet/ip_var.h>
14468 #endif
14469 #ifdef HAVE_NETINET_UDP_H
14470 #include <netinet/udp.h>
14471 #endif
14472 #ifdef HAVE_NETINET_UDP_VAR_H
14473 #include <netinet/udp_var.h>
14474 #endif
14476 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
14478 cat >>confdefs.h <<_ACEOF
14479 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
14480 _ACEOF
14486 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
14487 #include <sys/types.h>
14488 #endif
14489 #ifdef HAVE_NET_IF_H
14490 # include <net/if.h>
14491 #endif
14493 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
14495 cat >>confdefs.h <<_ACEOF
14496 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
14497 _ACEOF
14503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
14504 $as_echo_n "checking for timezone variable... " >&6; }
14505 if ${ac_cv_have_timezone+:} false; then :
14506 $as_echo_n "(cached) " >&6
14507 else
14508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14509 /* end confdefs.h. */
14510 #include <time.h>
14512 main ()
14514 timezone = 1
14516 return 0;
14518 _ACEOF
14519 if ac_fn_c_try_link "$LINENO"; then :
14520 ac_cv_have_timezone="yes"
14521 else
14522 ac_cv_have_timezone="no"
14524 rm -f core conftest.err conftest.$ac_objext \
14525 conftest$ac_exeext conftest.$ac_ext
14527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
14528 $as_echo "$ac_cv_have_timezone" >&6; }
14529 if test "$ac_cv_have_timezone" = "yes"
14530 then
14532 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
14535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
14536 $as_echo_n "checking for daylight variable... " >&6; }
14537 if ${ac_cv_have_daylight+:} false; then :
14538 $as_echo_n "(cached) " >&6
14539 else
14540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14541 /* end confdefs.h. */
14542 #include <time.h>
14544 main ()
14546 daylight = 1
14548 return 0;
14550 _ACEOF
14551 if ac_fn_c_try_link "$LINENO"; then :
14552 ac_cv_have_daylight="yes"
14553 else
14554 ac_cv_have_daylight="no"
14556 rm -f core conftest.err conftest.$ac_objext \
14557 conftest$ac_exeext conftest.$ac_ext
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
14560 $as_echo "$ac_cv_have_daylight" >&6; }
14561 if test "$ac_cv_have_daylight" = "yes"
14562 then
14564 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
14568 ac_save_LIBS="$LIBS"
14569 LIBS="$LIBS -lm"
14570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
14571 $as_echo_n "checking for isinf... " >&6; }
14572 if ${ac_cv_have_isinf+:} false; then :
14573 $as_echo_n "(cached) " >&6
14574 else
14575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14576 /* end confdefs.h. */
14577 #include <math.h>
14579 main ()
14581 float f = 0.0; return isinf(f)
14583 return 0;
14585 _ACEOF
14586 if ac_fn_c_try_link "$LINENO"; then :
14587 ac_cv_have_isinf="yes"
14588 else
14589 ac_cv_have_isinf="no"
14591 rm -f core conftest.err conftest.$ac_objext \
14592 conftest$ac_exeext conftest.$ac_ext
14594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
14595 $as_echo "$ac_cv_have_isinf" >&6; }
14596 if test "$ac_cv_have_isinf" = "yes"
14597 then
14599 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
14603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
14604 $as_echo_n "checking for isnan... " >&6; }
14605 if ${ac_cv_have_isnan+:} false; then :
14606 $as_echo_n "(cached) " >&6
14607 else
14608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14609 /* end confdefs.h. */
14610 #include <math.h>
14612 main ()
14614 float f = 0.0; return isnan(f)
14616 return 0;
14618 _ACEOF
14619 if ac_fn_c_try_link "$LINENO"; then :
14620 ac_cv_have_isnan="yes"
14621 else
14622 ac_cv_have_isnan="no"
14624 rm -f core conftest.err conftest.$ac_objext \
14625 conftest$ac_exeext conftest.$ac_ext
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
14628 $as_echo "$ac_cv_have_isnan" >&6; }
14629 if test "$ac_cv_have_isnan" = "yes"
14630 then
14632 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
14635 LIBS="$ac_save_LIBS"
14638 case $host_cpu in
14639 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
14640 $as_echo_n "checking whether we need to define __i386__... " >&6; }
14641 if ${ac_cv_cpp_def___i386__+:} false; then :
14642 $as_echo_n "(cached) " >&6
14643 else
14644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14645 /* end confdefs.h. */
14646 #ifndef __i386__
14648 #endif
14649 _ACEOF
14650 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14651 $EGREP "yes" >/dev/null 2>&1; then :
14652 ac_cv_cpp_def___i386__=yes
14653 else
14654 ac_cv_cpp_def___i386__=no
14656 rm -f conftest*
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
14660 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
14661 if test $ac_cv_cpp_def___i386__ = yes; then :
14662 CFLAGS="$CFLAGS -D__i386__"
14663 LINTFLAGS="$LINTFLAGS -D__i386__"
14664 fi ;;
14665 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
14666 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
14667 if ${ac_cv_cpp_def___x86_64__+:} false; then :
14668 $as_echo_n "(cached) " >&6
14669 else
14670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14671 /* end confdefs.h. */
14672 #ifndef __x86_64__
14674 #endif
14675 _ACEOF
14676 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14677 $EGREP "yes" >/dev/null 2>&1; then :
14678 ac_cv_cpp_def___x86_64__=yes
14679 else
14680 ac_cv_cpp_def___x86_64__=no
14682 rm -f conftest*
14685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
14686 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
14687 if test $ac_cv_cpp_def___x86_64__ = yes; then :
14688 CFLAGS="$CFLAGS -D__x86_64__"
14689 LINTFLAGS="$LINTFLAGS -D__x86_64__"
14690 fi ;;
14691 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
14692 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
14693 if ${ac_cv_cpp_def___sparc64__+:} false; then :
14694 $as_echo_n "(cached) " >&6
14695 else
14696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14697 /* end confdefs.h. */
14698 #ifndef __sparc64__
14700 #endif
14701 _ACEOF
14702 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14703 $EGREP "yes" >/dev/null 2>&1; then :
14704 ac_cv_cpp_def___sparc64__=yes
14705 else
14706 ac_cv_cpp_def___sparc64__=no
14708 rm -f conftest*
14711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
14712 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
14713 if test $ac_cv_cpp_def___sparc64__ = yes; then :
14714 CFLAGS="$CFLAGS -D__sparc64__"
14715 LINTFLAGS="$LINTFLAGS -D__sparc64__"
14716 fi ;;
14717 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
14718 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
14719 if ${ac_cv_cpp_def___sparc__+:} false; then :
14720 $as_echo_n "(cached) " >&6
14721 else
14722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14723 /* end confdefs.h. */
14724 #ifndef __sparc__
14726 #endif
14727 _ACEOF
14728 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14729 $EGREP "yes" >/dev/null 2>&1; then :
14730 ac_cv_cpp_def___sparc__=yes
14731 else
14732 ac_cv_cpp_def___sparc__=no
14734 rm -f conftest*
14737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
14738 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
14739 if test $ac_cv_cpp_def___sparc__ = yes; then :
14740 CFLAGS="$CFLAGS -D__sparc__"
14741 LINTFLAGS="$LINTFLAGS -D__sparc__"
14742 fi ;;
14743 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
14744 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
14745 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
14746 $as_echo_n "(cached) " >&6
14747 else
14748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14749 /* end confdefs.h. */
14750 #ifndef __powerpc64__
14752 #endif
14753 _ACEOF
14754 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14755 $EGREP "yes" >/dev/null 2>&1; then :
14756 ac_cv_cpp_def___powerpc64__=yes
14757 else
14758 ac_cv_cpp_def___powerpc64__=no
14760 rm -f conftest*
14763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
14764 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
14765 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
14766 CFLAGS="$CFLAGS -D__powerpc64__"
14767 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
14768 fi ;;
14769 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
14770 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
14771 if ${ac_cv_cpp_def___powerpc__+:} false; then :
14772 $as_echo_n "(cached) " >&6
14773 else
14774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14775 /* end confdefs.h. */
14776 #ifndef __powerpc__
14778 #endif
14779 _ACEOF
14780 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14781 $EGREP "yes" >/dev/null 2>&1; then :
14782 ac_cv_cpp_def___powerpc__=yes
14783 else
14784 ac_cv_cpp_def___powerpc__=no
14786 rm -f conftest*
14789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
14790 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
14791 if test $ac_cv_cpp_def___powerpc__ = yes; then :
14792 CFLAGS="$CFLAGS -D__powerpc__"
14793 LINTFLAGS="$LINTFLAGS -D__powerpc__"
14794 fi ;;
14795 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
14796 $as_echo_n "checking whether we need to define __arm__... " >&6; }
14797 if ${ac_cv_cpp_def___arm__+:} false; then :
14798 $as_echo_n "(cached) " >&6
14799 else
14800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14801 /* end confdefs.h. */
14802 #ifndef __arm__
14804 #endif
14805 _ACEOF
14806 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14807 $EGREP "yes" >/dev/null 2>&1; then :
14808 ac_cv_cpp_def___arm__=yes
14809 else
14810 ac_cv_cpp_def___arm__=no
14812 rm -f conftest*
14815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
14816 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
14817 if test $ac_cv_cpp_def___arm__ = yes; then :
14818 CFLAGS="$CFLAGS -D__arm__"
14819 LINTFLAGS="$LINTFLAGS -D__arm__"
14820 fi ;;
14821 esac
14823 case $host_vendor in
14824 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
14825 $as_echo_n "checking whether we need to define __sun__... " >&6; }
14826 if ${ac_cv_cpp_def___sun__+:} false; then :
14827 $as_echo_n "(cached) " >&6
14828 else
14829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14830 /* end confdefs.h. */
14831 #ifndef __sun__
14833 #endif
14834 _ACEOF
14835 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14836 $EGREP "yes" >/dev/null 2>&1; then :
14837 ac_cv_cpp_def___sun__=yes
14838 else
14839 ac_cv_cpp_def___sun__=no
14841 rm -f conftest*
14844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
14845 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
14846 if test $ac_cv_cpp_def___sun__ = yes; then :
14847 CFLAGS="$CFLAGS -D__sun__"
14848 LINTFLAGS="$LINTFLAGS -D__sun__"
14849 fi ;;
14850 esac
14856 ac_config_commands="$ac_config_commands include/stamp-h"
14859 ALL_MAKEFILE_DEPENDS="
14860 # Rules automatically generated by configure
14862 .INIT: Makefile
14863 .MAKEFILEDEPS:
14864 all: Makefile
14865 Makefile: Makefile.in Make.vars.in Make.rules config.status
14866 @./config.status Make.tmp Makefile"
14868 ALL_POT_FILES=""
14869 ALL_TEST_RESOURCES=""
14872 wine_fn_append_file ()
14874 as_fn_append $1 " \\$as_nl $2"
14877 wine_fn_append_rule ()
14879 as_fn_append $1 "$as_nl$2"
14882 wine_fn_has_flag ()
14884 expr ",$2," : ".*,$1,.*" >/dev/null
14887 wine_fn_all_dir_rules ()
14889 ac_dir=$1
14890 ac_alldeps=$2
14891 ac_makedep="\$(MAKEDEP)"
14892 ac_input=Make.vars.in:$ac_dir/Makefile.in
14893 if test $ac_dir != tools
14894 then
14895 ac_alldeps="$2 $ac_makedep"
14896 else
14897 ac_alldeps="$2 include/config.h"
14899 case $2 in
14900 *.in) ac_input=$ac_input:$2 ;;
14901 *) ac_makedep="$2 $ac_makedep" ;;
14902 esac
14904 wine_fn_append_file ALL_DIRS $ac_dir
14905 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14906 "__clean__: $ac_dir/__clean__
14907 .PHONY: $ac_dir/__clean__
14908 $ac_dir/__clean__: $ac_dir/Makefile
14909 @cd $ac_dir && \$(MAKE) clean
14910 \$(RM) $ac_dir/Makefile
14911 $ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
14912 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
14913 depend: $ac_dir/__depend__
14914 .PHONY: $ac_dir/__depend__
14915 $ac_dir/__depend__: $ac_makedep dummy
14916 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
14919 wine_fn_pot_rules ()
14921 ac_dir=$1
14922 ac_flags=$2
14924 test "x$with_gettextpo" = xyes || return
14926 if wine_fn_has_flag mc $ac_flags
14927 then
14928 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
14929 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14930 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
14931 @cd $ac_dir && \$(MAKE) msg.pot
14932 $ac_dir/msg.pot: tools/wmc include"
14934 if wine_fn_has_flag po $ac_flags
14935 then
14936 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
14937 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14938 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
14939 @cd $ac_dir && \$(MAKE) rsrc.pot
14940 $ac_dir/rsrc.pot: tools/wrc include"
14944 wine_fn_config_makefile ()
14946 ac_dir=$1
14947 ac_enable=$2
14948 ac_flags=$3
14949 ac_rules=$4
14950 if eval test \"x\$"$ac_enable"\" = x"no"; then :
14951 return 0
14954 wine_fn_all_dir_rules $ac_dir ${ac_rules:-Make.rules}
14955 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14956 "all: $ac_dir
14957 .PHONY: $ac_dir
14958 $ac_dir: $ac_dir/Makefile dummy
14959 @cd $ac_dir && \$(MAKE)"
14961 wine_fn_has_flag install-lib $ac_flags || wine_fn_has_flag install-dev $ac_flags || return
14963 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14964 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
14965 $ac_dir/__install__:: $ac_dir
14966 @cd $ac_dir && \$(MAKE) install
14967 $ac_dir/__uninstall__:: $ac_dir/Makefile
14968 @cd $ac_dir && \$(MAKE) uninstall
14969 install:: $ac_dir/__install__
14970 __uninstall__: $ac_dir/__uninstall__"
14972 if wine_fn_has_flag install-lib $ac_flags
14973 then
14974 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14975 ".PHONY: $ac_dir/__install-lib__
14976 $ac_dir/__install-lib__:: $ac_dir
14977 @cd $ac_dir && \$(MAKE) install-lib
14978 install-lib:: $ac_dir/__install-lib__"
14981 if wine_fn_has_flag install-dev $ac_flags
14982 then
14983 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14984 ".PHONY: $ac_dir/__install-dev
14985 $ac_dir/__install-dev__:: $ac_dir
14986 @cd $ac_dir && \$(MAKE) install-dev
14987 install-dev:: $ac_dir/__install-dev__"
14991 wine_fn_config_lib ()
14993 ac_name=$1
14994 ac_flags=$2
14995 ac_dir=dlls/$ac_name
14996 wine_fn_config_makefile $ac_dir enable_$ac_name "$ac_flags" dlls/Makeimplib.rules
14998 if wine_fn_has_flag install-dev $ac_flags
14999 then :
15000 else
15001 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15002 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15003 $ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir)
15004 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
15005 $ac_dir/__uninstall__::
15006 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
15007 install install-dev:: $ac_dir/__install__
15008 __uninstall__: $ac_dir/__uninstall__"
15011 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "__builddeps__: $ac_dir"
15012 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "$ac_dir: tools/widl tools/winebuild tools/winegcc include"
15015 wine_fn_config_dll ()
15017 ac_name=$1
15018 ac_dir=dlls/$ac_name
15019 ac_enable=$2
15020 ac_flags=$3
15021 ac_implib=${4:-$ac_name}
15022 ac_file=$ac_dir/lib$ac_implib
15023 ac_dll=$ac_name
15024 ac_deps="tools/widl tools/winebuild tools/winegcc include"
15025 ac_implibflags=""
15027 case $ac_name in
15028 *16) ac_implibflags=" -m16" ;;
15029 *.*) ;;
15030 *) ac_dll=$ac_dll.dll ;;
15031 esac
15033 wine_fn_config_makefile $ac_dir $ac_enable "$ac_flags" dlls/Makedll.rules
15035 if eval test \"x\$"$ac_enable"\" = x"no"; then :
15036 test "$ac_enable" != enable_win16 || return 0
15037 wine_fn_has_flag implib $ac_flags && wine_fn_all_dir_rules $ac_dir dlls/Makedll.rules
15038 else
15039 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15040 "$ac_dir: __builddeps__
15041 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
15042 @cd $ac_dir && \$(MAKE) \$@"
15044 if wine_fn_has_flag install-lib $ac_flags
15045 then :
15046 else
15047 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15048 ".PHONY: $ac_dir/__install-lib__ $ac_dir/__uninstall__
15049 install install-lib:: $ac_dir/__install-lib__
15050 __uninstall__: $ac_dir/__uninstall__"
15051 if test -n "$DLLEXT"
15052 then
15053 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15054 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
15055 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
15056 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
15057 $ac_dir/__uninstall__::
15058 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
15059 else
15060 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15061 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
15062 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
15063 $ac_dir/__uninstall__::
15064 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
15068 wine_fn_pot_rules $ac_dir $ac_flags
15071 if wine_fn_has_flag staticimplib $ac_flags
15072 then
15073 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15074 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
15075 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
15076 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile
15077 @cd $ac_dir && \$(MAKE) lib$ac_implib.def
15078 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
15079 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
15080 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
15081 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
15082 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15083 $ac_dir/__uninstall__::
15084 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15085 install install-dev:: $ac_dir/__install-dev__
15086 __uninstall__: $ac_dir/__uninstall__"
15088 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
15089 then
15090 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15091 "$ac_dir/__install-dev__:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
15092 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
15093 $ac_dir/__uninstall__::
15094 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
15097 if test "x$CROSSTEST_DISABLE" = x
15098 then
15099 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15100 "__builddeps__: $ac_file.cross.a
15101 $ac_file.cross.a: $ac_dir/Makefile dummy
15102 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
15105 elif wine_fn_has_flag implib $ac_flags
15106 then
15107 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15108 "__builddeps__: $ac_file.$IMPLIBEXT
15109 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15110 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
15111 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15112 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
15113 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
15114 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
15115 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15116 $ac_dir/__uninstall__::
15117 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15118 install install-dev:: $ac_dir/__install-dev__
15119 __uninstall__: $ac_dir/__uninstall__"
15120 if test "x$CROSSTEST_DISABLE" = x
15121 then
15122 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15123 "__builddeps__: $ac_file.cross.a
15124 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15125 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
15128 if test "$ac_name" != "$ac_implib"
15129 then
15130 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15131 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
15132 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
15133 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
15134 clean::
15135 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
15136 if test "x$CROSSTEST_DISABLE" = x
15137 then
15138 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15139 "__builddeps__: dlls/lib$ac_implib.cross.a
15140 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
15141 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
15147 wine_fn_config_program ()
15149 ac_name=$1
15150 ac_dir=programs/$ac_name
15151 ac_enable=$2
15152 ac_flags=$3
15153 ac_program=$ac_name
15155 case $ac_name in
15156 *.*) ;;
15157 *) ac_program=$ac_program.exe ;;
15158 esac
15160 wine_fn_config_makefile $ac_dir $ac_enable "$ac_flags" programs/Makeprog.rules
15162 if eval test \"x\$"$ac_enable"\" = x"no"; then :
15164 else
15165 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15166 "$ac_dir: __builddeps__"
15168 wine_fn_pot_rules $ac_dir $ac_flags
15170 wine_fn_has_flag install $ac_flags || return
15171 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15172 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15173 install install-lib:: $ac_dir/__install__
15174 __uninstall__: $ac_dir/__uninstall__"
15176 if test -n "$DLLEXT"
15177 then
15178 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15179 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
15180 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
15181 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
15182 $ac_dir/__uninstall__::
15183 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
15185 if test "x$enable_tools" != xno && wine_fn_has_flag installbin $ac_flags
15186 then
15187 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15188 "$ac_dir/__install__:: tools \$(DESTDIR)\$(bindir)
15189 \$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
15190 $ac_dir/__uninstall__::
15191 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
15193 else
15194 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15195 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
15196 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(dlldir)/$ac_program
15197 $ac_dir/__uninstall__::
15198 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program"
15201 if test "x$enable_tools" != xno && wine_fn_has_flag manpage $ac_flags
15202 then
15203 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15204 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
15205 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
15206 $ac_dir/__uninstall__::
15207 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
15212 wine_fn_config_test ()
15214 ac_dir=$1
15215 ac_name=$2
15216 ac_flags=$3
15217 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
15218 wine_fn_all_dir_rules $ac_dir Maketest.rules
15220 if test "x$enable_tests" = xno; then :
15222 else
15223 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15224 "all: $ac_dir
15225 .PHONY: $ac_dir
15226 $ac_dir: $ac_dir/Makefile programs/winetest/Makefile __builddeps__ dummy
15227 @cd $ac_dir && \$(MAKE)
15228 programs/winetest: $ac_dir
15229 check test: $ac_dir/__test__
15230 .PHONY: $ac_dir/__test__
15231 $ac_dir/__test__: dummy
15232 @cd $ac_dir && \$(MAKE) test
15233 testclean::
15234 \$(RM) $ac_dir/*.ok"
15236 if test "x$CROSSTEST_DISABLE" = x
15237 then
15238 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15239 "crosstest: $ac_dir/__crosstest__
15240 .PHONY: $ac_dir/__crosstest__
15241 $ac_dir/__crosstest__: $ac_dir/Makefile __builddeps__ dummy
15242 @cd $ac_dir && \$(MAKE) crosstest"
15247 wine_fn_config_tool ()
15249 ac_dir=$1
15250 ac_flags=$2
15251 if test "x$enable_tools" = xno; then :
15252 return 0
15255 wine_fn_config_makefile $ac_dir enable_tools $ac_flags
15257 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "__tooldeps__: $ac_dir"
15258 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "$ac_dir: libs/port"
15259 case $ac_dir in
15260 tools/winebuild) wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(WINEBUILD): $ac_dir" ;;
15261 esac
15264 wine_fn_config_makerules ()
15266 ac_rules=$1
15267 ac_deps=$2
15268 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15269 "$ac_rules: $ac_rules.in $ac_deps config.status
15270 @./config.status $ac_rules
15271 distclean::
15272 \$(RM) $ac_rules"
15275 wine_fn_config_symlink ()
15277 ac_link=$1
15278 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15279 "$ac_link:
15280 @./config.status $ac_link
15281 distclean::
15282 \$(RM) $ac_link"
15285 if test "x$CROSSTEST_DISABLE" != x
15286 then
15287 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15288 "crosstest:
15289 @echo \"crosstest is not supported (mingw not installed?)\" && false"
15291 ac_config_links="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
15292 wine_fn_config_symlink dlls/shell32/AUTHORS
15293 ac_config_links="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
15294 test "$srcdir" = "." || wine_fn_config_symlink dlls/wineps.drv/generic.ppd
15295 if test "x$enable_fonts" != xno; then
15296 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
15297 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf
15299 if test "x$enable_fonts" != xno; then
15300 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
15301 test "$srcdir" = "." || wine_fn_config_symlink fonts/symbol.ttf
15303 if test "x$enable_fonts" != xno; then
15304 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
15305 test "$srcdir" = "." || wine_fn_config_symlink fonts/tahoma.ttf
15307 if test "x$enable_fonts" != xno; then
15308 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
15309 test "$srcdir" = "." || wine_fn_config_symlink fonts/tahomabd.ttf
15311 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
15312 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
15313 if test "x$enable_tools" != xno; then
15314 ac_config_links="$ac_config_links tools/l_intl.nls:tools/l_intl.nls"
15315 test "$srcdir" = "." || wine_fn_config_symlink tools/l_intl.nls
15317 ac_config_links="$ac_config_links wine:tools/winewrapper"
15318 wine_fn_config_symlink wine
15319 if test "x$enable_win64" != xno; then
15320 ac_config_links="$ac_config_links wine64:tools/winewrapper"
15321 wine_fn_config_symlink wine64
15324 ac_config_commands="$ac_config_commands dlls/gdi32/dibdrv"
15326 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
15328 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
15330 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
15332 ac_config_commands="$ac_config_commands dlls/user32/resources"
15334 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
15336 ac_config_commands="$ac_config_commands include/wine"
15339 wine_fn_config_makerules Make.rules
15340 MAKE_RULES=Make.rules
15341 ac_config_files="$ac_config_files Make.rules"
15343 wine_fn_config_makerules Maketest.rules Make.rules
15344 MAKE_TEST_RULES=Maketest.rules
15345 ac_config_files="$ac_config_files Maketest.rules"
15347 wine_fn_config_makerules dlls/Makedll.rules Make.rules
15348 MAKE_DLL_RULES=dlls/Makedll.rules
15349 ac_config_files="$ac_config_files dlls/Makedll.rules"
15351 wine_fn_config_makerules dlls/Makeimplib.rules Make.rules
15352 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
15353 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
15355 wine_fn_config_makerules programs/Makeprog.rules Make.rules
15356 MAKE_PROG_RULES=programs/Makeprog.rules
15357 ac_config_files="$ac_config_files programs/Makeprog.rules"
15360 wine_fn_config_dll acledit enable_acledit
15361 wine_fn_config_dll aclui enable_aclui implib
15362 wine_fn_config_dll activeds enable_activeds implib
15363 wine_fn_config_dll actxprxy enable_actxprxy
15364 wine_fn_config_lib adsiid
15365 wine_fn_config_dll advapi32 enable_advapi32 implib
15366 wine_fn_config_test dlls/advapi32/tests advapi32_test
15367 wine_fn_config_dll advpack enable_advpack implib
15368 wine_fn_config_test dlls/advpack/tests advpack_test
15369 wine_fn_config_dll amstream enable_amstream
15370 wine_fn_config_test dlls/amstream/tests amstream_test
15371 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
15372 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
15373 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
15374 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
15375 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
15376 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
15377 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
15378 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
15379 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
15380 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
15381 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
15382 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
15383 wine_fn_config_dll apphelp enable_apphelp
15384 wine_fn_config_test dlls/apphelp/tests apphelp_test
15385 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
15386 wine_fn_config_dll atl enable_atl implib
15387 wine_fn_config_test dlls/atl/tests atl_test
15388 wine_fn_config_dll atl100 enable_atl100 implib
15389 wine_fn_config_test dlls/atl100/tests atl100_test
15390 wine_fn_config_dll atl80 enable_atl80 implib
15391 wine_fn_config_dll authz enable_authz
15392 wine_fn_config_dll avicap32 enable_avicap32 implib
15393 wine_fn_config_dll avifil32 enable_avifil32 implib,po
15394 wine_fn_config_test dlls/avifil32/tests avifil32_test
15395 wine_fn_config_dll avifile.dll16 enable_win16
15396 wine_fn_config_dll avrt enable_avrt implib
15397 wine_fn_config_dll bcrypt enable_bcrypt
15398 wine_fn_config_dll browseui enable_browseui po
15399 wine_fn_config_test dlls/browseui/tests browseui_test
15400 wine_fn_config_dll cabinet enable_cabinet implib
15401 wine_fn_config_test dlls/cabinet/tests cabinet_test
15402 wine_fn_config_dll capi2032 enable_capi2032 implib
15403 wine_fn_config_dll cards enable_cards implib
15404 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
15405 wine_fn_config_dll clusapi enable_clusapi implib
15406 wine_fn_config_dll comcat enable_comcat
15407 wine_fn_config_test dlls/comcat/tests comcat_test
15408 wine_fn_config_dll comctl32 enable_comctl32 implib,po
15409 wine_fn_config_test dlls/comctl32/tests comctl32_test
15410 wine_fn_config_dll comdlg32 enable_comdlg32 implib,po
15411 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
15412 wine_fn_config_dll comm.drv16 enable_win16
15413 wine_fn_config_dll commdlg.dll16 enable_win16
15414 wine_fn_config_dll compobj.dll16 enable_win16
15415 wine_fn_config_dll compstui enable_compstui implib
15416 wine_fn_config_dll credui enable_credui implib,po
15417 wine_fn_config_test dlls/credui/tests credui_test
15418 wine_fn_config_dll crtdll enable_crtdll implib
15419 wine_fn_config_dll crypt32 enable_crypt32 implib,po
15420 wine_fn_config_test dlls/crypt32/tests crypt32_test
15421 wine_fn_config_dll cryptdlg enable_cryptdlg po
15422 wine_fn_config_dll cryptdll enable_cryptdll implib
15423 wine_fn_config_dll cryptnet enable_cryptnet implib
15424 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
15425 wine_fn_config_dll cryptui enable_cryptui implib,po
15426 wine_fn_config_test dlls/cryptui/tests cryptui_test
15427 wine_fn_config_dll ctapi32 enable_ctapi32
15428 wine_fn_config_dll ctl3d.dll16 enable_win16
15429 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
15430 wine_fn_config_dll ctl3dv2.dll16 enable_win16
15431 wine_fn_config_dll d3d10 enable_d3d10 implib
15432 wine_fn_config_test dlls/d3d10/tests d3d10_test
15433 wine_fn_config_dll d3d10core enable_d3d10core implib
15434 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
15435 wine_fn_config_dll d3d11 enable_d3d11
15436 wine_fn_config_dll d3d8 enable_d3d8 implib
15437 wine_fn_config_test dlls/d3d8/tests d3d8_test
15438 wine_fn_config_dll d3d9 enable_d3d9 implib
15439 wine_fn_config_test dlls/d3d9/tests d3d9_test
15440 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
15441 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
15442 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
15443 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
15444 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
15445 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
15446 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
15447 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
15448 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
15449 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
15450 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
15451 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
15452 wine_fn_config_dll d3dim enable_d3dim implib
15453 wine_fn_config_dll d3drm enable_d3drm implib
15454 wine_fn_config_test dlls/d3drm/tests d3drm_test
15455 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
15456 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
15457 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
15458 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
15459 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
15460 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
15461 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
15462 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
15463 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
15464 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
15465 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
15466 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
15467 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
15468 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
15469 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
15470 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
15471 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
15472 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
15473 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
15474 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
15475 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
15476 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
15477 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
15478 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
15479 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
15480 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
15481 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
15482 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
15483 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
15484 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
15485 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
15486 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
15487 wine_fn_config_dll d3dxof enable_d3dxof implib
15488 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
15489 wine_fn_config_dll dbgeng enable_dbgeng implib
15490 wine_fn_config_dll dbghelp enable_dbghelp implib
15491 wine_fn_config_dll dciman32 enable_dciman32 implib
15492 wine_fn_config_dll ddeml.dll16 enable_win16
15493 wine_fn_config_dll ddraw enable_ddraw implib
15494 wine_fn_config_test dlls/ddraw/tests ddraw_test
15495 wine_fn_config_dll ddrawex enable_ddrawex
15496 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
15497 wine_fn_config_dll devenum enable_devenum po
15498 wine_fn_config_test dlls/devenum/tests devenum_test
15499 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
15500 wine_fn_config_dll dinput enable_dinput implib,po,staticimplib
15501 wine_fn_config_test dlls/dinput/tests dinput_test
15502 wine_fn_config_dll dinput8 enable_dinput8 implib
15503 wine_fn_config_test dlls/dinput8/tests dinput8_test
15504 wine_fn_config_dll dispdib.dll16 enable_win16
15505 wine_fn_config_dll dispex enable_dispex
15506 wine_fn_config_test dlls/dispex/tests dispex_test
15507 wine_fn_config_dll display.drv16 enable_win16
15508 wine_fn_config_dll dmband enable_dmband
15509 wine_fn_config_test dlls/dmband/tests dmband_test
15510 wine_fn_config_dll dmcompos enable_dmcompos
15511 wine_fn_config_dll dmime enable_dmime
15512 wine_fn_config_test dlls/dmime/tests dmime_test
15513 wine_fn_config_dll dmloader enable_dmloader
15514 wine_fn_config_test dlls/dmloader/tests dmloader_test
15515 wine_fn_config_dll dmscript enable_dmscript
15516 wine_fn_config_dll dmstyle enable_dmstyle
15517 wine_fn_config_dll dmsynth enable_dmsynth
15518 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
15519 wine_fn_config_dll dmusic enable_dmusic
15520 wine_fn_config_test dlls/dmusic/tests dmusic_test
15521 wine_fn_config_dll dmusic32 enable_dmusic32 implib
15522 wine_fn_config_dll dnsapi enable_dnsapi implib
15523 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
15524 wine_fn_config_dll dplay enable_dplay implib
15525 wine_fn_config_dll dplayx enable_dplayx implib
15526 wine_fn_config_test dlls/dplayx/tests dplayx_test
15527 wine_fn_config_dll dpnaddr enable_dpnaddr
15528 wine_fn_config_dll dpnet enable_dpnet implib
15529 wine_fn_config_test dlls/dpnet/tests dpnet_test
15530 wine_fn_config_dll dpnhpast enable_dpnhpast
15531 wine_fn_config_dll dpnlobby enable_dpnlobby
15532 wine_fn_config_dll dpwsockx enable_dpwsockx
15533 wine_fn_config_dll drmclien enable_drmclien
15534 wine_fn_config_dll dsound enable_dsound implib
15535 wine_fn_config_test dlls/dsound/tests dsound_test
15536 wine_fn_config_dll dssenh enable_dssenh
15537 wine_fn_config_test dlls/dssenh/tests dssenh_test
15538 wine_fn_config_dll dswave enable_dswave
15539 wine_fn_config_dll dwmapi enable_dwmapi implib
15540 wine_fn_config_dll dwrite enable_dwrite implib
15541 wine_fn_config_test dlls/dwrite/tests dwrite_test
15542 wine_fn_config_dll dxdiagn enable_dxdiagn po
15543 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
15544 wine_fn_config_lib dxerr8
15545 wine_fn_config_lib dxerr9
15546 wine_fn_config_dll dxgi enable_dxgi implib
15547 wine_fn_config_test dlls/dxgi/tests dxgi_test
15548 wine_fn_config_lib dxguid
15549 wine_fn_config_dll explorerframe enable_explorerframe
15550 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
15551 wine_fn_config_dll faultrep enable_faultrep implib
15552 wine_fn_config_test dlls/faultrep/tests faultrep_test
15553 wine_fn_config_dll fltlib enable_fltlib
15554 wine_fn_config_dll fusion enable_fusion
15555 wine_fn_config_test dlls/fusion/tests fusion_test
15556 wine_fn_config_dll fwpuclnt enable_fwpuclnt
15557 wine_fn_config_dll gameux enable_gameux
15558 wine_fn_config_test dlls/gameux/tests gameux_test
15559 wine_fn_config_dll gdi.exe16 enable_win16
15560 wine_fn_config_dll gdi32 enable_gdi32 implib,po
15561 wine_fn_config_test dlls/gdi32/tests gdi32_test
15562 wine_fn_config_dll gdiplus enable_gdiplus implib
15563 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
15564 wine_fn_config_dll glu32 enable_glu32 implib
15565 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
15566 wine_fn_config_dll gpkcsp enable_gpkcsp
15567 wine_fn_config_dll hal enable_hal
15568 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx implib,po htmlhelp
15569 wine_fn_config_dll hid enable_hid implib
15570 wine_fn_config_dll hlink enable_hlink implib
15571 wine_fn_config_test dlls/hlink/tests hlink_test
15572 wine_fn_config_dll hnetcfg enable_hnetcfg
15573 wine_fn_config_dll httpapi enable_httpapi
15574 wine_fn_config_dll iccvid enable_iccvid po
15575 wine_fn_config_dll icmp enable_icmp
15576 wine_fn_config_dll ieframe enable_ieframe implib,po
15577 wine_fn_config_test dlls/ieframe/tests ieframe_test
15578 wine_fn_config_dll ifsmgr.vxd enable_win16
15579 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
15580 wine_fn_config_dll imagehlp enable_imagehlp implib
15581 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
15582 wine_fn_config_dll imm.dll16 enable_win16
15583 wine_fn_config_dll imm32 enable_imm32 implib
15584 wine_fn_config_test dlls/imm32/tests imm32_test
15585 wine_fn_config_dll inetcomm enable_inetcomm implib
15586 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
15587 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
15588 wine_fn_config_dll inetmib1 enable_inetmib1
15589 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
15590 wine_fn_config_dll infosoft enable_infosoft
15591 wine_fn_config_test dlls/infosoft/tests infosoft_test
15592 wine_fn_config_dll initpki enable_initpki
15593 wine_fn_config_dll inkobj enable_inkobj
15594 wine_fn_config_dll inseng enable_inseng
15595 wine_fn_config_dll iphlpapi enable_iphlpapi implib
15596 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
15597 wine_fn_config_dll itircl enable_itircl
15598 wine_fn_config_dll itss enable_itss
15599 wine_fn_config_test dlls/itss/tests itss_test
15600 wine_fn_config_dll joy.cpl enable_joy_cpl po
15601 wine_fn_config_dll jscript enable_jscript po
15602 wine_fn_config_test dlls/jscript/tests jscript_test
15603 wine_fn_config_dll kernel32 enable_kernel32 implib,mc
15604 wine_fn_config_test dlls/kernel32/tests kernel32_test
15605 wine_fn_config_dll keyboard.drv16 enable_win16
15606 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
15607 wine_fn_config_dll ktmw32 enable_ktmw32
15608 wine_fn_config_dll loadperf enable_loadperf implib
15609 wine_fn_config_dll localspl enable_localspl po
15610 wine_fn_config_test dlls/localspl/tests localspl_test
15611 wine_fn_config_dll localui enable_localui po
15612 wine_fn_config_test dlls/localui/tests localui_test
15613 wine_fn_config_dll lz32 enable_lz32 implib
15614 wine_fn_config_test dlls/lz32/tests lz32_test
15615 wine_fn_config_dll lzexpand.dll16 enable_win16
15616 wine_fn_config_dll mapi32 enable_mapi32 implib,po
15617 wine_fn_config_test dlls/mapi32/tests mapi32_test
15618 wine_fn_config_dll mapistub enable_mapistub
15619 wine_fn_config_dll mciavi32 enable_mciavi32
15620 wine_fn_config_dll mcicda enable_mcicda
15621 wine_fn_config_dll mciqtz32 enable_mciqtz32
15622 wine_fn_config_dll mciseq enable_mciseq
15623 wine_fn_config_dll mciwave enable_mciwave
15624 wine_fn_config_dll mgmtapi enable_mgmtapi
15625 wine_fn_config_dll midimap enable_midimap
15626 wine_fn_config_dll mlang enable_mlang implib
15627 wine_fn_config_test dlls/mlang/tests mlang_test
15628 wine_fn_config_dll mmcndmgr enable_mmcndmgr
15629 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
15630 wine_fn_config_dll mmdevapi enable_mmdevapi
15631 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
15632 wine_fn_config_dll mmdevldr.vxd enable_win16
15633 wine_fn_config_dll mmsystem.dll16 enable_win16
15634 wine_fn_config_dll monodebg.vxd enable_win16
15635 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
15636 wine_fn_config_dll mouse.drv16 enable_win16
15637 wine_fn_config_dll mpr enable_mpr implib,po
15638 wine_fn_config_test dlls/mpr/tests mpr_test
15639 wine_fn_config_dll mprapi enable_mprapi implib
15640 wine_fn_config_dll msacm.dll16 enable_win16
15641 wine_fn_config_dll msacm32.drv enable_msacm32_drv
15642 wine_fn_config_dll msacm32 enable_msacm32 implib,po
15643 wine_fn_config_test dlls/msacm32/tests msacm32_test
15644 wine_fn_config_dll msadp32.acm enable_msadp32_acm
15645 wine_fn_config_dll mscat32 enable_mscat32
15646 wine_fn_config_dll mscms enable_mscms implib
15647 wine_fn_config_test dlls/mscms/tests mscms_test
15648 wine_fn_config_dll mscoree enable_mscoree
15649 wine_fn_config_test dlls/mscoree/tests mscoree_test
15650 wine_fn_config_dll msctf enable_msctf
15651 wine_fn_config_test dlls/msctf/tests msctf_test
15652 wine_fn_config_dll msdaps enable_msdaps
15653 wine_fn_config_dll msdmo enable_msdmo implib
15654 wine_fn_config_dll msftedit enable_msftedit
15655 wine_fn_config_dll msg711.acm enable_msg711_acm
15656 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
15657 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
15658 wine_fn_config_dll mshtml enable_mshtml implib,po
15659 wine_fn_config_test dlls/mshtml/tests mshtml_test
15660 wine_fn_config_dll msi enable_msi implib,po
15661 wine_fn_config_test dlls/msi/tests msi_test
15662 wine_fn_config_dll msident enable_msident
15663 wine_fn_config_dll msimg32 enable_msimg32 implib
15664 wine_fn_config_dll msimsg enable_msimsg
15665 wine_fn_config_dll msimtf enable_msimtf
15666 wine_fn_config_dll msisip enable_msisip
15667 wine_fn_config_dll msisys.ocx enable_msisys_ocx
15668 wine_fn_config_dll msls31 enable_msls31
15669 wine_fn_config_dll msnet32 enable_msnet32
15670 wine_fn_config_dll mspatcha enable_mspatcha
15671 wine_fn_config_dll msrle32 enable_msrle32 po
15672 wine_fn_config_dll mssign32 enable_mssign32
15673 wine_fn_config_dll mssip32 enable_mssip32
15674 wine_fn_config_dll mstask enable_mstask
15675 wine_fn_config_test dlls/mstask/tests mstask_test
15676 wine_fn_config_dll msvcirt enable_msvcirt
15677 wine_fn_config_dll msvcm80 enable_msvcm80
15678 wine_fn_config_dll msvcm90 enable_msvcm90
15679 wine_fn_config_dll msvcp100 enable_msvcp100
15680 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
15681 wine_fn_config_dll msvcp60 enable_msvcp60
15682 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
15683 wine_fn_config_dll msvcp70 enable_msvcp70
15684 wine_fn_config_dll msvcp71 enable_msvcp71
15685 wine_fn_config_dll msvcp80 enable_msvcp80
15686 wine_fn_config_dll msvcp90 enable_msvcp90
15687 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
15688 wine_fn_config_dll msvcr100 enable_msvcr100
15689 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
15690 wine_fn_config_dll msvcr70 enable_msvcr70 implib
15691 wine_fn_config_dll msvcr71 enable_msvcr71 implib
15692 wine_fn_config_dll msvcr80 enable_msvcr80
15693 wine_fn_config_dll msvcr90 enable_msvcr90
15694 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
15695 wine_fn_config_dll msvcrt enable_msvcrt implib
15696 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
15697 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
15698 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
15699 wine_fn_config_dll msvcrtd enable_msvcrtd implib
15700 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
15701 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
15702 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
15703 wine_fn_config_dll msvidc32 enable_msvidc32 po
15704 wine_fn_config_dll msvideo.dll16 enable_win16
15705 wine_fn_config_dll mswsock enable_mswsock implib
15706 wine_fn_config_dll msxml enable_msxml
15707 wine_fn_config_dll msxml2 enable_msxml2
15708 wine_fn_config_dll msxml3 enable_msxml3
15709 wine_fn_config_test dlls/msxml3/tests msxml3_test
15710 wine_fn_config_dll msxml4 enable_msxml4
15711 wine_fn_config_dll msxml6 enable_msxml6
15712 wine_fn_config_dll nddeapi enable_nddeapi implib
15713 wine_fn_config_dll netapi32 enable_netapi32 implib
15714 wine_fn_config_test dlls/netapi32/tests netapi32_test
15715 wine_fn_config_dll newdev enable_newdev implib
15716 wine_fn_config_dll normaliz enable_normaliz implib
15717 wine_fn_config_dll npmshtml enable_npmshtml
15718 wine_fn_config_dll ntdll enable_ntdll implib
15719 wine_fn_config_test dlls/ntdll/tests ntdll_test
15720 wine_fn_config_dll ntdsapi enable_ntdsapi implib
15721 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
15722 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
15723 wine_fn_config_dll ntprint enable_ntprint
15724 wine_fn_config_test dlls/ntprint/tests ntprint_test
15725 wine_fn_config_dll objsel enable_objsel
15726 wine_fn_config_dll odbc32 enable_odbc32 implib
15727 wine_fn_config_dll odbccp32 enable_odbccp32 implib
15728 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
15729 wine_fn_config_dll odbccu32 enable_odbccu32
15730 wine_fn_config_dll ole2.dll16 enable_win16
15731 wine_fn_config_dll ole2conv.dll16 enable_win16
15732 wine_fn_config_dll ole2disp.dll16 enable_win16
15733 wine_fn_config_dll ole2nls.dll16 enable_win16
15734 wine_fn_config_dll ole2prox.dll16 enable_win16
15735 wine_fn_config_dll ole2thk.dll16 enable_win16
15736 wine_fn_config_dll ole32 enable_ole32 implib
15737 wine_fn_config_test dlls/ole32/tests ole32_test
15738 wine_fn_config_dll oleacc enable_oleacc implib,po
15739 wine_fn_config_test dlls/oleacc/tests oleacc_test
15740 wine_fn_config_dll oleaut32 enable_oleaut32 implib,po
15741 wine_fn_config_test dlls/oleaut32/tests oleaut32_test
15742 wine_fn_config_dll olecli.dll16 enable_win16
15743 wine_fn_config_dll olecli32 enable_olecli32 implib
15744 wine_fn_config_dll oledb32 enable_oledb32
15745 wine_fn_config_test dlls/oledb32/tests oledb32_test
15746 wine_fn_config_dll oledlg enable_oledlg implib,po
15747 wine_fn_config_dll olepro32 enable_olepro32 implib
15748 wine_fn_config_dll olesvr.dll16 enable_win16
15749 wine_fn_config_dll olesvr32 enable_olesvr32 implib
15750 wine_fn_config_dll olethk32 enable_olethk32
15751 wine_fn_config_dll openal32 enable_openal32
15752 wine_fn_config_dll opencl enable_opencl
15753 wine_fn_config_dll opengl32 enable_opengl32 implib
15754 wine_fn_config_test dlls/opengl32/tests opengl32_test
15755 wine_fn_config_dll pdh enable_pdh implib
15756 wine_fn_config_test dlls/pdh/tests pdh_test
15757 wine_fn_config_dll photometadatahandler enable_photometadatahandler
15758 wine_fn_config_dll pidgen enable_pidgen
15759 wine_fn_config_dll powrprof enable_powrprof implib
15760 wine_fn_config_dll printui enable_printui
15761 wine_fn_config_dll propsys enable_propsys implib
15762 wine_fn_config_test dlls/propsys/tests propsys_test
15763 wine_fn_config_dll psapi enable_psapi implib
15764 wine_fn_config_test dlls/psapi/tests psapi_test
15765 wine_fn_config_dll pstorec enable_pstorec
15766 wine_fn_config_dll qcap enable_qcap
15767 wine_fn_config_dll qedit enable_qedit
15768 wine_fn_config_test dlls/qedit/tests qedit_test
15769 wine_fn_config_dll qmgr enable_qmgr
15770 wine_fn_config_test dlls/qmgr/tests qmgr_test
15771 wine_fn_config_dll qmgrprxy enable_qmgrprxy
15772 wine_fn_config_dll quartz enable_quartz implib
15773 wine_fn_config_test dlls/quartz/tests quartz_test
15774 wine_fn_config_dll query enable_query
15775 wine_fn_config_dll rasapi16.dll16 enable_win16
15776 wine_fn_config_dll rasapi32 enable_rasapi32 implib
15777 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
15778 wine_fn_config_dll rasdlg enable_rasdlg implib
15779 wine_fn_config_dll regapi enable_regapi
15780 wine_fn_config_dll resutils enable_resutils implib
15781 wine_fn_config_dll riched20 enable_riched20 implib
15782 wine_fn_config_test dlls/riched20/tests riched20_test
15783 wine_fn_config_dll riched32 enable_riched32
15784 wine_fn_config_test dlls/riched32/tests riched32_test
15785 wine_fn_config_dll rpcrt4 enable_rpcrt4 implib
15786 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test
15787 wine_fn_config_dll rsabase enable_rsabase
15788 wine_fn_config_dll rsaenh enable_rsaenh implib
15789 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
15790 wine_fn_config_dll rstrtmgr enable_rstrtmgr
15791 wine_fn_config_dll rtutils enable_rtutils implib
15792 wine_fn_config_dll samlib enable_samlib
15793 wine_fn_config_dll sane.ds enable_sane_ds po
15794 wine_fn_config_dll scarddlg enable_scarddlg
15795 wine_fn_config_dll sccbase enable_sccbase
15796 wine_fn_config_dll schannel enable_schannel
15797 wine_fn_config_test dlls/schannel/tests schannel_test
15798 wine_fn_config_dll scrrun enable_scrrun
15799 wine_fn_config_test dlls/scrrun/tests scrrun_test
15800 wine_fn_config_dll scsiport.sys enable_scsiport_sys
15801 wine_fn_config_dll secur32 enable_secur32 implib
15802 wine_fn_config_test dlls/secur32/tests secur32_test
15803 wine_fn_config_dll security enable_security
15804 wine_fn_config_dll sensapi enable_sensapi implib
15805 wine_fn_config_dll serialui enable_serialui implib,po
15806 wine_fn_config_test dlls/serialui/tests serialui_test
15807 wine_fn_config_dll setupapi enable_setupapi implib,po
15808 wine_fn_config_test dlls/setupapi/tests setupapi_test
15809 wine_fn_config_dll setupx.dll16 enable_win16
15810 wine_fn_config_dll sfc enable_sfc implib
15811 wine_fn_config_dll sfc_os enable_sfc_os implib
15812 wine_fn_config_dll shdoclc enable_shdoclc po
15813 wine_fn_config_dll shdocvw enable_shdocvw implib
15814 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
15815 wine_fn_config_dll shell.dll16 enable_win16
15816 wine_fn_config_dll shell32 enable_shell32 implib,po
15817 wine_fn_config_test dlls/shell32/tests shell32_test
15818 wine_fn_config_dll shfolder enable_shfolder implib
15819 wine_fn_config_dll shlwapi enable_shlwapi implib,po
15820 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
15821 wine_fn_config_dll slbcsp enable_slbcsp
15822 wine_fn_config_dll slc enable_slc implib
15823 wine_fn_config_dll snmpapi enable_snmpapi implib
15824 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
15825 wine_fn_config_dll softpub enable_softpub
15826 wine_fn_config_dll sound.drv16 enable_win16
15827 wine_fn_config_dll spoolss enable_spoolss implib
15828 wine_fn_config_test dlls/spoolss/tests spoolss_test
15829 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
15830 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
15831 wine_fn_config_dll sti enable_sti implib
15832 wine_fn_config_test dlls/sti/tests sti_test
15833 wine_fn_config_dll storage.dll16 enable_win16
15834 wine_fn_config_dll stress.dll16 enable_win16
15835 wine_fn_config_lib strmbase
15836 wine_fn_config_lib strmiids
15837 wine_fn_config_dll svrapi enable_svrapi
15838 wine_fn_config_dll sxs enable_sxs implib
15839 wine_fn_config_test dlls/sxs/tests sxs_test
15840 wine_fn_config_dll system.drv16 enable_win16
15841 wine_fn_config_dll t2embed enable_t2embed
15842 wine_fn_config_dll tapi32 enable_tapi32 implib
15843 wine_fn_config_dll toolhelp.dll16 enable_win16
15844 wine_fn_config_dll traffic enable_traffic
15845 wine_fn_config_dll twain.dll16 enable_win16
15846 wine_fn_config_dll twain_32 enable_twain_32
15847 wine_fn_config_test dlls/twain_32/tests twain_32_test
15848 wine_fn_config_dll typelib.dll16 enable_win16
15849 wine_fn_config_dll unicows enable_unicows implib
15850 wine_fn_config_dll updspapi enable_updspapi
15851 wine_fn_config_dll url enable_url implib
15852 wine_fn_config_dll urlmon enable_urlmon implib,po
15853 wine_fn_config_test dlls/urlmon/tests urlmon_test
15854 wine_fn_config_dll usbd.sys enable_usbd_sys implib
15855 wine_fn_config_dll user.exe16 enable_win16
15856 wine_fn_config_dll user32 enable_user32 implib,po
15857 wine_fn_config_test dlls/user32/tests user32_test
15858 wine_fn_config_dll userenv enable_userenv implib
15859 wine_fn_config_test dlls/userenv/tests userenv_test
15860 wine_fn_config_dll usp10 enable_usp10 implib
15861 wine_fn_config_test dlls/usp10/tests usp10_test
15862 wine_fn_config_lib uuid
15863 wine_fn_config_dll uxtheme enable_uxtheme implib
15864 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
15865 wine_fn_config_dll vbscript enable_vbscript
15866 wine_fn_config_test dlls/vbscript/tests vbscript_test
15867 wine_fn_config_dll vcomp enable_vcomp
15868 wine_fn_config_dll vcomp100 enable_vcomp100
15869 wine_fn_config_dll vcomp90 enable_vcomp90
15870 wine_fn_config_dll vdhcp.vxd enable_win16
15871 wine_fn_config_dll vdmdbg enable_vdmdbg implib
15872 wine_fn_config_dll ver.dll16 enable_win16
15873 wine_fn_config_dll version enable_version implib
15874 wine_fn_config_test dlls/version/tests version_test
15875 wine_fn_config_dll vmm.vxd enable_win16
15876 wine_fn_config_dll vnbt.vxd enable_win16
15877 wine_fn_config_dll vnetbios.vxd enable_win16
15878 wine_fn_config_dll vtdapi.vxd enable_win16
15879 wine_fn_config_dll vwin32.vxd enable_win16
15880 wine_fn_config_dll w32skrnl enable_win16
15881 wine_fn_config_dll w32sys.dll16 enable_win16
15882 wine_fn_config_dll wbemprox enable_wbemprox
15883 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
15884 wine_fn_config_dll wer enable_wer implib
15885 wine_fn_config_test dlls/wer/tests wer_test
15886 wine_fn_config_dll wevtapi enable_wevtapi
15887 wine_fn_config_dll wiaservc enable_wiaservc
15888 wine_fn_config_dll win32s16.dll16 enable_win16
15889 wine_fn_config_dll win87em.dll16 enable_win16
15890 wine_fn_config_dll winaspi.dll16 enable_win16
15891 wine_fn_config_dll windebug.dll16 enable_win16
15892 wine_fn_config_dll windowscodecs enable_windowscodecs implib
15893 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
15894 wine_fn_config_dll winealsa.drv enable_winealsa_drv
15895 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
15896 wine_fn_config_lib winecrt0
15897 wine_fn_config_dll wined3d enable_wined3d implib
15898 wine_fn_config_dll winegstreamer enable_winegstreamer
15899 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
15900 wine_fn_config_dll winemac.drv enable_winemac_drv
15901 wine_fn_config_dll winemapi enable_winemapi
15902 wine_fn_config_dll winemp3.acm enable_winemp3_acm
15903 wine_fn_config_dll wineoss.drv enable_wineoss_drv
15904 wine_fn_config_dll wineps.drv enable_wineps_drv install-lib,po
15905 wine_fn_config_dll wineps16.drv16 enable_win16
15906 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
15907 wine_fn_config_dll winex11.drv enable_winex11_drv
15908 wine_fn_config_dll wing.dll16 enable_win16
15909 wine_fn_config_dll wing32 enable_wing32
15910 wine_fn_config_dll winhttp enable_winhttp implib
15911 wine_fn_config_test dlls/winhttp/tests winhttp_test
15912 wine_fn_config_dll wininet enable_wininet implib,po
15913 wine_fn_config_test dlls/wininet/tests wininet_test
15914 wine_fn_config_dll winmm enable_winmm implib,po
15915 wine_fn_config_test dlls/winmm/tests winmm_test
15916 wine_fn_config_dll winnls.dll16 enable_win16
15917 wine_fn_config_dll winnls32 enable_winnls32 implib
15918 wine_fn_config_dll winscard enable_winscard implib
15919 wine_fn_config_dll winsock.dll16 enable_win16
15920 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
15921 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
15922 wine_fn_config_dll winsta enable_winsta
15923 wine_fn_config_dll wintab.dll16 enable_win16
15924 wine_fn_config_dll wintab32 enable_wintab32 implib
15925 wine_fn_config_test dlls/wintab32/tests wintab32_test
15926 wine_fn_config_dll wintrust enable_wintrust implib
15927 wine_fn_config_test dlls/wintrust/tests wintrust_test
15928 wine_fn_config_dll wlanapi enable_wlanapi
15929 wine_fn_config_dll wldap32 enable_wldap32 implib,po
15930 wine_fn_config_test dlls/wldap32/tests wldap32_test
15931 wine_fn_config_dll wmi enable_wmi
15932 wine_fn_config_dll wmiutils enable_wmiutils
15933 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
15934 wine_fn_config_dll wmvcore enable_wmvcore
15935 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
15936 wine_fn_config_dll wow32 enable_win16 implib
15937 wine_fn_config_dll ws2_32 enable_ws2_32 implib
15938 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
15939 wine_fn_config_dll wshom.ocx enable_wshom_ocx
15940 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test
15941 wine_fn_config_dll wsnmp32 enable_wsnmp32
15942 wine_fn_config_dll wsock32 enable_wsock32 implib
15943 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
15944 wine_fn_config_dll wuapi enable_wuapi
15945 wine_fn_config_dll wuaueng enable_wuaueng
15946 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
15947 wine_fn_config_dll xinput1_1 enable_xinput1_1
15948 wine_fn_config_dll xinput1_2 enable_xinput1_2
15949 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
15950 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
15951 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
15952 wine_fn_config_dll xmllite enable_xmllite
15953 wine_fn_config_test dlls/xmllite/tests xmllite_test
15954 wine_fn_config_dll xolehlp enable_xolehlp
15955 wine_fn_config_dll xpsprint enable_xpsprint
15956 wine_fn_config_dll xpssvcs enable_xpssvcs
15957 wine_fn_config_makefile documentation enable_documentation
15958 wine_fn_config_makefile fonts enable_fonts install-lib
15959 wine_fn_config_makefile include enable_include install-dev
15960 wine_fn_config_makefile libs/port enable_libs_port
15961 wine_fn_config_makefile libs/wine enable_libs_wine install-dev,install-lib
15962 wine_fn_config_makefile libs/wpp enable_libs_wpp
15963 wine_fn_config_makefile loader enable_loader install-lib,manpage
15964 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
15965 wine_fn_config_program attrib enable_attrib install,po
15966 wine_fn_config_program cabarc enable_cabarc install
15967 wine_fn_config_program cacls enable_cacls install
15968 wine_fn_config_program clock enable_clock install,po
15969 wine_fn_config_program cmd enable_cmd install,po
15970 wine_fn_config_test programs/cmd/tests cmd.exe_test
15971 wine_fn_config_program conhost enable_conhost install
15972 wine_fn_config_program control enable_control install
15973 wine_fn_config_program cscript enable_cscript install
15974 wine_fn_config_program dxdiag enable_dxdiag install,po
15975 wine_fn_config_program eject enable_eject install
15976 wine_fn_config_program expand enable_expand install
15977 wine_fn_config_program explorer enable_explorer install,po
15978 wine_fn_config_program extrac32 enable_extrac32 install
15979 wine_fn_config_program findstr enable_findstr install
15980 wine_fn_config_program hh enable_hh install
15981 wine_fn_config_program hostname enable_hostname install,po
15982 wine_fn_config_program icinfo enable_icinfo install
15983 wine_fn_config_program iexplore enable_iexplore install
15984 wine_fn_config_program ipconfig enable_ipconfig install,po
15985 wine_fn_config_program lodctr enable_lodctr install
15986 wine_fn_config_program mofcomp enable_mofcomp install
15987 wine_fn_config_program mshta enable_mshta install
15988 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
15989 wine_fn_config_program net enable_net install,po
15990 wine_fn_config_program netsh enable_netsh install
15991 wine_fn_config_program netstat enable_netstat install,po
15992 wine_fn_config_program ngen enable_ngen install
15993 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
15994 wine_fn_config_program oleview enable_oleview install,po
15995 wine_fn_config_program ping enable_ping install
15996 wine_fn_config_program plugplay enable_plugplay install
15997 wine_fn_config_program presentationfontcache enable_presentationfontcache install
15998 wine_fn_config_program progman enable_progman install,po
15999 wine_fn_config_program reg enable_reg install,po
16000 wine_fn_config_program regasm enable_regasm install
16001 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
16002 wine_fn_config_test programs/regedit/tests regedit.exe_test
16003 wine_fn_config_program regsvcs enable_regsvcs install
16004 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage
16005 wine_fn_config_program rpcss enable_rpcss install
16006 wine_fn_config_program rundll.exe16 enable_win16 install
16007 wine_fn_config_program rundll32 enable_rundll32 install
16008 wine_fn_config_program sc enable_sc install
16009 wine_fn_config_program schtasks enable_schtasks install
16010 wine_fn_config_program secedit enable_secedit install
16011 wine_fn_config_program servicemodelreg enable_servicemodelreg install
16012 wine_fn_config_program services enable_services install
16013 wine_fn_config_test programs/services/tests services.exe_test
16014 wine_fn_config_program spoolsv enable_spoolsv install
16015 wine_fn_config_program start enable_start install,po
16016 wine_fn_config_program svchost enable_svchost install
16017 wine_fn_config_program taskkill enable_taskkill install,po
16018 wine_fn_config_program taskmgr enable_taskmgr install,po
16019 wine_fn_config_program termsv enable_termsv install
16020 wine_fn_config_program uninstaller enable_uninstaller install,po
16021 wine_fn_config_program unlodctr enable_unlodctr install
16022 wine_fn_config_program view enable_view install,po
16023 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
16024 wine_fn_config_program winebrowser enable_winebrowser install
16025 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
16026 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
16027 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
16028 wine_fn_config_program winedevice enable_winedevice install
16029 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
16030 wine_fn_config_program winemenubuilder enable_winemenubuilder install
16031 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
16032 wine_fn_config_program winemsibuilder enable_winemsibuilder install
16033 wine_fn_config_program winepath enable_winepath install,installbin,manpage
16034 wine_fn_config_program winetest enable_winetest
16035 wine_fn_config_program winevdm enable_win16 install
16036 wine_fn_config_program winhelp.exe16 enable_win16 install
16037 wine_fn_config_program winhlp32 enable_winhlp32 install,po
16038 wine_fn_config_program winoldap.mod16 enable_win16 install
16039 wine_fn_config_program winver enable_winver install
16040 wine_fn_config_program wmic enable_wmic install,po
16041 wine_fn_config_program wordpad enable_wordpad install,po
16042 wine_fn_config_program write enable_write install,po
16043 wine_fn_config_program wscript enable_wscript install
16044 wine_fn_config_test programs/wscript/tests wscript.exe_test
16045 wine_fn_config_program wusa enable_wusa install
16046 wine_fn_config_program xcopy enable_xcopy install,po
16047 wine_fn_config_makefile server enable_server install-lib,manpage
16048 wine_fn_config_tool tools install-dev,install-lib,manpage
16049 wine_fn_config_tool tools/widl install-dev,manpage
16050 wine_fn_config_tool tools/winebuild install-dev,manpage
16051 wine_fn_config_tool tools/winedump install-dev,manpage
16052 wine_fn_config_tool tools/winegcc install-dev,manpage
16053 wine_fn_config_tool tools/wmc install-dev,manpage
16054 wine_fn_config_tool tools/wrc install-dev,manpage
16056 LINGUAS="\
16057 ar \
16058 bg \
16059 ca \
16060 cs \
16061 da \
16062 de \
16063 el \
16064 en \
16065 en_US \
16066 eo \
16067 es \
16068 fa \
16069 fi \
16070 fr \
16071 he \
16072 hi \
16073 hu \
16074 it \
16075 ja \
16076 ko \
16077 lt \
16078 ml \
16079 nb_NO \
16080 nl \
16081 or \
16082 pa \
16083 pl \
16084 pt_BR \
16085 pt_PT \
16086 rm \
16087 ro \
16088 ru \
16089 sk \
16090 sl \
16091 sr_RS@cyrillic \
16092 sr_RS@latin \
16093 sv \
16094 te \
16095 th \
16096 tr \
16097 uk \
16098 wa \
16099 zh_CN \
16100 zh_TW"
16104 ac_config_commands="$ac_config_commands Makefile"
16107 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
16111 if test "x$enable_maintainer_mode" = xyes
16112 then
16113 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(srcdir)/configure: configure.ac aclocal.m4
16114 cd \$(srcdir) && autoconf --warnings=all
16115 \$(srcdir)/include/config.h.in: include/stamp-h.in
16116 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
16117 cd \$(srcdir) && autoheader --warnings=all
16118 @echo timestamp > \$@"
16121 if test "x$with_gettextpo" = xyes
16122 then
16123 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
16124 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "ALL_POT_FILES =$ALL_POT_FILES
16125 \$(LINGUAS:%=po/%.po): \$(srcdir)/po/wine.pot
16126 msgmerge --previous -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
16127 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
16128 msgcat -o \$@ \$(ALL_POT_FILES)"
16131 if test "$MSGFMT" != false
16132 then
16133 PORCFLAGS="--po-dir=\$(top_builddir)/po"
16135 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "__builddeps__: \$(ALL_MO_FILES)"
16136 else
16137 LINGUAS=
16140 if test "x$enable_tools" != xno
16141 then
16142 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(MAKEDEP): tools/Makefile
16143 clean:: __clean__
16144 \$(RM) tools/makedep\$(EXEEXT)"
16147 if test -n "$with_wine64"
16148 then
16149 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
16150 fonts server tools:
16151 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
16152 $with_wine64/loader/wine:
16153 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
16154 $with_wine64/loader/wine-preloader:
16155 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
16156 clean::
16157 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
16160 cat >confcache <<\_ACEOF
16161 # This file is a shell script that caches the results of configure
16162 # tests run on this system so they can be shared between configure
16163 # scripts and configure runs, see configure's option --config-cache.
16164 # It is not useful on other systems. If it contains results you don't
16165 # want to keep, you may remove or edit it.
16167 # config.status only pays attention to the cache file if you give it
16168 # the --recheck option to rerun configure.
16170 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16171 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16172 # following values.
16174 _ACEOF
16176 # The following way of writing the cache mishandles newlines in values,
16177 # but we know of no workaround that is simple, portable, and efficient.
16178 # So, we kill variables containing newlines.
16179 # Ultrix sh set writes to stderr and can't be redirected directly,
16180 # and sets the high bit in the cache file unless we assign to the vars.
16182 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16183 eval ac_val=\$$ac_var
16184 case $ac_val in #(
16185 *${as_nl}*)
16186 case $ac_var in #(
16187 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16188 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16189 esac
16190 case $ac_var in #(
16191 _ | IFS | as_nl) ;; #(
16192 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16193 *) { eval $ac_var=; unset $ac_var;} ;;
16194 esac ;;
16195 esac
16196 done
16198 (set) 2>&1 |
16199 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16200 *${as_nl}ac_space=\ *)
16201 # `set' does not quote correctly, so add quotes: double-quote
16202 # substitution turns \\\\ into \\, and sed turns \\ into \.
16203 sed -n \
16204 "s/'/'\\\\''/g;
16205 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16206 ;; #(
16208 # `set' quotes correctly as required by POSIX, so do not add quotes.
16209 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16211 esac |
16212 sort
16214 sed '
16215 /^ac_cv_env_/b end
16216 t clear
16217 :clear
16218 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16219 t end
16220 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16221 :end' >>confcache
16222 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16223 if test -w "$cache_file"; then
16224 if test "x$cache_file" != "x/dev/null"; then
16225 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16226 $as_echo "$as_me: updating cache $cache_file" >&6;}
16227 if test ! -f "$cache_file" || test -h "$cache_file"; then
16228 cat confcache >"$cache_file"
16229 else
16230 case $cache_file in #(
16231 */* | ?:*)
16232 mv -f confcache "$cache_file"$$ &&
16233 mv -f "$cache_file"$$ "$cache_file" ;; #(
16235 mv -f confcache "$cache_file" ;;
16236 esac
16239 else
16240 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16241 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16244 rm -f confcache
16246 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16247 # Let make expand exec_prefix.
16248 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16250 DEFS=-DHAVE_CONFIG_H
16252 ac_libobjs=
16253 ac_ltlibobjs=
16255 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16256 # 1. Remove the extension, and $U if already installed.
16257 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16258 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16259 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16260 # will be set to the directory where LIBOBJS objects are built.
16261 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16262 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16263 done
16264 LIBOBJS=$ac_libobjs
16266 LTLIBOBJS=$ac_ltlibobjs
16270 : "${CONFIG_STATUS=./config.status}"
16271 ac_write_fail=0
16272 ac_clean_files_save=$ac_clean_files
16273 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16274 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16275 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16276 as_write_fail=0
16277 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16278 #! $SHELL
16279 # Generated by $as_me.
16280 # Run this file to recreate the current configuration.
16281 # Compiler output produced by configure, useful for debugging
16282 # configure, is in config.log if it exists.
16284 debug=false
16285 ac_cs_recheck=false
16286 ac_cs_silent=false
16288 SHELL=\${CONFIG_SHELL-$SHELL}
16289 export SHELL
16290 _ASEOF
16291 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16292 ## -------------------- ##
16293 ## M4sh Initialization. ##
16294 ## -------------------- ##
16296 # Be more Bourne compatible
16297 DUALCASE=1; export DUALCASE # for MKS sh
16298 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16299 emulate sh
16300 NULLCMD=:
16301 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16302 # is contrary to our usage. Disable this feature.
16303 alias -g '${1+"$@"}'='"$@"'
16304 setopt NO_GLOB_SUBST
16305 else
16306 case `(set -o) 2>/dev/null` in #(
16307 *posix*) :
16308 set -o posix ;; #(
16309 *) :
16311 esac
16315 as_nl='
16317 export as_nl
16318 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16319 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16320 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16321 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16322 # Prefer a ksh shell builtin over an external printf program on Solaris,
16323 # but without wasting forks for bash or zsh.
16324 if test -z "$BASH_VERSION$ZSH_VERSION" \
16325 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16326 as_echo='print -r --'
16327 as_echo_n='print -rn --'
16328 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16329 as_echo='printf %s\n'
16330 as_echo_n='printf %s'
16331 else
16332 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16333 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16334 as_echo_n='/usr/ucb/echo -n'
16335 else
16336 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16337 as_echo_n_body='eval
16338 arg=$1;
16339 case $arg in #(
16340 *"$as_nl"*)
16341 expr "X$arg" : "X\\(.*\\)$as_nl";
16342 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16343 esac;
16344 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16346 export as_echo_n_body
16347 as_echo_n='sh -c $as_echo_n_body as_echo'
16349 export as_echo_body
16350 as_echo='sh -c $as_echo_body as_echo'
16353 # The user is always right.
16354 if test "${PATH_SEPARATOR+set}" != set; then
16355 PATH_SEPARATOR=:
16356 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16357 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16358 PATH_SEPARATOR=';'
16363 # IFS
16364 # We need space, tab and new line, in precisely that order. Quoting is
16365 # there to prevent editors from complaining about space-tab.
16366 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16367 # splitting by setting IFS to empty value.)
16368 IFS=" "" $as_nl"
16370 # Find who we are. Look in the path if we contain no directory separator.
16371 as_myself=
16372 case $0 in #((
16373 *[\\/]* ) as_myself=$0 ;;
16374 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16375 for as_dir in $PATH
16377 IFS=$as_save_IFS
16378 test -z "$as_dir" && as_dir=.
16379 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16380 done
16381 IFS=$as_save_IFS
16384 esac
16385 # We did not find ourselves, most probably we were run as `sh COMMAND'
16386 # in which case we are not to be found in the path.
16387 if test "x$as_myself" = x; then
16388 as_myself=$0
16390 if test ! -f "$as_myself"; then
16391 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16392 exit 1
16395 # Unset variables that we do not need and which cause bugs (e.g. in
16396 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16397 # suppresses any "Segmentation fault" message there. '((' could
16398 # trigger a bug in pdksh 5.2.14.
16399 for as_var in BASH_ENV ENV MAIL MAILPATH
16400 do eval test x\${$as_var+set} = xset \
16401 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16402 done
16403 PS1='$ '
16404 PS2='> '
16405 PS4='+ '
16407 # NLS nuisances.
16408 LC_ALL=C
16409 export LC_ALL
16410 LANGUAGE=C
16411 export LANGUAGE
16413 # CDPATH.
16414 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16417 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16418 # ----------------------------------------
16419 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16420 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16421 # script with STATUS, using 1 if that was 0.
16422 as_fn_error ()
16424 as_status=$1; test $as_status -eq 0 && as_status=1
16425 if test "$4"; then
16426 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16427 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16429 $as_echo "$as_me: error: $2" >&2
16430 as_fn_exit $as_status
16431 } # as_fn_error
16434 # as_fn_set_status STATUS
16435 # -----------------------
16436 # Set $? to STATUS, without forking.
16437 as_fn_set_status ()
16439 return $1
16440 } # as_fn_set_status
16442 # as_fn_exit STATUS
16443 # -----------------
16444 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16445 as_fn_exit ()
16447 set +e
16448 as_fn_set_status $1
16449 exit $1
16450 } # as_fn_exit
16452 # as_fn_unset VAR
16453 # ---------------
16454 # Portably unset VAR.
16455 as_fn_unset ()
16457 { eval $1=; unset $1;}
16459 as_unset=as_fn_unset
16460 # as_fn_append VAR VALUE
16461 # ----------------------
16462 # Append the text in VALUE to the end of the definition contained in VAR. Take
16463 # advantage of any shell optimizations that allow amortized linear growth over
16464 # repeated appends, instead of the typical quadratic growth present in naive
16465 # implementations.
16466 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16467 eval 'as_fn_append ()
16469 eval $1+=\$2
16471 else
16472 as_fn_append ()
16474 eval $1=\$$1\$2
16476 fi # as_fn_append
16478 # as_fn_arith ARG...
16479 # ------------------
16480 # Perform arithmetic evaluation on the ARGs, and store the result in the
16481 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16482 # must be portable across $(()) and expr.
16483 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16484 eval 'as_fn_arith ()
16486 as_val=$(( $* ))
16488 else
16489 as_fn_arith ()
16491 as_val=`expr "$@" || test $? -eq 1`
16493 fi # as_fn_arith
16496 if expr a : '\(a\)' >/dev/null 2>&1 &&
16497 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16498 as_expr=expr
16499 else
16500 as_expr=false
16503 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16504 as_basename=basename
16505 else
16506 as_basename=false
16509 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16510 as_dirname=dirname
16511 else
16512 as_dirname=false
16515 as_me=`$as_basename -- "$0" ||
16516 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16517 X"$0" : 'X\(//\)$' \| \
16518 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16519 $as_echo X/"$0" |
16520 sed '/^.*\/\([^/][^/]*\)\/*$/{
16521 s//\1/
16524 /^X\/\(\/\/\)$/{
16525 s//\1/
16528 /^X\/\(\/\).*/{
16529 s//\1/
16532 s/.*/./; q'`
16534 # Avoid depending upon Character Ranges.
16535 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16536 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16537 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16538 as_cr_digits='0123456789'
16539 as_cr_alnum=$as_cr_Letters$as_cr_digits
16541 ECHO_C= ECHO_N= ECHO_T=
16542 case `echo -n x` in #(((((
16543 -n*)
16544 case `echo 'xy\c'` in
16545 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16546 xy) ECHO_C='\c';;
16547 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16548 ECHO_T=' ';;
16549 esac;;
16551 ECHO_N='-n';;
16552 esac
16554 rm -f conf$$ conf$$.exe conf$$.file
16555 if test -d conf$$.dir; then
16556 rm -f conf$$.dir/conf$$.file
16557 else
16558 rm -f conf$$.dir
16559 mkdir conf$$.dir 2>/dev/null
16561 if (echo >conf$$.file) 2>/dev/null; then
16562 if ln -s conf$$.file conf$$ 2>/dev/null; then
16563 as_ln_s='ln -s'
16564 # ... but there are two gotchas:
16565 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16566 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16567 # In both cases, we have to default to `cp -pR'.
16568 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16569 as_ln_s='cp -pR'
16570 elif ln conf$$.file conf$$ 2>/dev/null; then
16571 as_ln_s=ln
16572 else
16573 as_ln_s='cp -pR'
16575 else
16576 as_ln_s='cp -pR'
16578 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16579 rmdir conf$$.dir 2>/dev/null
16582 # as_fn_mkdir_p
16583 # -------------
16584 # Create "$as_dir" as a directory, including parents if necessary.
16585 as_fn_mkdir_p ()
16588 case $as_dir in #(
16589 -*) as_dir=./$as_dir;;
16590 esac
16591 test -d "$as_dir" || eval $as_mkdir_p || {
16592 as_dirs=
16593 while :; do
16594 case $as_dir in #(
16595 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16596 *) as_qdir=$as_dir;;
16597 esac
16598 as_dirs="'$as_qdir' $as_dirs"
16599 as_dir=`$as_dirname -- "$as_dir" ||
16600 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16601 X"$as_dir" : 'X\(//\)[^/]' \| \
16602 X"$as_dir" : 'X\(//\)$' \| \
16603 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16604 $as_echo X"$as_dir" |
16605 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16606 s//\1/
16609 /^X\(\/\/\)[^/].*/{
16610 s//\1/
16613 /^X\(\/\/\)$/{
16614 s//\1/
16617 /^X\(\/\).*/{
16618 s//\1/
16621 s/.*/./; q'`
16622 test -d "$as_dir" && break
16623 done
16624 test -z "$as_dirs" || eval "mkdir $as_dirs"
16625 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16628 } # as_fn_mkdir_p
16629 if mkdir -p . 2>/dev/null; then
16630 as_mkdir_p='mkdir -p "$as_dir"'
16631 else
16632 test -d ./-p && rmdir ./-p
16633 as_mkdir_p=false
16637 # as_fn_executable_p FILE
16638 # -----------------------
16639 # Test if FILE is an executable regular file.
16640 as_fn_executable_p ()
16642 test -f "$1" && test -x "$1"
16643 } # as_fn_executable_p
16644 as_test_x='test -x'
16645 as_executable_p=as_fn_executable_p
16647 # Sed expression to map a string onto a valid CPP name.
16648 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16650 # Sed expression to map a string onto a valid variable name.
16651 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16654 exec 6>&1
16655 ## ----------------------------------- ##
16656 ## Main body of $CONFIG_STATUS script. ##
16657 ## ----------------------------------- ##
16658 _ASEOF
16659 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16661 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16662 # Save the log message, to keep $0 and so on meaningful, and to
16663 # report actual input values of CONFIG_FILES etc. instead of their
16664 # values after options handling.
16665 ac_log="
16666 This file was extended by Wine $as_me 1.5.21, which was
16667 generated by GNU Autoconf 2.69. Invocation command line was
16669 CONFIG_FILES = $CONFIG_FILES
16670 CONFIG_HEADERS = $CONFIG_HEADERS
16671 CONFIG_LINKS = $CONFIG_LINKS
16672 CONFIG_COMMANDS = $CONFIG_COMMANDS
16673 $ $0 $@
16675 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16678 _ACEOF
16680 case $ac_config_files in *"
16681 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16682 esac
16684 case $ac_config_headers in *"
16685 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16686 esac
16689 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16690 # Files that config.status was made for.
16691 config_files="$ac_config_files"
16692 config_headers="$ac_config_headers"
16693 config_links="$ac_config_links"
16694 config_commands="$ac_config_commands"
16696 _ACEOF
16698 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16699 ac_cs_usage="\
16700 \`$as_me' instantiates files and other configuration actions
16701 from templates according to the current configuration. Unless the files
16702 and actions are specified as TAGs, all are instantiated by default.
16704 Usage: $0 [OPTION]... [TAG]...
16706 -h, --help print this help, then exit
16707 -V, --version print version number and configuration settings, then exit
16708 --config print configuration, then exit
16709 -q, --quiet, --silent
16710 do not print progress messages
16711 -d, --debug don't remove temporary files
16712 --recheck update $as_me by reconfiguring in the same conditions
16713 --file=FILE[:TEMPLATE]
16714 instantiate the configuration file FILE
16715 --header=FILE[:TEMPLATE]
16716 instantiate the configuration header FILE
16718 Configuration files:
16719 $config_files
16721 Configuration headers:
16722 $config_headers
16724 Configuration links:
16725 $config_links
16727 Configuration commands:
16728 $config_commands
16730 Report bugs to <wine-devel@winehq.org>.
16731 Wine home page: <http://www.winehq.org>."
16733 _ACEOF
16734 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16735 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16736 ac_cs_version="\\
16737 Wine config.status 1.5.21
16738 configured by $0, generated by GNU Autoconf 2.69,
16739 with options \\"\$ac_cs_config\\"
16741 Copyright (C) 2012 Free Software Foundation, Inc.
16742 This config.status script is free software; the Free Software Foundation
16743 gives unlimited permission to copy, distribute and modify it."
16745 ac_pwd='$ac_pwd'
16746 srcdir='$srcdir'
16747 INSTALL='$INSTALL'
16748 test -n "\$AWK" || AWK=awk
16749 _ACEOF
16751 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16752 # The default lists apply if the user does not specify any file.
16753 ac_need_defaults=:
16754 while test $# != 0
16756 case $1 in
16757 --*=?*)
16758 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16759 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16760 ac_shift=:
16762 --*=)
16763 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16764 ac_optarg=
16765 ac_shift=:
16768 ac_option=$1
16769 ac_optarg=$2
16770 ac_shift=shift
16772 esac
16774 case $ac_option in
16775 # Handling of the options.
16776 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16777 ac_cs_recheck=: ;;
16778 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16779 $as_echo "$ac_cs_version"; exit ;;
16780 --config | --confi | --conf | --con | --co | --c )
16781 $as_echo "$ac_cs_config"; exit ;;
16782 --debug | --debu | --deb | --de | --d | -d )
16783 debug=: ;;
16784 --file | --fil | --fi | --f )
16785 $ac_shift
16786 case $ac_optarg in
16787 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16788 '') as_fn_error $? "missing file argument" ;;
16789 esac
16790 as_fn_append CONFIG_FILES " '$ac_optarg'"
16791 ac_need_defaults=false;;
16792 --header | --heade | --head | --hea )
16793 $ac_shift
16794 case $ac_optarg in
16795 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16796 esac
16797 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16798 ac_need_defaults=false;;
16799 --he | --h)
16800 # Conflict between --help and --header
16801 as_fn_error $? "ambiguous option: \`$1'
16802 Try \`$0 --help' for more information.";;
16803 --help | --hel | -h )
16804 $as_echo "$ac_cs_usage"; exit ;;
16805 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16806 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16807 ac_cs_silent=: ;;
16809 # This is an error.
16810 -*) as_fn_error $? "unrecognized option: \`$1'
16811 Try \`$0 --help' for more information." ;;
16813 *) as_fn_append ac_config_targets " $1"
16814 ac_need_defaults=false ;;
16816 esac
16817 shift
16818 done
16820 ac_configure_extra_args=
16822 if $ac_cs_silent; then
16823 exec 6>/dev/null
16824 ac_configure_extra_args="$ac_configure_extra_args --silent"
16827 _ACEOF
16828 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16829 if \$ac_cs_recheck; then
16830 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16831 shift
16832 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16833 CONFIG_SHELL='$SHELL'
16834 export CONFIG_SHELL
16835 exec "\$@"
16838 _ACEOF
16839 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16840 exec 5>>config.log
16842 echo
16843 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16844 ## Running $as_me. ##
16845 _ASBOX
16846 $as_echo "$ac_log"
16847 } >&5
16849 _ACEOF
16850 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16852 # INIT-COMMANDS
16854 wine_fn_output_makefile ()
16856 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
16857 $ALL_MAKEFILE_DEPENDS
16858 _WINE_EOF
16859 as_fn_error $? "could not create Makefile" "$LINENO" 5
16862 _ACEOF
16864 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16866 # Handling of arguments.
16867 for ac_config_target in $ac_config_targets
16869 case $ac_config_target in
16870 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
16871 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
16872 "dlls/shell32/AUTHORS") CONFIG_LINKS="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
16873 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
16874 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
16875 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
16876 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
16877 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
16878 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
16879 "tools/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS tools/l_intl.nls:tools/l_intl.nls" ;;
16880 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
16881 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
16882 "dlls/gdi32/dibdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
16883 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
16884 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
16885 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
16886 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
16887 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
16888 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
16889 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
16890 "Maketest.rules") CONFIG_FILES="$CONFIG_FILES Maketest.rules" ;;
16891 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
16892 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
16893 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
16894 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
16895 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
16897 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16898 esac
16899 done
16902 # If the user did not use the arguments to specify the items to instantiate,
16903 # then the envvar interface is used. Set only those that are not.
16904 # We use the long form for the default assignment because of an extremely
16905 # bizarre bug on SunOS 4.1.3.
16906 if $ac_need_defaults; then
16907 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16908 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16909 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
16910 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16913 # Have a temporary directory for convenience. Make it in the build tree
16914 # simply because there is no reason against having it here, and in addition,
16915 # creating and moving files from /tmp can sometimes cause problems.
16916 # Hook for its removal unless debugging.
16917 # Note that there is a small window in which the directory will not be cleaned:
16918 # after its creation but before its name has been assigned to `$tmp'.
16919 $debug ||
16921 tmp= ac_tmp=
16922 trap 'exit_status=$?
16923 : "${ac_tmp:=$tmp}"
16924 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16926 trap 'as_fn_exit 1' 1 2 13 15
16928 # Create a (secure) tmp directory for tmp files.
16931 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16932 test -d "$tmp"
16933 } ||
16935 tmp=./conf$$-$RANDOM
16936 (umask 077 && mkdir "$tmp")
16937 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16938 ac_tmp=$tmp
16940 # Set up the scripts for CONFIG_FILES section.
16941 # No need to generate them if there are no CONFIG_FILES.
16942 # This happens for instance with `./config.status config.h'.
16943 if test -n "$CONFIG_FILES"; then
16945 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
16946 ac_cs_awk_getline=:
16947 ac_cs_awk_pipe_init=
16948 ac_cs_awk_read_file='
16949 while ((getline aline < (F[key])) > 0)
16950 print(aline)
16951 close(F[key])'
16952 ac_cs_awk_pipe_fini=
16953 else
16954 ac_cs_awk_getline=false
16955 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
16956 ac_cs_awk_read_file='
16957 print "|#_!!_#|"
16958 print "cat " F[key] " &&"
16959 '$ac_cs_awk_pipe_init
16960 # The final `:' finishes the AND list.
16961 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
16963 ac_cr=`echo X | tr X '\015'`
16964 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16965 # But we know of no other shell where ac_cr would be empty at this
16966 # point, so we can use a bashism as a fallback.
16967 if test "x$ac_cr" = x; then
16968 eval ac_cr=\$\'\\r\'
16970 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16971 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16972 ac_cs_awk_cr='\\r'
16973 else
16974 ac_cs_awk_cr=$ac_cr
16977 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16978 _ACEOF
16980 # Create commands to substitute file output variables.
16982 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
16983 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
16984 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
16985 echo "_ACAWK" &&
16986 echo "_ACEOF"
16987 } >conf$$files.sh &&
16988 . ./conf$$files.sh ||
16989 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16990 rm -f conf$$files.sh
16993 echo "cat >conf$$subs.awk <<_ACEOF" &&
16994 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16995 echo "_ACEOF"
16996 } >conf$$subs.sh ||
16997 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16998 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16999 ac_delim='%!_!# '
17000 for ac_last_try in false false false false false :; do
17001 . ./conf$$subs.sh ||
17002 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17004 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17005 if test $ac_delim_n = $ac_delim_num; then
17006 break
17007 elif $ac_last_try; then
17008 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17009 else
17010 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17012 done
17013 rm -f conf$$subs.sh
17015 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17016 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17017 _ACEOF
17018 sed -n '
17020 s/^/S["/; s/!.*/"]=/
17023 s/^[^!]*!//
17024 :repl
17025 t repl
17026 s/'"$ac_delim"'$//
17027 t delim
17030 s/\(.\{148\}\)..*/\1/
17031 t more1
17032 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17035 b repl
17036 :more1
17037 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17040 s/.\{148\}//
17041 t nl
17042 :delim
17044 s/\(.\{148\}\)..*/\1/
17045 t more2
17046 s/["\\]/\\&/g; s/^/"/; s/$/"/
17049 :more2
17050 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17053 s/.\{148\}//
17054 t delim
17055 ' <conf$$subs.awk | sed '
17056 /^[^""]/{
17058 s/\n//
17060 ' >>$CONFIG_STATUS || ac_write_fail=1
17061 rm -f conf$$subs.awk
17062 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17063 _ACAWK
17064 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17065 for (key in S) S_is_set[key] = 1
17066 FS = "\a"
17067 \$ac_cs_awk_pipe_init
17070 line = $ 0
17071 nfields = split(line, field, "@")
17072 substed = 0
17073 len = length(field[1])
17074 for (i = 2; i < nfields; i++) {
17075 key = field[i]
17076 keylen = length(key)
17077 if (S_is_set[key]) {
17078 value = S[key]
17079 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17080 len += length(value) + length(field[++i])
17081 substed = 1
17082 } else
17083 len += 1 + keylen
17085 if (nfields == 3 && !substed) {
17086 key = field[2]
17087 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
17088 \$ac_cs_awk_read_file
17089 next
17092 print line
17094 \$ac_cs_awk_pipe_fini
17095 _ACAWK
17096 _ACEOF
17097 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17098 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17099 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17100 else
17102 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17103 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17104 _ACEOF
17106 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17107 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17108 # trailing colons and then remove the whole line if VPATH becomes empty
17109 # (actually we leave an empty line to preserve line numbers).
17110 if test "x$srcdir" = x.; then
17111 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17113 s///
17114 s/^/:/
17115 s/[ ]*$/:/
17116 s/:\$(srcdir):/:/g
17117 s/:\${srcdir}:/:/g
17118 s/:@srcdir@:/:/g
17119 s/^:*//
17120 s/:*$//
17122 s/\(=[ ]*\).*/\1/
17124 s/\n//
17125 s/^[^=]*=[ ]*$//
17129 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17130 fi # test -n "$CONFIG_FILES"
17132 # Set up the scripts for CONFIG_HEADERS section.
17133 # No need to generate them if there are no CONFIG_HEADERS.
17134 # This happens for instance with `./config.status Makefile'.
17135 if test -n "$CONFIG_HEADERS"; then
17136 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17137 BEGIN {
17138 _ACEOF
17140 # Transform confdefs.h into an awk script `defines.awk', embedded as
17141 # here-document in config.status, that substitutes the proper values into
17142 # config.h.in to produce config.h.
17144 # Create a delimiter string that does not exist in confdefs.h, to ease
17145 # handling of long lines.
17146 ac_delim='%!_!# '
17147 for ac_last_try in false false :; do
17148 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17149 if test -z "$ac_tt"; then
17150 break
17151 elif $ac_last_try; then
17152 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17153 else
17154 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17156 done
17158 # For the awk script, D is an array of macro values keyed by name,
17159 # likewise P contains macro parameters if any. Preserve backslash
17160 # newline sequences.
17162 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17163 sed -n '
17164 s/.\{148\}/&'"$ac_delim"'/g
17165 t rset
17166 :rset
17167 s/^[ ]*#[ ]*define[ ][ ]*/ /
17168 t def
17170 :def
17171 s/\\$//
17172 t bsnl
17173 s/["\\]/\\&/g
17174 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17175 D["\1"]=" \3"/p
17176 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17178 :bsnl
17179 s/["\\]/\\&/g
17180 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17181 D["\1"]=" \3\\\\\\n"\\/p
17182 t cont
17183 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17184 t cont
17186 :cont
17188 s/.\{148\}/&'"$ac_delim"'/g
17189 t clear
17190 :clear
17191 s/\\$//
17192 t bsnlc
17193 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17195 :bsnlc
17196 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17197 b cont
17198 ' <confdefs.h | sed '
17199 s/'"$ac_delim"'/"\\\
17200 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17202 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17203 for (key in D) D_is_set[key] = 1
17204 FS = "\a"
17206 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17207 line = \$ 0
17208 split(line, arg, " ")
17209 if (arg[1] == "#") {
17210 defundef = arg[2]
17211 mac1 = arg[3]
17212 } else {
17213 defundef = substr(arg[1], 2)
17214 mac1 = arg[2]
17216 split(mac1, mac2, "(") #)
17217 macro = mac2[1]
17218 prefix = substr(line, 1, index(line, defundef) - 1)
17219 if (D_is_set[macro]) {
17220 # Preserve the white space surrounding the "#".
17221 print prefix "define", macro P[macro] D[macro]
17222 next
17223 } else {
17224 # Replace #undef with comments. This is necessary, for example,
17225 # in the case of _POSIX_SOURCE, which is predefined and required
17226 # on some systems where configure will not decide to define it.
17227 if (defundef == "undef") {
17228 print "/*", prefix defundef, macro, "*/"
17229 next
17233 { print }
17234 _ACAWK
17235 _ACEOF
17236 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17237 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17238 fi # test -n "$CONFIG_HEADERS"
17241 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
17242 shift
17243 for ac_tag
17245 case $ac_tag in
17246 :[FHLC]) ac_mode=$ac_tag; continue;;
17247 esac
17248 case $ac_mode$ac_tag in
17249 :[FHL]*:*);;
17250 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17251 :[FH]-) ac_tag=-:-;;
17252 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17253 esac
17254 ac_save_IFS=$IFS
17255 IFS=:
17256 set x $ac_tag
17257 IFS=$ac_save_IFS
17258 shift
17259 ac_file=$1
17260 shift
17262 case $ac_mode in
17263 :L) ac_source=$1;;
17264 :[FH])
17265 ac_file_inputs=
17266 for ac_f
17268 case $ac_f in
17269 -) ac_f="$ac_tmp/stdin";;
17270 *) # Look for the file first in the build tree, then in the source tree
17271 # (if the path is not absolute). The absolute path cannot be DOS-style,
17272 # because $ac_f cannot contain `:'.
17273 test -f "$ac_f" ||
17274 case $ac_f in
17275 [\\/$]*) false;;
17276 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17277 esac ||
17278 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17279 esac
17280 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17281 as_fn_append ac_file_inputs " '$ac_f'"
17282 done
17284 # Let's still pretend it is `configure' which instantiates (i.e., don't
17285 # use $as_me), people would be surprised to read:
17286 # /* config.h. Generated by config.status. */
17287 configure_input='Generated from '`
17288 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17289 `' by configure.'
17290 if test x"$ac_file" != x-; then
17291 configure_input="$ac_file. $configure_input"
17292 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17293 $as_echo "$as_me: creating $ac_file" >&6;}
17295 # Neutralize special characters interpreted by sed in replacement strings.
17296 case $configure_input in #(
17297 *\&* | *\|* | *\\* )
17298 ac_sed_conf_input=`$as_echo "$configure_input" |
17299 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17300 *) ac_sed_conf_input=$configure_input;;
17301 esac
17303 case $ac_tag in
17304 *:-:* | *:-) cat >"$ac_tmp/stdin" \
17305 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17306 esac
17308 esac
17310 ac_dir=`$as_dirname -- "$ac_file" ||
17311 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17312 X"$ac_file" : 'X\(//\)[^/]' \| \
17313 X"$ac_file" : 'X\(//\)$' \| \
17314 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17315 $as_echo X"$ac_file" |
17316 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17317 s//\1/
17320 /^X\(\/\/\)[^/].*/{
17321 s//\1/
17324 /^X\(\/\/\)$/{
17325 s//\1/
17328 /^X\(\/\).*/{
17329 s//\1/
17332 s/.*/./; q'`
17333 as_dir="$ac_dir"; as_fn_mkdir_p
17334 ac_builddir=.
17336 case "$ac_dir" in
17337 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17339 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17340 # A ".." for each directory in $ac_dir_suffix.
17341 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17342 case $ac_top_builddir_sub in
17343 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17344 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17345 esac ;;
17346 esac
17347 ac_abs_top_builddir=$ac_pwd
17348 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17349 # for backward compatibility:
17350 ac_top_builddir=$ac_top_build_prefix
17352 case $srcdir in
17353 .) # We are building in place.
17354 ac_srcdir=.
17355 ac_top_srcdir=$ac_top_builddir_sub
17356 ac_abs_top_srcdir=$ac_pwd ;;
17357 [\\/]* | ?:[\\/]* ) # Absolute name.
17358 ac_srcdir=$srcdir$ac_dir_suffix;
17359 ac_top_srcdir=$srcdir
17360 ac_abs_top_srcdir=$srcdir ;;
17361 *) # Relative name.
17362 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17363 ac_top_srcdir=$ac_top_build_prefix$srcdir
17364 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17365 esac
17366 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17369 case $ac_mode in
17372 # CONFIG_FILE
17375 case $INSTALL in
17376 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17377 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17378 esac
17379 _ACEOF
17381 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17382 # If the template does not know about datarootdir, expand it.
17383 # FIXME: This hack should be removed a few years after 2.60.
17384 ac_datarootdir_hack=; ac_datarootdir_seen=
17385 ac_sed_dataroot='
17386 /datarootdir/ {
17390 /@datadir@/p
17391 /@docdir@/p
17392 /@infodir@/p
17393 /@localedir@/p
17394 /@mandir@/p'
17395 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17396 *datarootdir*) ac_datarootdir_seen=yes;;
17397 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17399 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17400 _ACEOF
17401 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17402 ac_datarootdir_hack='
17403 s&@datadir@&$datadir&g
17404 s&@docdir@&$docdir&g
17405 s&@infodir@&$infodir&g
17406 s&@localedir@&$localedir&g
17407 s&@mandir@&$mandir&g
17408 s&\\\${datarootdir}&$datarootdir&g' ;;
17409 esac
17410 _ACEOF
17412 # Neutralize VPATH when `$srcdir' = `.'.
17413 # Shell code in configure.ac might set extrasub.
17414 # FIXME: do we really want to maintain this feature?
17415 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17416 ac_sed_extra="$ac_vpsub
17417 $extrasub
17418 _ACEOF
17419 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17421 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17422 s|@configure_input@|$ac_sed_conf_input|;t t
17423 s&@top_builddir@&$ac_top_builddir_sub&;t t
17424 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17425 s&@srcdir@&$ac_srcdir&;t t
17426 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17427 s&@top_srcdir@&$ac_top_srcdir&;t t
17428 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17429 s&@builddir@&$ac_builddir&;t t
17430 s&@abs_builddir@&$ac_abs_builddir&;t t
17431 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17432 s&@INSTALL@&$ac_INSTALL&;t t
17433 $ac_datarootdir_hack
17435 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
17436 if $ac_cs_awk_getline; then
17437 $AWK -f "$ac_tmp/subs.awk"
17438 else
17439 $AWK -f "$ac_tmp/subs.awk" | $SHELL
17440 fi \
17441 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17443 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17444 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17445 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17446 "$ac_tmp/out"`; test -z "$ac_out"; } &&
17447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17448 which seems to be undefined. Please make sure it is defined" >&5
17449 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17450 which seems to be undefined. Please make sure it is defined" >&2;}
17452 rm -f "$ac_tmp/stdin"
17453 case $ac_file in
17454 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17455 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17456 esac \
17457 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17461 # CONFIG_HEADER
17463 if test x"$ac_file" != x-; then
17465 $as_echo "/* $configure_input */" \
17466 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17467 } >"$ac_tmp/config.h" \
17468 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17469 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17470 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17471 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17472 else
17473 rm -f "$ac_file"
17474 mv "$ac_tmp/config.h" "$ac_file" \
17475 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17477 else
17478 $as_echo "/* $configure_input */" \
17479 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17480 || as_fn_error $? "could not create -" "$LINENO" 5
17485 # CONFIG_LINK
17488 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
17490 else
17491 # Prefer the file from the source tree if names are identical.
17492 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
17493 ac_source=$srcdir/$ac_source
17496 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
17497 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
17499 if test ! -r "$ac_source"; then
17500 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
17502 rm -f "$ac_file"
17504 # Try a relative symlink, then a hard link, then a copy.
17505 case $ac_source in
17506 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
17507 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
17508 esac
17509 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
17510 ln "$ac_source" "$ac_file" 2>/dev/null ||
17511 cp -p "$ac_source" "$ac_file" ||
17512 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
17515 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17516 $as_echo "$as_me: executing $ac_file commands" >&6;}
17518 esac
17521 case $ac_file$ac_mode in
17522 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
17523 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
17524 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
17525 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
17526 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
17527 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
17528 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
17529 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
17530 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
17531 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
17532 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
17533 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
17534 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
17535 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
17536 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
17537 "Makefile":C) wine_fn_output_makefile Makefile ;;
17539 esac
17540 done # for ac_tag
17543 as_fn_exit 0
17544 _ACEOF
17545 ac_clean_files=$ac_clean_files_save
17547 test $ac_write_fail = 0 ||
17548 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17551 # configure is writing to config.log, and then calls config.status.
17552 # config.status does its own redirection, appending to config.log.
17553 # Unfortunately, on DOS this fails, as config.log is still kept open
17554 # by configure, so config.status won't be able to write to it; its
17555 # output is simply discarded. So we exec the FD to /dev/null,
17556 # effectively closing config.log, so it can be properly (re)opened and
17557 # appended to by config.status. When coming back to configure, we
17558 # need to make the FD available again.
17559 if test "$no_create" != yes; then
17560 ac_cs_success=:
17561 ac_config_status_args=
17562 test "$silent" = yes &&
17563 ac_config_status_args="$ac_config_status_args --quiet"
17564 exec 5>/dev/null
17565 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17566 exec 5>>config.log
17567 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17568 # would make configure fail if this is the last instruction.
17569 $ac_cs_success || as_fn_exit 1
17571 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17573 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17577 if test "$no_create" = "yes"
17578 then
17579 exit 0
17582 ac_save_IFS="$IFS"
17583 if test "x$wine_notices != "x; then
17584 echo >&6
17585 IFS="|"
17586 for msg in $wine_notices; do
17587 IFS="$ac_save_IFS"
17588 if test -n "$msg"; then
17589 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
17590 $as_echo "$as_me: $msg" >&6;}
17592 done
17594 IFS="|"
17595 for msg in $wine_warnings; do
17596 IFS="$ac_save_IFS"
17597 if test -n "$msg"; then
17598 echo >&2
17599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
17600 $as_echo "$as_me: WARNING: $msg" >&2;}
17602 done
17603 IFS="$ac_save_IFS"
17605 echo "
17606 $as_me: Finished. Do '${ac_make}' to compile Wine.
17607 " >&6