winepulse: Remove warning
[wine/multimedia.git] / configure
blob98555bbf730b28afdd8e725f9ee3060669a18ca4
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.5.10.
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.10'
584 PACKAGE_STRING='Wine 1.5.10'
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 PULSEINCL
653 PULSELIBS
654 LIBGETTEXTPO
655 ZLIB
656 FREETYPEINCL
657 FREETYPELIBS
658 ft_devel
659 LCMSLIBS
660 RESOLVLIBS
661 GPHOTO2INCL
662 GPHOTO2LIBS
663 gphoto2port_devel
664 gphoto2_devel
665 SANEINCL
666 sane_devel
667 GNUTLSINCL
668 HALINCL
669 DBUSINCL
670 XSLTINCL
671 XML2INCL
672 XML2LIBS
673 X_EXTRA_LIBS
674 X_LIBS
675 X_PRE_LIBS
676 X_CFLAGS
677 XMKMF
678 LIBPTHREAD
679 CROSSTARGET
680 CROSSCC
681 CROSSTEST_DISABLE
682 PRELINK
683 CARBONLIB
684 QUICKTIMELIB
685 LIBOPENCL
686 FRAMEWORK_OPENAL
687 COREAUDIO
688 SECURITYLIB
689 DISKARBITRATIONLIB
690 LDEXECFLAGS
691 CORESERVICESLIB
692 APPLICATIONSERVICESLIB
693 IOKITLIB
694 COREFOUNDATIONLIB
695 DLLWRAP
696 DLLTOOL
698 LDRPATH_LOCAL
699 LDRPATH_INSTALL
700 IMPLIBEXT
701 LIBEXT
702 LDDLLFLAGS
703 LDSHARED
704 DLLFLAGS
705 DLLEXT
707 OPENGL_LIBS
708 XLIB
709 MAINTAINER_MODE
710 MSGFMT
711 ICOTOOL
712 CONVERT
713 RSVG
714 PKG_CONFIG
715 FONTFORGE
716 LINTFLAGS
717 LINT
718 INSTALL_DATA
719 INSTALL_SCRIPT
720 INSTALL_PROGRAM
721 LDCONFIG
722 EGREP
723 GREP
724 LN_S
725 RANLIB
726 ARFLAGS
727 ac_ct_AR
729 BISON
730 FLEX
731 TOOLSDIR
732 WOW64_DISABLE
733 TARGETFLAGS
734 CPPBIN
735 ac_ct_CXX
736 CXXFLAGS
738 OBJEXT
739 EXEEXT
740 ac_ct_CC
741 CPPFLAGS
742 LDFLAGS
743 CFLAGS
745 SET_MAKE
746 host_os
747 host_vendor
748 host_cpu
749 host
750 build_os
751 build_vendor
752 build_cpu
753 build
754 target_alias
755 host_alias
756 build_alias
757 LIBS
758 ECHO_T
759 ECHO_N
760 ECHO_C
761 DEFS
762 mandir
763 localedir
764 libdir
765 psdir
766 pdfdir
767 dvidir
768 htmldir
769 infodir
770 docdir
771 oldincludedir
772 includedir
773 localstatedir
774 sharedstatedir
775 sysconfdir
776 datadir
777 datarootdir
778 libexecdir
779 sbindir
780 bindir
781 program_transform_name
782 prefix
783 exec_prefix
784 PACKAGE_URL
785 PACKAGE_BUGREPORT
786 PACKAGE_STRING
787 PACKAGE_VERSION
788 PACKAGE_TARNAME
789 PACKAGE_NAME
790 PATH_SEPARATOR
791 SHELL'
792 ac_subst_files='MAKE_RULES
793 MAKE_TEST_RULES
794 MAKE_DLL_RULES
795 MAKE_IMPLIB_RULES
796 MAKE_PROG_RULES'
797 ac_user_opts='
798 enable_option_checking
799 enable_win16
800 enable_win64
801 enable_tests
802 enable_maintainer_mode
803 with_alsa
804 with_capi
805 with_cms
806 with_coreaudio
807 with_cups
808 with_curses
809 with_dbus
810 with_fontconfig
811 with_freetype
812 with_gettext
813 with_gettextpo
814 with_gphoto
815 with_glu
816 with_gnutls
817 with_gsm
818 with_gstreamer
819 with_hal
820 with_jpeg
821 with_ldap
822 with_mpg123
823 with_openal
824 with_opencl
825 with_opengl
826 with_openssl
827 with_osmesa
828 with_oss
829 with_png
830 with_pthread
831 with_pulse
832 with_sane
833 with_tiff
834 with_v4l
835 with_xcomposite
836 with_xcursor
837 with_xinerama
838 with_xinput
839 with_xinput2
840 with_xml
841 with_xrandr
842 with_xrender
843 with_xshape
844 with_xslt
845 with_xxf86vm
846 with_zlib
847 with_wine_tools
848 with_wine64
849 enable_largefile
850 with_x
852 ac_precious_vars='build_alias
853 host_alias
854 target_alias
856 CFLAGS
857 LDFLAGS
858 LIBS
859 CPPFLAGS
861 CXXFLAGS
864 XMKMF'
867 # Initialize some variables set by options.
868 ac_init_help=
869 ac_init_version=false
870 ac_unrecognized_opts=
871 ac_unrecognized_sep=
872 # The variables have the same names as the options, with
873 # dashes changed to underlines.
874 cache_file=/dev/null
875 exec_prefix=NONE
876 no_create=
877 no_recursion=
878 prefix=NONE
879 program_prefix=NONE
880 program_suffix=NONE
881 program_transform_name=s,x,x,
882 silent=
883 site=
884 srcdir=
885 verbose=
886 x_includes=NONE
887 x_libraries=NONE
889 # Installation directory options.
890 # These are left unexpanded so users can "make install exec_prefix=/foo"
891 # and all the variables that are supposed to be based on exec_prefix
892 # by default will actually change.
893 # Use braces instead of parens because sh, perl, etc. also accept them.
894 # (The list follows the same order as the GNU Coding Standards.)
895 bindir='${exec_prefix}/bin'
896 sbindir='${exec_prefix}/sbin'
897 libexecdir='${exec_prefix}/libexec'
898 datarootdir='${prefix}/share'
899 datadir='${datarootdir}'
900 sysconfdir='${prefix}/etc'
901 sharedstatedir='${prefix}/com'
902 localstatedir='${prefix}/var'
903 includedir='${prefix}/include'
904 oldincludedir='/usr/include'
905 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
906 infodir='${datarootdir}/info'
907 htmldir='${docdir}'
908 dvidir='${docdir}'
909 pdfdir='${docdir}'
910 psdir='${docdir}'
911 libdir='${exec_prefix}/lib'
912 localedir='${datarootdir}/locale'
913 mandir='${datarootdir}/man'
915 ac_prev=
916 ac_dashdash=
917 for ac_option
919 # If the previous option needs an argument, assign it.
920 if test -n "$ac_prev"; then
921 eval $ac_prev=\$ac_option
922 ac_prev=
923 continue
926 case $ac_option in
927 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
928 *=) ac_optarg= ;;
929 *) ac_optarg=yes ;;
930 esac
932 # Accept the important Cygnus configure options, so we can diagnose typos.
934 case $ac_dashdash$ac_option in
936 ac_dashdash=yes ;;
938 -bindir | --bindir | --bindi | --bind | --bin | --bi)
939 ac_prev=bindir ;;
940 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
941 bindir=$ac_optarg ;;
943 -build | --build | --buil | --bui | --bu)
944 ac_prev=build_alias ;;
945 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
946 build_alias=$ac_optarg ;;
948 -cache-file | --cache-file | --cache-fil | --cache-fi \
949 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
950 ac_prev=cache_file ;;
951 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
952 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
953 cache_file=$ac_optarg ;;
955 --config-cache | -C)
956 cache_file=config.cache ;;
958 -datadir | --datadir | --datadi | --datad)
959 ac_prev=datadir ;;
960 -datadir=* | --datadir=* | --datadi=* | --datad=*)
961 datadir=$ac_optarg ;;
963 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
964 | --dataroo | --dataro | --datar)
965 ac_prev=datarootdir ;;
966 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
967 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
968 datarootdir=$ac_optarg ;;
970 -disable-* | --disable-*)
971 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
972 # Reject names that are not valid shell variable names.
973 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
974 as_fn_error $? "invalid feature name: $ac_useropt"
975 ac_useropt_orig=$ac_useropt
976 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
977 case $ac_user_opts in
979 "enable_$ac_useropt"
980 "*) ;;
981 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
982 ac_unrecognized_sep=', ';;
983 esac
984 eval enable_$ac_useropt=no ;;
986 -docdir | --docdir | --docdi | --doc | --do)
987 ac_prev=docdir ;;
988 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
989 docdir=$ac_optarg ;;
991 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
992 ac_prev=dvidir ;;
993 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
994 dvidir=$ac_optarg ;;
996 -enable-* | --enable-*)
997 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
998 # Reject names that are not valid shell variable names.
999 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1000 as_fn_error $? "invalid feature name: $ac_useropt"
1001 ac_useropt_orig=$ac_useropt
1002 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1003 case $ac_user_opts in
1005 "enable_$ac_useropt"
1006 "*) ;;
1007 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1008 ac_unrecognized_sep=', ';;
1009 esac
1010 eval enable_$ac_useropt=\$ac_optarg ;;
1012 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1013 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1014 | --exec | --exe | --ex)
1015 ac_prev=exec_prefix ;;
1016 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1017 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1018 | --exec=* | --exe=* | --ex=*)
1019 exec_prefix=$ac_optarg ;;
1021 -gas | --gas | --ga | --g)
1022 # Obsolete; use --with-gas.
1023 with_gas=yes ;;
1025 -help | --help | --hel | --he | -h)
1026 ac_init_help=long ;;
1027 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1028 ac_init_help=recursive ;;
1029 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1030 ac_init_help=short ;;
1032 -host | --host | --hos | --ho)
1033 ac_prev=host_alias ;;
1034 -host=* | --host=* | --hos=* | --ho=*)
1035 host_alias=$ac_optarg ;;
1037 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1038 ac_prev=htmldir ;;
1039 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1040 | --ht=*)
1041 htmldir=$ac_optarg ;;
1043 -includedir | --includedir | --includedi | --included | --include \
1044 | --includ | --inclu | --incl | --inc)
1045 ac_prev=includedir ;;
1046 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1047 | --includ=* | --inclu=* | --incl=* | --inc=*)
1048 includedir=$ac_optarg ;;
1050 -infodir | --infodir | --infodi | --infod | --info | --inf)
1051 ac_prev=infodir ;;
1052 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1053 infodir=$ac_optarg ;;
1055 -libdir | --libdir | --libdi | --libd)
1056 ac_prev=libdir ;;
1057 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1058 libdir=$ac_optarg ;;
1060 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1061 | --libexe | --libex | --libe)
1062 ac_prev=libexecdir ;;
1063 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1064 | --libexe=* | --libex=* | --libe=*)
1065 libexecdir=$ac_optarg ;;
1067 -localedir | --localedir | --localedi | --localed | --locale)
1068 ac_prev=localedir ;;
1069 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1070 localedir=$ac_optarg ;;
1072 -localstatedir | --localstatedir | --localstatedi | --localstated \
1073 | --localstate | --localstat | --localsta | --localst | --locals)
1074 ac_prev=localstatedir ;;
1075 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1076 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1077 localstatedir=$ac_optarg ;;
1079 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1080 ac_prev=mandir ;;
1081 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1082 mandir=$ac_optarg ;;
1084 -nfp | --nfp | --nf)
1085 # Obsolete; use --without-fp.
1086 with_fp=no ;;
1088 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1089 | --no-cr | --no-c | -n)
1090 no_create=yes ;;
1092 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1093 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1094 no_recursion=yes ;;
1096 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1097 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1098 | --oldin | --oldi | --old | --ol | --o)
1099 ac_prev=oldincludedir ;;
1100 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1101 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1102 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1103 oldincludedir=$ac_optarg ;;
1105 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1106 ac_prev=prefix ;;
1107 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1108 prefix=$ac_optarg ;;
1110 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1111 | --program-pre | --program-pr | --program-p)
1112 ac_prev=program_prefix ;;
1113 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1114 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1115 program_prefix=$ac_optarg ;;
1117 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1118 | --program-suf | --program-su | --program-s)
1119 ac_prev=program_suffix ;;
1120 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1121 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1122 program_suffix=$ac_optarg ;;
1124 -program-transform-name | --program-transform-name \
1125 | --program-transform-nam | --program-transform-na \
1126 | --program-transform-n | --program-transform- \
1127 | --program-transform | --program-transfor \
1128 | --program-transfo | --program-transf \
1129 | --program-trans | --program-tran \
1130 | --progr-tra | --program-tr | --program-t)
1131 ac_prev=program_transform_name ;;
1132 -program-transform-name=* | --program-transform-name=* \
1133 | --program-transform-nam=* | --program-transform-na=* \
1134 | --program-transform-n=* | --program-transform-=* \
1135 | --program-transform=* | --program-transfor=* \
1136 | --program-transfo=* | --program-transf=* \
1137 | --program-trans=* | --program-tran=* \
1138 | --progr-tra=* | --program-tr=* | --program-t=*)
1139 program_transform_name=$ac_optarg ;;
1141 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1142 ac_prev=pdfdir ;;
1143 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1144 pdfdir=$ac_optarg ;;
1146 -psdir | --psdir | --psdi | --psd | --ps)
1147 ac_prev=psdir ;;
1148 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1149 psdir=$ac_optarg ;;
1151 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1152 | -silent | --silent | --silen | --sile | --sil)
1153 silent=yes ;;
1155 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1156 ac_prev=sbindir ;;
1157 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1158 | --sbi=* | --sb=*)
1159 sbindir=$ac_optarg ;;
1161 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1162 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1163 | --sharedst | --shareds | --shared | --share | --shar \
1164 | --sha | --sh)
1165 ac_prev=sharedstatedir ;;
1166 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1167 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1168 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1169 | --sha=* | --sh=*)
1170 sharedstatedir=$ac_optarg ;;
1172 -site | --site | --sit)
1173 ac_prev=site ;;
1174 -site=* | --site=* | --sit=*)
1175 site=$ac_optarg ;;
1177 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1178 ac_prev=srcdir ;;
1179 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1180 srcdir=$ac_optarg ;;
1182 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1183 | --syscon | --sysco | --sysc | --sys | --sy)
1184 ac_prev=sysconfdir ;;
1185 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1186 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1187 sysconfdir=$ac_optarg ;;
1189 -target | --target | --targe | --targ | --tar | --ta | --t)
1190 ac_prev=target_alias ;;
1191 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1192 target_alias=$ac_optarg ;;
1194 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1195 verbose=yes ;;
1197 -version | --version | --versio | --versi | --vers | -V)
1198 ac_init_version=: ;;
1200 -with-* | --with-*)
1201 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1202 # Reject names that are not valid shell variable names.
1203 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1204 as_fn_error $? "invalid package name: $ac_useropt"
1205 ac_useropt_orig=$ac_useropt
1206 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1207 case $ac_user_opts in
1209 "with_$ac_useropt"
1210 "*) ;;
1211 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1212 ac_unrecognized_sep=', ';;
1213 esac
1214 eval with_$ac_useropt=\$ac_optarg ;;
1216 -without-* | --without-*)
1217 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1218 # Reject names that are not valid shell variable names.
1219 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1220 as_fn_error $? "invalid package name: $ac_useropt"
1221 ac_useropt_orig=$ac_useropt
1222 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1223 case $ac_user_opts in
1225 "with_$ac_useropt"
1226 "*) ;;
1227 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1228 ac_unrecognized_sep=', ';;
1229 esac
1230 eval with_$ac_useropt=no ;;
1232 --x)
1233 # Obsolete; use --with-x.
1234 with_x=yes ;;
1236 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1237 | --x-incl | --x-inc | --x-in | --x-i)
1238 ac_prev=x_includes ;;
1239 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1240 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1241 x_includes=$ac_optarg ;;
1243 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1244 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1245 ac_prev=x_libraries ;;
1246 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1247 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1248 x_libraries=$ac_optarg ;;
1250 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1251 Try \`$0 --help' for more information"
1254 *=*)
1255 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1256 # Reject names that are not valid shell variable names.
1257 case $ac_envvar in #(
1258 '' | [0-9]* | *[!_$as_cr_alnum]* )
1259 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1260 esac
1261 eval $ac_envvar=\$ac_optarg
1262 export $ac_envvar ;;
1265 # FIXME: should be removed in autoconf 3.0.
1266 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1267 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1268 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1269 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1272 esac
1273 done
1275 if test -n "$ac_prev"; then
1276 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1277 as_fn_error $? "missing argument to $ac_option"
1280 if test -n "$ac_unrecognized_opts"; then
1281 case $enable_option_checking in
1282 no) ;;
1283 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1284 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1285 esac
1288 # Check all directory arguments for consistency.
1289 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1290 datadir sysconfdir sharedstatedir localstatedir includedir \
1291 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1292 libdir localedir mandir
1294 eval ac_val=\$$ac_var
1295 # Remove trailing slashes.
1296 case $ac_val in
1297 */ )
1298 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1299 eval $ac_var=\$ac_val;;
1300 esac
1301 # Be sure to have absolute directory names.
1302 case $ac_val in
1303 [\\/$]* | ?:[\\/]* ) continue;;
1304 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1305 esac
1306 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1307 done
1309 # There might be people who depend on the old broken behavior: `$host'
1310 # used to hold the argument of --host etc.
1311 # FIXME: To remove some day.
1312 build=$build_alias
1313 host=$host_alias
1314 target=$target_alias
1316 # FIXME: To remove some day.
1317 if test "x$host_alias" != x; then
1318 if test "x$build_alias" = x; then
1319 cross_compiling=maybe
1320 elif test "x$build_alias" != "x$host_alias"; then
1321 cross_compiling=yes
1325 ac_tool_prefix=
1326 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1328 test "$silent" = yes && exec 6>/dev/null
1331 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1332 ac_ls_di=`ls -di .` &&
1333 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1334 as_fn_error $? "working directory cannot be determined"
1335 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1336 as_fn_error $? "pwd does not report name of working directory"
1339 # Find the source files, if location was not specified.
1340 if test -z "$srcdir"; then
1341 ac_srcdir_defaulted=yes
1342 # Try the directory containing this script, then the parent directory.
1343 ac_confdir=`$as_dirname -- "$as_myself" ||
1344 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1345 X"$as_myself" : 'X\(//\)[^/]' \| \
1346 X"$as_myself" : 'X\(//\)$' \| \
1347 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1348 $as_echo X"$as_myself" |
1349 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1350 s//\1/
1353 /^X\(\/\/\)[^/].*/{
1354 s//\1/
1357 /^X\(\/\/\)$/{
1358 s//\1/
1361 /^X\(\/\).*/{
1362 s//\1/
1365 s/.*/./; q'`
1366 srcdir=$ac_confdir
1367 if test ! -r "$srcdir/$ac_unique_file"; then
1368 srcdir=..
1370 else
1371 ac_srcdir_defaulted=no
1373 if test ! -r "$srcdir/$ac_unique_file"; then
1374 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1375 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1377 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1378 ac_abs_confdir=`(
1379 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1380 pwd)`
1381 # When building in place, set srcdir=.
1382 if test "$ac_abs_confdir" = "$ac_pwd"; then
1383 srcdir=.
1385 # Remove unnecessary trailing slashes from srcdir.
1386 # Double slashes in file names in object file debugging info
1387 # mess up M-x gdb in Emacs.
1388 case $srcdir in
1389 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1390 esac
1391 for ac_var in $ac_precious_vars; do
1392 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1393 eval ac_env_${ac_var}_value=\$${ac_var}
1394 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1395 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1396 done
1399 # Report the --help message.
1401 if test "$ac_init_help" = "long"; then
1402 # Omit some internal or obsolete options to make the list less imposing.
1403 # This message is too long to be a string in the A/UX 3.1 sh.
1404 cat <<_ACEOF
1405 \`configure' configures Wine 1.5.10 to adapt to many kinds of systems.
1407 Usage: $0 [OPTION]... [VAR=VALUE]...
1409 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1410 VAR=VALUE. See below for descriptions of some of the useful variables.
1412 Defaults for the options are specified in brackets.
1414 Configuration:
1415 -h, --help display this help and exit
1416 --help=short display options specific to this package
1417 --help=recursive display the short help of all the included packages
1418 -V, --version display version information and exit
1419 -q, --quiet, --silent do not print \`checking ...' messages
1420 --cache-file=FILE cache test results in FILE [disabled]
1421 -C, --config-cache alias for \`--cache-file=config.cache'
1422 -n, --no-create do not create output files
1423 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1425 Installation directories:
1426 --prefix=PREFIX install architecture-independent files in PREFIX
1427 [$ac_default_prefix]
1428 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1429 [PREFIX]
1431 By default, \`make install' will install all the files in
1432 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1433 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1434 for instance \`--prefix=\$HOME'.
1436 For better control, use the options below.
1438 Fine tuning of the installation directories:
1439 --bindir=DIR user executables [EPREFIX/bin]
1440 --sbindir=DIR system admin executables [EPREFIX/sbin]
1441 --libexecdir=DIR program executables [EPREFIX/libexec]
1442 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1443 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1444 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1445 --libdir=DIR object code libraries [EPREFIX/lib]
1446 --includedir=DIR C header files [PREFIX/include]
1447 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1448 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1449 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1450 --infodir=DIR info documentation [DATAROOTDIR/info]
1451 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1452 --mandir=DIR man documentation [DATAROOTDIR/man]
1453 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1454 --htmldir=DIR html documentation [DOCDIR]
1455 --dvidir=DIR dvi documentation [DOCDIR]
1456 --pdfdir=DIR pdf documentation [DOCDIR]
1457 --psdir=DIR ps documentation [DOCDIR]
1458 _ACEOF
1460 cat <<\_ACEOF
1462 X features:
1463 --x-includes=DIR X include files are in DIR
1464 --x-libraries=DIR X library files are in DIR
1466 System types:
1467 --build=BUILD configure for building on BUILD [guessed]
1468 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1469 _ACEOF
1472 if test -n "$ac_init_help"; then
1473 case $ac_init_help in
1474 short | recursive ) echo "Configuration of Wine 1.5.10:";;
1475 esac
1476 cat <<\_ACEOF
1478 Optional Features:
1479 --disable-option-checking ignore unrecognized --enable/--with options
1480 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1481 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1482 --disable-win16 do not include Win16 support
1483 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1484 binaries)
1485 --disable-tests do not build the regression tests
1486 --enable-maintainer-mode
1487 enable maintainer-specific build rules
1488 --disable-largefile omit support for large files
1490 Optional Packages:
1491 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1492 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1493 --without-alsa do not use the Alsa sound support
1494 --without-capi do not use CAPI (ISDN support)
1495 --without-cms do not use CMS (color management support)
1496 --without-coreaudio do not use the CoreAudio sound support
1497 --without-cups do not use CUPS
1498 --without-curses do not use (n)curses
1499 --without-dbus do not use DBus (dynamic device support)
1500 --without-fontconfig do not use fontconfig
1501 --without-freetype do not use the FreeType library
1502 --without-gettext do not use gettext
1503 --with-gettextpo use the GetTextPO library to rebuild po files
1504 --without-gphoto do not use gphoto (Digital Camera support)
1505 --without-glu do not use the GLU library
1506 --without-gnutls do not use GnuTLS (schannel support)
1507 --without-gsm do not use libgsm (GSM 06.10 codec support)
1508 --without-gstreamer do not use GStreamer (codecs support)
1509 --without-hal do not use HAL (dynamic device support)
1510 --without-jpeg do not use JPEG
1511 --without-ldap do not use LDAP
1512 --without-mpg123 do not use the mpg123 library
1513 --without-openal do not use OpenAL
1514 --without-opencl do not use OpenCL
1515 --without-opengl do not use OpenGL
1516 --without-openssl do not use OpenSSL
1517 --without-osmesa do not use the OSMesa library
1518 --without-oss do not use the OSS sound support
1519 --without-png do not use PNG
1520 --without-pthread do not use the pthread library
1521 --without-pulse do not use PulseAudio sound support
1522 --without-sane do not use SANE (scanner support)
1523 --without-tiff do not use TIFF
1524 --without-v4l do not use v4l1 (v4l support)
1525 --without-xcomposite do not use the Xcomposite extension
1526 --without-xcursor do not use the Xcursor extension
1527 --without-xinerama do not use Xinerama (multi-monitor support)
1528 --without-xinput do not use the Xinput extension
1529 --without-xinput2 do not use the Xinput 2 extension
1530 --without-xml do not use XML
1531 --without-xrandr do not use Xrandr (resolution changes)
1532 --without-xrender do not use the Xrender extension
1533 --without-xshape do not use the Xshape extension
1534 --without-xslt do not use XSLT
1535 --without-xxf86vm do not use XFree video mode extension
1536 --without-zlib do not use Zlib (data compression)
1537 --with-wine-tools=DIR use Wine tools from directory DIR
1538 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
1539 --with-x use the X Window System
1541 Some influential environment variables:
1542 CC C compiler command
1543 CFLAGS C compiler flags
1544 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1545 nonstandard directory <lib dir>
1546 LIBS libraries to pass to the linker, e.g. -l<library>
1547 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1548 you have headers in a nonstandard directory <include dir>
1549 CXX C++ compiler command
1550 CXXFLAGS C++ compiler flags
1551 CPP C preprocessor
1552 XMKMF Path to xmkmf, Makefile generator for X Window System
1554 Use these variables to override the choices made by `configure' or to help
1555 it to find libraries and programs with nonstandard names/locations.
1557 Report bugs to <wine-devel@winehq.org>.
1558 Wine home page: <http://www.winehq.org>.
1559 _ACEOF
1560 ac_status=$?
1563 if test "$ac_init_help" = "recursive"; then
1564 # If there are subdirs, report their specific --help.
1565 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1566 test -d "$ac_dir" ||
1567 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1568 continue
1569 ac_builddir=.
1571 case "$ac_dir" in
1572 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1574 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1575 # A ".." for each directory in $ac_dir_suffix.
1576 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1577 case $ac_top_builddir_sub in
1578 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1579 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1580 esac ;;
1581 esac
1582 ac_abs_top_builddir=$ac_pwd
1583 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1584 # for backward compatibility:
1585 ac_top_builddir=$ac_top_build_prefix
1587 case $srcdir in
1588 .) # We are building in place.
1589 ac_srcdir=.
1590 ac_top_srcdir=$ac_top_builddir_sub
1591 ac_abs_top_srcdir=$ac_pwd ;;
1592 [\\/]* | ?:[\\/]* ) # Absolute name.
1593 ac_srcdir=$srcdir$ac_dir_suffix;
1594 ac_top_srcdir=$srcdir
1595 ac_abs_top_srcdir=$srcdir ;;
1596 *) # Relative name.
1597 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1598 ac_top_srcdir=$ac_top_build_prefix$srcdir
1599 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1600 esac
1601 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1603 cd "$ac_dir" || { ac_status=$?; continue; }
1604 # Check for guested configure.
1605 if test -f "$ac_srcdir/configure.gnu"; then
1606 echo &&
1607 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1608 elif test -f "$ac_srcdir/configure"; then
1609 echo &&
1610 $SHELL "$ac_srcdir/configure" --help=recursive
1611 else
1612 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1613 fi || ac_status=$?
1614 cd "$ac_pwd" || { ac_status=$?; break; }
1615 done
1618 test -n "$ac_init_help" && exit $ac_status
1619 if $ac_init_version; then
1620 cat <<\_ACEOF
1621 Wine configure 1.5.10
1622 generated by GNU Autoconf 2.69
1624 Copyright (C) 2012 Free Software Foundation, Inc.
1625 This configure script is free software; the Free Software Foundation
1626 gives unlimited permission to copy, distribute and modify it.
1627 _ACEOF
1628 exit
1631 ## ------------------------ ##
1632 ## Autoconf initialization. ##
1633 ## ------------------------ ##
1635 # ac_fn_c_try_compile LINENO
1636 # --------------------------
1637 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1638 ac_fn_c_try_compile ()
1640 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1641 rm -f conftest.$ac_objext
1642 if { { ac_try="$ac_compile"
1643 case "(($ac_try" in
1644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1645 *) ac_try_echo=$ac_try;;
1646 esac
1647 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1648 $as_echo "$ac_try_echo"; } >&5
1649 (eval "$ac_compile") 2>conftest.err
1650 ac_status=$?
1651 if test -s conftest.err; then
1652 grep -v '^ *+' conftest.err >conftest.er1
1653 cat conftest.er1 >&5
1654 mv -f conftest.er1 conftest.err
1656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1657 test $ac_status = 0; } && {
1658 test -z "$ac_c_werror_flag" ||
1659 test ! -s conftest.err
1660 } && test -s conftest.$ac_objext; then :
1661 ac_retval=0
1662 else
1663 $as_echo "$as_me: failed program was:" >&5
1664 sed 's/^/| /' conftest.$ac_ext >&5
1666 ac_retval=1
1668 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1669 as_fn_set_status $ac_retval
1671 } # ac_fn_c_try_compile
1673 # ac_fn_cxx_try_compile LINENO
1674 # ----------------------------
1675 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1676 ac_fn_cxx_try_compile ()
1678 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1679 rm -f conftest.$ac_objext
1680 if { { ac_try="$ac_compile"
1681 case "(($ac_try" in
1682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1683 *) ac_try_echo=$ac_try;;
1684 esac
1685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1686 $as_echo "$ac_try_echo"; } >&5
1687 (eval "$ac_compile") 2>conftest.err
1688 ac_status=$?
1689 if test -s conftest.err; then
1690 grep -v '^ *+' conftest.err >conftest.er1
1691 cat conftest.er1 >&5
1692 mv -f conftest.er1 conftest.err
1694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1695 test $ac_status = 0; } && {
1696 test -z "$ac_cxx_werror_flag" ||
1697 test ! -s conftest.err
1698 } && test -s conftest.$ac_objext; then :
1699 ac_retval=0
1700 else
1701 $as_echo "$as_me: failed program was:" >&5
1702 sed 's/^/| /' conftest.$ac_ext >&5
1704 ac_retval=1
1706 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1707 as_fn_set_status $ac_retval
1709 } # ac_fn_cxx_try_compile
1711 # ac_fn_c_try_link LINENO
1712 # -----------------------
1713 # Try to link conftest.$ac_ext, and return whether this succeeded.
1714 ac_fn_c_try_link ()
1716 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1717 rm -f conftest.$ac_objext conftest$ac_exeext
1718 if { { ac_try="$ac_link"
1719 case "(($ac_try" in
1720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1721 *) ac_try_echo=$ac_try;;
1722 esac
1723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1724 $as_echo "$ac_try_echo"; } >&5
1725 (eval "$ac_link") 2>conftest.err
1726 ac_status=$?
1727 if test -s conftest.err; then
1728 grep -v '^ *+' conftest.err >conftest.er1
1729 cat conftest.er1 >&5
1730 mv -f conftest.er1 conftest.err
1732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1733 test $ac_status = 0; } && {
1734 test -z "$ac_c_werror_flag" ||
1735 test ! -s conftest.err
1736 } && test -s conftest$ac_exeext && {
1737 test "$cross_compiling" = yes ||
1738 test -x conftest$ac_exeext
1739 }; then :
1740 ac_retval=0
1741 else
1742 $as_echo "$as_me: failed program was:" >&5
1743 sed 's/^/| /' conftest.$ac_ext >&5
1745 ac_retval=1
1747 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1748 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1749 # interfere with the next link command; also delete a directory that is
1750 # left behind by Apple's compiler. We do this before executing the actions.
1751 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1752 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1753 as_fn_set_status $ac_retval
1755 } # ac_fn_c_try_link
1757 # ac_fn_c_try_cpp LINENO
1758 # ----------------------
1759 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1760 ac_fn_c_try_cpp ()
1762 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1763 if { { ac_try="$ac_cpp conftest.$ac_ext"
1764 case "(($ac_try" in
1765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1766 *) ac_try_echo=$ac_try;;
1767 esac
1768 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1769 $as_echo "$ac_try_echo"; } >&5
1770 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1771 ac_status=$?
1772 if test -s conftest.err; then
1773 grep -v '^ *+' conftest.err >conftest.er1
1774 cat conftest.er1 >&5
1775 mv -f conftest.er1 conftest.err
1777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1778 test $ac_status = 0; } > conftest.i && {
1779 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1780 test ! -s conftest.err
1781 }; then :
1782 ac_retval=0
1783 else
1784 $as_echo "$as_me: failed program was:" >&5
1785 sed 's/^/| /' conftest.$ac_ext >&5
1787 ac_retval=1
1789 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1790 as_fn_set_status $ac_retval
1792 } # ac_fn_c_try_cpp
1794 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1795 # -------------------------------------------------------
1796 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1797 # the include files in INCLUDES and setting the cache variable VAR
1798 # accordingly.
1799 ac_fn_c_check_header_mongrel ()
1801 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1802 if eval \${$3+:} false; then :
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1804 $as_echo_n "checking for $2... " >&6; }
1805 if eval \${$3+:} false; then :
1806 $as_echo_n "(cached) " >&6
1808 eval ac_res=\$$3
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1810 $as_echo "$ac_res" >&6; }
1811 else
1812 # Is the header compilable?
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1814 $as_echo_n "checking $2 usability... " >&6; }
1815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1816 /* end confdefs.h. */
1818 #include <$2>
1819 _ACEOF
1820 if ac_fn_c_try_compile "$LINENO"; then :
1821 ac_header_compiler=yes
1822 else
1823 ac_header_compiler=no
1825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1827 $as_echo "$ac_header_compiler" >&6; }
1829 # Is the header present?
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1831 $as_echo_n "checking $2 presence... " >&6; }
1832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1833 /* end confdefs.h. */
1834 #include <$2>
1835 _ACEOF
1836 if ac_fn_c_try_cpp "$LINENO"; then :
1837 ac_header_preproc=yes
1838 else
1839 ac_header_preproc=no
1841 rm -f conftest.err conftest.i conftest.$ac_ext
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1843 $as_echo "$ac_header_preproc" >&6; }
1845 # So? What about this header?
1846 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1847 yes:no: )
1848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1849 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1851 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1853 no:yes:* )
1854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1855 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1857 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1859 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1861 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1863 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1864 ( $as_echo "## ------------------------------------ ##
1865 ## Report this to wine-devel@winehq.org ##
1866 ## ------------------------------------ ##"
1867 ) | sed "s/^/$as_me: WARNING: /" >&2
1869 esac
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1871 $as_echo_n "checking for $2... " >&6; }
1872 if eval \${$3+:} false; then :
1873 $as_echo_n "(cached) " >&6
1874 else
1875 eval "$3=\$ac_header_compiler"
1877 eval ac_res=\$$3
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1879 $as_echo "$ac_res" >&6; }
1881 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1883 } # ac_fn_c_check_header_mongrel
1885 # ac_fn_c_try_run LINENO
1886 # ----------------------
1887 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1888 # that executables *can* be run.
1889 ac_fn_c_try_run ()
1891 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1892 if { { ac_try="$ac_link"
1893 case "(($ac_try" in
1894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1895 *) ac_try_echo=$ac_try;;
1896 esac
1897 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1898 $as_echo "$ac_try_echo"; } >&5
1899 (eval "$ac_link") 2>&5
1900 ac_status=$?
1901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1902 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1903 { { case "(($ac_try" in
1904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1905 *) ac_try_echo=$ac_try;;
1906 esac
1907 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1908 $as_echo "$ac_try_echo"; } >&5
1909 (eval "$ac_try") 2>&5
1910 ac_status=$?
1911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1912 test $ac_status = 0; }; }; then :
1913 ac_retval=0
1914 else
1915 $as_echo "$as_me: program exited with status $ac_status" >&5
1916 $as_echo "$as_me: failed program was:" >&5
1917 sed 's/^/| /' conftest.$ac_ext >&5
1919 ac_retval=$ac_status
1921 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1922 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1923 as_fn_set_status $ac_retval
1925 } # ac_fn_c_try_run
1927 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1928 # -------------------------------------------------------
1929 # Tests whether HEADER exists and can be compiled using the include files in
1930 # INCLUDES, setting the cache variable VAR accordingly.
1931 ac_fn_c_check_header_compile ()
1933 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1935 $as_echo_n "checking for $2... " >&6; }
1936 if eval \${$3+:} false; then :
1937 $as_echo_n "(cached) " >&6
1938 else
1939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1940 /* end confdefs.h. */
1942 #include <$2>
1943 _ACEOF
1944 if ac_fn_c_try_compile "$LINENO"; then :
1945 eval "$3=yes"
1946 else
1947 eval "$3=no"
1949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1951 eval ac_res=\$$3
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1953 $as_echo "$ac_res" >&6; }
1954 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1956 } # ac_fn_c_check_header_compile
1958 # ac_fn_c_check_func LINENO FUNC VAR
1959 # ----------------------------------
1960 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1961 ac_fn_c_check_func ()
1963 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1965 $as_echo_n "checking for $2... " >&6; }
1966 if eval \${$3+:} false; then :
1967 $as_echo_n "(cached) " >&6
1968 else
1969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1970 /* end confdefs.h. */
1971 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1972 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1973 #define $2 innocuous_$2
1975 /* System header to define __stub macros and hopefully few prototypes,
1976 which can conflict with char $2 (); below.
1977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1978 <limits.h> exists even on freestanding compilers. */
1980 #ifdef __STDC__
1981 # include <limits.h>
1982 #else
1983 # include <assert.h>
1984 #endif
1986 #undef $2
1988 /* Override any GCC internal prototype to avoid an error.
1989 Use char because int might match the return type of a GCC
1990 builtin and then its argument prototype would still apply. */
1991 #ifdef __cplusplus
1992 extern "C"
1993 #endif
1994 char $2 ();
1995 /* The GNU C library defines this for functions which it implements
1996 to always fail with ENOSYS. Some functions are actually named
1997 something starting with __ and the normal name is an alias. */
1998 #if defined __stub_$2 || defined __stub___$2
1999 choke me
2000 #endif
2003 main ()
2005 return $2 ();
2007 return 0;
2009 _ACEOF
2010 if ac_fn_c_try_link "$LINENO"; then :
2011 eval "$3=yes"
2012 else
2013 eval "$3=no"
2015 rm -f core conftest.err conftest.$ac_objext \
2016 conftest$ac_exeext conftest.$ac_ext
2018 eval ac_res=\$$3
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2020 $as_echo "$ac_res" >&6; }
2021 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2023 } # ac_fn_c_check_func
2025 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2026 # ----------------------------------------------------
2027 # Tries to find if the field MEMBER exists in type AGGR, after including
2028 # INCLUDES, setting cache variable VAR accordingly.
2029 ac_fn_c_check_member ()
2031 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2033 $as_echo_n "checking for $2.$3... " >&6; }
2034 if eval \${$4+:} false; then :
2035 $as_echo_n "(cached) " >&6
2036 else
2037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2038 /* end confdefs.h. */
2041 main ()
2043 static $2 ac_aggr;
2044 if (ac_aggr.$3)
2045 return 0;
2047 return 0;
2049 _ACEOF
2050 if ac_fn_c_try_compile "$LINENO"; then :
2051 eval "$4=yes"
2052 else
2053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2054 /* end confdefs.h. */
2057 main ()
2059 static $2 ac_aggr;
2060 if (sizeof ac_aggr.$3)
2061 return 0;
2063 return 0;
2065 _ACEOF
2066 if ac_fn_c_try_compile "$LINENO"; then :
2067 eval "$4=yes"
2068 else
2069 eval "$4=no"
2071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2075 eval ac_res=\$$4
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2077 $as_echo "$ac_res" >&6; }
2078 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2080 } # ac_fn_c_check_member
2082 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2083 # -------------------------------------------
2084 # Tests whether TYPE exists after having included INCLUDES, setting cache
2085 # variable VAR accordingly.
2086 ac_fn_c_check_type ()
2088 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2090 $as_echo_n "checking for $2... " >&6; }
2091 if eval \${$3+:} false; then :
2092 $as_echo_n "(cached) " >&6
2093 else
2094 eval "$3=no"
2095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2096 /* end confdefs.h. */
2099 main ()
2101 if (sizeof ($2))
2102 return 0;
2104 return 0;
2106 _ACEOF
2107 if ac_fn_c_try_compile "$LINENO"; then :
2108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2109 /* end confdefs.h. */
2112 main ()
2114 if (sizeof (($2)))
2115 return 0;
2117 return 0;
2119 _ACEOF
2120 if ac_fn_c_try_compile "$LINENO"; then :
2122 else
2123 eval "$3=yes"
2125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2129 eval ac_res=\$$3
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2131 $as_echo "$ac_res" >&6; }
2132 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2134 } # ac_fn_c_check_type
2135 cat >config.log <<_ACEOF
2136 This file contains any messages produced by compilers while
2137 running configure, to aid debugging if configure makes a mistake.
2139 It was created by Wine $as_me 1.5.10, which was
2140 generated by GNU Autoconf 2.69. Invocation command line was
2142 $ $0 $@
2144 _ACEOF
2145 exec 5>>config.log
2147 cat <<_ASUNAME
2148 ## --------- ##
2149 ## Platform. ##
2150 ## --------- ##
2152 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2153 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2154 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2155 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2156 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2158 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2159 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2161 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2162 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2163 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2164 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2165 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2166 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2167 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2169 _ASUNAME
2171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2172 for as_dir in $PATH
2174 IFS=$as_save_IFS
2175 test -z "$as_dir" && as_dir=.
2176 $as_echo "PATH: $as_dir"
2177 done
2178 IFS=$as_save_IFS
2180 } >&5
2182 cat >&5 <<_ACEOF
2185 ## ----------- ##
2186 ## Core tests. ##
2187 ## ----------- ##
2189 _ACEOF
2192 # Keep a trace of the command line.
2193 # Strip out --no-create and --no-recursion so they do not pile up.
2194 # Strip out --silent because we don't want to record it for future runs.
2195 # Also quote any args containing shell meta-characters.
2196 # Make two passes to allow for proper duplicate-argument suppression.
2197 ac_configure_args=
2198 ac_configure_args0=
2199 ac_configure_args1=
2200 ac_must_keep_next=false
2201 for ac_pass in 1 2
2203 for ac_arg
2205 case $ac_arg in
2206 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2207 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2208 | -silent | --silent | --silen | --sile | --sil)
2209 continue ;;
2210 *\'*)
2211 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2212 esac
2213 case $ac_pass in
2214 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2216 as_fn_append ac_configure_args1 " '$ac_arg'"
2217 if test $ac_must_keep_next = true; then
2218 ac_must_keep_next=false # Got value, back to normal.
2219 else
2220 case $ac_arg in
2221 *=* | --config-cache | -C | -disable-* | --disable-* \
2222 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2223 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2224 | -with-* | --with-* | -without-* | --without-* | --x)
2225 case "$ac_configure_args0 " in
2226 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2227 esac
2229 -* ) ac_must_keep_next=true ;;
2230 esac
2232 as_fn_append ac_configure_args " '$ac_arg'"
2234 esac
2235 done
2236 done
2237 { ac_configure_args0=; unset ac_configure_args0;}
2238 { ac_configure_args1=; unset ac_configure_args1;}
2240 # When interrupted or exit'd, cleanup temporary files, and complete
2241 # config.log. We remove comments because anyway the quotes in there
2242 # would cause problems or look ugly.
2243 # WARNING: Use '\'' to represent an apostrophe within the trap.
2244 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2245 trap 'exit_status=$?
2246 # Save into config.log some information that might help in debugging.
2248 echo
2250 $as_echo "## ---------------- ##
2251 ## Cache variables. ##
2252 ## ---------------- ##"
2253 echo
2254 # The following way of writing the cache mishandles newlines in values,
2256 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2257 eval ac_val=\$$ac_var
2258 case $ac_val in #(
2259 *${as_nl}*)
2260 case $ac_var in #(
2261 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2262 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2263 esac
2264 case $ac_var in #(
2265 _ | IFS | as_nl) ;; #(
2266 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2267 *) { eval $ac_var=; unset $ac_var;} ;;
2268 esac ;;
2269 esac
2270 done
2271 (set) 2>&1 |
2272 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2273 *${as_nl}ac_space=\ *)
2274 sed -n \
2275 "s/'\''/'\''\\\\'\'''\''/g;
2276 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2277 ;; #(
2279 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2281 esac |
2282 sort
2284 echo
2286 $as_echo "## ----------------- ##
2287 ## Output variables. ##
2288 ## ----------------- ##"
2289 echo
2290 for ac_var in $ac_subst_vars
2292 eval ac_val=\$$ac_var
2293 case $ac_val in
2294 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2295 esac
2296 $as_echo "$ac_var='\''$ac_val'\''"
2297 done | sort
2298 echo
2300 if test -n "$ac_subst_files"; then
2301 $as_echo "## ------------------- ##
2302 ## File substitutions. ##
2303 ## ------------------- ##"
2304 echo
2305 for ac_var in $ac_subst_files
2307 eval ac_val=\$$ac_var
2308 case $ac_val in
2309 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2310 esac
2311 $as_echo "$ac_var='\''$ac_val'\''"
2312 done | sort
2313 echo
2316 if test -s confdefs.h; then
2317 $as_echo "## ----------- ##
2318 ## confdefs.h. ##
2319 ## ----------- ##"
2320 echo
2321 cat confdefs.h
2322 echo
2324 test "$ac_signal" != 0 &&
2325 $as_echo "$as_me: caught signal $ac_signal"
2326 $as_echo "$as_me: exit $exit_status"
2327 } >&5
2328 rm -f core *.core core.conftest.* &&
2329 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2330 exit $exit_status
2332 for ac_signal in 1 2 13 15; do
2333 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2334 done
2335 ac_signal=0
2337 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2338 rm -f -r conftest* confdefs.h
2340 $as_echo "/* confdefs.h */" > confdefs.h
2342 # Predefined preprocessor variables.
2344 cat >>confdefs.h <<_ACEOF
2345 #define PACKAGE_NAME "$PACKAGE_NAME"
2346 _ACEOF
2348 cat >>confdefs.h <<_ACEOF
2349 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2350 _ACEOF
2352 cat >>confdefs.h <<_ACEOF
2353 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2354 _ACEOF
2356 cat >>confdefs.h <<_ACEOF
2357 #define PACKAGE_STRING "$PACKAGE_STRING"
2358 _ACEOF
2360 cat >>confdefs.h <<_ACEOF
2361 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2362 _ACEOF
2364 cat >>confdefs.h <<_ACEOF
2365 #define PACKAGE_URL "$PACKAGE_URL"
2366 _ACEOF
2369 # Let the site file select an alternate cache file if it wants to.
2370 # Prefer an explicitly selected file to automatically selected ones.
2371 ac_site_file1=NONE
2372 ac_site_file2=NONE
2373 if test -n "$CONFIG_SITE"; then
2374 # We do not want a PATH search for config.site.
2375 case $CONFIG_SITE in #((
2376 -*) ac_site_file1=./$CONFIG_SITE;;
2377 */*) ac_site_file1=$CONFIG_SITE;;
2378 *) ac_site_file1=./$CONFIG_SITE;;
2379 esac
2380 elif test "x$prefix" != xNONE; then
2381 ac_site_file1=$prefix/share/config.site
2382 ac_site_file2=$prefix/etc/config.site
2383 else
2384 ac_site_file1=$ac_default_prefix/share/config.site
2385 ac_site_file2=$ac_default_prefix/etc/config.site
2387 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2389 test "x$ac_site_file" = xNONE && continue
2390 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2392 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2393 sed 's/^/| /' "$ac_site_file" >&5
2394 . "$ac_site_file" \
2395 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2396 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2397 as_fn_error $? "failed to load site script $ac_site_file
2398 See \`config.log' for more details" "$LINENO" 5; }
2400 done
2402 if test -r "$cache_file"; then
2403 # Some versions of bash will fail to source /dev/null (special files
2404 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2405 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2407 $as_echo "$as_me: loading cache $cache_file" >&6;}
2408 case $cache_file in
2409 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2410 *) . "./$cache_file";;
2411 esac
2413 else
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2415 $as_echo "$as_me: creating cache $cache_file" >&6;}
2416 >$cache_file
2419 # Check that the precious variables saved in the cache have kept the same
2420 # value.
2421 ac_cache_corrupted=false
2422 for ac_var in $ac_precious_vars; do
2423 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2424 eval ac_new_set=\$ac_env_${ac_var}_set
2425 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2426 eval ac_new_val=\$ac_env_${ac_var}_value
2427 case $ac_old_set,$ac_new_set in
2428 set,)
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2430 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2431 ac_cache_corrupted=: ;;
2432 ,set)
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2434 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2435 ac_cache_corrupted=: ;;
2436 ,);;
2438 if test "x$ac_old_val" != "x$ac_new_val"; then
2439 # differences in whitespace do not lead to failure.
2440 ac_old_val_w=`echo x $ac_old_val`
2441 ac_new_val_w=`echo x $ac_new_val`
2442 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2444 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2445 ac_cache_corrupted=:
2446 else
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2448 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2449 eval $ac_var=\$ac_old_val
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2452 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2454 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2455 fi;;
2456 esac
2457 # Pass precious variables to config.status.
2458 if test "$ac_new_set" = set; then
2459 case $ac_new_val in
2460 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2461 *) ac_arg=$ac_var=$ac_new_val ;;
2462 esac
2463 case " $ac_configure_args " in
2464 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2465 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2466 esac
2468 done
2469 if $ac_cache_corrupted; then
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2471 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2473 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2474 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2476 ## -------------------- ##
2477 ## Main body of script. ##
2478 ## -------------------- ##
2480 ac_ext=c
2481 ac_cpp='$CPP $CPPFLAGS'
2482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2488 ac_config_headers="$ac_config_headers include/config.h"
2490 ac_aux_dir=
2491 for ac_dir in tools "$srcdir"/tools; do
2492 if test -f "$ac_dir/install-sh"; then
2493 ac_aux_dir=$ac_dir
2494 ac_install_sh="$ac_aux_dir/install-sh -c"
2495 break
2496 elif test -f "$ac_dir/install.sh"; then
2497 ac_aux_dir=$ac_dir
2498 ac_install_sh="$ac_aux_dir/install.sh -c"
2499 break
2500 elif test -f "$ac_dir/shtool"; then
2501 ac_aux_dir=$ac_dir
2502 ac_install_sh="$ac_aux_dir/shtool install -c"
2503 break
2505 done
2506 if test -z "$ac_aux_dir"; then
2507 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
2510 # These three variables are undocumented and unsupported,
2511 # and are intended to be withdrawn in a future Autoconf release.
2512 # They can cause serious problems if a builder's source tree is in a directory
2513 # whose full name contains unusual characters.
2514 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2515 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2516 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2522 # Check whether --enable-win16 was given.
2523 if test "${enable_win16+set}" = set; then :
2524 enableval=$enable_win16;
2527 # Check whether --enable-win64 was given.
2528 if test "${enable_win64+set}" = set; then :
2529 enableval=$enable_win64;
2532 # Check whether --enable-tests was given.
2533 if test "${enable_tests+set}" = set; then :
2534 enableval=$enable_tests;
2537 # Check whether --enable-maintainer-mode was given.
2538 if test "${enable_maintainer_mode+set}" = set; then :
2539 enableval=$enable_maintainer_mode;
2544 # Check whether --with-alsa was given.
2545 if test "${with_alsa+set}" = set; then :
2546 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
2550 # Check whether --with-capi was given.
2551 if test "${with_capi+set}" = set; then :
2552 withval=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h=no; ac_cv_header_linux_capi_h=no; fi
2556 # Check whether --with-cms was given.
2557 if test "${with_cms+set}" = set; then :
2558 withval=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h=no; ac_cv_header_lcms_lcms_h=no; fi
2562 # Check whether --with-coreaudio was given.
2563 if test "${with_coreaudio+set}" = set; then :
2564 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
2568 # Check whether --with-cups was given.
2569 if test "${with_cups+set}" = set; then :
2570 withval=$with_cups;
2574 # Check whether --with-curses was given.
2575 if test "${with_curses+set}" = set; then :
2576 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
2580 # Check whether --with-dbus was given.
2581 if test "${with_dbus+set}" = set; then :
2582 withval=$with_dbus;
2586 # Check whether --with-fontconfig was given.
2587 if test "${with_fontconfig+set}" = set; then :
2588 withval=$with_fontconfig;
2592 # Check whether --with-freetype was given.
2593 if test "${with_freetype+set}" = set; then :
2594 withval=$with_freetype;
2598 # Check whether --with-gettext was given.
2599 if test "${with_gettext+set}" = set; then :
2600 withval=$with_gettext;
2604 # Check whether --with-gettextpo was given.
2605 if test "${with_gettextpo+set}" = set; then :
2606 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
2610 # Check whether --with-gphoto was given.
2611 if test "${with_gphoto+set}" = set; then :
2612 withval=$with_gphoto;
2616 # Check whether --with-glu was given.
2617 if test "${with_glu+set}" = set; then :
2618 withval=$with_glu; if test "x$withval" = "xno"; then ac_cv_header_GL_glu_h=no; fi
2622 # Check whether --with-gnutls was given.
2623 if test "${with_gnutls+set}" = set; then :
2624 withval=$with_gnutls;
2628 # Check whether --with-gsm was given.
2629 if test "${with_gsm+set}" = set; then :
2630 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
2634 # Check whether --with-gstreamer was given.
2635 if test "${with_gstreamer+set}" = set; then :
2636 withval=$with_gstreamer;
2640 # Check whether --with-hal was given.
2641 if test "${with_hal+set}" = set; then :
2642 withval=$with_hal;
2646 # Check whether --with-jpeg was given.
2647 if test "${with_jpeg+set}" = set; then :
2648 withval=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h=no; fi
2652 # Check whether --with-ldap was given.
2653 if test "${with_ldap+set}" = set; then :
2654 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
2658 # Check whether --with-mpg123 was given.
2659 if test "${with_mpg123+set}" = set; then :
2660 withval=$with_mpg123; if test "x$withval" = "xno"; then ac_cv_header_mpg123_h=no; fi
2664 # Check whether --with-openal was given.
2665 if test "${with_openal+set}" = set; then :
2666 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
2670 # Check whether --with-opencl was given.
2671 if test "${with_opencl+set}" = set; then :
2672 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
2676 # Check whether --with-opengl was given.
2677 if test "${with_opengl+set}" = set; then :
2678 withval=$with_opengl;
2682 # Check whether --with-openssl was given.
2683 if test "${with_openssl+set}" = set; then :
2684 withval=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h=no; ac_cv_header_openssl_ssl_h=no; fi
2688 # Check whether --with-osmesa was given.
2689 if test "${with_osmesa+set}" = set; then :
2690 withval=$with_osmesa; if test "x$withval" = "xno"; then ac_cv_header_GL_osmesa_h=no; fi
2694 # Check whether --with-oss was given.
2695 if test "${with_oss+set}" = set; then :
2696 withval=$with_oss;
2700 # Check whether --with-png was given.
2701 if test "${with_png+set}" = set; then :
2702 withval=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h=no; fi
2706 # Check whether --with-pthread was given.
2707 if test "${with_pthread+set}" = set; then :
2708 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
2712 # Check whether --with-pulse was given.
2713 if test "${with_pulse+set}" = set; then :
2714 withval=$with_pulse;
2718 # Check whether --with-sane was given.
2719 if test "${with_sane+set}" = set; then :
2720 withval=$with_sane;
2724 # Check whether --with-tiff was given.
2725 if test "${with_tiff+set}" = set; then :
2726 withval=$with_tiff; if test "x$withval" = "xno"; then ac_cv_header_tiffio_h=no; fi
2730 # Check whether --with-v4l was given.
2731 if test "${with_v4l+set}" = set; then :
2732 withval=$with_v4l;
2736 # Check whether --with-xcomposite was given.
2737 if test "${with_xcomposite+set}" = set; then :
2738 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2742 # Check whether --with-xcursor was given.
2743 if test "${with_xcursor+set}" = set; then :
2744 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2748 # Check whether --with-xinerama was given.
2749 if test "${with_xinerama+set}" = set; then :
2750 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2754 # Check whether --with-xinput was given.
2755 if test "${with_xinput+set}" = set; then :
2756 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2760 # Check whether --with-xinput2 was given.
2761 if test "${with_xinput2+set}" = set; then :
2762 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
2766 # Check whether --with-xml was given.
2767 if test "${with_xml+set}" = set; then :
2768 withval=$with_xml;
2772 # Check whether --with-xrandr was given.
2773 if test "${with_xrandr+set}" = set; then :
2774 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2778 # Check whether --with-xrender was given.
2779 if test "${with_xrender+set}" = set; then :
2780 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2784 # Check whether --with-xshape was given.
2785 if test "${with_xshape+set}" = set; then :
2786 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2790 # Check whether --with-xslt was given.
2791 if test "${with_xslt+set}" = set; then :
2792 withval=$with_xslt;
2796 # Check whether --with-xxf86vm was given.
2797 if test "${with_xxf86vm+set}" = set; then :
2798 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
2802 # Check whether --with-zlib was given.
2803 if test "${with_zlib+set}" = set; then :
2804 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
2809 # Check whether --with-wine-tools was given.
2810 if test "${with_wine_tools+set}" = set; then :
2811 withval=$with_wine_tools;
2815 # Check whether --with-wine64 was given.
2816 if test "${with_wine64+set}" = set; then :
2817 withval=$with_wine64;
2821 # Make sure we can run config.sub.
2822 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2823 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2826 $as_echo_n "checking build system type... " >&6; }
2827 if ${ac_cv_build+:} false; then :
2828 $as_echo_n "(cached) " >&6
2829 else
2830 ac_build_alias=$build_alias
2831 test "x$ac_build_alias" = x &&
2832 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2833 test "x$ac_build_alias" = x &&
2834 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2835 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2836 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2840 $as_echo "$ac_cv_build" >&6; }
2841 case $ac_cv_build in
2842 *-*-*) ;;
2843 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2844 esac
2845 build=$ac_cv_build
2846 ac_save_IFS=$IFS; IFS='-'
2847 set x $ac_cv_build
2848 shift
2849 build_cpu=$1
2850 build_vendor=$2
2851 shift; shift
2852 # Remember, the first character of IFS is used to create $*,
2853 # except with old shells:
2854 build_os=$*
2855 IFS=$ac_save_IFS
2856 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2860 $as_echo_n "checking host system type... " >&6; }
2861 if ${ac_cv_host+:} false; then :
2862 $as_echo_n "(cached) " >&6
2863 else
2864 if test "x$host_alias" = x; then
2865 ac_cv_host=$ac_cv_build
2866 else
2867 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2868 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2873 $as_echo "$ac_cv_host" >&6; }
2874 case $ac_cv_host in
2875 *-*-*) ;;
2876 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2877 esac
2878 host=$ac_cv_host
2879 ac_save_IFS=$IFS; IFS='-'
2880 set x $ac_cv_host
2881 shift
2882 host_cpu=$1
2883 host_vendor=$2
2884 shift; shift
2885 # Remember, the first character of IFS is used to create $*,
2886 # except with old shells:
2887 host_os=$*
2888 IFS=$ac_save_IFS
2889 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2893 case "$srcdir" in
2894 .) ;;
2895 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2896 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
2897 You need to run 'make distclean' in the source tree first." "$LINENO" 5
2898 fi ;;
2899 esac
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2903 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2904 set x ${MAKE-make}
2905 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2906 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2907 $as_echo_n "(cached) " >&6
2908 else
2909 cat >conftest.make <<\_ACEOF
2910 SHELL = /bin/sh
2911 all:
2912 @echo '@@@%%%=$(MAKE)=@@@%%%'
2913 _ACEOF
2914 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2915 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2916 *@@@%%%=?*=@@@%%%*)
2917 eval ac_cv_prog_make_${ac_make}_set=yes;;
2919 eval ac_cv_prog_make_${ac_make}_set=no;;
2920 esac
2921 rm -f conftest.make
2923 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2925 $as_echo "yes" >&6; }
2926 SET_MAKE=
2927 else
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2929 $as_echo "no" >&6; }
2930 SET_MAKE="MAKE=${MAKE-make}"
2933 ac_ext=c
2934 ac_cpp='$CPP $CPPFLAGS'
2935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2938 if test -n "$ac_tool_prefix"; then
2939 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2940 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2942 $as_echo_n "checking for $ac_word... " >&6; }
2943 if ${ac_cv_prog_CC+:} false; then :
2944 $as_echo_n "(cached) " >&6
2945 else
2946 if test -n "$CC"; then
2947 ac_cv_prog_CC="$CC" # Let the user override the test.
2948 else
2949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2950 for as_dir in $PATH
2952 IFS=$as_save_IFS
2953 test -z "$as_dir" && as_dir=.
2954 for ac_exec_ext in '' $ac_executable_extensions; do
2955 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2956 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2958 break 2
2960 done
2961 done
2962 IFS=$as_save_IFS
2966 CC=$ac_cv_prog_CC
2967 if test -n "$CC"; then
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2969 $as_echo "$CC" >&6; }
2970 else
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2972 $as_echo "no" >&6; }
2977 if test -z "$ac_cv_prog_CC"; then
2978 ac_ct_CC=$CC
2979 # Extract the first word of "gcc", so it can be a program name with args.
2980 set dummy gcc; ac_word=$2
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2982 $as_echo_n "checking for $ac_word... " >&6; }
2983 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2984 $as_echo_n "(cached) " >&6
2985 else
2986 if test -n "$ac_ct_CC"; then
2987 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2988 else
2989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2990 for as_dir in $PATH
2992 IFS=$as_save_IFS
2993 test -z "$as_dir" && as_dir=.
2994 for ac_exec_ext in '' $ac_executable_extensions; do
2995 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2996 ac_cv_prog_ac_ct_CC="gcc"
2997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2998 break 2
3000 done
3001 done
3002 IFS=$as_save_IFS
3006 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3007 if test -n "$ac_ct_CC"; then
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3009 $as_echo "$ac_ct_CC" >&6; }
3010 else
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3012 $as_echo "no" >&6; }
3015 if test "x$ac_ct_CC" = x; then
3016 CC=""
3017 else
3018 case $cross_compiling:$ac_tool_warned in
3019 yes:)
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3021 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3022 ac_tool_warned=yes ;;
3023 esac
3024 CC=$ac_ct_CC
3026 else
3027 CC="$ac_cv_prog_CC"
3030 if test -z "$CC"; then
3031 if test -n "$ac_tool_prefix"; then
3032 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3033 set dummy ${ac_tool_prefix}cc; ac_word=$2
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3035 $as_echo_n "checking for $ac_word... " >&6; }
3036 if ${ac_cv_prog_CC+:} false; then :
3037 $as_echo_n "(cached) " >&6
3038 else
3039 if test -n "$CC"; then
3040 ac_cv_prog_CC="$CC" # Let the user override the test.
3041 else
3042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3043 for as_dir in $PATH
3045 IFS=$as_save_IFS
3046 test -z "$as_dir" && as_dir=.
3047 for ac_exec_ext in '' $ac_executable_extensions; do
3048 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3049 ac_cv_prog_CC="${ac_tool_prefix}cc"
3050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3051 break 2
3053 done
3054 done
3055 IFS=$as_save_IFS
3059 CC=$ac_cv_prog_CC
3060 if test -n "$CC"; then
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3062 $as_echo "$CC" >&6; }
3063 else
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3065 $as_echo "no" >&6; }
3071 if test -z "$CC"; then
3072 # Extract the first word of "cc", so it can be a program name with args.
3073 set dummy cc; ac_word=$2
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3075 $as_echo_n "checking for $ac_word... " >&6; }
3076 if ${ac_cv_prog_CC+:} false; then :
3077 $as_echo_n "(cached) " >&6
3078 else
3079 if test -n "$CC"; then
3080 ac_cv_prog_CC="$CC" # Let the user override the test.
3081 else
3082 ac_prog_rejected=no
3083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3084 for as_dir in $PATH
3086 IFS=$as_save_IFS
3087 test -z "$as_dir" && as_dir=.
3088 for ac_exec_ext in '' $ac_executable_extensions; do
3089 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3090 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3091 ac_prog_rejected=yes
3092 continue
3094 ac_cv_prog_CC="cc"
3095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3096 break 2
3098 done
3099 done
3100 IFS=$as_save_IFS
3102 if test $ac_prog_rejected = yes; then
3103 # We found a bogon in the path, so make sure we never use it.
3104 set dummy $ac_cv_prog_CC
3105 shift
3106 if test $# != 0; then
3107 # We chose a different compiler from the bogus one.
3108 # However, it has the same basename, so the bogon will be chosen
3109 # first if we set CC to just the basename; use the full file name.
3110 shift
3111 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3116 CC=$ac_cv_prog_CC
3117 if test -n "$CC"; then
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3119 $as_echo "$CC" >&6; }
3120 else
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3122 $as_echo "no" >&6; }
3127 if test -z "$CC"; then
3128 if test -n "$ac_tool_prefix"; then
3129 for ac_prog in cl.exe
3131 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3132 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3134 $as_echo_n "checking for $ac_word... " >&6; }
3135 if ${ac_cv_prog_CC+:} false; then :
3136 $as_echo_n "(cached) " >&6
3137 else
3138 if test -n "$CC"; then
3139 ac_cv_prog_CC="$CC" # Let the user override the test.
3140 else
3141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3142 for as_dir in $PATH
3144 IFS=$as_save_IFS
3145 test -z "$as_dir" && as_dir=.
3146 for ac_exec_ext in '' $ac_executable_extensions; do
3147 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3148 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3150 break 2
3152 done
3153 done
3154 IFS=$as_save_IFS
3158 CC=$ac_cv_prog_CC
3159 if test -n "$CC"; then
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3161 $as_echo "$CC" >&6; }
3162 else
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3164 $as_echo "no" >&6; }
3168 test -n "$CC" && break
3169 done
3171 if test -z "$CC"; then
3172 ac_ct_CC=$CC
3173 for ac_prog in cl.exe
3175 # Extract the first word of "$ac_prog", so it can be a program name with args.
3176 set dummy $ac_prog; ac_word=$2
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3178 $as_echo_n "checking for $ac_word... " >&6; }
3179 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3180 $as_echo_n "(cached) " >&6
3181 else
3182 if test -n "$ac_ct_CC"; then
3183 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3184 else
3185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3186 for as_dir in $PATH
3188 IFS=$as_save_IFS
3189 test -z "$as_dir" && as_dir=.
3190 for ac_exec_ext in '' $ac_executable_extensions; do
3191 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3192 ac_cv_prog_ac_ct_CC="$ac_prog"
3193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3194 break 2
3196 done
3197 done
3198 IFS=$as_save_IFS
3202 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3203 if test -n "$ac_ct_CC"; then
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3205 $as_echo "$ac_ct_CC" >&6; }
3206 else
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3208 $as_echo "no" >&6; }
3212 test -n "$ac_ct_CC" && break
3213 done
3215 if test "x$ac_ct_CC" = x; then
3216 CC=""
3217 else
3218 case $cross_compiling:$ac_tool_warned in
3219 yes:)
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3221 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3222 ac_tool_warned=yes ;;
3223 esac
3224 CC=$ac_ct_CC
3231 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3232 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3233 as_fn_error $? "no acceptable C compiler found in \$PATH
3234 See \`config.log' for more details" "$LINENO" 5; }
3236 # Provide some information about the compiler.
3237 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3238 set X $ac_compile
3239 ac_compiler=$2
3240 for ac_option in --version -v -V -qversion; do
3241 { { ac_try="$ac_compiler $ac_option >&5"
3242 case "(($ac_try" in
3243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3244 *) ac_try_echo=$ac_try;;
3245 esac
3246 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3247 $as_echo "$ac_try_echo"; } >&5
3248 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3249 ac_status=$?
3250 if test -s conftest.err; then
3251 sed '10a\
3252 ... rest of stderr output deleted ...
3253 10q' conftest.err >conftest.er1
3254 cat conftest.er1 >&5
3256 rm -f conftest.er1 conftest.err
3257 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3258 test $ac_status = 0; }
3259 done
3261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3262 /* end confdefs.h. */
3265 main ()
3269 return 0;
3271 _ACEOF
3272 ac_clean_files_save=$ac_clean_files
3273 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3274 # Try to create an executable without -o first, disregard a.out.
3275 # It will help us diagnose broken compilers, and finding out an intuition
3276 # of exeext.
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3278 $as_echo_n "checking whether the C compiler works... " >&6; }
3279 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3281 # The possible output files:
3282 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3284 ac_rmfiles=
3285 for ac_file in $ac_files
3287 case $ac_file in
3288 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3289 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3290 esac
3291 done
3292 rm -f $ac_rmfiles
3294 if { { ac_try="$ac_link_default"
3295 case "(($ac_try" in
3296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3297 *) ac_try_echo=$ac_try;;
3298 esac
3299 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3300 $as_echo "$ac_try_echo"; } >&5
3301 (eval "$ac_link_default") 2>&5
3302 ac_status=$?
3303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3304 test $ac_status = 0; }; then :
3305 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3306 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3307 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3308 # so that the user can short-circuit this test for compilers unknown to
3309 # Autoconf.
3310 for ac_file in $ac_files ''
3312 test -f "$ac_file" || continue
3313 case $ac_file in
3314 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3316 [ab].out )
3317 # We found the default executable, but exeext='' is most
3318 # certainly right.
3319 break;;
3320 *.* )
3321 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3322 then :; else
3323 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3325 # We set ac_cv_exeext here because the later test for it is not
3326 # safe: cross compilers may not add the suffix if given an `-o'
3327 # argument, so we may need to know it at that point already.
3328 # Even if this section looks crufty: it has the advantage of
3329 # actually working.
3330 break;;
3332 break;;
3333 esac
3334 done
3335 test "$ac_cv_exeext" = no && ac_cv_exeext=
3337 else
3338 ac_file=''
3340 if test -z "$ac_file"; then :
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3342 $as_echo "no" >&6; }
3343 $as_echo "$as_me: failed program was:" >&5
3344 sed 's/^/| /' conftest.$ac_ext >&5
3346 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3347 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3348 as_fn_error 77 "C compiler cannot create executables
3349 See \`config.log' for more details" "$LINENO" 5; }
3350 else
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3352 $as_echo "yes" >&6; }
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3355 $as_echo_n "checking for C compiler default output file name... " >&6; }
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3357 $as_echo "$ac_file" >&6; }
3358 ac_exeext=$ac_cv_exeext
3360 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3361 ac_clean_files=$ac_clean_files_save
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3363 $as_echo_n "checking for suffix of executables... " >&6; }
3364 if { { ac_try="$ac_link"
3365 case "(($ac_try" in
3366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3367 *) ac_try_echo=$ac_try;;
3368 esac
3369 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3370 $as_echo "$ac_try_echo"; } >&5
3371 (eval "$ac_link") 2>&5
3372 ac_status=$?
3373 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3374 test $ac_status = 0; }; then :
3375 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3376 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3377 # work properly (i.e., refer to `conftest.exe'), while it won't with
3378 # `rm'.
3379 for ac_file in conftest.exe conftest conftest.*; do
3380 test -f "$ac_file" || continue
3381 case $ac_file in
3382 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3383 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3384 break;;
3385 * ) break;;
3386 esac
3387 done
3388 else
3389 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3390 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3391 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3392 See \`config.log' for more details" "$LINENO" 5; }
3394 rm -f conftest conftest$ac_cv_exeext
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3396 $as_echo "$ac_cv_exeext" >&6; }
3398 rm -f conftest.$ac_ext
3399 EXEEXT=$ac_cv_exeext
3400 ac_exeext=$EXEEXT
3401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3402 /* end confdefs.h. */
3403 #include <stdio.h>
3405 main ()
3407 FILE *f = fopen ("conftest.out", "w");
3408 return ferror (f) || fclose (f) != 0;
3411 return 0;
3413 _ACEOF
3414 ac_clean_files="$ac_clean_files conftest.out"
3415 # Check that the compiler produces executables we can run. If not, either
3416 # the compiler is broken, or we cross compile.
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3418 $as_echo_n "checking whether we are cross compiling... " >&6; }
3419 if test "$cross_compiling" != yes; then
3420 { { ac_try="$ac_link"
3421 case "(($ac_try" in
3422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3423 *) ac_try_echo=$ac_try;;
3424 esac
3425 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3426 $as_echo "$ac_try_echo"; } >&5
3427 (eval "$ac_link") 2>&5
3428 ac_status=$?
3429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3430 test $ac_status = 0; }
3431 if { ac_try='./conftest$ac_cv_exeext'
3432 { { case "(($ac_try" in
3433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3434 *) ac_try_echo=$ac_try;;
3435 esac
3436 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3437 $as_echo "$ac_try_echo"; } >&5
3438 (eval "$ac_try") 2>&5
3439 ac_status=$?
3440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3441 test $ac_status = 0; }; }; then
3442 cross_compiling=no
3443 else
3444 if test "$cross_compiling" = maybe; then
3445 cross_compiling=yes
3446 else
3447 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3448 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3449 as_fn_error $? "cannot run C compiled programs.
3450 If you meant to cross compile, use \`--host'.
3451 See \`config.log' for more details" "$LINENO" 5; }
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3456 $as_echo "$cross_compiling" >&6; }
3458 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3459 ac_clean_files=$ac_clean_files_save
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3461 $as_echo_n "checking for suffix of object files... " >&6; }
3462 if ${ac_cv_objext+:} false; then :
3463 $as_echo_n "(cached) " >&6
3464 else
3465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3466 /* end confdefs.h. */
3469 main ()
3473 return 0;
3475 _ACEOF
3476 rm -f conftest.o conftest.obj
3477 if { { ac_try="$ac_compile"
3478 case "(($ac_try" in
3479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3480 *) ac_try_echo=$ac_try;;
3481 esac
3482 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3483 $as_echo "$ac_try_echo"; } >&5
3484 (eval "$ac_compile") 2>&5
3485 ac_status=$?
3486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3487 test $ac_status = 0; }; then :
3488 for ac_file in conftest.o conftest.obj conftest.*; do
3489 test -f "$ac_file" || continue;
3490 case $ac_file in
3491 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3492 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3493 break;;
3494 esac
3495 done
3496 else
3497 $as_echo "$as_me: failed program was:" >&5
3498 sed 's/^/| /' conftest.$ac_ext >&5
3500 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3501 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3502 as_fn_error $? "cannot compute suffix of object files: cannot compile
3503 See \`config.log' for more details" "$LINENO" 5; }
3505 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3508 $as_echo "$ac_cv_objext" >&6; }
3509 OBJEXT=$ac_cv_objext
3510 ac_objext=$OBJEXT
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3512 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3513 if ${ac_cv_c_compiler_gnu+:} false; then :
3514 $as_echo_n "(cached) " >&6
3515 else
3516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3517 /* end confdefs.h. */
3520 main ()
3522 #ifndef __GNUC__
3523 choke me
3524 #endif
3527 return 0;
3529 _ACEOF
3530 if ac_fn_c_try_compile "$LINENO"; then :
3531 ac_compiler_gnu=yes
3532 else
3533 ac_compiler_gnu=no
3535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3536 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3540 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3541 if test $ac_compiler_gnu = yes; then
3542 GCC=yes
3543 else
3544 GCC=
3546 ac_test_CFLAGS=${CFLAGS+set}
3547 ac_save_CFLAGS=$CFLAGS
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3549 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3550 if ${ac_cv_prog_cc_g+:} false; then :
3551 $as_echo_n "(cached) " >&6
3552 else
3553 ac_save_c_werror_flag=$ac_c_werror_flag
3554 ac_c_werror_flag=yes
3555 ac_cv_prog_cc_g=no
3556 CFLAGS="-g"
3557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3558 /* end confdefs.h. */
3561 main ()
3565 return 0;
3567 _ACEOF
3568 if ac_fn_c_try_compile "$LINENO"; then :
3569 ac_cv_prog_cc_g=yes
3570 else
3571 CFLAGS=""
3572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3573 /* end confdefs.h. */
3576 main ()
3580 return 0;
3582 _ACEOF
3583 if ac_fn_c_try_compile "$LINENO"; then :
3585 else
3586 ac_c_werror_flag=$ac_save_c_werror_flag
3587 CFLAGS="-g"
3588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3589 /* end confdefs.h. */
3592 main ()
3596 return 0;
3598 _ACEOF
3599 if ac_fn_c_try_compile "$LINENO"; then :
3600 ac_cv_prog_cc_g=yes
3602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3607 ac_c_werror_flag=$ac_save_c_werror_flag
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3610 $as_echo "$ac_cv_prog_cc_g" >&6; }
3611 if test "$ac_test_CFLAGS" = set; then
3612 CFLAGS=$ac_save_CFLAGS
3613 elif test $ac_cv_prog_cc_g = yes; then
3614 if test "$GCC" = yes; then
3615 CFLAGS="-g -O2"
3616 else
3617 CFLAGS="-g"
3619 else
3620 if test "$GCC" = yes; then
3621 CFLAGS="-O2"
3622 else
3623 CFLAGS=
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3627 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3628 if ${ac_cv_prog_cc_c89+:} false; then :
3629 $as_echo_n "(cached) " >&6
3630 else
3631 ac_cv_prog_cc_c89=no
3632 ac_save_CC=$CC
3633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3634 /* end confdefs.h. */
3635 #include <stdarg.h>
3636 #include <stdio.h>
3637 struct stat;
3638 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3639 struct buf { int x; };
3640 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3641 static char *e (p, i)
3642 char **p;
3643 int i;
3645 return p[i];
3647 static char *f (char * (*g) (char **, int), char **p, ...)
3649 char *s;
3650 va_list v;
3651 va_start (v,p);
3652 s = g (p, va_arg (v,int));
3653 va_end (v);
3654 return s;
3657 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3658 function prototypes and stuff, but not '\xHH' hex character constants.
3659 These don't provoke an error unfortunately, instead are silently treated
3660 as 'x'. The following induces an error, until -std is added to get
3661 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3662 array size at least. It's necessary to write '\x00'==0 to get something
3663 that's true only with -std. */
3664 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3666 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3667 inside strings and character constants. */
3668 #define FOO(x) 'x'
3669 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3671 int test (int i, double x);
3672 struct s1 {int (*f) (int a);};
3673 struct s2 {int (*f) (double a);};
3674 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3675 int argc;
3676 char **argv;
3678 main ()
3680 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3682 return 0;
3684 _ACEOF
3685 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3686 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3688 CC="$ac_save_CC $ac_arg"
3689 if ac_fn_c_try_compile "$LINENO"; then :
3690 ac_cv_prog_cc_c89=$ac_arg
3692 rm -f core conftest.err conftest.$ac_objext
3693 test "x$ac_cv_prog_cc_c89" != "xno" && break
3694 done
3695 rm -f conftest.$ac_ext
3696 CC=$ac_save_CC
3699 # AC_CACHE_VAL
3700 case "x$ac_cv_prog_cc_c89" in
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3703 $as_echo "none needed" >&6; } ;;
3704 xno)
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3706 $as_echo "unsupported" >&6; } ;;
3708 CC="$CC $ac_cv_prog_cc_c89"
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3710 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3711 esac
3712 if test "x$ac_cv_prog_cc_c89" != xno; then :
3716 ac_ext=c
3717 ac_cpp='$CPP $CPPFLAGS'
3718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3722 ac_ext=cpp
3723 ac_cpp='$CXXCPP $CPPFLAGS'
3724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3727 if test -z "$CXX"; then
3728 if test -n "$CCC"; then
3729 CXX=$CCC
3730 else
3731 if test -n "$ac_tool_prefix"; then
3732 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3734 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3735 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3737 $as_echo_n "checking for $ac_word... " >&6; }
3738 if ${ac_cv_prog_CXX+:} false; then :
3739 $as_echo_n "(cached) " >&6
3740 else
3741 if test -n "$CXX"; then
3742 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3743 else
3744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3745 for as_dir in $PATH
3747 IFS=$as_save_IFS
3748 test -z "$as_dir" && as_dir=.
3749 for ac_exec_ext in '' $ac_executable_extensions; do
3750 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3751 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3753 break 2
3755 done
3756 done
3757 IFS=$as_save_IFS
3761 CXX=$ac_cv_prog_CXX
3762 if test -n "$CXX"; then
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3764 $as_echo "$CXX" >&6; }
3765 else
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3767 $as_echo "no" >&6; }
3771 test -n "$CXX" && break
3772 done
3774 if test -z "$CXX"; then
3775 ac_ct_CXX=$CXX
3776 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3778 # Extract the first word of "$ac_prog", so it can be a program name with args.
3779 set dummy $ac_prog; ac_word=$2
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3781 $as_echo_n "checking for $ac_word... " >&6; }
3782 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3783 $as_echo_n "(cached) " >&6
3784 else
3785 if test -n "$ac_ct_CXX"; then
3786 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3787 else
3788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3789 for as_dir in $PATH
3791 IFS=$as_save_IFS
3792 test -z "$as_dir" && as_dir=.
3793 for ac_exec_ext in '' $ac_executable_extensions; do
3794 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3795 ac_cv_prog_ac_ct_CXX="$ac_prog"
3796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3797 break 2
3799 done
3800 done
3801 IFS=$as_save_IFS
3805 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3806 if test -n "$ac_ct_CXX"; then
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3808 $as_echo "$ac_ct_CXX" >&6; }
3809 else
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3811 $as_echo "no" >&6; }
3815 test -n "$ac_ct_CXX" && break
3816 done
3818 if test "x$ac_ct_CXX" = x; then
3819 CXX="g++"
3820 else
3821 case $cross_compiling:$ac_tool_warned in
3822 yes:)
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3824 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3825 ac_tool_warned=yes ;;
3826 esac
3827 CXX=$ac_ct_CXX
3833 # Provide some information about the compiler.
3834 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3835 set X $ac_compile
3836 ac_compiler=$2
3837 for ac_option in --version -v -V -qversion; do
3838 { { ac_try="$ac_compiler $ac_option >&5"
3839 case "(($ac_try" in
3840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3841 *) ac_try_echo=$ac_try;;
3842 esac
3843 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3844 $as_echo "$ac_try_echo"; } >&5
3845 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3846 ac_status=$?
3847 if test -s conftest.err; then
3848 sed '10a\
3849 ... rest of stderr output deleted ...
3850 10q' conftest.err >conftest.er1
3851 cat conftest.er1 >&5
3853 rm -f conftest.er1 conftest.err
3854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3855 test $ac_status = 0; }
3856 done
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3859 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3860 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3861 $as_echo_n "(cached) " >&6
3862 else
3863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3864 /* end confdefs.h. */
3867 main ()
3869 #ifndef __GNUC__
3870 choke me
3871 #endif
3874 return 0;
3876 _ACEOF
3877 if ac_fn_cxx_try_compile "$LINENO"; then :
3878 ac_compiler_gnu=yes
3879 else
3880 ac_compiler_gnu=no
3882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3883 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3887 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3888 if test $ac_compiler_gnu = yes; then
3889 GXX=yes
3890 else
3891 GXX=
3893 ac_test_CXXFLAGS=${CXXFLAGS+set}
3894 ac_save_CXXFLAGS=$CXXFLAGS
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3896 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3897 if ${ac_cv_prog_cxx_g+:} false; then :
3898 $as_echo_n "(cached) " >&6
3899 else
3900 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3901 ac_cxx_werror_flag=yes
3902 ac_cv_prog_cxx_g=no
3903 CXXFLAGS="-g"
3904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3905 /* end confdefs.h. */
3908 main ()
3912 return 0;
3914 _ACEOF
3915 if ac_fn_cxx_try_compile "$LINENO"; then :
3916 ac_cv_prog_cxx_g=yes
3917 else
3918 CXXFLAGS=""
3919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3920 /* end confdefs.h. */
3923 main ()
3927 return 0;
3929 _ACEOF
3930 if ac_fn_cxx_try_compile "$LINENO"; then :
3932 else
3933 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3934 CXXFLAGS="-g"
3935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3936 /* end confdefs.h. */
3939 main ()
3943 return 0;
3945 _ACEOF
3946 if ac_fn_cxx_try_compile "$LINENO"; then :
3947 ac_cv_prog_cxx_g=yes
3949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3954 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3957 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3958 if test "$ac_test_CXXFLAGS" = set; then
3959 CXXFLAGS=$ac_save_CXXFLAGS
3960 elif test $ac_cv_prog_cxx_g = yes; then
3961 if test "$GXX" = yes; then
3962 CXXFLAGS="-g -O2"
3963 else
3964 CXXFLAGS="-g"
3966 else
3967 if test "$GXX" = yes; then
3968 CXXFLAGS="-O2"
3969 else
3970 CXXFLAGS=
3973 ac_ext=c
3974 ac_cpp='$CPP $CPPFLAGS'
3975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3979 if test -n "$ac_tool_prefix"; then
3980 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3981 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3983 $as_echo_n "checking for $ac_word... " >&6; }
3984 if ${ac_cv_prog_CPPBIN+:} false; then :
3985 $as_echo_n "(cached) " >&6
3986 else
3987 if test -n "$CPPBIN"; then
3988 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3989 else
3990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3991 for as_dir in $PATH
3993 IFS=$as_save_IFS
3994 test -z "$as_dir" && as_dir=.
3995 for ac_exec_ext in '' $ac_executable_extensions; do
3996 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3997 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3999 break 2
4001 done
4002 done
4003 IFS=$as_save_IFS
4007 CPPBIN=$ac_cv_prog_CPPBIN
4008 if test -n "$CPPBIN"; then
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4010 $as_echo "$CPPBIN" >&6; }
4011 else
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4013 $as_echo "no" >&6; }
4018 if test -z "$ac_cv_prog_CPPBIN"; then
4019 ac_ct_CPPBIN=$CPPBIN
4020 # Extract the first word of "cpp", so it can be a program name with args.
4021 set dummy cpp; ac_word=$2
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4023 $as_echo_n "checking for $ac_word... " >&6; }
4024 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4025 $as_echo_n "(cached) " >&6
4026 else
4027 if test -n "$ac_ct_CPPBIN"; then
4028 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4029 else
4030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4031 for as_dir in $PATH
4033 IFS=$as_save_IFS
4034 test -z "$as_dir" && as_dir=.
4035 for ac_exec_ext in '' $ac_executable_extensions; do
4036 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4037 ac_cv_prog_ac_ct_CPPBIN="cpp"
4038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4039 break 2
4041 done
4042 done
4043 IFS=$as_save_IFS
4047 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4048 if test -n "$ac_ct_CPPBIN"; then
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4050 $as_echo "$ac_ct_CPPBIN" >&6; }
4051 else
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4053 $as_echo "no" >&6; }
4056 if test "x$ac_ct_CPPBIN" = x; then
4057 CPPBIN="cpp"
4058 else
4059 case $cross_compiling:$ac_tool_warned in
4060 yes:)
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4062 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4063 ac_tool_warned=yes ;;
4064 esac
4065 CPPBIN=$ac_ct_CPPBIN
4067 else
4068 CPPBIN="$ac_cv_prog_CPPBIN"
4072 cat >>confdefs.h <<_ACEOF
4073 #define EXEEXT "$ac_exeext"
4074 _ACEOF
4077 case $host in
4078 *-darwin*)
4079 if test "x$enable_win64" = "xyes"
4080 then
4081 CC="$CC -m64"
4082 CXX="$CXX -m64"
4083 host_cpu="x86_64"
4084 notice_platform="64-bit "
4085 TARGETFLAGS="-m64"
4087 else
4088 CC="$CC -m32"
4089 CXX="$CXX -m32"
4090 host_cpu="i386"
4091 notice_platform="32-bit "
4092 TARGETFLAGS="-m32"
4094 enable_win16=${enable_win16:-yes}
4096 with_fontconfig=${with_fontconfig:-no}
4098 x86_64*)
4099 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4100 then
4101 CC="$CC -m32"
4102 CXX="$CXX -m32"
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4104 $as_echo_n "checking whether $CC works... " >&6; }
4106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4107 /* end confdefs.h. */
4110 main ()
4114 return 0;
4116 _ACEOF
4117 if ac_fn_c_try_link "$LINENO"; then :
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4119 $as_echo "yes" >&6; }
4120 else
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4122 $as_echo "no" >&6; }
4123 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4125 rm -f core conftest.err conftest.$ac_objext \
4126 conftest$ac_exeext conftest.$ac_ext
4127 host_cpu="i386"
4128 notice_platform="32-bit "
4129 TARGETFLAGS="-m32"
4131 enable_win16=${enable_win16:-yes}
4132 else
4133 if test "x${GCC}" = "xyes"
4134 then
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4136 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4138 /* end confdefs.h. */
4139 #include <stdarg.h>
4141 main ()
4143 void func(__builtin_ms_va_list *args);
4145 return 0;
4147 _ACEOF
4148 if ac_fn_c_try_compile "$LINENO"; then :
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4150 $as_echo "yes" >&6; }
4151 else
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4153 $as_echo "no" >&6; }
4154 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4158 TARGETFLAGS="-m64"
4162 arm*)
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4164 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4166 /* end confdefs.h. */
4167 int ac_test(int i) { return i; }
4169 main ()
4171 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4173 return 0;
4175 _ACEOF
4176 if ac_fn_c_try_link "$LINENO"; then :
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4178 $as_echo "yes" >&6; }
4179 else
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4181 $as_echo "no" >&6; }
4182 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4184 rm -f core conftest.err conftest.$ac_objext \
4185 conftest$ac_exeext conftest.$ac_ext
4186 CFLAGS="$CFLAGS -marm"
4188 *-mingw32*|*-cygwin*)
4189 enable_win16=${enable_win16:-no}
4190 CFLAGS="$CFLAGS -D_WIN32"
4192 i[3456789]86*)
4193 enable_win16=${enable_win16:-yes}
4195 esac
4197 enable_win16=${enable_win16:-no}
4198 enable_win64=${enable_win64:-no}
4200 enable_winetest=${enable_winetest:-$enable_tests}
4202 if test -n "$with_wine64"
4203 then
4204 if test "x$enable_win64" = "xyes"
4205 then
4206 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4207 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4209 WOW64_DISABLE=\#
4211 enable_fonts=${enable_fonts:-no}
4212 enable_server=${enable_server:-no}
4213 enable_tools=${enable_tools:-no}
4214 elif test "x$enable_win64" = "xyes"
4215 then
4216 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4220 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4221 if ${wine_cv_toolsdir+:} false; then :
4222 $as_echo_n "(cached) " >&6
4223 else
4224 wine_cv_toolsdir="$with_wine_tools"
4225 if test -z "$with_wine_tools"; then
4226 if test "$cross_compiling" = "yes"; then
4227 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4228 elif test -n "$with_wine64"; then
4229 wine_cv_toolsdir="$with_wine64"
4232 if test -z "$wine_cv_toolsdir"; then
4233 wine_cv_toolsdir="\$(top_builddir)"
4234 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4235 case "$wine_cv_toolsdir" in
4236 /*) ;;
4237 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4238 esac
4239 else
4240 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4244 $as_echo "$wine_cv_toolsdir" >&6; }
4245 TOOLSDIR=$wine_cv_toolsdir
4247 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4248 then
4249 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4253 for ac_prog in flex
4255 # Extract the first word of "$ac_prog", so it can be a program name with args.
4256 set dummy $ac_prog; ac_word=$2
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4258 $as_echo_n "checking for $ac_word... " >&6; }
4259 if ${ac_cv_prog_FLEX+:} false; then :
4260 $as_echo_n "(cached) " >&6
4261 else
4262 if test -n "$FLEX"; then
4263 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4264 else
4265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4266 for as_dir in $PATH
4268 IFS=$as_save_IFS
4269 test -z "$as_dir" && as_dir=.
4270 for ac_exec_ext in '' $ac_executable_extensions; do
4271 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4272 ac_cv_prog_FLEX="$ac_prog"
4273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4274 break 2
4276 done
4277 done
4278 IFS=$as_save_IFS
4282 FLEX=$ac_cv_prog_FLEX
4283 if test -n "$FLEX"; then
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4285 $as_echo "$FLEX" >&6; }
4286 else
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4288 $as_echo "no" >&6; }
4292 test -n "$FLEX" && break
4293 done
4294 test -n "$FLEX" || FLEX="none"
4296 if test "$FLEX" = "none"
4297 then
4298 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4301 $as_echo_n "checking whether flex is recent enough... " >&6; }
4302 cat >conftest.l <<EOF
4303 %top{
4304 #include "prediluvian.h"
4308 if $FLEX -t conftest.l >/dev/null 2>&5
4309 then
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4311 $as_echo "yes" >&6; }
4312 else
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4314 $as_echo "no" >&6; }
4315 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4318 for ac_prog in bison
4320 # Extract the first word of "$ac_prog", so it can be a program name with args.
4321 set dummy $ac_prog; ac_word=$2
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4323 $as_echo_n "checking for $ac_word... " >&6; }
4324 if ${ac_cv_prog_BISON+:} false; then :
4325 $as_echo_n "(cached) " >&6
4326 else
4327 if test -n "$BISON"; then
4328 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4329 else
4330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4331 for as_dir in $PATH
4333 IFS=$as_save_IFS
4334 test -z "$as_dir" && as_dir=.
4335 for ac_exec_ext in '' $ac_executable_extensions; do
4336 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4337 ac_cv_prog_BISON="$ac_prog"
4338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4339 break 2
4341 done
4342 done
4343 IFS=$as_save_IFS
4347 BISON=$ac_cv_prog_BISON
4348 if test -n "$BISON"; then
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4350 $as_echo "$BISON" >&6; }
4351 else
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4353 $as_echo "no" >&6; }
4357 test -n "$BISON" && break
4358 done
4359 test -n "$BISON" || BISON="none"
4361 if test "$BISON" = "none"
4362 then
4363 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4366 if test -n "$ac_tool_prefix"; then
4367 for ac_prog in ar gar
4369 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4370 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4372 $as_echo_n "checking for $ac_word... " >&6; }
4373 if ${ac_cv_prog_AR+:} false; then :
4374 $as_echo_n "(cached) " >&6
4375 else
4376 if test -n "$AR"; then
4377 ac_cv_prog_AR="$AR" # Let the user override the test.
4378 else
4379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4380 for as_dir in $PATH
4382 IFS=$as_save_IFS
4383 test -z "$as_dir" && as_dir=.
4384 for ac_exec_ext in '' $ac_executable_extensions; do
4385 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4386 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4388 break 2
4390 done
4391 done
4392 IFS=$as_save_IFS
4396 AR=$ac_cv_prog_AR
4397 if test -n "$AR"; then
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4399 $as_echo "$AR" >&6; }
4400 else
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4402 $as_echo "no" >&6; }
4406 test -n "$AR" && break
4407 done
4409 if test -z "$AR"; then
4410 ac_ct_AR=$AR
4411 for ac_prog in ar gar
4413 # Extract the first word of "$ac_prog", so it can be a program name with args.
4414 set dummy $ac_prog; ac_word=$2
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4416 $as_echo_n "checking for $ac_word... " >&6; }
4417 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4418 $as_echo_n "(cached) " >&6
4419 else
4420 if test -n "$ac_ct_AR"; then
4421 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4422 else
4423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4424 for as_dir in $PATH
4426 IFS=$as_save_IFS
4427 test -z "$as_dir" && as_dir=.
4428 for ac_exec_ext in '' $ac_executable_extensions; do
4429 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4430 ac_cv_prog_ac_ct_AR="$ac_prog"
4431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4432 break 2
4434 done
4435 done
4436 IFS=$as_save_IFS
4440 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4441 if test -n "$ac_ct_AR"; then
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4443 $as_echo "$ac_ct_AR" >&6; }
4444 else
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4446 $as_echo "no" >&6; }
4450 test -n "$ac_ct_AR" && break
4451 done
4453 if test "x$ac_ct_AR" = x; then
4454 AR="ar"
4455 else
4456 case $cross_compiling:$ac_tool_warned in
4457 yes:)
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4459 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4460 ac_tool_warned=yes ;;
4461 esac
4462 AR=$ac_ct_AR
4466 ARFLAGS=rc
4468 if test -n "$ac_tool_prefix"; then
4469 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4470 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4472 $as_echo_n "checking for $ac_word... " >&6; }
4473 if ${ac_cv_prog_RANLIB+:} false; then :
4474 $as_echo_n "(cached) " >&6
4475 else
4476 if test -n "$RANLIB"; then
4477 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4478 else
4479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4480 for as_dir in $PATH
4482 IFS=$as_save_IFS
4483 test -z "$as_dir" && as_dir=.
4484 for ac_exec_ext in '' $ac_executable_extensions; do
4485 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4486 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4488 break 2
4490 done
4491 done
4492 IFS=$as_save_IFS
4496 RANLIB=$ac_cv_prog_RANLIB
4497 if test -n "$RANLIB"; then
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4499 $as_echo "$RANLIB" >&6; }
4500 else
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4502 $as_echo "no" >&6; }
4507 if test -z "$ac_cv_prog_RANLIB"; then
4508 ac_ct_RANLIB=$RANLIB
4509 # Extract the first word of "ranlib", so it can be a program name with args.
4510 set dummy ranlib; ac_word=$2
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4512 $as_echo_n "checking for $ac_word... " >&6; }
4513 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4514 $as_echo_n "(cached) " >&6
4515 else
4516 if test -n "$ac_ct_RANLIB"; then
4517 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4518 else
4519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4520 for as_dir in $PATH
4522 IFS=$as_save_IFS
4523 test -z "$as_dir" && as_dir=.
4524 for ac_exec_ext in '' $ac_executable_extensions; do
4525 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4526 ac_cv_prog_ac_ct_RANLIB="ranlib"
4527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4528 break 2
4530 done
4531 done
4532 IFS=$as_save_IFS
4536 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4537 if test -n "$ac_ct_RANLIB"; then
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4539 $as_echo "$ac_ct_RANLIB" >&6; }
4540 else
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4542 $as_echo "no" >&6; }
4545 if test "x$ac_ct_RANLIB" = x; then
4546 RANLIB=":"
4547 else
4548 case $cross_compiling:$ac_tool_warned in
4549 yes:)
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4551 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4552 ac_tool_warned=yes ;;
4553 esac
4554 RANLIB=$ac_ct_RANLIB
4556 else
4557 RANLIB="$ac_cv_prog_RANLIB"
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4561 $as_echo_n "checking whether ln -s works... " >&6; }
4562 LN_S=$as_ln_s
4563 if test "$LN_S" = "ln -s"; then
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4565 $as_echo "yes" >&6; }
4566 else
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4568 $as_echo "no, using $LN_S" >&6; }
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4572 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4573 if ${ac_cv_path_GREP+:} false; then :
4574 $as_echo_n "(cached) " >&6
4575 else
4576 if test -z "$GREP"; then
4577 ac_path_GREP_found=false
4578 # Loop through the user's path and test for each of PROGNAME-LIST
4579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4580 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4582 IFS=$as_save_IFS
4583 test -z "$as_dir" && as_dir=.
4584 for ac_prog in grep ggrep; do
4585 for ac_exec_ext in '' $ac_executable_extensions; do
4586 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4587 as_fn_executable_p "$ac_path_GREP" || continue
4588 # Check for GNU ac_path_GREP and select it if it is found.
4589 # Check for GNU $ac_path_GREP
4590 case `"$ac_path_GREP" --version 2>&1` in
4591 *GNU*)
4592 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4594 ac_count=0
4595 $as_echo_n 0123456789 >"conftest.in"
4596 while :
4598 cat "conftest.in" "conftest.in" >"conftest.tmp"
4599 mv "conftest.tmp" "conftest.in"
4600 cp "conftest.in" "conftest.nl"
4601 $as_echo 'GREP' >> "conftest.nl"
4602 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4603 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4604 as_fn_arith $ac_count + 1 && ac_count=$as_val
4605 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4606 # Best one so far, save it but keep looking for a better one
4607 ac_cv_path_GREP="$ac_path_GREP"
4608 ac_path_GREP_max=$ac_count
4610 # 10*(2^10) chars as input seems more than enough
4611 test $ac_count -gt 10 && break
4612 done
4613 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4614 esac
4616 $ac_path_GREP_found && break 3
4617 done
4618 done
4619 done
4620 IFS=$as_save_IFS
4621 if test -z "$ac_cv_path_GREP"; then
4622 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4624 else
4625 ac_cv_path_GREP=$GREP
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4630 $as_echo "$ac_cv_path_GREP" >&6; }
4631 GREP="$ac_cv_path_GREP"
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4635 $as_echo_n "checking for egrep... " >&6; }
4636 if ${ac_cv_path_EGREP+:} false; then :
4637 $as_echo_n "(cached) " >&6
4638 else
4639 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4640 then ac_cv_path_EGREP="$GREP -E"
4641 else
4642 if test -z "$EGREP"; then
4643 ac_path_EGREP_found=false
4644 # Loop through the user's path and test for each of PROGNAME-LIST
4645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4646 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4648 IFS=$as_save_IFS
4649 test -z "$as_dir" && as_dir=.
4650 for ac_prog in egrep; do
4651 for ac_exec_ext in '' $ac_executable_extensions; do
4652 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4653 as_fn_executable_p "$ac_path_EGREP" || continue
4654 # Check for GNU ac_path_EGREP and select it if it is found.
4655 # Check for GNU $ac_path_EGREP
4656 case `"$ac_path_EGREP" --version 2>&1` in
4657 *GNU*)
4658 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4660 ac_count=0
4661 $as_echo_n 0123456789 >"conftest.in"
4662 while :
4664 cat "conftest.in" "conftest.in" >"conftest.tmp"
4665 mv "conftest.tmp" "conftest.in"
4666 cp "conftest.in" "conftest.nl"
4667 $as_echo 'EGREP' >> "conftest.nl"
4668 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4669 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4670 as_fn_arith $ac_count + 1 && ac_count=$as_val
4671 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4672 # Best one so far, save it but keep looking for a better one
4673 ac_cv_path_EGREP="$ac_path_EGREP"
4674 ac_path_EGREP_max=$ac_count
4676 # 10*(2^10) chars as input seems more than enough
4677 test $ac_count -gt 10 && break
4678 done
4679 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4680 esac
4682 $ac_path_EGREP_found && break 3
4683 done
4684 done
4685 done
4686 IFS=$as_save_IFS
4687 if test -z "$ac_cv_path_EGREP"; then
4688 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4690 else
4691 ac_cv_path_EGREP=$EGREP
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4697 $as_echo "$ac_cv_path_EGREP" >&6; }
4698 EGREP="$ac_cv_path_EGREP"
4701 # Extract the first word of "ldconfig", so it can be a program name with args.
4702 set dummy ldconfig; ac_word=$2
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4704 $as_echo_n "checking for $ac_word... " >&6; }
4705 if ${ac_cv_path_LDCONFIG+:} false; then :
4706 $as_echo_n "(cached) " >&6
4707 else
4708 case $LDCONFIG in
4709 [\\/]* | ?:[\\/]*)
4710 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
4713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4714 for as_dir in /sbin /usr/sbin $PATH
4716 IFS=$as_save_IFS
4717 test -z "$as_dir" && as_dir=.
4718 for ac_exec_ext in '' $ac_executable_extensions; do
4719 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4720 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
4721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4722 break 2
4724 done
4725 done
4726 IFS=$as_save_IFS
4728 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
4730 esac
4732 LDCONFIG=$ac_cv_path_LDCONFIG
4733 if test -n "$LDCONFIG"; then
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
4735 $as_echo "$LDCONFIG" >&6; }
4736 else
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4738 $as_echo "no" >&6; }
4742 # Find a good install program. We prefer a C program (faster),
4743 # so one script is as good as another. But avoid the broken or
4744 # incompatible versions:
4745 # SysV /etc/install, /usr/sbin/install
4746 # SunOS /usr/etc/install
4747 # IRIX /sbin/install
4748 # AIX /bin/install
4749 # AmigaOS /C/install, which installs bootblocks on floppy discs
4750 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4751 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4752 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4753 # OS/2's system install, which has a completely different semantic
4754 # ./install, which can be erroneously created by make from ./install.sh.
4755 # Reject install programs that cannot install multiple files.
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4757 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4758 if test -z "$INSTALL"; then
4759 if ${ac_cv_path_install+:} false; then :
4760 $as_echo_n "(cached) " >&6
4761 else
4762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4763 for as_dir in $PATH
4765 IFS=$as_save_IFS
4766 test -z "$as_dir" && as_dir=.
4767 # Account for people who put trailing slashes in PATH elements.
4768 case $as_dir/ in #((
4769 ./ | .// | /[cC]/* | \
4770 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4771 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4772 /usr/ucb/* ) ;;
4774 # OSF1 and SCO ODT 3.0 have their own names for install.
4775 # Don't use installbsd from OSF since it installs stuff as root
4776 # by default.
4777 for ac_prog in ginstall scoinst install; do
4778 for ac_exec_ext in '' $ac_executable_extensions; do
4779 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4780 if test $ac_prog = install &&
4781 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4782 # AIX install. It has an incompatible calling convention.
4784 elif test $ac_prog = install &&
4785 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4786 # program-specific install script used by HP pwplus--don't use.
4788 else
4789 rm -rf conftest.one conftest.two conftest.dir
4790 echo one > conftest.one
4791 echo two > conftest.two
4792 mkdir conftest.dir
4793 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4794 test -s conftest.one && test -s conftest.two &&
4795 test -s conftest.dir/conftest.one &&
4796 test -s conftest.dir/conftest.two
4797 then
4798 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4799 break 3
4803 done
4804 done
4806 esac
4808 done
4809 IFS=$as_save_IFS
4811 rm -rf conftest.one conftest.two conftest.dir
4814 if test "${ac_cv_path_install+set}" = set; then
4815 INSTALL=$ac_cv_path_install
4816 else
4817 # As a last resort, use the slow shell script. Don't cache a
4818 # value for INSTALL within a source directory, because that will
4819 # break other packages using the cache if that directory is
4820 # removed, or if the value is a relative name.
4821 INSTALL=$ac_install_sh
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4825 $as_echo "$INSTALL" >&6; }
4827 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4828 # It thinks the first close brace ends the variable substitution.
4829 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4831 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4833 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4835 case "$INSTALL" in
4836 [\\/$]* | ?:[\\/]* ) ;;
4837 *) INSTALL="\\\$(top_srcdir)/$INSTALL" ;;
4838 esac
4840 for ac_prog in lclint lint
4842 # Extract the first word of "$ac_prog", so it can be a program name with args.
4843 set dummy $ac_prog; ac_word=$2
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4845 $as_echo_n "checking for $ac_word... " >&6; }
4846 if ${ac_cv_prog_LINT+:} false; then :
4847 $as_echo_n "(cached) " >&6
4848 else
4849 if test -n "$LINT"; then
4850 ac_cv_prog_LINT="$LINT" # Let the user override the test.
4851 else
4852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4853 for as_dir in $PATH
4855 IFS=$as_save_IFS
4856 test -z "$as_dir" && as_dir=.
4857 for ac_exec_ext in '' $ac_executable_extensions; do
4858 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4859 ac_cv_prog_LINT="$ac_prog"
4860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4861 break 2
4863 done
4864 done
4865 IFS=$as_save_IFS
4869 LINT=$ac_cv_prog_LINT
4870 if test -n "$LINT"; then
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
4872 $as_echo "$LINT" >&6; }
4873 else
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4875 $as_echo "no" >&6; }
4879 test -n "$LINT" && break
4880 done
4882 if test "$LINT" = "lint"
4883 then
4884 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4888 for ac_prog in fontforge
4890 # Extract the first word of "$ac_prog", so it can be a program name with args.
4891 set dummy $ac_prog; ac_word=$2
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4893 $as_echo_n "checking for $ac_word... " >&6; }
4894 if ${ac_cv_prog_FONTFORGE+:} false; then :
4895 $as_echo_n "(cached) " >&6
4896 else
4897 if test -n "$FONTFORGE"; then
4898 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
4899 else
4900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4901 for as_dir in $PATH
4903 IFS=$as_save_IFS
4904 test -z "$as_dir" && as_dir=.
4905 for ac_exec_ext in '' $ac_executable_extensions; do
4906 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4907 ac_cv_prog_FONTFORGE="$ac_prog"
4908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4909 break 2
4911 done
4912 done
4913 IFS=$as_save_IFS
4917 FONTFORGE=$ac_cv_prog_FONTFORGE
4918 if test -n "$FONTFORGE"; then
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
4920 $as_echo "$FONTFORGE" >&6; }
4921 else
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4923 $as_echo "no" >&6; }
4927 test -n "$FONTFORGE" && break
4928 done
4929 test -n "$FONTFORGE" || FONTFORGE="false"
4931 for ac_prog in pkg-config
4933 # Extract the first word of "$ac_prog", so it can be a program name with args.
4934 set dummy $ac_prog; ac_word=$2
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4936 $as_echo_n "checking for $ac_word... " >&6; }
4937 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
4938 $as_echo_n "(cached) " >&6
4939 else
4940 if test -n "$PKG_CONFIG"; then
4941 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
4942 else
4943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4944 for as_dir in $PATH
4946 IFS=$as_save_IFS
4947 test -z "$as_dir" && as_dir=.
4948 for ac_exec_ext in '' $ac_executable_extensions; do
4949 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4950 ac_cv_prog_PKG_CONFIG="$ac_prog"
4951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4952 break 2
4954 done
4955 done
4956 IFS=$as_save_IFS
4960 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
4961 if test -n "$PKG_CONFIG"; then
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4963 $as_echo "$PKG_CONFIG" >&6; }
4964 else
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4966 $as_echo "no" >&6; }
4970 test -n "$PKG_CONFIG" && break
4971 done
4972 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
4974 for ac_prog in rsvg
4976 # Extract the first word of "$ac_prog", so it can be a program name with args.
4977 set dummy $ac_prog; ac_word=$2
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4979 $as_echo_n "checking for $ac_word... " >&6; }
4980 if ${ac_cv_prog_RSVG+:} false; then :
4981 $as_echo_n "(cached) " >&6
4982 else
4983 if test -n "$RSVG"; then
4984 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
4985 else
4986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4987 for as_dir in $PATH
4989 IFS=$as_save_IFS
4990 test -z "$as_dir" && as_dir=.
4991 for ac_exec_ext in '' $ac_executable_extensions; do
4992 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4993 ac_cv_prog_RSVG="$ac_prog"
4994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4995 break 2
4997 done
4998 done
4999 IFS=$as_save_IFS
5003 RSVG=$ac_cv_prog_RSVG
5004 if test -n "$RSVG"; then
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5006 $as_echo "$RSVG" >&6; }
5007 else
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5009 $as_echo "no" >&6; }
5013 test -n "$RSVG" && break
5014 done
5015 test -n "$RSVG" || RSVG="false"
5017 for ac_prog in convert
5019 # Extract the first word of "$ac_prog", so it can be a program name with args.
5020 set dummy $ac_prog; ac_word=$2
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5022 $as_echo_n "checking for $ac_word... " >&6; }
5023 if ${ac_cv_prog_CONVERT+:} false; then :
5024 $as_echo_n "(cached) " >&6
5025 else
5026 if test -n "$CONVERT"; then
5027 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5028 else
5029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5030 for as_dir in $PATH
5032 IFS=$as_save_IFS
5033 test -z "$as_dir" && as_dir=.
5034 for ac_exec_ext in '' $ac_executable_extensions; do
5035 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5036 ac_cv_prog_CONVERT="$ac_prog"
5037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5038 break 2
5040 done
5041 done
5042 IFS=$as_save_IFS
5046 CONVERT=$ac_cv_prog_CONVERT
5047 if test -n "$CONVERT"; then
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5049 $as_echo "$CONVERT" >&6; }
5050 else
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5052 $as_echo "no" >&6; }
5056 test -n "$CONVERT" && break
5057 done
5058 test -n "$CONVERT" || CONVERT="false"
5060 for ac_prog in icotool
5062 # Extract the first word of "$ac_prog", so it can be a program name with args.
5063 set dummy $ac_prog; ac_word=$2
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5065 $as_echo_n "checking for $ac_word... " >&6; }
5066 if ${ac_cv_prog_ICOTOOL+:} false; then :
5067 $as_echo_n "(cached) " >&6
5068 else
5069 if test -n "$ICOTOOL"; then
5070 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5071 else
5072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5073 for as_dir in $PATH
5075 IFS=$as_save_IFS
5076 test -z "$as_dir" && as_dir=.
5077 for ac_exec_ext in '' $ac_executable_extensions; do
5078 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5079 ac_cv_prog_ICOTOOL="$ac_prog"
5080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5081 break 2
5083 done
5084 done
5085 IFS=$as_save_IFS
5089 ICOTOOL=$ac_cv_prog_ICOTOOL
5090 if test -n "$ICOTOOL"; then
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5092 $as_echo "$ICOTOOL" >&6; }
5093 else
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5095 $as_echo "no" >&6; }
5099 test -n "$ICOTOOL" && break
5100 done
5101 test -n "$ICOTOOL" || ICOTOOL="false"
5103 for ac_prog in msgfmt
5105 # Extract the first word of "$ac_prog", so it can be a program name with args.
5106 set dummy $ac_prog; ac_word=$2
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5108 $as_echo_n "checking for $ac_word... " >&6; }
5109 if ${ac_cv_prog_MSGFMT+:} false; then :
5110 $as_echo_n "(cached) " >&6
5111 else
5112 if test -n "$MSGFMT"; then
5113 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5114 else
5115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5116 for as_dir in $PATH
5118 IFS=$as_save_IFS
5119 test -z "$as_dir" && as_dir=.
5120 for ac_exec_ext in '' $ac_executable_extensions; do
5121 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5122 ac_cv_prog_MSGFMT="$ac_prog"
5123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5124 break 2
5126 done
5127 done
5128 IFS=$as_save_IFS
5132 MSGFMT=$ac_cv_prog_MSGFMT
5133 if test -n "$MSGFMT"; then
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5135 $as_echo "$MSGFMT" >&6; }
5136 else
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5138 $as_echo "no" >&6; }
5142 test -n "$MSGFMT" && break
5143 done
5144 test -n "$MSGFMT" || MSGFMT="false"
5147 if test "x$enable_maintainer_mode" != "xyes"
5148 then
5149 MAINTAINER_MODE=\#
5151 else
5152 if test "$FONTFORGE" = "false"; then as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5153 if test "$RSVG" = "false"; then as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5155 if test "$CONVERT" = false
5156 then
5157 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5158 else
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5160 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5161 convert_version=`convert --version | head -n1`
5162 if test "x$convert_version" != "x"
5163 then
5164 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5165 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5166 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5167 then
5168 CONVERT=false
5171 if test "$CONVERT" = false
5172 then
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5174 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5175 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5176 else
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5178 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5182 if test "$ICOTOOL" = false
5183 then
5184 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5185 else
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5187 $as_echo_n "checking for recent enough icotool... " >&6; }
5188 icotool_version=`icotool --version | head -n1`
5189 if test "x$icotool_version" != "x"
5190 then
5191 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5192 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5193 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5194 then
5195 ICOTOOL=false
5196 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5199 if test "$ICOTOOL" = false
5200 then
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5202 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5203 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5204 else
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5206 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5210 with_gettext=yes
5211 with_gettextpo=yes
5212 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5215 test "x$with_gettext" != xno || MSGFMT=false
5216 if test "$MSGFMT" != "false"
5217 then
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5219 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5220 cat >conftest.po <<EOF
5221 # comment
5222 msgctxt "ctxt"
5223 msgid "id"
5224 msgstr "str"
5226 if $MSGFMT -o /dev/null conftest.po 2>&5
5227 then
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5229 $as_echo "yes" >&6; }
5230 else
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5232 $as_echo "no" >&6; }
5233 MSGFMT=false
5236 if test "$MSGFMT" = false; then :
5237 case "x$with_gettext" in
5238 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5239 xno) ;;
5240 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5241 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5242 esac
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5247 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5248 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5249 $as_echo_n "(cached) " >&6
5250 else
5251 ac_check_lib_save_LIBS=$LIBS
5252 LIBS="-li386 $LIBS"
5253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5254 /* end confdefs.h. */
5256 /* Override any GCC internal prototype to avoid an error.
5257 Use char because int might match the return type of a GCC
5258 builtin and then its argument prototype would still apply. */
5259 #ifdef __cplusplus
5260 extern "C"
5261 #endif
5262 char i386_set_ldt ();
5264 main ()
5266 return i386_set_ldt ();
5268 return 0;
5270 _ACEOF
5271 if ac_fn_c_try_link "$LINENO"; then :
5272 ac_cv_lib_i386_i386_set_ldt=yes
5273 else
5274 ac_cv_lib_i386_i386_set_ldt=no
5276 rm -f core conftest.err conftest.$ac_objext \
5277 conftest$ac_exeext conftest.$ac_ext
5278 LIBS=$ac_check_lib_save_LIBS
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5281 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5282 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5283 cat >>confdefs.h <<_ACEOF
5284 #define HAVE_LIBI386 1
5285 _ACEOF
5287 LIBS="-li386 $LIBS"
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5292 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5293 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5294 $as_echo_n "(cached) " >&6
5295 else
5296 ac_check_lib_save_LIBS=$LIBS
5297 LIBS="-lossaudio $LIBS"
5298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5299 /* end confdefs.h. */
5301 /* Override any GCC internal prototype to avoid an error.
5302 Use char because int might match the return type of a GCC
5303 builtin and then its argument prototype would still apply. */
5304 #ifdef __cplusplus
5305 extern "C"
5306 #endif
5307 char _oss_ioctl ();
5309 main ()
5311 return _oss_ioctl ();
5313 return 0;
5315 _ACEOF
5316 if ac_fn_c_try_link "$LINENO"; then :
5317 ac_cv_lib_ossaudio__oss_ioctl=yes
5318 else
5319 ac_cv_lib_ossaudio__oss_ioctl=no
5321 rm -f core conftest.err conftest.$ac_objext \
5322 conftest$ac_exeext conftest.$ac_ext
5323 LIBS=$ac_check_lib_save_LIBS
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5326 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5327 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5328 cat >>confdefs.h <<_ACEOF
5329 #define HAVE_LIBOSSAUDIO 1
5330 _ACEOF
5332 LIBS="-lossaudio $LIBS"
5337 XLIB=""
5339 OPENGL_LIBS=""
5343 test "x$with_fontconfig" != "xno" || ac_cv_header_fontconfig_fontconfig_h=no
5345 # Check whether --enable-largefile was given.
5346 if test "${enable_largefile+set}" = set; then :
5347 enableval=$enable_largefile;
5350 if test "$enable_largefile" != no; then
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5353 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5354 if ${ac_cv_sys_largefile_CC+:} false; then :
5355 $as_echo_n "(cached) " >&6
5356 else
5357 ac_cv_sys_largefile_CC=no
5358 if test "$GCC" != yes; then
5359 ac_save_CC=$CC
5360 while :; do
5361 # IRIX 6.2 and later do not support large files by default,
5362 # so use the C compiler's -n32 option if that helps.
5363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5364 /* end confdefs.h. */
5365 #include <sys/types.h>
5366 /* Check that off_t can represent 2**63 - 1 correctly.
5367 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5368 since some C++ compilers masquerading as C compilers
5369 incorrectly reject 9223372036854775807. */
5370 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5371 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5372 && LARGE_OFF_T % 2147483647 == 1)
5373 ? 1 : -1];
5375 main ()
5379 return 0;
5381 _ACEOF
5382 if ac_fn_c_try_compile "$LINENO"; then :
5383 break
5385 rm -f core conftest.err conftest.$ac_objext
5386 CC="$CC -n32"
5387 if ac_fn_c_try_compile "$LINENO"; then :
5388 ac_cv_sys_largefile_CC=' -n32'; break
5390 rm -f core conftest.err conftest.$ac_objext
5391 break
5392 done
5393 CC=$ac_save_CC
5394 rm -f conftest.$ac_ext
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5398 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5399 if test "$ac_cv_sys_largefile_CC" != no; then
5400 CC=$CC$ac_cv_sys_largefile_CC
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5404 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5405 if ${ac_cv_sys_file_offset_bits+:} false; then :
5406 $as_echo_n "(cached) " >&6
5407 else
5408 while :; do
5409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5410 /* end confdefs.h. */
5411 #include <sys/types.h>
5412 /* Check that off_t can represent 2**63 - 1 correctly.
5413 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5414 since some C++ compilers masquerading as C compilers
5415 incorrectly reject 9223372036854775807. */
5416 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5417 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5418 && LARGE_OFF_T % 2147483647 == 1)
5419 ? 1 : -1];
5421 main ()
5425 return 0;
5427 _ACEOF
5428 if ac_fn_c_try_compile "$LINENO"; then :
5429 ac_cv_sys_file_offset_bits=no; break
5431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5433 /* end confdefs.h. */
5434 #define _FILE_OFFSET_BITS 64
5435 #include <sys/types.h>
5436 /* Check that off_t can represent 2**63 - 1 correctly.
5437 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5438 since some C++ compilers masquerading as C compilers
5439 incorrectly reject 9223372036854775807. */
5440 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5441 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5442 && LARGE_OFF_T % 2147483647 == 1)
5443 ? 1 : -1];
5445 main ()
5449 return 0;
5451 _ACEOF
5452 if ac_fn_c_try_compile "$LINENO"; then :
5453 ac_cv_sys_file_offset_bits=64; break
5455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5456 ac_cv_sys_file_offset_bits=unknown
5457 break
5458 done
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5461 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5462 case $ac_cv_sys_file_offset_bits in #(
5463 no | unknown) ;;
5465 cat >>confdefs.h <<_ACEOF
5466 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5467 _ACEOF
5469 esac
5470 rm -rf conftest*
5471 if test $ac_cv_sys_file_offset_bits = unknown; then
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5473 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5474 if ${ac_cv_sys_large_files+:} false; then :
5475 $as_echo_n "(cached) " >&6
5476 else
5477 while :; do
5478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5479 /* end confdefs.h. */
5480 #include <sys/types.h>
5481 /* Check that off_t can represent 2**63 - 1 correctly.
5482 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5483 since some C++ compilers masquerading as C compilers
5484 incorrectly reject 9223372036854775807. */
5485 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5486 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5487 && LARGE_OFF_T % 2147483647 == 1)
5488 ? 1 : -1];
5490 main ()
5494 return 0;
5496 _ACEOF
5497 if ac_fn_c_try_compile "$LINENO"; then :
5498 ac_cv_sys_large_files=no; break
5500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5502 /* end confdefs.h. */
5503 #define _LARGE_FILES 1
5504 #include <sys/types.h>
5505 /* Check that off_t can represent 2**63 - 1 correctly.
5506 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5507 since some C++ compilers masquerading as C compilers
5508 incorrectly reject 9223372036854775807. */
5509 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5510 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5511 && LARGE_OFF_T % 2147483647 == 1)
5512 ? 1 : -1];
5514 main ()
5518 return 0;
5520 _ACEOF
5521 if ac_fn_c_try_compile "$LINENO"; then :
5522 ac_cv_sys_large_files=1; break
5524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5525 ac_cv_sys_large_files=unknown
5526 break
5527 done
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5530 $as_echo "$ac_cv_sys_large_files" >&6; }
5531 case $ac_cv_sys_large_files in #(
5532 no | unknown) ;;
5534 cat >>confdefs.h <<_ACEOF
5535 #define _LARGE_FILES $ac_cv_sys_large_files
5536 _ACEOF
5538 esac
5539 rm -rf conftest*
5546 ac_ext=c
5547 ac_cpp='$CPP $CPPFLAGS'
5548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5552 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5553 # On Suns, sometimes $CPP names a directory.
5554 if test -n "$CPP" && test -d "$CPP"; then
5555 CPP=
5557 if test -z "$CPP"; then
5558 if ${ac_cv_prog_CPP+:} false; then :
5559 $as_echo_n "(cached) " >&6
5560 else
5561 # Double quotes because CPP needs to be expanded
5562 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5564 ac_preproc_ok=false
5565 for ac_c_preproc_warn_flag in '' yes
5567 # Use a header file that comes with gcc, so configuring glibc
5568 # with a fresh cross-compiler works.
5569 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5570 # <limits.h> exists even on freestanding compilers.
5571 # On the NeXT, cc -E runs the code through the compiler's parser,
5572 # not just through cpp. "Syntax error" is here to catch this case.
5573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5574 /* end confdefs.h. */
5575 #ifdef __STDC__
5576 # include <limits.h>
5577 #else
5578 # include <assert.h>
5579 #endif
5580 Syntax error
5581 _ACEOF
5582 if ac_fn_c_try_cpp "$LINENO"; then :
5584 else
5585 # Broken: fails on valid input.
5586 continue
5588 rm -f conftest.err conftest.i conftest.$ac_ext
5590 # OK, works on sane cases. Now check whether nonexistent headers
5591 # can be detected and how.
5592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5593 /* end confdefs.h. */
5594 #include <ac_nonexistent.h>
5595 _ACEOF
5596 if ac_fn_c_try_cpp "$LINENO"; then :
5597 # Broken: success on invalid input.
5598 continue
5599 else
5600 # Passes both tests.
5601 ac_preproc_ok=:
5602 break
5604 rm -f conftest.err conftest.i conftest.$ac_ext
5606 done
5607 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5608 rm -f conftest.i conftest.err conftest.$ac_ext
5609 if $ac_preproc_ok; then :
5610 break
5613 done
5614 ac_cv_prog_CPP=$CPP
5617 CPP=$ac_cv_prog_CPP
5618 else
5619 ac_cv_prog_CPP=$CPP
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5622 $as_echo "$CPP" >&6; }
5623 ac_preproc_ok=false
5624 for ac_c_preproc_warn_flag in '' yes
5626 # Use a header file that comes with gcc, so configuring glibc
5627 # with a fresh cross-compiler works.
5628 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5629 # <limits.h> exists even on freestanding compilers.
5630 # On the NeXT, cc -E runs the code through the compiler's parser,
5631 # not just through cpp. "Syntax error" is here to catch this case.
5632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5633 /* end confdefs.h. */
5634 #ifdef __STDC__
5635 # include <limits.h>
5636 #else
5637 # include <assert.h>
5638 #endif
5639 Syntax error
5640 _ACEOF
5641 if ac_fn_c_try_cpp "$LINENO"; then :
5643 else
5644 # Broken: fails on valid input.
5645 continue
5647 rm -f conftest.err conftest.i conftest.$ac_ext
5649 # OK, works on sane cases. Now check whether nonexistent headers
5650 # can be detected and how.
5651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5652 /* end confdefs.h. */
5653 #include <ac_nonexistent.h>
5654 _ACEOF
5655 if ac_fn_c_try_cpp "$LINENO"; then :
5656 # Broken: success on invalid input.
5657 continue
5658 else
5659 # Passes both tests.
5660 ac_preproc_ok=:
5661 break
5663 rm -f conftest.err conftest.i conftest.$ac_ext
5665 done
5666 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5667 rm -f conftest.i conftest.err conftest.$ac_ext
5668 if $ac_preproc_ok; then :
5670 else
5671 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5672 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5673 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5674 See \`config.log' for more details" "$LINENO" 5; }
5677 ac_ext=c
5678 ac_cpp='$CPP $CPPFLAGS'
5679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5685 $as_echo_n "checking for ANSI C header files... " >&6; }
5686 if ${ac_cv_header_stdc+:} false; then :
5687 $as_echo_n "(cached) " >&6
5688 else
5689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5690 /* end confdefs.h. */
5691 #include <stdlib.h>
5692 #include <stdarg.h>
5693 #include <string.h>
5694 #include <float.h>
5697 main ()
5701 return 0;
5703 _ACEOF
5704 if ac_fn_c_try_compile "$LINENO"; then :
5705 ac_cv_header_stdc=yes
5706 else
5707 ac_cv_header_stdc=no
5709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5711 if test $ac_cv_header_stdc = yes; then
5712 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5714 /* end confdefs.h. */
5715 #include <string.h>
5717 _ACEOF
5718 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5719 $EGREP "memchr" >/dev/null 2>&1; then :
5721 else
5722 ac_cv_header_stdc=no
5724 rm -f conftest*
5728 if test $ac_cv_header_stdc = yes; then
5729 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5731 /* end confdefs.h. */
5732 #include <stdlib.h>
5734 _ACEOF
5735 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5736 $EGREP "free" >/dev/null 2>&1; then :
5738 else
5739 ac_cv_header_stdc=no
5741 rm -f conftest*
5745 if test $ac_cv_header_stdc = yes; then
5746 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5747 if test "$cross_compiling" = yes; then :
5749 else
5750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5751 /* end confdefs.h. */
5752 #include <ctype.h>
5753 #include <stdlib.h>
5754 #if ((' ' & 0x0FF) == 0x020)
5755 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5756 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5757 #else
5758 # define ISLOWER(c) \
5759 (('a' <= (c) && (c) <= 'i') \
5760 || ('j' <= (c) && (c) <= 'r') \
5761 || ('s' <= (c) && (c) <= 'z'))
5762 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5763 #endif
5765 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5767 main ()
5769 int i;
5770 for (i = 0; i < 256; i++)
5771 if (XOR (islower (i), ISLOWER (i))
5772 || toupper (i) != TOUPPER (i))
5773 return 2;
5774 return 0;
5776 _ACEOF
5777 if ac_fn_c_try_run "$LINENO"; then :
5779 else
5780 ac_cv_header_stdc=no
5782 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5783 conftest.$ac_objext conftest.beam conftest.$ac_ext
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5789 $as_echo "$ac_cv_header_stdc" >&6; }
5790 if test $ac_cv_header_stdc = yes; then
5792 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5796 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5797 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5798 inttypes.h stdint.h unistd.h
5799 do :
5800 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5801 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5803 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5804 cat >>confdefs.h <<_ACEOF
5805 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5806 _ACEOF
5810 done
5813 for ac_header in \
5814 AL/al.h \
5815 ApplicationServices/ApplicationServices.h \
5816 AudioToolbox/AudioConverter.h \
5817 AudioUnit/AudioUnit.h \
5818 AudioUnit/AudioComponent.h \
5819 CL/cl.h \
5820 Carbon/Carbon.h \
5821 CoreAudio/CoreAudio.h \
5822 CoreServices/CoreServices.h \
5823 DiskArbitration/DiskArbitration.h \
5824 IOKit/IOKitLib.h \
5825 IOKit/hid/IOHIDLib.h \
5826 OpenAL/al.h \
5827 OpenCL/opencl.h \
5828 QuickTime/ImageCompression.h \
5829 Security/Security.h \
5830 alias.h \
5831 alsa/asoundlib.h \
5832 arpa/inet.h \
5833 arpa/nameser.h \
5834 asm/types.h \
5835 capi20.h \
5836 curses.h \
5837 direct.h \
5838 dirent.h \
5839 dlfcn.h \
5840 elf.h \
5841 float.h \
5842 fnmatch.h \
5843 fontconfig/fontconfig.h \
5844 getopt.h \
5845 gettext-po.h \
5846 grp.h \
5847 gsm.h \
5848 gsm/gsm.h \
5849 ieeefp.h \
5850 inet/mib2.h \
5851 io.h \
5852 jpeglib.h \
5853 kstat.h \
5854 lber.h \
5855 lcms.h \
5856 lcms/lcms.h \
5857 ldap.h \
5858 link.h \
5859 linux/cdrom.h \
5860 linux/compiler.h \
5861 linux/hdreg.h \
5862 linux/input.h \
5863 linux/ioctl.h \
5864 linux/joystick.h \
5865 linux/major.h \
5866 linux/param.h \
5867 linux/serial.h \
5868 linux/types.h \
5869 linux/ucdrom.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/un.h \
5939 sys/utsname.h \
5940 sys/vm86.h \
5941 sys/wait.h \
5942 syscall.h \
5943 termios.h \
5944 tiffio.h \
5945 unistd.h \
5946 utime.h \
5947 valgrind/memcheck.h \
5948 valgrind/valgrind.h \
5949 zlib.h
5951 do :
5952 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5953 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5954 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5955 cat >>confdefs.h <<_ACEOF
5956 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5957 _ACEOF
5961 done
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5964 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5965 if ${ac_cv_header_stat_broken+:} false; then :
5966 $as_echo_n "(cached) " >&6
5967 else
5968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5969 /* end confdefs.h. */
5970 #include <sys/types.h>
5971 #include <sys/stat.h>
5973 #if defined S_ISBLK && defined S_IFDIR
5974 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5975 #endif
5977 #if defined S_ISBLK && defined S_IFCHR
5978 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5979 #endif
5981 #if defined S_ISLNK && defined S_IFREG
5982 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5983 #endif
5985 #if defined S_ISSOCK && defined S_IFREG
5986 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5987 #endif
5989 _ACEOF
5990 if ac_fn_c_try_compile "$LINENO"; then :
5991 ac_cv_header_stat_broken=no
5992 else
5993 ac_cv_header_stat_broken=yes
5995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
5998 $as_echo "$ac_cv_header_stat_broken" >&6; }
5999 if test $ac_cv_header_stat_broken = yes; then
6001 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6007 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6008 do :
6009 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6010 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6011 #ifdef HAVE_SYS_PARAM_H
6012 # include <sys/param.h>
6013 #endif
6015 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6016 cat >>confdefs.h <<_ACEOF
6017 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6018 _ACEOF
6022 done
6025 for ac_header in \
6026 netinet/ip.h \
6027 net/if.h \
6028 net/if_arp.h \
6029 net/if_dl.h \
6030 net/if_types.h \
6031 net/route.h \
6032 netinet/if_ether.h \
6033 netinet/if_inarp.h \
6034 netinet/in_pcb.h \
6035 netinet/ip_icmp.h \
6036 netinet/ip_var.h \
6037 netinet/udp.h \
6038 netipx/ipx.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"
6573 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000"
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"
6676 enable_winequartz_drv=${enable_winequartz_drv:-yes}
6678 if test "x$enable_win16" = "xyes"
6679 then
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
6681 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
6682 if test "$cross_compiling" = yes; then :
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
6684 $as_echo "cross-compiling, assuming yes" >&6; }
6685 else
6686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6687 /* end confdefs.h. */
6688 asm(".text\n"
6689 "bad:\tnop;nop\n"
6690 "good:\tnop;nop\n\t"
6691 ".globl _testfunc\n"
6692 "_testfunc:\tcallw good");
6693 extern void testfunc();
6695 main ()
6697 unsigned short *p = (unsigned short *)testfunc;
6698 return p[0] != 0xe866 || p[1] != 0xfffa
6700 return 0;
6702 _ACEOF
6703 if ac_fn_c_try_run "$LINENO"; then :
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6705 $as_echo "yes" >&6; }
6706 else
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6708 $as_echo "no" >&6; }
6709 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
6711 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6712 conftest.$ac_objext conftest.beam conftest.$ac_ext
6718 DLLFLAGS="$DLLFLAGS -fPIC"
6719 DLLEXT=".so"
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
6721 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
6722 if ${ac_cv_c_dll_gnuelf+:} false; then :
6723 $as_echo_n "(cached) " >&6
6724 else
6725 ac_wine_try_cflags_saved=$CFLAGS
6726 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
6727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6728 /* end confdefs.h. */
6729 void myfunc() {}
6730 _ACEOF
6731 if ac_fn_c_try_link "$LINENO"; then :
6732 ac_cv_c_dll_gnuelf="yes"
6733 else
6734 ac_cv_c_dll_gnuelf="no"
6736 rm -f core conftest.err conftest.$ac_objext \
6737 conftest$ac_exeext conftest.$ac_ext
6738 CFLAGS=$ac_wine_try_cflags_saved
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
6741 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
6742 if test "$ac_cv_c_dll_gnuelf" = "yes"
6743 then
6744 LDSHARED="\$(CC) -shared"
6745 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
6747 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
6748 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
6749 $as_echo_n "(cached) " >&6
6750 else
6751 ac_wine_try_cflags_saved=$CFLAGS
6752 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
6753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6754 /* end confdefs.h. */
6755 int main(int argc, char **argv) { return 0; }
6756 _ACEOF
6757 if ac_fn_c_try_link "$LINENO"; then :
6758 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
6759 else
6760 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
6762 rm -f core conftest.err conftest.$ac_objext \
6763 conftest$ac_exeext conftest.$ac_ext
6764 CFLAGS=$ac_wine_try_cflags_saved
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
6767 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
6768 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
6769 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
6770 else
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
6772 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
6773 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
6774 $as_echo_n "(cached) " >&6
6775 else
6776 ac_wine_try_cflags_saved=$CFLAGS
6777 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
6778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6779 /* end confdefs.h. */
6780 int main(int argc, char **argv) { return 0; }
6781 _ACEOF
6782 if ac_fn_c_try_link "$LINENO"; then :
6783 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
6784 else
6785 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
6787 rm -f core conftest.err conftest.$ac_objext \
6788 conftest$ac_exeext conftest.$ac_ext
6789 CFLAGS=$ac_wine_try_cflags_saved
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
6792 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
6793 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
6794 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
6799 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
6800 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+:} false; then :
6801 $as_echo_n "(cached) " >&6
6802 else
6803 ac_wine_try_cflags_saved=$CFLAGS
6804 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
6805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6806 /* end confdefs.h. */
6807 int main(int argc, char **argv) { return 0; }
6808 _ACEOF
6809 if ac_fn_c_try_link "$LINENO"; then :
6810 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
6811 else
6812 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
6814 rm -f core conftest.err conftest.$ac_objext \
6815 conftest$ac_exeext conftest.$ac_ext
6816 CFLAGS=$ac_wine_try_cflags_saved
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
6819 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
6820 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
6821 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
6824 { $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
6825 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
6826 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+:} false; then :
6827 $as_echo_n "(cached) " >&6
6828 else
6829 ac_wine_try_cflags_saved=$CFLAGS
6830 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
6831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6832 /* end confdefs.h. */
6833 int main(int argc, char **argv) { return 0; }
6834 _ACEOF
6835 if ac_fn_c_try_link "$LINENO"; then :
6836 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
6837 else
6838 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
6840 rm -f core conftest.err conftest.$ac_objext \
6841 conftest$ac_exeext conftest.$ac_ext
6842 CFLAGS=$ac_wine_try_cflags_saved
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
6845 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
6846 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
6847 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
6850 echo '{ global: *; };' >conftest.map
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
6852 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
6853 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
6854 $as_echo_n "(cached) " >&6
6855 else
6856 ac_wine_try_cflags_saved=$CFLAGS
6857 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
6858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6859 /* end confdefs.h. */
6860 int main(int argc, char **argv) { return 0; }
6861 _ACEOF
6862 if ac_fn_c_try_link "$LINENO"; then :
6863 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
6864 else
6865 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
6867 rm -f core conftest.err conftest.$ac_objext \
6868 conftest$ac_exeext conftest.$ac_ext
6869 CFLAGS=$ac_wine_try_cflags_saved
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
6872 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
6873 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
6874 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
6876 rm -f conftest.map
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
6879 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
6880 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
6881 $as_echo_n "(cached) " >&6
6882 else
6883 ac_wine_try_cflags_saved=$CFLAGS
6884 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
6885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6886 /* end confdefs.h. */
6887 int main(int argc, char **argv) { return 0; }
6888 _ACEOF
6889 if ac_fn_c_try_link "$LINENO"; then :
6890 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
6891 else
6892 ac_cv_cflags__fPIC__Wl___export_dynamic=no
6894 rm -f core conftest.err conftest.$ac_objext \
6895 conftest$ac_exeext conftest.$ac_ext
6896 CFLAGS=$ac_wine_try_cflags_saved
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
6899 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
6900 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
6901 LDEXECFLAGS="-Wl,--export-dynamic"
6905 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
6906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
6907 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
6908 if eval \${$as_ac_var+:} false; then :
6909 $as_echo_n "(cached) " >&6
6910 else
6911 ac_wine_try_cflags_saved=$CFLAGS
6912 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
6913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6914 /* end confdefs.h. */
6915 int main(int argc, char **argv) { return 0; }
6916 _ACEOF
6917 if ac_fn_c_try_link "$LINENO"; then :
6918 eval "$as_ac_var=yes"
6919 else
6920 eval "$as_ac_var=no"
6922 rm -f core conftest.err conftest.$ac_objext \
6923 conftest$ac_exeext conftest.$ac_ext
6924 CFLAGS=$ac_wine_try_cflags_saved
6926 eval ac_res=\$$as_ac_var
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6928 $as_echo "$ac_res" >&6; }
6929 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6930 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6931 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6932 else
6933 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
6935 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
6936 if eval \${$as_ac_var+:} false; then :
6937 $as_echo_n "(cached) " >&6
6938 else
6939 ac_wine_try_cflags_saved=$CFLAGS
6940 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
6941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6942 /* end confdefs.h. */
6943 int main(int argc, char **argv) { return 0; }
6944 _ACEOF
6945 if ac_fn_c_try_link "$LINENO"; then :
6946 eval "$as_ac_var=yes"
6947 else
6948 eval "$as_ac_var=no"
6950 rm -f core conftest.err conftest.$ac_objext \
6951 conftest$ac_exeext conftest.$ac_ext
6952 CFLAGS=$ac_wine_try_cflags_saved
6954 eval ac_res=\$$as_ac_var
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6956 $as_echo "$ac_res" >&6; }
6957 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6958 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6959 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
6964 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
6965 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
6966 $as_echo_n "(cached) " >&6
6967 else
6968 ac_wine_try_cflags_saved=$CFLAGS
6969 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
6970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6971 /* end confdefs.h. */
6972 int main(int argc, char **argv) { return 0; }
6973 _ACEOF
6974 if ac_fn_c_try_link "$LINENO"; then :
6975 ac_cv_cflags__Wl___enable_new_dtags=yes
6976 else
6977 ac_cv_cflags__Wl___enable_new_dtags=no
6979 rm -f core conftest.err conftest.$ac_objext \
6980 conftest$ac_exeext conftest.$ac_ext
6981 CFLAGS=$ac_wine_try_cflags_saved
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
6984 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
6985 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
6986 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
6989 case $host_cpu in
6990 *i[3456789]86* | x86_64)
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
6992 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
6993 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
6994 $as_echo_n "(cached) " >&6
6995 else
6996 ac_wine_try_cflags_saved=$CFLAGS
6997 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
6998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6999 /* end confdefs.h. */
7000 int main(int argc, char **argv) { return 0; }
7001 _ACEOF
7002 if ac_fn_c_try_link "$LINENO"; then :
7003 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
7004 else
7005 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
7007 rm -f core conftest.err conftest.$ac_objext \
7008 conftest$ac_exeext conftest.$ac_ext
7009 CFLAGS=$ac_wine_try_cflags_saved
7011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7012 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7013 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7014 case $host_os in
7015 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
7016 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
7017 esac
7020 # Extract the first word of "prelink", so it can be a program name with args.
7021 set dummy prelink; ac_word=$2
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7023 $as_echo_n "checking for $ac_word... " >&6; }
7024 if ${ac_cv_path_PRELINK+:} false; then :
7025 $as_echo_n "(cached) " >&6
7026 else
7027 case $PRELINK in
7028 [\\/]* | ?:[\\/]*)
7029 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
7032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7033 for as_dir in /sbin /usr/sbin $PATH
7035 IFS=$as_save_IFS
7036 test -z "$as_dir" && as_dir=.
7037 for ac_exec_ext in '' $ac_executable_extensions; do
7038 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7039 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
7040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7041 break 2
7043 done
7044 done
7045 IFS=$as_save_IFS
7047 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
7049 esac
7051 PRELINK=$ac_cv_path_PRELINK
7052 if test -n "$PRELINK"; then
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
7054 $as_echo "$PRELINK" >&6; }
7055 else
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7057 $as_echo "no" >&6; }
7061 if test "x$PRELINK" = xfalse
7062 then
7063 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
7066 esac
7068 else
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
7070 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
7071 if ${ac_cv_c_dll_unixware+:} false; then :
7072 $as_echo_n "(cached) " >&6
7073 else
7074 ac_wine_try_cflags_saved=$CFLAGS
7075 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
7076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7077 /* end confdefs.h. */
7078 void myfunc() {}
7079 _ACEOF
7080 if ac_fn_c_try_link "$LINENO"; then :
7081 ac_cv_c_dll_unixware="yes"
7082 else
7083 ac_cv_c_dll_unixware="no"
7085 rm -f core conftest.err conftest.$ac_objext \
7086 conftest$ac_exeext conftest.$ac_ext
7087 CFLAGS=$ac_wine_try_cflags_saved
7089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
7090 $as_echo "$ac_cv_c_dll_unixware" >&6; }
7091 if test "$ac_cv_c_dll_unixware" = "yes"
7092 then
7093 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
7094 LDDLLFLAGS="-Wl,-G,-B,symbolic"
7096 else
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build an HP-UX dll" >&5
7098 $as_echo_n "checking whether we can build an HP-UX dll... " >&6; }
7099 if ${ac_cv_c_dll_hpux+:} false; then :
7100 $as_echo_n "(cached) " >&6
7101 else
7102 ac_wine_try_cflags_saved=$CFLAGS
7103 CFLAGS="$CFLAGS -shared"
7104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7105 /* end confdefs.h. */
7106 void myfunc() {}
7107 _ACEOF
7108 if ac_fn_c_try_link "$LINENO"; then :
7109 ac_cv_c_dll_hpux="yes"
7110 else
7111 ac_cv_c_dll_hpux="no"
7113 rm -f core conftest.err conftest.$ac_objext \
7114 conftest$ac_exeext conftest.$ac_ext
7115 CFLAGS=$ac_wine_try_cflags_saved
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_hpux" >&5
7118 $as_echo "$ac_cv_c_dll_hpux" >&6; }
7119 if test "$ac_cv_c_dll_hpux" = "yes"
7120 then
7121 LIBEXT="sl"
7122 DLLEXT=".sl"
7123 LDDLLFLAGS="-shared -fPIC"
7124 LDSHARED="\$(CC) -shared"
7129 esac
7131 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
7132 enable_winequartz_drv=${enable_winequartz_drv:-no}
7134 if test "$LIBEXT" = "a"; then
7135 as_fn_error $? "could not find a way to build shared libraries.
7136 It is currently not possible to build Wine without shared library
7137 (.so) support to allow transparent switch between .so and .dll files.
7138 If you are using Linux, you will need a newer binutils.
7139 " "$LINENO" 5
7142 CROSSTEST_DISABLE=\#
7144 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
7145 then
7146 case "$host_cpu" in
7147 i[3456789]86*)
7148 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
7149 mingw32-gcc" ;;
7150 x86_64)
7151 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 " ;;
7153 ac_prefix_list="" ;;
7154 esac
7155 for ac_prog in $ac_prefix_list
7157 # Extract the first word of "$ac_prog", so it can be a program name with args.
7158 set dummy $ac_prog; ac_word=$2
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7160 $as_echo_n "checking for $ac_word... " >&6; }
7161 if ${ac_cv_prog_CROSSCC+:} false; then :
7162 $as_echo_n "(cached) " >&6
7163 else
7164 if test -n "$CROSSCC"; then
7165 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
7166 else
7167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7168 for as_dir in $PATH
7170 IFS=$as_save_IFS
7171 test -z "$as_dir" && as_dir=.
7172 for ac_exec_ext in '' $ac_executable_extensions; do
7173 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7174 ac_cv_prog_CROSSCC="$ac_prog"
7175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7176 break 2
7178 done
7179 done
7180 IFS=$as_save_IFS
7184 CROSSCC=$ac_cv_prog_CROSSCC
7185 if test -n "$CROSSCC"; then
7186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
7187 $as_echo "$CROSSCC" >&6; }
7188 else
7189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7190 $as_echo "no" >&6; }
7194 test -n "$CROSSCC" && break
7195 done
7196 test -n "$CROSSCC" || CROSSCC="false"
7198 if test "$CROSSCC" != "false"
7199 then
7200 ac_save_CC="$CC"
7201 CC="$CROSSCC"
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
7203 $as_echo_n "checking whether $CROSSCC works... " >&6; }
7204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7205 /* end confdefs.h. */
7208 main ()
7212 return 0;
7214 _ACEOF
7215 if ac_fn_c_try_compile "$LINENO"; then :
7216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7217 $as_echo "yes" >&6; }
7218 set x $CROSSCC
7219 shift
7220 target=""
7221 while test $# -ge 1
7223 case "$1" in
7224 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
7225 esac
7226 shift
7227 done
7228 if test -n "$target"
7229 then
7230 CROSSTEST_DISABLE=""
7231 CROSSTARGET="$target"
7234 else
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7236 $as_echo "no" >&6; }
7238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7239 CC="$ac_save_CC"
7244 if test "$ac_cv_header_pthread_h" = "yes"
7245 then
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7247 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7248 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
7249 $as_echo_n "(cached) " >&6
7250 else
7251 ac_check_lib_save_LIBS=$LIBS
7252 LIBS="-lpthread $LIBS"
7253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7254 /* end confdefs.h. */
7256 /* Override any GCC internal prototype to avoid an error.
7257 Use char because int might match the return type of a GCC
7258 builtin and then its argument prototype would still apply. */
7259 #ifdef __cplusplus
7260 extern "C"
7261 #endif
7262 char pthread_create ();
7264 main ()
7266 return pthread_create ();
7268 return 0;
7270 _ACEOF
7271 if ac_fn_c_try_link "$LINENO"; then :
7272 ac_cv_lib_pthread_pthread_create=yes
7273 else
7274 ac_cv_lib_pthread_pthread_create=no
7276 rm -f core conftest.err conftest.$ac_objext \
7277 conftest$ac_exeext conftest.$ac_ext
7278 LIBS=$ac_check_lib_save_LIBS
7280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7281 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7282 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
7283 LIBPTHREAD="-lpthread"
7288 if test "x$LIBPTHREAD" = "x"; then :
7289 case "x$with_pthread" in
7290 xno) ;;
7291 *) as_fn_error $? "pthread ${notice_platform}development files not found.
7292 Wine cannot support threads without libpthread.
7293 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
7294 esac
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
7299 $as_echo_n "checking for X... " >&6; }
7302 # Check whether --with-x was given.
7303 if test "${with_x+set}" = set; then :
7304 withval=$with_x;
7307 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7308 if test "x$with_x" = xno; then
7309 # The user explicitly disabled X.
7310 have_x=disabled
7311 else
7312 case $x_includes,$x_libraries in #(
7313 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
7314 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
7315 $as_echo_n "(cached) " >&6
7316 else
7317 # One or both of the vars are not set, and there is no cached value.
7318 ac_x_includes=no ac_x_libraries=no
7319 rm -f -r conftest.dir
7320 if mkdir conftest.dir; then
7321 cd conftest.dir
7322 cat >Imakefile <<'_ACEOF'
7323 incroot:
7324 @echo incroot='${INCROOT}'
7325 usrlibdir:
7326 @echo usrlibdir='${USRLIBDIR}'
7327 libdir:
7328 @echo libdir='${LIBDIR}'
7329 _ACEOF
7330 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
7331 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7332 for ac_var in incroot usrlibdir libdir; do
7333 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7334 done
7335 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7336 for ac_extension in a so sl dylib la dll; do
7337 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7338 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7339 ac_im_usrlibdir=$ac_im_libdir; break
7341 done
7342 # Screen out bogus values from the imake configuration. They are
7343 # bogus both because they are the default anyway, and because
7344 # using them would break gcc on systems where it needs fixed includes.
7345 case $ac_im_incroot in
7346 /usr/include) ac_x_includes= ;;
7347 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
7348 esac
7349 case $ac_im_usrlibdir in
7350 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
7351 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
7352 esac
7354 cd ..
7355 rm -f -r conftest.dir
7358 # Standard set of common directories for X headers.
7359 # Check X11 before X11Rn because it is often a symlink to the current release.
7360 ac_x_header_dirs='
7361 /usr/X11/include
7362 /usr/X11R7/include
7363 /usr/X11R6/include
7364 /usr/X11R5/include
7365 /usr/X11R4/include
7367 /usr/include/X11
7368 /usr/include/X11R7
7369 /usr/include/X11R6
7370 /usr/include/X11R5
7371 /usr/include/X11R4
7373 /usr/local/X11/include
7374 /usr/local/X11R7/include
7375 /usr/local/X11R6/include
7376 /usr/local/X11R5/include
7377 /usr/local/X11R4/include
7379 /usr/local/include/X11
7380 /usr/local/include/X11R7
7381 /usr/local/include/X11R6
7382 /usr/local/include/X11R5
7383 /usr/local/include/X11R4
7385 /usr/X386/include
7386 /usr/x386/include
7387 /usr/XFree86/include/X11
7389 /usr/include
7390 /usr/local/include
7391 /usr/unsupported/include
7392 /usr/athena/include
7393 /usr/local/x11r5/include
7394 /usr/lpp/Xamples/include
7396 /usr/openwin/include
7397 /usr/openwin/share/include'
7399 if test "$ac_x_includes" = no; then
7400 # Guess where to find include files, by looking for Xlib.h.
7401 # First, try using that file with no special directory specified.
7402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7403 /* end confdefs.h. */
7404 #include <X11/Xlib.h>
7405 _ACEOF
7406 if ac_fn_c_try_cpp "$LINENO"; then :
7407 # We can compile using X headers with no special include directory.
7408 ac_x_includes=
7409 else
7410 for ac_dir in $ac_x_header_dirs; do
7411 if test -r "$ac_dir/X11/Xlib.h"; then
7412 ac_x_includes=$ac_dir
7413 break
7415 done
7417 rm -f conftest.err conftest.i conftest.$ac_ext
7418 fi # $ac_x_includes = no
7420 if test "$ac_x_libraries" = no; then
7421 # Check for the libraries.
7422 # See if we find them without any special options.
7423 # Don't add to $LIBS permanently.
7424 ac_save_LIBS=$LIBS
7425 LIBS="-lX11 $LIBS"
7426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7427 /* end confdefs.h. */
7428 #include <X11/Xlib.h>
7430 main ()
7432 XrmInitialize ()
7434 return 0;
7436 _ACEOF
7437 if ac_fn_c_try_link "$LINENO"; then :
7438 LIBS=$ac_save_LIBS
7439 # We can link X programs with no special library path.
7440 ac_x_libraries=
7441 else
7442 LIBS=$ac_save_LIBS
7443 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7445 # Don't even attempt the hair of trying to link an X program!
7446 for ac_extension in a so sl dylib la dll; do
7447 if test -r "$ac_dir/libX11.$ac_extension"; then
7448 ac_x_libraries=$ac_dir
7449 break 2
7451 done
7452 done
7454 rm -f core conftest.err conftest.$ac_objext \
7455 conftest$ac_exeext conftest.$ac_ext
7456 fi # $ac_x_libraries = no
7458 case $ac_x_includes,$ac_x_libraries in #(
7459 no,* | *,no | *\'*)
7460 # Didn't find X, or a directory has "'" in its name.
7461 ac_cv_have_x="have_x=no";; #(
7463 # Record where we found X for the cache.
7464 ac_cv_have_x="have_x=yes\
7465 ac_x_includes='$ac_x_includes'\
7466 ac_x_libraries='$ac_x_libraries'"
7467 esac
7469 ;; #(
7470 *) have_x=yes;;
7471 esac
7472 eval "$ac_cv_have_x"
7473 fi # $with_x != no
7475 if test "$have_x" != yes; then
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
7477 $as_echo "$have_x" >&6; }
7478 no_x=yes
7479 else
7480 # If each of the values was on the command line, it overrides each guess.
7481 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
7482 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
7483 # Update the cache value to reflect the command line values.
7484 ac_cv_have_x="have_x=yes\
7485 ac_x_includes='$x_includes'\
7486 ac_x_libraries='$x_libraries'"
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
7488 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7491 if test "$no_x" = yes; then
7492 # Not all programs may use this symbol, but it does not hurt to define it.
7494 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
7496 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
7497 else
7498 if test -n "$x_includes"; then
7499 X_CFLAGS="$X_CFLAGS -I$x_includes"
7502 # It would also be nice to do this for all -L options, not just this one.
7503 if test -n "$x_libraries"; then
7504 X_LIBS="$X_LIBS -L$x_libraries"
7505 # For Solaris; some versions of Sun CC require a space after -R and
7506 # others require no space. Words are not sufficient . . . .
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
7508 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
7509 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
7510 ac_xsave_c_werror_flag=$ac_c_werror_flag
7511 ac_c_werror_flag=yes
7512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7513 /* end confdefs.h. */
7516 main ()
7520 return 0;
7522 _ACEOF
7523 if ac_fn_c_try_link "$LINENO"; then :
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7525 $as_echo "no" >&6; }
7526 X_LIBS="$X_LIBS -R$x_libraries"
7527 else
7528 LIBS="$ac_xsave_LIBS -R $x_libraries"
7529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7530 /* end confdefs.h. */
7533 main ()
7537 return 0;
7539 _ACEOF
7540 if ac_fn_c_try_link "$LINENO"; then :
7541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7542 $as_echo "yes" >&6; }
7543 X_LIBS="$X_LIBS -R $x_libraries"
7544 else
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
7546 $as_echo "neither works" >&6; }
7548 rm -f core conftest.err conftest.$ac_objext \
7549 conftest$ac_exeext conftest.$ac_ext
7551 rm -f core conftest.err conftest.$ac_objext \
7552 conftest$ac_exeext conftest.$ac_ext
7553 ac_c_werror_flag=$ac_xsave_c_werror_flag
7554 LIBS=$ac_xsave_LIBS
7557 # Check for system-dependent libraries X programs must link with.
7558 # Do this before checking for the system-independent R6 libraries
7559 # (-lICE), since we may need -lsocket or whatever for X linking.
7561 if test "$ISC" = yes; then
7562 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
7563 else
7564 # Martyn Johnson says this is needed for Ultrix, if the X
7565 # libraries were built with DECnet support. And Karl Berry says
7566 # the Alpha needs dnet_stub (dnet does not exist).
7567 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
7568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7569 /* end confdefs.h. */
7571 /* Override any GCC internal prototype to avoid an error.
7572 Use char because int might match the return type of a GCC
7573 builtin and then its argument prototype would still apply. */
7574 #ifdef __cplusplus
7575 extern "C"
7576 #endif
7577 char XOpenDisplay ();
7579 main ()
7581 return XOpenDisplay ();
7583 return 0;
7585 _ACEOF
7586 if ac_fn_c_try_link "$LINENO"; then :
7588 else
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
7590 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
7591 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
7592 $as_echo_n "(cached) " >&6
7593 else
7594 ac_check_lib_save_LIBS=$LIBS
7595 LIBS="-ldnet $LIBS"
7596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7597 /* end confdefs.h. */
7599 /* Override any GCC internal prototype to avoid an error.
7600 Use char because int might match the return type of a GCC
7601 builtin and then its argument prototype would still apply. */
7602 #ifdef __cplusplus
7603 extern "C"
7604 #endif
7605 char dnet_ntoa ();
7607 main ()
7609 return dnet_ntoa ();
7611 return 0;
7613 _ACEOF
7614 if ac_fn_c_try_link "$LINENO"; then :
7615 ac_cv_lib_dnet_dnet_ntoa=yes
7616 else
7617 ac_cv_lib_dnet_dnet_ntoa=no
7619 rm -f core conftest.err conftest.$ac_objext \
7620 conftest$ac_exeext conftest.$ac_ext
7621 LIBS=$ac_check_lib_save_LIBS
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7624 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7625 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
7626 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
7629 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
7631 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
7632 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
7633 $as_echo_n "(cached) " >&6
7634 else
7635 ac_check_lib_save_LIBS=$LIBS
7636 LIBS="-ldnet_stub $LIBS"
7637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7638 /* end confdefs.h. */
7640 /* Override any GCC internal prototype to avoid an error.
7641 Use char because int might match the return type of a GCC
7642 builtin and then its argument prototype would still apply. */
7643 #ifdef __cplusplus
7644 extern "C"
7645 #endif
7646 char dnet_ntoa ();
7648 main ()
7650 return dnet_ntoa ();
7652 return 0;
7654 _ACEOF
7655 if ac_fn_c_try_link "$LINENO"; then :
7656 ac_cv_lib_dnet_stub_dnet_ntoa=yes
7657 else
7658 ac_cv_lib_dnet_stub_dnet_ntoa=no
7660 rm -f core conftest.err conftest.$ac_objext \
7661 conftest$ac_exeext conftest.$ac_ext
7662 LIBS=$ac_check_lib_save_LIBS
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7665 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
7666 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
7667 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
7672 rm -f core conftest.err conftest.$ac_objext \
7673 conftest$ac_exeext conftest.$ac_ext
7674 LIBS="$ac_xsave_LIBS"
7676 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7677 # to get the SysV transport functions.
7678 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7679 # needs -lnsl.
7680 # The nsl library prevents programs from opening the X display
7681 # on Irix 5.2, according to T.E. Dickey.
7682 # The functions gethostbyname, getservbyname, and inet_addr are
7683 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7684 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
7685 if test "x$ac_cv_func_gethostbyname" = xyes; then :
7689 if test $ac_cv_func_gethostbyname = no; then
7690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
7691 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
7692 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
7693 $as_echo_n "(cached) " >&6
7694 else
7695 ac_check_lib_save_LIBS=$LIBS
7696 LIBS="-lnsl $LIBS"
7697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7698 /* end confdefs.h. */
7700 /* Override any GCC internal prototype to avoid an error.
7701 Use char because int might match the return type of a GCC
7702 builtin and then its argument prototype would still apply. */
7703 #ifdef __cplusplus
7704 extern "C"
7705 #endif
7706 char gethostbyname ();
7708 main ()
7710 return gethostbyname ();
7712 return 0;
7714 _ACEOF
7715 if ac_fn_c_try_link "$LINENO"; then :
7716 ac_cv_lib_nsl_gethostbyname=yes
7717 else
7718 ac_cv_lib_nsl_gethostbyname=no
7720 rm -f core conftest.err conftest.$ac_objext \
7721 conftest$ac_exeext conftest.$ac_ext
7722 LIBS=$ac_check_lib_save_LIBS
7724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
7725 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
7726 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
7727 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
7730 if test $ac_cv_lib_nsl_gethostbyname = no; then
7731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
7732 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
7733 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
7734 $as_echo_n "(cached) " >&6
7735 else
7736 ac_check_lib_save_LIBS=$LIBS
7737 LIBS="-lbsd $LIBS"
7738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7739 /* end confdefs.h. */
7741 /* Override any GCC internal prototype to avoid an error.
7742 Use char because int might match the return type of a GCC
7743 builtin and then its argument prototype would still apply. */
7744 #ifdef __cplusplus
7745 extern "C"
7746 #endif
7747 char gethostbyname ();
7749 main ()
7751 return gethostbyname ();
7753 return 0;
7755 _ACEOF
7756 if ac_fn_c_try_link "$LINENO"; then :
7757 ac_cv_lib_bsd_gethostbyname=yes
7758 else
7759 ac_cv_lib_bsd_gethostbyname=no
7761 rm -f core conftest.err conftest.$ac_objext \
7762 conftest$ac_exeext conftest.$ac_ext
7763 LIBS=$ac_check_lib_save_LIBS
7765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
7766 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
7767 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
7768 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
7774 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7775 # socket/setsockopt and other routines are undefined under SCO ODT
7776 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7777 # on later versions), says Simon Leinen: it contains gethostby*
7778 # variants that don't use the name server (or something). -lsocket
7779 # must be given before -lnsl if both are needed. We assume that
7780 # if connect needs -lnsl, so does gethostbyname.
7781 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
7782 if test "x$ac_cv_func_connect" = xyes; then :
7786 if test $ac_cv_func_connect = no; then
7787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
7788 $as_echo_n "checking for connect in -lsocket... " >&6; }
7789 if ${ac_cv_lib_socket_connect+:} false; then :
7790 $as_echo_n "(cached) " >&6
7791 else
7792 ac_check_lib_save_LIBS=$LIBS
7793 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
7794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7795 /* end confdefs.h. */
7797 /* Override any GCC internal prototype to avoid an error.
7798 Use char because int might match the return type of a GCC
7799 builtin and then its argument prototype would still apply. */
7800 #ifdef __cplusplus
7801 extern "C"
7802 #endif
7803 char connect ();
7805 main ()
7807 return connect ();
7809 return 0;
7811 _ACEOF
7812 if ac_fn_c_try_link "$LINENO"; then :
7813 ac_cv_lib_socket_connect=yes
7814 else
7815 ac_cv_lib_socket_connect=no
7817 rm -f core conftest.err conftest.$ac_objext \
7818 conftest$ac_exeext conftest.$ac_ext
7819 LIBS=$ac_check_lib_save_LIBS
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
7822 $as_echo "$ac_cv_lib_socket_connect" >&6; }
7823 if test "x$ac_cv_lib_socket_connect" = xyes; then :
7824 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
7829 # Guillermo Gomez says -lposix is necessary on A/UX.
7830 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
7831 if test "x$ac_cv_func_remove" = xyes; then :
7835 if test $ac_cv_func_remove = no; then
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
7837 $as_echo_n "checking for remove in -lposix... " >&6; }
7838 if ${ac_cv_lib_posix_remove+:} false; then :
7839 $as_echo_n "(cached) " >&6
7840 else
7841 ac_check_lib_save_LIBS=$LIBS
7842 LIBS="-lposix $LIBS"
7843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7844 /* end confdefs.h. */
7846 /* Override any GCC internal prototype to avoid an error.
7847 Use char because int might match the return type of a GCC
7848 builtin and then its argument prototype would still apply. */
7849 #ifdef __cplusplus
7850 extern "C"
7851 #endif
7852 char remove ();
7854 main ()
7856 return remove ();
7858 return 0;
7860 _ACEOF
7861 if ac_fn_c_try_link "$LINENO"; then :
7862 ac_cv_lib_posix_remove=yes
7863 else
7864 ac_cv_lib_posix_remove=no
7866 rm -f core conftest.err conftest.$ac_objext \
7867 conftest$ac_exeext conftest.$ac_ext
7868 LIBS=$ac_check_lib_save_LIBS
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
7871 $as_echo "$ac_cv_lib_posix_remove" >&6; }
7872 if test "x$ac_cv_lib_posix_remove" = xyes; then :
7873 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
7878 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7879 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
7880 if test "x$ac_cv_func_shmat" = xyes; then :
7884 if test $ac_cv_func_shmat = no; then
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
7886 $as_echo_n "checking for shmat in -lipc... " >&6; }
7887 if ${ac_cv_lib_ipc_shmat+:} false; then :
7888 $as_echo_n "(cached) " >&6
7889 else
7890 ac_check_lib_save_LIBS=$LIBS
7891 LIBS="-lipc $LIBS"
7892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7893 /* end confdefs.h. */
7895 /* Override any GCC internal prototype to avoid an error.
7896 Use char because int might match the return type of a GCC
7897 builtin and then its argument prototype would still apply. */
7898 #ifdef __cplusplus
7899 extern "C"
7900 #endif
7901 char shmat ();
7903 main ()
7905 return shmat ();
7907 return 0;
7909 _ACEOF
7910 if ac_fn_c_try_link "$LINENO"; then :
7911 ac_cv_lib_ipc_shmat=yes
7912 else
7913 ac_cv_lib_ipc_shmat=no
7915 rm -f core conftest.err conftest.$ac_objext \
7916 conftest$ac_exeext conftest.$ac_ext
7917 LIBS=$ac_check_lib_save_LIBS
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
7920 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
7921 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
7922 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
7928 # Check for libraries that X11R6 Xt/Xaw programs need.
7929 ac_save_LDFLAGS=$LDFLAGS
7930 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
7931 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7932 # check for ICE first), but we must link in the order -lSM -lICE or
7933 # we get undefined symbols. So assume we have SM if we have ICE.
7934 # These have to be linked with before -lX11, unlike the other
7935 # libraries we check for below, so use a different variable.
7936 # John Interrante, Karl Berry
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
7938 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
7939 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
7940 $as_echo_n "(cached) " >&6
7941 else
7942 ac_check_lib_save_LIBS=$LIBS
7943 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
7944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7945 /* end confdefs.h. */
7947 /* Override any GCC internal prototype to avoid an error.
7948 Use char because int might match the return type of a GCC
7949 builtin and then its argument prototype would still apply. */
7950 #ifdef __cplusplus
7951 extern "C"
7952 #endif
7953 char IceConnectionNumber ();
7955 main ()
7957 return IceConnectionNumber ();
7959 return 0;
7961 _ACEOF
7962 if ac_fn_c_try_link "$LINENO"; then :
7963 ac_cv_lib_ICE_IceConnectionNumber=yes
7964 else
7965 ac_cv_lib_ICE_IceConnectionNumber=no
7967 rm -f core conftest.err conftest.$ac_objext \
7968 conftest$ac_exeext conftest.$ac_ext
7969 LIBS=$ac_check_lib_save_LIBS
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
7972 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
7973 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
7974 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
7977 LDFLAGS=$ac_save_LDFLAGS
7982 if test "$have_x" = "yes"
7983 then
7984 XLIB="-lX11"
7985 ac_save_CPPFLAGS="$CPPFLAGS"
7986 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
7989 $as_echo_n "checking for -lX11... " >&6; }
7990 if ${ac_cv_lib_soname_X11+:} false; then :
7991 $as_echo_n "(cached) " >&6
7992 else
7993 ac_check_soname_save_LIBS=$LIBS
7994 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
7995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7996 /* end confdefs.h. */
7998 /* Override any GCC internal prototype to avoid an error.
7999 Use char because int might match the return type of a GCC
8000 builtin and then its argument prototype would still apply. */
8001 #ifdef __cplusplus
8002 extern "C"
8003 #endif
8004 char XCreateWindow ();
8006 main ()
8008 return XCreateWindow ();
8010 return 0;
8012 _ACEOF
8013 if ac_fn_c_try_link "$LINENO"; then :
8014 case "$LIBEXT" in
8015 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8016 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'` ;;
8017 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8018 esac
8020 rm -f core conftest.err conftest.$ac_objext \
8021 conftest$ac_exeext conftest.$ac_ext
8022 LIBS=$ac_check_soname_save_LIBS
8024 if test "x$ac_cv_lib_soname_X11" = "x"; then :
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8026 $as_echo "not found" >&6; }
8028 else
8029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
8030 $as_echo "$ac_cv_lib_soname_X11" >&6; }
8032 cat >>confdefs.h <<_ACEOF
8033 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
8034 _ACEOF
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
8039 $as_echo_n "checking for -lXext... " >&6; }
8040 if ${ac_cv_lib_soname_Xext+:} false; then :
8041 $as_echo_n "(cached) " >&6
8042 else
8043 ac_check_soname_save_LIBS=$LIBS
8044 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8046 /* end confdefs.h. */
8048 /* Override any GCC internal prototype to avoid an error.
8049 Use char because int might match the return type of a GCC
8050 builtin and then its argument prototype would still apply. */
8051 #ifdef __cplusplus
8052 extern "C"
8053 #endif
8054 char XextCreateExtension ();
8056 main ()
8058 return XextCreateExtension ();
8060 return 0;
8062 _ACEOF
8063 if ac_fn_c_try_link "$LINENO"; then :
8064 case "$LIBEXT" in
8065 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8066 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'` ;;
8067 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8068 esac
8070 rm -f core conftest.err conftest.$ac_objext \
8071 conftest$ac_exeext conftest.$ac_ext
8072 LIBS=$ac_check_soname_save_LIBS
8074 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8076 $as_echo "not found" >&6; }
8078 else
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
8080 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
8082 cat >>confdefs.h <<_ACEOF
8083 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
8084 _ACEOF
8086 XLIB="-lXext $XLIB"
8089 for ac_header in X11/Xlib.h \
8090 X11/XKBlib.h \
8091 X11/Xutil.h \
8092 X11/Xcursor/Xcursor.h \
8093 X11/extensions/shape.h \
8094 X11/extensions/XInput.h \
8095 X11/extensions/XInput2.h \
8096 X11/extensions/Xcomposite.h \
8097 X11/extensions/Xinerama.h \
8098 X11/extensions/Xrandr.h \
8099 X11/extensions/Xrender.h \
8100 X11/extensions/xf86vmode.h \
8101 X11/extensions/xf86vmproto.h
8102 do :
8103 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8104 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
8105 # include <X11/Xlib.h>
8106 #endif
8107 #ifdef HAVE_X11_XUTIL_H
8108 # include <X11/Xutil.h>
8109 #endif
8111 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8112 cat >>confdefs.h <<_ACEOF
8113 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8114 _ACEOF
8118 done
8121 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8122 then
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
8124 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
8125 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
8126 $as_echo_n "(cached) " >&6
8127 else
8128 ac_check_lib_save_LIBS=$LIBS
8129 LIBS="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8131 /* end confdefs.h. */
8133 /* Override any GCC internal prototype to avoid an error.
8134 Use char because int might match the return type of a GCC
8135 builtin and then its argument prototype would still apply. */
8136 #ifdef __cplusplus
8137 extern "C"
8138 #endif
8139 char XkbQueryExtension ();
8141 main ()
8143 return XkbQueryExtension ();
8145 return 0;
8147 _ACEOF
8148 if ac_fn_c_try_link "$LINENO"; then :
8149 ac_cv_lib_X11_XkbQueryExtension=yes
8150 else
8151 ac_cv_lib_X11_XkbQueryExtension=no
8153 rm -f core conftest.err conftest.$ac_objext \
8154 conftest$ac_exeext conftest.$ac_ext
8155 LIBS=$ac_check_lib_save_LIBS
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8158 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8159 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
8161 $as_echo "#define HAVE_XKB 1" >>confdefs.h
8167 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
8168 then
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
8170 $as_echo_n "checking for -lXcursor... " >&6; }
8171 if ${ac_cv_lib_soname_Xcursor+:} false; then :
8172 $as_echo_n "(cached) " >&6
8173 else
8174 ac_check_soname_save_LIBS=$LIBS
8175 LIBS="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8177 /* end confdefs.h. */
8179 /* Override any GCC internal prototype to avoid an error.
8180 Use char because int might match the return type of a GCC
8181 builtin and then its argument prototype would still apply. */
8182 #ifdef __cplusplus
8183 extern "C"
8184 #endif
8185 char XcursorImageLoadCursor ();
8187 main ()
8189 return XcursorImageLoadCursor ();
8191 return 0;
8193 _ACEOF
8194 if ac_fn_c_try_link "$LINENO"; then :
8195 case "$LIBEXT" in
8196 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8197 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'` ;;
8198 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8199 esac
8201 rm -f core conftest.err conftest.$ac_objext \
8202 conftest$ac_exeext conftest.$ac_ext
8203 LIBS=$ac_check_soname_save_LIBS
8205 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8207 $as_echo "not found" >&6; }
8209 else
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
8211 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
8213 cat >>confdefs.h <<_ACEOF
8214 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
8215 _ACEOF
8220 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8221 case "x$with_xcursor" in
8222 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
8223 xno) ;;
8224 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
8225 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
8226 esac
8229 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
8230 then
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
8232 $as_echo_n "checking for -lXi... " >&6; }
8233 if ${ac_cv_lib_soname_Xi+:} false; then :
8234 $as_echo_n "(cached) " >&6
8235 else
8236 ac_check_soname_save_LIBS=$LIBS
8237 LIBS="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8239 /* end confdefs.h. */
8241 /* Override any GCC internal prototype to avoid an error.
8242 Use char because int might match the return type of a GCC
8243 builtin and then its argument prototype would still apply. */
8244 #ifdef __cplusplus
8245 extern "C"
8246 #endif
8247 char XOpenDevice ();
8249 main ()
8251 return XOpenDevice ();
8253 return 0;
8255 _ACEOF
8256 if ac_fn_c_try_link "$LINENO"; then :
8257 case "$LIBEXT" in
8258 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8259 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'` ;;
8260 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8261 esac
8263 rm -f core conftest.err conftest.$ac_objext \
8264 conftest$ac_exeext conftest.$ac_ext
8265 LIBS=$ac_check_soname_save_LIBS
8267 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8269 $as_echo "not found" >&6; }
8271 else
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
8273 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
8275 cat >>confdefs.h <<_ACEOF
8276 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
8277 _ACEOF
8282 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8283 case "x$with_xinput" in
8284 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
8285 xno) ;;
8286 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
8287 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
8288 esac
8291 if test "x$ac_cv_lib_soname_Xi" != x
8292 then
8293 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
8294 case "x$with_xinput2" in
8295 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
8296 xno) ;;
8297 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
8298 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
8299 esac
8303 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8304 then
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
8306 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8307 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
8308 $as_echo_n "(cached) " >&6
8309 else
8310 ac_check_lib_save_LIBS=$LIBS
8311 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8313 /* end confdefs.h. */
8315 /* Override any GCC internal prototype to avoid an error.
8316 Use char because int might match the return type of a GCC
8317 builtin and then its argument prototype would still apply. */
8318 #ifdef __cplusplus
8319 extern "C"
8320 #endif
8321 char XShapeQueryExtension ();
8323 main ()
8325 return XShapeQueryExtension ();
8327 return 0;
8329 _ACEOF
8330 if ac_fn_c_try_link "$LINENO"; then :
8331 ac_cv_lib_Xext_XShapeQueryExtension=yes
8332 else
8333 ac_cv_lib_Xext_XShapeQueryExtension=no
8335 rm -f core conftest.err conftest.$ac_objext \
8336 conftest$ac_exeext conftest.$ac_ext
8337 LIBS=$ac_check_lib_save_LIBS
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8340 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8341 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
8343 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
8348 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
8349 case "x$with_xshape" in
8350 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
8351 xno) ;;
8352 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
8353 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
8354 esac
8357 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
8358 then
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
8360 $as_echo_n "checking for -lXxf86vm... " >&6; }
8361 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
8362 $as_echo_n "(cached) " >&6
8363 else
8364 ac_check_soname_save_LIBS=$LIBS
8365 LIBS="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8367 /* end confdefs.h. */
8369 /* Override any GCC internal prototype to avoid an error.
8370 Use char because int might match the return type of a GCC
8371 builtin and then its argument prototype would still apply. */
8372 #ifdef __cplusplus
8373 extern "C"
8374 #endif
8375 char XF86VidModeQueryExtension ();
8377 main ()
8379 return XF86VidModeQueryExtension ();
8381 return 0;
8383 _ACEOF
8384 if ac_fn_c_try_link "$LINENO"; then :
8385 case "$LIBEXT" in
8386 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8387 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'` ;;
8388 *) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8389 esac
8391 rm -f core conftest.err conftest.$ac_objext \
8392 conftest$ac_exeext conftest.$ac_ext
8393 LIBS=$ac_check_soname_save_LIBS
8395 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8397 $as_echo "not found" >&6; }
8399 else
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
8401 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
8403 cat >>confdefs.h <<_ACEOF
8404 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
8405 _ACEOF
8410 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8411 case "x$with_xxf86vm" in
8412 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
8413 xno) ;;
8414 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
8415 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
8416 esac
8419 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"
8420 then
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
8422 $as_echo_n "checking for -lXrender... " >&6; }
8423 if ${ac_cv_lib_soname_Xrender+:} false; then :
8424 $as_echo_n "(cached) " >&6
8425 else
8426 ac_check_soname_save_LIBS=$LIBS
8427 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8429 /* end confdefs.h. */
8431 /* Override any GCC internal prototype to avoid an error.
8432 Use char because int might match the return type of a GCC
8433 builtin and then its argument prototype would still apply. */
8434 #ifdef __cplusplus
8435 extern "C"
8436 #endif
8437 char XRenderQueryExtension ();
8439 main ()
8441 return XRenderQueryExtension ();
8443 return 0;
8445 _ACEOF
8446 if ac_fn_c_try_link "$LINENO"; then :
8447 case "$LIBEXT" in
8448 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8449 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'` ;;
8450 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8451 esac
8453 rm -f core conftest.err conftest.$ac_objext \
8454 conftest$ac_exeext conftest.$ac_ext
8455 LIBS=$ac_check_soname_save_LIBS
8457 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8459 $as_echo "not found" >&6; }
8461 else
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
8463 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
8465 cat >>confdefs.h <<_ACEOF
8466 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
8467 _ACEOF
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
8470 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
8471 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
8472 $as_echo_n "(cached) " >&6
8473 else
8474 ac_check_lib_save_LIBS=$LIBS
8475 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8477 /* end confdefs.h. */
8479 /* Override any GCC internal prototype to avoid an error.
8480 Use char because int might match the return type of a GCC
8481 builtin and then its argument prototype would still apply. */
8482 #ifdef __cplusplus
8483 extern "C"
8484 #endif
8485 char XRenderSetPictureTransform ();
8487 main ()
8489 return XRenderSetPictureTransform ();
8491 return 0;
8493 _ACEOF
8494 if ac_fn_c_try_link "$LINENO"; then :
8495 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
8496 else
8497 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
8499 rm -f core conftest.err conftest.$ac_objext \
8500 conftest$ac_exeext conftest.$ac_ext
8501 LIBS=$ac_check_lib_save_LIBS
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8504 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8505 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
8507 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
8512 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
8513 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
8514 $as_echo_n "(cached) " >&6
8515 else
8516 ac_check_lib_save_LIBS=$LIBS
8517 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8519 /* end confdefs.h. */
8521 /* Override any GCC internal prototype to avoid an error.
8522 Use char because int might match the return type of a GCC
8523 builtin and then its argument prototype would still apply. */
8524 #ifdef __cplusplus
8525 extern "C"
8526 #endif
8527 char XRenderCreateLinearGradient ();
8529 main ()
8531 return XRenderCreateLinearGradient ();
8533 return 0;
8535 _ACEOF
8536 if ac_fn_c_try_link "$LINENO"; then :
8537 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
8538 else
8539 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
8541 rm -f core conftest.err conftest.$ac_objext \
8542 conftest$ac_exeext conftest.$ac_ext
8543 LIBS=$ac_check_lib_save_LIBS
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
8546 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
8547 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
8549 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
8556 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8557 case "x$with_xrender" in
8558 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
8559 xno) ;;
8560 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
8561 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
8562 esac
8565 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
8566 then
8567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8568 /* end confdefs.h. */
8569 #include <X11/Xlib.h>
8570 #include <X11/extensions/Xrandr.h>
8572 main ()
8574 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
8576 return 0;
8578 _ACEOF
8579 if ac_fn_c_try_compile "$LINENO"; then :
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
8581 $as_echo_n "checking for -lXrandr... " >&6; }
8582 if ${ac_cv_lib_soname_Xrandr+:} false; then :
8583 $as_echo_n "(cached) " >&6
8584 else
8585 ac_check_soname_save_LIBS=$LIBS
8586 LIBS="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8588 /* end confdefs.h. */
8590 /* Override any GCC internal prototype to avoid an error.
8591 Use char because int might match the return type of a GCC
8592 builtin and then its argument prototype would still apply. */
8593 #ifdef __cplusplus
8594 extern "C"
8595 #endif
8596 char XRRQueryExtension ();
8598 main ()
8600 return XRRQueryExtension ();
8602 return 0;
8604 _ACEOF
8605 if ac_fn_c_try_link "$LINENO"; then :
8606 case "$LIBEXT" in
8607 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8608 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'` ;;
8609 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8610 esac
8612 rm -f core conftest.err conftest.$ac_objext \
8613 conftest$ac_exeext conftest.$ac_ext
8614 LIBS=$ac_check_soname_save_LIBS
8616 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8618 $as_echo "not found" >&6; }
8620 else
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
8622 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
8624 cat >>confdefs.h <<_ACEOF
8625 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
8626 _ACEOF
8628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8629 /* end confdefs.h. */
8630 #include <X11/extensions/Xrandr.h>
8632 main ()
8634 static typeof(XRRGetScreenResources) *f; if (f) return 0;
8636 return 0;
8638 _ACEOF
8639 if ac_fn_c_try_compile "$LINENO"; then :
8641 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
8644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8649 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8650 case "x$with_xrandr" in
8651 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
8652 xno) ;;
8653 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
8654 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
8655 esac
8658 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8659 then
8660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8661 /* end confdefs.h. */
8662 #include <X11/Xlib.h>
8663 #include <X11/extensions/Xinerama.h>
8665 main ()
8667 static typeof(XineramaQueryScreens) * func; if (func) return 0;
8669 return 0;
8671 _ACEOF
8672 if ac_fn_c_try_compile "$LINENO"; then :
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
8674 $as_echo_n "checking for -lXinerama... " >&6; }
8675 if ${ac_cv_lib_soname_Xinerama+:} false; then :
8676 $as_echo_n "(cached) " >&6
8677 else
8678 ac_check_soname_save_LIBS=$LIBS
8679 LIBS="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8681 /* end confdefs.h. */
8683 /* Override any GCC internal prototype to avoid an error.
8684 Use char because int might match the return type of a GCC
8685 builtin and then its argument prototype would still apply. */
8686 #ifdef __cplusplus
8687 extern "C"
8688 #endif
8689 char XineramaQueryScreens ();
8691 main ()
8693 return XineramaQueryScreens ();
8695 return 0;
8697 _ACEOF
8698 if ac_fn_c_try_link "$LINENO"; then :
8699 case "$LIBEXT" in
8700 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8701 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'` ;;
8702 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8703 esac
8705 rm -f core conftest.err conftest.$ac_objext \
8706 conftest$ac_exeext conftest.$ac_ext
8707 LIBS=$ac_check_soname_save_LIBS
8709 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8711 $as_echo "not found" >&6; }
8713 else
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
8715 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
8717 cat >>confdefs.h <<_ACEOF
8718 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
8719 _ACEOF
8724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8726 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8727 case "x$with_xinerama" in
8728 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
8729 xno) ;;
8730 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
8731 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
8732 esac
8735 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
8736 then
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
8738 $as_echo_n "checking for -lXcomposite... " >&6; }
8739 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
8740 $as_echo_n "(cached) " >&6
8741 else
8742 ac_check_soname_save_LIBS=$LIBS
8743 LIBS="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8745 /* end confdefs.h. */
8747 /* Override any GCC internal prototype to avoid an error.
8748 Use char because int might match the return type of a GCC
8749 builtin and then its argument prototype would still apply. */
8750 #ifdef __cplusplus
8751 extern "C"
8752 #endif
8753 char XCompositeRedirectWindow ();
8755 main ()
8757 return XCompositeRedirectWindow ();
8759 return 0;
8761 _ACEOF
8762 if ac_fn_c_try_link "$LINENO"; then :
8763 case "$LIBEXT" in
8764 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8765 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'` ;;
8766 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8767 esac
8769 rm -f core conftest.err conftest.$ac_objext \
8770 conftest$ac_exeext conftest.$ac_ext
8771 LIBS=$ac_check_soname_save_LIBS
8773 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8775 $as_echo "not found" >&6; }
8777 else
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
8779 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
8781 cat >>confdefs.h <<_ACEOF
8782 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
8783 _ACEOF
8788 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8789 case "x$with_xcomposite" in
8790 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
8791 xno) ;;
8792 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
8793 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
8794 esac
8797 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
8798 #include <X11/Xlib.h>
8799 #endif
8801 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
8803 cat >>confdefs.h <<_ACEOF
8804 #define HAVE_XICCALLBACK_CALLBACK 1
8805 _ACEOF
8809 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
8810 #include <X11/Xlib.h>
8811 #endif
8813 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
8815 cat >>confdefs.h <<_ACEOF
8816 #define HAVE_XEVENT_XCOOKIE 1
8817 _ACEOF
8824 opengl_msg=""
8825 if test "x$with_opengl" != "xno"
8826 then
8827 for ac_header in GL/gl.h GL/glx.h GL/glu.h GL/osmesa.h
8828 do :
8829 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8830 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_GL_GLX_H
8831 # include <GL/glx.h>
8832 #endif
8834 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8835 cat >>confdefs.h <<_ACEOF
8836 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8837 _ACEOF
8841 done
8843 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8844 then
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for up-to-date OpenGL version" >&5
8846 $as_echo_n "checking for up-to-date OpenGL version... " >&6; }
8847 if ${wine_cv_opengl_header_version_OK+:} false; then :
8848 $as_echo_n "(cached) " >&6
8849 else
8850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8851 /* end confdefs.h. */
8852 #include <GL/gl.h>
8854 main ()
8856 GLenum test = GL_UNSIGNED_SHORT_5_6_5; return (test == GL_UNSIGNED_SHORT_5_6_5);
8858 return 0;
8860 _ACEOF
8861 if ac_fn_c_try_compile "$LINENO"; then :
8862 wine_cv_opengl_header_version_OK="yes"
8863 else
8864 wine_cv_opengl_header_version_OK="no"
8866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_opengl_header_version_OK" >&5
8869 $as_echo "$wine_cv_opengl_header_version_OK" >&6; }
8871 if test "$wine_cv_opengl_header_version_OK" = "yes"
8872 then
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8874 $as_echo_n "checking for -lGL... " >&6; }
8875 if ${ac_cv_lib_soname_GL+:} false; then :
8876 $as_echo_n "(cached) " >&6
8877 else
8878 ac_check_soname_save_LIBS=$LIBS
8879 LIBS="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8881 /* end confdefs.h. */
8883 /* Override any GCC internal prototype to avoid an error.
8884 Use char because int might match the return type of a GCC
8885 builtin and then its argument prototype would still apply. */
8886 #ifdef __cplusplus
8887 extern "C"
8888 #endif
8889 char glXCreateContext ();
8891 main ()
8893 return glXCreateContext ();
8895 return 0;
8897 _ACEOF
8898 if ac_fn_c_try_link "$LINENO"; then :
8899 case "$LIBEXT" in
8900 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8901 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'` ;;
8902 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8903 esac
8905 rm -f core conftest.err conftest.$ac_objext \
8906 conftest$ac_exeext conftest.$ac_ext
8907 LIBS=$ac_check_soname_save_LIBS
8909 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8911 $as_echo "not found" >&6; }
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8913 $as_echo_n "checking for -lGL... " >&6; }
8914 if ${ac_cv_lib_soname_GL+:} false; then :
8915 $as_echo_n "(cached) " >&6
8916 else
8917 ac_check_soname_save_LIBS=$LIBS
8918 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"
8919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8920 /* end confdefs.h. */
8922 /* Override any GCC internal prototype to avoid an error.
8923 Use char because int might match the return type of a GCC
8924 builtin and then its argument prototype would still apply. */
8925 #ifdef __cplusplus
8926 extern "C"
8927 #endif
8928 char glXCreateContext ();
8930 main ()
8932 return glXCreateContext ();
8934 return 0;
8936 _ACEOF
8937 if ac_fn_c_try_link "$LINENO"; then :
8938 case "$LIBEXT" in
8939 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8940 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'` ;;
8941 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8942 esac
8944 rm -f core conftest.err conftest.$ac_objext \
8945 conftest$ac_exeext conftest.$ac_ext
8946 LIBS=$ac_check_soname_save_LIBS
8948 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8950 $as_echo "not found" >&6; }
8951 if test -f /usr/X11R6/lib/libGL.a
8952 then
8953 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
8954 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
8955 else
8956 opengl_msg="No OpenGL library found on this system."
8958 else
8959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8960 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8962 cat >>confdefs.h <<_ACEOF
8963 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8964 _ACEOF
8966 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"
8968 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8971 else
8972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8973 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8975 cat >>confdefs.h <<_ACEOF
8976 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8977 _ACEOF
8979 OPENGL_LIBS="-lGL"
8981 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8984 if test "$ac_cv_header_GL_glu_h" = "yes"
8985 then
8986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
8987 $as_echo_n "checking for -lGLU... " >&6; }
8988 if ${ac_cv_lib_soname_GLU+:} false; then :
8989 $as_echo_n "(cached) " >&6
8990 else
8991 ac_check_soname_save_LIBS=$LIBS
8992 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8994 /* end confdefs.h. */
8996 /* Override any GCC internal prototype to avoid an error.
8997 Use char because int might match the return type of a GCC
8998 builtin and then its argument prototype would still apply. */
8999 #ifdef __cplusplus
9000 extern "C"
9001 #endif
9002 char gluLookAt ();
9004 main ()
9006 return gluLookAt ();
9008 return 0;
9010 _ACEOF
9011 if ac_fn_c_try_link "$LINENO"; then :
9012 case "$LIBEXT" in
9013 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9014 dylib) ac_cv_lib_soname_GLU=`otool -L conftest$ac_exeext | grep "libGLU\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLU\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9015 *) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9016 esac
9018 rm -f core conftest.err conftest.$ac_objext \
9019 conftest$ac_exeext conftest.$ac_ext
9020 LIBS=$ac_check_soname_save_LIBS
9022 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9024 $as_echo "not found" >&6; }
9026 else
9027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
9028 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
9030 cat >>confdefs.h <<_ACEOF
9031 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
9032 _ACEOF
9037 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
9038 case "x$with_glu" in
9039 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
9040 xno) ;;
9041 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
9042 This is an error since --with-glu was requested." "$LINENO" 5 ;;
9043 esac
9046 if test "$ac_cv_header_GL_osmesa_h" = "yes"
9047 then
9048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
9049 $as_echo_n "checking for -lOSMesa... " >&6; }
9050 if ${ac_cv_lib_soname_OSMesa+:} false; then :
9051 $as_echo_n "(cached) " >&6
9052 else
9053 ac_check_soname_save_LIBS=$LIBS
9054 LIBS="-lOSMesa $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9056 /* end confdefs.h. */
9058 /* Override any GCC internal prototype to avoid an error.
9059 Use char because int might match the return type of a GCC
9060 builtin and then its argument prototype would still apply. */
9061 #ifdef __cplusplus
9062 extern "C"
9063 #endif
9064 char glAccum ();
9066 main ()
9068 return glAccum ();
9070 return 0;
9072 _ACEOF
9073 if ac_fn_c_try_link "$LINENO"; then :
9074 case "$LIBEXT" in
9075 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9076 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'` ;;
9077 *) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9078 esac
9080 rm -f core conftest.err conftest.$ac_objext \
9081 conftest$ac_exeext conftest.$ac_ext
9082 LIBS=$ac_check_soname_save_LIBS
9084 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9086 $as_echo "not found" >&6; }
9088 else
9089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
9090 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
9092 cat >>confdefs.h <<_ACEOF
9093 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
9094 _ACEOF
9099 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9100 case "x$with_osmesa" in
9101 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
9102 xno) ;;
9103 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
9104 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
9105 esac
9107 else
9108 opengl_msg="Old Mesa headers detected. Consider upgrading your Mesa libraries."
9110 else
9111 opengl_msg="OpenGL development headers not found."
9113 test -n "$opengl_msg" && enable_opengl32=${enable_opengl32:-no}
9114 test "x$ac_cv_lib_soname_GLU" = "x" && enable_glu32=${enable_glu32:-no}
9115 else
9116 enable_opengl32=${enable_opengl32:-no}
9117 enable_glu32=${enable_glu32:-no}
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}
9136 enable_opengl32=${enable_opengl32:-no}
9137 enable_glu32=${enable_glu32:-no}
9139 if test "x$XLIB" = "x"; then :
9140 case "x$with_x" in
9141 xno) ;;
9142 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
9143 without X support, which probably isn't what you want. You will need
9144 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
9145 Use the --without-x option if you really want this." "$LINENO" 5 ;;
9146 esac
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_get_stackaddr_np \
10625 pthread_get_stacksize_np
10626 do :
10627 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10628 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
10629 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
10630 cat >>confdefs.h <<_ACEOF
10631 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10632 _ACEOF
10635 done
10637 LIBS="$ac_wine_check_funcs_save_LIBS"
10639 if test "$ac_cv_header_zlib_h" = "yes"
10640 then
10641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
10642 $as_echo_n "checking for inflate in -lz... " >&6; }
10643 if ${ac_cv_lib_z_inflate+:} false; then :
10644 $as_echo_n "(cached) " >&6
10645 else
10646 ac_check_lib_save_LIBS=$LIBS
10647 LIBS="-lz $LIBS"
10648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10649 /* end confdefs.h. */
10651 /* Override any GCC internal prototype to avoid an error.
10652 Use char because int might match the return type of a GCC
10653 builtin and then its argument prototype would still apply. */
10654 #ifdef __cplusplus
10655 extern "C"
10656 #endif
10657 char inflate ();
10659 main ()
10661 return inflate ();
10663 return 0;
10665 _ACEOF
10666 if ac_fn_c_try_link "$LINENO"; then :
10667 ac_cv_lib_z_inflate=yes
10668 else
10669 ac_cv_lib_z_inflate=no
10671 rm -f core conftest.err conftest.$ac_objext \
10672 conftest$ac_exeext conftest.$ac_ext
10673 LIBS=$ac_check_lib_save_LIBS
10675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
10676 $as_echo "$ac_cv_lib_z_inflate" >&6; }
10677 if test "x$ac_cv_lib_z_inflate" = xyes; then :
10679 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
10681 ZLIB="-lz"
10686 if test "x$ZLIB" = "x"; then :
10687 case "x$with_zlib" in
10688 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
10689 xno) ;;
10690 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
10691 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
10692 esac
10695 if test "x$enable_tools" != xno
10696 then
10697 if test "$ac_cv_header_gettext_po_h" = "yes"
10698 then
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
10700 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
10701 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
10702 $as_echo_n "(cached) " >&6
10703 else
10704 ac_check_lib_save_LIBS=$LIBS
10705 LIBS="-lgettextpo $LIBS"
10706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10707 /* end confdefs.h. */
10709 /* Override any GCC internal prototype to avoid an error.
10710 Use char because int might match the return type of a GCC
10711 builtin and then its argument prototype would still apply. */
10712 #ifdef __cplusplus
10713 extern "C"
10714 #endif
10715 char po_message_msgctxt ();
10717 main ()
10719 return po_message_msgctxt ();
10721 return 0;
10723 _ACEOF
10724 if ac_fn_c_try_link "$LINENO"; then :
10725 ac_cv_lib_gettextpo_po_message_msgctxt=yes
10726 else
10727 ac_cv_lib_gettextpo_po_message_msgctxt=no
10729 rm -f core conftest.err conftest.$ac_objext \
10730 conftest$ac_exeext conftest.$ac_ext
10731 LIBS=$ac_check_lib_save_LIBS
10733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
10734 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
10735 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
10737 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
10739 LIBGETTEXTPO="-lgettextpo"
10744 test "x$with_gettextpo" != xyes || if test "x$LIBGETTEXTPO" = "x"; then :
10745 case "x$with_gettextpo" in
10746 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
10747 xno) ;;
10748 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
10749 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
10750 esac
10754 PULSELIBS=""
10756 PULSEINCL=""
10758 if test "x$with_pulse" != "xno";
10759 then
10760 ac_save_CPPFLAGS="$CPPFLAGS"
10761 if test "$PKG_CONFIG" != "false";
10762 then
10763 ac_pulse_libs="`$PKG_CONFIG --libs libpulse 2>/dev/null`"
10764 ac_pulse_cflags="`$PKG_CONFIG --cflags-only-I libpulse 2>/dev/null`"
10766 CPPFLAGS="$CPPFLAGS $ac_pulse_cflags"
10767 for ac_header in pulse/pulseaudio.h
10768 do :
10769 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
10770 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
10771 cat >>confdefs.h <<_ACEOF
10772 #define HAVE_PULSE_PULSEAUDIO_H 1
10773 _ACEOF
10774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
10775 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
10776 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
10777 $as_echo_n "(cached) " >&6
10778 else
10779 ac_check_lib_save_LIBS=$LIBS
10780 LIBS="-lpulse $ac_pulse_libs $LIBS"
10781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10782 /* end confdefs.h. */
10784 /* Override any GCC internal prototype to avoid an error.
10785 Use char because int might match the return type of a GCC
10786 builtin and then its argument prototype would still apply. */
10787 #ifdef __cplusplus
10788 extern "C"
10789 #endif
10790 char pa_stream_is_corked ();
10792 main ()
10794 return pa_stream_is_corked ();
10796 return 0;
10798 _ACEOF
10799 if ac_fn_c_try_link "$LINENO"; then :
10800 ac_cv_lib_pulse_pa_stream_is_corked=yes
10801 else
10802 ac_cv_lib_pulse_pa_stream_is_corked=no
10804 rm -f core conftest.err conftest.$ac_objext \
10805 conftest$ac_exeext conftest.$ac_ext
10806 LIBS=$ac_check_lib_save_LIBS
10808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
10809 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
10810 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
10812 $as_echo "#define HAVE_PULSEAUDIO 1" >>confdefs.h
10814 PULSELIBS="$ac_pulse_libs"
10815 PULSEINCL="$ac_pulse_cflags"
10821 done
10824 CPPFLAGS="$ac_save_CPPFLAGS"
10826 if test "$ac_cv_lib_pulse_pa_stream_is_corked" != "yes"; then :
10827 case "x$with_pulse" in
10828 x) as_fn_append wine_warnings "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
10829 xno) ;;
10830 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
10831 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
10832 esac
10835 if test "x$with_gstreamer" != "xno"
10836 then
10837 ac_save_CPPFLAGS="$CPPFLAGS"
10838 if test "$PKG_CONFIG" != "false"; then
10839 ac_gst_incl=""
10840 for i in `$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
10842 case "$i" in
10843 -I*) ac_gst_incl="$ac_gst_incl $i";;
10844 esac
10845 done
10846 ac_gst_libs="`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`"
10847 CPPFLAGS="$CPPFLAGS $ac_gst_incl"
10848 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
10849 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
10850 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
10851 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
10852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
10853 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
10854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10855 /* end confdefs.h. */
10856 #include <gst/app/gstappsink.h>
10858 main ()
10860 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
10862 return 0;
10864 _ACEOF
10865 if ac_fn_c_try_compile "$LINENO"; then :
10866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10867 $as_echo "yes" >&6; }
10868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
10869 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
10870 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
10871 $as_echo_n "(cached) " >&6
10872 else
10873 ac_check_lib_save_LIBS=$LIBS
10874 LIBS="-lgstreamer-0.10 $LIBS"
10875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10876 /* end confdefs.h. */
10878 /* Override any GCC internal prototype to avoid an error.
10879 Use char because int might match the return type of a GCC
10880 builtin and then its argument prototype would still apply. */
10881 #ifdef __cplusplus
10882 extern "C"
10883 #endif
10884 char gst_pad_get_caps_reffed ();
10886 main ()
10888 return gst_pad_get_caps_reffed ();
10890 return 0;
10892 _ACEOF
10893 if ac_fn_c_try_link "$LINENO"; then :
10894 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
10895 else
10896 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
10898 rm -f core conftest.err conftest.$ac_objext \
10899 conftest$ac_exeext conftest.$ac_ext
10900 LIBS=$ac_check_lib_save_LIBS
10902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
10903 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
10904 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
10905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
10906 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
10907 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
10908 $as_echo_n "(cached) " >&6
10909 else
10910 ac_check_lib_save_LIBS=$LIBS
10911 LIBS="-lgstapp-0.10 $ac_gst_libs $LIBS"
10912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10913 /* end confdefs.h. */
10915 /* Override any GCC internal prototype to avoid an error.
10916 Use char because int might match the return type of a GCC
10917 builtin and then its argument prototype would still apply. */
10918 #ifdef __cplusplus
10919 extern "C"
10920 #endif
10921 char gst_app_buffer_new ();
10923 main ()
10925 return gst_app_buffer_new ();
10927 return 0;
10929 _ACEOF
10930 if ac_fn_c_try_link "$LINENO"; then :
10931 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
10932 else
10933 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
10935 rm -f core conftest.err conftest.$ac_objext \
10936 conftest$ac_exeext conftest.$ac_ext
10937 LIBS=$ac_check_lib_save_LIBS
10939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
10940 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
10941 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
10942 GSTREAMER_LIBS="$ac_gst_libs"
10944 GSTREAMER_INCL="$ac_gst_incl"
10950 else
10951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10952 $as_echo "no" >&6; }
10954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10962 CPPFLAGS="$ac_save_CPPFLAGS"
10964 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
10965 case "x$with_gstreamer" in
10966 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
10967 xno) ;;
10968 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
10969 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
10970 esac
10972 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
10974 ALSALIBS=""
10976 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
10977 then
10978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
10979 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
10980 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
10981 $as_echo_n "(cached) " >&6
10982 else
10983 ac_check_lib_save_LIBS=$LIBS
10984 LIBS="-lasound $LIBS"
10985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10986 /* end confdefs.h. */
10988 /* Override any GCC internal prototype to avoid an error.
10989 Use char because int might match the return type of a GCC
10990 builtin and then its argument prototype would still apply. */
10991 #ifdef __cplusplus
10992 extern "C"
10993 #endif
10994 char snd_pcm_hw_params_get_access_mask ();
10996 main ()
10998 return snd_pcm_hw_params_get_access_mask ();
11000 return 0;
11002 _ACEOF
11003 if ac_fn_c_try_link "$LINENO"; then :
11004 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
11005 else
11006 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
11008 rm -f core conftest.err conftest.$ac_objext \
11009 conftest$ac_exeext conftest.$ac_ext
11010 LIBS=$ac_check_lib_save_LIBS
11012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
11013 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
11014 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
11015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11016 /* end confdefs.h. */
11017 #ifdef HAVE_ALSA_ASOUNDLIB_H
11018 #include <alsa/asoundlib.h>
11019 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11020 #include <sys/asoundlib.h>
11021 #endif
11023 main ()
11025 snd_pcm_hw_params_get_access_mask(NULL, NULL)
11027 return 0;
11029 _ACEOF
11030 if ac_fn_c_try_compile "$LINENO"; then :
11031 ALSALIBS="-lasound"
11033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11038 if test "x$with_oss" != xno
11039 then
11040 ac_save_CPPFLAGS="$CPPFLAGS"
11041 if test -f /etc/oss.conf
11042 then
11043 . /etc/oss.conf
11045 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
11046 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
11047 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
11048 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
11049 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
11051 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
11053 cat >>confdefs.h <<_ACEOF
11054 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
11055 _ACEOF
11057 OSS4INCL="$ac_oss_incl"
11064 CPPFLAGS="$ac_save_CPPFLAGS"
11065 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
11066 then
11067 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
11072 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
11073 then
11074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
11075 $as_echo_n "checking for -lcapi20... " >&6; }
11076 if ${ac_cv_lib_soname_capi20+:} false; then :
11077 $as_echo_n "(cached) " >&6
11078 else
11079 ac_check_soname_save_LIBS=$LIBS
11080 LIBS="-lcapi20 $LIBS"
11081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11082 /* end confdefs.h. */
11084 /* Override any GCC internal prototype to avoid an error.
11085 Use char because int might match the return type of a GCC
11086 builtin and then its argument prototype would still apply. */
11087 #ifdef __cplusplus
11088 extern "C"
11089 #endif
11090 char capi20_register ();
11092 main ()
11094 return capi20_register ();
11096 return 0;
11098 _ACEOF
11099 if ac_fn_c_try_link "$LINENO"; then :
11100 case "$LIBEXT" in
11101 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11102 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'` ;;
11103 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11104 esac
11106 rm -f core conftest.err conftest.$ac_objext \
11107 conftest$ac_exeext conftest.$ac_ext
11108 LIBS=$ac_check_soname_save_LIBS
11110 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11112 $as_echo "not found" >&6; }
11114 else
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
11116 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
11118 cat >>confdefs.h <<_ACEOF
11119 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
11120 _ACEOF
11125 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11126 case "x$with_capi" in
11127 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
11128 xno) ;;
11129 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
11130 This is an error since --with-capi was requested." "$LINENO" 5 ;;
11131 esac
11134 CUPSINCL=""
11136 if test "x$with_cups" != "xno"
11137 then
11138 ac_save_CPPFLAGS="$CPPFLAGS"
11139 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
11140 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
11141 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
11142 for ac_header in cups/cups.h
11143 do :
11144 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
11145 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
11146 cat >>confdefs.h <<_ACEOF
11147 #define HAVE_CUPS_CUPS_H 1
11148 _ACEOF
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
11150 $as_echo_n "checking for -lcups... " >&6; }
11151 if ${ac_cv_lib_soname_cups+:} false; then :
11152 $as_echo_n "(cached) " >&6
11153 else
11154 ac_check_soname_save_LIBS=$LIBS
11155 LIBS="-lcups $ac_cups_libs $LIBS"
11156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11157 /* end confdefs.h. */
11159 /* Override any GCC internal prototype to avoid an error.
11160 Use char because int might match the return type of a GCC
11161 builtin and then its argument prototype would still apply. */
11162 #ifdef __cplusplus
11163 extern "C"
11164 #endif
11165 char cupsGetDefault ();
11167 main ()
11169 return cupsGetDefault ();
11171 return 0;
11173 _ACEOF
11174 if ac_fn_c_try_link "$LINENO"; then :
11175 case "$LIBEXT" in
11176 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11177 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'` ;;
11178 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11179 esac
11181 rm -f core conftest.err conftest.$ac_objext \
11182 conftest$ac_exeext conftest.$ac_ext
11183 LIBS=$ac_check_soname_save_LIBS
11185 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11187 $as_echo "not found" >&6; }
11189 else
11190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
11191 $as_echo "$ac_cv_lib_soname_cups" >&6; }
11193 cat >>confdefs.h <<_ACEOF
11194 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
11195 _ACEOF
11197 CUPSINCL="$ac_cups_cflags"
11201 done
11203 CPPFLAGS="$ac_save_CPPFLAGS"
11205 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11206 case "x$with_cups" in
11207 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
11208 xno) ;;
11209 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
11210 This is an error since --with-cups was requested." "$LINENO" 5 ;;
11211 esac
11214 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11215 then
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11217 $as_echo_n "checking for -lfontconfig... " >&6; }
11218 if ${ac_cv_lib_soname_fontconfig+:} false; then :
11219 $as_echo_n "(cached) " >&6
11220 else
11221 ac_check_soname_save_LIBS=$LIBS
11222 LIBS="-lfontconfig $LIBS"
11223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11224 /* end confdefs.h. */
11226 /* Override any GCC internal prototype to avoid an error.
11227 Use char because int might match the return type of a GCC
11228 builtin and then its argument prototype would still apply. */
11229 #ifdef __cplusplus
11230 extern "C"
11231 #endif
11232 char FcInit ();
11234 main ()
11236 return FcInit ();
11238 return 0;
11240 _ACEOF
11241 if ac_fn_c_try_link "$LINENO"; then :
11242 case "$LIBEXT" in
11243 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11244 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'` ;;
11245 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11246 esac
11248 rm -f core conftest.err conftest.$ac_objext \
11249 conftest$ac_exeext conftest.$ac_ext
11250 LIBS=$ac_check_soname_save_LIBS
11252 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11254 $as_echo "not found" >&6; }
11256 else
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11258 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11260 cat >>confdefs.h <<_ACEOF
11261 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11262 _ACEOF
11266 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
11267 then
11268 ac_save_CPPFLAGS="$CPPFLAGS"
11269 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11270 $as_unset ac_cv_header_fontconfig_fontconfig_h
11271 for ac_header in fontconfig/fontconfig.h
11272 do :
11273 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
11274 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
11275 cat >>confdefs.h <<_ACEOF
11276 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
11277 _ACEOF
11281 done
11283 CPPFLAGS="$ac_save_CPPFLAGS"
11284 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11285 then
11286 FONTCONFIGINCL="$X_CFLAGS"
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11289 $as_echo_n "checking for -lfontconfig... " >&6; }
11290 if ${ac_cv_lib_soname_fontconfig+:} false; then :
11291 $as_echo_n "(cached) " >&6
11292 else
11293 ac_check_soname_save_LIBS=$LIBS
11294 LIBS="-lfontconfig $X_LIBS $LIBS"
11295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11296 /* end confdefs.h. */
11298 /* Override any GCC internal prototype to avoid an error.
11299 Use char because int might match the return type of a GCC
11300 builtin and then its argument prototype would still apply. */
11301 #ifdef __cplusplus
11302 extern "C"
11303 #endif
11304 char FcInit ();
11306 main ()
11308 return FcInit ();
11310 return 0;
11312 _ACEOF
11313 if ac_fn_c_try_link "$LINENO"; then :
11314 case "$LIBEXT" in
11315 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11316 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'` ;;
11317 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11318 esac
11320 rm -f core conftest.err conftest.$ac_objext \
11321 conftest$ac_exeext conftest.$ac_ext
11322 LIBS=$ac_check_soname_save_LIBS
11324 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11326 $as_echo "not found" >&6; }
11328 else
11329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11330 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11332 cat >>confdefs.h <<_ACEOF
11333 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11334 _ACEOF
11340 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11341 case "x$with_fontconfig" in
11342 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
11343 xno) ;;
11344 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
11345 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
11346 esac
11349 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
11350 then
11351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lssl" >&5
11352 $as_echo_n "checking for -lssl... " >&6; }
11353 if ${ac_cv_lib_soname_ssl+:} false; then :
11354 $as_echo_n "(cached) " >&6
11355 else
11356 ac_check_soname_save_LIBS=$LIBS
11357 LIBS="-lssl $LIBS"
11358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11359 /* end confdefs.h. */
11361 /* Override any GCC internal prototype to avoid an error.
11362 Use char because int might match the return type of a GCC
11363 builtin and then its argument prototype would still apply. */
11364 #ifdef __cplusplus
11365 extern "C"
11366 #endif
11367 char SSL_library_init ();
11369 main ()
11371 return SSL_library_init ();
11373 return 0;
11375 _ACEOF
11376 if ac_fn_c_try_link "$LINENO"; then :
11377 case "$LIBEXT" in
11378 dll) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest.exe | grep "ssl" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11379 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'` ;;
11380 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11381 esac
11383 rm -f core conftest.err conftest.$ac_objext \
11384 conftest$ac_exeext conftest.$ac_ext
11385 LIBS=$ac_check_soname_save_LIBS
11387 if test "x$ac_cv_lib_soname_ssl" = "x"; then :
11388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11389 $as_echo "not found" >&6; }
11391 else
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ssl" >&5
11393 $as_echo "$ac_cv_lib_soname_ssl" >&6; }
11395 cat >>confdefs.h <<_ACEOF
11396 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
11397 _ACEOF
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcrypto" >&5
11402 $as_echo_n "checking for -lcrypto... " >&6; }
11403 if ${ac_cv_lib_soname_crypto+:} false; then :
11404 $as_echo_n "(cached) " >&6
11405 else
11406 ac_check_soname_save_LIBS=$LIBS
11407 LIBS="-lcrypto $LIBS"
11408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11409 /* end confdefs.h. */
11411 /* Override any GCC internal prototype to avoid an error.
11412 Use char because int might match the return type of a GCC
11413 builtin and then its argument prototype would still apply. */
11414 #ifdef __cplusplus
11415 extern "C"
11416 #endif
11417 char BIO_new_socket ();
11419 main ()
11421 return BIO_new_socket ();
11423 return 0;
11425 _ACEOF
11426 if ac_fn_c_try_link "$LINENO"; then :
11427 case "$LIBEXT" in
11428 dll) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest.exe | grep "crypto" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11429 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'` ;;
11430 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11431 esac
11433 rm -f core conftest.err conftest.$ac_objext \
11434 conftest$ac_exeext conftest.$ac_ext
11435 LIBS=$ac_check_soname_save_LIBS
11437 if test "x$ac_cv_lib_soname_crypto" = "x"; then :
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11439 $as_echo "not found" >&6; }
11441 else
11442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_crypto" >&5
11443 $as_echo "$ac_cv_lib_soname_crypto" >&6; }
11445 cat >>confdefs.h <<_ACEOF
11446 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
11447 _ACEOF
11452 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then :
11453 case "x$with_openssl" in
11454 x) as_fn_append wine_warnings "|OpenSSL ${notice_platform}development files not found, SSL won't be supported." ;;
11455 xno) ;;
11456 *) as_fn_error $? "OpenSSL ${notice_platform}development files not found, SSL won't be supported.
11457 This is an error since --with-openssl was requested." "$LINENO" 5 ;;
11458 esac
11461 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
11462 then
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
11464 $as_echo_n "checking for -lgsm... " >&6; }
11465 if ${ac_cv_lib_soname_gsm+:} false; then :
11466 $as_echo_n "(cached) " >&6
11467 else
11468 ac_check_soname_save_LIBS=$LIBS
11469 LIBS="-lgsm $LIBS"
11470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11471 /* end confdefs.h. */
11473 /* Override any GCC internal prototype to avoid an error.
11474 Use char because int might match the return type of a GCC
11475 builtin and then its argument prototype would still apply. */
11476 #ifdef __cplusplus
11477 extern "C"
11478 #endif
11479 char gsm_create ();
11481 main ()
11483 return gsm_create ();
11485 return 0;
11487 _ACEOF
11488 if ac_fn_c_try_link "$LINENO"; then :
11489 case "$LIBEXT" in
11490 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11491 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'` ;;
11492 *) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11493 esac
11495 rm -f core conftest.err conftest.$ac_objext \
11496 conftest$ac_exeext conftest.$ac_ext
11497 LIBS=$ac_check_soname_save_LIBS
11499 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11501 $as_echo "not found" >&6; }
11503 else
11504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
11505 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
11507 cat >>confdefs.h <<_ACEOF
11508 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
11509 _ACEOF
11514 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11515 case "x$with_gsm" in
11516 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
11517 xno) ;;
11518 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
11519 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
11520 esac
11523 if test "$ac_cv_header_jpeglib_h" = "yes"
11524 then
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
11526 $as_echo_n "checking for -ljpeg... " >&6; }
11527 if ${ac_cv_lib_soname_jpeg+:} false; then :
11528 $as_echo_n "(cached) " >&6
11529 else
11530 ac_check_soname_save_LIBS=$LIBS
11531 LIBS="-ljpeg $LIBS"
11532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11533 /* end confdefs.h. */
11535 /* Override any GCC internal prototype to avoid an error.
11536 Use char because int might match the return type of a GCC
11537 builtin and then its argument prototype would still apply. */
11538 #ifdef __cplusplus
11539 extern "C"
11540 #endif
11541 char jpeg_start_decompress ();
11543 main ()
11545 return jpeg_start_decompress ();
11547 return 0;
11549 _ACEOF
11550 if ac_fn_c_try_link "$LINENO"; then :
11551 case "$LIBEXT" in
11552 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11553 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'` ;;
11554 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11555 esac
11557 rm -f core conftest.err conftest.$ac_objext \
11558 conftest$ac_exeext conftest.$ac_ext
11559 LIBS=$ac_check_soname_save_LIBS
11561 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11563 $as_echo "not found" >&6; }
11565 else
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
11567 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
11569 cat >>confdefs.h <<_ACEOF
11570 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
11571 _ACEOF
11576 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11577 case "x$with_jpeg" in
11578 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
11579 xno) ;;
11580 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
11581 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
11582 esac
11585 if test "$ac_cv_header_png_h" = "yes"
11586 then
11587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11588 $as_echo_n "checking for -lpng... " >&6; }
11589 if ${ac_cv_lib_soname_png+:} false; then :
11590 $as_echo_n "(cached) " >&6
11591 else
11592 ac_check_soname_save_LIBS=$LIBS
11593 LIBS="-lpng -lm -lz $LIBS"
11594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11595 /* end confdefs.h. */
11597 /* Override any GCC internal prototype to avoid an error.
11598 Use char because int might match the return type of a GCC
11599 builtin and then its argument prototype would still apply. */
11600 #ifdef __cplusplus
11601 extern "C"
11602 #endif
11603 char png_create_read_struct ();
11605 main ()
11607 return png_create_read_struct ();
11609 return 0;
11611 _ACEOF
11612 if ac_fn_c_try_link "$LINENO"; then :
11613 case "$LIBEXT" in
11614 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11615 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'` ;;
11616 *) 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'` ;;
11617 esac
11619 rm -f core conftest.err conftest.$ac_objext \
11620 conftest$ac_exeext conftest.$ac_ext
11621 LIBS=$ac_check_soname_save_LIBS
11623 if test "x$ac_cv_lib_soname_png" = "x"; then :
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11625 $as_echo "not found" >&6; }
11627 else
11628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11629 $as_echo "$ac_cv_lib_soname_png" >&6; }
11631 cat >>confdefs.h <<_ACEOF
11632 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11633 _ACEOF
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11638 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11639 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false; then :
11640 $as_echo_n "(cached) " >&6
11641 else
11642 ac_check_lib_save_LIBS=$LIBS
11643 LIBS="-lpng -lm -lz $LIBS"
11644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11645 /* end confdefs.h. */
11647 /* Override any GCC internal prototype to avoid an error.
11648 Use char because int might match the return type of a GCC
11649 builtin and then its argument prototype would still apply. */
11650 #ifdef __cplusplus
11651 extern "C"
11652 #endif
11653 char png_set_expand_gray_1_2_4_to_8 ();
11655 main ()
11657 return png_set_expand_gray_1_2_4_to_8 ();
11659 return 0;
11661 _ACEOF
11662 if ac_fn_c_try_link "$LINENO"; then :
11663 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=yes
11664 else
11665 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=no
11667 rm -f core conftest.err conftest.$ac_objext \
11668 conftest$ac_exeext conftest.$ac_ext
11669 LIBS=$ac_check_lib_save_LIBS
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11672 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11673 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes; then :
11675 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11680 elif test -n "$X_CFLAGS" -a "x$with_png" != "xno"
11681 then
11682 ac_save_CPPFLAGS="$CPPFLAGS"
11683 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11684 $as_unset ac_cv_header_png_h
11685 for ac_header in png.h
11686 do :
11687 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
11688 if test "x$ac_cv_header_png_h" = xyes; then :
11689 cat >>confdefs.h <<_ACEOF
11690 #define HAVE_PNG_H 1
11691 _ACEOF
11695 done
11697 CPPFLAGS="$ac_save_CPPFLAGS"
11698 if test "$ac_cv_header_png_h" = "yes"
11699 then
11700 PNGINCL="$X_CFLAGS"
11702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11703 $as_echo_n "checking for -lpng... " >&6; }
11704 if ${ac_cv_lib_soname_png+:} false; then :
11705 $as_echo_n "(cached) " >&6
11706 else
11707 ac_check_soname_save_LIBS=$LIBS
11708 LIBS="-lpng $X_LIBS -lm -lz $LIBS"
11709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11710 /* end confdefs.h. */
11712 /* Override any GCC internal prototype to avoid an error.
11713 Use char because int might match the return type of a GCC
11714 builtin and then its argument prototype would still apply. */
11715 #ifdef __cplusplus
11716 extern "C"
11717 #endif
11718 char png_create_read_struct ();
11720 main ()
11722 return png_create_read_struct ();
11724 return 0;
11726 _ACEOF
11727 if ac_fn_c_try_link "$LINENO"; then :
11728 case "$LIBEXT" in
11729 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11730 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'` ;;
11731 *) 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'` ;;
11732 esac
11734 rm -f core conftest.err conftest.$ac_objext \
11735 conftest$ac_exeext conftest.$ac_ext
11736 LIBS=$ac_check_soname_save_LIBS
11738 if test "x$ac_cv_lib_soname_png" = "x"; then :
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11740 $as_echo "not found" >&6; }
11742 else
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11744 $as_echo "$ac_cv_lib_soname_png" >&6; }
11746 cat >>confdefs.h <<_ACEOF
11747 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11748 _ACEOF
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11753 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11754 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false; then :
11755 $as_echo_n "(cached) " >&6
11756 else
11757 ac_check_lib_save_LIBS=$LIBS
11758 LIBS="-lpng $X_LIBS -lm -lz $LIBS"
11759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11760 /* end confdefs.h. */
11762 /* Override any GCC internal prototype to avoid an error.
11763 Use char because int might match the return type of a GCC
11764 builtin and then its argument prototype would still apply. */
11765 #ifdef __cplusplus
11766 extern "C"
11767 #endif
11768 char png_set_expand_gray_1_2_4_to_8 ();
11770 main ()
11772 return png_set_expand_gray_1_2_4_to_8 ();
11774 return 0;
11776 _ACEOF
11777 if ac_fn_c_try_link "$LINENO"; then :
11778 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=yes
11779 else
11780 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=no
11782 rm -f core conftest.err conftest.$ac_objext \
11783 conftest$ac_exeext conftest.$ac_ext
11784 LIBS=$ac_check_lib_save_LIBS
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11787 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11788 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes; then :
11789 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11795 if test "x$ac_cv_lib_soname_png" = "x"; then :
11796 case "x$with_png" in
11797 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
11798 xno) ;;
11799 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
11800 This is an error since --with-png was requested." "$LINENO" 5 ;;
11801 esac
11804 if test "$ac_cv_header_tiffio_h" = "yes"
11805 then
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
11807 $as_echo_n "checking for -ltiff... " >&6; }
11808 if ${ac_cv_lib_soname_tiff+:} false; then :
11809 $as_echo_n "(cached) " >&6
11810 else
11811 ac_check_soname_save_LIBS=$LIBS
11812 LIBS="-ltiff $LIBS"
11813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11814 /* end confdefs.h. */
11816 /* Override any GCC internal prototype to avoid an error.
11817 Use char because int might match the return type of a GCC
11818 builtin and then its argument prototype would still apply. */
11819 #ifdef __cplusplus
11820 extern "C"
11821 #endif
11822 char TIFFClientOpen ();
11824 main ()
11826 return TIFFClientOpen ();
11828 return 0;
11830 _ACEOF
11831 if ac_fn_c_try_link "$LINENO"; then :
11832 case "$LIBEXT" in
11833 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11834 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'` ;;
11835 *) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11836 esac
11838 rm -f core conftest.err conftest.$ac_objext \
11839 conftest$ac_exeext conftest.$ac_ext
11840 LIBS=$ac_check_soname_save_LIBS
11842 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11844 $as_echo "not found" >&6; }
11846 else
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
11848 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
11850 cat >>confdefs.h <<_ACEOF
11851 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
11852 _ACEOF
11857 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11858 case "x$with_tiff" in
11859 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
11860 xno) ;;
11861 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
11862 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
11863 esac
11866 if test "$ac_cv_header_mpg123_h" = "yes"
11867 then
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
11869 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
11870 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
11871 $as_echo_n "(cached) " >&6
11872 else
11873 ac_check_lib_save_LIBS=$LIBS
11874 LIBS="-lmpg123 $LIBS"
11875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11876 /* end confdefs.h. */
11878 /* Override any GCC internal prototype to avoid an error.
11879 Use char because int might match the return type of a GCC
11880 builtin and then its argument prototype would still apply. */
11881 #ifdef __cplusplus
11882 extern "C"
11883 #endif
11884 char mpg123_feed ();
11886 main ()
11888 return mpg123_feed ();
11890 return 0;
11892 _ACEOF
11893 if ac_fn_c_try_link "$LINENO"; then :
11894 ac_cv_lib_mpg123_mpg123_feed=yes
11895 else
11896 ac_cv_lib_mpg123_mpg123_feed=no
11898 rm -f core conftest.err conftest.$ac_objext \
11899 conftest$ac_exeext conftest.$ac_ext
11900 LIBS=$ac_check_lib_save_LIBS
11902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
11903 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
11904 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
11905 LIBMPG123="-lmpg123"
11910 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
11911 case "x$with_mpg123" in
11912 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
11913 xno) ;;
11914 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
11915 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
11916 esac
11918 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}
11920 if test "$ac_cv_header_AL_al_h" = "yes"
11921 then
11922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
11923 $as_echo_n "checking for -lopenal... " >&6; }
11924 if ${ac_cv_lib_soname_openal+:} false; then :
11925 $as_echo_n "(cached) " >&6
11926 else
11927 ac_check_soname_save_LIBS=$LIBS
11928 LIBS="-lopenal $LIBS"
11929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11930 /* end confdefs.h. */
11932 /* Override any GCC internal prototype to avoid an error.
11933 Use char because int might match the return type of a GCC
11934 builtin and then its argument prototype would still apply. */
11935 #ifdef __cplusplus
11936 extern "C"
11937 #endif
11938 char alGetSource3i ();
11940 main ()
11942 return alGetSource3i ();
11944 return 0;
11946 _ACEOF
11947 if ac_fn_c_try_link "$LINENO"; then :
11948 case "$LIBEXT" in
11949 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11950 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'` ;;
11951 *) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11952 esac
11954 rm -f core conftest.err conftest.$ac_objext \
11955 conftest$ac_exeext conftest.$ac_ext
11956 LIBS=$ac_check_soname_save_LIBS
11958 if test "x$ac_cv_lib_soname_openal" = "x"; then :
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11960 $as_echo "not found" >&6; }
11962 else
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
11964 $as_echo "$ac_cv_lib_soname_openal" >&6; }
11966 cat >>confdefs.h <<_ACEOF
11967 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
11968 _ACEOF
11970 LIBOPENAL="-lopenal"
11972 ac_cv_lib_openal=yes
11974 cat >>confdefs.h <<_ACEOF
11975 #define HAVE_OPENAL 1
11976 _ACEOF
11980 if test "x$ac_cv_lib_openal" != xyes; then :
11981 case "x$with_openal" in
11982 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
11983 xno) ;;
11984 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
11985 This is an error since --with-openal was requested." "$LINENO" 5 ;;
11986 esac
11988 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
11990 if test "$ac_cv_header_kstat_h" = "yes"
11991 then
11992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
11993 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
11994 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
11995 $as_echo_n "(cached) " >&6
11996 else
11997 ac_check_lib_save_LIBS=$LIBS
11998 LIBS="-lkstat $LIBS"
11999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12000 /* end confdefs.h. */
12002 /* Override any GCC internal prototype to avoid an error.
12003 Use char because int might match the return type of a GCC
12004 builtin and then its argument prototype would still apply. */
12005 #ifdef __cplusplus
12006 extern "C"
12007 #endif
12008 char kstat_open ();
12010 main ()
12012 return kstat_open ();
12014 return 0;
12016 _ACEOF
12017 if ac_fn_c_try_link "$LINENO"; then :
12018 ac_cv_lib_kstat_kstat_open=yes
12019 else
12020 ac_cv_lib_kstat_kstat_open=no
12022 rm -f core conftest.err conftest.$ac_objext \
12023 conftest$ac_exeext conftest.$ac_ext
12024 LIBS=$ac_check_lib_save_LIBS
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
12027 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
12028 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
12030 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
12032 LIBKSTAT="-lkstat"
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
12039 $as_echo_n "checking for -lodbc... " >&6; }
12040 if ${ac_cv_lib_soname_odbc+:} false; then :
12041 $as_echo_n "(cached) " >&6
12042 else
12043 ac_check_soname_save_LIBS=$LIBS
12044 LIBS="-lodbc $LIBS"
12045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12046 /* end confdefs.h. */
12048 /* Override any GCC internal prototype to avoid an error.
12049 Use char because int might match the return type of a GCC
12050 builtin and then its argument prototype would still apply. */
12051 #ifdef __cplusplus
12052 extern "C"
12053 #endif
12054 char SQLConnect ();
12056 main ()
12058 return SQLConnect ();
12060 return 0;
12062 _ACEOF
12063 if ac_fn_c_try_link "$LINENO"; then :
12064 case "$LIBEXT" in
12065 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12066 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'` ;;
12067 *) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12068 esac
12070 rm -f core conftest.err conftest.$ac_objext \
12071 conftest$ac_exeext conftest.$ac_ext
12072 LIBS=$ac_check_soname_save_LIBS
12074 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
12075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12076 $as_echo "not found" >&6; }
12077 cat >>confdefs.h <<_ACEOF
12078 #define SONAME_LIBODBC "libodbc.$LIBEXT"
12079 _ACEOF
12081 else
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
12083 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
12085 cat >>confdefs.h <<_ACEOF
12086 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
12087 _ACEOF
12092 test -n "$ALSALIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12093 test -n "$COREAUDIO" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
12094 test -n "$PULSELIBS" || enable_winepulse_drv=${enable_winepulse_drv:-no}
12095 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
12096 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
12098 if test "x$ALSALIBS$COREAUDIO$PULSELIBS" = "x" -a \
12099 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
12100 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
12101 then
12102 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
12106 EXTRACFLAGS=""
12108 if test "x${GCC}" = "xyes"
12109 then
12110 EXTRACFLAGS="-Wall -pipe"
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
12113 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
12114 if ${ac_cv_c_gcc_strength_bug+:} false; then :
12115 $as_echo_n "(cached) " >&6
12116 else
12117 if test "$cross_compiling" = yes; then :
12118 ac_cv_c_gcc_strength_bug="yes"
12119 else
12120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12121 /* end confdefs.h. */
12122 int L[4] = {0,1,2,3};
12124 main ()
12126 static int Array[3];
12127 unsigned int B = 3;
12128 int i;
12129 for(i=0; i<B; i++) Array[i] = i - 3;
12130 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12131 L[i] = 4;
12132 return (Array[1] != -2 || L[2] != 3)
12134 return 0;
12136 _ACEOF
12137 if ac_fn_c_try_run "$LINENO"; then :
12138 ac_cv_c_gcc_strength_bug="no"
12139 else
12140 ac_cv_c_gcc_strength_bug="yes"
12142 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12143 conftest.$ac_objext conftest.beam conftest.$ac_ext
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
12148 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
12149 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12150 then
12151 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
12155 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
12156 if ${ac_cv_cflags__fno_builtin+:} false; then :
12157 $as_echo_n "(cached) " >&6
12158 else
12159 ac_wine_try_cflags_saved=$CFLAGS
12160 CFLAGS="$CFLAGS -fno-builtin"
12161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12162 /* end confdefs.h. */
12163 int main(int argc, char **argv) { return 0; }
12164 _ACEOF
12165 if ac_fn_c_try_link "$LINENO"; then :
12166 ac_cv_cflags__fno_builtin=yes
12167 else
12168 ac_cv_cflags__fno_builtin=no
12170 rm -f core conftest.err conftest.$ac_objext \
12171 conftest$ac_exeext conftest.$ac_ext
12172 CFLAGS=$ac_wine_try_cflags_saved
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
12175 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
12176 if test $ac_cv_cflags__fno_builtin = yes; then :
12177 BUILTINFLAG="-fno-builtin"
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
12181 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
12182 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
12183 $as_echo_n "(cached) " >&6
12184 else
12185 ac_wine_try_cflags_saved=$CFLAGS
12186 CFLAGS="$CFLAGS -fno-strict-aliasing"
12187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12188 /* end confdefs.h. */
12189 int main(int argc, char **argv) { return 0; }
12190 _ACEOF
12191 if ac_fn_c_try_link "$LINENO"; then :
12192 ac_cv_cflags__fno_strict_aliasing=yes
12193 else
12194 ac_cv_cflags__fno_strict_aliasing=no
12196 rm -f core conftest.err conftest.$ac_objext \
12197 conftest$ac_exeext conftest.$ac_ext
12198 CFLAGS=$ac_wine_try_cflags_saved
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12201 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
12202 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
12203 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
12205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12206 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
12207 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
12208 $as_echo_n "(cached) " >&6
12209 else
12210 ac_wine_try_cflags_saved=$CFLAGS
12211 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
12212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12213 /* end confdefs.h. */
12214 int main(int argc, char **argv) { return 0; }
12215 _ACEOF
12216 if ac_fn_c_try_link "$LINENO"; then :
12217 ac_cv_cflags__Wdeclaration_after_statement=yes
12218 else
12219 ac_cv_cflags__Wdeclaration_after_statement=no
12221 rm -f core conftest.err conftest.$ac_objext \
12222 conftest$ac_exeext conftest.$ac_ext
12223 CFLAGS=$ac_wine_try_cflags_saved
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12226 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12227 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
12228 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
12231 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
12232 if ${ac_cv_cflags__Wempty_body+:} false; then :
12233 $as_echo_n "(cached) " >&6
12234 else
12235 ac_wine_try_cflags_saved=$CFLAGS
12236 CFLAGS="$CFLAGS -Wempty-body"
12237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12238 /* end confdefs.h. */
12239 int main(int argc, char **argv) { return 0; }
12240 _ACEOF
12241 if ac_fn_c_try_link "$LINENO"; then :
12242 ac_cv_cflags__Wempty_body=yes
12243 else
12244 ac_cv_cflags__Wempty_body=no
12246 rm -f core conftest.err conftest.$ac_objext \
12247 conftest$ac_exeext conftest.$ac_ext
12248 CFLAGS=$ac_wine_try_cflags_saved
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
12251 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
12252 if test $ac_cv_cflags__Wempty_body = yes; then :
12253 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
12256 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
12257 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
12258 $as_echo_n "(cached) " >&6
12259 else
12260 ac_wine_try_cflags_saved=$CFLAGS
12261 CFLAGS="$CFLAGS -Wignored-qualifiers"
12262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12263 /* end confdefs.h. */
12264 int main(int argc, char **argv) { return 0; }
12265 _ACEOF
12266 if ac_fn_c_try_link "$LINENO"; then :
12267 ac_cv_cflags__Wignored_qualifiers=yes
12268 else
12269 ac_cv_cflags__Wignored_qualifiers=no
12271 rm -f core conftest.err conftest.$ac_objext \
12272 conftest$ac_exeext conftest.$ac_ext
12273 CFLAGS=$ac_wine_try_cflags_saved
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
12276 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
12277 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
12278 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
12281 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
12282 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
12283 $as_echo_n "(cached) " >&6
12284 else
12285 ac_wine_try_cflags_saved=$CFLAGS
12286 CFLAGS="$CFLAGS -Wstrict-prototypes"
12287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12288 /* end confdefs.h. */
12289 int main(int argc, char **argv) { return 0; }
12290 _ACEOF
12291 if ac_fn_c_try_link "$LINENO"; then :
12292 ac_cv_cflags__Wstrict_prototypes=yes
12293 else
12294 ac_cv_cflags__Wstrict_prototypes=no
12296 rm -f core conftest.err conftest.$ac_objext \
12297 conftest$ac_exeext conftest.$ac_ext
12298 CFLAGS=$ac_wine_try_cflags_saved
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
12301 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
12302 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
12303 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
12305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
12306 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
12307 if ${ac_cv_cflags__Wtype_limits+:} false; then :
12308 $as_echo_n "(cached) " >&6
12309 else
12310 ac_wine_try_cflags_saved=$CFLAGS
12311 CFLAGS="$CFLAGS -Wtype-limits"
12312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12313 /* end confdefs.h. */
12314 int main(int argc, char **argv) { return 0; }
12315 _ACEOF
12316 if ac_fn_c_try_link "$LINENO"; then :
12317 ac_cv_cflags__Wtype_limits=yes
12318 else
12319 ac_cv_cflags__Wtype_limits=no
12321 rm -f core conftest.err conftest.$ac_objext \
12322 conftest$ac_exeext conftest.$ac_ext
12323 CFLAGS=$ac_wine_try_cflags_saved
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
12326 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
12327 if test $ac_cv_cflags__Wtype_limits = yes; then :
12328 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
12331 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
12332 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
12333 $as_echo_n "(cached) " >&6
12334 else
12335 ac_wine_try_cflags_saved=$CFLAGS
12336 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
12337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12338 /* end confdefs.h. */
12339 int main(int argc, char **argv) { return 0; }
12340 _ACEOF
12341 if ac_fn_c_try_link "$LINENO"; then :
12342 ac_cv_cflags__Wunused_but_set_parameter=yes
12343 else
12344 ac_cv_cflags__Wunused_but_set_parameter=no
12346 rm -f core conftest.err conftest.$ac_objext \
12347 conftest$ac_exeext conftest.$ac_ext
12348 CFLAGS=$ac_wine_try_cflags_saved
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
12351 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
12352 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
12353 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
12356 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
12357 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
12358 $as_echo_n "(cached) " >&6
12359 else
12360 ac_wine_try_cflags_saved=$CFLAGS
12361 CFLAGS="$CFLAGS -Wwrite-strings"
12362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12363 /* end confdefs.h. */
12364 int main(int argc, char **argv) { return 0; }
12365 _ACEOF
12366 if ac_fn_c_try_link "$LINENO"; then :
12367 ac_cv_cflags__Wwrite_strings=yes
12368 else
12369 ac_cv_cflags__Wwrite_strings=no
12371 rm -f core conftest.err conftest.$ac_objext \
12372 conftest$ac_exeext conftest.$ac_ext
12373 CFLAGS=$ac_wine_try_cflags_saved
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
12376 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
12377 if test $ac_cv_cflags__Wwrite_strings = yes; then :
12378 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
12381 case $host_cpu in
12382 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
12383 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
12384 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
12385 $as_echo_n "(cached) " >&6
12386 else
12387 ac_wine_try_cflags_saved=$CFLAGS
12388 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
12389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12390 /* end confdefs.h. */
12391 int main(int argc, char **argv) { return 0; }
12392 _ACEOF
12393 if ac_fn_c_try_link "$LINENO"; then :
12394 ac_cv_cflags__fno_omit_frame_pointer=yes
12395 else
12396 ac_cv_cflags__fno_omit_frame_pointer=no
12398 rm -f core conftest.err conftest.$ac_objext \
12399 conftest$ac_exeext conftest.$ac_ext
12400 CFLAGS=$ac_wine_try_cflags_saved
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
12403 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
12404 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
12405 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
12406 fi ;;
12407 esac
12409 case $host in
12410 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
12411 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
12412 if ${ac_cv_cflags__Wno_format+:} false; then :
12413 $as_echo_n "(cached) " >&6
12414 else
12415 ac_wine_try_cflags_saved=$CFLAGS
12416 CFLAGS="$CFLAGS -Wno-format"
12417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12418 /* end confdefs.h. */
12419 int main(int argc, char **argv) { return 0; }
12420 _ACEOF
12421 if ac_fn_c_try_link "$LINENO"; then :
12422 ac_cv_cflags__Wno_format=yes
12423 else
12424 ac_cv_cflags__Wno_format=no
12426 rm -f core conftest.err conftest.$ac_objext \
12427 conftest$ac_exeext conftest.$ac_ext
12428 CFLAGS=$ac_wine_try_cflags_saved
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
12431 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
12432 if test $ac_cv_cflags__Wno_format = yes; then :
12433 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
12434 fi ;;
12435 esac
12437 saved_CFLAGS="$CFLAGS"
12438 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
12440 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
12441 if ${ac_cv_c_string_h_warnings+:} false; then :
12442 $as_echo_n "(cached) " >&6
12443 else
12444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12445 /* end confdefs.h. */
12446 #include <string.h>
12448 main ()
12452 return 0;
12454 _ACEOF
12455 if ac_fn_c_try_compile "$LINENO"; then :
12456 ac_cv_c_string_h_warnings=no
12457 else
12458 ac_cv_c_string_h_warnings=yes
12460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
12463 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
12464 CFLAGS="$saved_CFLAGS"
12465 if test "$ac_cv_c_string_h_warnings" = "no"
12466 then
12467 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12470 saved_CFLAGS="$CFLAGS"
12471 CFLAGS="$CFLAGS -Wlogical-op -Werror"
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
12473 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
12474 if ${ac_cv_c_logicalop_noisy+:} false; then :
12475 $as_echo_n "(cached) " >&6
12476 else
12477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12478 /* end confdefs.h. */
12479 #include <string.h>
12481 main ()
12483 char*f(const char *h,char n) {return strchr(h,n);}
12485 return 0;
12487 _ACEOF
12488 if ac_fn_c_try_compile "$LINENO"; then :
12489 ac_cv_c_logicalop_noisy=no
12490 else
12491 ac_cv_c_logicalop_noisy=yes
12493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
12496 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
12497 CFLAGS="$saved_CFLAGS"
12498 if test "$ac_cv_c_logicalop_noisy" = "no"
12499 then
12500 EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
12503 if test "x$enable_maintainer_mode" = "xyes"
12504 then
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
12506 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
12507 if ${ac_cv_cflags__Werror+:} false; then :
12508 $as_echo_n "(cached) " >&6
12509 else
12510 ac_wine_try_cflags_saved=$CFLAGS
12511 CFLAGS="$CFLAGS -Werror"
12512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12513 /* end confdefs.h. */
12514 int main(int argc, char **argv) { return 0; }
12515 _ACEOF
12516 if ac_fn_c_try_link "$LINENO"; then :
12517 ac_cv_cflags__Werror=yes
12518 else
12519 ac_cv_cflags__Werror=no
12521 rm -f core conftest.err conftest.$ac_objext \
12522 conftest$ac_exeext conftest.$ac_ext
12523 CFLAGS=$ac_wine_try_cflags_saved
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
12526 $as_echo "$ac_cv_cflags__Werror" >&6; }
12527 if test $ac_cv_cflags__Werror = yes; then :
12528 EXTRACFLAGS="$EXTRACFLAGS -Werror"
12532 saved_CFLAGS="$CFLAGS"
12533 CFLAGS="$CFLAGS -Werror"
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
12535 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
12536 if ${ac_cv_have_ms_hook_prologue+:} false; then :
12537 $as_echo_n "(cached) " >&6
12538 else
12539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12540 /* end confdefs.h. */
12541 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
12543 main ()
12547 return 0;
12549 _ACEOF
12550 if ac_fn_c_try_compile "$LINENO"; then :
12551 ac_cv_have_ms_hook_prologue="yes"
12552 else
12553 ac_cv_have_ms_hook_prologue="no"
12555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
12558 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
12559 CFLAGS="$saved_CFLAGS"
12560 if test "$ac_cv_have_ms_hook_prologue" = "yes"
12561 then
12563 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
12565 else
12566 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
12573 $as_echo_n "checking for the need to disable Fortify... " >&6; }
12574 if ${ac_cv_c_fortify_enabled+:} false; then :
12575 $as_echo_n "(cached) " >&6
12576 else
12577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12578 /* end confdefs.h. */
12579 #include <string.h>
12581 main ()
12583 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
12584 #error Fortify enabled
12585 #endif
12587 return 0;
12589 _ACEOF
12590 if ac_fn_c_try_compile "$LINENO"; then :
12591 ac_cv_c_fortify_enabled=no
12592 else
12593 ac_cv_c_fortify_enabled=yes
12595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
12598 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
12599 if test "$ac_cv_c_fortify_enabled" = yes
12600 then
12601 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
12605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
12606 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
12607 if ${ac_cv_c_extern_prefix+:} false; then :
12608 $as_echo_n "(cached) " >&6
12609 else
12610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12611 /* end confdefs.h. */
12612 extern int ac_test;
12614 main ()
12616 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
12618 return 0;
12620 _ACEOF
12621 if ac_fn_c_try_link "$LINENO"; then :
12622 ac_cv_c_extern_prefix="yes"
12623 else
12624 ac_cv_c_extern_prefix="no"
12626 rm -f core conftest.err conftest.$ac_objext \
12627 conftest$ac_exeext conftest.$ac_ext
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
12630 $as_echo "$ac_cv_c_extern_prefix" >&6; }
12632 case $host_cpu in
12633 *i[3456789]86*)
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
12635 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
12636 if ${ac_cv_c_stdcall_suffix+:} false; then :
12637 $as_echo_n "(cached) " >&6
12638 else
12639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12640 /* end confdefs.h. */
12641 #ifndef _MSC_VER
12642 #define __stdcall __attribute__((__stdcall__))
12643 #endif
12644 int __stdcall ac_test(int i) { return i; }
12646 main ()
12648 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
12650 return 0;
12652 _ACEOF
12653 if ac_fn_c_try_link "$LINENO"; then :
12654 ac_cv_c_stdcall_suffix="yes"
12655 else
12656 ac_cv_c_stdcall_suffix="no"
12658 rm -f core conftest.err conftest.$ac_objext \
12659 conftest$ac_exeext conftest.$ac_ext
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
12662 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
12663 *) ac_cv_c_stdcall_suffix="no" ;;
12664 esac
12667 if test "$ac_cv_c_extern_prefix" = "yes"
12668 then
12669 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
12671 asm_name_prefix="_"
12672 else
12673 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
12675 asm_name_prefix=""
12679 if test "$ac_cv_c_stdcall_suffix" = "yes"
12680 then
12681 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
12683 else
12684 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
12689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
12690 $as_echo_n "checking how to define a function in assembly code... " >&6; }
12691 if ${ac_cv_asm_func_def+:} false; then :
12692 $as_echo_n "(cached) " >&6
12693 else
12694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12695 /* end confdefs.h. */
12698 main ()
12700 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
12702 return 0;
12704 _ACEOF
12705 if ac_fn_c_try_link "$LINENO"; then :
12706 ac_cv_asm_func_def=".def"
12707 else
12708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12709 /* end confdefs.h. */
12712 main ()
12714 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
12716 return 0;
12718 _ACEOF
12719 if ac_fn_c_try_link "$LINENO"; then :
12720 ac_cv_asm_func_def=".type @function"
12721 else
12722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12723 /* end confdefs.h. */
12726 main ()
12728 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
12730 return 0;
12732 _ACEOF
12733 if ac_fn_c_try_link "$LINENO"; then :
12734 ac_cv_asm_func_def=".type 2"
12735 else
12736 ac_cv_asm_func_def="unknown"
12738 rm -f core conftest.err conftest.$ac_objext \
12739 conftest$ac_exeext conftest.$ac_ext
12741 rm -f core conftest.err conftest.$ac_objext \
12742 conftest$ac_exeext conftest.$ac_ext
12744 rm -f core conftest.err conftest.$ac_objext \
12745 conftest$ac_exeext conftest.$ac_ext
12747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
12748 $as_echo "$ac_cv_asm_func_def" >&6; }
12751 case "$ac_cv_asm_func_def" in
12752 ".def")
12753 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
12755 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
12756 ".type @function")
12757 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
12759 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
12760 ".type 2")
12761 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
12763 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
12765 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
12767 asm_func_header="" ;;
12768 esac
12770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
12771 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
12772 if ${ac_cv_c_asm_outside_funcs+:} false; then :
12773 $as_echo_n "(cached) " >&6
12774 else
12775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12776 /* end confdefs.h. */
12777 asm(".text\n\t.long 0");
12779 main ()
12783 return 0;
12785 _ACEOF
12786 if ac_fn_c_try_compile "$LINENO"; then :
12787 ac_cv_c_asm_outside_funcs="yes"
12788 else
12789 ac_cv_c_asm_outside_funcs="no"
12791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
12794 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
12796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
12797 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
12798 if ${ac_cv_c_dot_previous+:} false; then :
12799 $as_echo_n "(cached) " >&6
12800 else
12801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12802 /* end confdefs.h. */
12805 main ()
12807 asm(".text\nac_test:\t.long 0\n\t.previous");
12809 return 0;
12811 _ACEOF
12812 if ac_fn_c_try_link "$LINENO"; then :
12813 ac_cv_c_dot_previous="yes"
12814 else
12815 ac_cv_c_dot_previous="no"
12817 rm -f core conftest.err conftest.$ac_objext \
12818 conftest$ac_exeext conftest.$ac_ext
12820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
12821 $as_echo "$ac_cv_c_dot_previous" >&6; }
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
12824 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
12825 if ${ac_cv_c_cfi_support+:} false; then :
12826 $as_echo_n "(cached) " >&6
12827 else
12828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12829 /* end confdefs.h. */
12830 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
12832 main ()
12836 return 0;
12838 _ACEOF
12839 if ac_fn_c_try_compile "$LINENO"; then :
12840 ac_cv_c_cfi_support="yes"
12841 else
12842 ac_cv_c_cfi_support="no"
12844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
12847 $as_echo "$ac_cv_c_cfi_support" >&6; }
12849 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
12850 asm_func_trailer=""
12851 if test "$ac_cv_c_dot_previous" = "yes"
12852 then
12853 asm_func_trailer="\\n\\t.previous"
12855 if test "$ac_cv_c_cfi_support" = "yes"
12856 then
12857 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
12858 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
12860 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
12862 UNWINDFLAGS=-fasynchronous-unwind-tables
12864 else
12865 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
12869 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
12872 if test "$ac_cv_c_asm_outside_funcs" = "yes"
12873 then
12874 cat >>confdefs.h <<_ACEOF
12875 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
12876 _ACEOF
12878 else
12879 cat >>confdefs.h <<_ACEOF
12880 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
12881 _ACEOF
12885 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
12888 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
12892 LDPATH=""
12894 case $build_os in
12895 cygwin*|mingw32*)
12896 TOOLSEXT=".exe"
12898 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
12900 darwin*|macosx*)
12903 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
12905 esac
12907 case $host_os in
12908 mingw32*)
12909 CRTLIBS="-lmsvcrt"
12911 SOCKETLIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
12914 esac
12916 MAIN_BINARY="wine"
12918 test "x$enable_win64" != "xyes" || MAIN_BINARY="wine64"
12920 case $host_os in
12921 linux*)
12922 case $host_cpu in
12923 *i[3456789]86*) EXTRA_BINARIES="wine-preloader"
12925 x86_64*) EXTRA_BINARIES="wine64-preloader"
12927 esac
12929 esac
12932 ac_save_CFLAGS="$CFLAGS"
12933 CFLAGS="$CFLAGS $BUILTINFLAG"
12934 for ac_func in \
12935 _finite \
12936 _isnan \
12937 _pclose \
12938 _popen \
12939 _snprintf \
12940 _spawnvp \
12941 _strdup \
12942 _stricmp \
12943 _strnicmp \
12944 _strtoi64 \
12945 _strtoui64 \
12946 _vsnprintf \
12947 asctime_r \
12948 chsize \
12949 dlopen \
12950 epoll_create \
12951 ffs \
12952 finite \
12953 fnmatch \
12954 fork \
12955 fpclass \
12956 fstatfs \
12957 fstatvfs \
12958 ftruncate \
12959 futimes \
12960 futimesat \
12961 getattrlist \
12962 getdirentries \
12963 getopt_long \
12964 getpagesize \
12965 getpwuid \
12966 gettimeofday \
12967 getuid \
12968 kqueue \
12969 lstat \
12970 memmove \
12971 mmap \
12972 pclose \
12973 pipe2 \
12974 poll \
12975 popen \
12976 port_create \
12977 prctl \
12978 pread \
12979 pwrite \
12980 readdir \
12981 readlink \
12982 sched_yield \
12983 select \
12984 setproctitle \
12985 setrlimit \
12986 settimeofday \
12987 sigaltstack \
12988 sigprocmask \
12989 snprintf \
12990 spawnvp \
12991 statfs \
12992 statvfs \
12993 strcasecmp \
12994 strdup \
12995 strerror \
12996 strncasecmp \
12997 strtold \
12998 strtoll \
12999 strtoull \
13000 symlink \
13001 tcgetattr \
13002 thr_kill2 \
13003 timegm \
13004 usleep \
13005 vsnprintf \
13006 wait4 \
13007 waitpid \
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
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13516 $as_echo_n "checking for inline... " >&6; }
13517 if ${ac_cv_c_inline+:} false; then :
13518 $as_echo_n "(cached) " >&6
13519 else
13520 ac_cv_c_inline=no
13521 for ac_kw in inline __inline__ __inline; do
13522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13523 /* end confdefs.h. */
13524 #ifndef __cplusplus
13525 typedef int foo_t;
13526 static $ac_kw foo_t static_foo () {return 0; }
13527 $ac_kw foo_t foo () {return 0; }
13528 #endif
13530 _ACEOF
13531 if ac_fn_c_try_compile "$LINENO"; then :
13532 ac_cv_c_inline=$ac_kw
13534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13535 test "$ac_cv_c_inline" != no && break
13536 done
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
13540 $as_echo "$ac_cv_c_inline" >&6; }
13542 case $ac_cv_c_inline in
13543 inline | yes) ;;
13545 case $ac_cv_c_inline in
13546 no) ac_val=;;
13547 *) ac_val=$ac_cv_c_inline;;
13548 esac
13549 cat >>confdefs.h <<_ACEOF
13550 #ifndef __cplusplus
13551 #define inline $ac_val
13552 #endif
13553 _ACEOF
13555 esac
13557 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
13558 if test "x$ac_cv_type_mode_t" = xyes; then :
13560 cat >>confdefs.h <<_ACEOF
13561 #define HAVE_MODE_T 1
13562 _ACEOF
13566 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
13567 if test "x$ac_cv_type_off_t" = xyes; then :
13569 cat >>confdefs.h <<_ACEOF
13570 #define HAVE_OFF_T 1
13571 _ACEOF
13575 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
13576 if test "x$ac_cv_type_pid_t" = xyes; then :
13578 cat >>confdefs.h <<_ACEOF
13579 #define HAVE_PID_T 1
13580 _ACEOF
13584 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13585 if test "x$ac_cv_type_size_t" = xyes; then :
13587 cat >>confdefs.h <<_ACEOF
13588 #define HAVE_SIZE_T 1
13589 _ACEOF
13593 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
13594 if test "x$ac_cv_type_ssize_t" = xyes; then :
13596 cat >>confdefs.h <<_ACEOF
13597 #define HAVE_SSIZE_T 1
13598 _ACEOF
13602 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
13603 if test "x$ac_cv_type_long_long" = xyes; then :
13605 cat >>confdefs.h <<_ACEOF
13606 #define HAVE_LONG_LONG 1
13607 _ACEOF
13611 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
13612 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
13614 cat >>confdefs.h <<_ACEOF
13615 #define HAVE_FSBLKCNT_T 1
13616 _ACEOF
13620 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
13621 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
13623 cat >>confdefs.h <<_ACEOF
13624 #define HAVE_FSFILCNT_T 1
13625 _ACEOF
13630 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
13631 #include <signal.h>
13633 if test "x$ac_cv_type_sigset_t" = xyes; then :
13635 cat >>confdefs.h <<_ACEOF
13636 #define HAVE_SIGSET_T 1
13637 _ACEOF
13642 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
13644 if test "x$ac_cv_type_request_sense" = xyes; then :
13646 cat >>confdefs.h <<_ACEOF
13647 #define HAVE_REQUEST_SENSE 1
13648 _ACEOF
13654 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
13655 #ifdef HAVE_SYS_SOCKET_H
13656 #include <sys/socket.h>
13657 #endif
13658 #ifdef HAVE_SYS_SOCKETVAR_H
13659 #include <sys/socketvar.h>
13660 #endif
13661 #ifdef HAVE_NET_ROUTE_H
13662 #include <net/route.h>
13663 #endif
13664 #ifdef HAVE_NETINET_IN_H
13665 #include <netinet/in.h>
13666 #endif
13667 #ifdef HAVE_NETINET_IN_SYSTM_H
13668 #include <netinet/in_systm.h>
13669 #endif
13670 #ifdef HAVE_NETINET_IP_H
13671 #include <netinet/ip.h>
13672 #endif
13673 #ifdef HAVE_NETINET_IN_PCB_H
13674 #include <netinet/in_pcb.h>
13675 #endif
13677 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
13679 cat >>confdefs.h <<_ACEOF
13680 #define HAVE_STRUCT_XINPGEN 1
13681 _ACEOF
13687 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
13688 #include <linux/input.h>
13689 #endif
13691 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
13693 cat >>confdefs.h <<_ACEOF
13694 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
13695 _ACEOF
13701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
13702 $as_echo_n "checking for sigaddset... " >&6; }
13703 if ${wine_cv_have_sigaddset+:} false; then :
13704 $as_echo_n "(cached) " >&6
13705 else
13706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13707 /* end confdefs.h. */
13708 #include <signal.h>
13710 main ()
13712 sigset_t set; sigaddset(&set,SIGTERM);
13714 return 0;
13716 _ACEOF
13717 if ac_fn_c_try_link "$LINENO"; then :
13718 wine_cv_have_sigaddset=yes
13719 else
13720 wine_cv_have_sigaddset=no
13722 rm -f core conftest.err conftest.$ac_objext \
13723 conftest$ac_exeext conftest.$ac_ext
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
13726 $as_echo "$wine_cv_have_sigaddset" >&6; }
13727 if test "$wine_cv_have_sigaddset" = "yes"
13728 then
13730 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
13735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
13736 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
13737 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
13738 $as_echo_n "(cached) " >&6
13739 else
13740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13741 /* end confdefs.h. */
13742 #include <netdb.h>
13744 main ()
13747 char *name=0;
13748 struct hostent he;
13749 struct hostent *result;
13750 char *buf=0;
13751 int bufsize=0;
13752 int errnr;
13753 char *addr=0;
13754 int addrlen=0;
13755 int addrtype=0;
13756 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
13757 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
13760 return 0;
13762 _ACEOF
13763 if ac_fn_c_try_link "$LINENO"; then :
13764 wine_cv_linux_gethostbyname_r_6=yes
13765 else
13766 wine_cv_linux_gethostbyname_r_6=no
13769 rm -f core conftest.err conftest.$ac_objext \
13770 conftest$ac_exeext conftest.$ac_ext
13773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
13774 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
13775 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
13776 then
13778 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
13782 if test "$ac_cv_header_linux_joystick_h" = "yes"
13783 then
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
13785 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
13786 if ${wine_cv_linux_joystick_22_api+:} false; then :
13787 $as_echo_n "(cached) " >&6
13788 else
13789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13790 /* end confdefs.h. */
13792 #include <sys/ioctl.h>
13793 #include <sys/types.h>
13794 #include <linux/joystick.h>
13796 struct js_event blub;
13797 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
13798 #error "no 2.2 header"
13799 #endif
13802 main ()
13804 /*empty*/
13806 return 0;
13808 _ACEOF
13809 if ac_fn_c_try_compile "$LINENO"; then :
13810 wine_cv_linux_joystick_22_api=yes
13811 else
13812 wine_cv_linux_joystick_22_api=no
13814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
13818 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
13819 if test "$wine_cv_linux_joystick_22_api" = "yes"
13820 then
13822 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
13828 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
13829 #ifdef HAVE_SYS_PARAM_H
13830 # include <sys/param.h>
13831 #endif
13832 #ifdef HAVE_SYS_MOUNT_H
13833 # include <sys/mount.h>
13834 #endif
13835 #ifdef HAVE_SYS_VFS_H
13836 # include <sys/vfs.h>
13837 #endif
13838 #ifdef HAVE_SYS_STATFS_H
13839 # include <sys/statfs.h>
13840 #endif
13842 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
13844 cat >>confdefs.h <<_ACEOF
13845 #define HAVE_STRUCT_STATFS_F_BFREE 1
13846 _ACEOF
13850 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
13851 #ifdef HAVE_SYS_PARAM_H
13852 # include <sys/param.h>
13853 #endif
13854 #ifdef HAVE_SYS_MOUNT_H
13855 # include <sys/mount.h>
13856 #endif
13857 #ifdef HAVE_SYS_VFS_H
13858 # include <sys/vfs.h>
13859 #endif
13860 #ifdef HAVE_SYS_STATFS_H
13861 # include <sys/statfs.h>
13862 #endif
13864 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
13866 cat >>confdefs.h <<_ACEOF
13867 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
13868 _ACEOF
13872 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
13873 #ifdef HAVE_SYS_PARAM_H
13874 # include <sys/param.h>
13875 #endif
13876 #ifdef HAVE_SYS_MOUNT_H
13877 # include <sys/mount.h>
13878 #endif
13879 #ifdef HAVE_SYS_VFS_H
13880 # include <sys/vfs.h>
13881 #endif
13882 #ifdef HAVE_SYS_STATFS_H
13883 # include <sys/statfs.h>
13884 #endif
13886 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
13888 cat >>confdefs.h <<_ACEOF
13889 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
13890 _ACEOF
13894 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
13895 #ifdef HAVE_SYS_PARAM_H
13896 # include <sys/param.h>
13897 #endif
13898 #ifdef HAVE_SYS_MOUNT_H
13899 # include <sys/mount.h>
13900 #endif
13901 #ifdef HAVE_SYS_VFS_H
13902 # include <sys/vfs.h>
13903 #endif
13904 #ifdef HAVE_SYS_STATFS_H
13905 # include <sys/statfs.h>
13906 #endif
13908 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
13910 cat >>confdefs.h <<_ACEOF
13911 #define HAVE_STRUCT_STATFS_F_FFREE 1
13912 _ACEOF
13916 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
13917 #ifdef HAVE_SYS_PARAM_H
13918 # include <sys/param.h>
13919 #endif
13920 #ifdef HAVE_SYS_MOUNT_H
13921 # include <sys/mount.h>
13922 #endif
13923 #ifdef HAVE_SYS_VFS_H
13924 # include <sys/vfs.h>
13925 #endif
13926 #ifdef HAVE_SYS_STATFS_H
13927 # include <sys/statfs.h>
13928 #endif
13930 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
13932 cat >>confdefs.h <<_ACEOF
13933 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
13934 _ACEOF
13938 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
13939 #ifdef HAVE_SYS_PARAM_H
13940 # include <sys/param.h>
13941 #endif
13942 #ifdef HAVE_SYS_MOUNT_H
13943 # include <sys/mount.h>
13944 #endif
13945 #ifdef HAVE_SYS_VFS_H
13946 # include <sys/vfs.h>
13947 #endif
13948 #ifdef HAVE_SYS_STATFS_H
13949 # include <sys/statfs.h>
13950 #endif
13952 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
13954 cat >>confdefs.h <<_ACEOF
13955 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
13956 _ACEOF
13962 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
13963 #include <sys/statvfs.h>
13964 #endif
13966 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
13968 cat >>confdefs.h <<_ACEOF
13969 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
13970 _ACEOF
13976 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
13977 #include <dirent.h>
13978 #endif
13980 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
13982 cat >>confdefs.h <<_ACEOF
13983 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
13984 _ACEOF
13990 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
13991 #ifdef HAVE_SYS_SOCKET_H
13992 # include <sys/socket.h>
13993 #endif
13994 #ifdef HAVE_SYS_UN_H
13995 # include <sys/un.h>
13996 #endif
13998 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
14000 cat >>confdefs.h <<_ACEOF
14001 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
14002 _ACEOF
14006 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
14007 #ifdef HAVE_SYS_SOCKET_H
14008 # include <sys/socket.h>
14009 #endif
14010 #ifdef HAVE_SYS_UN_H
14011 # include <sys/un.h>
14012 #endif
14014 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
14016 cat >>confdefs.h <<_ACEOF
14017 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
14018 _ACEOF
14022 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
14023 #ifdef HAVE_SYS_SOCKET_H
14024 # include <sys/socket.h>
14025 #endif
14026 #ifdef HAVE_SYS_UN_H
14027 # include <sys/un.h>
14028 #endif
14030 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
14032 cat >>confdefs.h <<_ACEOF
14033 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
14034 _ACEOF
14040 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
14041 #ifdef HAVE_SCSI_SG_H
14042 #include <scsi/sg.h>
14043 #endif
14045 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
14047 cat >>confdefs.h <<_ACEOF
14048 #define HAVE_SCSIREQ_T_CMD 1
14049 _ACEOF
14053 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>
14054 #ifdef HAVE_SCSI_SG_H
14055 #include <scsi/sg.h>
14056 #endif
14058 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
14060 cat >>confdefs.h <<_ACEOF
14061 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
14062 _ACEOF
14068 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
14070 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
14072 cat >>confdefs.h <<_ACEOF
14073 #define HAVE_SIGINFO_T_SI_FD 1
14074 _ACEOF
14080 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
14081 #ifdef HAVE_SYS_MTIO_H
14082 #include <sys/mtio.h>
14083 #endif
14085 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
14087 cat >>confdefs.h <<_ACEOF
14088 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
14089 _ACEOF
14093 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
14094 #ifdef HAVE_SYS_MTIO_H
14095 #include <sys/mtio.h>
14096 #endif
14098 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
14100 cat >>confdefs.h <<_ACEOF
14101 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
14102 _ACEOF
14106 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
14107 #ifdef HAVE_SYS_MTIO_H
14108 #include <sys/mtio.h>
14109 #endif
14111 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
14113 cat >>confdefs.h <<_ACEOF
14114 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
14115 _ACEOF
14121 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
14122 #include <getopt.h>
14123 #endif
14125 if test "x$ac_cv_member_struct_option_name" = xyes; then :
14127 cat >>confdefs.h <<_ACEOF
14128 #define HAVE_STRUCT_OPTION_NAME 1
14129 _ACEOF
14135 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
14136 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
14138 cat >>confdefs.h <<_ACEOF
14139 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
14140 _ACEOF
14144 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
14145 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
14147 cat >>confdefs.h <<_ACEOF
14148 #define HAVE_STRUCT_STAT_ST_MTIM 1
14149 _ACEOF
14153 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
14154 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
14156 cat >>confdefs.h <<_ACEOF
14157 #define HAVE_STRUCT_STAT_ST_CTIM 1
14158 _ACEOF
14162 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
14163 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
14165 cat >>confdefs.h <<_ACEOF
14166 #define HAVE_STRUCT_STAT_ST_ATIM 1
14167 _ACEOF
14173 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
14174 #include <sys/types.h>
14175 #endif
14176 #ifdef HAVE_NETINET_IN_H
14177 #include <netinet/in.h>
14178 #endif
14180 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
14182 cat >>confdefs.h <<_ACEOF
14183 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
14184 _ACEOF
14190 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
14191 #include <sys/types.h>
14192 #endif
14193 #ifdef HAVE_NETINET_IN_H
14194 # include <netinet/in.h>
14195 #endif
14196 #ifdef HAVE_ARPA_NAMESER_H
14197 # include <arpa/nameser.h>
14198 #endif
14200 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
14202 cat >>confdefs.h <<_ACEOF
14203 #define HAVE_NS_MSG__MSG_PTR 1
14204 _ACEOF
14210 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_NETINET_ICMP_VAR
14211 #include <netinet/icmp_var.h>
14212 #endif
14214 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
14216 cat >>confdefs.h <<_ACEOF
14217 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
14218 _ACEOF
14224 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
14225 #include <sys/types.h>
14226 #endif
14227 #ifdef HAVE_ALIAS_H
14228 #include <alias.h>
14229 #endif
14230 #ifdef HAVE_SYS_SOCKET_H
14231 #include <sys/socket.h>
14232 #endif
14233 #ifdef HAVE_SYS_SOCKETVAR_H
14234 #include <sys/socketvar.h>
14235 #endif
14236 #ifdef HAVE_SYS_TIMEOUT_H
14237 #include <sys/timeout.h>
14238 #endif
14239 #ifdef HAVE_NETINET_IN_H
14240 #include <netinet/in.h>
14241 #endif
14242 #ifdef HAVE_NETINET_IN_SYSTM_H
14243 #include <netinet/in_systm.h>
14244 #endif
14245 #ifdef HAVE_NETINET_IP_H
14246 #include <netinet/ip.h>
14247 #endif
14248 #ifdef HAVE_NETINET_IP_VAR_H
14249 #include <netinet/ip_var.h>
14250 #endif
14251 #ifdef HAVE_NETINET_IP_ICMP_H
14252 #include <netinet/ip_icmp.h>
14253 #endif
14254 #ifdef HAVE_NETINET_ICMP_VAR
14255 #include <netinet/icmp_var.h>
14256 #endif
14258 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
14260 cat >>confdefs.h <<_ACEOF
14261 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
14262 _ACEOF
14268 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_NETINET_IP_VAR_H
14269 #include <netinet/ip_var.h>
14270 #endif
14272 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
14274 cat >>confdefs.h <<_ACEOF
14275 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
14276 _ACEOF
14282 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
14283 #include <netinet/ip_var.h>
14284 #endif
14286 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
14288 cat >>confdefs.h <<_ACEOF
14289 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
14290 _ACEOF
14296 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_NETINET_TCP_VAR_H
14297 #include <netinet/tcp_var.h>
14298 #endif
14300 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
14302 cat >>confdefs.h <<_ACEOF
14303 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
14304 _ACEOF
14310 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
14311 #include <netinet/tcp_var.h>
14312 #endif
14314 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
14316 cat >>confdefs.h <<_ACEOF
14317 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
14318 _ACEOF
14324 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_NETINET_UDP_VAR_H
14325 #include <netinet/udp_var.h>
14326 #endif
14328 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
14330 cat >>confdefs.h <<_ACEOF
14331 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
14332 _ACEOF
14338 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
14339 #include <sys/types.h>
14340 #endif
14341 #ifdef HAVE_NET_IF_H
14342 # include <net/if.h>
14343 #endif
14345 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
14347 cat >>confdefs.h <<_ACEOF
14348 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
14349 _ACEOF
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
14356 $as_echo_n "checking for timezone variable... " >&6; }
14357 if ${ac_cv_have_timezone+:} false; then :
14358 $as_echo_n "(cached) " >&6
14359 else
14360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14361 /* end confdefs.h. */
14362 #include <time.h>
14364 main ()
14366 timezone = 1
14368 return 0;
14370 _ACEOF
14371 if ac_fn_c_try_link "$LINENO"; then :
14372 ac_cv_have_timezone="yes"
14373 else
14374 ac_cv_have_timezone="no"
14376 rm -f core conftest.err conftest.$ac_objext \
14377 conftest$ac_exeext conftest.$ac_ext
14379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
14380 $as_echo "$ac_cv_have_timezone" >&6; }
14381 if test "$ac_cv_have_timezone" = "yes"
14382 then
14384 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
14387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
14388 $as_echo_n "checking for daylight variable... " >&6; }
14389 if ${ac_cv_have_daylight+:} false; then :
14390 $as_echo_n "(cached) " >&6
14391 else
14392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14393 /* end confdefs.h. */
14394 #include <time.h>
14396 main ()
14398 daylight = 1
14400 return 0;
14402 _ACEOF
14403 if ac_fn_c_try_link "$LINENO"; then :
14404 ac_cv_have_daylight="yes"
14405 else
14406 ac_cv_have_daylight="no"
14408 rm -f core conftest.err conftest.$ac_objext \
14409 conftest$ac_exeext conftest.$ac_ext
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
14412 $as_echo "$ac_cv_have_daylight" >&6; }
14413 if test "$ac_cv_have_daylight" = "yes"
14414 then
14416 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
14420 ac_save_LIBS="$LIBS"
14421 LIBS="$LIBS -lm"
14422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
14423 $as_echo_n "checking for isinf... " >&6; }
14424 if ${ac_cv_have_isinf+:} false; then :
14425 $as_echo_n "(cached) " >&6
14426 else
14427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14428 /* end confdefs.h. */
14429 #include <math.h>
14431 main ()
14433 float f = 0.0; return isinf(f)
14435 return 0;
14437 _ACEOF
14438 if ac_fn_c_try_link "$LINENO"; then :
14439 ac_cv_have_isinf="yes"
14440 else
14441 ac_cv_have_isinf="no"
14443 rm -f core conftest.err conftest.$ac_objext \
14444 conftest$ac_exeext conftest.$ac_ext
14446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
14447 $as_echo "$ac_cv_have_isinf" >&6; }
14448 if test "$ac_cv_have_isinf" = "yes"
14449 then
14451 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
14455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
14456 $as_echo_n "checking for isnan... " >&6; }
14457 if ${ac_cv_have_isnan+:} false; then :
14458 $as_echo_n "(cached) " >&6
14459 else
14460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14461 /* end confdefs.h. */
14462 #include <math.h>
14464 main ()
14466 float f = 0.0; return isnan(f)
14468 return 0;
14470 _ACEOF
14471 if ac_fn_c_try_link "$LINENO"; then :
14472 ac_cv_have_isnan="yes"
14473 else
14474 ac_cv_have_isnan="no"
14476 rm -f core conftest.err conftest.$ac_objext \
14477 conftest$ac_exeext conftest.$ac_ext
14479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
14480 $as_echo "$ac_cv_have_isnan" >&6; }
14481 if test "$ac_cv_have_isnan" = "yes"
14482 then
14484 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
14487 LIBS="$ac_save_LIBS"
14490 case $host_cpu in
14491 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
14492 $as_echo_n "checking whether we need to define __i386__... " >&6; }
14493 if ${ac_cv_cpp_def___i386__+:} false; then :
14494 $as_echo_n "(cached) " >&6
14495 else
14496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14497 /* end confdefs.h. */
14498 #ifndef __i386__
14500 #endif
14501 _ACEOF
14502 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14503 $EGREP "yes" >/dev/null 2>&1; then :
14504 ac_cv_cpp_def___i386__=yes
14505 else
14506 ac_cv_cpp_def___i386__=no
14508 rm -f conftest*
14511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
14512 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
14513 if test $ac_cv_cpp_def___i386__ = yes; then :
14514 CFLAGS="$CFLAGS -D__i386__"
14515 LINTFLAGS="$LINTFLAGS -D__i386__"
14516 fi ;;
14517 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
14518 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
14519 if ${ac_cv_cpp_def___x86_64__+:} false; then :
14520 $as_echo_n "(cached) " >&6
14521 else
14522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14523 /* end confdefs.h. */
14524 #ifndef __x86_64__
14526 #endif
14527 _ACEOF
14528 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14529 $EGREP "yes" >/dev/null 2>&1; then :
14530 ac_cv_cpp_def___x86_64__=yes
14531 else
14532 ac_cv_cpp_def___x86_64__=no
14534 rm -f conftest*
14537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
14538 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
14539 if test $ac_cv_cpp_def___x86_64__ = yes; then :
14540 CFLAGS="$CFLAGS -D__x86_64__"
14541 LINTFLAGS="$LINTFLAGS -D__x86_64__"
14542 fi ;;
14543 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
14544 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
14545 if ${ac_cv_cpp_def___sparc64__+:} false; then :
14546 $as_echo_n "(cached) " >&6
14547 else
14548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14549 /* end confdefs.h. */
14550 #ifndef __sparc64__
14552 #endif
14553 _ACEOF
14554 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14555 $EGREP "yes" >/dev/null 2>&1; then :
14556 ac_cv_cpp_def___sparc64__=yes
14557 else
14558 ac_cv_cpp_def___sparc64__=no
14560 rm -f conftest*
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
14564 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
14565 if test $ac_cv_cpp_def___sparc64__ = yes; then :
14566 CFLAGS="$CFLAGS -D__sparc64__"
14567 LINTFLAGS="$LINTFLAGS -D__sparc64__"
14568 fi ;;
14569 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
14570 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
14571 if ${ac_cv_cpp_def___sparc__+:} false; then :
14572 $as_echo_n "(cached) " >&6
14573 else
14574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14575 /* end confdefs.h. */
14576 #ifndef __sparc__
14578 #endif
14579 _ACEOF
14580 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14581 $EGREP "yes" >/dev/null 2>&1; then :
14582 ac_cv_cpp_def___sparc__=yes
14583 else
14584 ac_cv_cpp_def___sparc__=no
14586 rm -f conftest*
14589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
14590 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
14591 if test $ac_cv_cpp_def___sparc__ = yes; then :
14592 CFLAGS="$CFLAGS -D__sparc__"
14593 LINTFLAGS="$LINTFLAGS -D__sparc__"
14594 fi ;;
14595 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
14596 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
14597 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
14598 $as_echo_n "(cached) " >&6
14599 else
14600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14601 /* end confdefs.h. */
14602 #ifndef __powerpc64__
14604 #endif
14605 _ACEOF
14606 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14607 $EGREP "yes" >/dev/null 2>&1; then :
14608 ac_cv_cpp_def___powerpc64__=yes
14609 else
14610 ac_cv_cpp_def___powerpc64__=no
14612 rm -f conftest*
14615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
14616 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
14617 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
14618 CFLAGS="$CFLAGS -D__powerpc64__"
14619 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
14620 fi ;;
14621 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
14622 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
14623 if ${ac_cv_cpp_def___powerpc__+:} false; then :
14624 $as_echo_n "(cached) " >&6
14625 else
14626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14627 /* end confdefs.h. */
14628 #ifndef __powerpc__
14630 #endif
14631 _ACEOF
14632 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14633 $EGREP "yes" >/dev/null 2>&1; then :
14634 ac_cv_cpp_def___powerpc__=yes
14635 else
14636 ac_cv_cpp_def___powerpc__=no
14638 rm -f conftest*
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
14642 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
14643 if test $ac_cv_cpp_def___powerpc__ = yes; then :
14644 CFLAGS="$CFLAGS -D__powerpc__"
14645 LINTFLAGS="$LINTFLAGS -D__powerpc__"
14646 fi ;;
14647 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
14648 $as_echo_n "checking whether we need to define __arm__... " >&6; }
14649 if ${ac_cv_cpp_def___arm__+:} false; then :
14650 $as_echo_n "(cached) " >&6
14651 else
14652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14653 /* end confdefs.h. */
14654 #ifndef __arm__
14656 #endif
14657 _ACEOF
14658 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14659 $EGREP "yes" >/dev/null 2>&1; then :
14660 ac_cv_cpp_def___arm__=yes
14661 else
14662 ac_cv_cpp_def___arm__=no
14664 rm -f conftest*
14667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
14668 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
14669 if test $ac_cv_cpp_def___arm__ = yes; then :
14670 CFLAGS="$CFLAGS -D__arm__"
14671 LINTFLAGS="$LINTFLAGS -D__arm__"
14672 fi ;;
14673 esac
14675 case $host_vendor in
14676 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
14677 $as_echo_n "checking whether we need to define __sun__... " >&6; }
14678 if ${ac_cv_cpp_def___sun__+:} false; then :
14679 $as_echo_n "(cached) " >&6
14680 else
14681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14682 /* end confdefs.h. */
14683 #ifndef __sun__
14685 #endif
14686 _ACEOF
14687 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14688 $EGREP "yes" >/dev/null 2>&1; then :
14689 ac_cv_cpp_def___sun__=yes
14690 else
14691 ac_cv_cpp_def___sun__=no
14693 rm -f conftest*
14696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
14697 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
14698 if test $ac_cv_cpp_def___sun__ = yes; then :
14699 CFLAGS="$CFLAGS -D__sun__"
14700 LINTFLAGS="$LINTFLAGS -D__sun__"
14701 fi ;;
14702 esac
14708 ac_config_commands="$ac_config_commands include/stamp-h"
14711 ALL_MAKEFILE_DEPENDS="
14712 # Rules automatically generated by configure
14714 .INIT: Makefile
14715 .MAKEFILEDEPS:
14716 all: Makefile
14717 Makefile: Makefile.in Make.vars.in Make.rules config.status
14718 @./config.status Make.tmp Makefile"
14720 ALL_POT_FILES=""
14721 ALL_TEST_RESOURCES=""
14724 wine_fn_append_file ()
14726 as_fn_append $1 " \\$as_nl $2"
14729 wine_fn_append_rule ()
14731 as_fn_append $1 "$as_nl$2"
14734 wine_fn_has_flag ()
14736 expr ",$2," : ".*,$1,.*" >/dev/null
14739 wine_fn_all_dir_rules ()
14741 ac_dir=$1
14742 ac_alldeps=$2
14743 ac_makedep="\$(MAKEDEP)"
14744 ac_input=Make.vars.in:$ac_dir/Makefile.in
14745 if test $ac_dir != tools
14746 then
14747 ac_alldeps="$2 $ac_makedep"
14749 case $2 in
14750 *.in) ac_input=$ac_input:$2 ;;
14751 *) ac_makedep="$2 $ac_makedep" ;;
14752 esac
14754 wine_fn_append_file ALL_DIRS $ac_dir
14755 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14756 "__clean__: $ac_dir/__clean__
14757 .PHONY: $ac_dir/__clean__
14758 $ac_dir/__clean__: $ac_dir/Makefile
14759 @cd $ac_dir && \$(MAKE) clean
14760 \$(RM) $ac_dir/Makefile
14761 $ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
14762 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
14763 depend: $ac_dir/__depend__
14764 .PHONY: $ac_dir/__depend__
14765 $ac_dir/__depend__: $ac_makedep dummy
14766 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
14769 wine_fn_pot_rules ()
14771 ac_dir=$1
14772 ac_flags=$2
14774 test "x$with_gettextpo" = xyes || return
14776 if wine_fn_has_flag mc $ac_flags
14777 then
14778 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
14779 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14780 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
14781 @cd $ac_dir && \$(MAKE) msg.pot
14782 $ac_dir/msg.pot: tools/wmc include"
14784 if wine_fn_has_flag po $ac_flags
14785 then
14786 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
14787 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14788 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
14789 @cd $ac_dir && \$(MAKE) rsrc.pot
14790 $ac_dir/rsrc.pot: tools/wrc include"
14794 wine_fn_config_makefile ()
14796 ac_dir=$1
14797 ac_enable=$2
14798 ac_flags=$3
14799 ac_rules=$4
14800 if eval test \"x\$"$ac_enable"\" = x"no"; then :
14801 return 0
14804 wine_fn_all_dir_rules $ac_dir ${ac_rules:-Make.rules}
14805 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14806 "all: $ac_dir
14807 .PHONY: $ac_dir
14808 $ac_dir: $ac_dir/Makefile dummy
14809 @cd $ac_dir && \$(MAKE)"
14811 wine_fn_has_flag install-lib $ac_flags || wine_fn_has_flag install-dev $ac_flags || return
14813 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14814 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
14815 $ac_dir/__install__:: $ac_dir
14816 @cd $ac_dir && \$(MAKE) install
14817 $ac_dir/__uninstall__:: $ac_dir/Makefile
14818 @cd $ac_dir && \$(MAKE) uninstall
14819 install:: $ac_dir/__install__
14820 __uninstall__: $ac_dir/__uninstall__"
14822 if wine_fn_has_flag install-lib $ac_flags
14823 then
14824 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14825 ".PHONY: $ac_dir/__install-lib__
14826 $ac_dir/__install-lib__:: $ac_dir
14827 @cd $ac_dir && \$(MAKE) install-lib
14828 install-lib:: $ac_dir/__install-lib__"
14831 if wine_fn_has_flag install-dev $ac_flags
14832 then
14833 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14834 ".PHONY: $ac_dir/__install-dev
14835 $ac_dir/__install-dev__:: $ac_dir
14836 @cd $ac_dir && \$(MAKE) install-dev
14837 install-dev:: $ac_dir/__install-dev__"
14841 wine_fn_config_lib ()
14843 ac_name=$1
14844 ac_flags=$2
14845 ac_dir=dlls/$ac_name
14846 wine_fn_config_makefile $ac_dir enable_$ac_name "$ac_flags" dlls/Makeimplib.rules
14848 if wine_fn_has_flag install-dev $ac_flags
14849 then :
14850 else
14851 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14852 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
14853 $ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir)
14854 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
14855 $ac_dir/__uninstall__::
14856 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
14857 install install-dev:: $ac_dir/__install__
14858 __uninstall__: $ac_dir/__uninstall__"
14861 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "__builddeps__: $ac_dir"
14862 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "$ac_dir: tools/widl tools/winebuild tools/winegcc include"
14865 wine_fn_config_dll ()
14867 ac_name=$1
14868 ac_dir=dlls/$ac_name
14869 ac_enable=$2
14870 ac_flags=$3
14871 ac_implib=${4:-$ac_name}
14872 ac_file=$ac_dir/lib$ac_implib
14873 ac_dll=$ac_name
14874 ac_deps="tools/widl tools/winebuild tools/winegcc include"
14875 ac_implibflags=""
14877 case $ac_name in
14878 *16) ac_implibflags=" -m16" ;;
14879 *.*) ;;
14880 *) ac_dll=$ac_dll.dll ;;
14881 esac
14883 wine_fn_config_makefile $ac_dir $ac_enable "$ac_flags" dlls/Makedll.rules
14885 if eval test \"x\$"$ac_enable"\" = x"no"; then :
14886 test "$ac_enable" != enable_win16 || return 0
14887 wine_fn_has_flag implib $ac_flags && wine_fn_all_dir_rules $ac_dir dlls/Makedll.rules
14888 else
14889 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14890 "$ac_dir: __builddeps__
14891 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
14892 @cd $ac_dir && \$(MAKE) \$@"
14894 if wine_fn_has_flag install-lib $ac_flags
14895 then :
14896 else
14897 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14898 ".PHONY: $ac_dir/__install-lib__ $ac_dir/__uninstall__
14899 install install-lib:: $ac_dir/__install-lib__
14900 __uninstall__: $ac_dir/__uninstall__"
14901 if test -n "$DLLEXT"
14902 then
14903 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14904 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
14905 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
14906 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
14907 $ac_dir/__uninstall__::
14908 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
14909 else
14910 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14911 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
14912 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
14913 $ac_dir/__uninstall__::
14914 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
14918 wine_fn_pot_rules $ac_dir $ac_flags
14921 if wine_fn_has_flag staticimplib $ac_flags
14922 then
14923 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14924 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
14925 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
14926 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile
14927 @cd $ac_dir && \$(MAKE) lib$ac_implib.def
14928 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
14929 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
14930 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
14931 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
14932 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14933 $ac_dir/__uninstall__::
14934 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14935 install install-dev:: $ac_dir/__install-dev__
14936 __uninstall__: $ac_dir/__uninstall__"
14938 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
14939 then
14940 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14941 "$ac_dir/__install-dev__:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
14942 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
14943 $ac_dir/__uninstall__::
14944 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
14947 if test "x$CROSSTEST_DISABLE" = x
14948 then
14949 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14950 "__builddeps__: $ac_file.cross.a
14951 $ac_file.cross.a: $ac_dir/Makefile dummy
14952 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
14955 elif wine_fn_has_flag implib $ac_flags
14956 then
14957 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14958 "__builddeps__: $ac_file.$IMPLIBEXT
14959 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14960 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
14961 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14962 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
14963 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
14964 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
14965 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14966 $ac_dir/__uninstall__::
14967 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14968 install install-dev:: $ac_dir/__install-dev__
14969 __uninstall__: $ac_dir/__uninstall__"
14970 if test "x$CROSSTEST_DISABLE" = x
14971 then
14972 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14973 "__builddeps__: $ac_file.cross.a
14974 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14975 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
14978 if test "$ac_name" != "$ac_implib"
14979 then
14980 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14981 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
14982 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
14983 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
14984 clean::
14985 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
14986 if test "x$CROSSTEST_DISABLE" = x
14987 then
14988 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14989 "__builddeps__: dlls/lib$ac_implib.cross.a
14990 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
14991 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
14997 wine_fn_config_program ()
14999 ac_name=$1
15000 ac_dir=programs/$ac_name
15001 ac_enable=$2
15002 ac_flags=$3
15003 ac_program=$ac_name
15005 case $ac_name in
15006 *.*) ;;
15007 *) ac_program=$ac_program.exe ;;
15008 esac
15010 wine_fn_config_makefile $ac_dir $ac_enable "$ac_flags" programs/Makeprog.rules
15012 if eval test \"x\$"$ac_enable"\" = x"no"; then :
15014 else
15015 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15016 "$ac_dir: __builddeps__"
15018 wine_fn_pot_rules $ac_dir $ac_flags
15020 wine_fn_has_flag install $ac_flags || return
15021 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15022 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15023 install install-lib:: $ac_dir/__install__
15024 __uninstall__: $ac_dir/__uninstall__"
15026 if test -n "$DLLEXT"
15027 then
15028 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15029 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
15030 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
15031 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
15032 $ac_dir/__uninstall__::
15033 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
15035 if test "x$enable_tools" != xno && wine_fn_has_flag installbin $ac_flags
15036 then
15037 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15038 "$ac_dir/__install__:: tools \$(DESTDIR)\$(bindir)
15039 \$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
15040 $ac_dir/__uninstall__::
15041 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
15043 else
15044 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15045 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
15046 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(dlldir)/$ac_program
15047 $ac_dir/__uninstall__::
15048 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program"
15051 if test "x$enable_tools" != xno && wine_fn_has_flag manpage $ac_flags
15052 then
15053 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15054 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
15055 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
15056 $ac_dir/__uninstall__::
15057 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
15062 wine_fn_config_test ()
15064 ac_dir=$1
15065 ac_name=$2
15066 ac_flags=$3
15067 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
15068 wine_fn_all_dir_rules $ac_dir Maketest.rules
15070 if test "x$enable_tests" = xno; then :
15072 else
15073 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15074 "all: $ac_dir
15075 .PHONY: $ac_dir
15076 $ac_dir: $ac_dir/Makefile programs/winetest/Makefile __builddeps__ dummy
15077 @cd $ac_dir && \$(MAKE)
15078 programs/winetest: $ac_dir
15079 check test: $ac_dir/__test__
15080 .PHONY: $ac_dir/__test__
15081 $ac_dir/__test__: dummy
15082 @cd $ac_dir && \$(MAKE) test
15083 testclean::
15084 \$(RM) $ac_dir/*.ok"
15086 if test "x$CROSSTEST_DISABLE" = x
15087 then
15088 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15089 "crosstest: $ac_dir/__crosstest__
15090 .PHONY: $ac_dir/__crosstest__
15091 $ac_dir/__crosstest__: $ac_dir/Makefile __builddeps__ dummy
15092 @cd $ac_dir && \$(MAKE) crosstest"
15097 wine_fn_config_tool ()
15099 ac_dir=$1
15100 ac_flags=$2
15101 if test "x$enable_tools" = xno; then :
15102 return 0
15105 wine_fn_config_makefile $ac_dir enable_tools $ac_flags
15107 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "__tooldeps__: $ac_dir"
15108 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "$ac_dir: libs/port"
15109 case $ac_dir in
15110 tools/winebuild) wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(WINEBUILD): $ac_dir" ;;
15111 esac
15114 wine_fn_config_makerules ()
15116 ac_rules=$1
15117 ac_deps=$2
15118 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15119 "$ac_rules: $ac_rules.in $ac_deps config.status
15120 @./config.status $ac_rules
15121 distclean::
15122 \$(RM) $ac_rules"
15125 wine_fn_config_symlink ()
15127 ac_link=$1
15128 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15129 "$ac_link:
15130 @./config.status $ac_link
15131 distclean::
15132 \$(RM) $ac_link"
15135 if test "x$CROSSTEST_DISABLE" != x
15136 then
15137 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15138 "crosstest:
15139 @echo \"crosstest is not supported (mingw not installed?)\" && false"
15141 ac_config_links="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
15142 wine_fn_config_symlink dlls/shell32/AUTHORS
15143 ac_config_links="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
15144 test "$srcdir" = "." || wine_fn_config_symlink dlls/wineps.drv/generic.ppd
15145 if test "x$enable_fonts" != xno; then
15146 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
15147 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf
15149 if test "x$enable_fonts" != xno; then
15150 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
15151 test "$srcdir" = "." || wine_fn_config_symlink fonts/symbol.ttf
15153 if test "x$enable_fonts" != xno; then
15154 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
15155 test "$srcdir" = "." || wine_fn_config_symlink fonts/tahoma.ttf
15157 if test "x$enable_fonts" != xno; then
15158 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
15159 test "$srcdir" = "." || wine_fn_config_symlink fonts/tahomabd.ttf
15161 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
15162 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
15163 if test "x$enable_tools" != xno; then
15164 ac_config_links="$ac_config_links tools/l_intl.nls:tools/l_intl.nls"
15165 test "$srcdir" = "." || wine_fn_config_symlink tools/l_intl.nls
15167 ac_config_links="$ac_config_links wine:tools/winewrapper"
15168 wine_fn_config_symlink wine
15169 if test "x$enable_win64" != xno; then
15170 ac_config_links="$ac_config_links wine64:tools/winewrapper"
15171 wine_fn_config_symlink wine64
15174 ac_config_commands="$ac_config_commands dlls/gdi32/dibdrv"
15176 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
15178 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
15180 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
15182 ac_config_commands="$ac_config_commands dlls/user32/resources"
15184 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
15186 ac_config_commands="$ac_config_commands include/wine"
15189 wine_fn_config_makerules Make.rules
15190 MAKE_RULES=Make.rules
15191 ac_config_files="$ac_config_files Make.rules"
15193 wine_fn_config_makerules Maketest.rules Make.rules
15194 MAKE_TEST_RULES=Maketest.rules
15195 ac_config_files="$ac_config_files Maketest.rules"
15197 wine_fn_config_makerules dlls/Makedll.rules Make.rules
15198 MAKE_DLL_RULES=dlls/Makedll.rules
15199 ac_config_files="$ac_config_files dlls/Makedll.rules"
15201 wine_fn_config_makerules dlls/Makeimplib.rules Make.rules
15202 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
15203 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
15205 wine_fn_config_makerules programs/Makeprog.rules Make.rules
15206 MAKE_PROG_RULES=programs/Makeprog.rules
15207 ac_config_files="$ac_config_files programs/Makeprog.rules"
15210 wine_fn_config_dll acledit enable_acledit
15211 wine_fn_config_dll aclui enable_aclui implib
15212 wine_fn_config_dll activeds enable_activeds implib
15213 wine_fn_config_dll actxprxy enable_actxprxy
15214 wine_fn_config_lib adsiid
15215 wine_fn_config_dll advapi32 enable_advapi32 implib
15216 wine_fn_config_test dlls/advapi32/tests advapi32_test
15217 wine_fn_config_dll advpack enable_advpack implib
15218 wine_fn_config_test dlls/advpack/tests advpack_test
15219 wine_fn_config_dll amstream enable_amstream
15220 wine_fn_config_test dlls/amstream/tests amstream_test
15221 wine_fn_config_dll apphelp enable_apphelp
15222 wine_fn_config_test dlls/apphelp/tests apphelp_test
15223 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
15224 wine_fn_config_dll atl enable_atl implib
15225 wine_fn_config_test dlls/atl/tests atl_test
15226 wine_fn_config_dll atl80 enable_atl80
15227 wine_fn_config_dll authz enable_authz
15228 wine_fn_config_dll avicap32 enable_avicap32 implib
15229 wine_fn_config_dll avifil32 enable_avifil32 implib,po
15230 wine_fn_config_test dlls/avifil32/tests avifil32_test
15231 wine_fn_config_dll avifile.dll16 enable_win16
15232 wine_fn_config_dll avrt enable_avrt implib
15233 wine_fn_config_dll bcrypt enable_bcrypt
15234 wine_fn_config_dll browseui enable_browseui po
15235 wine_fn_config_test dlls/browseui/tests browseui_test
15236 wine_fn_config_dll cabinet enable_cabinet implib
15237 wine_fn_config_test dlls/cabinet/tests cabinet_test
15238 wine_fn_config_dll capi2032 enable_capi2032 implib
15239 wine_fn_config_dll cards enable_cards implib
15240 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
15241 wine_fn_config_dll clusapi enable_clusapi implib
15242 wine_fn_config_dll comcat enable_comcat
15243 wine_fn_config_test dlls/comcat/tests comcat_test
15244 wine_fn_config_dll comctl32 enable_comctl32 implib,po
15245 wine_fn_config_test dlls/comctl32/tests comctl32_test
15246 wine_fn_config_dll comdlg32 enable_comdlg32 implib,po
15247 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
15248 wine_fn_config_dll comm.drv16 enable_win16
15249 wine_fn_config_dll commdlg.dll16 enable_win16
15250 wine_fn_config_dll compobj.dll16 enable_win16
15251 wine_fn_config_dll compstui enable_compstui implib
15252 wine_fn_config_dll credui enable_credui implib,po
15253 wine_fn_config_test dlls/credui/tests credui_test
15254 wine_fn_config_dll crtdll enable_crtdll implib
15255 wine_fn_config_dll crypt32 enable_crypt32 implib,po
15256 wine_fn_config_test dlls/crypt32/tests crypt32_test
15257 wine_fn_config_dll cryptdlg enable_cryptdlg po
15258 wine_fn_config_dll cryptdll enable_cryptdll implib
15259 wine_fn_config_dll cryptnet enable_cryptnet implib
15260 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
15261 wine_fn_config_dll cryptui enable_cryptui implib,po
15262 wine_fn_config_test dlls/cryptui/tests cryptui_test
15263 wine_fn_config_dll ctapi32 enable_ctapi32
15264 wine_fn_config_dll ctl3d.dll16 enable_win16
15265 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
15266 wine_fn_config_dll ctl3dv2.dll16 enable_win16
15267 wine_fn_config_dll d3d10 enable_d3d10 implib
15268 wine_fn_config_test dlls/d3d10/tests d3d10_test
15269 wine_fn_config_dll d3d10core enable_d3d10core implib
15270 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
15271 wine_fn_config_dll d3d8 enable_d3d8 implib
15272 wine_fn_config_test dlls/d3d8/tests d3d8_test
15273 wine_fn_config_dll d3d9 enable_d3d9 implib
15274 wine_fn_config_test dlls/d3d9/tests d3d9_test
15275 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
15276 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
15277 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
15278 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
15279 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
15280 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
15281 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
15282 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
15283 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
15284 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
15285 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
15286 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
15287 wine_fn_config_dll d3dim enable_d3dim implib
15288 wine_fn_config_dll d3drm enable_d3drm implib
15289 wine_fn_config_test dlls/d3drm/tests d3drm_test
15290 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
15291 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
15292 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
15293 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
15294 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
15295 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
15296 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
15297 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
15298 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
15299 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
15300 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
15301 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
15302 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
15303 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
15304 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
15305 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
15306 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
15307 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
15308 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
15309 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
15310 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
15311 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
15312 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
15313 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
15314 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
15315 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
15316 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
15317 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
15318 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
15319 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
15320 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
15321 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
15322 wine_fn_config_dll d3dxof enable_d3dxof implib
15323 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
15324 wine_fn_config_dll dbgeng enable_dbgeng implib
15325 wine_fn_config_dll dbghelp enable_dbghelp implib
15326 wine_fn_config_dll dciman32 enable_dciman32 implib
15327 wine_fn_config_dll ddeml.dll16 enable_win16
15328 wine_fn_config_dll ddraw enable_ddraw implib
15329 wine_fn_config_test dlls/ddraw/tests ddraw_test
15330 wine_fn_config_dll ddrawex enable_ddrawex
15331 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
15332 wine_fn_config_dll devenum enable_devenum po
15333 wine_fn_config_test dlls/devenum/tests devenum_test
15334 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
15335 wine_fn_config_dll dinput enable_dinput implib,po,staticimplib
15336 wine_fn_config_test dlls/dinput/tests dinput_test
15337 wine_fn_config_dll dinput8 enable_dinput8 implib
15338 wine_fn_config_test dlls/dinput8/tests dinput8_test
15339 wine_fn_config_dll dispdib.dll16 enable_win16
15340 wine_fn_config_dll dispex enable_dispex
15341 wine_fn_config_test dlls/dispex/tests dispex_test
15342 wine_fn_config_dll display.drv16 enable_win16
15343 wine_fn_config_dll dmband enable_dmband
15344 wine_fn_config_test dlls/dmband/tests dmband_test
15345 wine_fn_config_dll dmcompos enable_dmcompos
15346 wine_fn_config_dll dmime enable_dmime
15347 wine_fn_config_test dlls/dmime/tests dmime_test
15348 wine_fn_config_dll dmloader enable_dmloader
15349 wine_fn_config_test dlls/dmloader/tests dmloader_test
15350 wine_fn_config_dll dmscript enable_dmscript
15351 wine_fn_config_dll dmstyle enable_dmstyle
15352 wine_fn_config_dll dmsynth enable_dmsynth
15353 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
15354 wine_fn_config_dll dmusic enable_dmusic
15355 wine_fn_config_test dlls/dmusic/tests dmusic_test
15356 wine_fn_config_dll dmusic32 enable_dmusic32 implib
15357 wine_fn_config_dll dnsapi enable_dnsapi implib
15358 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
15359 wine_fn_config_dll dplay enable_dplay implib
15360 wine_fn_config_dll dplayx enable_dplayx implib
15361 wine_fn_config_test dlls/dplayx/tests dplayx_test
15362 wine_fn_config_dll dpnaddr enable_dpnaddr
15363 wine_fn_config_dll dpnet enable_dpnet implib
15364 wine_fn_config_test dlls/dpnet/tests dpnet_test
15365 wine_fn_config_dll dpnhpast enable_dpnhpast
15366 wine_fn_config_dll dpnlobby enable_dpnlobby
15367 wine_fn_config_dll dpwsockx enable_dpwsockx
15368 wine_fn_config_dll drmclien enable_drmclien
15369 wine_fn_config_dll dsound enable_dsound implib
15370 wine_fn_config_test dlls/dsound/tests dsound_test
15371 wine_fn_config_dll dssenh enable_dssenh
15372 wine_fn_config_test dlls/dssenh/tests dssenh_test
15373 wine_fn_config_dll dswave enable_dswave
15374 wine_fn_config_dll dwmapi enable_dwmapi implib
15375 wine_fn_config_dll dwrite enable_dwrite implib
15376 wine_fn_config_test dlls/dwrite/tests dwrite_test
15377 wine_fn_config_dll dxdiagn enable_dxdiagn po
15378 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
15379 wine_fn_config_lib dxerr8
15380 wine_fn_config_lib dxerr9
15381 wine_fn_config_dll dxgi enable_dxgi implib
15382 wine_fn_config_test dlls/dxgi/tests dxgi_test
15383 wine_fn_config_lib dxguid
15384 wine_fn_config_dll explorerframe enable_explorerframe
15385 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
15386 wine_fn_config_dll faultrep enable_faultrep implib
15387 wine_fn_config_test dlls/faultrep/tests faultrep_test
15388 wine_fn_config_dll fltlib enable_fltlib
15389 wine_fn_config_dll fusion enable_fusion
15390 wine_fn_config_test dlls/fusion/tests fusion_test
15391 wine_fn_config_dll fwpuclnt enable_fwpuclnt
15392 wine_fn_config_dll gameux enable_gameux
15393 wine_fn_config_test dlls/gameux/tests gameux_test
15394 wine_fn_config_dll gdi.exe16 enable_win16
15395 wine_fn_config_dll gdi32 enable_gdi32 implib,po
15396 wine_fn_config_test dlls/gdi32/tests gdi32_test
15397 wine_fn_config_dll gdiplus enable_gdiplus implib
15398 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
15399 wine_fn_config_dll glu32 enable_glu32 implib
15400 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
15401 wine_fn_config_dll gpkcsp enable_gpkcsp
15402 wine_fn_config_dll hal enable_hal
15403 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx po
15404 wine_fn_config_dll hid enable_hid implib
15405 wine_fn_config_dll hlink enable_hlink implib
15406 wine_fn_config_test dlls/hlink/tests hlink_test
15407 wine_fn_config_dll hnetcfg enable_hnetcfg
15408 wine_fn_config_dll httpapi enable_httpapi
15409 wine_fn_config_dll iccvid enable_iccvid po
15410 wine_fn_config_dll icmp enable_icmp
15411 wine_fn_config_dll ieframe enable_ieframe implib,po
15412 wine_fn_config_test dlls/ieframe/tests ieframe_test
15413 wine_fn_config_dll ifsmgr.vxd enable_win16
15414 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
15415 wine_fn_config_dll imagehlp enable_imagehlp implib
15416 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
15417 wine_fn_config_dll imm.dll16 enable_win16
15418 wine_fn_config_dll imm32 enable_imm32 implib
15419 wine_fn_config_test dlls/imm32/tests imm32_test
15420 wine_fn_config_dll inetcomm enable_inetcomm implib
15421 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
15422 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
15423 wine_fn_config_dll inetmib1 enable_inetmib1
15424 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
15425 wine_fn_config_dll infosoft enable_infosoft
15426 wine_fn_config_test dlls/infosoft/tests infosoft_test
15427 wine_fn_config_dll initpki enable_initpki
15428 wine_fn_config_dll inkobj enable_inkobj
15429 wine_fn_config_dll inseng enable_inseng
15430 wine_fn_config_dll iphlpapi enable_iphlpapi implib
15431 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
15432 wine_fn_config_dll itircl enable_itircl
15433 wine_fn_config_dll itss enable_itss
15434 wine_fn_config_test dlls/itss/tests itss_test
15435 wine_fn_config_dll joy.cpl enable_joy_cpl po
15436 wine_fn_config_dll jscript enable_jscript po
15437 wine_fn_config_test dlls/jscript/tests jscript_test
15438 wine_fn_config_dll kernel32 enable_kernel32 implib,mc
15439 wine_fn_config_test dlls/kernel32/tests kernel32_test
15440 wine_fn_config_dll keyboard.drv16 enable_win16
15441 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
15442 wine_fn_config_dll ktmw32 enable_ktmw32
15443 wine_fn_config_dll loadperf enable_loadperf implib
15444 wine_fn_config_dll localspl enable_localspl po
15445 wine_fn_config_test dlls/localspl/tests localspl_test
15446 wine_fn_config_dll localui enable_localui po
15447 wine_fn_config_test dlls/localui/tests localui_test
15448 wine_fn_config_dll lz32 enable_lz32 implib
15449 wine_fn_config_test dlls/lz32/tests lz32_test
15450 wine_fn_config_dll lzexpand.dll16 enable_win16
15451 wine_fn_config_dll mapi32 enable_mapi32 implib,po
15452 wine_fn_config_test dlls/mapi32/tests mapi32_test
15453 wine_fn_config_dll mapistub enable_mapistub
15454 wine_fn_config_dll mciavi32 enable_mciavi32
15455 wine_fn_config_dll mcicda enable_mcicda
15456 wine_fn_config_dll mciqtz32 enable_mciqtz32
15457 wine_fn_config_dll mciseq enable_mciseq
15458 wine_fn_config_dll mciwave enable_mciwave
15459 wine_fn_config_dll mgmtapi enable_mgmtapi
15460 wine_fn_config_dll midimap enable_midimap
15461 wine_fn_config_dll mlang enable_mlang implib
15462 wine_fn_config_test dlls/mlang/tests mlang_test
15463 wine_fn_config_dll mmcndmgr enable_mmcndmgr
15464 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
15465 wine_fn_config_dll mmdevapi enable_mmdevapi
15466 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
15467 wine_fn_config_dll mmdevldr.vxd enable_win16
15468 wine_fn_config_dll mmsystem.dll16 enable_win16
15469 wine_fn_config_dll monodebg.vxd enable_win16
15470 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
15471 wine_fn_config_dll mouse.drv16 enable_win16
15472 wine_fn_config_dll mpr enable_mpr implib,po
15473 wine_fn_config_test dlls/mpr/tests mpr_test
15474 wine_fn_config_dll mprapi enable_mprapi implib
15475 wine_fn_config_dll msacm.dll16 enable_win16
15476 wine_fn_config_dll msacm32.drv enable_msacm32_drv
15477 wine_fn_config_dll msacm32 enable_msacm32 implib,po
15478 wine_fn_config_test dlls/msacm32/tests msacm32_test
15479 wine_fn_config_dll msadp32.acm enable_msadp32_acm
15480 wine_fn_config_dll mscat32 enable_mscat32
15481 wine_fn_config_dll mscms enable_mscms implib
15482 wine_fn_config_test dlls/mscms/tests mscms_test
15483 wine_fn_config_dll mscoree enable_mscoree
15484 wine_fn_config_test dlls/mscoree/tests mscoree_test
15485 wine_fn_config_dll msctf enable_msctf
15486 wine_fn_config_test dlls/msctf/tests msctf_test
15487 wine_fn_config_dll msdaps enable_msdaps
15488 wine_fn_config_dll msdmo enable_msdmo implib
15489 wine_fn_config_dll msftedit enable_msftedit
15490 wine_fn_config_dll msg711.acm enable_msg711_acm
15491 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
15492 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
15493 wine_fn_config_dll mshtml enable_mshtml implib,po
15494 wine_fn_config_test dlls/mshtml/tests mshtml_test
15495 wine_fn_config_dll msi enable_msi implib,po
15496 wine_fn_config_test dlls/msi/tests msi_test
15497 wine_fn_config_dll msident enable_msident
15498 wine_fn_config_dll msimg32 enable_msimg32 implib
15499 wine_fn_config_dll msimsg enable_msimsg
15500 wine_fn_config_dll msimtf enable_msimtf
15501 wine_fn_config_dll msisip enable_msisip
15502 wine_fn_config_dll msisys.ocx enable_msisys_ocx
15503 wine_fn_config_dll msnet32 enable_msnet32
15504 wine_fn_config_dll mspatcha enable_mspatcha
15505 wine_fn_config_dll msrle32 enable_msrle32 po
15506 wine_fn_config_dll mssign32 enable_mssign32
15507 wine_fn_config_dll mssip32 enable_mssip32
15508 wine_fn_config_dll mstask enable_mstask
15509 wine_fn_config_test dlls/mstask/tests mstask_test
15510 wine_fn_config_dll msvcirt enable_msvcirt
15511 wine_fn_config_dll msvcm80 enable_msvcm80
15512 wine_fn_config_dll msvcm90 enable_msvcm90
15513 wine_fn_config_dll msvcp100 enable_msvcp100
15514 wine_fn_config_dll msvcp60 enable_msvcp60
15515 wine_fn_config_dll msvcp70 enable_msvcp70
15516 wine_fn_config_dll msvcp71 enable_msvcp71
15517 wine_fn_config_dll msvcp80 enable_msvcp80
15518 wine_fn_config_dll msvcp90 enable_msvcp90
15519 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
15520 wine_fn_config_dll msvcr100 enable_msvcr100
15521 wine_fn_config_dll msvcr70 enable_msvcr70 implib
15522 wine_fn_config_dll msvcr71 enable_msvcr71 implib
15523 wine_fn_config_dll msvcr80 enable_msvcr80
15524 wine_fn_config_dll msvcr90 enable_msvcr90
15525 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
15526 wine_fn_config_dll msvcrt enable_msvcrt implib
15527 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
15528 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
15529 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
15530 wine_fn_config_dll msvcrtd enable_msvcrtd implib
15531 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
15532 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
15533 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
15534 wine_fn_config_dll msvidc32 enable_msvidc32 po
15535 wine_fn_config_dll msvideo.dll16 enable_win16
15536 wine_fn_config_dll mswsock enable_mswsock implib
15537 wine_fn_config_dll msxml enable_msxml
15538 wine_fn_config_dll msxml2 enable_msxml2
15539 wine_fn_config_dll msxml3 enable_msxml3
15540 wine_fn_config_test dlls/msxml3/tests msxml3_test
15541 wine_fn_config_dll msxml4 enable_msxml4
15542 wine_fn_config_dll msxml6 enable_msxml6
15543 wine_fn_config_dll nddeapi enable_nddeapi implib
15544 wine_fn_config_dll netapi32 enable_netapi32 implib
15545 wine_fn_config_test dlls/netapi32/tests netapi32_test
15546 wine_fn_config_dll newdev enable_newdev implib
15547 wine_fn_config_dll normaliz enable_normaliz implib
15548 wine_fn_config_dll npmshtml enable_npmshtml
15549 wine_fn_config_dll ntdll enable_ntdll implib
15550 wine_fn_config_test dlls/ntdll/tests ntdll_test
15551 wine_fn_config_dll ntdsapi enable_ntdsapi implib
15552 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
15553 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
15554 wine_fn_config_dll ntprint enable_ntprint
15555 wine_fn_config_test dlls/ntprint/tests ntprint_test
15556 wine_fn_config_dll objsel enable_objsel
15557 wine_fn_config_dll odbc32 enable_odbc32 implib
15558 wine_fn_config_dll odbccp32 enable_odbccp32 implib
15559 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
15560 wine_fn_config_dll ole2.dll16 enable_win16
15561 wine_fn_config_dll ole2conv.dll16 enable_win16
15562 wine_fn_config_dll ole2disp.dll16 enable_win16
15563 wine_fn_config_dll ole2nls.dll16 enable_win16
15564 wine_fn_config_dll ole2prox.dll16 enable_win16
15565 wine_fn_config_dll ole2thk.dll16 enable_win16
15566 wine_fn_config_dll ole32 enable_ole32 implib
15567 wine_fn_config_test dlls/ole32/tests ole32_test
15568 wine_fn_config_dll oleacc enable_oleacc implib,po
15569 wine_fn_config_test dlls/oleacc/tests oleacc_test
15570 wine_fn_config_dll oleaut32 enable_oleaut32 implib,po
15571 wine_fn_config_test dlls/oleaut32/tests oleaut32_test
15572 wine_fn_config_dll olecli.dll16 enable_win16
15573 wine_fn_config_dll olecli32 enable_olecli32 implib
15574 wine_fn_config_dll oledb32 enable_oledb32
15575 wine_fn_config_test dlls/oledb32/tests oledb32_test
15576 wine_fn_config_dll oledlg enable_oledlg implib,po
15577 wine_fn_config_dll olepro32 enable_olepro32 implib
15578 wine_fn_config_dll olesvr.dll16 enable_win16
15579 wine_fn_config_dll olesvr32 enable_olesvr32 implib
15580 wine_fn_config_dll olethk32 enable_olethk32
15581 wine_fn_config_dll openal32 enable_openal32
15582 wine_fn_config_dll opencl enable_opencl
15583 wine_fn_config_dll opengl32 enable_opengl32 implib
15584 wine_fn_config_test dlls/opengl32/tests opengl32_test
15585 wine_fn_config_dll pdh enable_pdh implib
15586 wine_fn_config_test dlls/pdh/tests pdh_test
15587 wine_fn_config_dll photometadatahandler enable_photometadatahandler
15588 wine_fn_config_dll pidgen enable_pidgen
15589 wine_fn_config_dll powrprof enable_powrprof implib
15590 wine_fn_config_dll printui enable_printui
15591 wine_fn_config_dll propsys enable_propsys implib
15592 wine_fn_config_test dlls/propsys/tests propsys_test
15593 wine_fn_config_dll psapi enable_psapi implib
15594 wine_fn_config_test dlls/psapi/tests psapi_test
15595 wine_fn_config_dll pstorec enable_pstorec
15596 wine_fn_config_dll qcap enable_qcap
15597 wine_fn_config_dll qedit enable_qedit
15598 wine_fn_config_test dlls/qedit/tests qedit_test
15599 wine_fn_config_dll qmgr enable_qmgr
15600 wine_fn_config_test dlls/qmgr/tests qmgr_test
15601 wine_fn_config_dll qmgrprxy enable_qmgrprxy
15602 wine_fn_config_dll quartz enable_quartz implib
15603 wine_fn_config_test dlls/quartz/tests quartz_test
15604 wine_fn_config_dll query enable_query
15605 wine_fn_config_dll rasapi16.dll16 enable_win16
15606 wine_fn_config_dll rasapi32 enable_rasapi32 implib
15607 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
15608 wine_fn_config_dll rasdlg enable_rasdlg implib
15609 wine_fn_config_dll regapi enable_regapi
15610 wine_fn_config_dll resutils enable_resutils implib
15611 wine_fn_config_dll riched20 enable_riched20 implib
15612 wine_fn_config_test dlls/riched20/tests riched20_test
15613 wine_fn_config_dll riched32 enable_riched32
15614 wine_fn_config_test dlls/riched32/tests riched32_test
15615 wine_fn_config_dll rpcrt4 enable_rpcrt4 implib
15616 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test
15617 wine_fn_config_dll rsabase enable_rsabase
15618 wine_fn_config_dll rsaenh enable_rsaenh implib
15619 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
15620 wine_fn_config_dll rstrtmgr enable_rstrtmgr
15621 wine_fn_config_dll rtutils enable_rtutils implib
15622 wine_fn_config_dll samlib enable_samlib
15623 wine_fn_config_dll sane.ds enable_sane_ds po
15624 wine_fn_config_dll scarddlg enable_scarddlg
15625 wine_fn_config_dll sccbase enable_sccbase
15626 wine_fn_config_dll schannel enable_schannel
15627 wine_fn_config_test dlls/schannel/tests schannel_test
15628 wine_fn_config_dll scrrun enable_scrrun
15629 wine_fn_config_test dlls/scrrun/tests scrrun_test
15630 wine_fn_config_dll secur32 enable_secur32 implib
15631 wine_fn_config_test dlls/secur32/tests secur32_test
15632 wine_fn_config_dll security enable_security
15633 wine_fn_config_dll sensapi enable_sensapi implib
15634 wine_fn_config_dll serialui enable_serialui implib,po
15635 wine_fn_config_test dlls/serialui/tests serialui_test
15636 wine_fn_config_dll setupapi enable_setupapi implib,po
15637 wine_fn_config_test dlls/setupapi/tests setupapi_test
15638 wine_fn_config_dll setupx.dll16 enable_win16
15639 wine_fn_config_dll sfc enable_sfc implib
15640 wine_fn_config_dll sfc_os enable_sfc_os implib
15641 wine_fn_config_dll shdoclc enable_shdoclc po
15642 wine_fn_config_dll shdocvw enable_shdocvw implib
15643 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
15644 wine_fn_config_dll shell.dll16 enable_win16
15645 wine_fn_config_dll shell32 enable_shell32 implib,po
15646 wine_fn_config_test dlls/shell32/tests shell32_test
15647 wine_fn_config_dll shfolder enable_shfolder implib
15648 wine_fn_config_dll shlwapi enable_shlwapi implib,po
15649 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
15650 wine_fn_config_dll slbcsp enable_slbcsp
15651 wine_fn_config_dll slc enable_slc implib
15652 wine_fn_config_dll snmpapi enable_snmpapi implib
15653 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
15654 wine_fn_config_dll softpub enable_softpub
15655 wine_fn_config_dll sound.drv16 enable_win16
15656 wine_fn_config_dll spoolss enable_spoolss implib
15657 wine_fn_config_test dlls/spoolss/tests spoolss_test
15658 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
15659 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
15660 wine_fn_config_dll sti enable_sti implib
15661 wine_fn_config_test dlls/sti/tests sti_test
15662 wine_fn_config_dll storage.dll16 enable_win16
15663 wine_fn_config_dll stress.dll16 enable_win16
15664 wine_fn_config_lib strmbase
15665 wine_fn_config_lib strmiids
15666 wine_fn_config_dll svrapi enable_svrapi
15667 wine_fn_config_dll sxs enable_sxs implib
15668 wine_fn_config_test dlls/sxs/tests sxs_test
15669 wine_fn_config_dll system.drv16 enable_win16
15670 wine_fn_config_dll t2embed enable_t2embed
15671 wine_fn_config_dll tapi32 enable_tapi32 implib
15672 wine_fn_config_dll toolhelp.dll16 enable_win16
15673 wine_fn_config_dll traffic enable_traffic
15674 wine_fn_config_dll twain.dll16 enable_win16
15675 wine_fn_config_dll twain_32 enable_twain_32
15676 wine_fn_config_test dlls/twain_32/tests twain_32_test
15677 wine_fn_config_dll typelib.dll16 enable_win16
15678 wine_fn_config_dll unicows enable_unicows implib
15679 wine_fn_config_dll updspapi enable_updspapi
15680 wine_fn_config_dll url enable_url implib
15681 wine_fn_config_dll urlmon enable_urlmon implib
15682 wine_fn_config_test dlls/urlmon/tests urlmon_test
15683 wine_fn_config_dll usbd.sys enable_usbd_sys implib
15684 wine_fn_config_dll user.exe16 enable_win16
15685 wine_fn_config_dll user32 enable_user32 implib,po
15686 wine_fn_config_test dlls/user32/tests user32_test
15687 wine_fn_config_dll userenv enable_userenv implib
15688 wine_fn_config_test dlls/userenv/tests userenv_test
15689 wine_fn_config_dll usp10 enable_usp10 implib
15690 wine_fn_config_test dlls/usp10/tests usp10_test
15691 wine_fn_config_lib uuid
15692 wine_fn_config_dll uxtheme enable_uxtheme implib
15693 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
15694 wine_fn_config_dll vbscript enable_vbscript
15695 wine_fn_config_test dlls/vbscript/tests vbscript_test
15696 wine_fn_config_dll vcomp enable_vcomp
15697 wine_fn_config_dll vcomp100 enable_vcomp100
15698 wine_fn_config_dll vdhcp.vxd enable_win16
15699 wine_fn_config_dll vdmdbg enable_vdmdbg implib
15700 wine_fn_config_dll ver.dll16 enable_win16
15701 wine_fn_config_dll version enable_version implib
15702 wine_fn_config_test dlls/version/tests version_test
15703 wine_fn_config_dll vmm.vxd enable_win16
15704 wine_fn_config_dll vnbt.vxd enable_win16
15705 wine_fn_config_dll vnetbios.vxd enable_win16
15706 wine_fn_config_dll vtdapi.vxd enable_win16
15707 wine_fn_config_dll vwin32.vxd enable_win16
15708 wine_fn_config_dll w32skrnl enable_win16
15709 wine_fn_config_dll w32sys.dll16 enable_win16
15710 wine_fn_config_dll wbemprox enable_wbemprox
15711 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
15712 wine_fn_config_dll wer enable_wer implib
15713 wine_fn_config_test dlls/wer/tests wer_test
15714 wine_fn_config_dll wevtapi enable_wevtapi
15715 wine_fn_config_dll wiaservc enable_wiaservc
15716 wine_fn_config_dll win32s16.dll16 enable_win16
15717 wine_fn_config_dll win87em.dll16 enable_win16
15718 wine_fn_config_dll winaspi.dll16 enable_win16
15719 wine_fn_config_dll windebug.dll16 enable_win16
15720 wine_fn_config_dll windowscodecs enable_windowscodecs implib
15721 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
15722 wine_fn_config_dll winealsa.drv enable_winealsa_drv
15723 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
15724 wine_fn_config_lib winecrt0
15725 wine_fn_config_dll wined3d enable_wined3d implib
15726 wine_fn_config_dll winegstreamer enable_winegstreamer
15727 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
15728 wine_fn_config_dll winemapi enable_winemapi
15729 wine_fn_config_dll winemp3.acm enable_winemp3_acm
15730 wine_fn_config_dll wineoss.drv enable_wineoss_drv
15731 wine_fn_config_dll wineps.drv enable_wineps_drv install-lib,po
15732 wine_fn_config_dll wineps16.drv16 enable_win16
15733 wine_fn_config_dll winepulse.drv enable_winepulse_drv
15734 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
15735 wine_fn_config_dll winequartz.drv enable_winequartz_drv
15736 wine_fn_config_dll winex11.drv enable_winex11_drv
15737 wine_fn_config_dll wing.dll16 enable_win16
15738 wine_fn_config_dll wing32 enable_wing32
15739 wine_fn_config_dll winhttp enable_winhttp implib
15740 wine_fn_config_test dlls/winhttp/tests winhttp_test
15741 wine_fn_config_dll wininet enable_wininet implib,po
15742 wine_fn_config_test dlls/wininet/tests wininet_test
15743 wine_fn_config_dll winmm enable_winmm implib,po
15744 wine_fn_config_test dlls/winmm/tests winmm_test
15745 wine_fn_config_dll winnls.dll16 enable_win16
15746 wine_fn_config_dll winnls32 enable_winnls32 implib
15747 wine_fn_config_dll winscard enable_winscard implib
15748 wine_fn_config_dll winsock.dll16 enable_win16
15749 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
15750 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
15751 wine_fn_config_dll winsta enable_winsta
15752 wine_fn_config_dll wintab.dll16 enable_win16
15753 wine_fn_config_dll wintab32 enable_wintab32 implib
15754 wine_fn_config_test dlls/wintab32/tests wintab32_test
15755 wine_fn_config_dll wintrust enable_wintrust implib
15756 wine_fn_config_test dlls/wintrust/tests wintrust_test
15757 wine_fn_config_dll wlanapi enable_wlanapi
15758 wine_fn_config_dll wldap32 enable_wldap32 implib,po
15759 wine_fn_config_test dlls/wldap32/tests wldap32_test
15760 wine_fn_config_dll wmi enable_wmi
15761 wine_fn_config_dll wmiutils enable_wmiutils
15762 wine_fn_config_dll wmvcore enable_wmvcore
15763 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
15764 wine_fn_config_dll wow32 enable_win16 implib
15765 wine_fn_config_dll ws2_32 enable_ws2_32 implib
15766 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
15767 wine_fn_config_dll wshom.ocx enable_wshom_ocx
15768 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test
15769 wine_fn_config_dll wsnmp32 enable_wsnmp32
15770 wine_fn_config_dll wsock32 enable_wsock32 implib
15771 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
15772 wine_fn_config_dll wuapi enable_wuapi
15773 wine_fn_config_dll wuaueng enable_wuaueng
15774 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
15775 wine_fn_config_dll xinput1_1 enable_xinput1_1
15776 wine_fn_config_dll xinput1_2 enable_xinput1_2
15777 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
15778 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
15779 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
15780 wine_fn_config_dll xmllite enable_xmllite
15781 wine_fn_config_test dlls/xmllite/tests xmllite_test
15782 wine_fn_config_dll xolehlp enable_xolehlp
15783 wine_fn_config_dll xpsprint enable_xpsprint
15784 wine_fn_config_makefile documentation enable_documentation
15785 wine_fn_config_makefile fonts enable_fonts install-lib
15786 wine_fn_config_makefile include enable_include install-dev
15787 wine_fn_config_makefile libs/port enable_libs_port
15788 wine_fn_config_makefile libs/wine enable_libs_wine install-dev,install-lib
15789 wine_fn_config_makefile libs/wpp enable_libs_wpp
15790 wine_fn_config_makefile loader enable_loader install-lib,manpage
15791 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
15792 wine_fn_config_program attrib enable_attrib install,po
15793 wine_fn_config_program cabarc enable_cabarc install
15794 wine_fn_config_program cacls enable_cacls install
15795 wine_fn_config_program clock enable_clock install,po
15796 wine_fn_config_program cmd enable_cmd install,po
15797 wine_fn_config_test programs/cmd/tests cmd.exe_test
15798 wine_fn_config_program control enable_control install
15799 wine_fn_config_program cscript enable_cscript install
15800 wine_fn_config_program dxdiag enable_dxdiag install,po
15801 wine_fn_config_program eject enable_eject install
15802 wine_fn_config_program expand enable_expand install
15803 wine_fn_config_program explorer enable_explorer install,po
15804 wine_fn_config_program extrac32 enable_extrac32 install
15805 wine_fn_config_program hh enable_hh install
15806 wine_fn_config_program hostname enable_hostname install,po
15807 wine_fn_config_program icinfo enable_icinfo install
15808 wine_fn_config_program iexplore enable_iexplore install
15809 wine_fn_config_program ipconfig enable_ipconfig install,po
15810 wine_fn_config_program lodctr enable_lodctr install
15811 wine_fn_config_program mofcomp enable_mofcomp install
15812 wine_fn_config_program mshta enable_mshta install
15813 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
15814 wine_fn_config_program net enable_net install,po
15815 wine_fn_config_program netsh enable_netsh install
15816 wine_fn_config_program ngen enable_ngen install
15817 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
15818 wine_fn_config_program oleview enable_oleview install,po
15819 wine_fn_config_program ping enable_ping install
15820 wine_fn_config_program plugplay enable_plugplay install
15821 wine_fn_config_program presentationfontcache enable_presentationfontcache install
15822 wine_fn_config_program progman enable_progman install,po
15823 wine_fn_config_program reg enable_reg install,po
15824 wine_fn_config_program regasm enable_regasm install
15825 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
15826 wine_fn_config_test programs/regedit/tests regedit.exe_test
15827 wine_fn_config_program regsvcs enable_regsvcs install
15828 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage
15829 wine_fn_config_program rpcss enable_rpcss install
15830 wine_fn_config_program rundll.exe16 enable_win16 install
15831 wine_fn_config_program rundll32 enable_rundll32 install
15832 wine_fn_config_program sc enable_sc install
15833 wine_fn_config_program secedit enable_secedit install
15834 wine_fn_config_program servicemodelreg enable_servicemodelreg install
15835 wine_fn_config_program services enable_services install
15836 wine_fn_config_test programs/services/tests services.exe_test
15837 wine_fn_config_program spoolsv enable_spoolsv install
15838 wine_fn_config_program start enable_start install,po
15839 wine_fn_config_program svchost enable_svchost install
15840 wine_fn_config_program taskkill enable_taskkill install,po
15841 wine_fn_config_program taskmgr enable_taskmgr install,po
15842 wine_fn_config_program termsv enable_termsv install
15843 wine_fn_config_program uninstaller enable_uninstaller install,po
15844 wine_fn_config_program unlodctr enable_unlodctr install
15845 wine_fn_config_program view enable_view install,po
15846 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
15847 wine_fn_config_program winebrowser enable_winebrowser install
15848 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
15849 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
15850 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
15851 wine_fn_config_program winedevice enable_winedevice install
15852 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
15853 wine_fn_config_program winemenubuilder enable_winemenubuilder install
15854 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
15855 wine_fn_config_program winemsibuilder enable_winemsibuilder install
15856 wine_fn_config_program winepath enable_winepath install,installbin,manpage
15857 wine_fn_config_program winetest enable_winetest
15858 wine_fn_config_program winevdm enable_win16 install
15859 wine_fn_config_program winhelp.exe16 enable_win16 install
15860 wine_fn_config_program winhlp32 enable_winhlp32 install,po
15861 wine_fn_config_program winoldap.mod16 enable_win16 install
15862 wine_fn_config_program winver enable_winver install
15863 wine_fn_config_program wmic enable_wmic install,po
15864 wine_fn_config_program wordpad enable_wordpad install,po
15865 wine_fn_config_program write enable_write install,po
15866 wine_fn_config_program wscript enable_wscript install
15867 wine_fn_config_test programs/wscript/tests wscript.exe_test
15868 wine_fn_config_program wusa enable_wusa install
15869 wine_fn_config_program xcopy enable_xcopy install,po
15870 wine_fn_config_makefile server enable_server install-lib,manpage
15871 wine_fn_config_tool tools install-dev,install-lib,manpage
15872 wine_fn_config_tool tools/widl install-dev,manpage
15873 wine_fn_config_tool tools/winebuild install-dev,manpage
15874 wine_fn_config_tool tools/winedump install-dev,manpage
15875 wine_fn_config_tool tools/winegcc install-dev,manpage
15876 wine_fn_config_tool tools/wmc install-dev,manpage
15877 wine_fn_config_tool tools/wrc install-dev,manpage
15879 LINGUAS="\
15880 ar \
15881 bg \
15882 ca \
15883 cs \
15884 da \
15885 de \
15886 el \
15887 en \
15888 en_US \
15889 eo \
15890 es \
15891 fa \
15892 fi \
15893 fr \
15894 he \
15895 hi \
15896 hu \
15897 it \
15898 ja \
15899 ko \
15900 lt \
15901 ml \
15902 nb_NO \
15903 nl \
15904 or \
15905 pa \
15906 pl \
15907 pt_BR \
15908 pt_PT \
15909 rm \
15910 ro \
15911 ru \
15912 sk \
15913 sl \
15914 sr_RS@cyrillic \
15915 sr_RS@latin \
15916 sv \
15917 te \
15918 th \
15919 tr \
15920 uk \
15921 wa \
15922 zh_CN \
15923 zh_TW"
15927 ac_config_commands="$ac_config_commands Makefile"
15930 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
15934 if test "x$enable_maintainer_mode" = xyes
15935 then
15936 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(srcdir)/configure: configure.ac aclocal.m4
15937 cd \$(srcdir) && autoconf --warnings=all
15938 \$(srcdir)/include/config.h.in: include/stamp-h.in
15939 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
15940 cd \$(srcdir) && autoheader --warnings=all
15941 @echo timestamp > \$@"
15944 if test "x$with_gettextpo" = xyes
15945 then
15946 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
15947 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "ALL_POT_FILES =$ALL_POT_FILES
15948 \$(LINGUAS:%=po/%.po): \$(srcdir)/po/wine.pot
15949 msgmerge --previous -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
15950 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
15951 msgcat -o \$@ \$(ALL_POT_FILES)"
15954 if test "$MSGFMT" != false
15955 then
15956 PORCFLAGS="--po-dir=\$(top_builddir)/po"
15958 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "__builddeps__: \$(ALL_MO_FILES)"
15959 else
15960 LINGUAS=
15963 if test "x$enable_tools" != xno
15964 then
15965 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(MAKEDEP): tools/Makefile
15966 clean:: __clean__
15967 \$(RM) tools/makedep\$(EXEEXT)"
15970 if test -n "$with_wine64"
15971 then
15972 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
15973 fonts server tools:
15974 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
15975 $with_wine64/loader/wine:
15976 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
15977 $with_wine64/loader/wine-preloader:
15978 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
15979 clean::
15980 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
15983 cat >confcache <<\_ACEOF
15984 # This file is a shell script that caches the results of configure
15985 # tests run on this system so they can be shared between configure
15986 # scripts and configure runs, see configure's option --config-cache.
15987 # It is not useful on other systems. If it contains results you don't
15988 # want to keep, you may remove or edit it.
15990 # config.status only pays attention to the cache file if you give it
15991 # the --recheck option to rerun configure.
15993 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15994 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15995 # following values.
15997 _ACEOF
15999 # The following way of writing the cache mishandles newlines in values,
16000 # but we know of no workaround that is simple, portable, and efficient.
16001 # So, we kill variables containing newlines.
16002 # Ultrix sh set writes to stderr and can't be redirected directly,
16003 # and sets the high bit in the cache file unless we assign to the vars.
16005 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16006 eval ac_val=\$$ac_var
16007 case $ac_val in #(
16008 *${as_nl}*)
16009 case $ac_var in #(
16010 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16011 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16012 esac
16013 case $ac_var in #(
16014 _ | IFS | as_nl) ;; #(
16015 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16016 *) { eval $ac_var=; unset $ac_var;} ;;
16017 esac ;;
16018 esac
16019 done
16021 (set) 2>&1 |
16022 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16023 *${as_nl}ac_space=\ *)
16024 # `set' does not quote correctly, so add quotes: double-quote
16025 # substitution turns \\\\ into \\, and sed turns \\ into \.
16026 sed -n \
16027 "s/'/'\\\\''/g;
16028 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16029 ;; #(
16031 # `set' quotes correctly as required by POSIX, so do not add quotes.
16032 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16034 esac |
16035 sort
16037 sed '
16038 /^ac_cv_env_/b end
16039 t clear
16040 :clear
16041 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16042 t end
16043 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16044 :end' >>confcache
16045 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16046 if test -w "$cache_file"; then
16047 if test "x$cache_file" != "x/dev/null"; then
16048 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16049 $as_echo "$as_me: updating cache $cache_file" >&6;}
16050 if test ! -f "$cache_file" || test -h "$cache_file"; then
16051 cat confcache >"$cache_file"
16052 else
16053 case $cache_file in #(
16054 */* | ?:*)
16055 mv -f confcache "$cache_file"$$ &&
16056 mv -f "$cache_file"$$ "$cache_file" ;; #(
16058 mv -f confcache "$cache_file" ;;
16059 esac
16062 else
16063 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16064 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16067 rm -f confcache
16069 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16070 # Let make expand exec_prefix.
16071 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16073 DEFS=-DHAVE_CONFIG_H
16075 ac_libobjs=
16076 ac_ltlibobjs=
16078 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16079 # 1. Remove the extension, and $U if already installed.
16080 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16081 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16082 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16083 # will be set to the directory where LIBOBJS objects are built.
16084 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16085 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16086 done
16087 LIBOBJS=$ac_libobjs
16089 LTLIBOBJS=$ac_ltlibobjs
16093 : "${CONFIG_STATUS=./config.status}"
16094 ac_write_fail=0
16095 ac_clean_files_save=$ac_clean_files
16096 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16097 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16098 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16099 as_write_fail=0
16100 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16101 #! $SHELL
16102 # Generated by $as_me.
16103 # Run this file to recreate the current configuration.
16104 # Compiler output produced by configure, useful for debugging
16105 # configure, is in config.log if it exists.
16107 debug=false
16108 ac_cs_recheck=false
16109 ac_cs_silent=false
16111 SHELL=\${CONFIG_SHELL-$SHELL}
16112 export SHELL
16113 _ASEOF
16114 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16115 ## -------------------- ##
16116 ## M4sh Initialization. ##
16117 ## -------------------- ##
16119 # Be more Bourne compatible
16120 DUALCASE=1; export DUALCASE # for MKS sh
16121 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16122 emulate sh
16123 NULLCMD=:
16124 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16125 # is contrary to our usage. Disable this feature.
16126 alias -g '${1+"$@"}'='"$@"'
16127 setopt NO_GLOB_SUBST
16128 else
16129 case `(set -o) 2>/dev/null` in #(
16130 *posix*) :
16131 set -o posix ;; #(
16132 *) :
16134 esac
16138 as_nl='
16140 export as_nl
16141 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16142 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16143 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16144 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16145 # Prefer a ksh shell builtin over an external printf program on Solaris,
16146 # but without wasting forks for bash or zsh.
16147 if test -z "$BASH_VERSION$ZSH_VERSION" \
16148 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16149 as_echo='print -r --'
16150 as_echo_n='print -rn --'
16151 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16152 as_echo='printf %s\n'
16153 as_echo_n='printf %s'
16154 else
16155 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16156 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16157 as_echo_n='/usr/ucb/echo -n'
16158 else
16159 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16160 as_echo_n_body='eval
16161 arg=$1;
16162 case $arg in #(
16163 *"$as_nl"*)
16164 expr "X$arg" : "X\\(.*\\)$as_nl";
16165 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16166 esac;
16167 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16169 export as_echo_n_body
16170 as_echo_n='sh -c $as_echo_n_body as_echo'
16172 export as_echo_body
16173 as_echo='sh -c $as_echo_body as_echo'
16176 # The user is always right.
16177 if test "${PATH_SEPARATOR+set}" != set; then
16178 PATH_SEPARATOR=:
16179 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16180 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16181 PATH_SEPARATOR=';'
16186 # IFS
16187 # We need space, tab and new line, in precisely that order. Quoting is
16188 # there to prevent editors from complaining about space-tab.
16189 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16190 # splitting by setting IFS to empty value.)
16191 IFS=" "" $as_nl"
16193 # Find who we are. Look in the path if we contain no directory separator.
16194 as_myself=
16195 case $0 in #((
16196 *[\\/]* ) as_myself=$0 ;;
16197 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16198 for as_dir in $PATH
16200 IFS=$as_save_IFS
16201 test -z "$as_dir" && as_dir=.
16202 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16203 done
16204 IFS=$as_save_IFS
16207 esac
16208 # We did not find ourselves, most probably we were run as `sh COMMAND'
16209 # in which case we are not to be found in the path.
16210 if test "x$as_myself" = x; then
16211 as_myself=$0
16213 if test ! -f "$as_myself"; then
16214 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16215 exit 1
16218 # Unset variables that we do not need and which cause bugs (e.g. in
16219 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16220 # suppresses any "Segmentation fault" message there. '((' could
16221 # trigger a bug in pdksh 5.2.14.
16222 for as_var in BASH_ENV ENV MAIL MAILPATH
16223 do eval test x\${$as_var+set} = xset \
16224 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16225 done
16226 PS1='$ '
16227 PS2='> '
16228 PS4='+ '
16230 # NLS nuisances.
16231 LC_ALL=C
16232 export LC_ALL
16233 LANGUAGE=C
16234 export LANGUAGE
16236 # CDPATH.
16237 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16240 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16241 # ----------------------------------------
16242 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16243 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16244 # script with STATUS, using 1 if that was 0.
16245 as_fn_error ()
16247 as_status=$1; test $as_status -eq 0 && as_status=1
16248 if test "$4"; then
16249 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16250 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16252 $as_echo "$as_me: error: $2" >&2
16253 as_fn_exit $as_status
16254 } # as_fn_error
16257 # as_fn_set_status STATUS
16258 # -----------------------
16259 # Set $? to STATUS, without forking.
16260 as_fn_set_status ()
16262 return $1
16263 } # as_fn_set_status
16265 # as_fn_exit STATUS
16266 # -----------------
16267 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16268 as_fn_exit ()
16270 set +e
16271 as_fn_set_status $1
16272 exit $1
16273 } # as_fn_exit
16275 # as_fn_unset VAR
16276 # ---------------
16277 # Portably unset VAR.
16278 as_fn_unset ()
16280 { eval $1=; unset $1;}
16282 as_unset=as_fn_unset
16283 # as_fn_append VAR VALUE
16284 # ----------------------
16285 # Append the text in VALUE to the end of the definition contained in VAR. Take
16286 # advantage of any shell optimizations that allow amortized linear growth over
16287 # repeated appends, instead of the typical quadratic growth present in naive
16288 # implementations.
16289 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16290 eval 'as_fn_append ()
16292 eval $1+=\$2
16294 else
16295 as_fn_append ()
16297 eval $1=\$$1\$2
16299 fi # as_fn_append
16301 # as_fn_arith ARG...
16302 # ------------------
16303 # Perform arithmetic evaluation on the ARGs, and store the result in the
16304 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16305 # must be portable across $(()) and expr.
16306 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16307 eval 'as_fn_arith ()
16309 as_val=$(( $* ))
16311 else
16312 as_fn_arith ()
16314 as_val=`expr "$@" || test $? -eq 1`
16316 fi # as_fn_arith
16319 if expr a : '\(a\)' >/dev/null 2>&1 &&
16320 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16321 as_expr=expr
16322 else
16323 as_expr=false
16326 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16327 as_basename=basename
16328 else
16329 as_basename=false
16332 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16333 as_dirname=dirname
16334 else
16335 as_dirname=false
16338 as_me=`$as_basename -- "$0" ||
16339 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16340 X"$0" : 'X\(//\)$' \| \
16341 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16342 $as_echo X/"$0" |
16343 sed '/^.*\/\([^/][^/]*\)\/*$/{
16344 s//\1/
16347 /^X\/\(\/\/\)$/{
16348 s//\1/
16351 /^X\/\(\/\).*/{
16352 s//\1/
16355 s/.*/./; q'`
16357 # Avoid depending upon Character Ranges.
16358 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16359 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16360 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16361 as_cr_digits='0123456789'
16362 as_cr_alnum=$as_cr_Letters$as_cr_digits
16364 ECHO_C= ECHO_N= ECHO_T=
16365 case `echo -n x` in #(((((
16366 -n*)
16367 case `echo 'xy\c'` in
16368 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16369 xy) ECHO_C='\c';;
16370 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16371 ECHO_T=' ';;
16372 esac;;
16374 ECHO_N='-n';;
16375 esac
16377 rm -f conf$$ conf$$.exe conf$$.file
16378 if test -d conf$$.dir; then
16379 rm -f conf$$.dir/conf$$.file
16380 else
16381 rm -f conf$$.dir
16382 mkdir conf$$.dir 2>/dev/null
16384 if (echo >conf$$.file) 2>/dev/null; then
16385 if ln -s conf$$.file conf$$ 2>/dev/null; then
16386 as_ln_s='ln -s'
16387 # ... but there are two gotchas:
16388 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16389 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16390 # In both cases, we have to default to `cp -pR'.
16391 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16392 as_ln_s='cp -pR'
16393 elif ln conf$$.file conf$$ 2>/dev/null; then
16394 as_ln_s=ln
16395 else
16396 as_ln_s='cp -pR'
16398 else
16399 as_ln_s='cp -pR'
16401 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16402 rmdir conf$$.dir 2>/dev/null
16405 # as_fn_mkdir_p
16406 # -------------
16407 # Create "$as_dir" as a directory, including parents if necessary.
16408 as_fn_mkdir_p ()
16411 case $as_dir in #(
16412 -*) as_dir=./$as_dir;;
16413 esac
16414 test -d "$as_dir" || eval $as_mkdir_p || {
16415 as_dirs=
16416 while :; do
16417 case $as_dir in #(
16418 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16419 *) as_qdir=$as_dir;;
16420 esac
16421 as_dirs="'$as_qdir' $as_dirs"
16422 as_dir=`$as_dirname -- "$as_dir" ||
16423 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16424 X"$as_dir" : 'X\(//\)[^/]' \| \
16425 X"$as_dir" : 'X\(//\)$' \| \
16426 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16427 $as_echo X"$as_dir" |
16428 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16429 s//\1/
16432 /^X\(\/\/\)[^/].*/{
16433 s//\1/
16436 /^X\(\/\/\)$/{
16437 s//\1/
16440 /^X\(\/\).*/{
16441 s//\1/
16444 s/.*/./; q'`
16445 test -d "$as_dir" && break
16446 done
16447 test -z "$as_dirs" || eval "mkdir $as_dirs"
16448 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16451 } # as_fn_mkdir_p
16452 if mkdir -p . 2>/dev/null; then
16453 as_mkdir_p='mkdir -p "$as_dir"'
16454 else
16455 test -d ./-p && rmdir ./-p
16456 as_mkdir_p=false
16460 # as_fn_executable_p FILE
16461 # -----------------------
16462 # Test if FILE is an executable regular file.
16463 as_fn_executable_p ()
16465 test -f "$1" && test -x "$1"
16466 } # as_fn_executable_p
16467 as_test_x='test -x'
16468 as_executable_p=as_fn_executable_p
16470 # Sed expression to map a string onto a valid CPP name.
16471 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16473 # Sed expression to map a string onto a valid variable name.
16474 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16477 exec 6>&1
16478 ## ----------------------------------- ##
16479 ## Main body of $CONFIG_STATUS script. ##
16480 ## ----------------------------------- ##
16481 _ASEOF
16482 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16484 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16485 # Save the log message, to keep $0 and so on meaningful, and to
16486 # report actual input values of CONFIG_FILES etc. instead of their
16487 # values after options handling.
16488 ac_log="
16489 This file was extended by Wine $as_me 1.5.10, which was
16490 generated by GNU Autoconf 2.69. Invocation command line was
16492 CONFIG_FILES = $CONFIG_FILES
16493 CONFIG_HEADERS = $CONFIG_HEADERS
16494 CONFIG_LINKS = $CONFIG_LINKS
16495 CONFIG_COMMANDS = $CONFIG_COMMANDS
16496 $ $0 $@
16498 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16501 _ACEOF
16503 case $ac_config_files in *"
16504 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16505 esac
16507 case $ac_config_headers in *"
16508 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16509 esac
16512 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16513 # Files that config.status was made for.
16514 config_files="$ac_config_files"
16515 config_headers="$ac_config_headers"
16516 config_links="$ac_config_links"
16517 config_commands="$ac_config_commands"
16519 _ACEOF
16521 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16522 ac_cs_usage="\
16523 \`$as_me' instantiates files and other configuration actions
16524 from templates according to the current configuration. Unless the files
16525 and actions are specified as TAGs, all are instantiated by default.
16527 Usage: $0 [OPTION]... [TAG]...
16529 -h, --help print this help, then exit
16530 -V, --version print version number and configuration settings, then exit
16531 --config print configuration, then exit
16532 -q, --quiet, --silent
16533 do not print progress messages
16534 -d, --debug don't remove temporary files
16535 --recheck update $as_me by reconfiguring in the same conditions
16536 --file=FILE[:TEMPLATE]
16537 instantiate the configuration file FILE
16538 --header=FILE[:TEMPLATE]
16539 instantiate the configuration header FILE
16541 Configuration files:
16542 $config_files
16544 Configuration headers:
16545 $config_headers
16547 Configuration links:
16548 $config_links
16550 Configuration commands:
16551 $config_commands
16553 Report bugs to <wine-devel@winehq.org>.
16554 Wine home page: <http://www.winehq.org>."
16556 _ACEOF
16557 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16558 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16559 ac_cs_version="\\
16560 Wine config.status 1.5.10
16561 configured by $0, generated by GNU Autoconf 2.69,
16562 with options \\"\$ac_cs_config\\"
16564 Copyright (C) 2012 Free Software Foundation, Inc.
16565 This config.status script is free software; the Free Software Foundation
16566 gives unlimited permission to copy, distribute and modify it."
16568 ac_pwd='$ac_pwd'
16569 srcdir='$srcdir'
16570 INSTALL='$INSTALL'
16571 test -n "\$AWK" || AWK=awk
16572 _ACEOF
16574 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16575 # The default lists apply if the user does not specify any file.
16576 ac_need_defaults=:
16577 while test $# != 0
16579 case $1 in
16580 --*=?*)
16581 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16582 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16583 ac_shift=:
16585 --*=)
16586 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16587 ac_optarg=
16588 ac_shift=:
16591 ac_option=$1
16592 ac_optarg=$2
16593 ac_shift=shift
16595 esac
16597 case $ac_option in
16598 # Handling of the options.
16599 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16600 ac_cs_recheck=: ;;
16601 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16602 $as_echo "$ac_cs_version"; exit ;;
16603 --config | --confi | --conf | --con | --co | --c )
16604 $as_echo "$ac_cs_config"; exit ;;
16605 --debug | --debu | --deb | --de | --d | -d )
16606 debug=: ;;
16607 --file | --fil | --fi | --f )
16608 $ac_shift
16609 case $ac_optarg in
16610 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16611 '') as_fn_error $? "missing file argument" ;;
16612 esac
16613 as_fn_append CONFIG_FILES " '$ac_optarg'"
16614 ac_need_defaults=false;;
16615 --header | --heade | --head | --hea )
16616 $ac_shift
16617 case $ac_optarg in
16618 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16619 esac
16620 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16621 ac_need_defaults=false;;
16622 --he | --h)
16623 # Conflict between --help and --header
16624 as_fn_error $? "ambiguous option: \`$1'
16625 Try \`$0 --help' for more information.";;
16626 --help | --hel | -h )
16627 $as_echo "$ac_cs_usage"; exit ;;
16628 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16629 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16630 ac_cs_silent=: ;;
16632 # This is an error.
16633 -*) as_fn_error $? "unrecognized option: \`$1'
16634 Try \`$0 --help' for more information." ;;
16636 *) as_fn_append ac_config_targets " $1"
16637 ac_need_defaults=false ;;
16639 esac
16640 shift
16641 done
16643 ac_configure_extra_args=
16645 if $ac_cs_silent; then
16646 exec 6>/dev/null
16647 ac_configure_extra_args="$ac_configure_extra_args --silent"
16650 _ACEOF
16651 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16652 if \$ac_cs_recheck; then
16653 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16654 shift
16655 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16656 CONFIG_SHELL='$SHELL'
16657 export CONFIG_SHELL
16658 exec "\$@"
16661 _ACEOF
16662 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16663 exec 5>>config.log
16665 echo
16666 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16667 ## Running $as_me. ##
16668 _ASBOX
16669 $as_echo "$ac_log"
16670 } >&5
16672 _ACEOF
16673 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16675 # INIT-COMMANDS
16677 wine_fn_output_makefile ()
16679 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
16680 $ALL_MAKEFILE_DEPENDS
16681 _WINE_EOF
16682 as_fn_error $? "could not create Makefile" "$LINENO" 5
16685 _ACEOF
16687 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16689 # Handling of arguments.
16690 for ac_config_target in $ac_config_targets
16692 case $ac_config_target in
16693 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
16694 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
16695 "dlls/shell32/AUTHORS") CONFIG_LINKS="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
16696 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
16697 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
16698 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
16699 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
16700 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
16701 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
16702 "tools/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS tools/l_intl.nls:tools/l_intl.nls" ;;
16703 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
16704 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
16705 "dlls/gdi32/dibdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
16706 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
16707 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
16708 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
16709 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
16710 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
16711 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
16712 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
16713 "Maketest.rules") CONFIG_FILES="$CONFIG_FILES Maketest.rules" ;;
16714 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
16715 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
16716 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
16717 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
16718 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
16720 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16721 esac
16722 done
16725 # If the user did not use the arguments to specify the items to instantiate,
16726 # then the envvar interface is used. Set only those that are not.
16727 # We use the long form for the default assignment because of an extremely
16728 # bizarre bug on SunOS 4.1.3.
16729 if $ac_need_defaults; then
16730 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16731 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16732 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
16733 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16736 # Have a temporary directory for convenience. Make it in the build tree
16737 # simply because there is no reason against having it here, and in addition,
16738 # creating and moving files from /tmp can sometimes cause problems.
16739 # Hook for its removal unless debugging.
16740 # Note that there is a small window in which the directory will not be cleaned:
16741 # after its creation but before its name has been assigned to `$tmp'.
16742 $debug ||
16744 tmp= ac_tmp=
16745 trap 'exit_status=$?
16746 : "${ac_tmp:=$tmp}"
16747 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16749 trap 'as_fn_exit 1' 1 2 13 15
16751 # Create a (secure) tmp directory for tmp files.
16754 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16755 test -d "$tmp"
16756 } ||
16758 tmp=./conf$$-$RANDOM
16759 (umask 077 && mkdir "$tmp")
16760 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16761 ac_tmp=$tmp
16763 # Set up the scripts for CONFIG_FILES section.
16764 # No need to generate them if there are no CONFIG_FILES.
16765 # This happens for instance with `./config.status config.h'.
16766 if test -n "$CONFIG_FILES"; then
16768 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
16769 ac_cs_awk_getline=:
16770 ac_cs_awk_pipe_init=
16771 ac_cs_awk_read_file='
16772 while ((getline aline < (F[key])) > 0)
16773 print(aline)
16774 close(F[key])'
16775 ac_cs_awk_pipe_fini=
16776 else
16777 ac_cs_awk_getline=false
16778 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
16779 ac_cs_awk_read_file='
16780 print "|#_!!_#|"
16781 print "cat " F[key] " &&"
16782 '$ac_cs_awk_pipe_init
16783 # The final `:' finishes the AND list.
16784 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
16786 ac_cr=`echo X | tr X '\015'`
16787 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16788 # But we know of no other shell where ac_cr would be empty at this
16789 # point, so we can use a bashism as a fallback.
16790 if test "x$ac_cr" = x; then
16791 eval ac_cr=\$\'\\r\'
16793 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16794 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16795 ac_cs_awk_cr='\\r'
16796 else
16797 ac_cs_awk_cr=$ac_cr
16800 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16801 _ACEOF
16803 # Create commands to substitute file output variables.
16805 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
16806 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
16807 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
16808 echo "_ACAWK" &&
16809 echo "_ACEOF"
16810 } >conf$$files.sh &&
16811 . ./conf$$files.sh ||
16812 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16813 rm -f conf$$files.sh
16816 echo "cat >conf$$subs.awk <<_ACEOF" &&
16817 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16818 echo "_ACEOF"
16819 } >conf$$subs.sh ||
16820 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16821 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16822 ac_delim='%!_!# '
16823 for ac_last_try in false false false false false :; do
16824 . ./conf$$subs.sh ||
16825 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16827 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16828 if test $ac_delim_n = $ac_delim_num; then
16829 break
16830 elif $ac_last_try; then
16831 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16832 else
16833 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16835 done
16836 rm -f conf$$subs.sh
16838 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16839 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16840 _ACEOF
16841 sed -n '
16843 s/^/S["/; s/!.*/"]=/
16846 s/^[^!]*!//
16847 :repl
16848 t repl
16849 s/'"$ac_delim"'$//
16850 t delim
16853 s/\(.\{148\}\)..*/\1/
16854 t more1
16855 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16858 b repl
16859 :more1
16860 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16863 s/.\{148\}//
16864 t nl
16865 :delim
16867 s/\(.\{148\}\)..*/\1/
16868 t more2
16869 s/["\\]/\\&/g; s/^/"/; s/$/"/
16872 :more2
16873 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16876 s/.\{148\}//
16877 t delim
16878 ' <conf$$subs.awk | sed '
16879 /^[^""]/{
16881 s/\n//
16883 ' >>$CONFIG_STATUS || ac_write_fail=1
16884 rm -f conf$$subs.awk
16885 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16886 _ACAWK
16887 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16888 for (key in S) S_is_set[key] = 1
16889 FS = "\a"
16890 \$ac_cs_awk_pipe_init
16893 line = $ 0
16894 nfields = split(line, field, "@")
16895 substed = 0
16896 len = length(field[1])
16897 for (i = 2; i < nfields; i++) {
16898 key = field[i]
16899 keylen = length(key)
16900 if (S_is_set[key]) {
16901 value = S[key]
16902 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16903 len += length(value) + length(field[++i])
16904 substed = 1
16905 } else
16906 len += 1 + keylen
16908 if (nfields == 3 && !substed) {
16909 key = field[2]
16910 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
16911 \$ac_cs_awk_read_file
16912 next
16915 print line
16917 \$ac_cs_awk_pipe_fini
16918 _ACAWK
16919 _ACEOF
16920 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16921 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16922 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16923 else
16925 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16926 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16927 _ACEOF
16929 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16930 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16931 # trailing colons and then remove the whole line if VPATH becomes empty
16932 # (actually we leave an empty line to preserve line numbers).
16933 if test "x$srcdir" = x.; then
16934 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16936 s///
16937 s/^/:/
16938 s/[ ]*$/:/
16939 s/:\$(srcdir):/:/g
16940 s/:\${srcdir}:/:/g
16941 s/:@srcdir@:/:/g
16942 s/^:*//
16943 s/:*$//
16945 s/\(=[ ]*\).*/\1/
16947 s/\n//
16948 s/^[^=]*=[ ]*$//
16952 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16953 fi # test -n "$CONFIG_FILES"
16955 # Set up the scripts for CONFIG_HEADERS section.
16956 # No need to generate them if there are no CONFIG_HEADERS.
16957 # This happens for instance with `./config.status Makefile'.
16958 if test -n "$CONFIG_HEADERS"; then
16959 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16960 BEGIN {
16961 _ACEOF
16963 # Transform confdefs.h into an awk script `defines.awk', embedded as
16964 # here-document in config.status, that substitutes the proper values into
16965 # config.h.in to produce config.h.
16967 # Create a delimiter string that does not exist in confdefs.h, to ease
16968 # handling of long lines.
16969 ac_delim='%!_!# '
16970 for ac_last_try in false false :; do
16971 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16972 if test -z "$ac_tt"; then
16973 break
16974 elif $ac_last_try; then
16975 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16976 else
16977 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16979 done
16981 # For the awk script, D is an array of macro values keyed by name,
16982 # likewise P contains macro parameters if any. Preserve backslash
16983 # newline sequences.
16985 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16986 sed -n '
16987 s/.\{148\}/&'"$ac_delim"'/g
16988 t rset
16989 :rset
16990 s/^[ ]*#[ ]*define[ ][ ]*/ /
16991 t def
16993 :def
16994 s/\\$//
16995 t bsnl
16996 s/["\\]/\\&/g
16997 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16998 D["\1"]=" \3"/p
16999 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17001 :bsnl
17002 s/["\\]/\\&/g
17003 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17004 D["\1"]=" \3\\\\\\n"\\/p
17005 t cont
17006 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17007 t cont
17009 :cont
17011 s/.\{148\}/&'"$ac_delim"'/g
17012 t clear
17013 :clear
17014 s/\\$//
17015 t bsnlc
17016 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17018 :bsnlc
17019 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17020 b cont
17021 ' <confdefs.h | sed '
17022 s/'"$ac_delim"'/"\\\
17023 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17025 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17026 for (key in D) D_is_set[key] = 1
17027 FS = "\a"
17029 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17030 line = \$ 0
17031 split(line, arg, " ")
17032 if (arg[1] == "#") {
17033 defundef = arg[2]
17034 mac1 = arg[3]
17035 } else {
17036 defundef = substr(arg[1], 2)
17037 mac1 = arg[2]
17039 split(mac1, mac2, "(") #)
17040 macro = mac2[1]
17041 prefix = substr(line, 1, index(line, defundef) - 1)
17042 if (D_is_set[macro]) {
17043 # Preserve the white space surrounding the "#".
17044 print prefix "define", macro P[macro] D[macro]
17045 next
17046 } else {
17047 # Replace #undef with comments. This is necessary, for example,
17048 # in the case of _POSIX_SOURCE, which is predefined and required
17049 # on some systems where configure will not decide to define it.
17050 if (defundef == "undef") {
17051 print "/*", prefix defundef, macro, "*/"
17052 next
17056 { print }
17057 _ACAWK
17058 _ACEOF
17059 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17060 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17061 fi # test -n "$CONFIG_HEADERS"
17064 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
17065 shift
17066 for ac_tag
17068 case $ac_tag in
17069 :[FHLC]) ac_mode=$ac_tag; continue;;
17070 esac
17071 case $ac_mode$ac_tag in
17072 :[FHL]*:*);;
17073 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17074 :[FH]-) ac_tag=-:-;;
17075 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17076 esac
17077 ac_save_IFS=$IFS
17078 IFS=:
17079 set x $ac_tag
17080 IFS=$ac_save_IFS
17081 shift
17082 ac_file=$1
17083 shift
17085 case $ac_mode in
17086 :L) ac_source=$1;;
17087 :[FH])
17088 ac_file_inputs=
17089 for ac_f
17091 case $ac_f in
17092 -) ac_f="$ac_tmp/stdin";;
17093 *) # Look for the file first in the build tree, then in the source tree
17094 # (if the path is not absolute). The absolute path cannot be DOS-style,
17095 # because $ac_f cannot contain `:'.
17096 test -f "$ac_f" ||
17097 case $ac_f in
17098 [\\/$]*) false;;
17099 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17100 esac ||
17101 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17102 esac
17103 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17104 as_fn_append ac_file_inputs " '$ac_f'"
17105 done
17107 # Let's still pretend it is `configure' which instantiates (i.e., don't
17108 # use $as_me), people would be surprised to read:
17109 # /* config.h. Generated by config.status. */
17110 configure_input='Generated from '`
17111 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17112 `' by configure.'
17113 if test x"$ac_file" != x-; then
17114 configure_input="$ac_file. $configure_input"
17115 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17116 $as_echo "$as_me: creating $ac_file" >&6;}
17118 # Neutralize special characters interpreted by sed in replacement strings.
17119 case $configure_input in #(
17120 *\&* | *\|* | *\\* )
17121 ac_sed_conf_input=`$as_echo "$configure_input" |
17122 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17123 *) ac_sed_conf_input=$configure_input;;
17124 esac
17126 case $ac_tag in
17127 *:-:* | *:-) cat >"$ac_tmp/stdin" \
17128 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17129 esac
17131 esac
17133 ac_dir=`$as_dirname -- "$ac_file" ||
17134 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17135 X"$ac_file" : 'X\(//\)[^/]' \| \
17136 X"$ac_file" : 'X\(//\)$' \| \
17137 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17138 $as_echo X"$ac_file" |
17139 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17140 s//\1/
17143 /^X\(\/\/\)[^/].*/{
17144 s//\1/
17147 /^X\(\/\/\)$/{
17148 s//\1/
17151 /^X\(\/\).*/{
17152 s//\1/
17155 s/.*/./; q'`
17156 as_dir="$ac_dir"; as_fn_mkdir_p
17157 ac_builddir=.
17159 case "$ac_dir" in
17160 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17162 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17163 # A ".." for each directory in $ac_dir_suffix.
17164 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17165 case $ac_top_builddir_sub in
17166 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17167 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17168 esac ;;
17169 esac
17170 ac_abs_top_builddir=$ac_pwd
17171 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17172 # for backward compatibility:
17173 ac_top_builddir=$ac_top_build_prefix
17175 case $srcdir in
17176 .) # We are building in place.
17177 ac_srcdir=.
17178 ac_top_srcdir=$ac_top_builddir_sub
17179 ac_abs_top_srcdir=$ac_pwd ;;
17180 [\\/]* | ?:[\\/]* ) # Absolute name.
17181 ac_srcdir=$srcdir$ac_dir_suffix;
17182 ac_top_srcdir=$srcdir
17183 ac_abs_top_srcdir=$srcdir ;;
17184 *) # Relative name.
17185 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17186 ac_top_srcdir=$ac_top_build_prefix$srcdir
17187 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17188 esac
17189 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17192 case $ac_mode in
17195 # CONFIG_FILE
17198 case $INSTALL in
17199 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17200 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17201 esac
17202 _ACEOF
17204 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17205 # If the template does not know about datarootdir, expand it.
17206 # FIXME: This hack should be removed a few years after 2.60.
17207 ac_datarootdir_hack=; ac_datarootdir_seen=
17208 ac_sed_dataroot='
17209 /datarootdir/ {
17213 /@datadir@/p
17214 /@docdir@/p
17215 /@infodir@/p
17216 /@localedir@/p
17217 /@mandir@/p'
17218 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17219 *datarootdir*) ac_datarootdir_seen=yes;;
17220 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17222 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17223 _ACEOF
17224 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17225 ac_datarootdir_hack='
17226 s&@datadir@&$datadir&g
17227 s&@docdir@&$docdir&g
17228 s&@infodir@&$infodir&g
17229 s&@localedir@&$localedir&g
17230 s&@mandir@&$mandir&g
17231 s&\\\${datarootdir}&$datarootdir&g' ;;
17232 esac
17233 _ACEOF
17235 # Neutralize VPATH when `$srcdir' = `.'.
17236 # Shell code in configure.ac might set extrasub.
17237 # FIXME: do we really want to maintain this feature?
17238 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17239 ac_sed_extra="$ac_vpsub
17240 $extrasub
17241 _ACEOF
17242 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17244 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17245 s|@configure_input@|$ac_sed_conf_input|;t t
17246 s&@top_builddir@&$ac_top_builddir_sub&;t t
17247 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17248 s&@srcdir@&$ac_srcdir&;t t
17249 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17250 s&@top_srcdir@&$ac_top_srcdir&;t t
17251 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17252 s&@builddir@&$ac_builddir&;t t
17253 s&@abs_builddir@&$ac_abs_builddir&;t t
17254 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17255 s&@INSTALL@&$ac_INSTALL&;t t
17256 $ac_datarootdir_hack
17258 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
17259 if $ac_cs_awk_getline; then
17260 $AWK -f "$ac_tmp/subs.awk"
17261 else
17262 $AWK -f "$ac_tmp/subs.awk" | $SHELL
17263 fi \
17264 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17266 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17267 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17268 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17269 "$ac_tmp/out"`; test -z "$ac_out"; } &&
17270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17271 which seems to be undefined. Please make sure it is defined" >&5
17272 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17273 which seems to be undefined. Please make sure it is defined" >&2;}
17275 rm -f "$ac_tmp/stdin"
17276 case $ac_file in
17277 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17278 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17279 esac \
17280 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17284 # CONFIG_HEADER
17286 if test x"$ac_file" != x-; then
17288 $as_echo "/* $configure_input */" \
17289 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17290 } >"$ac_tmp/config.h" \
17291 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17292 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17293 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17294 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17295 else
17296 rm -f "$ac_file"
17297 mv "$ac_tmp/config.h" "$ac_file" \
17298 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17300 else
17301 $as_echo "/* $configure_input */" \
17302 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17303 || as_fn_error $? "could not create -" "$LINENO" 5
17308 # CONFIG_LINK
17311 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
17313 else
17314 # Prefer the file from the source tree if names are identical.
17315 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
17316 ac_source=$srcdir/$ac_source
17319 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
17320 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
17322 if test ! -r "$ac_source"; then
17323 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
17325 rm -f "$ac_file"
17327 # Try a relative symlink, then a hard link, then a copy.
17328 case $ac_source in
17329 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
17330 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
17331 esac
17332 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
17333 ln "$ac_source" "$ac_file" 2>/dev/null ||
17334 cp -p "$ac_source" "$ac_file" ||
17335 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
17338 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17339 $as_echo "$as_me: executing $ac_file commands" >&6;}
17341 esac
17344 case $ac_file$ac_mode in
17345 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
17346 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
17347 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
17348 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
17349 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
17350 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
17351 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
17352 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
17353 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
17354 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
17355 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
17356 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
17357 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
17358 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
17359 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
17360 "Makefile":C) wine_fn_output_makefile Makefile ;;
17362 esac
17363 done # for ac_tag
17366 as_fn_exit 0
17367 _ACEOF
17368 ac_clean_files=$ac_clean_files_save
17370 test $ac_write_fail = 0 ||
17371 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17374 # configure is writing to config.log, and then calls config.status.
17375 # config.status does its own redirection, appending to config.log.
17376 # Unfortunately, on DOS this fails, as config.log is still kept open
17377 # by configure, so config.status won't be able to write to it; its
17378 # output is simply discarded. So we exec the FD to /dev/null,
17379 # effectively closing config.log, so it can be properly (re)opened and
17380 # appended to by config.status. When coming back to configure, we
17381 # need to make the FD available again.
17382 if test "$no_create" != yes; then
17383 ac_cs_success=:
17384 ac_config_status_args=
17385 test "$silent" = yes &&
17386 ac_config_status_args="$ac_config_status_args --quiet"
17387 exec 5>/dev/null
17388 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17389 exec 5>>config.log
17390 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17391 # would make configure fail if this is the last instruction.
17392 $ac_cs_success || as_fn_exit 1
17394 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17396 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17400 if test "$no_create" = "yes"
17401 then
17402 exit 0
17405 ac_save_IFS="$IFS"
17406 if test "x$wine_notices != "x; then
17407 echo >&6
17408 IFS="|"
17409 for msg in $wine_notices; do
17410 IFS="$ac_save_IFS"
17411 if test -n "$msg"; then
17412 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
17413 $as_echo "$as_me: $msg" >&6;}
17415 done
17417 IFS="|"
17418 for msg in $wine_warnings; do
17419 IFS="$ac_save_IFS"
17420 if test -n "$msg"; then
17421 echo >&2
17422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
17423 $as_echo "$as_me: WARNING: $msg" >&2;}
17425 done
17426 IFS="$ac_save_IFS"
17428 echo "
17429 $as_me: Finished. Do '${ac_make}' to compile Wine.
17430 " >&6