msvcrt: Add i386 __CxxExceptionFilter implementation.
[wine.git] / configure
blobc17423fda88e9e88898198fac89b09dd401905c3
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.51.
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.7.51'
584 PACKAGE_STRING='Wine 1.7.51'
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 LINGUAS
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 BUILTINFLAG
636 EXTRACFLAGS
637 PROCSTAT_LIBS
638 KSTAT_LIBS
639 MPG123_LIBS
640 MPG123_CFLAGS
641 TIFF_LIBS
642 TIFF_CFLAGS
643 PNG_LIBS
644 PNG_CFLAGS
645 JPEG_LIBS
646 JPEG_CFLAGS
647 FONTCONFIG_LIBS
648 FONTCONFIG_CFLAGS
649 CUPS_CFLAGS
650 CAPI20_LIBS
651 CAPI20_CFLAGS
652 OSS4_CFLAGS
653 ALSA_LIBS
654 GSTREAMER_LIBS
655 GSTREAMER_CFLAGS
656 GETTEXTPO_LIBS
657 Z_LIBS
658 FREETYPE_LIBS
659 FREETYPE_CFLAGS
660 LCMS2_LIBS
661 LCMS2_CFLAGS
662 RESOLV_LIBS
663 GPHOTO2_PORT_LIBS
664 GPHOTO2_PORT_CFLAGS
665 GPHOTO2_LIBS
666 GPHOTO2_CFLAGS
667 SANE_LIBS
668 SANE_CFLAGS
669 GNUTLS_LIBS
670 GNUTLS_CFLAGS
671 HAL_LIBS
672 HAL_CFLAGS
673 DBUS_LIBS
674 DBUS_CFLAGS
675 XSLT_LIBS
676 XSLT_CFLAGS
677 XML2_LIBS
678 XML2_CFLAGS
679 LIBPCAP
680 X_EXTRA_LIBS
681 X_LIBS
682 X_PRE_LIBS
683 X_CFLAGS
684 XMKMF
685 PTHREAD_LIBS
686 CROSSCC
687 CROSSTARGET
688 PRELINK
689 CARBON_LIBS
690 QUICKTIME_LIBS
691 OPENCL_LIBS
692 OPENAL_LIBS
693 COREAUDIO_LIBS
694 SECURITY_LIBS
695 DISKARBITRATION_LIBS
696 APPKIT_LIBS
697 CORESERVICES_LIBS
698 APPLICATIONSERVICES_LIBS
699 FORCEFEEDBACK_LIBS
700 IOKIT_LIBS
701 COREFOUNDATION_LIBS
702 LIBWINE_RULES
703 SOCKET_LIBS
704 DLLTOOL
705 LOADER_RULES
706 ALL_TEST_RESOURCES
707 READELF
708 OTOOL
710 LDRPATH_LOCAL
711 LDRPATH_INSTALL
712 DLLFLAGS
713 DLLPREFIX
714 dlldir
716 OPENGL_LIBS
717 ICOTOOL
718 CONVERT
719 RSVG
720 FONTFORGE
721 PKG_CONFIG
722 MSGFMT
723 LDCONFIG
724 EGREP
725 GREP
726 LN_S
727 RANLIB
728 ARFLAGS
729 STRIP
730 ac_ct_AR
732 BISON
733 FLEX
734 TOOLSDIR
735 TARGETFLAGS
737 CPPBIN
738 ac_ct_CXX
739 CXXFLAGS
741 OBJEXT
742 EXEEXT
743 ac_ct_CC
744 CPPFLAGS
745 LDFLAGS
746 CFLAGS
748 SET_MAKE
749 host_os
750 host_vendor
751 host_cpu
752 host
753 build_os
754 build_vendor
755 build_cpu
756 build
757 target_alias
758 host_alias
759 build_alias
760 LIBS
761 ECHO_T
762 ECHO_N
763 ECHO_C
764 DEFS
765 mandir
766 localedir
767 libdir
768 psdir
769 pdfdir
770 dvidir
771 htmldir
772 infodir
773 docdir
774 oldincludedir
775 includedir
776 runstatedir
777 localstatedir
778 sharedstatedir
779 sysconfdir
780 datadir
781 datarootdir
782 libexecdir
783 sbindir
784 bindir
785 program_transform_name
786 prefix
787 exec_prefix
788 PACKAGE_URL
789 PACKAGE_BUGREPORT
790 PACKAGE_STRING
791 PACKAGE_VERSION
792 PACKAGE_TARNAME
793 PACKAGE_NAME
794 PATH_SEPARATOR
795 SHELL'
796 ac_subst_files=''
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_netapi
824 with_openal
825 with_opencl
826 with_opengl
827 with_osmesa
828 with_oss
829 with_pcap
830 with_png
831 with_pthread
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_xshm
845 with_xslt
846 with_xxf86vm
847 with_zlib
848 with_wine_tools
849 with_wine64
850 enable_largefile
851 with_x
852 enable_acledit
853 enable_aclui
854 enable_activeds
855 enable_actxprxy
856 enable_advapi32
857 enable_advpack
858 enable_amstream
859 enable_api_ms_win_core_com_l1_1_0
860 enable_api_ms_win_core_console_l1_1_0
861 enable_api_ms_win_core_datetime_l1_1_0
862 enable_api_ms_win_core_datetime_l1_1_1
863 enable_api_ms_win_core_debug_l1_1_0
864 enable_api_ms_win_core_debug_l1_1_1
865 enable_api_ms_win_core_errorhandling_l1_1_0
866 enable_api_ms_win_core_errorhandling_l1_1_1
867 enable_api_ms_win_core_errorhandling_l1_1_2
868 enable_api_ms_win_core_fibers_l1_1_0
869 enable_api_ms_win_core_fibers_l1_1_1
870 enable_api_ms_win_core_file_l1_1_0
871 enable_api_ms_win_core_file_l1_2_0
872 enable_api_ms_win_core_file_l2_1_0
873 enable_api_ms_win_core_file_l2_1_1
874 enable_api_ms_win_core_handle_l1_1_0
875 enable_api_ms_win_core_heap_l1_1_0
876 enable_api_ms_win_core_heap_l1_2_0
877 enable_api_ms_win_core_heap_obsolete_l1_1_0
878 enable_api_ms_win_core_interlocked_l1_1_0
879 enable_api_ms_win_core_interlocked_l1_2_0
880 enable_api_ms_win_core_io_l1_1_1
881 enable_api_ms_win_core_kernel32_legacy_l1_1_0
882 enable_api_ms_win_core_libraryloader_l1_1_0
883 enable_api_ms_win_core_libraryloader_l1_1_1
884 enable_api_ms_win_core_localization_l1_2_0
885 enable_api_ms_win_core_localization_l1_2_1
886 enable_api_ms_win_core_localization_obsolete_l1_1_0
887 enable_api_ms_win_core_localregistry_l1_1_0
888 enable_api_ms_win_core_memory_l1_1_0
889 enable_api_ms_win_core_memory_l1_1_1
890 enable_api_ms_win_core_misc_l1_1_0
891 enable_api_ms_win_core_namedpipe_l1_1_0
892 enable_api_ms_win_core_namedpipe_l1_2_0
893 enable_api_ms_win_core_processenvironment_l1_1_0
894 enable_api_ms_win_core_processenvironment_l1_2_0
895 enable_api_ms_win_core_processthreads_l1_1_0
896 enable_api_ms_win_core_processthreads_l1_1_1
897 enable_api_ms_win_core_processthreads_l1_1_2
898 enable_api_ms_win_core_profile_l1_1_0
899 enable_api_ms_win_core_psapi_l1_1_0
900 enable_api_ms_win_core_registry_l1_1_0
901 enable_api_ms_win_core_rtlsupport_l1_1_0
902 enable_api_ms_win_core_rtlsupport_l1_2_0
903 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
904 enable_api_ms_win_core_string_l1_1_0
905 enable_api_ms_win_core_synch_l1_1_0
906 enable_api_ms_win_core_synch_l1_2_0
907 enable_api_ms_win_core_sysinfo_l1_1_0
908 enable_api_ms_win_core_sysinfo_l1_2_0
909 enable_api_ms_win_core_sysinfo_l1_2_1
910 enable_api_ms_win_core_threadpool_legacy_l1_1_0
911 enable_api_ms_win_core_timezone_l1_1_0
912 enable_api_ms_win_core_url_l1_1_0
913 enable_api_ms_win_core_util_l1_1_0
914 enable_api_ms_win_core_winrt_error_l1_1_0
915 enable_api_ms_win_core_winrt_error_l1_1_1
916 enable_api_ms_win_core_winrt_l1_1_0
917 enable_api_ms_win_core_winrt_string_l1_1_0
918 enable_api_ms_win_core_xstate_l2_1_0
919 enable_api_ms_win_crt_conio_l1_1_0
920 enable_api_ms_win_crt_convert_l1_1_0
921 enable_api_ms_win_crt_environment_l1_1_0
922 enable_api_ms_win_crt_filesystem_l1_1_0
923 enable_api_ms_win_crt_heap_l1_1_0
924 enable_api_ms_win_crt_locale_l1_1_0
925 enable_api_ms_win_crt_math_l1_1_0
926 enable_api_ms_win_crt_multibyte_l1_1_0
927 enable_api_ms_win_crt_private_l1_1_0
928 enable_api_ms_win_crt_process_l1_1_0
929 enable_api_ms_win_crt_runtime_l1_1_0
930 enable_api_ms_win_crt_stdio_l1_1_0
931 enable_api_ms_win_crt_string_l1_1_0
932 enable_api_ms_win_crt_time_l1_1_0
933 enable_api_ms_win_crt_utility_l1_1_0
934 enable_api_ms_win_downlevel_advapi32_l1_1_0
935 enable_api_ms_win_downlevel_advapi32_l2_1_0
936 enable_api_ms_win_downlevel_normaliz_l1_1_0
937 enable_api_ms_win_downlevel_ole32_l1_1_0
938 enable_api_ms_win_downlevel_shell32_l1_1_0
939 enable_api_ms_win_downlevel_shlwapi_l1_1_0
940 enable_api_ms_win_downlevel_shlwapi_l2_1_0
941 enable_api_ms_win_downlevel_user32_l1_1_0
942 enable_api_ms_win_downlevel_version_l1_1_0
943 enable_api_ms_win_eventing_provider_l1_1_0
944 enable_api_ms_win_ntuser_dc_access_l1_1_0
945 enable_api_ms_win_security_base_l1_1_0
946 enable_api_ms_win_security_base_l1_2_0
947 enable_api_ms_win_security_sddl_l1_1_0
948 enable_api_ms_win_service_core_l1_1_1
949 enable_api_ms_win_service_management_l1_1_0
950 enable_api_ms_win_service_winsvc_l1_2_0
951 enable_apphelp
952 enable_appwiz_cpl
953 enable_atl
954 enable_atl100
955 enable_atl110
956 enable_atl80
957 enable_atl90
958 enable_authz
959 enable_avicap32
960 enable_avifil32
961 enable_avrt
962 enable_bcrypt
963 enable_browseui
964 enable_cabinet
965 enable_capi2032
966 enable_cards
967 enable_cfgmgr32
968 enable_clusapi
969 enable_combase
970 enable_comcat
971 enable_comctl32
972 enable_comdlg32
973 enable_compstui
974 enable_comsvcs
975 enable_connect
976 enable_credui
977 enable_crtdll
978 enable_crypt32
979 enable_cryptdlg
980 enable_cryptdll
981 enable_cryptext
982 enable_cryptnet
983 enable_cryptui
984 enable_ctapi32
985 enable_ctl3d32
986 enable_d2d1
987 enable_d3d10
988 enable_d3d10_1
989 enable_d3d10core
990 enable_d3d11
991 enable_d3d8
992 enable_d3d9
993 enable_d3dcompiler_33
994 enable_d3dcompiler_34
995 enable_d3dcompiler_35
996 enable_d3dcompiler_36
997 enable_d3dcompiler_37
998 enable_d3dcompiler_38
999 enable_d3dcompiler_39
1000 enable_d3dcompiler_40
1001 enable_d3dcompiler_41
1002 enable_d3dcompiler_42
1003 enable_d3dcompiler_43
1004 enable_d3dcompiler_46
1005 enable_d3dcompiler_47
1006 enable_d3dim
1007 enable_d3drm
1008 enable_d3dx10_33
1009 enable_d3dx10_34
1010 enable_d3dx10_35
1011 enable_d3dx10_36
1012 enable_d3dx10_37
1013 enable_d3dx10_38
1014 enable_d3dx10_39
1015 enable_d3dx10_40
1016 enable_d3dx10_41
1017 enable_d3dx10_42
1018 enable_d3dx10_43
1019 enable_d3dx11_42
1020 enable_d3dx11_43
1021 enable_d3dx9_24
1022 enable_d3dx9_25
1023 enable_d3dx9_26
1024 enable_d3dx9_27
1025 enable_d3dx9_28
1026 enable_d3dx9_29
1027 enable_d3dx9_30
1028 enable_d3dx9_31
1029 enable_d3dx9_32
1030 enable_d3dx9_33
1031 enable_d3dx9_34
1032 enable_d3dx9_35
1033 enable_d3dx9_36
1034 enable_d3dx9_37
1035 enable_d3dx9_38
1036 enable_d3dx9_39
1037 enable_d3dx9_40
1038 enable_d3dx9_41
1039 enable_d3dx9_42
1040 enable_d3dx9_43
1041 enable_d3dxof
1042 enable_davclnt
1043 enable_dbgeng
1044 enable_dbghelp
1045 enable_dciman32
1046 enable_ddraw
1047 enable_ddrawex
1048 enable_devenum
1049 enable_dhcpcsvc
1050 enable_difxapi
1051 enable_dinput
1052 enable_dinput8
1053 enable_dispex
1054 enable_dmband
1055 enable_dmcompos
1056 enable_dmime
1057 enable_dmloader
1058 enable_dmscript
1059 enable_dmstyle
1060 enable_dmsynth
1061 enable_dmusic
1062 enable_dmusic32
1063 enable_dnsapi
1064 enable_dplay
1065 enable_dplayx
1066 enable_dpnaddr
1067 enable_dpnet
1068 enable_dpnhpast
1069 enable_dpnlobby
1070 enable_dpvoice
1071 enable_dpwsockx
1072 enable_drmclien
1073 enable_dsound
1074 enable_dssenh
1075 enable_dswave
1076 enable_dwmapi
1077 enable_dwrite
1078 enable_dxdiagn
1079 enable_dxgi
1080 enable_dxva2
1081 enable_esent
1082 enable_evr
1083 enable_explorerframe
1084 enable_ext_ms_win_gdi_devcaps_l1_1_0
1085 enable_faultrep
1086 enable_fltlib
1087 enable_fntcache
1088 enable_fontsub
1089 enable_fusion
1090 enable_fwpuclnt
1091 enable_gameux
1092 enable_gdi32
1093 enable_gdiplus
1094 enable_glu32
1095 enable_gphoto2_ds
1096 enable_gpkcsp
1097 enable_hal
1098 enable_hhctrl_ocx
1099 enable_hid
1100 enable_hidclass_sys
1101 enable_hlink
1102 enable_hnetcfg
1103 enable_httpapi
1104 enable_iccvid
1105 enable_icmp
1106 enable_ieframe
1107 enable_imaadp32_acm
1108 enable_imagehlp
1109 enable_imm32
1110 enable_inetcomm
1111 enable_inetcpl_cpl
1112 enable_inetmib1
1113 enable_infosoft
1114 enable_initpki
1115 enable_inkobj
1116 enable_inseng
1117 enable_iphlpapi
1118 enable_itircl
1119 enable_itss
1120 enable_joy_cpl
1121 enable_jscript
1122 enable_jsproxy
1123 enable_kernel32
1124 enable_ksuser
1125 enable_ktmw32
1126 enable_loadperf
1127 enable_localspl
1128 enable_localui
1129 enable_lz32
1130 enable_mapi32
1131 enable_mapistub
1132 enable_mciavi32
1133 enable_mcicda
1134 enable_mciqtz32
1135 enable_mciseq
1136 enable_mciwave
1137 enable_mf
1138 enable_mfplat
1139 enable_mfreadwrite
1140 enable_mgmtapi
1141 enable_midimap
1142 enable_mlang
1143 enable_mmcndmgr
1144 enable_mmdevapi
1145 enable_mountmgr_sys
1146 enable_mpr
1147 enable_mprapi
1148 enable_msacm32_drv
1149 enable_msacm32
1150 enable_msadp32_acm
1151 enable_msasn1
1152 enable_mscat32
1153 enable_mscms
1154 enable_mscoree
1155 enable_msctf
1156 enable_msctfp
1157 enable_msdaps
1158 enable_msdmo
1159 enable_msftedit
1160 enable_msg711_acm
1161 enable_msgsm32_acm
1162 enable_mshtml_tlb
1163 enable_mshtml
1164 enable_msi
1165 enable_msident
1166 enable_msimg32
1167 enable_msimsg
1168 enable_msimtf
1169 enable_msisip
1170 enable_msisys_ocx
1171 enable_msls31
1172 enable_msnet32
1173 enable_mspatcha
1174 enable_msrle32
1175 enable_msscript_ocx
1176 enable_mssign32
1177 enable_mssip32
1178 enable_mstask
1179 enable_msvcirt
1180 enable_msvcm80
1181 enable_msvcm90
1182 enable_msvcp100
1183 enable_msvcp110
1184 enable_msvcp120
1185 enable_msvcp120_app
1186 enable_msvcp60
1187 enable_msvcp70
1188 enable_msvcp71
1189 enable_msvcp80
1190 enable_msvcp90
1191 enable_msvcr100
1192 enable_msvcr110
1193 enable_msvcr120
1194 enable_msvcr120_app
1195 enable_msvcr70
1196 enable_msvcr71
1197 enable_msvcr80
1198 enable_msvcr90
1199 enable_msvcrt
1200 enable_msvcrt20
1201 enable_msvcrt40
1202 enable_msvcrtd
1203 enable_msvfw32
1204 enable_msvidc32
1205 enable_mswsock
1206 enable_msxml
1207 enable_msxml2
1208 enable_msxml3
1209 enable_msxml4
1210 enable_msxml6
1211 enable_nddeapi
1212 enable_ndis_sys
1213 enable_netapi32
1214 enable_netcfgx
1215 enable_netprofm
1216 enable_newdev
1217 enable_normaliz
1218 enable_npmshtml
1219 enable_npptools
1220 enable_ntdll
1221 enable_ntdsapi
1222 enable_ntoskrnl_exe
1223 enable_ntprint
1224 enable_objsel
1225 enable_odbc32
1226 enable_odbccp32
1227 enable_odbccu32
1228 enable_ole32
1229 enable_oleacc
1230 enable_oleaut32
1231 enable_olecli32
1232 enable_oledb32
1233 enable_oledlg
1234 enable_olepro32
1235 enable_olesvr32
1236 enable_olethk32
1237 enable_openal32
1238 enable_opencl
1239 enable_opengl32
1240 enable_packager
1241 enable_pdh
1242 enable_photometadatahandler
1243 enable_pidgen
1244 enable_powrprof
1245 enable_printui
1246 enable_prntvpt
1247 enable_propsys
1248 enable_psapi
1249 enable_pstorec
1250 enable_qcap
1251 enable_qedit
1252 enable_qmgr
1253 enable_qmgrprxy
1254 enable_quartz
1255 enable_query
1256 enable_rasapi32
1257 enable_rasdlg
1258 enable_regapi
1259 enable_resutils
1260 enable_riched20
1261 enable_riched32
1262 enable_rpcrt4
1263 enable_rsabase
1264 enable_rsaenh
1265 enable_rstrtmgr
1266 enable_rtutils
1267 enable_samlib
1268 enable_sane_ds
1269 enable_scarddlg
1270 enable_sccbase
1271 enable_schannel
1272 enable_schedsvc
1273 enable_scrrun
1274 enable_scsiport_sys
1275 enable_secur32
1276 enable_security
1277 enable_sensapi
1278 enable_serialui
1279 enable_setupapi
1280 enable_sfc
1281 enable_sfc_os
1282 enable_shdoclc
1283 enable_shdocvw
1284 enable_shell32
1285 enable_shfolder
1286 enable_shlwapi
1287 enable_slbcsp
1288 enable_slc
1289 enable_snmpapi
1290 enable_softpub
1291 enable_spoolss
1292 enable_stdole2_tlb
1293 enable_stdole32_tlb
1294 enable_sti
1295 enable_svrapi
1296 enable_sxs
1297 enable_t2embed
1298 enable_tapi32
1299 enable_taskschd
1300 enable_traffic
1301 enable_twain_32
1302 enable_ucrtbase
1303 enable_unicows
1304 enable_updspapi
1305 enable_url
1306 enable_urlmon
1307 enable_usbd_sys
1308 enable_user32
1309 enable_userenv
1310 enable_usp10
1311 enable_uxtheme
1312 enable_vbscript
1313 enable_vcomp
1314 enable_vcomp100
1315 enable_vcomp110
1316 enable_vcomp90
1317 enable_vdmdbg
1318 enable_version
1319 enable_vssapi
1320 enable_wbemdisp
1321 enable_wbemprox
1322 enable_webservices
1323 enable_wer
1324 enable_wevtapi
1325 enable_wiaservc
1326 enable_windowscodecs
1327 enable_windowscodecsext
1328 enable_winealsa_drv
1329 enable_winecoreaudio_drv
1330 enable_wined3d
1331 enable_winegstreamer
1332 enable_winejoystick_drv
1333 enable_winemac_drv
1334 enable_winemapi
1335 enable_winemp3_acm
1336 enable_wineoss_drv
1337 enable_wineps_drv
1338 enable_wineqtdecoder
1339 enable_winex11_drv
1340 enable_wing32
1341 enable_winhttp
1342 enable_wininet
1343 enable_winmm
1344 enable_winnls32
1345 enable_winscard
1346 enable_winspool_drv
1347 enable_winsta
1348 enable_wintab32
1349 enable_wintrust
1350 enable_wlanapi
1351 enable_wldap32
1352 enable_wmi
1353 enable_wmiutils
1354 enable_wmp
1355 enable_wmvcore
1356 enable_wnaspi32
1357 enable_wpcap
1358 enable_ws2_32
1359 enable_wshom_ocx
1360 enable_wsnmp32
1361 enable_wsock32
1362 enable_wtsapi32
1363 enable_wuapi
1364 enable_wuaueng
1365 enable_x3daudio1_1
1366 enable_x3daudio1_2
1367 enable_x3daudio1_3
1368 enable_x3daudio1_4
1369 enable_x3daudio1_5
1370 enable_x3daudio1_6
1371 enable_x3daudio1_7
1372 enable_xapofx1_1
1373 enable_xapofx1_3
1374 enable_xapofx1_4
1375 enable_xapofx1_5
1376 enable_xaudio2_7
1377 enable_xaudio2_8
1378 enable_xinput1_1
1379 enable_xinput1_2
1380 enable_xinput1_3
1381 enable_xinput1_4
1382 enable_xinput9_1_0
1383 enable_xmllite
1384 enable_xolehlp
1385 enable_xpsprint
1386 enable_xpssvcs
1387 enable_documentation
1388 enable_fonts
1389 enable_include
1390 enable_libs_port
1391 enable_libs_wine
1392 enable_libs_wpp
1393 enable_loader
1394 enable_arp
1395 enable_aspnet_regiis
1396 enable_attrib
1397 enable_cabarc
1398 enable_cacls
1399 enable_clock
1400 enable_cmd
1401 enable_conhost
1402 enable_control
1403 enable_cscript
1404 enable_dpnsvr
1405 enable_dxdiag
1406 enable_eject
1407 enable_expand
1408 enable_explorer
1409 enable_extrac32
1410 enable_findstr
1411 enable_hh
1412 enable_hostname
1413 enable_icinfo
1414 enable_iexplore
1415 enable_ipconfig
1416 enable_lodctr
1417 enable_mofcomp
1418 enable_mshta
1419 enable_msiexec
1420 enable_net
1421 enable_netsh
1422 enable_netstat
1423 enable_ngen
1424 enable_notepad
1425 enable_oleview
1426 enable_ping
1427 enable_plugplay
1428 enable_presentationfontcache
1429 enable_progman
1430 enable_reg
1431 enable_regasm
1432 enable_regedit
1433 enable_regsvcs
1434 enable_regsvr32
1435 enable_rpcss
1436 enable_rundll32
1437 enable_sc
1438 enable_schtasks
1439 enable_sdbinst
1440 enable_secedit
1441 enable_servicemodelreg
1442 enable_services
1443 enable_spoolsv
1444 enable_start
1445 enable_svchost
1446 enable_systeminfo
1447 enable_taskkill
1448 enable_tasklist
1449 enable_taskmgr
1450 enable_termsv
1451 enable_uninstaller
1452 enable_unlodctr
1453 enable_view
1454 enable_wevtutil
1455 enable_wineboot
1456 enable_winebrowser
1457 enable_winecfg
1458 enable_wineconsole
1459 enable_winedbg
1460 enable_winedevice
1461 enable_winefile
1462 enable_winemenubuilder
1463 enable_winemine
1464 enable_winemsibuilder
1465 enable_winepath
1466 enable_winetest
1467 enable_winhlp32
1468 enable_winver
1469 enable_wmic
1470 enable_wordpad
1471 enable_write
1472 enable_wscript
1473 enable_wusa
1474 enable_xcopy
1475 enable_server
1476 enable_tools
1478 ac_precious_vars='build_alias
1479 host_alias
1480 target_alias
1482 CFLAGS
1483 LDFLAGS
1484 LIBS
1485 CPPFLAGS
1487 CXXFLAGS
1490 XMKMF
1491 XML2_CFLAGS
1492 XML2_LIBS
1493 XSLT_CFLAGS
1494 XSLT_LIBS
1495 DBUS_CFLAGS
1496 DBUS_LIBS
1497 HAL_CFLAGS
1498 HAL_LIBS
1499 GNUTLS_CFLAGS
1500 GNUTLS_LIBS
1501 SANE_CFLAGS
1502 SANE_LIBS
1503 GPHOTO2_CFLAGS
1504 GPHOTO2_LIBS
1505 GPHOTO2_PORT_CFLAGS
1506 GPHOTO2_PORT_LIBS
1507 LCMS2_CFLAGS
1508 LCMS2_LIBS
1509 FREETYPE_CFLAGS
1510 FREETYPE_LIBS
1511 GSTREAMER_CFLAGS
1512 GSTREAMER_LIBS
1513 CAPI20_CFLAGS
1514 CAPI20_LIBS
1515 FONTCONFIG_CFLAGS
1516 FONTCONFIG_LIBS
1517 JPEG_CFLAGS
1518 JPEG_LIBS
1519 PNG_CFLAGS
1520 PNG_LIBS
1521 TIFF_CFLAGS
1522 TIFF_LIBS
1523 MPG123_CFLAGS
1524 MPG123_LIBS'
1527 # Initialize some variables set by options.
1528 ac_init_help=
1529 ac_init_version=false
1530 ac_unrecognized_opts=
1531 ac_unrecognized_sep=
1532 # The variables have the same names as the options, with
1533 # dashes changed to underlines.
1534 cache_file=/dev/null
1535 exec_prefix=NONE
1536 no_create=
1537 no_recursion=
1538 prefix=NONE
1539 program_prefix=NONE
1540 program_suffix=NONE
1541 program_transform_name=s,x,x,
1542 silent=
1543 site=
1544 srcdir=
1545 verbose=
1546 x_includes=NONE
1547 x_libraries=NONE
1549 # Installation directory options.
1550 # These are left unexpanded so users can "make install exec_prefix=/foo"
1551 # and all the variables that are supposed to be based on exec_prefix
1552 # by default will actually change.
1553 # Use braces instead of parens because sh, perl, etc. also accept them.
1554 # (The list follows the same order as the GNU Coding Standards.)
1555 bindir='${exec_prefix}/bin'
1556 sbindir='${exec_prefix}/sbin'
1557 libexecdir='${exec_prefix}/libexec'
1558 datarootdir='${prefix}/share'
1559 datadir='${datarootdir}'
1560 sysconfdir='${prefix}/etc'
1561 sharedstatedir='${prefix}/com'
1562 localstatedir='${prefix}/var'
1563 runstatedir='${localstatedir}/run'
1564 includedir='${prefix}/include'
1565 oldincludedir='/usr/include'
1566 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1567 infodir='${datarootdir}/info'
1568 htmldir='${docdir}'
1569 dvidir='${docdir}'
1570 pdfdir='${docdir}'
1571 psdir='${docdir}'
1572 libdir='${exec_prefix}/lib'
1573 localedir='${datarootdir}/locale'
1574 mandir='${datarootdir}/man'
1576 ac_prev=
1577 ac_dashdash=
1578 for ac_option
1580 # If the previous option needs an argument, assign it.
1581 if test -n "$ac_prev"; then
1582 eval $ac_prev=\$ac_option
1583 ac_prev=
1584 continue
1587 case $ac_option in
1588 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1589 *=) ac_optarg= ;;
1590 *) ac_optarg=yes ;;
1591 esac
1593 # Accept the important Cygnus configure options, so we can diagnose typos.
1595 case $ac_dashdash$ac_option in
1597 ac_dashdash=yes ;;
1599 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1600 ac_prev=bindir ;;
1601 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1602 bindir=$ac_optarg ;;
1604 -build | --build | --buil | --bui | --bu)
1605 ac_prev=build_alias ;;
1606 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1607 build_alias=$ac_optarg ;;
1609 -cache-file | --cache-file | --cache-fil | --cache-fi \
1610 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1611 ac_prev=cache_file ;;
1612 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1613 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1614 cache_file=$ac_optarg ;;
1616 --config-cache | -C)
1617 cache_file=config.cache ;;
1619 -datadir | --datadir | --datadi | --datad)
1620 ac_prev=datadir ;;
1621 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1622 datadir=$ac_optarg ;;
1624 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1625 | --dataroo | --dataro | --datar)
1626 ac_prev=datarootdir ;;
1627 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1628 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1629 datarootdir=$ac_optarg ;;
1631 -disable-* | --disable-*)
1632 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1633 # Reject names that are not valid shell variable names.
1634 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1635 as_fn_error $? "invalid feature name: $ac_useropt"
1636 ac_useropt_orig=$ac_useropt
1637 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1638 case $ac_user_opts in
1640 "enable_$ac_useropt"
1641 "*) ;;
1642 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1643 ac_unrecognized_sep=', ';;
1644 esac
1645 eval enable_$ac_useropt=no ;;
1647 -docdir | --docdir | --docdi | --doc | --do)
1648 ac_prev=docdir ;;
1649 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1650 docdir=$ac_optarg ;;
1652 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1653 ac_prev=dvidir ;;
1654 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1655 dvidir=$ac_optarg ;;
1657 -enable-* | --enable-*)
1658 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1659 # Reject names that are not valid shell variable names.
1660 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1661 as_fn_error $? "invalid feature name: $ac_useropt"
1662 ac_useropt_orig=$ac_useropt
1663 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1664 case $ac_user_opts in
1666 "enable_$ac_useropt"
1667 "*) ;;
1668 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1669 ac_unrecognized_sep=', ';;
1670 esac
1671 eval enable_$ac_useropt=\$ac_optarg ;;
1673 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1674 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1675 | --exec | --exe | --ex)
1676 ac_prev=exec_prefix ;;
1677 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1678 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1679 | --exec=* | --exe=* | --ex=*)
1680 exec_prefix=$ac_optarg ;;
1682 -gas | --gas | --ga | --g)
1683 # Obsolete; use --with-gas.
1684 with_gas=yes ;;
1686 -help | --help | --hel | --he | -h)
1687 ac_init_help=long ;;
1688 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1689 ac_init_help=recursive ;;
1690 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1691 ac_init_help=short ;;
1693 -host | --host | --hos | --ho)
1694 ac_prev=host_alias ;;
1695 -host=* | --host=* | --hos=* | --ho=*)
1696 host_alias=$ac_optarg ;;
1698 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1699 ac_prev=htmldir ;;
1700 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1701 | --ht=*)
1702 htmldir=$ac_optarg ;;
1704 -includedir | --includedir | --includedi | --included | --include \
1705 | --includ | --inclu | --incl | --inc)
1706 ac_prev=includedir ;;
1707 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1708 | --includ=* | --inclu=* | --incl=* | --inc=*)
1709 includedir=$ac_optarg ;;
1711 -infodir | --infodir | --infodi | --infod | --info | --inf)
1712 ac_prev=infodir ;;
1713 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1714 infodir=$ac_optarg ;;
1716 -libdir | --libdir | --libdi | --libd)
1717 ac_prev=libdir ;;
1718 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1719 libdir=$ac_optarg ;;
1721 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1722 | --libexe | --libex | --libe)
1723 ac_prev=libexecdir ;;
1724 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1725 | --libexe=* | --libex=* | --libe=*)
1726 libexecdir=$ac_optarg ;;
1728 -localedir | --localedir | --localedi | --localed | --locale)
1729 ac_prev=localedir ;;
1730 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1731 localedir=$ac_optarg ;;
1733 -localstatedir | --localstatedir | --localstatedi | --localstated \
1734 | --localstate | --localstat | --localsta | --localst | --locals)
1735 ac_prev=localstatedir ;;
1736 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1737 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1738 localstatedir=$ac_optarg ;;
1740 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1741 ac_prev=mandir ;;
1742 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1743 mandir=$ac_optarg ;;
1745 -nfp | --nfp | --nf)
1746 # Obsolete; use --without-fp.
1747 with_fp=no ;;
1749 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1750 | --no-cr | --no-c | -n)
1751 no_create=yes ;;
1753 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1754 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1755 no_recursion=yes ;;
1757 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1758 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1759 | --oldin | --oldi | --old | --ol | --o)
1760 ac_prev=oldincludedir ;;
1761 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1762 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1763 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1764 oldincludedir=$ac_optarg ;;
1766 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1767 ac_prev=prefix ;;
1768 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1769 prefix=$ac_optarg ;;
1771 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1772 | --program-pre | --program-pr | --program-p)
1773 ac_prev=program_prefix ;;
1774 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1775 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1776 program_prefix=$ac_optarg ;;
1778 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1779 | --program-suf | --program-su | --program-s)
1780 ac_prev=program_suffix ;;
1781 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1782 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1783 program_suffix=$ac_optarg ;;
1785 -program-transform-name | --program-transform-name \
1786 | --program-transform-nam | --program-transform-na \
1787 | --program-transform-n | --program-transform- \
1788 | --program-transform | --program-transfor \
1789 | --program-transfo | --program-transf \
1790 | --program-trans | --program-tran \
1791 | --progr-tra | --program-tr | --program-t)
1792 ac_prev=program_transform_name ;;
1793 -program-transform-name=* | --program-transform-name=* \
1794 | --program-transform-nam=* | --program-transform-na=* \
1795 | --program-transform-n=* | --program-transform-=* \
1796 | --program-transform=* | --program-transfor=* \
1797 | --program-transfo=* | --program-transf=* \
1798 | --program-trans=* | --program-tran=* \
1799 | --progr-tra=* | --program-tr=* | --program-t=*)
1800 program_transform_name=$ac_optarg ;;
1802 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1803 ac_prev=pdfdir ;;
1804 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1805 pdfdir=$ac_optarg ;;
1807 -psdir | --psdir | --psdi | --psd | --ps)
1808 ac_prev=psdir ;;
1809 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1810 psdir=$ac_optarg ;;
1812 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1813 | -silent | --silent | --silen | --sile | --sil)
1814 silent=yes ;;
1816 -runstatedir | --runstatedir | --runstatedi | --runstated \
1817 | --runstate | --runstat | --runsta | --runst | --runs \
1818 | --run | --ru | --r)
1819 ac_prev=runstatedir ;;
1820 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1821 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1822 | --run=* | --ru=* | --r=*)
1823 runstatedir=$ac_optarg ;;
1825 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1826 ac_prev=sbindir ;;
1827 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1828 | --sbi=* | --sb=*)
1829 sbindir=$ac_optarg ;;
1831 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1832 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1833 | --sharedst | --shareds | --shared | --share | --shar \
1834 | --sha | --sh)
1835 ac_prev=sharedstatedir ;;
1836 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1837 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1838 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1839 | --sha=* | --sh=*)
1840 sharedstatedir=$ac_optarg ;;
1842 -site | --site | --sit)
1843 ac_prev=site ;;
1844 -site=* | --site=* | --sit=*)
1845 site=$ac_optarg ;;
1847 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1848 ac_prev=srcdir ;;
1849 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1850 srcdir=$ac_optarg ;;
1852 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1853 | --syscon | --sysco | --sysc | --sys | --sy)
1854 ac_prev=sysconfdir ;;
1855 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1856 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1857 sysconfdir=$ac_optarg ;;
1859 -target | --target | --targe | --targ | --tar | --ta | --t)
1860 ac_prev=target_alias ;;
1861 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1862 target_alias=$ac_optarg ;;
1864 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1865 verbose=yes ;;
1867 -version | --version | --versio | --versi | --vers | -V)
1868 ac_init_version=: ;;
1870 -with-* | --with-*)
1871 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1872 # Reject names that are not valid shell variable names.
1873 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1874 as_fn_error $? "invalid package name: $ac_useropt"
1875 ac_useropt_orig=$ac_useropt
1876 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1877 case $ac_user_opts in
1879 "with_$ac_useropt"
1880 "*) ;;
1881 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1882 ac_unrecognized_sep=', ';;
1883 esac
1884 eval with_$ac_useropt=\$ac_optarg ;;
1886 -without-* | --without-*)
1887 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1888 # Reject names that are not valid shell variable names.
1889 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1890 as_fn_error $? "invalid package name: $ac_useropt"
1891 ac_useropt_orig=$ac_useropt
1892 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1893 case $ac_user_opts in
1895 "with_$ac_useropt"
1896 "*) ;;
1897 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1898 ac_unrecognized_sep=', ';;
1899 esac
1900 eval with_$ac_useropt=no ;;
1902 --x)
1903 # Obsolete; use --with-x.
1904 with_x=yes ;;
1906 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1907 | --x-incl | --x-inc | --x-in | --x-i)
1908 ac_prev=x_includes ;;
1909 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1910 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1911 x_includes=$ac_optarg ;;
1913 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1914 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1915 ac_prev=x_libraries ;;
1916 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1917 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1918 x_libraries=$ac_optarg ;;
1920 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1921 Try \`$0 --help' for more information"
1924 *=*)
1925 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1926 # Reject names that are not valid shell variable names.
1927 case $ac_envvar in #(
1928 '' | [0-9]* | *[!_$as_cr_alnum]* )
1929 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1930 esac
1931 eval $ac_envvar=\$ac_optarg
1932 export $ac_envvar ;;
1935 # FIXME: should be removed in autoconf 3.0.
1936 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1937 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1938 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1939 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1942 esac
1943 done
1945 if test -n "$ac_prev"; then
1946 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1947 as_fn_error $? "missing argument to $ac_option"
1950 if test -n "$ac_unrecognized_opts"; then
1951 case $enable_option_checking in
1952 no) ;;
1953 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1954 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1955 esac
1958 # Check all directory arguments for consistency.
1959 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1960 datadir sysconfdir sharedstatedir localstatedir includedir \
1961 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1962 libdir localedir mandir runstatedir
1964 eval ac_val=\$$ac_var
1965 # Remove trailing slashes.
1966 case $ac_val in
1967 */ )
1968 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1969 eval $ac_var=\$ac_val;;
1970 esac
1971 # Be sure to have absolute directory names.
1972 case $ac_val in
1973 [\\/$]* | ?:[\\/]* ) continue;;
1974 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1975 esac
1976 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1977 done
1979 # There might be people who depend on the old broken behavior: `$host'
1980 # used to hold the argument of --host etc.
1981 # FIXME: To remove some day.
1982 build=$build_alias
1983 host=$host_alias
1984 target=$target_alias
1986 # FIXME: To remove some day.
1987 if test "x$host_alias" != x; then
1988 if test "x$build_alias" = x; then
1989 cross_compiling=maybe
1990 elif test "x$build_alias" != "x$host_alias"; then
1991 cross_compiling=yes
1995 ac_tool_prefix=
1996 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1998 test "$silent" = yes && exec 6>/dev/null
2001 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2002 ac_ls_di=`ls -di .` &&
2003 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2004 as_fn_error $? "working directory cannot be determined"
2005 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2006 as_fn_error $? "pwd does not report name of working directory"
2009 # Find the source files, if location was not specified.
2010 if test -z "$srcdir"; then
2011 ac_srcdir_defaulted=yes
2012 # Try the directory containing this script, then the parent directory.
2013 ac_confdir=`$as_dirname -- "$as_myself" ||
2014 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2015 X"$as_myself" : 'X\(//\)[^/]' \| \
2016 X"$as_myself" : 'X\(//\)$' \| \
2017 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2018 $as_echo X"$as_myself" |
2019 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2020 s//\1/
2023 /^X\(\/\/\)[^/].*/{
2024 s//\1/
2027 /^X\(\/\/\)$/{
2028 s//\1/
2031 /^X\(\/\).*/{
2032 s//\1/
2035 s/.*/./; q'`
2036 srcdir=$ac_confdir
2037 if test ! -r "$srcdir/$ac_unique_file"; then
2038 srcdir=..
2040 else
2041 ac_srcdir_defaulted=no
2043 if test ! -r "$srcdir/$ac_unique_file"; then
2044 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2045 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2047 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2048 ac_abs_confdir=`(
2049 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2050 pwd)`
2051 # When building in place, set srcdir=.
2052 if test "$ac_abs_confdir" = "$ac_pwd"; then
2053 srcdir=.
2055 # Remove unnecessary trailing slashes from srcdir.
2056 # Double slashes in file names in object file debugging info
2057 # mess up M-x gdb in Emacs.
2058 case $srcdir in
2059 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2060 esac
2061 for ac_var in $ac_precious_vars; do
2062 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2063 eval ac_env_${ac_var}_value=\$${ac_var}
2064 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2065 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2066 done
2069 # Report the --help message.
2071 if test "$ac_init_help" = "long"; then
2072 # Omit some internal or obsolete options to make the list less imposing.
2073 # This message is too long to be a string in the A/UX 3.1 sh.
2074 cat <<_ACEOF
2075 \`configure' configures Wine 1.7.51 to adapt to many kinds of systems.
2077 Usage: $0 [OPTION]... [VAR=VALUE]...
2079 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2080 VAR=VALUE. See below for descriptions of some of the useful variables.
2082 Defaults for the options are specified in brackets.
2084 Configuration:
2085 -h, --help display this help and exit
2086 --help=short display options specific to this package
2087 --help=recursive display the short help of all the included packages
2088 -V, --version display version information and exit
2089 -q, --quiet, --silent do not print \`checking ...' messages
2090 --cache-file=FILE cache test results in FILE [disabled]
2091 -C, --config-cache alias for \`--cache-file=config.cache'
2092 -n, --no-create do not create output files
2093 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2095 Installation directories:
2096 --prefix=PREFIX install architecture-independent files in PREFIX
2097 [$ac_default_prefix]
2098 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2099 [PREFIX]
2101 By default, \`make install' will install all the files in
2102 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2103 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2104 for instance \`--prefix=\$HOME'.
2106 For better control, use the options below.
2108 Fine tuning of the installation directories:
2109 --bindir=DIR user executables [EPREFIX/bin]
2110 --sbindir=DIR system admin executables [EPREFIX/sbin]
2111 --libexecdir=DIR program executables [EPREFIX/libexec]
2112 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2113 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2114 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2115 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2116 --libdir=DIR object code libraries [EPREFIX/lib]
2117 --includedir=DIR C header files [PREFIX/include]
2118 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2119 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2120 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2121 --infodir=DIR info documentation [DATAROOTDIR/info]
2122 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2123 --mandir=DIR man documentation [DATAROOTDIR/man]
2124 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2125 --htmldir=DIR html documentation [DOCDIR]
2126 --dvidir=DIR dvi documentation [DOCDIR]
2127 --pdfdir=DIR pdf documentation [DOCDIR]
2128 --psdir=DIR ps documentation [DOCDIR]
2129 _ACEOF
2131 cat <<\_ACEOF
2133 X features:
2134 --x-includes=DIR X include files are in DIR
2135 --x-libraries=DIR X library files are in DIR
2137 System types:
2138 --build=BUILD configure for building on BUILD [guessed]
2139 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2140 _ACEOF
2143 if test -n "$ac_init_help"; then
2144 case $ac_init_help in
2145 short | recursive ) echo "Configuration of Wine 1.7.51:";;
2146 esac
2147 cat <<\_ACEOF
2149 Optional Features:
2150 --disable-option-checking ignore unrecognized --enable/--with options
2151 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2152 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2153 --disable-win16 do not include Win16 support
2154 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2155 binaries)
2156 --disable-tests do not build the regression tests
2157 --enable-maintainer-mode
2158 enable maintainer-specific build rules
2159 --disable-largefile omit support for large files
2161 Optional Packages:
2162 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2163 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2164 --without-alsa do not use the Alsa sound support
2165 --without-capi do not use CAPI (ISDN support)
2166 --without-cms do not use CMS (color management support)
2167 --without-coreaudio do not use the CoreAudio sound support
2168 --without-cups do not use CUPS
2169 --without-curses do not use (n)curses
2170 --without-dbus do not use DBus (dynamic device support)
2171 --without-fontconfig do not use fontconfig
2172 --without-freetype do not use the FreeType library
2173 --without-gettext do not use gettext
2174 --with-gettextpo use the GetTextPO library to rebuild po files
2175 --without-gphoto do not use gphoto (Digital Camera support)
2176 --without-glu do not use the GLU library
2177 --without-gnutls do not use GnuTLS (schannel support)
2178 --without-gsm do not use libgsm (GSM 06.10 codec support)
2179 --without-gstreamer do not use GStreamer (codecs support)
2180 --without-hal do not use HAL (dynamic device support)
2181 --without-jpeg do not use JPEG
2182 --without-ldap do not use LDAP
2183 --without-mpg123 do not use the mpg123 library
2184 --without-netapi do not use the Samba NetAPI library
2185 --without-openal do not use OpenAL
2186 --without-opencl do not use OpenCL
2187 --without-opengl do not use OpenGL
2188 --without-osmesa do not use the OSMesa library
2189 --without-oss do not use the OSS sound support
2190 --without-pcap do not use the Packet Capture library
2191 --without-png do not use PNG
2192 --without-pthread do not use the pthread library
2193 --without-sane do not use SANE (scanner support)
2194 --without-tiff do not use TIFF
2195 --without-v4l do not use v4l1 (v4l support)
2196 --without-xcomposite do not use the Xcomposite extension
2197 --without-xcursor do not use the Xcursor extension
2198 --without-xinerama do not use Xinerama (multi-monitor support)
2199 --without-xinput do not use the Xinput extension
2200 --without-xinput2 do not use the Xinput 2 extension
2201 --without-xml do not use XML
2202 --without-xrandr do not use Xrandr (resolution changes)
2203 --without-xrender do not use the Xrender extension
2204 --without-xshape do not use the Xshape extension
2205 --without-xshm do not use XShm (shared memory extension)
2206 --without-xslt do not use XSLT
2207 --without-xxf86vm do not use XFree video mode extension
2208 --without-zlib do not use Zlib (data compression)
2209 --with-wine-tools=DIR use Wine tools from directory DIR
2210 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2211 --with-x use the X Window System
2213 Some influential environment variables:
2214 CC C compiler command
2215 CFLAGS C compiler flags
2216 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2217 nonstandard directory <lib dir>
2218 LIBS libraries to pass to the linker, e.g. -l<library>
2219 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2220 you have headers in a nonstandard directory <include dir>
2221 CXX C++ compiler command
2222 CXXFLAGS C++ compiler flags
2223 CPP C preprocessor
2224 XMKMF Path to xmkmf, Makefile generator for X Window System
2225 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2226 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2227 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2228 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2229 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2230 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2231 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2232 HAL_LIBS Linker flags for hal, overriding pkg-config
2233 GNUTLS_CFLAGS
2234 C compiler flags for gnutls, overriding pkg-config
2235 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2236 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2237 SANE_LIBS Linker flags for libsane, overriding pkg-config
2238 GPHOTO2_CFLAGS
2239 C compiler flags for libgphoto2, overriding pkg-config
2240 GPHOTO2_LIBS
2241 Linker flags for libgphoto2, overriding pkg-config
2242 GPHOTO2_PORT_CFLAGS
2243 C compiler flags for libgphoto2_port, overriding pkg-config
2244 GPHOTO2_PORT_LIBS
2245 Linker flags for libgphoto2_port, overriding pkg-config
2246 LCMS2_CFLAGS
2247 C compiler flags for lcms2, overriding pkg-config
2248 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2249 FREETYPE_CFLAGS
2250 C compiler flags for freetype2, overriding pkg-config
2251 FREETYPE_LIBS
2252 Linker flags for freetype2, overriding pkg-config
2253 GSTREAMER_CFLAGS
2254 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2255 GSTREAMER_LIBS
2256 Linker flags for gstreamer-app-0.10, overriding pkg-config
2257 CAPI20_CFLAGS
2258 C compiler flags for capi20, overriding pkg-config
2259 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2260 FONTCONFIG_CFLAGS
2261 C compiler flags for fontconfig, overriding pkg-config
2262 FONTCONFIG_LIBS
2263 Linker flags for fontconfig, overriding pkg-config
2264 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2265 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2266 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2267 PNG_LIBS Linker flags for libpng, overriding pkg-config
2268 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2269 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2270 MPG123_CFLAGS
2271 C compiler flags for libmpg123, overriding pkg-config
2272 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2274 Use these variables to override the choices made by `configure' or to help
2275 it to find libraries and programs with nonstandard names/locations.
2277 Report bugs to <wine-devel@winehq.org>.
2278 Wine home page: <http://www.winehq.org>.
2279 _ACEOF
2280 ac_status=$?
2283 if test "$ac_init_help" = "recursive"; then
2284 # If there are subdirs, report their specific --help.
2285 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2286 test -d "$ac_dir" ||
2287 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2288 continue
2289 ac_builddir=.
2291 case "$ac_dir" in
2292 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2294 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2295 # A ".." for each directory in $ac_dir_suffix.
2296 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2297 case $ac_top_builddir_sub in
2298 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2299 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2300 esac ;;
2301 esac
2302 ac_abs_top_builddir=$ac_pwd
2303 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2304 # for backward compatibility:
2305 ac_top_builddir=$ac_top_build_prefix
2307 case $srcdir in
2308 .) # We are building in place.
2309 ac_srcdir=.
2310 ac_top_srcdir=$ac_top_builddir_sub
2311 ac_abs_top_srcdir=$ac_pwd ;;
2312 [\\/]* | ?:[\\/]* ) # Absolute name.
2313 ac_srcdir=$srcdir$ac_dir_suffix;
2314 ac_top_srcdir=$srcdir
2315 ac_abs_top_srcdir=$srcdir ;;
2316 *) # Relative name.
2317 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2318 ac_top_srcdir=$ac_top_build_prefix$srcdir
2319 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2320 esac
2321 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2323 cd "$ac_dir" || { ac_status=$?; continue; }
2324 # Check for guested configure.
2325 if test -f "$ac_srcdir/configure.gnu"; then
2326 echo &&
2327 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2328 elif test -f "$ac_srcdir/configure"; then
2329 echo &&
2330 $SHELL "$ac_srcdir/configure" --help=recursive
2331 else
2332 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2333 fi || ac_status=$?
2334 cd "$ac_pwd" || { ac_status=$?; break; }
2335 done
2338 test -n "$ac_init_help" && exit $ac_status
2339 if $ac_init_version; then
2340 cat <<\_ACEOF
2341 Wine configure 1.7.51
2342 generated by GNU Autoconf 2.69
2344 Copyright (C) 2012 Free Software Foundation, Inc.
2345 This configure script is free software; the Free Software Foundation
2346 gives unlimited permission to copy, distribute and modify it.
2347 _ACEOF
2348 exit
2351 ## ------------------------ ##
2352 ## Autoconf initialization. ##
2353 ## ------------------------ ##
2355 # ac_fn_c_try_compile LINENO
2356 # --------------------------
2357 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2358 ac_fn_c_try_compile ()
2360 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2361 rm -f conftest.$ac_objext
2362 if { { ac_try="$ac_compile"
2363 case "(($ac_try" in
2364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2365 *) ac_try_echo=$ac_try;;
2366 esac
2367 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2368 $as_echo "$ac_try_echo"; } >&5
2369 (eval "$ac_compile") 2>conftest.err
2370 ac_status=$?
2371 if test -s conftest.err; then
2372 grep -v '^ *+' conftest.err >conftest.er1
2373 cat conftest.er1 >&5
2374 mv -f conftest.er1 conftest.err
2376 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2377 test $ac_status = 0; } && {
2378 test -z "$ac_c_werror_flag" ||
2379 test ! -s conftest.err
2380 } && test -s conftest.$ac_objext; then :
2381 ac_retval=0
2382 else
2383 $as_echo "$as_me: failed program was:" >&5
2384 sed 's/^/| /' conftest.$ac_ext >&5
2386 ac_retval=1
2388 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2389 as_fn_set_status $ac_retval
2391 } # ac_fn_c_try_compile
2393 # ac_fn_cxx_try_compile LINENO
2394 # ----------------------------
2395 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2396 ac_fn_cxx_try_compile ()
2398 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2399 rm -f conftest.$ac_objext
2400 if { { ac_try="$ac_compile"
2401 case "(($ac_try" in
2402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2403 *) ac_try_echo=$ac_try;;
2404 esac
2405 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2406 $as_echo "$ac_try_echo"; } >&5
2407 (eval "$ac_compile") 2>conftest.err
2408 ac_status=$?
2409 if test -s conftest.err; then
2410 grep -v '^ *+' conftest.err >conftest.er1
2411 cat conftest.er1 >&5
2412 mv -f conftest.er1 conftest.err
2414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2415 test $ac_status = 0; } && {
2416 test -z "$ac_cxx_werror_flag" ||
2417 test ! -s conftest.err
2418 } && test -s conftest.$ac_objext; then :
2419 ac_retval=0
2420 else
2421 $as_echo "$as_me: failed program was:" >&5
2422 sed 's/^/| /' conftest.$ac_ext >&5
2424 ac_retval=1
2426 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2427 as_fn_set_status $ac_retval
2429 } # ac_fn_cxx_try_compile
2431 # ac_fn_c_try_link LINENO
2432 # -----------------------
2433 # Try to link conftest.$ac_ext, and return whether this succeeded.
2434 ac_fn_c_try_link ()
2436 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2437 rm -f conftest.$ac_objext conftest$ac_exeext
2438 if { { ac_try="$ac_link"
2439 case "(($ac_try" in
2440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2441 *) ac_try_echo=$ac_try;;
2442 esac
2443 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2444 $as_echo "$ac_try_echo"; } >&5
2445 (eval "$ac_link") 2>conftest.err
2446 ac_status=$?
2447 if test -s conftest.err; then
2448 grep -v '^ *+' conftest.err >conftest.er1
2449 cat conftest.er1 >&5
2450 mv -f conftest.er1 conftest.err
2452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2453 test $ac_status = 0; } && {
2454 test -z "$ac_c_werror_flag" ||
2455 test ! -s conftest.err
2456 } && test -s conftest$ac_exeext && {
2457 test "$cross_compiling" = yes ||
2458 test -x conftest$ac_exeext
2459 }; then :
2460 ac_retval=0
2461 else
2462 $as_echo "$as_me: failed program was:" >&5
2463 sed 's/^/| /' conftest.$ac_ext >&5
2465 ac_retval=1
2467 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2468 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2469 # interfere with the next link command; also delete a directory that is
2470 # left behind by Apple's compiler. We do this before executing the actions.
2471 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2472 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2473 as_fn_set_status $ac_retval
2475 } # ac_fn_c_try_link
2477 # ac_fn_c_try_cpp LINENO
2478 # ----------------------
2479 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2480 ac_fn_c_try_cpp ()
2482 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2483 if { { ac_try="$ac_cpp conftest.$ac_ext"
2484 case "(($ac_try" in
2485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2486 *) ac_try_echo=$ac_try;;
2487 esac
2488 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2489 $as_echo "$ac_try_echo"; } >&5
2490 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2491 ac_status=$?
2492 if test -s conftest.err; then
2493 grep -v '^ *+' conftest.err >conftest.er1
2494 cat conftest.er1 >&5
2495 mv -f conftest.er1 conftest.err
2497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2498 test $ac_status = 0; } > conftest.i && {
2499 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2500 test ! -s conftest.err
2501 }; then :
2502 ac_retval=0
2503 else
2504 $as_echo "$as_me: failed program was:" >&5
2505 sed 's/^/| /' conftest.$ac_ext >&5
2507 ac_retval=1
2509 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2510 as_fn_set_status $ac_retval
2512 } # ac_fn_c_try_cpp
2514 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2515 # -------------------------------------------------------
2516 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2517 # the include files in INCLUDES and setting the cache variable VAR
2518 # accordingly.
2519 ac_fn_c_check_header_mongrel ()
2521 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2522 if eval \${$3+:} false; then :
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2524 $as_echo_n "checking for $2... " >&6; }
2525 if eval \${$3+:} false; then :
2526 $as_echo_n "(cached) " >&6
2528 eval ac_res=\$$3
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2530 $as_echo "$ac_res" >&6; }
2531 else
2532 # Is the header compilable?
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2534 $as_echo_n "checking $2 usability... " >&6; }
2535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2536 /* end confdefs.h. */
2538 #include <$2>
2539 _ACEOF
2540 if ac_fn_c_try_compile "$LINENO"; then :
2541 ac_header_compiler=yes
2542 else
2543 ac_header_compiler=no
2545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2547 $as_echo "$ac_header_compiler" >&6; }
2549 # Is the header present?
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2551 $as_echo_n "checking $2 presence... " >&6; }
2552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2553 /* end confdefs.h. */
2554 #include <$2>
2555 _ACEOF
2556 if ac_fn_c_try_cpp "$LINENO"; then :
2557 ac_header_preproc=yes
2558 else
2559 ac_header_preproc=no
2561 rm -f conftest.err conftest.i conftest.$ac_ext
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2563 $as_echo "$ac_header_preproc" >&6; }
2565 # So? What about this header?
2566 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2567 yes:no: )
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2569 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2571 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2573 no:yes:* )
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2575 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2577 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2579 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2581 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2583 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2584 ( $as_echo "## ------------------------------------ ##
2585 ## Report this to wine-devel@winehq.org ##
2586 ## ------------------------------------ ##"
2587 ) | sed "s/^/$as_me: WARNING: /" >&2
2589 esac
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2591 $as_echo_n "checking for $2... " >&6; }
2592 if eval \${$3+:} false; then :
2593 $as_echo_n "(cached) " >&6
2594 else
2595 eval "$3=\$ac_header_compiler"
2597 eval ac_res=\$$3
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2599 $as_echo "$ac_res" >&6; }
2601 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2603 } # ac_fn_c_check_header_mongrel
2605 # ac_fn_c_try_run LINENO
2606 # ----------------------
2607 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2608 # that executables *can* be run.
2609 ac_fn_c_try_run ()
2611 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2612 if { { ac_try="$ac_link"
2613 case "(($ac_try" in
2614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2615 *) ac_try_echo=$ac_try;;
2616 esac
2617 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2618 $as_echo "$ac_try_echo"; } >&5
2619 (eval "$ac_link") 2>&5
2620 ac_status=$?
2621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2622 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2623 { { case "(($ac_try" in
2624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2625 *) ac_try_echo=$ac_try;;
2626 esac
2627 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2628 $as_echo "$ac_try_echo"; } >&5
2629 (eval "$ac_try") 2>&5
2630 ac_status=$?
2631 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2632 test $ac_status = 0; }; }; then :
2633 ac_retval=0
2634 else
2635 $as_echo "$as_me: program exited with status $ac_status" >&5
2636 $as_echo "$as_me: failed program was:" >&5
2637 sed 's/^/| /' conftest.$ac_ext >&5
2639 ac_retval=$ac_status
2641 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2642 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2643 as_fn_set_status $ac_retval
2645 } # ac_fn_c_try_run
2647 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2648 # -------------------------------------------------------
2649 # Tests whether HEADER exists and can be compiled using the include files in
2650 # INCLUDES, setting the cache variable VAR accordingly.
2651 ac_fn_c_check_header_compile ()
2653 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2655 $as_echo_n "checking for $2... " >&6; }
2656 if eval \${$3+:} false; then :
2657 $as_echo_n "(cached) " >&6
2658 else
2659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2660 /* end confdefs.h. */
2662 #include <$2>
2663 _ACEOF
2664 if ac_fn_c_try_compile "$LINENO"; then :
2665 eval "$3=yes"
2666 else
2667 eval "$3=no"
2669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2671 eval ac_res=\$$3
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2673 $as_echo "$ac_res" >&6; }
2674 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2676 } # ac_fn_c_check_header_compile
2678 # ac_fn_c_check_func LINENO FUNC VAR
2679 # ----------------------------------
2680 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2681 ac_fn_c_check_func ()
2683 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2685 $as_echo_n "checking for $2... " >&6; }
2686 if eval \${$3+:} false; then :
2687 $as_echo_n "(cached) " >&6
2688 else
2689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2690 /* end confdefs.h. */
2691 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2693 #define $2 innocuous_$2
2695 /* System header to define __stub macros and hopefully few prototypes,
2696 which can conflict with char $2 (); below.
2697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2698 <limits.h> exists even on freestanding compilers. */
2700 #ifdef __STDC__
2701 # include <limits.h>
2702 #else
2703 # include <assert.h>
2704 #endif
2706 #undef $2
2708 /* Override any GCC internal prototype to avoid an error.
2709 Use char because int might match the return type of a GCC
2710 builtin and then its argument prototype would still apply. */
2711 #ifdef __cplusplus
2712 extern "C"
2713 #endif
2714 char $2 ();
2715 /* The GNU C library defines this for functions which it implements
2716 to always fail with ENOSYS. Some functions are actually named
2717 something starting with __ and the normal name is an alias. */
2718 #if defined __stub_$2 || defined __stub___$2
2719 choke me
2720 #endif
2723 main ()
2725 return $2 ();
2727 return 0;
2729 _ACEOF
2730 if ac_fn_c_try_link "$LINENO"; then :
2731 eval "$3=yes"
2732 else
2733 eval "$3=no"
2735 rm -f core conftest.err conftest.$ac_objext \
2736 conftest$ac_exeext conftest.$ac_ext
2738 eval ac_res=\$$3
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2740 $as_echo "$ac_res" >&6; }
2741 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2743 } # ac_fn_c_check_func
2745 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2746 # ----------------------------------------------------
2747 # Tries to find if the field MEMBER exists in type AGGR, after including
2748 # INCLUDES, setting cache variable VAR accordingly.
2749 ac_fn_c_check_member ()
2751 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2753 $as_echo_n "checking for $2.$3... " >&6; }
2754 if eval \${$4+:} false; then :
2755 $as_echo_n "(cached) " >&6
2756 else
2757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2758 /* end confdefs.h. */
2761 main ()
2763 static $2 ac_aggr;
2764 if (ac_aggr.$3)
2765 return 0;
2767 return 0;
2769 _ACEOF
2770 if ac_fn_c_try_compile "$LINENO"; then :
2771 eval "$4=yes"
2772 else
2773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2774 /* end confdefs.h. */
2777 main ()
2779 static $2 ac_aggr;
2780 if (sizeof ac_aggr.$3)
2781 return 0;
2783 return 0;
2785 _ACEOF
2786 if ac_fn_c_try_compile "$LINENO"; then :
2787 eval "$4=yes"
2788 else
2789 eval "$4=no"
2791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2795 eval ac_res=\$$4
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2797 $as_echo "$ac_res" >&6; }
2798 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2800 } # ac_fn_c_check_member
2802 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2803 # -------------------------------------------
2804 # Tests whether TYPE exists after having included INCLUDES, setting cache
2805 # variable VAR accordingly.
2806 ac_fn_c_check_type ()
2808 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2810 $as_echo_n "checking for $2... " >&6; }
2811 if eval \${$3+:} false; then :
2812 $as_echo_n "(cached) " >&6
2813 else
2814 eval "$3=no"
2815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2816 /* end confdefs.h. */
2819 main ()
2821 if (sizeof ($2))
2822 return 0;
2824 return 0;
2826 _ACEOF
2827 if ac_fn_c_try_compile "$LINENO"; then :
2828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2829 /* end confdefs.h. */
2832 main ()
2834 if (sizeof (($2)))
2835 return 0;
2837 return 0;
2839 _ACEOF
2840 if ac_fn_c_try_compile "$LINENO"; then :
2842 else
2843 eval "$3=yes"
2845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2849 eval ac_res=\$$3
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2851 $as_echo "$ac_res" >&6; }
2852 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2854 } # ac_fn_c_check_type
2855 cat >config.log <<_ACEOF
2856 This file contains any messages produced by compilers while
2857 running configure, to aid debugging if configure makes a mistake.
2859 It was created by Wine $as_me 1.7.51, which was
2860 generated by GNU Autoconf 2.69. Invocation command line was
2862 $ $0 $@
2864 _ACEOF
2865 exec 5>>config.log
2867 cat <<_ASUNAME
2868 ## --------- ##
2869 ## Platform. ##
2870 ## --------- ##
2872 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2873 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2874 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2875 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2876 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2878 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2879 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2881 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2882 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2883 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2884 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2885 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2886 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2887 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2889 _ASUNAME
2891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2892 for as_dir in $PATH
2894 IFS=$as_save_IFS
2895 test -z "$as_dir" && as_dir=.
2896 $as_echo "PATH: $as_dir"
2897 done
2898 IFS=$as_save_IFS
2900 } >&5
2902 cat >&5 <<_ACEOF
2905 ## ----------- ##
2906 ## Core tests. ##
2907 ## ----------- ##
2909 _ACEOF
2912 # Keep a trace of the command line.
2913 # Strip out --no-create and --no-recursion so they do not pile up.
2914 # Strip out --silent because we don't want to record it for future runs.
2915 # Also quote any args containing shell meta-characters.
2916 # Make two passes to allow for proper duplicate-argument suppression.
2917 ac_configure_args=
2918 ac_configure_args0=
2919 ac_configure_args1=
2920 ac_must_keep_next=false
2921 for ac_pass in 1 2
2923 for ac_arg
2925 case $ac_arg in
2926 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2927 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2928 | -silent | --silent | --silen | --sile | --sil)
2929 continue ;;
2930 *\'*)
2931 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2932 esac
2933 case $ac_pass in
2934 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2936 as_fn_append ac_configure_args1 " '$ac_arg'"
2937 if test $ac_must_keep_next = true; then
2938 ac_must_keep_next=false # Got value, back to normal.
2939 else
2940 case $ac_arg in
2941 *=* | --config-cache | -C | -disable-* | --disable-* \
2942 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2943 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2944 | -with-* | --with-* | -without-* | --without-* | --x)
2945 case "$ac_configure_args0 " in
2946 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2947 esac
2949 -* ) ac_must_keep_next=true ;;
2950 esac
2952 as_fn_append ac_configure_args " '$ac_arg'"
2954 esac
2955 done
2956 done
2957 { ac_configure_args0=; unset ac_configure_args0;}
2958 { ac_configure_args1=; unset ac_configure_args1;}
2960 # When interrupted or exit'd, cleanup temporary files, and complete
2961 # config.log. We remove comments because anyway the quotes in there
2962 # would cause problems or look ugly.
2963 # WARNING: Use '\'' to represent an apostrophe within the trap.
2964 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2965 trap 'exit_status=$?
2966 # Save into config.log some information that might help in debugging.
2968 echo
2970 $as_echo "## ---------------- ##
2971 ## Cache variables. ##
2972 ## ---------------- ##"
2973 echo
2974 # The following way of writing the cache mishandles newlines in values,
2976 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2977 eval ac_val=\$$ac_var
2978 case $ac_val in #(
2979 *${as_nl}*)
2980 case $ac_var in #(
2981 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2982 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2983 esac
2984 case $ac_var in #(
2985 _ | IFS | as_nl) ;; #(
2986 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2987 *) { eval $ac_var=; unset $ac_var;} ;;
2988 esac ;;
2989 esac
2990 done
2991 (set) 2>&1 |
2992 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2993 *${as_nl}ac_space=\ *)
2994 sed -n \
2995 "s/'\''/'\''\\\\'\'''\''/g;
2996 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2997 ;; #(
2999 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3001 esac |
3002 sort
3004 echo
3006 $as_echo "## ----------------- ##
3007 ## Output variables. ##
3008 ## ----------------- ##"
3009 echo
3010 for ac_var in $ac_subst_vars
3012 eval ac_val=\$$ac_var
3013 case $ac_val in
3014 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3015 esac
3016 $as_echo "$ac_var='\''$ac_val'\''"
3017 done | sort
3018 echo
3020 if test -n "$ac_subst_files"; then
3021 $as_echo "## ------------------- ##
3022 ## File substitutions. ##
3023 ## ------------------- ##"
3024 echo
3025 for ac_var in $ac_subst_files
3027 eval ac_val=\$$ac_var
3028 case $ac_val in
3029 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3030 esac
3031 $as_echo "$ac_var='\''$ac_val'\''"
3032 done | sort
3033 echo
3036 if test -s confdefs.h; then
3037 $as_echo "## ----------- ##
3038 ## confdefs.h. ##
3039 ## ----------- ##"
3040 echo
3041 cat confdefs.h
3042 echo
3044 test "$ac_signal" != 0 &&
3045 $as_echo "$as_me: caught signal $ac_signal"
3046 $as_echo "$as_me: exit $exit_status"
3047 } >&5
3048 rm -f core *.core core.conftest.* &&
3049 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3050 exit $exit_status
3052 for ac_signal in 1 2 13 15; do
3053 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3054 done
3055 ac_signal=0
3057 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3058 rm -f -r conftest* confdefs.h
3060 $as_echo "/* confdefs.h */" > confdefs.h
3062 # Predefined preprocessor variables.
3064 cat >>confdefs.h <<_ACEOF
3065 #define PACKAGE_NAME "$PACKAGE_NAME"
3066 _ACEOF
3068 cat >>confdefs.h <<_ACEOF
3069 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3070 _ACEOF
3072 cat >>confdefs.h <<_ACEOF
3073 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3074 _ACEOF
3076 cat >>confdefs.h <<_ACEOF
3077 #define PACKAGE_STRING "$PACKAGE_STRING"
3078 _ACEOF
3080 cat >>confdefs.h <<_ACEOF
3081 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3082 _ACEOF
3084 cat >>confdefs.h <<_ACEOF
3085 #define PACKAGE_URL "$PACKAGE_URL"
3086 _ACEOF
3089 # Let the site file select an alternate cache file if it wants to.
3090 # Prefer an explicitly selected file to automatically selected ones.
3091 ac_site_file1=NONE
3092 ac_site_file2=NONE
3093 if test -n "$CONFIG_SITE"; then
3094 # We do not want a PATH search for config.site.
3095 case $CONFIG_SITE in #((
3096 -*) ac_site_file1=./$CONFIG_SITE;;
3097 */*) ac_site_file1=$CONFIG_SITE;;
3098 *) ac_site_file1=./$CONFIG_SITE;;
3099 esac
3100 elif test "x$prefix" != xNONE; then
3101 ac_site_file1=$prefix/share/config.site
3102 ac_site_file2=$prefix/etc/config.site
3103 else
3104 ac_site_file1=$ac_default_prefix/share/config.site
3105 ac_site_file2=$ac_default_prefix/etc/config.site
3107 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3109 test "x$ac_site_file" = xNONE && continue
3110 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3112 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3113 sed 's/^/| /' "$ac_site_file" >&5
3114 . "$ac_site_file" \
3115 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3116 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3117 as_fn_error $? "failed to load site script $ac_site_file
3118 See \`config.log' for more details" "$LINENO" 5; }
3120 done
3122 if test -r "$cache_file"; then
3123 # Some versions of bash will fail to source /dev/null (special files
3124 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3125 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3127 $as_echo "$as_me: loading cache $cache_file" >&6;}
3128 case $cache_file in
3129 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3130 *) . "./$cache_file";;
3131 esac
3133 else
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3135 $as_echo "$as_me: creating cache $cache_file" >&6;}
3136 >$cache_file
3139 # Check that the precious variables saved in the cache have kept the same
3140 # value.
3141 ac_cache_corrupted=false
3142 for ac_var in $ac_precious_vars; do
3143 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3144 eval ac_new_set=\$ac_env_${ac_var}_set
3145 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3146 eval ac_new_val=\$ac_env_${ac_var}_value
3147 case $ac_old_set,$ac_new_set in
3148 set,)
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3150 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3151 ac_cache_corrupted=: ;;
3152 ,set)
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3154 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3155 ac_cache_corrupted=: ;;
3156 ,);;
3158 if test "x$ac_old_val" != "x$ac_new_val"; then
3159 # differences in whitespace do not lead to failure.
3160 ac_old_val_w=`echo x $ac_old_val`
3161 ac_new_val_w=`echo x $ac_new_val`
3162 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3164 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3165 ac_cache_corrupted=:
3166 else
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3168 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3169 eval $ac_var=\$ac_old_val
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3172 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3174 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3175 fi;;
3176 esac
3177 # Pass precious variables to config.status.
3178 if test "$ac_new_set" = set; then
3179 case $ac_new_val in
3180 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3181 *) ac_arg=$ac_var=$ac_new_val ;;
3182 esac
3183 case " $ac_configure_args " in
3184 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3185 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3186 esac
3188 done
3189 if $ac_cache_corrupted; then
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3191 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3193 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3194 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3196 ## -------------------- ##
3197 ## Main body of script. ##
3198 ## -------------------- ##
3200 ac_ext=c
3201 ac_cpp='$CPP $CPPFLAGS'
3202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3208 ac_config_headers="$ac_config_headers include/config.h"
3210 ac_aux_dir=
3211 for ac_dir in tools "$srcdir"/tools; do
3212 if test -f "$ac_dir/install-sh"; then
3213 ac_aux_dir=$ac_dir
3214 ac_install_sh="$ac_aux_dir/install-sh -c"
3215 break
3216 elif test -f "$ac_dir/install.sh"; then
3217 ac_aux_dir=$ac_dir
3218 ac_install_sh="$ac_aux_dir/install.sh -c"
3219 break
3220 elif test -f "$ac_dir/shtool"; then
3221 ac_aux_dir=$ac_dir
3222 ac_install_sh="$ac_aux_dir/shtool install -c"
3223 break
3225 done
3226 if test -z "$ac_aux_dir"; then
3227 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3230 # These three variables are undocumented and unsupported,
3231 # and are intended to be withdrawn in a future Autoconf release.
3232 # They can cause serious problems if a builder's source tree is in a directory
3233 # whose full name contains unusual characters.
3234 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3235 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3236 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3240 libwine_version="1.0"
3244 # Check whether --enable-win16 was given.
3245 if test "${enable_win16+set}" = set; then :
3246 enableval=$enable_win16;
3249 # Check whether --enable-win64 was given.
3250 if test "${enable_win64+set}" = set; then :
3251 enableval=$enable_win64;
3254 # Check whether --enable-tests was given.
3255 if test "${enable_tests+set}" = set; then :
3256 enableval=$enable_tests;
3259 # Check whether --enable-maintainer-mode was given.
3260 if test "${enable_maintainer_mode+set}" = set; then :
3261 enableval=$enable_maintainer_mode;
3266 # Check whether --with-alsa was given.
3267 if test "${with_alsa+set}" = set; then :
3268 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3272 # Check whether --with-capi was given.
3273 if test "${with_capi+set}" = set; then :
3274 withval=$with_capi;
3278 # Check whether --with-cms was given.
3279 if test "${with_cms+set}" = set; then :
3280 withval=$with_cms;
3284 # Check whether --with-coreaudio was given.
3285 if test "${with_coreaudio+set}" = set; then :
3286 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3290 # Check whether --with-cups was given.
3291 if test "${with_cups+set}" = set; then :
3292 withval=$with_cups;
3296 # Check whether --with-curses was given.
3297 if test "${with_curses+set}" = set; then :
3298 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3302 # Check whether --with-dbus was given.
3303 if test "${with_dbus+set}" = set; then :
3304 withval=$with_dbus;
3308 # Check whether --with-fontconfig was given.
3309 if test "${with_fontconfig+set}" = set; then :
3310 withval=$with_fontconfig;
3314 # Check whether --with-freetype was given.
3315 if test "${with_freetype+set}" = set; then :
3316 withval=$with_freetype;
3320 # Check whether --with-gettext was given.
3321 if test "${with_gettext+set}" = set; then :
3322 withval=$with_gettext;
3326 # Check whether --with-gettextpo was given.
3327 if test "${with_gettextpo+set}" = set; then :
3328 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3332 # Check whether --with-gphoto was given.
3333 if test "${with_gphoto+set}" = set; then :
3334 withval=$with_gphoto;
3338 # Check whether --with-glu was given.
3339 if test "${with_glu+set}" = set; then :
3340 withval=$with_glu;
3344 # Check whether --with-gnutls was given.
3345 if test "${with_gnutls+set}" = set; then :
3346 withval=$with_gnutls;
3350 # Check whether --with-gsm was given.
3351 if test "${with_gsm+set}" = set; then :
3352 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3356 # Check whether --with-gstreamer was given.
3357 if test "${with_gstreamer+set}" = set; then :
3358 withval=$with_gstreamer;
3362 # Check whether --with-hal was given.
3363 if test "${with_hal+set}" = set; then :
3364 withval=$with_hal;
3368 # Check whether --with-jpeg was given.
3369 if test "${with_jpeg+set}" = set; then :
3370 withval=$with_jpeg;
3374 # Check whether --with-ldap was given.
3375 if test "${with_ldap+set}" = set; then :
3376 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3380 # Check whether --with-mpg123 was given.
3381 if test "${with_mpg123+set}" = set; then :
3382 withval=$with_mpg123;
3386 # Check whether --with-netapi was given.
3387 if test "${with_netapi+set}" = set; then :
3388 withval=$with_netapi;
3392 # Check whether --with-openal was given.
3393 if test "${with_openal+set}" = set; then :
3394 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3398 # Check whether --with-opencl was given.
3399 if test "${with_opencl+set}" = set; then :
3400 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3404 # Check whether --with-opengl was given.
3405 if test "${with_opengl+set}" = set; then :
3406 withval=$with_opengl;
3410 # Check whether --with-osmesa was given.
3411 if test "${with_osmesa+set}" = set; then :
3412 withval=$with_osmesa;
3416 # Check whether --with-oss was given.
3417 if test "${with_oss+set}" = set; then :
3418 withval=$with_oss;
3422 # Check whether --with-pcap was given.
3423 if test "${with_pcap+set}" = set; then :
3424 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3428 # Check whether --with-png was given.
3429 if test "${with_png+set}" = set; then :
3430 withval=$with_png;
3434 # Check whether --with-pthread was given.
3435 if test "${with_pthread+set}" = set; then :
3436 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3440 # Check whether --with-sane was given.
3441 if test "${with_sane+set}" = set; then :
3442 withval=$with_sane;
3446 # Check whether --with-tiff was given.
3447 if test "${with_tiff+set}" = set; then :
3448 withval=$with_tiff;
3452 # Check whether --with-v4l was given.
3453 if test "${with_v4l+set}" = set; then :
3454 withval=$with_v4l;
3458 # Check whether --with-xcomposite was given.
3459 if test "${with_xcomposite+set}" = set; then :
3460 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3464 # Check whether --with-xcursor was given.
3465 if test "${with_xcursor+set}" = set; then :
3466 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3470 # Check whether --with-xinerama was given.
3471 if test "${with_xinerama+set}" = set; then :
3472 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3476 # Check whether --with-xinput was given.
3477 if test "${with_xinput+set}" = set; then :
3478 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3482 # Check whether --with-xinput2 was given.
3483 if test "${with_xinput2+set}" = set; then :
3484 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3488 # Check whether --with-xml was given.
3489 if test "${with_xml+set}" = set; then :
3490 withval=$with_xml;
3494 # Check whether --with-xrandr was given.
3495 if test "${with_xrandr+set}" = set; then :
3496 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3500 # Check whether --with-xrender was given.
3501 if test "${with_xrender+set}" = set; then :
3502 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3506 # Check whether --with-xshape was given.
3507 if test "${with_xshape+set}" = set; then :
3508 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3512 # Check whether --with-xshm was given.
3513 if test "${with_xshm+set}" = set; then :
3514 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3518 # Check whether --with-xslt was given.
3519 if test "${with_xslt+set}" = set; then :
3520 withval=$with_xslt;
3524 # Check whether --with-xxf86vm was given.
3525 if test "${with_xxf86vm+set}" = set; then :
3526 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
3530 # Check whether --with-zlib was given.
3531 if test "${with_zlib+set}" = set; then :
3532 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3537 # Check whether --with-wine-tools was given.
3538 if test "${with_wine_tools+set}" = set; then :
3539 withval=$with_wine_tools;
3543 # Check whether --with-wine64 was given.
3544 if test "${with_wine64+set}" = set; then :
3545 withval=$with_wine64;
3549 # Make sure we can run config.sub.
3550 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3551 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3554 $as_echo_n "checking build system type... " >&6; }
3555 if ${ac_cv_build+:} false; then :
3556 $as_echo_n "(cached) " >&6
3557 else
3558 ac_build_alias=$build_alias
3559 test "x$ac_build_alias" = x &&
3560 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3561 test "x$ac_build_alias" = x &&
3562 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3563 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3564 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3568 $as_echo "$ac_cv_build" >&6; }
3569 case $ac_cv_build in
3570 *-*-*) ;;
3571 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3572 esac
3573 build=$ac_cv_build
3574 ac_save_IFS=$IFS; IFS='-'
3575 set x $ac_cv_build
3576 shift
3577 build_cpu=$1
3578 build_vendor=$2
3579 shift; shift
3580 # Remember, the first character of IFS is used to create $*,
3581 # except with old shells:
3582 build_os=$*
3583 IFS=$ac_save_IFS
3584 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3588 $as_echo_n "checking host system type... " >&6; }
3589 if ${ac_cv_host+:} false; then :
3590 $as_echo_n "(cached) " >&6
3591 else
3592 if test "x$host_alias" = x; then
3593 ac_cv_host=$ac_cv_build
3594 else
3595 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3596 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3601 $as_echo "$ac_cv_host" >&6; }
3602 case $ac_cv_host in
3603 *-*-*) ;;
3604 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3605 esac
3606 host=$ac_cv_host
3607 ac_save_IFS=$IFS; IFS='-'
3608 set x $ac_cv_host
3609 shift
3610 host_cpu=$1
3611 host_vendor=$2
3612 shift; shift
3613 # Remember, the first character of IFS is used to create $*,
3614 # except with old shells:
3615 host_os=$*
3616 IFS=$ac_save_IFS
3617 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3621 case "$srcdir" in
3622 .) ;;
3623 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3624 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3625 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3626 fi ;;
3627 esac
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3631 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3632 set x ${MAKE-make}
3633 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3634 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3635 $as_echo_n "(cached) " >&6
3636 else
3637 cat >conftest.make <<\_ACEOF
3638 SHELL = /bin/sh
3639 all:
3640 @echo '@@@%%%=$(MAKE)=@@@%%%'
3641 _ACEOF
3642 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3643 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3644 *@@@%%%=?*=@@@%%%*)
3645 eval ac_cv_prog_make_${ac_make}_set=yes;;
3647 eval ac_cv_prog_make_${ac_make}_set=no;;
3648 esac
3649 rm -f conftest.make
3651 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3653 $as_echo "yes" >&6; }
3654 SET_MAKE=
3655 else
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3657 $as_echo "no" >&6; }
3658 SET_MAKE="MAKE=${MAKE-make}"
3661 ac_ext=c
3662 ac_cpp='$CPP $CPPFLAGS'
3663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3666 if test -n "$ac_tool_prefix"; then
3667 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3668 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3670 $as_echo_n "checking for $ac_word... " >&6; }
3671 if ${ac_cv_prog_CC+:} false; then :
3672 $as_echo_n "(cached) " >&6
3673 else
3674 if test -n "$CC"; then
3675 ac_cv_prog_CC="$CC" # Let the user override the test.
3676 else
3677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3678 for as_dir in $PATH
3680 IFS=$as_save_IFS
3681 test -z "$as_dir" && as_dir=.
3682 for ac_exec_ext in '' $ac_executable_extensions; do
3683 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3684 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3686 break 2
3688 done
3689 done
3690 IFS=$as_save_IFS
3694 CC=$ac_cv_prog_CC
3695 if test -n "$CC"; then
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3697 $as_echo "$CC" >&6; }
3698 else
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3700 $as_echo "no" >&6; }
3705 if test -z "$ac_cv_prog_CC"; then
3706 ac_ct_CC=$CC
3707 # Extract the first word of "gcc", so it can be a program name with args.
3708 set dummy gcc; ac_word=$2
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3710 $as_echo_n "checking for $ac_word... " >&6; }
3711 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3712 $as_echo_n "(cached) " >&6
3713 else
3714 if test -n "$ac_ct_CC"; then
3715 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3716 else
3717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3718 for as_dir in $PATH
3720 IFS=$as_save_IFS
3721 test -z "$as_dir" && as_dir=.
3722 for ac_exec_ext in '' $ac_executable_extensions; do
3723 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3724 ac_cv_prog_ac_ct_CC="gcc"
3725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3726 break 2
3728 done
3729 done
3730 IFS=$as_save_IFS
3734 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3735 if test -n "$ac_ct_CC"; then
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3737 $as_echo "$ac_ct_CC" >&6; }
3738 else
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3740 $as_echo "no" >&6; }
3743 if test "x$ac_ct_CC" = x; then
3744 CC=""
3745 else
3746 case $cross_compiling:$ac_tool_warned in
3747 yes:)
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3749 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3750 ac_tool_warned=yes ;;
3751 esac
3752 CC=$ac_ct_CC
3754 else
3755 CC="$ac_cv_prog_CC"
3758 if test -z "$CC"; then
3759 if test -n "$ac_tool_prefix"; then
3760 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3761 set dummy ${ac_tool_prefix}cc; ac_word=$2
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3763 $as_echo_n "checking for $ac_word... " >&6; }
3764 if ${ac_cv_prog_CC+:} false; then :
3765 $as_echo_n "(cached) " >&6
3766 else
3767 if test -n "$CC"; then
3768 ac_cv_prog_CC="$CC" # Let the user override the test.
3769 else
3770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3771 for as_dir in $PATH
3773 IFS=$as_save_IFS
3774 test -z "$as_dir" && as_dir=.
3775 for ac_exec_ext in '' $ac_executable_extensions; do
3776 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3777 ac_cv_prog_CC="${ac_tool_prefix}cc"
3778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3779 break 2
3781 done
3782 done
3783 IFS=$as_save_IFS
3787 CC=$ac_cv_prog_CC
3788 if test -n "$CC"; then
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3790 $as_echo "$CC" >&6; }
3791 else
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3793 $as_echo "no" >&6; }
3799 if test -z "$CC"; then
3800 # Extract the first word of "cc", so it can be a program name with args.
3801 set dummy cc; ac_word=$2
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3803 $as_echo_n "checking for $ac_word... " >&6; }
3804 if ${ac_cv_prog_CC+:} false; then :
3805 $as_echo_n "(cached) " >&6
3806 else
3807 if test -n "$CC"; then
3808 ac_cv_prog_CC="$CC" # Let the user override the test.
3809 else
3810 ac_prog_rejected=no
3811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3812 for as_dir in $PATH
3814 IFS=$as_save_IFS
3815 test -z "$as_dir" && as_dir=.
3816 for ac_exec_ext in '' $ac_executable_extensions; do
3817 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3818 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3819 ac_prog_rejected=yes
3820 continue
3822 ac_cv_prog_CC="cc"
3823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3824 break 2
3826 done
3827 done
3828 IFS=$as_save_IFS
3830 if test $ac_prog_rejected = yes; then
3831 # We found a bogon in the path, so make sure we never use it.
3832 set dummy $ac_cv_prog_CC
3833 shift
3834 if test $# != 0; then
3835 # We chose a different compiler from the bogus one.
3836 # However, it has the same basename, so the bogon will be chosen
3837 # first if we set CC to just the basename; use the full file name.
3838 shift
3839 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3844 CC=$ac_cv_prog_CC
3845 if test -n "$CC"; then
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3847 $as_echo "$CC" >&6; }
3848 else
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3850 $as_echo "no" >&6; }
3855 if test -z "$CC"; then
3856 if test -n "$ac_tool_prefix"; then
3857 for ac_prog in cl.exe
3859 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3860 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3862 $as_echo_n "checking for $ac_word... " >&6; }
3863 if ${ac_cv_prog_CC+:} false; then :
3864 $as_echo_n "(cached) " >&6
3865 else
3866 if test -n "$CC"; then
3867 ac_cv_prog_CC="$CC" # Let the user override the test.
3868 else
3869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3870 for as_dir in $PATH
3872 IFS=$as_save_IFS
3873 test -z "$as_dir" && as_dir=.
3874 for ac_exec_ext in '' $ac_executable_extensions; do
3875 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3876 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3878 break 2
3880 done
3881 done
3882 IFS=$as_save_IFS
3886 CC=$ac_cv_prog_CC
3887 if test -n "$CC"; then
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3889 $as_echo "$CC" >&6; }
3890 else
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3892 $as_echo "no" >&6; }
3896 test -n "$CC" && break
3897 done
3899 if test -z "$CC"; then
3900 ac_ct_CC=$CC
3901 for ac_prog in cl.exe
3903 # Extract the first word of "$ac_prog", so it can be a program name with args.
3904 set dummy $ac_prog; ac_word=$2
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3906 $as_echo_n "checking for $ac_word... " >&6; }
3907 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3908 $as_echo_n "(cached) " >&6
3909 else
3910 if test -n "$ac_ct_CC"; then
3911 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3912 else
3913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3914 for as_dir in $PATH
3916 IFS=$as_save_IFS
3917 test -z "$as_dir" && as_dir=.
3918 for ac_exec_ext in '' $ac_executable_extensions; do
3919 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3920 ac_cv_prog_ac_ct_CC="$ac_prog"
3921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3922 break 2
3924 done
3925 done
3926 IFS=$as_save_IFS
3930 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3931 if test -n "$ac_ct_CC"; then
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3933 $as_echo "$ac_ct_CC" >&6; }
3934 else
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3936 $as_echo "no" >&6; }
3940 test -n "$ac_ct_CC" && break
3941 done
3943 if test "x$ac_ct_CC" = x; then
3944 CC=""
3945 else
3946 case $cross_compiling:$ac_tool_warned in
3947 yes:)
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3949 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3950 ac_tool_warned=yes ;;
3951 esac
3952 CC=$ac_ct_CC
3959 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3960 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3961 as_fn_error $? "no acceptable C compiler found in \$PATH
3962 See \`config.log' for more details" "$LINENO" 5; }
3964 # Provide some information about the compiler.
3965 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3966 set X $ac_compile
3967 ac_compiler=$2
3968 for ac_option in --version -v -V -qversion; do
3969 { { ac_try="$ac_compiler $ac_option >&5"
3970 case "(($ac_try" in
3971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3972 *) ac_try_echo=$ac_try;;
3973 esac
3974 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3975 $as_echo "$ac_try_echo"; } >&5
3976 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3977 ac_status=$?
3978 if test -s conftest.err; then
3979 sed '10a\
3980 ... rest of stderr output deleted ...
3981 10q' conftest.err >conftest.er1
3982 cat conftest.er1 >&5
3984 rm -f conftest.er1 conftest.err
3985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3986 test $ac_status = 0; }
3987 done
3989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3990 /* end confdefs.h. */
3993 main ()
3997 return 0;
3999 _ACEOF
4000 ac_clean_files_save=$ac_clean_files
4001 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4002 # Try to create an executable without -o first, disregard a.out.
4003 # It will help us diagnose broken compilers, and finding out an intuition
4004 # of exeext.
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4006 $as_echo_n "checking whether the C compiler works... " >&6; }
4007 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4009 # The possible output files:
4010 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4012 ac_rmfiles=
4013 for ac_file in $ac_files
4015 case $ac_file in
4016 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4017 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4018 esac
4019 done
4020 rm -f $ac_rmfiles
4022 if { { ac_try="$ac_link_default"
4023 case "(($ac_try" in
4024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4025 *) ac_try_echo=$ac_try;;
4026 esac
4027 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4028 $as_echo "$ac_try_echo"; } >&5
4029 (eval "$ac_link_default") 2>&5
4030 ac_status=$?
4031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4032 test $ac_status = 0; }; then :
4033 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4034 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4035 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4036 # so that the user can short-circuit this test for compilers unknown to
4037 # Autoconf.
4038 for ac_file in $ac_files ''
4040 test -f "$ac_file" || continue
4041 case $ac_file in
4042 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4044 [ab].out )
4045 # We found the default executable, but exeext='' is most
4046 # certainly right.
4047 break;;
4048 *.* )
4049 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4050 then :; else
4051 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4053 # We set ac_cv_exeext here because the later test for it is not
4054 # safe: cross compilers may not add the suffix if given an `-o'
4055 # argument, so we may need to know it at that point already.
4056 # Even if this section looks crufty: it has the advantage of
4057 # actually working.
4058 break;;
4060 break;;
4061 esac
4062 done
4063 test "$ac_cv_exeext" = no && ac_cv_exeext=
4065 else
4066 ac_file=''
4068 if test -z "$ac_file"; then :
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4070 $as_echo "no" >&6; }
4071 $as_echo "$as_me: failed program was:" >&5
4072 sed 's/^/| /' conftest.$ac_ext >&5
4074 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4075 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4076 as_fn_error 77 "C compiler cannot create executables
4077 See \`config.log' for more details" "$LINENO" 5; }
4078 else
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4080 $as_echo "yes" >&6; }
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4083 $as_echo_n "checking for C compiler default output file name... " >&6; }
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4085 $as_echo "$ac_file" >&6; }
4086 ac_exeext=$ac_cv_exeext
4088 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4089 ac_clean_files=$ac_clean_files_save
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4091 $as_echo_n "checking for suffix of executables... " >&6; }
4092 if { { ac_try="$ac_link"
4093 case "(($ac_try" in
4094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4095 *) ac_try_echo=$ac_try;;
4096 esac
4097 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4098 $as_echo "$ac_try_echo"; } >&5
4099 (eval "$ac_link") 2>&5
4100 ac_status=$?
4101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4102 test $ac_status = 0; }; then :
4103 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4104 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4105 # work properly (i.e., refer to `conftest.exe'), while it won't with
4106 # `rm'.
4107 for ac_file in conftest.exe conftest conftest.*; do
4108 test -f "$ac_file" || continue
4109 case $ac_file in
4110 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4111 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4112 break;;
4113 * ) break;;
4114 esac
4115 done
4116 else
4117 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4118 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4119 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4120 See \`config.log' for more details" "$LINENO" 5; }
4122 rm -f conftest conftest$ac_cv_exeext
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4124 $as_echo "$ac_cv_exeext" >&6; }
4126 rm -f conftest.$ac_ext
4127 EXEEXT=$ac_cv_exeext
4128 ac_exeext=$EXEEXT
4129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4130 /* end confdefs.h. */
4131 #include <stdio.h>
4133 main ()
4135 FILE *f = fopen ("conftest.out", "w");
4136 return ferror (f) || fclose (f) != 0;
4139 return 0;
4141 _ACEOF
4142 ac_clean_files="$ac_clean_files conftest.out"
4143 # Check that the compiler produces executables we can run. If not, either
4144 # the compiler is broken, or we cross compile.
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4146 $as_echo_n "checking whether we are cross compiling... " >&6; }
4147 if test "$cross_compiling" != yes; then
4148 { { ac_try="$ac_link"
4149 case "(($ac_try" in
4150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4151 *) ac_try_echo=$ac_try;;
4152 esac
4153 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4154 $as_echo "$ac_try_echo"; } >&5
4155 (eval "$ac_link") 2>&5
4156 ac_status=$?
4157 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4158 test $ac_status = 0; }
4159 if { ac_try='./conftest$ac_cv_exeext'
4160 { { case "(($ac_try" in
4161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4162 *) ac_try_echo=$ac_try;;
4163 esac
4164 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4165 $as_echo "$ac_try_echo"; } >&5
4166 (eval "$ac_try") 2>&5
4167 ac_status=$?
4168 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4169 test $ac_status = 0; }; }; then
4170 cross_compiling=no
4171 else
4172 if test "$cross_compiling" = maybe; then
4173 cross_compiling=yes
4174 else
4175 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4176 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4177 as_fn_error $? "cannot run C compiled programs.
4178 If you meant to cross compile, use \`--host'.
4179 See \`config.log' for more details" "$LINENO" 5; }
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4184 $as_echo "$cross_compiling" >&6; }
4186 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4187 ac_clean_files=$ac_clean_files_save
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4189 $as_echo_n "checking for suffix of object files... " >&6; }
4190 if ${ac_cv_objext+:} false; then :
4191 $as_echo_n "(cached) " >&6
4192 else
4193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4194 /* end confdefs.h. */
4197 main ()
4201 return 0;
4203 _ACEOF
4204 rm -f conftest.o conftest.obj
4205 if { { ac_try="$ac_compile"
4206 case "(($ac_try" in
4207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4208 *) ac_try_echo=$ac_try;;
4209 esac
4210 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4211 $as_echo "$ac_try_echo"; } >&5
4212 (eval "$ac_compile") 2>&5
4213 ac_status=$?
4214 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4215 test $ac_status = 0; }; then :
4216 for ac_file in conftest.o conftest.obj conftest.*; do
4217 test -f "$ac_file" || continue;
4218 case $ac_file in
4219 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4220 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4221 break;;
4222 esac
4223 done
4224 else
4225 $as_echo "$as_me: failed program was:" >&5
4226 sed 's/^/| /' conftest.$ac_ext >&5
4228 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4229 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4230 as_fn_error $? "cannot compute suffix of object files: cannot compile
4231 See \`config.log' for more details" "$LINENO" 5; }
4233 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4236 $as_echo "$ac_cv_objext" >&6; }
4237 OBJEXT=$ac_cv_objext
4238 ac_objext=$OBJEXT
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4240 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4241 if ${ac_cv_c_compiler_gnu+:} false; then :
4242 $as_echo_n "(cached) " >&6
4243 else
4244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4245 /* end confdefs.h. */
4248 main ()
4250 #ifndef __GNUC__
4251 choke me
4252 #endif
4255 return 0;
4257 _ACEOF
4258 if ac_fn_c_try_compile "$LINENO"; then :
4259 ac_compiler_gnu=yes
4260 else
4261 ac_compiler_gnu=no
4263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4264 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4268 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4269 if test $ac_compiler_gnu = yes; then
4270 GCC=yes
4271 else
4272 GCC=
4274 ac_test_CFLAGS=${CFLAGS+set}
4275 ac_save_CFLAGS=$CFLAGS
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4277 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4278 if ${ac_cv_prog_cc_g+:} false; then :
4279 $as_echo_n "(cached) " >&6
4280 else
4281 ac_save_c_werror_flag=$ac_c_werror_flag
4282 ac_c_werror_flag=yes
4283 ac_cv_prog_cc_g=no
4284 CFLAGS="-g"
4285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4286 /* end confdefs.h. */
4289 main ()
4293 return 0;
4295 _ACEOF
4296 if ac_fn_c_try_compile "$LINENO"; then :
4297 ac_cv_prog_cc_g=yes
4298 else
4299 CFLAGS=""
4300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4301 /* end confdefs.h. */
4304 main ()
4308 return 0;
4310 _ACEOF
4311 if ac_fn_c_try_compile "$LINENO"; then :
4313 else
4314 ac_c_werror_flag=$ac_save_c_werror_flag
4315 CFLAGS="-g"
4316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4317 /* end confdefs.h. */
4320 main ()
4324 return 0;
4326 _ACEOF
4327 if ac_fn_c_try_compile "$LINENO"; then :
4328 ac_cv_prog_cc_g=yes
4330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4335 ac_c_werror_flag=$ac_save_c_werror_flag
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4338 $as_echo "$ac_cv_prog_cc_g" >&6; }
4339 if test "$ac_test_CFLAGS" = set; then
4340 CFLAGS=$ac_save_CFLAGS
4341 elif test $ac_cv_prog_cc_g = yes; then
4342 if test "$GCC" = yes; then
4343 CFLAGS="-g -O2"
4344 else
4345 CFLAGS="-g"
4347 else
4348 if test "$GCC" = yes; then
4349 CFLAGS="-O2"
4350 else
4351 CFLAGS=
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4355 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4356 if ${ac_cv_prog_cc_c89+:} false; then :
4357 $as_echo_n "(cached) " >&6
4358 else
4359 ac_cv_prog_cc_c89=no
4360 ac_save_CC=$CC
4361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4362 /* end confdefs.h. */
4363 #include <stdarg.h>
4364 #include <stdio.h>
4365 struct stat;
4366 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4367 struct buf { int x; };
4368 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4369 static char *e (p, i)
4370 char **p;
4371 int i;
4373 return p[i];
4375 static char *f (char * (*g) (char **, int), char **p, ...)
4377 char *s;
4378 va_list v;
4379 va_start (v,p);
4380 s = g (p, va_arg (v,int));
4381 va_end (v);
4382 return s;
4385 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4386 function prototypes and stuff, but not '\xHH' hex character constants.
4387 These don't provoke an error unfortunately, instead are silently treated
4388 as 'x'. The following induces an error, until -std is added to get
4389 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4390 array size at least. It's necessary to write '\x00'==0 to get something
4391 that's true only with -std. */
4392 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4394 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4395 inside strings and character constants. */
4396 #define FOO(x) 'x'
4397 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4399 int test (int i, double x);
4400 struct s1 {int (*f) (int a);};
4401 struct s2 {int (*f) (double a);};
4402 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4403 int argc;
4404 char **argv;
4406 main ()
4408 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4410 return 0;
4412 _ACEOF
4413 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4414 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4416 CC="$ac_save_CC $ac_arg"
4417 if ac_fn_c_try_compile "$LINENO"; then :
4418 ac_cv_prog_cc_c89=$ac_arg
4420 rm -f core conftest.err conftest.$ac_objext
4421 test "x$ac_cv_prog_cc_c89" != "xno" && break
4422 done
4423 rm -f conftest.$ac_ext
4424 CC=$ac_save_CC
4427 # AC_CACHE_VAL
4428 case "x$ac_cv_prog_cc_c89" in
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4431 $as_echo "none needed" >&6; } ;;
4432 xno)
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4434 $as_echo "unsupported" >&6; } ;;
4436 CC="$CC $ac_cv_prog_cc_c89"
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4438 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4439 esac
4440 if test "x$ac_cv_prog_cc_c89" != xno; then :
4444 ac_ext=c
4445 ac_cpp='$CPP $CPPFLAGS'
4446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4450 ac_ext=cpp
4451 ac_cpp='$CXXCPP $CPPFLAGS'
4452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4455 if test -z "$CXX"; then
4456 if test -n "$CCC"; then
4457 CXX=$CCC
4458 else
4459 if test -n "$ac_tool_prefix"; then
4460 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4462 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4463 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4465 $as_echo_n "checking for $ac_word... " >&6; }
4466 if ${ac_cv_prog_CXX+:} false; then :
4467 $as_echo_n "(cached) " >&6
4468 else
4469 if test -n "$CXX"; then
4470 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4471 else
4472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4473 for as_dir in $PATH
4475 IFS=$as_save_IFS
4476 test -z "$as_dir" && as_dir=.
4477 for ac_exec_ext in '' $ac_executable_extensions; do
4478 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4479 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4481 break 2
4483 done
4484 done
4485 IFS=$as_save_IFS
4489 CXX=$ac_cv_prog_CXX
4490 if test -n "$CXX"; then
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4492 $as_echo "$CXX" >&6; }
4493 else
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4495 $as_echo "no" >&6; }
4499 test -n "$CXX" && break
4500 done
4502 if test -z "$CXX"; then
4503 ac_ct_CXX=$CXX
4504 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4506 # Extract the first word of "$ac_prog", so it can be a program name with args.
4507 set dummy $ac_prog; ac_word=$2
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4509 $as_echo_n "checking for $ac_word... " >&6; }
4510 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4511 $as_echo_n "(cached) " >&6
4512 else
4513 if test -n "$ac_ct_CXX"; then
4514 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4515 else
4516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4517 for as_dir in $PATH
4519 IFS=$as_save_IFS
4520 test -z "$as_dir" && as_dir=.
4521 for ac_exec_ext in '' $ac_executable_extensions; do
4522 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4523 ac_cv_prog_ac_ct_CXX="$ac_prog"
4524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4525 break 2
4527 done
4528 done
4529 IFS=$as_save_IFS
4533 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4534 if test -n "$ac_ct_CXX"; then
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4536 $as_echo "$ac_ct_CXX" >&6; }
4537 else
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4539 $as_echo "no" >&6; }
4543 test -n "$ac_ct_CXX" && break
4544 done
4546 if test "x$ac_ct_CXX" = x; then
4547 CXX="g++"
4548 else
4549 case $cross_compiling:$ac_tool_warned in
4550 yes:)
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4552 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4553 ac_tool_warned=yes ;;
4554 esac
4555 CXX=$ac_ct_CXX
4561 # Provide some information about the compiler.
4562 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4563 set X $ac_compile
4564 ac_compiler=$2
4565 for ac_option in --version -v -V -qversion; do
4566 { { ac_try="$ac_compiler $ac_option >&5"
4567 case "(($ac_try" in
4568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4569 *) ac_try_echo=$ac_try;;
4570 esac
4571 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4572 $as_echo "$ac_try_echo"; } >&5
4573 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4574 ac_status=$?
4575 if test -s conftest.err; then
4576 sed '10a\
4577 ... rest of stderr output deleted ...
4578 10q' conftest.err >conftest.er1
4579 cat conftest.er1 >&5
4581 rm -f conftest.er1 conftest.err
4582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4583 test $ac_status = 0; }
4584 done
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4587 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4588 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4589 $as_echo_n "(cached) " >&6
4590 else
4591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4592 /* end confdefs.h. */
4595 main ()
4597 #ifndef __GNUC__
4598 choke me
4599 #endif
4602 return 0;
4604 _ACEOF
4605 if ac_fn_cxx_try_compile "$LINENO"; then :
4606 ac_compiler_gnu=yes
4607 else
4608 ac_compiler_gnu=no
4610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4611 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4615 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4616 if test $ac_compiler_gnu = yes; then
4617 GXX=yes
4618 else
4619 GXX=
4621 ac_test_CXXFLAGS=${CXXFLAGS+set}
4622 ac_save_CXXFLAGS=$CXXFLAGS
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4624 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4625 if ${ac_cv_prog_cxx_g+:} false; then :
4626 $as_echo_n "(cached) " >&6
4627 else
4628 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4629 ac_cxx_werror_flag=yes
4630 ac_cv_prog_cxx_g=no
4631 CXXFLAGS="-g"
4632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4633 /* end confdefs.h. */
4636 main ()
4640 return 0;
4642 _ACEOF
4643 if ac_fn_cxx_try_compile "$LINENO"; then :
4644 ac_cv_prog_cxx_g=yes
4645 else
4646 CXXFLAGS=""
4647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4648 /* end confdefs.h. */
4651 main ()
4655 return 0;
4657 _ACEOF
4658 if ac_fn_cxx_try_compile "$LINENO"; then :
4660 else
4661 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4662 CXXFLAGS="-g"
4663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4664 /* end confdefs.h. */
4667 main ()
4671 return 0;
4673 _ACEOF
4674 if ac_fn_cxx_try_compile "$LINENO"; then :
4675 ac_cv_prog_cxx_g=yes
4677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4682 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4685 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4686 if test "$ac_test_CXXFLAGS" = set; then
4687 CXXFLAGS=$ac_save_CXXFLAGS
4688 elif test $ac_cv_prog_cxx_g = yes; then
4689 if test "$GXX" = yes; then
4690 CXXFLAGS="-g -O2"
4691 else
4692 CXXFLAGS="-g"
4694 else
4695 if test "$GXX" = yes; then
4696 CXXFLAGS="-O2"
4697 else
4698 CXXFLAGS=
4701 ac_ext=c
4702 ac_cpp='$CPP $CPPFLAGS'
4703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4707 if test -n "$ac_tool_prefix"; then
4708 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4709 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4711 $as_echo_n "checking for $ac_word... " >&6; }
4712 if ${ac_cv_prog_CPPBIN+:} false; then :
4713 $as_echo_n "(cached) " >&6
4714 else
4715 if test -n "$CPPBIN"; then
4716 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4717 else
4718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4719 for as_dir in $PATH
4721 IFS=$as_save_IFS
4722 test -z "$as_dir" && as_dir=.
4723 for ac_exec_ext in '' $ac_executable_extensions; do
4724 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4725 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4727 break 2
4729 done
4730 done
4731 IFS=$as_save_IFS
4735 CPPBIN=$ac_cv_prog_CPPBIN
4736 if test -n "$CPPBIN"; then
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4738 $as_echo "$CPPBIN" >&6; }
4739 else
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4741 $as_echo "no" >&6; }
4746 if test -z "$ac_cv_prog_CPPBIN"; then
4747 ac_ct_CPPBIN=$CPPBIN
4748 # Extract the first word of "cpp", so it can be a program name with args.
4749 set dummy cpp; ac_word=$2
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4751 $as_echo_n "checking for $ac_word... " >&6; }
4752 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4753 $as_echo_n "(cached) " >&6
4754 else
4755 if test -n "$ac_ct_CPPBIN"; then
4756 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4757 else
4758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4759 for as_dir in $PATH
4761 IFS=$as_save_IFS
4762 test -z "$as_dir" && as_dir=.
4763 for ac_exec_ext in '' $ac_executable_extensions; do
4764 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4765 ac_cv_prog_ac_ct_CPPBIN="cpp"
4766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4767 break 2
4769 done
4770 done
4771 IFS=$as_save_IFS
4775 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4776 if test -n "$ac_ct_CPPBIN"; then
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4778 $as_echo "$ac_ct_CPPBIN" >&6; }
4779 else
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4781 $as_echo "no" >&6; }
4784 if test "x$ac_ct_CPPBIN" = x; then
4785 CPPBIN="cpp"
4786 else
4787 case $cross_compiling:$ac_tool_warned in
4788 yes:)
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4790 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4791 ac_tool_warned=yes ;;
4792 esac
4793 CPPBIN=$ac_ct_CPPBIN
4795 else
4796 CPPBIN="$ac_cv_prog_CPPBIN"
4800 cat >>confdefs.h <<_ACEOF
4801 #define EXEEXT "$ac_exeext"
4802 _ACEOF
4804 if test -n "$ac_tool_prefix"; then
4805 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4806 set dummy ${ac_tool_prefix}ld; ac_word=$2
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4808 $as_echo_n "checking for $ac_word... " >&6; }
4809 if ${ac_cv_prog_LD+:} false; then :
4810 $as_echo_n "(cached) " >&6
4811 else
4812 if test -n "$LD"; then
4813 ac_cv_prog_LD="$LD" # Let the user override the test.
4814 else
4815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4816 for as_dir in $PATH
4818 IFS=$as_save_IFS
4819 test -z "$as_dir" && as_dir=.
4820 for ac_exec_ext in '' $ac_executable_extensions; do
4821 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4822 ac_cv_prog_LD="${ac_tool_prefix}ld"
4823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4824 break 2
4826 done
4827 done
4828 IFS=$as_save_IFS
4832 LD=$ac_cv_prog_LD
4833 if test -n "$LD"; then
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4835 $as_echo "$LD" >&6; }
4836 else
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4838 $as_echo "no" >&6; }
4843 if test -z "$ac_cv_prog_LD"; then
4844 ac_ct_LD=$LD
4845 # Extract the first word of "ld", so it can be a program name with args.
4846 set dummy ld; ac_word=$2
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4848 $as_echo_n "checking for $ac_word... " >&6; }
4849 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4850 $as_echo_n "(cached) " >&6
4851 else
4852 if test -n "$ac_ct_LD"; then
4853 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4854 else
4855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4856 for as_dir in $PATH
4858 IFS=$as_save_IFS
4859 test -z "$as_dir" && as_dir=.
4860 for ac_exec_ext in '' $ac_executable_extensions; do
4861 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4862 ac_cv_prog_ac_ct_LD="ld"
4863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4864 break 2
4866 done
4867 done
4868 IFS=$as_save_IFS
4872 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4873 if test -n "$ac_ct_LD"; then
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4875 $as_echo "$ac_ct_LD" >&6; }
4876 else
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4878 $as_echo "no" >&6; }
4881 if test "x$ac_ct_LD" = x; then
4882 LD=""
4883 else
4884 case $cross_compiling:$ac_tool_warned in
4885 yes:)
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4887 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4888 ac_tool_warned=yes ;;
4889 esac
4890 LD=$ac_ct_LD
4892 else
4893 LD="$ac_cv_prog_LD"
4897 case $host in
4898 *-darwin*)
4899 if test "x$enable_win64" = "xyes"
4900 then
4901 CC="$CC -m64"
4902 CXX="$CXX -m64"
4903 host_cpu="x86_64"
4904 notice_platform="64-bit "
4905 TARGETFLAGS="-m64"
4907 else
4908 CC="$CC -m32"
4909 CXX="$CXX -m32"
4910 host_cpu="i386"
4911 notice_platform="32-bit "
4912 TARGETFLAGS="-m32"
4914 enable_win16=${enable_win16:-yes}
4916 with_fontconfig=${with_fontconfig:-no}
4918 x86_64*|amd64*)
4919 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4920 then
4921 CC="$CC -m32"
4922 CXX="$CXX -m32"
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4924 $as_echo_n "checking whether $CC works... " >&6; }
4926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4927 /* end confdefs.h. */
4930 main ()
4934 return 0;
4936 _ACEOF
4937 if ac_fn_c_try_link "$LINENO"; then :
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4939 $as_echo "yes" >&6; }
4940 else
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4942 $as_echo "no" >&6; }
4943 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4945 rm -f core conftest.err conftest.$ac_objext \
4946 conftest$ac_exeext conftest.$ac_ext
4947 host_cpu="i386"
4948 notice_platform="32-bit "
4949 TARGETFLAGS="-m32"
4951 enable_win16=${enable_win16:-yes}
4952 else
4953 if test "x${GCC}" = "xyes"
4954 then
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4956 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4958 /* end confdefs.h. */
4959 #include <stdarg.h>
4961 main ()
4963 void func(__builtin_ms_va_list *args);
4965 return 0;
4967 _ACEOF
4968 if ac_fn_c_try_compile "$LINENO"; then :
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4970 $as_echo "yes" >&6; }
4971 else
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4973 $as_echo "no" >&6; }
4974 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4978 host_cpu="x86_64"
4979 TARGETFLAGS="-m64"
4983 arm*)
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4985 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4987 /* end confdefs.h. */
4988 int ac_test(int i) { return i; }
4990 main ()
4992 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4994 return 0;
4996 _ACEOF
4997 if ac_fn_c_try_link "$LINENO"; then :
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4999 $as_echo "yes" >&6; }
5000 else
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5002 $as_echo "no" >&6; }
5003 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5005 rm -f core conftest.err conftest.$ac_objext \
5006 conftest$ac_exeext conftest.$ac_ext
5007 CFLAGS="$CFLAGS -marm"
5008 TARGETFLAGS="-marm"
5011 *-mingw32*|*-cygwin*)
5012 enable_win16=${enable_win16:-no}
5013 CFLAGS="$CFLAGS -D_WIN32"
5015 i[3456789]86*)
5016 enable_win16=${enable_win16:-yes}
5018 esac
5020 enable_win16=${enable_win16:-no}
5021 enable_win64=${enable_win64:-no}
5023 enable_winetest=${enable_winetest:-$enable_tests}
5025 if test -n "$with_wine64"
5026 then
5027 if test "x$enable_win64" = "xyes"
5028 then
5029 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5030 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5032 enable_fonts=${enable_fonts:-no}
5033 enable_server=${enable_server:-no}
5034 elif test "x$enable_win64" = "xyes"
5035 then
5036 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5040 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5041 if ${wine_cv_toolsdir+:} false; then :
5042 $as_echo_n "(cached) " >&6
5043 else
5044 wine_cv_toolsdir="$with_wine_tools"
5045 if test -z "$with_wine_tools"; then
5046 if test "$cross_compiling" = "yes"; then
5047 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5048 elif test -n "$with_wine64"; then
5049 wine_cv_toolsdir="$with_wine64"
5052 if test -z "$wine_cv_toolsdir"; then
5053 wine_makedep=tools/makedep
5054 wine_cv_toolsdir="\$(top_builddir)"
5055 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5056 wine_makedep=$wine_cv_toolsdir/tools/makedep
5057 case "$wine_cv_toolsdir" in
5058 /*) ;;
5059 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5060 esac
5061 enable_tools=${enable_tools:-no}
5062 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5063 else
5064 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5068 $as_echo "$wine_cv_toolsdir" >&6; }
5069 TOOLSDIR=$wine_cv_toolsdir
5071 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5072 then
5073 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5077 for ac_prog in flex
5079 # Extract the first word of "$ac_prog", so it can be a program name with args.
5080 set dummy $ac_prog; ac_word=$2
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5082 $as_echo_n "checking for $ac_word... " >&6; }
5083 if ${ac_cv_prog_FLEX+:} false; then :
5084 $as_echo_n "(cached) " >&6
5085 else
5086 if test -n "$FLEX"; then
5087 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5088 else
5089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5090 for as_dir in $PATH
5092 IFS=$as_save_IFS
5093 test -z "$as_dir" && as_dir=.
5094 for ac_exec_ext in '' $ac_executable_extensions; do
5095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5096 ac_cv_prog_FLEX="$ac_prog"
5097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5098 break 2
5100 done
5101 done
5102 IFS=$as_save_IFS
5106 FLEX=$ac_cv_prog_FLEX
5107 if test -n "$FLEX"; then
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5109 $as_echo "$FLEX" >&6; }
5110 else
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5112 $as_echo "no" >&6; }
5116 test -n "$FLEX" && break
5117 done
5118 test -n "$FLEX" || FLEX="none"
5120 if test "$FLEX" = "none"
5121 then
5122 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5125 $as_echo_n "checking whether flex is recent enough... " >&6; }
5126 cat >conftest.l <<EOF
5127 %top{
5128 #include "prediluvian.h"
5132 if $FLEX -t conftest.l >/dev/null 2>&5
5133 then
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5135 $as_echo "yes" >&6; }
5136 else
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5138 $as_echo "no" >&6; }
5139 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5142 for ac_prog in bison
5144 # Extract the first word of "$ac_prog", so it can be a program name with args.
5145 set dummy $ac_prog; ac_word=$2
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5147 $as_echo_n "checking for $ac_word... " >&6; }
5148 if ${ac_cv_prog_BISON+:} false; then :
5149 $as_echo_n "(cached) " >&6
5150 else
5151 if test -n "$BISON"; then
5152 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5153 else
5154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5155 for as_dir in $PATH
5157 IFS=$as_save_IFS
5158 test -z "$as_dir" && as_dir=.
5159 for ac_exec_ext in '' $ac_executable_extensions; do
5160 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5161 ac_cv_prog_BISON="$ac_prog"
5162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5163 break 2
5165 done
5166 done
5167 IFS=$as_save_IFS
5171 BISON=$ac_cv_prog_BISON
5172 if test -n "$BISON"; then
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5174 $as_echo "$BISON" >&6; }
5175 else
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5177 $as_echo "no" >&6; }
5181 test -n "$BISON" && break
5182 done
5183 test -n "$BISON" || BISON="none"
5185 if test "$BISON" = "none"
5186 then
5187 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5190 if test -n "$ac_tool_prefix"; then
5191 for ac_prog in ar gar
5193 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5194 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5196 $as_echo_n "checking for $ac_word... " >&6; }
5197 if ${ac_cv_prog_AR+:} false; then :
5198 $as_echo_n "(cached) " >&6
5199 else
5200 if test -n "$AR"; then
5201 ac_cv_prog_AR="$AR" # Let the user override the test.
5202 else
5203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5204 for as_dir in $PATH
5206 IFS=$as_save_IFS
5207 test -z "$as_dir" && as_dir=.
5208 for ac_exec_ext in '' $ac_executable_extensions; do
5209 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5210 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5212 break 2
5214 done
5215 done
5216 IFS=$as_save_IFS
5220 AR=$ac_cv_prog_AR
5221 if test -n "$AR"; then
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5223 $as_echo "$AR" >&6; }
5224 else
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5226 $as_echo "no" >&6; }
5230 test -n "$AR" && break
5231 done
5233 if test -z "$AR"; then
5234 ac_ct_AR=$AR
5235 for ac_prog in ar gar
5237 # Extract the first word of "$ac_prog", so it can be a program name with args.
5238 set dummy $ac_prog; ac_word=$2
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5240 $as_echo_n "checking for $ac_word... " >&6; }
5241 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5242 $as_echo_n "(cached) " >&6
5243 else
5244 if test -n "$ac_ct_AR"; then
5245 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5246 else
5247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5248 for as_dir in $PATH
5250 IFS=$as_save_IFS
5251 test -z "$as_dir" && as_dir=.
5252 for ac_exec_ext in '' $ac_executable_extensions; do
5253 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5254 ac_cv_prog_ac_ct_AR="$ac_prog"
5255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5256 break 2
5258 done
5259 done
5260 IFS=$as_save_IFS
5264 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5265 if test -n "$ac_ct_AR"; then
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5267 $as_echo "$ac_ct_AR" >&6; }
5268 else
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5270 $as_echo "no" >&6; }
5274 test -n "$ac_ct_AR" && break
5275 done
5277 if test "x$ac_ct_AR" = x; then
5278 AR="ar"
5279 else
5280 case $cross_compiling:$ac_tool_warned in
5281 yes:)
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5283 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5284 ac_tool_warned=yes ;;
5285 esac
5286 AR=$ac_ct_AR
5290 if test -n "$ac_tool_prefix"; then
5291 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5292 set dummy ${ac_tool_prefix}strip; ac_word=$2
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5294 $as_echo_n "checking for $ac_word... " >&6; }
5295 if ${ac_cv_prog_STRIP+:} false; then :
5296 $as_echo_n "(cached) " >&6
5297 else
5298 if test -n "$STRIP"; then
5299 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5300 else
5301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5302 for as_dir in $PATH
5304 IFS=$as_save_IFS
5305 test -z "$as_dir" && as_dir=.
5306 for ac_exec_ext in '' $ac_executable_extensions; do
5307 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5308 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5310 break 2
5312 done
5313 done
5314 IFS=$as_save_IFS
5318 STRIP=$ac_cv_prog_STRIP
5319 if test -n "$STRIP"; then
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5321 $as_echo "$STRIP" >&6; }
5322 else
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5324 $as_echo "no" >&6; }
5329 if test -z "$ac_cv_prog_STRIP"; then
5330 ac_ct_STRIP=$STRIP
5331 # Extract the first word of "strip", so it can be a program name with args.
5332 set dummy strip; ac_word=$2
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5334 $as_echo_n "checking for $ac_word... " >&6; }
5335 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5336 $as_echo_n "(cached) " >&6
5337 else
5338 if test -n "$ac_ct_STRIP"; then
5339 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5340 else
5341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5342 for as_dir in $PATH
5344 IFS=$as_save_IFS
5345 test -z "$as_dir" && as_dir=.
5346 for ac_exec_ext in '' $ac_executable_extensions; do
5347 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5348 ac_cv_prog_ac_ct_STRIP="strip"
5349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5350 break 2
5352 done
5353 done
5354 IFS=$as_save_IFS
5358 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5359 if test -n "$ac_ct_STRIP"; then
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5361 $as_echo "$ac_ct_STRIP" >&6; }
5362 else
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5364 $as_echo "no" >&6; }
5367 if test "x$ac_ct_STRIP" = x; then
5368 STRIP="strip"
5369 else
5370 case $cross_compiling:$ac_tool_warned in
5371 yes:)
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5373 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5374 ac_tool_warned=yes ;;
5375 esac
5376 STRIP=$ac_ct_STRIP
5378 else
5379 STRIP="$ac_cv_prog_STRIP"
5382 ARFLAGS=rc
5384 if test -n "$ac_tool_prefix"; then
5385 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5386 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5388 $as_echo_n "checking for $ac_word... " >&6; }
5389 if ${ac_cv_prog_RANLIB+:} false; then :
5390 $as_echo_n "(cached) " >&6
5391 else
5392 if test -n "$RANLIB"; then
5393 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5394 else
5395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5396 for as_dir in $PATH
5398 IFS=$as_save_IFS
5399 test -z "$as_dir" && as_dir=.
5400 for ac_exec_ext in '' $ac_executable_extensions; do
5401 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5402 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5404 break 2
5406 done
5407 done
5408 IFS=$as_save_IFS
5412 RANLIB=$ac_cv_prog_RANLIB
5413 if test -n "$RANLIB"; then
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5415 $as_echo "$RANLIB" >&6; }
5416 else
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5418 $as_echo "no" >&6; }
5423 if test -z "$ac_cv_prog_RANLIB"; then
5424 ac_ct_RANLIB=$RANLIB
5425 # Extract the first word of "ranlib", so it can be a program name with args.
5426 set dummy ranlib; ac_word=$2
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5428 $as_echo_n "checking for $ac_word... " >&6; }
5429 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5430 $as_echo_n "(cached) " >&6
5431 else
5432 if test -n "$ac_ct_RANLIB"; then
5433 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5434 else
5435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5436 for as_dir in $PATH
5438 IFS=$as_save_IFS
5439 test -z "$as_dir" && as_dir=.
5440 for ac_exec_ext in '' $ac_executable_extensions; do
5441 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5442 ac_cv_prog_ac_ct_RANLIB="ranlib"
5443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5444 break 2
5446 done
5447 done
5448 IFS=$as_save_IFS
5452 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5453 if test -n "$ac_ct_RANLIB"; then
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5455 $as_echo "$ac_ct_RANLIB" >&6; }
5456 else
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5458 $as_echo "no" >&6; }
5461 if test "x$ac_ct_RANLIB" = x; then
5462 RANLIB=":"
5463 else
5464 case $cross_compiling:$ac_tool_warned in
5465 yes:)
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5467 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5468 ac_tool_warned=yes ;;
5469 esac
5470 RANLIB=$ac_ct_RANLIB
5472 else
5473 RANLIB="$ac_cv_prog_RANLIB"
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5477 $as_echo_n "checking whether ln -s works... " >&6; }
5478 LN_S=$as_ln_s
5479 if test "$LN_S" = "ln -s"; then
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5481 $as_echo "yes" >&6; }
5482 else
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5484 $as_echo "no, using $LN_S" >&6; }
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5488 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5489 if ${ac_cv_path_GREP+:} false; then :
5490 $as_echo_n "(cached) " >&6
5491 else
5492 if test -z "$GREP"; then
5493 ac_path_GREP_found=false
5494 # Loop through the user's path and test for each of PROGNAME-LIST
5495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5496 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5498 IFS=$as_save_IFS
5499 test -z "$as_dir" && as_dir=.
5500 for ac_prog in grep ggrep; do
5501 for ac_exec_ext in '' $ac_executable_extensions; do
5502 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5503 as_fn_executable_p "$ac_path_GREP" || continue
5504 # Check for GNU ac_path_GREP and select it if it is found.
5505 # Check for GNU $ac_path_GREP
5506 case `"$ac_path_GREP" --version 2>&1` in
5507 *GNU*)
5508 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5510 ac_count=0
5511 $as_echo_n 0123456789 >"conftest.in"
5512 while :
5514 cat "conftest.in" "conftest.in" >"conftest.tmp"
5515 mv "conftest.tmp" "conftest.in"
5516 cp "conftest.in" "conftest.nl"
5517 $as_echo 'GREP' >> "conftest.nl"
5518 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5519 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5520 as_fn_arith $ac_count + 1 && ac_count=$as_val
5521 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5522 # Best one so far, save it but keep looking for a better one
5523 ac_cv_path_GREP="$ac_path_GREP"
5524 ac_path_GREP_max=$ac_count
5526 # 10*(2^10) chars as input seems more than enough
5527 test $ac_count -gt 10 && break
5528 done
5529 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5530 esac
5532 $ac_path_GREP_found && break 3
5533 done
5534 done
5535 done
5536 IFS=$as_save_IFS
5537 if test -z "$ac_cv_path_GREP"; then
5538 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5540 else
5541 ac_cv_path_GREP=$GREP
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5546 $as_echo "$ac_cv_path_GREP" >&6; }
5547 GREP="$ac_cv_path_GREP"
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5551 $as_echo_n "checking for egrep... " >&6; }
5552 if ${ac_cv_path_EGREP+:} false; then :
5553 $as_echo_n "(cached) " >&6
5554 else
5555 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5556 then ac_cv_path_EGREP="$GREP -E"
5557 else
5558 if test -z "$EGREP"; then
5559 ac_path_EGREP_found=false
5560 # Loop through the user's path and test for each of PROGNAME-LIST
5561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5562 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5564 IFS=$as_save_IFS
5565 test -z "$as_dir" && as_dir=.
5566 for ac_prog in egrep; do
5567 for ac_exec_ext in '' $ac_executable_extensions; do
5568 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5569 as_fn_executable_p "$ac_path_EGREP" || continue
5570 # Check for GNU ac_path_EGREP and select it if it is found.
5571 # Check for GNU $ac_path_EGREP
5572 case `"$ac_path_EGREP" --version 2>&1` in
5573 *GNU*)
5574 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5576 ac_count=0
5577 $as_echo_n 0123456789 >"conftest.in"
5578 while :
5580 cat "conftest.in" "conftest.in" >"conftest.tmp"
5581 mv "conftest.tmp" "conftest.in"
5582 cp "conftest.in" "conftest.nl"
5583 $as_echo 'EGREP' >> "conftest.nl"
5584 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5585 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5586 as_fn_arith $ac_count + 1 && ac_count=$as_val
5587 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5588 # Best one so far, save it but keep looking for a better one
5589 ac_cv_path_EGREP="$ac_path_EGREP"
5590 ac_path_EGREP_max=$ac_count
5592 # 10*(2^10) chars as input seems more than enough
5593 test $ac_count -gt 10 && break
5594 done
5595 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5596 esac
5598 $ac_path_EGREP_found && break 3
5599 done
5600 done
5601 done
5602 IFS=$as_save_IFS
5603 if test -z "$ac_cv_path_EGREP"; then
5604 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5606 else
5607 ac_cv_path_EGREP=$EGREP
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5613 $as_echo "$ac_cv_path_EGREP" >&6; }
5614 EGREP="$ac_cv_path_EGREP"
5617 # Extract the first word of "ldconfig", so it can be a program name with args.
5618 set dummy ldconfig; ac_word=$2
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5620 $as_echo_n "checking for $ac_word... " >&6; }
5621 if ${ac_cv_path_LDCONFIG+:} false; then :
5622 $as_echo_n "(cached) " >&6
5623 else
5624 case $LDCONFIG in
5625 [\\/]* | ?:[\\/]*)
5626 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5630 for as_dir in /sbin /usr/sbin $PATH
5632 IFS=$as_save_IFS
5633 test -z "$as_dir" && as_dir=.
5634 for ac_exec_ext in '' $ac_executable_extensions; do
5635 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5636 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5638 break 2
5640 done
5641 done
5642 IFS=$as_save_IFS
5644 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5646 esac
5648 LDCONFIG=$ac_cv_path_LDCONFIG
5649 if test -n "$LDCONFIG"; then
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5651 $as_echo "$LDCONFIG" >&6; }
5652 else
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5654 $as_echo "no" >&6; }
5658 for ac_prog in msgfmt
5660 # Extract the first word of "$ac_prog", so it can be a program name with args.
5661 set dummy $ac_prog; ac_word=$2
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5663 $as_echo_n "checking for $ac_word... " >&6; }
5664 if ${ac_cv_prog_MSGFMT+:} false; then :
5665 $as_echo_n "(cached) " >&6
5666 else
5667 if test -n "$MSGFMT"; then
5668 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5669 else
5670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5671 for as_dir in $PATH
5673 IFS=$as_save_IFS
5674 test -z "$as_dir" && as_dir=.
5675 for ac_exec_ext in '' $ac_executable_extensions; do
5676 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5677 ac_cv_prog_MSGFMT="$ac_prog"
5678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5679 break 2
5681 done
5682 done
5683 IFS=$as_save_IFS
5687 MSGFMT=$ac_cv_prog_MSGFMT
5688 if test -n "$MSGFMT"; then
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5690 $as_echo "$MSGFMT" >&6; }
5691 else
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5693 $as_echo "no" >&6; }
5697 test -n "$MSGFMT" && break
5698 done
5699 test -n "$MSGFMT" || MSGFMT="false"
5701 if ${ac_tool_prefix+:} false; then :
5702 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5703 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5705 $as_echo_n "checking for $ac_word... " >&6; }
5706 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5707 $as_echo_n "(cached) " >&6
5708 else
5709 if test -n "$PKG_CONFIG"; then
5710 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5711 else
5712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5713 for as_dir in $PATH
5715 IFS=$as_save_IFS
5716 test -z "$as_dir" && as_dir=.
5717 for ac_exec_ext in '' $ac_executable_extensions; do
5718 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5719 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5721 break 2
5723 done
5724 done
5725 IFS=$as_save_IFS
5729 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5730 if test -n "$PKG_CONFIG"; then
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5732 $as_echo "$PKG_CONFIG" >&6; }
5733 else
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5735 $as_echo "no" >&6; }
5740 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5741 if test "x$cross_compiling" = xyes; then :
5743 else
5744 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5745 # Extract the first word of "pkg-config", so it can be a program name with args.
5746 set dummy pkg-config; ac_word=$2
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5748 $as_echo_n "checking for $ac_word... " >&6; }
5749 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5750 $as_echo_n "(cached) " >&6
5751 else
5752 if test -n "$PKG_CONFIG"; then
5753 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5754 else
5755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5756 for as_dir in $PATH
5758 IFS=$as_save_IFS
5759 test -z "$as_dir" && as_dir=.
5760 for ac_exec_ext in '' $ac_executable_extensions; do
5761 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5762 ac_cv_prog_PKG_CONFIG="pkg-config"
5763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5764 break 2
5766 done
5767 done
5768 IFS=$as_save_IFS
5772 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5773 if test -n "$PKG_CONFIG"; then
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5775 $as_echo "$PKG_CONFIG" >&6; }
5776 else
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5778 $as_echo "no" >&6; }
5783 else
5784 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5787 if test "x$enable_maintainer_mode" != "xyes"
5788 then
5789 FONTFORGE=""
5790 RSVG=""
5791 CONVERT=""
5792 ICOTOOL=""
5793 else
5794 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5795 for ac_prog in fontforge
5797 # Extract the first word of "$ac_prog", so it can be a program name with args.
5798 set dummy $ac_prog; ac_word=$2
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5800 $as_echo_n "checking for $ac_word... " >&6; }
5801 if ${ac_cv_prog_FONTFORGE+:} false; then :
5802 $as_echo_n "(cached) " >&6
5803 else
5804 if test -n "$FONTFORGE"; then
5805 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5806 else
5807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5808 for as_dir in $PATH
5810 IFS=$as_save_IFS
5811 test -z "$as_dir" && as_dir=.
5812 for ac_exec_ext in '' $ac_executable_extensions; do
5813 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5814 ac_cv_prog_FONTFORGE="$ac_prog"
5815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5816 break 2
5818 done
5819 done
5820 IFS=$as_save_IFS
5824 FONTFORGE=$ac_cv_prog_FONTFORGE
5825 if test -n "$FONTFORGE"; then
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5827 $as_echo "$FONTFORGE" >&6; }
5828 else
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5830 $as_echo "no" >&6; }
5834 test -n "$FONTFORGE" && break
5835 done
5836 test -n "$FONTFORGE" || FONTFORGE="false"
5838 for ac_prog in rsvg-convert rsvg
5840 # Extract the first word of "$ac_prog", so it can be a program name with args.
5841 set dummy $ac_prog; ac_word=$2
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5843 $as_echo_n "checking for $ac_word... " >&6; }
5844 if ${ac_cv_prog_RSVG+:} false; then :
5845 $as_echo_n "(cached) " >&6
5846 else
5847 if test -n "$RSVG"; then
5848 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5849 else
5850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5851 for as_dir in $PATH
5853 IFS=$as_save_IFS
5854 test -z "$as_dir" && as_dir=.
5855 for ac_exec_ext in '' $ac_executable_extensions; do
5856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5857 ac_cv_prog_RSVG="$ac_prog"
5858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5859 break 2
5861 done
5862 done
5863 IFS=$as_save_IFS
5867 RSVG=$ac_cv_prog_RSVG
5868 if test -n "$RSVG"; then
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5870 $as_echo "$RSVG" >&6; }
5871 else
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5873 $as_echo "no" >&6; }
5877 test -n "$RSVG" && break
5878 done
5879 test -n "$RSVG" || RSVG="false"
5881 for ac_prog in convert
5883 # Extract the first word of "$ac_prog", so it can be a program name with args.
5884 set dummy $ac_prog; ac_word=$2
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5886 $as_echo_n "checking for $ac_word... " >&6; }
5887 if ${ac_cv_prog_CONVERT+:} false; then :
5888 $as_echo_n "(cached) " >&6
5889 else
5890 if test -n "$CONVERT"; then
5891 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5892 else
5893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5894 for as_dir in $PATH
5896 IFS=$as_save_IFS
5897 test -z "$as_dir" && as_dir=.
5898 for ac_exec_ext in '' $ac_executable_extensions; do
5899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5900 ac_cv_prog_CONVERT="$ac_prog"
5901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5902 break 2
5904 done
5905 done
5906 IFS=$as_save_IFS
5910 CONVERT=$ac_cv_prog_CONVERT
5911 if test -n "$CONVERT"; then
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5913 $as_echo "$CONVERT" >&6; }
5914 else
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5916 $as_echo "no" >&6; }
5920 test -n "$CONVERT" && break
5921 done
5922 test -n "$CONVERT" || CONVERT="false"
5924 for ac_prog in icotool
5926 # Extract the first word of "$ac_prog", so it can be a program name with args.
5927 set dummy $ac_prog; ac_word=$2
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5929 $as_echo_n "checking for $ac_word... " >&6; }
5930 if ${ac_cv_prog_ICOTOOL+:} false; then :
5931 $as_echo_n "(cached) " >&6
5932 else
5933 if test -n "$ICOTOOL"; then
5934 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5935 else
5936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5937 for as_dir in $PATH
5939 IFS=$as_save_IFS
5940 test -z "$as_dir" && as_dir=.
5941 for ac_exec_ext in '' $ac_executable_extensions; do
5942 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5943 ac_cv_prog_ICOTOOL="$ac_prog"
5944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5945 break 2
5947 done
5948 done
5949 IFS=$as_save_IFS
5953 ICOTOOL=$ac_cv_prog_ICOTOOL
5954 if test -n "$ICOTOOL"; then
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5956 $as_echo "$ICOTOOL" >&6; }
5957 else
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5959 $as_echo "no" >&6; }
5963 test -n "$ICOTOOL" && break
5964 done
5965 test -n "$ICOTOOL" || ICOTOOL="false"
5967 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5968 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5970 if test "$CONVERT" = false
5971 then
5972 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5973 else
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5975 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5976 convert_version=`convert --version | head -n1`
5977 if test "x$convert_version" != "x"
5978 then
5979 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5980 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5981 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5982 then
5983 CONVERT=false
5986 if test "$CONVERT" = false
5987 then
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5989 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5990 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5991 else
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5993 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5997 if test "$ICOTOOL" = false
5998 then
5999 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6000 else
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6002 $as_echo_n "checking for recent enough icotool... " >&6; }
6003 icotool_version=`icotool --version | head -n1`
6004 if test "x$icotool_version" != "x"
6005 then
6006 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6007 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6008 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6009 then
6010 ICOTOOL=false
6011 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6014 if test "$ICOTOOL" = false
6015 then
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6017 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6018 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6019 else
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6021 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6025 with_gettext=yes
6026 with_gettextpo=yes
6027 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6030 test "x$with_gettext" != xno || MSGFMT=false
6031 if test "$MSGFMT" != "false"
6032 then
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6034 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6035 cat >conftest.po <<EOF
6036 # comment
6037 msgctxt "ctxt"
6038 msgid "id"
6039 msgstr "str"
6041 if $MSGFMT -o /dev/null conftest.po 2>&5
6042 then
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6044 $as_echo "yes" >&6; }
6045 else
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6047 $as_echo "no" >&6; }
6048 MSGFMT=false
6051 if test "$MSGFMT" = false; then :
6052 case "x$with_gettext" in
6053 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6054 xno) ;;
6055 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6056 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6057 esac
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6062 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6063 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6064 $as_echo_n "(cached) " >&6
6065 else
6066 ac_check_lib_save_LIBS=$LIBS
6067 LIBS="-li386 $LIBS"
6068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6069 /* end confdefs.h. */
6071 /* Override any GCC internal prototype to avoid an error.
6072 Use char because int might match the return type of a GCC
6073 builtin and then its argument prototype would still apply. */
6074 #ifdef __cplusplus
6075 extern "C"
6076 #endif
6077 char i386_set_ldt ();
6079 main ()
6081 return i386_set_ldt ();
6083 return 0;
6085 _ACEOF
6086 if ac_fn_c_try_link "$LINENO"; then :
6087 ac_cv_lib_i386_i386_set_ldt=yes
6088 else
6089 ac_cv_lib_i386_i386_set_ldt=no
6091 rm -f core conftest.err conftest.$ac_objext \
6092 conftest$ac_exeext conftest.$ac_ext
6093 LIBS=$ac_check_lib_save_LIBS
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6096 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6097 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6098 cat >>confdefs.h <<_ACEOF
6099 #define HAVE_LIBI386 1
6100 _ACEOF
6102 LIBS="-li386 $LIBS"
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6107 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6108 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6109 $as_echo_n "(cached) " >&6
6110 else
6111 ac_check_lib_save_LIBS=$LIBS
6112 LIBS="-lossaudio $LIBS"
6113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6114 /* end confdefs.h. */
6116 /* Override any GCC internal prototype to avoid an error.
6117 Use char because int might match the return type of a GCC
6118 builtin and then its argument prototype would still apply. */
6119 #ifdef __cplusplus
6120 extern "C"
6121 #endif
6122 char _oss_ioctl ();
6124 main ()
6126 return _oss_ioctl ();
6128 return 0;
6130 _ACEOF
6131 if ac_fn_c_try_link "$LINENO"; then :
6132 ac_cv_lib_ossaudio__oss_ioctl=yes
6133 else
6134 ac_cv_lib_ossaudio__oss_ioctl=no
6136 rm -f core conftest.err conftest.$ac_objext \
6137 conftest$ac_exeext conftest.$ac_ext
6138 LIBS=$ac_check_lib_save_LIBS
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6141 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6142 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6143 cat >>confdefs.h <<_ACEOF
6144 #define HAVE_LIBOSSAUDIO 1
6145 _ACEOF
6147 LIBS="-lossaudio $LIBS"
6152 OPENGL_LIBS=""
6156 # Check whether --enable-largefile was given.
6157 if test "${enable_largefile+set}" = set; then :
6158 enableval=$enable_largefile;
6161 if test "$enable_largefile" != no; then
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6164 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6165 if ${ac_cv_sys_largefile_CC+:} false; then :
6166 $as_echo_n "(cached) " >&6
6167 else
6168 ac_cv_sys_largefile_CC=no
6169 if test "$GCC" != yes; then
6170 ac_save_CC=$CC
6171 while :; do
6172 # IRIX 6.2 and later do not support large files by default,
6173 # so use the C compiler's -n32 option if that helps.
6174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6175 /* end confdefs.h. */
6176 #include <sys/types.h>
6177 /* Check that off_t can represent 2**63 - 1 correctly.
6178 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6179 since some C++ compilers masquerading as C compilers
6180 incorrectly reject 9223372036854775807. */
6181 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6182 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6183 && LARGE_OFF_T % 2147483647 == 1)
6184 ? 1 : -1];
6186 main ()
6190 return 0;
6192 _ACEOF
6193 if ac_fn_c_try_compile "$LINENO"; then :
6194 break
6196 rm -f core conftest.err conftest.$ac_objext
6197 CC="$CC -n32"
6198 if ac_fn_c_try_compile "$LINENO"; then :
6199 ac_cv_sys_largefile_CC=' -n32'; break
6201 rm -f core conftest.err conftest.$ac_objext
6202 break
6203 done
6204 CC=$ac_save_CC
6205 rm -f conftest.$ac_ext
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6209 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6210 if test "$ac_cv_sys_largefile_CC" != no; then
6211 CC=$CC$ac_cv_sys_largefile_CC
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6215 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6216 if ${ac_cv_sys_file_offset_bits+:} false; then :
6217 $as_echo_n "(cached) " >&6
6218 else
6219 while :; do
6220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6221 /* end confdefs.h. */
6222 #include <sys/types.h>
6223 /* Check that off_t can represent 2**63 - 1 correctly.
6224 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6225 since some C++ compilers masquerading as C compilers
6226 incorrectly reject 9223372036854775807. */
6227 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6228 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6229 && LARGE_OFF_T % 2147483647 == 1)
6230 ? 1 : -1];
6232 main ()
6236 return 0;
6238 _ACEOF
6239 if ac_fn_c_try_compile "$LINENO"; then :
6240 ac_cv_sys_file_offset_bits=no; break
6242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6244 /* end confdefs.h. */
6245 #define _FILE_OFFSET_BITS 64
6246 #include <sys/types.h>
6247 /* Check that off_t can represent 2**63 - 1 correctly.
6248 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6249 since some C++ compilers masquerading as C compilers
6250 incorrectly reject 9223372036854775807. */
6251 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6252 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6253 && LARGE_OFF_T % 2147483647 == 1)
6254 ? 1 : -1];
6256 main ()
6260 return 0;
6262 _ACEOF
6263 if ac_fn_c_try_compile "$LINENO"; then :
6264 ac_cv_sys_file_offset_bits=64; break
6266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6267 ac_cv_sys_file_offset_bits=unknown
6268 break
6269 done
6271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6272 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6273 case $ac_cv_sys_file_offset_bits in #(
6274 no | unknown) ;;
6276 cat >>confdefs.h <<_ACEOF
6277 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6278 _ACEOF
6280 esac
6281 rm -rf conftest*
6282 if test $ac_cv_sys_file_offset_bits = unknown; then
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6284 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6285 if ${ac_cv_sys_large_files+:} false; then :
6286 $as_echo_n "(cached) " >&6
6287 else
6288 while :; do
6289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6290 /* end confdefs.h. */
6291 #include <sys/types.h>
6292 /* Check that off_t can represent 2**63 - 1 correctly.
6293 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6294 since some C++ compilers masquerading as C compilers
6295 incorrectly reject 9223372036854775807. */
6296 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6297 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6298 && LARGE_OFF_T % 2147483647 == 1)
6299 ? 1 : -1];
6301 main ()
6305 return 0;
6307 _ACEOF
6308 if ac_fn_c_try_compile "$LINENO"; then :
6309 ac_cv_sys_large_files=no; break
6311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6313 /* end confdefs.h. */
6314 #define _LARGE_FILES 1
6315 #include <sys/types.h>
6316 /* Check that off_t can represent 2**63 - 1 correctly.
6317 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6318 since some C++ compilers masquerading as C compilers
6319 incorrectly reject 9223372036854775807. */
6320 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6321 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6322 && LARGE_OFF_T % 2147483647 == 1)
6323 ? 1 : -1];
6325 main ()
6329 return 0;
6331 _ACEOF
6332 if ac_fn_c_try_compile "$LINENO"; then :
6333 ac_cv_sys_large_files=1; break
6335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6336 ac_cv_sys_large_files=unknown
6337 break
6338 done
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6341 $as_echo "$ac_cv_sys_large_files" >&6; }
6342 case $ac_cv_sys_large_files in #(
6343 no | unknown) ;;
6345 cat >>confdefs.h <<_ACEOF
6346 #define _LARGE_FILES $ac_cv_sys_large_files
6347 _ACEOF
6349 esac
6350 rm -rf conftest*
6357 ac_ext=c
6358 ac_cpp='$CPP $CPPFLAGS'
6359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6363 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6364 # On Suns, sometimes $CPP names a directory.
6365 if test -n "$CPP" && test -d "$CPP"; then
6366 CPP=
6368 if test -z "$CPP"; then
6369 if ${ac_cv_prog_CPP+:} false; then :
6370 $as_echo_n "(cached) " >&6
6371 else
6372 # Double quotes because CPP needs to be expanded
6373 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6375 ac_preproc_ok=false
6376 for ac_c_preproc_warn_flag in '' yes
6378 # Use a header file that comes with gcc, so configuring glibc
6379 # with a fresh cross-compiler works.
6380 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6381 # <limits.h> exists even on freestanding compilers.
6382 # On the NeXT, cc -E runs the code through the compiler's parser,
6383 # not just through cpp. "Syntax error" is here to catch this case.
6384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6385 /* end confdefs.h. */
6386 #ifdef __STDC__
6387 # include <limits.h>
6388 #else
6389 # include <assert.h>
6390 #endif
6391 Syntax error
6392 _ACEOF
6393 if ac_fn_c_try_cpp "$LINENO"; then :
6395 else
6396 # Broken: fails on valid input.
6397 continue
6399 rm -f conftest.err conftest.i conftest.$ac_ext
6401 # OK, works on sane cases. Now check whether nonexistent headers
6402 # can be detected and how.
6403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6404 /* end confdefs.h. */
6405 #include <ac_nonexistent.h>
6406 _ACEOF
6407 if ac_fn_c_try_cpp "$LINENO"; then :
6408 # Broken: success on invalid input.
6409 continue
6410 else
6411 # Passes both tests.
6412 ac_preproc_ok=:
6413 break
6415 rm -f conftest.err conftest.i conftest.$ac_ext
6417 done
6418 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6419 rm -f conftest.i conftest.err conftest.$ac_ext
6420 if $ac_preproc_ok; then :
6421 break
6424 done
6425 ac_cv_prog_CPP=$CPP
6428 CPP=$ac_cv_prog_CPP
6429 else
6430 ac_cv_prog_CPP=$CPP
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6433 $as_echo "$CPP" >&6; }
6434 ac_preproc_ok=false
6435 for ac_c_preproc_warn_flag in '' yes
6437 # Use a header file that comes with gcc, so configuring glibc
6438 # with a fresh cross-compiler works.
6439 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6440 # <limits.h> exists even on freestanding compilers.
6441 # On the NeXT, cc -E runs the code through the compiler's parser,
6442 # not just through cpp. "Syntax error" is here to catch this case.
6443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6444 /* end confdefs.h. */
6445 #ifdef __STDC__
6446 # include <limits.h>
6447 #else
6448 # include <assert.h>
6449 #endif
6450 Syntax error
6451 _ACEOF
6452 if ac_fn_c_try_cpp "$LINENO"; then :
6454 else
6455 # Broken: fails on valid input.
6456 continue
6458 rm -f conftest.err conftest.i conftest.$ac_ext
6460 # OK, works on sane cases. Now check whether nonexistent headers
6461 # can be detected and how.
6462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6463 /* end confdefs.h. */
6464 #include <ac_nonexistent.h>
6465 _ACEOF
6466 if ac_fn_c_try_cpp "$LINENO"; then :
6467 # Broken: success on invalid input.
6468 continue
6469 else
6470 # Passes both tests.
6471 ac_preproc_ok=:
6472 break
6474 rm -f conftest.err conftest.i conftest.$ac_ext
6476 done
6477 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6478 rm -f conftest.i conftest.err conftest.$ac_ext
6479 if $ac_preproc_ok; then :
6481 else
6482 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6483 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6484 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6485 See \`config.log' for more details" "$LINENO" 5; }
6488 ac_ext=c
6489 ac_cpp='$CPP $CPPFLAGS'
6490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6496 $as_echo_n "checking for ANSI C header files... " >&6; }
6497 if ${ac_cv_header_stdc+:} false; then :
6498 $as_echo_n "(cached) " >&6
6499 else
6500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6501 /* end confdefs.h. */
6502 #include <stdlib.h>
6503 #include <stdarg.h>
6504 #include <string.h>
6505 #include <float.h>
6508 main ()
6512 return 0;
6514 _ACEOF
6515 if ac_fn_c_try_compile "$LINENO"; then :
6516 ac_cv_header_stdc=yes
6517 else
6518 ac_cv_header_stdc=no
6520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6522 if test $ac_cv_header_stdc = yes; then
6523 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6525 /* end confdefs.h. */
6526 #include <string.h>
6528 _ACEOF
6529 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6530 $EGREP "memchr" >/dev/null 2>&1; then :
6532 else
6533 ac_cv_header_stdc=no
6535 rm -f conftest*
6539 if test $ac_cv_header_stdc = yes; then
6540 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6542 /* end confdefs.h. */
6543 #include <stdlib.h>
6545 _ACEOF
6546 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6547 $EGREP "free" >/dev/null 2>&1; then :
6549 else
6550 ac_cv_header_stdc=no
6552 rm -f conftest*
6556 if test $ac_cv_header_stdc = yes; then
6557 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6558 if test "$cross_compiling" = yes; then :
6560 else
6561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6562 /* end confdefs.h. */
6563 #include <ctype.h>
6564 #include <stdlib.h>
6565 #if ((' ' & 0x0FF) == 0x020)
6566 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6567 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6568 #else
6569 # define ISLOWER(c) \
6570 (('a' <= (c) && (c) <= 'i') \
6571 || ('j' <= (c) && (c) <= 'r') \
6572 || ('s' <= (c) && (c) <= 'z'))
6573 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6574 #endif
6576 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6578 main ()
6580 int i;
6581 for (i = 0; i < 256; i++)
6582 if (XOR (islower (i), ISLOWER (i))
6583 || toupper (i) != TOUPPER (i))
6584 return 2;
6585 return 0;
6587 _ACEOF
6588 if ac_fn_c_try_run "$LINENO"; then :
6590 else
6591 ac_cv_header_stdc=no
6593 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6594 conftest.$ac_objext conftest.beam conftest.$ac_ext
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6600 $as_echo "$ac_cv_header_stdc" >&6; }
6601 if test $ac_cv_header_stdc = yes; then
6603 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6607 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6608 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6609 inttypes.h stdint.h unistd.h
6610 do :
6611 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6612 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6614 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6615 cat >>confdefs.h <<_ACEOF
6616 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6617 _ACEOF
6621 done
6624 for ac_header in \
6625 AL/al.h \
6626 ApplicationServices/ApplicationServices.h \
6627 AudioToolbox/AudioConverter.h \
6628 AudioUnit/AudioUnit.h \
6629 AudioUnit/AudioComponent.h \
6630 CL/cl.h \
6631 Carbon/Carbon.h \
6632 CoreAudio/CoreAudio.h \
6633 CoreServices/CoreServices.h \
6634 DiskArbitration/DiskArbitration.h \
6635 IOKit/IOKitLib.h \
6636 IOKit/hid/IOHIDLib.h \
6637 OpenAL/al.h \
6638 OpenCL/opencl.h \
6639 QuickTime/ImageCompression.h \
6640 Security/Security.h \
6641 alias.h \
6642 alsa/asoundlib.h \
6643 arpa/inet.h \
6644 arpa/nameser.h \
6645 asm/types.h \
6646 asm/user.h \
6647 curses.h \
6648 direct.h \
6649 dirent.h \
6650 dlfcn.h \
6651 elf.h \
6652 float.h \
6653 fnmatch.h \
6654 getopt.h \
6655 gettext-po.h \
6656 grp.h \
6657 gsm.h \
6658 gsm/gsm.h \
6659 ieeefp.h \
6660 inet/mib2.h \
6661 io.h \
6662 kstat.h \
6663 lber.h \
6664 ldap.h \
6665 libproc.h \
6666 link.h \
6667 linux/cdrom.h \
6668 linux/compiler.h \
6669 linux/filter.h \
6670 linux/hdreg.h \
6671 linux/input.h \
6672 linux/ioctl.h \
6673 linux/joystick.h \
6674 linux/major.h \
6675 linux/param.h \
6676 linux/serial.h \
6677 linux/types.h \
6678 linux/ucdrom.h \
6679 lwp.h \
6680 mach-o/nlist.h \
6681 mach-o/loader.h \
6682 mach/mach.h \
6683 mach/machine.h \
6684 machine/cpu.h \
6685 machine/limits.h \
6686 machine/sysarch.h \
6687 mntent.h \
6688 ncurses.h \
6689 netdb.h \
6690 netinet/in.h \
6691 netinet/in_systm.h \
6692 netinet/tcp.h \
6693 netinet/tcp_fsm.h \
6694 pcap/pcap.h \
6695 poll.h \
6696 port.h \
6697 process.h \
6698 pthread.h \
6699 pwd.h \
6700 sched.h \
6701 scsi/scsi.h \
6702 scsi/scsi_ioctl.h \
6703 scsi/sg.h \
6704 stdbool.h \
6705 stdint.h \
6706 stropts.h \
6707 sys/asoundlib.h \
6708 sys/attr.h \
6709 sys/cdio.h \
6710 sys/elf32.h \
6711 sys/epoll.h \
6712 sys/event.h \
6713 sys/exec_elf.h \
6714 sys/filio.h \
6715 sys/inotify.h \
6716 sys/ioctl.h \
6717 sys/ipc.h \
6718 sys/limits.h \
6719 sys/link.h \
6720 sys/mman.h \
6721 sys/modem.h \
6722 sys/msg.h \
6723 sys/mtio.h \
6724 sys/param.h \
6725 sys/poll.h \
6726 sys/prctl.h \
6727 sys/protosw.h \
6728 sys/ptrace.h \
6729 sys/queue.h \
6730 sys/resource.h \
6731 sys/scsiio.h \
6732 sys/shm.h \
6733 sys/signal.h \
6734 sys/socket.h \
6735 sys/socketvar.h \
6736 sys/sockio.h \
6737 sys/statvfs.h \
6738 sys/strtio.h \
6739 sys/syscall.h \
6740 sys/tihdr.h \
6741 sys/time.h \
6742 sys/timeout.h \
6743 sys/times.h \
6744 sys/uio.h \
6745 sys/user.h \
6746 sys/utsname.h \
6747 sys/vm86.h \
6748 sys/vnode.h \
6749 sys/wait.h \
6750 syscall.h \
6751 termios.h \
6752 unistd.h \
6753 utime.h \
6754 valgrind/memcheck.h \
6755 valgrind/valgrind.h \
6756 zlib.h
6758 do :
6759 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6760 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6761 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6762 cat >>confdefs.h <<_ACEOF
6763 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6764 _ACEOF
6768 done
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6771 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6772 if ${ac_cv_header_stat_broken+:} false; then :
6773 $as_echo_n "(cached) " >&6
6774 else
6775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6776 /* end confdefs.h. */
6777 #include <sys/types.h>
6778 #include <sys/stat.h>
6780 #if defined S_ISBLK && defined S_IFDIR
6781 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6782 #endif
6784 #if defined S_ISBLK && defined S_IFCHR
6785 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6786 #endif
6788 #if defined S_ISLNK && defined S_IFREG
6789 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6790 #endif
6792 #if defined S_ISSOCK && defined S_IFREG
6793 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6794 #endif
6796 _ACEOF
6797 if ac_fn_c_try_compile "$LINENO"; then :
6798 ac_cv_header_stat_broken=no
6799 else
6800 ac_cv_header_stat_broken=yes
6802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6805 $as_echo "$ac_cv_header_stat_broken" >&6; }
6806 if test $ac_cv_header_stat_broken = yes; then
6808 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6814 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6815 do :
6816 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6817 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6818 #ifdef HAVE_SYS_PARAM_H
6819 # include <sys/param.h>
6820 #endif
6822 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6823 cat >>confdefs.h <<_ACEOF
6824 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6825 _ACEOF
6829 done
6832 for ac_header in \
6833 netinet/ip.h \
6834 net/if.h \
6835 net/if_arp.h \
6836 net/if_dl.h \
6837 net/if_types.h \
6838 net/route.h \
6839 netinet/if_ether.h \
6840 netinet/if_inarp.h \
6841 netinet/in_pcb.h \
6842 netinet/ip_icmp.h \
6843 netinet/ip_var.h \
6844 netinet/udp.h \
6845 netipx/ipx.h \
6846 sys/un.h \
6848 do :
6849 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6850 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6851 #ifdef HAVE_SYS_SOCKET_H
6852 # include <sys/socket.h>
6853 #endif
6854 #ifdef HAVE_SYS_SOCKETVAR_H
6855 # include <sys/socketvar.h>
6856 #endif
6857 #ifdef HAVE_NET_ROUTE_H
6858 # include <net/route.h>
6859 #endif
6860 #ifdef HAVE_NETINET_IN_H
6861 # include <netinet/in.h>
6862 #endif
6863 #ifdef HAVE_NETINET_IN_SYSTM_H
6864 # include <netinet/in_systm.h>
6865 #endif
6866 #ifdef HAVE_NET_IF_H
6867 # include <net/if.h>
6868 #endif
6869 #ifdef HAVE_NETINET_IP_H
6870 # include <netinet/ip.h>
6871 #endif
6873 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6874 cat >>confdefs.h <<_ACEOF
6875 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6876 _ACEOF
6880 done
6883 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6884 do :
6885 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6886 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6887 #ifdef HAVE_ALIAS_H
6888 # include <alias.h>
6889 #endif
6890 #ifdef HAVE_SYS_SOCKET_H
6891 # include <sys/socket.h>
6892 #endif
6893 #ifdef HAVE_SYS_SOCKETVAR_H
6894 # include <sys/socketvar.h>
6895 #endif
6896 #ifdef HAVE_SYS_TIMEOUT_H
6897 # include <sys/timeout.h>
6898 #endif
6899 #ifdef HAVE_NETINET_IN_H
6900 # include <netinet/in.h>
6901 #endif
6902 #ifdef HAVE_NETINET_IN_SYSTM_H
6903 # include <netinet/in_systm.h>
6904 #endif
6905 #ifdef HAVE_NETINET_IP_H
6906 # include <netinet/ip.h>
6907 #endif
6908 #ifdef HAVE_NETINET_IP_VAR_H
6909 # include <netinet/ip_var.h>
6910 #endif
6911 #ifdef HAVE_NETINET_IP_ICMP_H
6912 # include <netinet/ip_icmp.h>
6913 #endif
6914 #ifdef HAVE_NETINET_UDP_H
6915 # include <netinet/udp.h>
6916 #endif
6917 #ifdef HAVE_NETINET_TCP_H
6918 # include <netinet/tcp.h>
6919 #endif
6920 #ifdef HAVE_NETINET_TCP_TIMER_H
6921 #include <netinet/tcp_timer.h>
6922 #endif
6924 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6925 cat >>confdefs.h <<_ACEOF
6926 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6927 _ACEOF
6931 done
6934 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6935 do :
6936 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6937 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6938 #ifdef HAVE_ASM_TYPES_H
6939 # include <asm/types.h>
6940 #endif
6941 #ifdef HAVE_SYS_SOCKET_H
6942 # include <sys/socket.h>
6943 #endif
6944 #ifdef HAVE_LINUX_TYPES_H
6945 # include <linux/types.h>
6946 #endif
6948 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6949 cat >>confdefs.h <<_ACEOF
6950 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6951 _ACEOF
6955 done
6958 for ac_header in mach-o/dyld_images.h
6959 do :
6960 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6961 # include <stdbool.h>
6962 #endif
6963 #ifdef HAVE_STDINT_H
6964 # include <stdint.h>
6965 #endif
6967 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6968 cat >>confdefs.h <<_ACEOF
6969 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6970 _ACEOF
6974 done
6977 for ac_header in resolv.h
6978 do :
6979 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6980 #ifdef HAVE_SYS_SOCKET_H
6981 # include <sys/socket.h>
6982 #endif
6983 #ifdef HAVE_NETINET_IN_H
6984 # include <netinet/in.h>
6985 #endif
6986 #ifdef HAVE_ARPA_NAMESER_H
6987 # include <arpa/nameser.h>
6988 #endif
6990 if test "x$ac_cv_header_resolv_h" = xyes; then :
6991 cat >>confdefs.h <<_ACEOF
6992 #define HAVE_RESOLV_H 1
6993 _ACEOF
6997 done
7000 for ac_header in ifaddrs.h
7001 do :
7002 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7004 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7005 cat >>confdefs.h <<_ACEOF
7006 #define HAVE_IFADDRS_H 1
7007 _ACEOF
7011 done
7014 for ac_header in sys/ucontext.h
7015 do :
7016 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7018 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7019 cat >>confdefs.h <<_ACEOF
7020 #define HAVE_SYS_UCONTEXT_H 1
7021 _ACEOF
7025 done
7028 for ac_header in sys/thr.h
7029 do :
7030 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7031 #ifdef HAVE_SYS_UCONTEXT_H
7032 #include <sys/ucontext.h>
7033 #endif
7035 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7036 cat >>confdefs.h <<_ACEOF
7037 #define HAVE_SYS_THR_H 1
7038 _ACEOF
7042 done
7045 for ac_header in pthread_np.h
7046 do :
7047 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7048 #include <pthread.h>
7049 #endif
7051 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7052 cat >>confdefs.h <<_ACEOF
7053 #define HAVE_PTHREAD_NP_H 1
7054 _ACEOF
7058 done
7061 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7062 do :
7063 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7064 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7065 #include <sys/time.h>
7066 #endif
7067 #include <sys/types.h>
7068 #ifdef HAVE_ASM_TYPES_H
7069 #include <asm/types.h>
7070 #endif
7072 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7073 cat >>confdefs.h <<_ACEOF
7074 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7075 _ACEOF
7079 done
7082 for ac_header in libprocstat.h
7083 do :
7084 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7085 #include <sys/param.h>
7086 #endif
7087 #ifdef HAVE_SYS_QUEUE_H
7088 #include <sys/queue.h>
7089 #endif
7090 #ifdef HAVE_SYS_SOCKET_H
7091 #include <sys/socket.h>
7092 #endif
7094 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7095 cat >>confdefs.h <<_ACEOF
7096 #define HAVE_LIBPROCSTAT_H 1
7097 _ACEOF
7101 done
7105 dlldir="\${libdir}/wine"
7107 DLLPREFIX=""
7109 DLLFLAGS="-D_REENTRANT"
7111 LDRPATH_INSTALL=""
7113 LDRPATH_LOCAL=""
7115 LIBEXT="so"
7116 DLLEXT=".so"
7117 IMPLIBEXT="def"
7118 STATIC_IMPLIBEXT="def.a"
7119 # Extract the first word of "ldd", so it can be a program name with args.
7120 set dummy ldd; ac_word=$2
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7122 $as_echo_n "checking for $ac_word... " >&6; }
7123 if ${ac_cv_path_LDD+:} false; then :
7124 $as_echo_n "(cached) " >&6
7125 else
7126 case $LDD in
7127 [\\/]* | ?:[\\/]*)
7128 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7132 as_dummy="/sbin:/usr/sbin:$PATH"
7133 for as_dir in $as_dummy
7135 IFS=$as_save_IFS
7136 test -z "$as_dir" && as_dir=.
7137 for ac_exec_ext in '' $ac_executable_extensions; do
7138 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7139 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7141 break 2
7143 done
7144 done
7145 IFS=$as_save_IFS
7147 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7149 esac
7151 LDD=$ac_cv_path_LDD
7152 if test -n "$LDD"; then
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7154 $as_echo "$LDD" >&6; }
7155 else
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7157 $as_echo "no" >&6; }
7161 if test -n "$ac_tool_prefix"; then
7162 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7163 set dummy ${ac_tool_prefix}otool; ac_word=$2
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7165 $as_echo_n "checking for $ac_word... " >&6; }
7166 if ${ac_cv_prog_OTOOL+:} false; then :
7167 $as_echo_n "(cached) " >&6
7168 else
7169 if test -n "$OTOOL"; then
7170 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7171 else
7172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7173 for as_dir in $PATH
7175 IFS=$as_save_IFS
7176 test -z "$as_dir" && as_dir=.
7177 for ac_exec_ext in '' $ac_executable_extensions; do
7178 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7179 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7181 break 2
7183 done
7184 done
7185 IFS=$as_save_IFS
7189 OTOOL=$ac_cv_prog_OTOOL
7190 if test -n "$OTOOL"; then
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7192 $as_echo "$OTOOL" >&6; }
7193 else
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7195 $as_echo "no" >&6; }
7200 if test -z "$ac_cv_prog_OTOOL"; then
7201 ac_ct_OTOOL=$OTOOL
7202 # Extract the first word of "otool", so it can be a program name with args.
7203 set dummy otool; ac_word=$2
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7205 $as_echo_n "checking for $ac_word... " >&6; }
7206 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7207 $as_echo_n "(cached) " >&6
7208 else
7209 if test -n "$ac_ct_OTOOL"; then
7210 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7211 else
7212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7213 for as_dir in $PATH
7215 IFS=$as_save_IFS
7216 test -z "$as_dir" && as_dir=.
7217 for ac_exec_ext in '' $ac_executable_extensions; do
7218 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7219 ac_cv_prog_ac_ct_OTOOL="otool"
7220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7221 break 2
7223 done
7224 done
7225 IFS=$as_save_IFS
7229 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7230 if test -n "$ac_ct_OTOOL"; then
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7232 $as_echo "$ac_ct_OTOOL" >&6; }
7233 else
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7235 $as_echo "no" >&6; }
7238 if test "x$ac_ct_OTOOL" = x; then
7239 OTOOL="otool"
7240 else
7241 case $cross_compiling:$ac_tool_warned in
7242 yes:)
7243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7244 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7245 ac_tool_warned=yes ;;
7246 esac
7247 OTOOL=$ac_ct_OTOOL
7249 else
7250 OTOOL="$ac_cv_prog_OTOOL"
7253 if test -n "$ac_tool_prefix"; then
7254 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7255 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7257 $as_echo_n "checking for $ac_word... " >&6; }
7258 if ${ac_cv_prog_READELF+:} false; then :
7259 $as_echo_n "(cached) " >&6
7260 else
7261 if test -n "$READELF"; then
7262 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7263 else
7264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7265 for as_dir in $PATH
7267 IFS=$as_save_IFS
7268 test -z "$as_dir" && as_dir=.
7269 for ac_exec_ext in '' $ac_executable_extensions; do
7270 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7271 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7273 break 2
7275 done
7276 done
7277 IFS=$as_save_IFS
7281 READELF=$ac_cv_prog_READELF
7282 if test -n "$READELF"; then
7283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7284 $as_echo "$READELF" >&6; }
7285 else
7286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7287 $as_echo "no" >&6; }
7292 if test -z "$ac_cv_prog_READELF"; then
7293 ac_ct_READELF=$READELF
7294 # Extract the first word of "readelf", so it can be a program name with args.
7295 set dummy readelf; ac_word=$2
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7297 $as_echo_n "checking for $ac_word... " >&6; }
7298 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7299 $as_echo_n "(cached) " >&6
7300 else
7301 if test -n "$ac_ct_READELF"; then
7302 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7303 else
7304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7305 for as_dir in $PATH
7307 IFS=$as_save_IFS
7308 test -z "$as_dir" && as_dir=.
7309 for ac_exec_ext in '' $ac_executable_extensions; do
7310 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7311 ac_cv_prog_ac_ct_READELF="readelf"
7312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7313 break 2
7315 done
7316 done
7317 IFS=$as_save_IFS
7321 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7322 if test -n "$ac_ct_READELF"; then
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7324 $as_echo "$ac_ct_READELF" >&6; }
7325 else
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7327 $as_echo "no" >&6; }
7330 if test "x$ac_ct_READELF" = x; then
7331 READELF="true"
7332 else
7333 case $cross_compiling:$ac_tool_warned in
7334 yes:)
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7336 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7337 ac_tool_warned=yes ;;
7338 esac
7339 READELF=$ac_ct_READELF
7341 else
7342 READELF="$ac_cv_prog_READELF"
7345 wine_rules_file=conf$$rules.make
7346 rm -f $wine_rules_file
7347 ALL_POT_FILES=""
7348 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7349 ALL_TEST_RESOURCES=""
7352 wine_fn_append_file ()
7354 as_fn_append $1 " \\$as_nl $2"
7357 wine_fn_ignore_file ()
7359 case "$1" in
7360 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7361 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7362 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7363 esac
7366 wine_fn_append_rule ()
7368 $as_echo "$1" >>$wine_rules_file
7371 wine_fn_has_flag ()
7373 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7376 wine_fn_depend_rules ()
7378 wine_fn_append_rule \
7379 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7380 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7381 depend: $ac_dir/depend
7382 .PHONY: $ac_dir/depend
7383 $ac_dir/depend: \$(MAKEDEP) dummy
7384 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7387 wine_fn_pot_rules ()
7389 test "x$with_gettextpo" = xyes || return
7391 if wine_fn_has_flag mc
7392 then
7393 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7394 wine_fn_append_rule \
7395 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7396 @cd $ac_dir && \$(MAKE) msg.pot
7397 $ac_dir/msg.pot: tools/wmc include"
7399 if wine_fn_has_flag po
7400 then
7401 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7402 wine_fn_append_rule \
7403 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7404 @cd $ac_dir && \$(MAKE) rsrc.pot
7405 $ac_dir/rsrc.pot: tools/wrc include"
7409 wine_fn_all_rules ()
7411 wine_fn_depend_rules
7412 wine_fn_append_rule \
7413 "all: $ac_dir
7414 .PHONY: $ac_dir
7415 $ac_dir: $ac_dir/Makefile dummy
7416 @cd $ac_dir && \$(MAKE)"
7419 wine_fn_install_rules ()
7421 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7423 wine_fn_append_rule \
7424 ".PHONY: $ac_dir/install $ac_dir/uninstall
7425 $ac_dir/install:: $ac_dir
7426 @cd $ac_dir && \$(MAKE) install
7427 $ac_dir/uninstall:: $ac_dir/Makefile
7428 @cd $ac_dir && \$(MAKE) uninstall
7429 install:: $ac_dir/install
7430 __uninstall__: $ac_dir/uninstall"
7432 if wine_fn_has_flag install-lib
7433 then
7434 wine_fn_append_rule \
7435 ".PHONY: $ac_dir/install-lib
7436 $ac_dir/install-lib:: $ac_dir
7437 @cd $ac_dir && \$(MAKE) install-lib
7438 install-lib:: $ac_dir/install-lib"
7441 if wine_fn_has_flag install-dev
7442 then
7443 wine_fn_append_rule \
7444 ".PHONY: $ac_dir/install-dev
7445 $ac_dir/install-dev:: $ac_dir
7446 @cd $ac_dir && \$(MAKE) install-dev
7447 install-dev:: $ac_dir/install-dev"
7451 wine_fn_clean_rules ()
7453 ac_clean=$@
7454 ac_extraclean="$ac_dir/Makefile"
7455 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7456 case $ac_dir in
7457 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7458 esac
7460 if wine_fn_has_flag clean
7461 then
7462 wine_fn_append_rule \
7463 "__clean__: $ac_dir/clean
7464 .PHONY: $ac_dir/clean
7465 $ac_dir/clean: $ac_dir/Makefile
7466 @cd $ac_dir && \$(MAKE) clean
7467 \$(RM) $ac_extraclean"
7468 else
7469 wine_fn_append_rule \
7470 "__clean__: $ac_dir/clean
7471 .PHONY: $ac_dir/clean
7472 $ac_dir/clean: dummy
7473 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7477 wine_fn_disabled_rules ()
7479 ac_clean=$@
7480 ac_extraclean="$ac_dir/Makefile"
7481 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7483 wine_fn_append_rule \
7484 "__clean__: $ac_dir/clean
7485 .PHONY: $ac_dir/clean
7486 $ac_dir/clean: dummy
7487 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7490 wine_fn_config_makefile ()
7492 ac_dir=$1
7493 ac_enable=$2
7494 ac_flags=$3
7496 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7497 wine_fn_disabled_rules; return
7499 wine_fn_all_rules
7500 wine_fn_install_rules
7501 wine_fn_clean_rules
7504 wine_fn_config_lib ()
7506 ac_name=$1
7507 ac_flags=$2
7508 ac_dir=dlls/$ac_name
7509 ac_deps="include"
7511 if test "x$enable_tools" = xno; then :
7513 else
7514 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7516 wine_fn_all_rules
7517 wine_fn_clean_rules
7519 wine_fn_append_rule \
7520 ".PHONY: $ac_dir/install $ac_dir/uninstall
7521 $ac_dir/install:: $ac_dir
7522 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7523 $ac_dir/uninstall::
7524 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7525 install install-dev:: $ac_dir/install
7526 __uninstall__: $ac_dir/uninstall
7527 __builddeps__: $ac_dir
7528 $ac_dir: $ac_deps"
7531 wine_fn_config_dll ()
7533 ac_name=$1
7534 ac_dir=dlls/$ac_name
7535 ac_enable=$2
7536 ac_flags=$3
7537 ac_implib=${4:-$ac_name}
7538 ac_file=$ac_dir/lib$ac_implib
7539 ac_dll=$ac_name
7540 ac_deps="include"
7541 ac_implibflags=""
7543 if test "x$enable_tools" = xno; then :
7545 else
7546 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7548 case $ac_name in
7549 *16) ac_implibflags=" -m16" ;;
7550 *.*) ;;
7551 *) ac_dll=$ac_dll.dll ;;
7552 esac
7554 ac_clean=
7555 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7556 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7557 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7558 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7560 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7561 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7562 then
7563 wine_fn_depend_rules
7564 wine_fn_clean_rules $ac_clean
7565 else
7566 wine_fn_disabled_rules $ac_clean
7567 return
7569 else
7570 wine_fn_all_rules
7571 wine_fn_clean_rules $ac_clean
7572 wine_fn_append_rule \
7573 "$ac_dir: __builddeps__
7574 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7575 @cd $ac_dir && \$(MAKE) \$@
7576 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7577 install install-lib:: $ac_dir/install-lib
7578 __uninstall__: $ac_dir/uninstall"
7579 if test -n "$DLLEXT"
7580 then
7581 wine_fn_append_rule \
7582 "$ac_dir/install-lib:: $ac_dir
7583 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7584 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7585 $ac_dir/uninstall::
7586 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7587 else
7588 wine_fn_append_rule \
7589 "$ac_dir/install-lib:: $ac_dir
7590 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7591 $ac_dir/uninstall::
7592 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7595 wine_fn_pot_rules
7598 if wine_fn_has_flag staticimplib
7599 then
7600 wine_fn_append_rule \
7601 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7602 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7603 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7604 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7605 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7606 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7607 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7608 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7609 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7610 $ac_dir/uninstall::
7611 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7612 install install-dev:: $ac_dir/install-dev
7613 __uninstall__: $ac_dir/uninstall"
7615 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7616 then
7617 wine_fn_append_rule \
7618 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7619 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7620 $ac_dir/uninstall::
7621 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7624 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7625 then
7626 wine_fn_append_rule \
7627 "__builddeps__: $ac_file.cross.a
7628 $ac_file.cross.a: $ac_dir/Makefile dummy
7629 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7632 elif wine_fn_has_flag implib
7633 then
7634 wine_fn_append_rule \
7635 "__builddeps__: $ac_file.$IMPLIBEXT
7636 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7637 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7638 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7639 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7640 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7641 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7642 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7643 $ac_dir/uninstall::
7644 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7645 install install-dev:: $ac_dir/install-dev
7646 __uninstall__: $ac_dir/uninstall"
7647 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7648 then
7649 wine_fn_append_rule \
7650 "__builddeps__: $ac_file.cross.a
7651 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7652 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7655 if test "$ac_name" != "$ac_implib"
7656 then
7657 wine_fn_append_rule \
7658 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7659 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7660 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7661 clean::
7662 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7663 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7664 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7665 then
7666 wine_fn_append_rule \
7667 "__builddeps__: dlls/lib$ac_implib.cross.a
7668 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7669 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7670 clean::
7671 \$(RM) dlls/lib$ac_implib.cross.a"
7672 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7678 wine_fn_config_program ()
7680 ac_name=$1
7681 ac_dir=programs/$ac_name
7682 ac_enable=$2
7683 ac_flags=$3
7684 ac_program=$ac_name
7686 case $ac_name in
7687 *.*) ;;
7688 *) ac_program=$ac_program.exe ;;
7689 esac
7691 ac_clean=
7692 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7693 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7694 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7695 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7697 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7698 wine_fn_disabled_rules $ac_clean; return
7701 wine_fn_all_rules
7702 wine_fn_clean_rules $ac_clean
7703 wine_fn_append_rule "$ac_dir: __builddeps__"
7704 wine_fn_pot_rules
7706 wine_fn_has_flag install || return
7707 wine_fn_append_rule \
7708 ".PHONY: $ac_dir/install $ac_dir/uninstall
7709 install install-lib:: $ac_dir/install
7710 __uninstall__: $ac_dir/uninstall"
7712 if test -n "$DLLEXT"
7713 then
7714 wine_fn_append_rule \
7715 "$ac_dir/install:: $ac_dir
7716 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7717 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7718 $ac_dir/uninstall::
7719 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7721 if test -z "$with_wine64" && wine_fn_has_flag installbin
7722 then
7723 wine_fn_append_rule \
7724 "$ac_dir/install:: __tooldeps__
7725 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7726 $ac_dir/uninstall::
7727 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7729 else
7730 wine_fn_append_rule \
7731 "$ac_dir/install:: $ac_dir
7732 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7733 $ac_dir/uninstall::
7734 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7737 if test -z "$with_wine64" && wine_fn_has_flag manpage
7738 then
7739 wine_fn_append_rule \
7740 "$ac_dir/install:: $ac_dir
7741 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7742 $ac_dir/uninstall::
7743 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7747 wine_fn_config_test ()
7749 ac_dir=$1
7750 ac_name=$2
7751 ac_flags=$3
7753 ac_clean=
7754 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7755 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7757 if test "x$enable_tests" = xno; then :
7758 wine_fn_disabled_rules $ac_clean; return
7761 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7762 wine_fn_all_rules
7763 wine_fn_clean_rules $ac_clean
7765 wine_fn_append_rule \
7766 "$ac_dir: programs/winetest/Makefile __builddeps__
7767 programs/winetest: $ac_dir
7768 check test: $ac_dir/test
7769 .PHONY: $ac_dir/test
7770 $ac_dir/test: dummy
7771 @cd $ac_dir && \$(MAKE) test
7772 testclean::
7773 \$(RM) $ac_dir/*.ok"
7775 if test -n "$CROSSTARGET"
7776 then
7777 wine_fn_append_rule \
7778 "crosstest: $ac_dir/crosstest
7779 .PHONY: $ac_dir/crosstest
7780 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7781 @cd $ac_dir && \$(MAKE) crosstest"
7785 wine_fn_config_tool ()
7787 ac_dir=$1
7788 ac_flags=$2
7789 if test "x$enable_tools" = xno; then :
7790 return
7793 wine_fn_all_rules
7794 wine_fn_install_rules
7795 wine_fn_clean_rules
7797 wine_fn_append_rule "__tooldeps__: $ac_dir"
7798 wine_fn_append_rule "$ac_dir: libs/port"
7799 case $ac_dir in
7800 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7801 esac
7804 wine_fn_config_symlink ()
7806 ac_linkdir=
7807 if test "x$1" = "x-d"
7808 then
7809 ac_linkdir=$2
7810 shift; shift
7812 ac_links=$@
7813 wine_fn_append_rule \
7814 "$ac_links:
7815 @./config.status \$@
7816 distclean::
7817 \$(RM) $ac_links"
7818 for f in $ac_links; do wine_fn_ignore_file $f; done
7819 test -n "$ac_linkdir" || return
7820 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7823 wine_binary="wine"
7824 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7825 loader_programs="$wine_binary wine-installed"
7826 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7828 LOADER_RULES="
7829 all: wine.inf
7831 install install-lib:: wine-installed
7832 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7834 uninstall::
7835 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7839 case $host_os in
7840 cygwin*|mingw32*)
7841 if test -n "$ac_tool_prefix"; then
7842 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7843 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7845 $as_echo_n "checking for $ac_word... " >&6; }
7846 if ${ac_cv_prog_DLLTOOL+:} false; then :
7847 $as_echo_n "(cached) " >&6
7848 else
7849 if test -n "$DLLTOOL"; then
7850 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7851 else
7852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7853 for as_dir in $PATH
7855 IFS=$as_save_IFS
7856 test -z "$as_dir" && as_dir=.
7857 for ac_exec_ext in '' $ac_executable_extensions; do
7858 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7859 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7861 break 2
7863 done
7864 done
7865 IFS=$as_save_IFS
7869 DLLTOOL=$ac_cv_prog_DLLTOOL
7870 if test -n "$DLLTOOL"; then
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7872 $as_echo "$DLLTOOL" >&6; }
7873 else
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7875 $as_echo "no" >&6; }
7880 if test -z "$ac_cv_prog_DLLTOOL"; then
7881 ac_ct_DLLTOOL=$DLLTOOL
7882 # Extract the first word of "dlltool", so it can be a program name with args.
7883 set dummy dlltool; ac_word=$2
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7885 $as_echo_n "checking for $ac_word... " >&6; }
7886 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7887 $as_echo_n "(cached) " >&6
7888 else
7889 if test -n "$ac_ct_DLLTOOL"; then
7890 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7891 else
7892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7893 for as_dir in $PATH
7895 IFS=$as_save_IFS
7896 test -z "$as_dir" && as_dir=.
7897 for ac_exec_ext in '' $ac_executable_extensions; do
7898 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7899 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7901 break 2
7903 done
7904 done
7905 IFS=$as_save_IFS
7909 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7910 if test -n "$ac_ct_DLLTOOL"; then
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7912 $as_echo "$ac_ct_DLLTOOL" >&6; }
7913 else
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7915 $as_echo "no" >&6; }
7918 if test "x$ac_ct_DLLTOOL" = x; then
7919 DLLTOOL="false"
7920 else
7921 case $cross_compiling:$ac_tool_warned in
7922 yes:)
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7924 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7925 ac_tool_warned=yes ;;
7926 esac
7927 DLLTOOL=$ac_ct_DLLTOOL
7929 else
7930 DLLTOOL="$ac_cv_prog_DLLTOOL"
7933 LIBEXT="dll"
7934 DLLEXT=""
7935 IMPLIBEXT="a"
7936 STATIC_IMPLIBEXT="a"
7937 enable_iphlpapi=${enable_iphlpapi:-no}
7938 enable_kernel32=${enable_kernel32:-no}
7939 enable_msvcrt=${enable_msvcrt:-no}
7940 enable_ntdll=${enable_ntdll:-no}
7941 enable_ws2_32=${enable_ws2_32:-no}
7942 enable_loader=${enable_loader:-no}
7943 enable_server=${enable_server:-no}
7944 with_x=${with_x:-no}
7945 with_pthread=${with_pthread:-no}
7947 crtlibs=""
7948 case $host_os in
7949 mingw32*)
7950 crtlibs="-lmsvcrt"
7951 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7953 esac
7955 libwine_targets="libwine.dll libwine.a"
7956 LIBWINE_RULES="
7957 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7959 all: libwine.dll libwine.a
7961 libwine.a: \$(srcdir)/wine.def
7962 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7964 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7965 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7967 install install-lib:: libwine.dll
7968 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7970 install install-dev:: libwine.a
7971 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7973 uninstall::
7974 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7979 darwin*|macosx*)
7980 for ac_header in libunwind.h
7981 do :
7982 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7983 if test "x$ac_cv_header_libunwind_h" = xyes; then :
7984 cat >>confdefs.h <<_ACEOF
7985 #define HAVE_LIBUNWIND_H 1
7986 _ACEOF
7990 done
7992 LIBEXT="dylib"
7993 DLLFLAGS="$DLLFLAGS -fPIC"
7994 LIBWINE_LDFLAGS="-multiply_defined suppress"
7995 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7996 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7997 COREFOUNDATION_LIBS="-framework CoreFoundation"
7999 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8001 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8003 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8005 CORESERVICES_LIBS="-framework CoreServices"
8007 APPKIT_LIBS="-framework AppKit"
8009 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8011 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8012 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8013 $as_echo_n "(cached) " >&6
8014 else
8015 ac_wine_try_cflags_saved=$CFLAGS
8016 CFLAGS="$CFLAGS -Wl,-no_pie"
8017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8018 /* end confdefs.h. */
8019 int main(int argc, char **argv) { return 0; }
8020 _ACEOF
8021 if ac_fn_c_try_link "$LINENO"; then :
8022 ac_cv_cflags__Wl__no_pie=yes
8023 else
8024 ac_cv_cflags__Wl__no_pie=no
8026 rm -f core conftest.err conftest.$ac_objext \
8027 conftest$ac_exeext conftest.$ac_ext
8028 CFLAGS=$ac_wine_try_cflags_saved
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8031 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8032 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8033 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8035 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8036 then
8037 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8040 if test "$ac_cv_header_Security_Security_h" = "yes"
8041 then
8042 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8044 ac_save_LIBS="$LIBS"
8045 LIBS="$LIBS $SECURITY_LIBS"
8046 for ac_func in SSLCopyPeerCertificates
8047 do :
8048 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8049 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8050 cat >>confdefs.h <<_ACEOF
8051 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8052 _ACEOF
8055 done
8057 LIBS="$ac_save_LIBS"
8058 with_gnutls=${with_gnutls:-no}
8060 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8061 then
8062 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8063 then
8064 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8066 else
8067 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8070 ac_save_LIBS="$LIBS"
8071 LIBS="$LIBS $COREAUDIO_LIBS"
8072 for ac_func in AUGraphAddNode
8073 do :
8074 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8075 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8076 cat >>confdefs.h <<_ACEOF
8077 #define HAVE_AUGRAPHADDNODE 1
8078 _ACEOF
8081 done
8083 LIBS="$ac_save_LIBS"
8085 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8086 then
8087 OPENAL_LIBS="-framework OpenAL"
8090 cat >>confdefs.h <<_ACEOF
8091 #define HAVE_OPENAL 1
8092 _ACEOF
8094 ac_cv_lib_openal=yes
8096 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8097 then
8098 OPENCL_LIBS="-framework OpenCL"
8100 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8102 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8103 then
8104 ac_save_LIBS="$LIBS"
8105 LIBS="$LIBS $IOKIT_LIBS"
8106 for ac_func in IOHIDManagerCreate
8107 do :
8108 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8109 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8110 cat >>confdefs.h <<_ACEOF
8111 #define HAVE_IOHIDMANAGERCREATE 1
8112 _ACEOF
8115 done
8117 LIBS="$ac_save_LIBS"
8119 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8120 then
8121 ac_save_LIBS="$LIBS"
8122 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8124 $as_echo_n "checking for the QuickTime framework... " >&6; }
8125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8126 /* end confdefs.h. */
8127 #include <QuickTime/ImageCompression.h>
8129 main ()
8131 CodecManagerVersion(NULL);
8133 return 0;
8135 _ACEOF
8136 if ac_fn_c_try_link "$LINENO"; then :
8137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8138 $as_echo "yes" >&6; }
8139 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8141 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8142 else
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8144 $as_echo "no" >&6; }
8145 ac_cv_header_QuickTime_ImageCompression_h=no
8147 rm -f core conftest.err conftest.$ac_objext \
8148 conftest$ac_exeext conftest.$ac_ext
8149 LIBS="$ac_save_LIBS"
8151 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8152 then
8153 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8155 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8156 then
8157 CARBON_LIBS="-framework Carbon"
8161 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8162 then
8163 ac_save_LIBS="$LIBS"
8164 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8165 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8166 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8167 enable_winemac_drv=${enable_winemac_drv:-yes}
8170 LIBS="$ac_save_LIBS"
8173 if test "x$enable_win16" = "xyes"
8174 then
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8176 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8177 if test "$cross_compiling" = yes; then :
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8179 $as_echo "cross-compiling, assuming yes" >&6; }
8180 else
8181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8182 /* end confdefs.h. */
8183 asm(".text\n"
8184 "bad:\tnop;nop\n"
8185 "good:\tnop;nop\n\t"
8186 ".globl _testfunc\n"
8187 "_testfunc:\tcallw good");
8188 extern void testfunc();
8190 main ()
8192 unsigned short *p = (unsigned short *)testfunc;
8193 return p[0] != 0xe866 || p[1] != 0xfffa
8195 return 0;
8197 _ACEOF
8198 if ac_fn_c_try_run "$LINENO"; then :
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8200 $as_echo "yes" >&6; }
8201 else
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8203 $as_echo "no" >&6; }
8204 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
8206 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8207 conftest.$ac_objext conftest.beam conftest.$ac_ext
8212 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8213 LIBWINE_RULES="
8214 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8216 all: libwine.dylib
8218 libwine.$libwine_version.dylib: \$(OBJS)
8219 \$(CC) -dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8221 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8222 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8224 libwine.dylib: libwine.$libwine_soversion.dylib
8225 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8227 install install-lib:: libwine.$libwine_version.dylib
8228 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8229 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8231 install install-dev::
8232 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8234 uninstall::
8235 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8239 as_fn_append LOADER_RULES "
8240 $wine_binary: main.o wine_info.plist
8241 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8243 wine-installed: main.o wine_info.plist
8244 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8248 linux-android*)
8249 DLLFLAGS="$DLLFLAGS -fPIC"
8250 DLLPREFIX="lib"
8251 LDEXECFLAGS=""
8252 dlldir="\${libdir}"
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8254 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8255 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8256 $as_echo_n "(cached) " >&6
8257 else
8258 ac_wine_try_cflags_saved=$CFLAGS
8259 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8261 /* end confdefs.h. */
8262 int main(int argc, char **argv) { return 0; }
8263 _ACEOF
8264 if ac_fn_c_try_link "$LINENO"; then :
8265 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8266 else
8267 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8269 rm -f core conftest.err conftest.$ac_objext \
8270 conftest$ac_exeext conftest.$ac_ext
8271 CFLAGS=$ac_wine_try_cflags_saved
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8274 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8275 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8276 LDEXECFLAGS="-Wl,--export-dynamic"
8278 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8280 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8281 if eval \${$as_ac_var+:} false; then :
8282 $as_echo_n "(cached) " >&6
8283 else
8284 ac_wine_try_cflags_saved=$CFLAGS
8285 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8287 /* end confdefs.h. */
8288 int main(int argc, char **argv) { return 0; }
8289 _ACEOF
8290 if ac_fn_c_try_link "$LINENO"; then :
8291 eval "$as_ac_var=yes"
8292 else
8293 eval "$as_ac_var=no"
8295 rm -f core conftest.err conftest.$ac_objext \
8296 conftest$ac_exeext conftest.$ac_ext
8297 CFLAGS=$ac_wine_try_cflags_saved
8299 eval ac_res=\$$as_ac_var
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8301 $as_echo "$ac_res" >&6; }
8302 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8303 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8304 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8305 else
8306 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8308 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8309 if eval \${$as_ac_var+:} false; then :
8310 $as_echo_n "(cached) " >&6
8311 else
8312 ac_wine_try_cflags_saved=$CFLAGS
8313 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8315 /* end confdefs.h. */
8316 int main(int argc, char **argv) { return 0; }
8317 _ACEOF
8318 if ac_fn_c_try_link "$LINENO"; then :
8319 eval "$as_ac_var=yes"
8320 else
8321 eval "$as_ac_var=no"
8323 rm -f core conftest.err conftest.$ac_objext \
8324 conftest$ac_exeext conftest.$ac_ext
8325 CFLAGS=$ac_wine_try_cflags_saved
8327 eval ac_res=\$$as_ac_var
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8329 $as_echo "$ac_res" >&6; }
8330 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8331 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8332 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8337 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8338 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8339 $as_echo_n "(cached) " >&6
8340 else
8341 ac_wine_try_cflags_saved=$CFLAGS
8342 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8344 /* end confdefs.h. */
8345 int main(int argc, char **argv) { return 0; }
8346 _ACEOF
8347 if ac_fn_c_try_link "$LINENO"; then :
8348 ac_cv_cflags__Wl___enable_new_dtags=yes
8349 else
8350 ac_cv_cflags__Wl___enable_new_dtags=no
8352 rm -f core conftest.err conftest.$ac_objext \
8353 conftest$ac_exeext conftest.$ac_ext
8354 CFLAGS=$ac_wine_try_cflags_saved
8356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8357 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8358 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8359 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8362 case $host_cpu in
8363 *i[3456789]86* | x86_64)
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8365 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8366 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8367 $as_echo_n "(cached) " >&6
8368 else
8369 ac_wine_try_cflags_saved=$CFLAGS
8370 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8372 /* end confdefs.h. */
8373 int main(int argc, char **argv) { return 0; }
8374 _ACEOF
8375 if ac_fn_c_try_link "$LINENO"; then :
8376 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8377 else
8378 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8380 rm -f core conftest.err conftest.$ac_objext \
8381 conftest$ac_exeext conftest.$ac_ext
8382 CFLAGS=$ac_wine_try_cflags_saved
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8385 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8386 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8387 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8390 esac
8392 libwine_targets="libwine.so"
8393 LIBWINE_RULES="
8394 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8396 all: libwine.so
8398 libwine.so: \$(OBJS)
8399 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8401 install install-lib:: libwine.so
8402 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8404 uninstall::
8405 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8409 as_fn_append LOADER_RULES "
8410 $wine_binary: main.o
8411 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8413 wine-installed: main.o
8414 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8419 DLLFLAGS="$DLLFLAGS -fPIC"
8420 LDEXECFLAGS=""
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8422 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8423 if ${ac_cv_c_dll_gnuelf+:} false; then :
8424 $as_echo_n "(cached) " >&6
8425 else
8426 ac_wine_try_cflags_saved=$CFLAGS
8427 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8429 /* end confdefs.h. */
8430 void myfunc() {}
8431 _ACEOF
8432 if ac_fn_c_try_link "$LINENO"; then :
8433 ac_cv_c_dll_gnuelf="yes"
8434 else
8435 ac_cv_c_dll_gnuelf="no"
8437 rm -f core conftest.err conftest.$ac_objext \
8438 conftest$ac_exeext conftest.$ac_ext
8439 CFLAGS=$ac_wine_try_cflags_saved
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8442 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8443 if test "$ac_cv_c_dll_gnuelf" = "yes"
8444 then
8445 LDSHARED="\$(CC) -shared"
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8447 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8448 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8449 $as_echo_n "(cached) " >&6
8450 else
8451 ac_wine_try_cflags_saved=$CFLAGS
8452 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8454 /* end confdefs.h. */
8455 int main(int argc, char **argv) { return 0; }
8456 _ACEOF
8457 if ac_fn_c_try_link "$LINENO"; then :
8458 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8459 else
8460 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8462 rm -f core conftest.err conftest.$ac_objext \
8463 conftest$ac_exeext conftest.$ac_ext
8464 CFLAGS=$ac_wine_try_cflags_saved
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8467 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8468 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8469 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8470 else
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8472 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8473 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8474 $as_echo_n "(cached) " >&6
8475 else
8476 ac_wine_try_cflags_saved=$CFLAGS
8477 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8479 /* end confdefs.h. */
8480 int main(int argc, char **argv) { return 0; }
8481 _ACEOF
8482 if ac_fn_c_try_link "$LINENO"; then :
8483 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8484 else
8485 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8487 rm -f core conftest.err conftest.$ac_objext \
8488 conftest$ac_exeext conftest.$ac_ext
8489 CFLAGS=$ac_wine_try_cflags_saved
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8492 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8493 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8494 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8498 echo '{ global: *; };' >conftest.map
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8500 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8501 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8502 $as_echo_n "(cached) " >&6
8503 else
8504 ac_wine_try_cflags_saved=$CFLAGS
8505 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8507 /* end confdefs.h. */
8508 int main(int argc, char **argv) { return 0; }
8509 _ACEOF
8510 if ac_fn_c_try_link "$LINENO"; then :
8511 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8512 else
8513 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8515 rm -f core conftest.err conftest.$ac_objext \
8516 conftest$ac_exeext conftest.$ac_ext
8517 CFLAGS=$ac_wine_try_cflags_saved
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8520 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8521 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8522 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8524 rm -f conftest.map
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8527 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8528 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8529 $as_echo_n "(cached) " >&6
8530 else
8531 ac_wine_try_cflags_saved=$CFLAGS
8532 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8534 /* end confdefs.h. */
8535 int main(int argc, char **argv) { return 0; }
8536 _ACEOF
8537 if ac_fn_c_try_link "$LINENO"; then :
8538 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8539 else
8540 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8542 rm -f core conftest.err conftest.$ac_objext \
8543 conftest$ac_exeext conftest.$ac_ext
8544 CFLAGS=$ac_wine_try_cflags_saved
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8547 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8548 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8549 LDEXECFLAGS="-Wl,--export-dynamic"
8552 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8554 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8555 if eval \${$as_ac_var+:} false; then :
8556 $as_echo_n "(cached) " >&6
8557 else
8558 ac_wine_try_cflags_saved=$CFLAGS
8559 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8561 /* end confdefs.h. */
8562 int main(int argc, char **argv) { return 0; }
8563 _ACEOF
8564 if ac_fn_c_try_link "$LINENO"; then :
8565 eval "$as_ac_var=yes"
8566 else
8567 eval "$as_ac_var=no"
8569 rm -f core conftest.err conftest.$ac_objext \
8570 conftest$ac_exeext conftest.$ac_ext
8571 CFLAGS=$ac_wine_try_cflags_saved
8573 eval ac_res=\$$as_ac_var
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8575 $as_echo "$ac_res" >&6; }
8576 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8577 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8578 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8579 else
8580 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8582 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8583 if eval \${$as_ac_var+:} false; then :
8584 $as_echo_n "(cached) " >&6
8585 else
8586 ac_wine_try_cflags_saved=$CFLAGS
8587 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8589 /* end confdefs.h. */
8590 int main(int argc, char **argv) { return 0; }
8591 _ACEOF
8592 if ac_fn_c_try_link "$LINENO"; then :
8593 eval "$as_ac_var=yes"
8594 else
8595 eval "$as_ac_var=no"
8597 rm -f core conftest.err conftest.$ac_objext \
8598 conftest$ac_exeext conftest.$ac_ext
8599 CFLAGS=$ac_wine_try_cflags_saved
8601 eval ac_res=\$$as_ac_var
8602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8603 $as_echo "$ac_res" >&6; }
8604 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8605 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8606 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8611 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8612 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8613 $as_echo_n "(cached) " >&6
8614 else
8615 ac_wine_try_cflags_saved=$CFLAGS
8616 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8618 /* end confdefs.h. */
8619 int main(int argc, char **argv) { return 0; }
8620 _ACEOF
8621 if ac_fn_c_try_link "$LINENO"; then :
8622 ac_cv_cflags__Wl___enable_new_dtags=yes
8623 else
8624 ac_cv_cflags__Wl___enable_new_dtags=no
8626 rm -f core conftest.err conftest.$ac_objext \
8627 conftest$ac_exeext conftest.$ac_ext
8628 CFLAGS=$ac_wine_try_cflags_saved
8630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8631 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8632 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8633 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8636 case $host_cpu in
8637 *i[3456789]86* | x86_64)
8638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8639 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8640 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8641 $as_echo_n "(cached) " >&6
8642 else
8643 ac_wine_try_cflags_saved=$CFLAGS
8644 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8646 /* end confdefs.h. */
8647 int main(int argc, char **argv) { return 0; }
8648 _ACEOF
8649 if ac_fn_c_try_link "$LINENO"; then :
8650 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8651 else
8652 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8654 rm -f core conftest.err conftest.$ac_objext \
8655 conftest$ac_exeext conftest.$ac_ext
8656 CFLAGS=$ac_wine_try_cflags_saved
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8659 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8660 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8661 case $host_os in
8662 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8663 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8664 esac
8667 # Extract the first word of "prelink", so it can be a program name with args.
8668 set dummy prelink; ac_word=$2
8669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8670 $as_echo_n "checking for $ac_word... " >&6; }
8671 if ${ac_cv_path_PRELINK+:} false; then :
8672 $as_echo_n "(cached) " >&6
8673 else
8674 case $PRELINK in
8675 [\\/]* | ?:[\\/]*)
8676 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8680 for as_dir in /sbin /usr/sbin $PATH
8682 IFS=$as_save_IFS
8683 test -z "$as_dir" && as_dir=.
8684 for ac_exec_ext in '' $ac_executable_extensions; do
8685 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8686 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8688 break 2
8690 done
8691 done
8692 IFS=$as_save_IFS
8694 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8696 esac
8698 PRELINK=$ac_cv_path_PRELINK
8699 if test -n "$PRELINK"; then
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8701 $as_echo "$PRELINK" >&6; }
8702 else
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8704 $as_echo "no" >&6; }
8708 if test "x$PRELINK" = xfalse
8709 then
8710 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8713 esac
8715 else
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8717 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8718 if ${ac_cv_c_dll_unixware+:} false; then :
8719 $as_echo_n "(cached) " >&6
8720 else
8721 ac_wine_try_cflags_saved=$CFLAGS
8722 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8724 /* end confdefs.h. */
8725 void myfunc() {}
8726 _ACEOF
8727 if ac_fn_c_try_link "$LINENO"; then :
8728 ac_cv_c_dll_unixware="yes"
8729 else
8730 ac_cv_c_dll_unixware="no"
8732 rm -f core conftest.err conftest.$ac_objext \
8733 conftest$ac_exeext conftest.$ac_ext
8734 CFLAGS=$ac_wine_try_cflags_saved
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8737 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8738 if test "$ac_cv_c_dll_unixware" = "yes"
8739 then
8740 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8743 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8744 LIBWINE_RULES="
8745 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8747 all: libwine.so
8749 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8750 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8752 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8753 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8755 libwine.so: libwine.so.$libwine_soversion
8756 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8758 install install-lib:: libwine.so.$libwine_version
8759 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8760 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8762 install install-dev::
8763 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8765 uninstall::
8766 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8770 as_fn_append LOADER_RULES "
8771 $wine_binary: main.o
8772 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8774 wine-installed: main.o
8775 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8778 esac
8780 as_fn_append LIBWINE_RULES "
8781 EXTRA_TARGETS = $libwine_targets
8784 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8785 enable_winemac_drv=${enable_winemac_drv:-no}
8787 CROSSTARGET=""
8789 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8790 then
8791 case "$host_cpu" in
8792 i[3456789]86*)
8793 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
8794 mingw32-gcc" ;;
8795 x86_64)
8796 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 " ;;
8798 ac_prefix_list="" ;;
8799 esac
8800 for ac_prog in $ac_prefix_list
8802 # Extract the first word of "$ac_prog", so it can be a program name with args.
8803 set dummy $ac_prog; ac_word=$2
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8805 $as_echo_n "checking for $ac_word... " >&6; }
8806 if ${ac_cv_prog_CROSSCC+:} false; then :
8807 $as_echo_n "(cached) " >&6
8808 else
8809 if test -n "$CROSSCC"; then
8810 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8811 else
8812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8813 for as_dir in $PATH
8815 IFS=$as_save_IFS
8816 test -z "$as_dir" && as_dir=.
8817 for ac_exec_ext in '' $ac_executable_extensions; do
8818 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8819 ac_cv_prog_CROSSCC="$ac_prog"
8820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8821 break 2
8823 done
8824 done
8825 IFS=$as_save_IFS
8829 CROSSCC=$ac_cv_prog_CROSSCC
8830 if test -n "$CROSSCC"; then
8831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8832 $as_echo "$CROSSCC" >&6; }
8833 else
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8835 $as_echo "no" >&6; }
8839 test -n "$CROSSCC" && break
8840 done
8841 test -n "$CROSSCC" || CROSSCC="false"
8843 if test "$CROSSCC" != "false"
8844 then
8845 ac_save_CC="$CC"
8846 CC="$CROSSCC"
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8848 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8850 /* end confdefs.h. */
8853 main ()
8857 return 0;
8859 _ACEOF
8860 if ac_fn_c_try_compile "$LINENO"; then :
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8862 $as_echo "yes" >&6; }
8863 set x $CROSSCC
8864 shift
8865 while test $# -ge 1
8867 case "$1" in
8868 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8869 esac
8870 shift
8871 done
8872 else
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8874 $as_echo "no" >&6; }
8876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8877 CC="$ac_save_CC"
8882 if test "$ac_cv_header_pthread_h" = "yes"
8883 then
8884 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8885 if test "x$ac_cv_func_pthread_create" = xyes; then :
8887 else
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8889 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8890 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8891 $as_echo_n "(cached) " >&6
8892 else
8893 ac_check_lib_save_LIBS=$LIBS
8894 LIBS="-lpthread $LIBS"
8895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8896 /* end confdefs.h. */
8898 /* Override any GCC internal prototype to avoid an error.
8899 Use char because int might match the return type of a GCC
8900 builtin and then its argument prototype would still apply. */
8901 #ifdef __cplusplus
8902 extern "C"
8903 #endif
8904 char pthread_create ();
8906 main ()
8908 return pthread_create ();
8910 return 0;
8912 _ACEOF
8913 if ac_fn_c_try_link "$LINENO"; then :
8914 ac_cv_lib_pthread_pthread_create=yes
8915 else
8916 ac_cv_lib_pthread_pthread_create=no
8918 rm -f core conftest.err conftest.$ac_objext \
8919 conftest$ac_exeext conftest.$ac_ext
8920 LIBS=$ac_check_lib_save_LIBS
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8923 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8924 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8925 PTHREAD_LIBS="-lpthread"
8932 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8933 case "x$with_pthread" in
8934 xno) ;;
8935 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8936 Wine cannot support threads without libpthread.
8937 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8938 esac
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8943 $as_echo_n "checking for X... " >&6; }
8946 # Check whether --with-x was given.
8947 if test "${with_x+set}" = set; then :
8948 withval=$with_x;
8951 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8952 if test "x$with_x" = xno; then
8953 # The user explicitly disabled X.
8954 have_x=disabled
8955 else
8956 case $x_includes,$x_libraries in #(
8957 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8958 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8959 $as_echo_n "(cached) " >&6
8960 else
8961 # One or both of the vars are not set, and there is no cached value.
8962 ac_x_includes=no ac_x_libraries=no
8963 rm -f -r conftest.dir
8964 if mkdir conftest.dir; then
8965 cd conftest.dir
8966 cat >Imakefile <<'_ACEOF'
8967 incroot:
8968 @echo incroot='${INCROOT}'
8969 usrlibdir:
8970 @echo usrlibdir='${USRLIBDIR}'
8971 libdir:
8972 @echo libdir='${LIBDIR}'
8973 _ACEOF
8974 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8975 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8976 for ac_var in incroot usrlibdir libdir; do
8977 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8978 done
8979 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8980 for ac_extension in a so sl dylib la dll; do
8981 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8982 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8983 ac_im_usrlibdir=$ac_im_libdir; break
8985 done
8986 # Screen out bogus values from the imake configuration. They are
8987 # bogus both because they are the default anyway, and because
8988 # using them would break gcc on systems where it needs fixed includes.
8989 case $ac_im_incroot in
8990 /usr/include) ac_x_includes= ;;
8991 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8992 esac
8993 case $ac_im_usrlibdir in
8994 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8995 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8996 esac
8998 cd ..
8999 rm -f -r conftest.dir
9002 # Standard set of common directories for X headers.
9003 # Check X11 before X11Rn because it is often a symlink to the current release.
9004 ac_x_header_dirs='
9005 /usr/X11/include
9006 /usr/X11R7/include
9007 /usr/X11R6/include
9008 /usr/X11R5/include
9009 /usr/X11R4/include
9011 /usr/include/X11
9012 /usr/include/X11R7
9013 /usr/include/X11R6
9014 /usr/include/X11R5
9015 /usr/include/X11R4
9017 /usr/local/X11/include
9018 /usr/local/X11R7/include
9019 /usr/local/X11R6/include
9020 /usr/local/X11R5/include
9021 /usr/local/X11R4/include
9023 /usr/local/include/X11
9024 /usr/local/include/X11R7
9025 /usr/local/include/X11R6
9026 /usr/local/include/X11R5
9027 /usr/local/include/X11R4
9029 /usr/X386/include
9030 /usr/x386/include
9031 /usr/XFree86/include/X11
9033 /usr/include
9034 /usr/local/include
9035 /usr/unsupported/include
9036 /usr/athena/include
9037 /usr/local/x11r5/include
9038 /usr/lpp/Xamples/include
9040 /usr/openwin/include
9041 /usr/openwin/share/include'
9043 if test "$ac_x_includes" = no; then
9044 # Guess where to find include files, by looking for Xlib.h.
9045 # First, try using that file with no special directory specified.
9046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9047 /* end confdefs.h. */
9048 #include <X11/Xlib.h>
9049 _ACEOF
9050 if ac_fn_c_try_cpp "$LINENO"; then :
9051 # We can compile using X headers with no special include directory.
9052 ac_x_includes=
9053 else
9054 for ac_dir in $ac_x_header_dirs; do
9055 if test -r "$ac_dir/X11/Xlib.h"; then
9056 ac_x_includes=$ac_dir
9057 break
9059 done
9061 rm -f conftest.err conftest.i conftest.$ac_ext
9062 fi # $ac_x_includes = no
9064 if test "$ac_x_libraries" = no; then
9065 # Check for the libraries.
9066 # See if we find them without any special options.
9067 # Don't add to $LIBS permanently.
9068 ac_save_LIBS=$LIBS
9069 LIBS="-lX11 $LIBS"
9070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9071 /* end confdefs.h. */
9072 #include <X11/Xlib.h>
9074 main ()
9076 XrmInitialize ()
9078 return 0;
9080 _ACEOF
9081 if ac_fn_c_try_link "$LINENO"; then :
9082 LIBS=$ac_save_LIBS
9083 # We can link X programs with no special library path.
9084 ac_x_libraries=
9085 else
9086 LIBS=$ac_save_LIBS
9087 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9089 # Don't even attempt the hair of trying to link an X program!
9090 for ac_extension in a so sl dylib la dll; do
9091 if test -r "$ac_dir/libX11.$ac_extension"; then
9092 ac_x_libraries=$ac_dir
9093 break 2
9095 done
9096 done
9098 rm -f core conftest.err conftest.$ac_objext \
9099 conftest$ac_exeext conftest.$ac_ext
9100 fi # $ac_x_libraries = no
9102 case $ac_x_includes,$ac_x_libraries in #(
9103 no,* | *,no | *\'*)
9104 # Didn't find X, or a directory has "'" in its name.
9105 ac_cv_have_x="have_x=no";; #(
9107 # Record where we found X for the cache.
9108 ac_cv_have_x="have_x=yes\
9109 ac_x_includes='$ac_x_includes'\
9110 ac_x_libraries='$ac_x_libraries'"
9111 esac
9113 ;; #(
9114 *) have_x=yes;;
9115 esac
9116 eval "$ac_cv_have_x"
9117 fi # $with_x != no
9119 if test "$have_x" != yes; then
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9121 $as_echo "$have_x" >&6; }
9122 no_x=yes
9123 else
9124 # If each of the values was on the command line, it overrides each guess.
9125 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9126 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9127 # Update the cache value to reflect the command line values.
9128 ac_cv_have_x="have_x=yes\
9129 ac_x_includes='$x_includes'\
9130 ac_x_libraries='$x_libraries'"
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9132 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9135 if test "$no_x" = yes; then
9136 # Not all programs may use this symbol, but it does not hurt to define it.
9138 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9140 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9141 else
9142 if test -n "$x_includes"; then
9143 X_CFLAGS="$X_CFLAGS -I$x_includes"
9146 # It would also be nice to do this for all -L options, not just this one.
9147 if test -n "$x_libraries"; then
9148 X_LIBS="$X_LIBS -L$x_libraries"
9149 # For Solaris; some versions of Sun CC require a space after -R and
9150 # others require no space. Words are not sufficient . . . .
9151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9152 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9153 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9154 ac_xsave_c_werror_flag=$ac_c_werror_flag
9155 ac_c_werror_flag=yes
9156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9157 /* end confdefs.h. */
9160 main ()
9164 return 0;
9166 _ACEOF
9167 if ac_fn_c_try_link "$LINENO"; then :
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9169 $as_echo "no" >&6; }
9170 X_LIBS="$X_LIBS -R$x_libraries"
9171 else
9172 LIBS="$ac_xsave_LIBS -R $x_libraries"
9173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9174 /* end confdefs.h. */
9177 main ()
9181 return 0;
9183 _ACEOF
9184 if ac_fn_c_try_link "$LINENO"; then :
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9186 $as_echo "yes" >&6; }
9187 X_LIBS="$X_LIBS -R $x_libraries"
9188 else
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9190 $as_echo "neither works" >&6; }
9192 rm -f core conftest.err conftest.$ac_objext \
9193 conftest$ac_exeext conftest.$ac_ext
9195 rm -f core conftest.err conftest.$ac_objext \
9196 conftest$ac_exeext conftest.$ac_ext
9197 ac_c_werror_flag=$ac_xsave_c_werror_flag
9198 LIBS=$ac_xsave_LIBS
9201 # Check for system-dependent libraries X programs must link with.
9202 # Do this before checking for the system-independent R6 libraries
9203 # (-lICE), since we may need -lsocket or whatever for X linking.
9205 if test "$ISC" = yes; then
9206 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9207 else
9208 # Martyn Johnson says this is needed for Ultrix, if the X
9209 # libraries were built with DECnet support. And Karl Berry says
9210 # the Alpha needs dnet_stub (dnet does not exist).
9211 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9213 /* end confdefs.h. */
9215 /* Override any GCC internal prototype to avoid an error.
9216 Use char because int might match the return type of a GCC
9217 builtin and then its argument prototype would still apply. */
9218 #ifdef __cplusplus
9219 extern "C"
9220 #endif
9221 char XOpenDisplay ();
9223 main ()
9225 return XOpenDisplay ();
9227 return 0;
9229 _ACEOF
9230 if ac_fn_c_try_link "$LINENO"; then :
9232 else
9233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9234 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9235 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9236 $as_echo_n "(cached) " >&6
9237 else
9238 ac_check_lib_save_LIBS=$LIBS
9239 LIBS="-ldnet $LIBS"
9240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9241 /* end confdefs.h. */
9243 /* Override any GCC internal prototype to avoid an error.
9244 Use char because int might match the return type of a GCC
9245 builtin and then its argument prototype would still apply. */
9246 #ifdef __cplusplus
9247 extern "C"
9248 #endif
9249 char dnet_ntoa ();
9251 main ()
9253 return dnet_ntoa ();
9255 return 0;
9257 _ACEOF
9258 if ac_fn_c_try_link "$LINENO"; then :
9259 ac_cv_lib_dnet_dnet_ntoa=yes
9260 else
9261 ac_cv_lib_dnet_dnet_ntoa=no
9263 rm -f core conftest.err conftest.$ac_objext \
9264 conftest$ac_exeext conftest.$ac_ext
9265 LIBS=$ac_check_lib_save_LIBS
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9268 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9269 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9270 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9273 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9275 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9276 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9277 $as_echo_n "(cached) " >&6
9278 else
9279 ac_check_lib_save_LIBS=$LIBS
9280 LIBS="-ldnet_stub $LIBS"
9281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9282 /* end confdefs.h. */
9284 /* Override any GCC internal prototype to avoid an error.
9285 Use char because int might match the return type of a GCC
9286 builtin and then its argument prototype would still apply. */
9287 #ifdef __cplusplus
9288 extern "C"
9289 #endif
9290 char dnet_ntoa ();
9292 main ()
9294 return dnet_ntoa ();
9296 return 0;
9298 _ACEOF
9299 if ac_fn_c_try_link "$LINENO"; then :
9300 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9301 else
9302 ac_cv_lib_dnet_stub_dnet_ntoa=no
9304 rm -f core conftest.err conftest.$ac_objext \
9305 conftest$ac_exeext conftest.$ac_ext
9306 LIBS=$ac_check_lib_save_LIBS
9308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9309 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9310 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9311 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9316 rm -f core conftest.err conftest.$ac_objext \
9317 conftest$ac_exeext conftest.$ac_ext
9318 LIBS="$ac_xsave_LIBS"
9320 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9321 # to get the SysV transport functions.
9322 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9323 # needs -lnsl.
9324 # The nsl library prevents programs from opening the X display
9325 # on Irix 5.2, according to T.E. Dickey.
9326 # The functions gethostbyname, getservbyname, and inet_addr are
9327 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9328 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9329 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9333 if test $ac_cv_func_gethostbyname = no; then
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9335 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9336 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9337 $as_echo_n "(cached) " >&6
9338 else
9339 ac_check_lib_save_LIBS=$LIBS
9340 LIBS="-lnsl $LIBS"
9341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9342 /* end confdefs.h. */
9344 /* Override any GCC internal prototype to avoid an error.
9345 Use char because int might match the return type of a GCC
9346 builtin and then its argument prototype would still apply. */
9347 #ifdef __cplusplus
9348 extern "C"
9349 #endif
9350 char gethostbyname ();
9352 main ()
9354 return gethostbyname ();
9356 return 0;
9358 _ACEOF
9359 if ac_fn_c_try_link "$LINENO"; then :
9360 ac_cv_lib_nsl_gethostbyname=yes
9361 else
9362 ac_cv_lib_nsl_gethostbyname=no
9364 rm -f core conftest.err conftest.$ac_objext \
9365 conftest$ac_exeext conftest.$ac_ext
9366 LIBS=$ac_check_lib_save_LIBS
9368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9369 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9370 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9371 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9374 if test $ac_cv_lib_nsl_gethostbyname = no; then
9375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9376 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9377 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9378 $as_echo_n "(cached) " >&6
9379 else
9380 ac_check_lib_save_LIBS=$LIBS
9381 LIBS="-lbsd $LIBS"
9382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9383 /* end confdefs.h. */
9385 /* Override any GCC internal prototype to avoid an error.
9386 Use char because int might match the return type of a GCC
9387 builtin and then its argument prototype would still apply. */
9388 #ifdef __cplusplus
9389 extern "C"
9390 #endif
9391 char gethostbyname ();
9393 main ()
9395 return gethostbyname ();
9397 return 0;
9399 _ACEOF
9400 if ac_fn_c_try_link "$LINENO"; then :
9401 ac_cv_lib_bsd_gethostbyname=yes
9402 else
9403 ac_cv_lib_bsd_gethostbyname=no
9405 rm -f core conftest.err conftest.$ac_objext \
9406 conftest$ac_exeext conftest.$ac_ext
9407 LIBS=$ac_check_lib_save_LIBS
9409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9410 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9411 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9412 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9418 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9419 # socket/setsockopt and other routines are undefined under SCO ODT
9420 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9421 # on later versions), says Simon Leinen: it contains gethostby*
9422 # variants that don't use the name server (or something). -lsocket
9423 # must be given before -lnsl if both are needed. We assume that
9424 # if connect needs -lnsl, so does gethostbyname.
9425 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9426 if test "x$ac_cv_func_connect" = xyes; then :
9430 if test $ac_cv_func_connect = no; then
9431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9432 $as_echo_n "checking for connect in -lsocket... " >&6; }
9433 if ${ac_cv_lib_socket_connect+:} false; then :
9434 $as_echo_n "(cached) " >&6
9435 else
9436 ac_check_lib_save_LIBS=$LIBS
9437 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9439 /* end confdefs.h. */
9441 /* Override any GCC internal prototype to avoid an error.
9442 Use char because int might match the return type of a GCC
9443 builtin and then its argument prototype would still apply. */
9444 #ifdef __cplusplus
9445 extern "C"
9446 #endif
9447 char connect ();
9449 main ()
9451 return connect ();
9453 return 0;
9455 _ACEOF
9456 if ac_fn_c_try_link "$LINENO"; then :
9457 ac_cv_lib_socket_connect=yes
9458 else
9459 ac_cv_lib_socket_connect=no
9461 rm -f core conftest.err conftest.$ac_objext \
9462 conftest$ac_exeext conftest.$ac_ext
9463 LIBS=$ac_check_lib_save_LIBS
9465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9466 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9467 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9468 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9473 # Guillermo Gomez says -lposix is necessary on A/UX.
9474 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9475 if test "x$ac_cv_func_remove" = xyes; then :
9479 if test $ac_cv_func_remove = no; then
9480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9481 $as_echo_n "checking for remove in -lposix... " >&6; }
9482 if ${ac_cv_lib_posix_remove+:} false; then :
9483 $as_echo_n "(cached) " >&6
9484 else
9485 ac_check_lib_save_LIBS=$LIBS
9486 LIBS="-lposix $LIBS"
9487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9488 /* end confdefs.h. */
9490 /* Override any GCC internal prototype to avoid an error.
9491 Use char because int might match the return type of a GCC
9492 builtin and then its argument prototype would still apply. */
9493 #ifdef __cplusplus
9494 extern "C"
9495 #endif
9496 char remove ();
9498 main ()
9500 return remove ();
9502 return 0;
9504 _ACEOF
9505 if ac_fn_c_try_link "$LINENO"; then :
9506 ac_cv_lib_posix_remove=yes
9507 else
9508 ac_cv_lib_posix_remove=no
9510 rm -f core conftest.err conftest.$ac_objext \
9511 conftest$ac_exeext conftest.$ac_ext
9512 LIBS=$ac_check_lib_save_LIBS
9514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9515 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9516 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9517 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9522 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9523 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9524 if test "x$ac_cv_func_shmat" = xyes; then :
9528 if test $ac_cv_func_shmat = no; then
9529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9530 $as_echo_n "checking for shmat in -lipc... " >&6; }
9531 if ${ac_cv_lib_ipc_shmat+:} false; then :
9532 $as_echo_n "(cached) " >&6
9533 else
9534 ac_check_lib_save_LIBS=$LIBS
9535 LIBS="-lipc $LIBS"
9536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9537 /* end confdefs.h. */
9539 /* Override any GCC internal prototype to avoid an error.
9540 Use char because int might match the return type of a GCC
9541 builtin and then its argument prototype would still apply. */
9542 #ifdef __cplusplus
9543 extern "C"
9544 #endif
9545 char shmat ();
9547 main ()
9549 return shmat ();
9551 return 0;
9553 _ACEOF
9554 if ac_fn_c_try_link "$LINENO"; then :
9555 ac_cv_lib_ipc_shmat=yes
9556 else
9557 ac_cv_lib_ipc_shmat=no
9559 rm -f core conftest.err conftest.$ac_objext \
9560 conftest$ac_exeext conftest.$ac_ext
9561 LIBS=$ac_check_lib_save_LIBS
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9564 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9565 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9566 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9572 # Check for libraries that X11R6 Xt/Xaw programs need.
9573 ac_save_LDFLAGS=$LDFLAGS
9574 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9575 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9576 # check for ICE first), but we must link in the order -lSM -lICE or
9577 # we get undefined symbols. So assume we have SM if we have ICE.
9578 # These have to be linked with before -lX11, unlike the other
9579 # libraries we check for below, so use a different variable.
9580 # John Interrante, Karl Berry
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9582 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9583 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9584 $as_echo_n "(cached) " >&6
9585 else
9586 ac_check_lib_save_LIBS=$LIBS
9587 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9589 /* end confdefs.h. */
9591 /* Override any GCC internal prototype to avoid an error.
9592 Use char because int might match the return type of a GCC
9593 builtin and then its argument prototype would still apply. */
9594 #ifdef __cplusplus
9595 extern "C"
9596 #endif
9597 char IceConnectionNumber ();
9599 main ()
9601 return IceConnectionNumber ();
9603 return 0;
9605 _ACEOF
9606 if ac_fn_c_try_link "$LINENO"; then :
9607 ac_cv_lib_ICE_IceConnectionNumber=yes
9608 else
9609 ac_cv_lib_ICE_IceConnectionNumber=no
9611 rm -f core conftest.err conftest.$ac_objext \
9612 conftest$ac_exeext conftest.$ac_ext
9613 LIBS=$ac_check_lib_save_LIBS
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9616 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9617 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9618 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9621 LDFLAGS=$ac_save_LDFLAGS
9626 if test "$have_x" = "yes"
9627 then
9628 ac_save_CPPFLAGS="$CPPFLAGS"
9629 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9632 $as_echo_n "checking for -lX11... " >&6; }
9633 if ${ac_cv_lib_soname_X11+:} false; then :
9634 $as_echo_n "(cached) " >&6
9635 else
9636 ac_check_soname_save_LIBS=$LIBS
9637 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9639 /* end confdefs.h. */
9641 /* Override any GCC internal prototype to avoid an error.
9642 Use char because int might match the return type of a GCC
9643 builtin and then its argument prototype would still apply. */
9644 #ifdef __cplusplus
9645 extern "C"
9646 #endif
9647 char XCreateWindow ();
9649 main ()
9651 return XCreateWindow ();
9653 return 0;
9655 _ACEOF
9656 if ac_fn_c_try_link "$LINENO"; then :
9657 case "$LIBEXT" in
9658 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9659 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'` ;;
9660 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9661 if ${ac_cv_lib_soname_X11:+false} :; then :
9662 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9663 fi ;;
9664 esac
9666 rm -f core conftest.err conftest.$ac_objext \
9667 conftest$ac_exeext conftest.$ac_ext
9668 LIBS=$ac_check_soname_save_LIBS
9670 if ${ac_cv_lib_soname_X11:+false} :; then :
9671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9672 $as_echo "not found" >&6; }
9674 else
9675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9676 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9678 cat >>confdefs.h <<_ACEOF
9679 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9680 _ACEOF
9684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9685 $as_echo_n "checking for -lXext... " >&6; }
9686 if ${ac_cv_lib_soname_Xext+:} false; then :
9687 $as_echo_n "(cached) " >&6
9688 else
9689 ac_check_soname_save_LIBS=$LIBS
9690 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9692 /* end confdefs.h. */
9694 /* Override any GCC internal prototype to avoid an error.
9695 Use char because int might match the return type of a GCC
9696 builtin and then its argument prototype would still apply. */
9697 #ifdef __cplusplus
9698 extern "C"
9699 #endif
9700 char XextCreateExtension ();
9702 main ()
9704 return XextCreateExtension ();
9706 return 0;
9708 _ACEOF
9709 if ac_fn_c_try_link "$LINENO"; then :
9710 case "$LIBEXT" in
9711 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9712 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'` ;;
9713 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9714 if ${ac_cv_lib_soname_Xext:+false} :; then :
9715 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9716 fi ;;
9717 esac
9719 rm -f core conftest.err conftest.$ac_objext \
9720 conftest$ac_exeext conftest.$ac_ext
9721 LIBS=$ac_check_soname_save_LIBS
9723 if ${ac_cv_lib_soname_Xext:+false} :; then :
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9725 $as_echo "not found" >&6; }
9727 else
9728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9729 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9731 cat >>confdefs.h <<_ACEOF
9732 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9733 _ACEOF
9735 X_LIBS="$X_LIBS -lXext"
9737 X_LIBS="$X_LIBS -lX11"
9739 for ac_header in X11/Xlib.h \
9740 X11/XKBlib.h \
9741 X11/Xutil.h \
9742 X11/Xcursor/Xcursor.h \
9743 X11/extensions/shape.h \
9744 X11/extensions/XInput.h \
9745 X11/extensions/XInput2.h \
9746 X11/extensions/XShm.h \
9747 X11/extensions/Xcomposite.h \
9748 X11/extensions/Xinerama.h \
9749 X11/extensions/Xrandr.h \
9750 X11/extensions/Xrender.h \
9751 X11/extensions/xf86vmode.h \
9752 X11/extensions/xf86vmproto.h
9753 do :
9754 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9755 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9756 # include <X11/Xlib.h>
9757 #endif
9758 #ifdef HAVE_X11_XUTIL_H
9759 # include <X11/Xutil.h>
9760 #endif
9762 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9763 cat >>confdefs.h <<_ACEOF
9764 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9765 _ACEOF
9769 done
9772 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9773 then
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9775 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9776 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9777 $as_echo_n "(cached) " >&6
9778 else
9779 ac_check_lib_save_LIBS=$LIBS
9780 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9782 /* end confdefs.h. */
9784 /* Override any GCC internal prototype to avoid an error.
9785 Use char because int might match the return type of a GCC
9786 builtin and then its argument prototype would still apply. */
9787 #ifdef __cplusplus
9788 extern "C"
9789 #endif
9790 char XkbQueryExtension ();
9792 main ()
9794 return XkbQueryExtension ();
9796 return 0;
9798 _ACEOF
9799 if ac_fn_c_try_link "$LINENO"; then :
9800 ac_cv_lib_X11_XkbQueryExtension=yes
9801 else
9802 ac_cv_lib_X11_XkbQueryExtension=no
9804 rm -f core conftest.err conftest.$ac_objext \
9805 conftest$ac_exeext conftest.$ac_ext
9806 LIBS=$ac_check_lib_save_LIBS
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9809 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9810 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9812 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9818 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9819 then
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9821 $as_echo_n "checking for -lXcursor... " >&6; }
9822 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9823 $as_echo_n "(cached) " >&6
9824 else
9825 ac_check_soname_save_LIBS=$LIBS
9826 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9828 /* end confdefs.h. */
9830 /* Override any GCC internal prototype to avoid an error.
9831 Use char because int might match the return type of a GCC
9832 builtin and then its argument prototype would still apply. */
9833 #ifdef __cplusplus
9834 extern "C"
9835 #endif
9836 char XcursorImageLoadCursor ();
9838 main ()
9840 return XcursorImageLoadCursor ();
9842 return 0;
9844 _ACEOF
9845 if ac_fn_c_try_link "$LINENO"; then :
9846 case "$LIBEXT" in
9847 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9848 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'` ;;
9849 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9850 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9851 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9852 fi ;;
9853 esac
9855 rm -f core conftest.err conftest.$ac_objext \
9856 conftest$ac_exeext conftest.$ac_ext
9857 LIBS=$ac_check_soname_save_LIBS
9859 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9861 $as_echo "not found" >&6; }
9863 else
9864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9865 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9867 cat >>confdefs.h <<_ACEOF
9868 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9869 _ACEOF
9874 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9875 case "x$with_xcursor" in
9876 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9877 xno) ;;
9878 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9879 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9880 esac
9883 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9884 then
9885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9886 $as_echo_n "checking for -lXi... " >&6; }
9887 if ${ac_cv_lib_soname_Xi+:} false; then :
9888 $as_echo_n "(cached) " >&6
9889 else
9890 ac_check_soname_save_LIBS=$LIBS
9891 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9893 /* end confdefs.h. */
9895 /* Override any GCC internal prototype to avoid an error.
9896 Use char because int might match the return type of a GCC
9897 builtin and then its argument prototype would still apply. */
9898 #ifdef __cplusplus
9899 extern "C"
9900 #endif
9901 char XOpenDevice ();
9903 main ()
9905 return XOpenDevice ();
9907 return 0;
9909 _ACEOF
9910 if ac_fn_c_try_link "$LINENO"; then :
9911 case "$LIBEXT" in
9912 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9913 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'` ;;
9914 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9915 if ${ac_cv_lib_soname_Xi:+false} :; then :
9916 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9917 fi ;;
9918 esac
9920 rm -f core conftest.err conftest.$ac_objext \
9921 conftest$ac_exeext conftest.$ac_ext
9922 LIBS=$ac_check_soname_save_LIBS
9924 if ${ac_cv_lib_soname_Xi:+false} :; then :
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9926 $as_echo "not found" >&6; }
9928 else
9929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9930 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9932 cat >>confdefs.h <<_ACEOF
9933 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9934 _ACEOF
9939 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9940 case "x$with_xinput" in
9941 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9942 xno) ;;
9943 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9944 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9945 esac
9948 if test "x$ac_cv_lib_soname_Xi" != x
9949 then
9950 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9951 case "x$with_xinput2" in
9952 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9953 xno) ;;
9954 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9955 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9956 esac
9960 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9961 then
9962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9963 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9964 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9965 $as_echo_n "(cached) " >&6
9966 else
9967 ac_check_lib_save_LIBS=$LIBS
9968 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9970 /* end confdefs.h. */
9972 /* Override any GCC internal prototype to avoid an error.
9973 Use char because int might match the return type of a GCC
9974 builtin and then its argument prototype would still apply. */
9975 #ifdef __cplusplus
9976 extern "C"
9977 #endif
9978 char XShmQueryExtension ();
9980 main ()
9982 return XShmQueryExtension ();
9984 return 0;
9986 _ACEOF
9987 if ac_fn_c_try_link "$LINENO"; then :
9988 ac_cv_lib_Xext_XShmQueryExtension=yes
9989 else
9990 ac_cv_lib_Xext_XShmQueryExtension=no
9992 rm -f core conftest.err conftest.$ac_objext \
9993 conftest$ac_exeext conftest.$ac_ext
9994 LIBS=$ac_check_lib_save_LIBS
9996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9997 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9998 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10000 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10005 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10006 case "x$with_xshm" in
10007 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10008 xno) ;;
10009 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10010 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10011 esac
10014 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10015 then
10016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10017 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10018 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10019 $as_echo_n "(cached) " >&6
10020 else
10021 ac_check_lib_save_LIBS=$LIBS
10022 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10024 /* end confdefs.h. */
10026 /* Override any GCC internal prototype to avoid an error.
10027 Use char because int might match the return type of a GCC
10028 builtin and then its argument prototype would still apply. */
10029 #ifdef __cplusplus
10030 extern "C"
10031 #endif
10032 char XShapeQueryExtension ();
10034 main ()
10036 return XShapeQueryExtension ();
10038 return 0;
10040 _ACEOF
10041 if ac_fn_c_try_link "$LINENO"; then :
10042 ac_cv_lib_Xext_XShapeQueryExtension=yes
10043 else
10044 ac_cv_lib_Xext_XShapeQueryExtension=no
10046 rm -f core conftest.err conftest.$ac_objext \
10047 conftest$ac_exeext conftest.$ac_ext
10048 LIBS=$ac_check_lib_save_LIBS
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10051 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10052 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10054 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10059 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10060 case "x$with_xshape" in
10061 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10062 xno) ;;
10063 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10064 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10065 esac
10068 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10069 then
10070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10071 $as_echo_n "checking for -lXxf86vm... " >&6; }
10072 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10073 $as_echo_n "(cached) " >&6
10074 else
10075 ac_check_soname_save_LIBS=$LIBS
10076 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10078 /* end confdefs.h. */
10080 /* Override any GCC internal prototype to avoid an error.
10081 Use char because int might match the return type of a GCC
10082 builtin and then its argument prototype would still apply. */
10083 #ifdef __cplusplus
10084 extern "C"
10085 #endif
10086 char XF86VidModeQueryExtension ();
10088 main ()
10090 return XF86VidModeQueryExtension ();
10092 return 0;
10094 _ACEOF
10095 if ac_fn_c_try_link "$LINENO"; then :
10096 case "$LIBEXT" in
10097 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10098 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'` ;;
10099 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10100 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10101 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10102 fi ;;
10103 esac
10105 rm -f core conftest.err conftest.$ac_objext \
10106 conftest$ac_exeext conftest.$ac_ext
10107 LIBS=$ac_check_soname_save_LIBS
10109 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10111 $as_echo "not found" >&6; }
10113 else
10114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10115 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10117 cat >>confdefs.h <<_ACEOF
10118 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10119 _ACEOF
10124 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10125 case "x$with_xxf86vm" in
10126 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10127 xno) ;;
10128 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10129 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10130 esac
10133 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10134 then
10135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10136 $as_echo_n "checking for -lXrender... " >&6; }
10137 if ${ac_cv_lib_soname_Xrender+:} false; then :
10138 $as_echo_n "(cached) " >&6
10139 else
10140 ac_check_soname_save_LIBS=$LIBS
10141 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10143 /* end confdefs.h. */
10145 /* Override any GCC internal prototype to avoid an error.
10146 Use char because int might match the return type of a GCC
10147 builtin and then its argument prototype would still apply. */
10148 #ifdef __cplusplus
10149 extern "C"
10150 #endif
10151 char XRenderQueryExtension ();
10153 main ()
10155 return XRenderQueryExtension ();
10157 return 0;
10159 _ACEOF
10160 if ac_fn_c_try_link "$LINENO"; then :
10161 case "$LIBEXT" in
10162 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10163 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'` ;;
10164 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10165 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10166 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10167 fi ;;
10168 esac
10170 rm -f core conftest.err conftest.$ac_objext \
10171 conftest$ac_exeext conftest.$ac_ext
10172 LIBS=$ac_check_soname_save_LIBS
10174 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10176 $as_echo "not found" >&6; }
10178 else
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10180 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10182 cat >>confdefs.h <<_ACEOF
10183 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10184 _ACEOF
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10187 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10188 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10189 $as_echo_n "(cached) " >&6
10190 else
10191 ac_check_lib_save_LIBS=$LIBS
10192 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10194 /* end confdefs.h. */
10196 /* Override any GCC internal prototype to avoid an error.
10197 Use char because int might match the return type of a GCC
10198 builtin and then its argument prototype would still apply. */
10199 #ifdef __cplusplus
10200 extern "C"
10201 #endif
10202 char XRenderSetPictureTransform ();
10204 main ()
10206 return XRenderSetPictureTransform ();
10208 return 0;
10210 _ACEOF
10211 if ac_fn_c_try_link "$LINENO"; then :
10212 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10213 else
10214 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10216 rm -f core conftest.err conftest.$ac_objext \
10217 conftest$ac_exeext conftest.$ac_ext
10218 LIBS=$ac_check_lib_save_LIBS
10220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10221 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10222 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10224 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10229 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10230 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10231 $as_echo_n "(cached) " >&6
10232 else
10233 ac_check_lib_save_LIBS=$LIBS
10234 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10236 /* end confdefs.h. */
10238 /* Override any GCC internal prototype to avoid an error.
10239 Use char because int might match the return type of a GCC
10240 builtin and then its argument prototype would still apply. */
10241 #ifdef __cplusplus
10242 extern "C"
10243 #endif
10244 char XRenderCreateLinearGradient ();
10246 main ()
10248 return XRenderCreateLinearGradient ();
10250 return 0;
10252 _ACEOF
10253 if ac_fn_c_try_link "$LINENO"; then :
10254 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10255 else
10256 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10258 rm -f core conftest.err conftest.$ac_objext \
10259 conftest$ac_exeext conftest.$ac_ext
10260 LIBS=$ac_check_lib_save_LIBS
10262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10263 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10264 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10266 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10273 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10274 case "x$with_xrender" in
10275 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10276 xno) ;;
10277 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10278 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10279 esac
10282 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10283 then
10284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10285 /* end confdefs.h. */
10286 #include <X11/Xlib.h>
10287 #include <X11/extensions/Xrandr.h>
10289 main ()
10291 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10293 return 0;
10295 _ACEOF
10296 if ac_fn_c_try_compile "$LINENO"; then :
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10298 $as_echo_n "checking for -lXrandr... " >&6; }
10299 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10300 $as_echo_n "(cached) " >&6
10301 else
10302 ac_check_soname_save_LIBS=$LIBS
10303 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10305 /* end confdefs.h. */
10307 /* Override any GCC internal prototype to avoid an error.
10308 Use char because int might match the return type of a GCC
10309 builtin and then its argument prototype would still apply. */
10310 #ifdef __cplusplus
10311 extern "C"
10312 #endif
10313 char XRRQueryExtension ();
10315 main ()
10317 return XRRQueryExtension ();
10319 return 0;
10321 _ACEOF
10322 if ac_fn_c_try_link "$LINENO"; then :
10323 case "$LIBEXT" in
10324 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10325 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'` ;;
10326 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10327 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10328 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10329 fi ;;
10330 esac
10332 rm -f core conftest.err conftest.$ac_objext \
10333 conftest$ac_exeext conftest.$ac_ext
10334 LIBS=$ac_check_soname_save_LIBS
10336 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10338 $as_echo "not found" >&6; }
10340 else
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10342 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10344 cat >>confdefs.h <<_ACEOF
10345 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10346 _ACEOF
10348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10349 /* end confdefs.h. */
10350 #include <X11/Xlib.h>
10351 #include <X11/extensions/Xrandr.h>
10353 main ()
10355 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10357 return 0;
10359 _ACEOF
10360 if ac_fn_c_try_compile "$LINENO"; then :
10362 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10370 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10371 case "x$with_xrandr" in
10372 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10373 xno) ;;
10374 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10375 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10376 esac
10379 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10380 then
10381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10382 /* end confdefs.h. */
10383 #include <X11/Xlib.h>
10384 #include <X11/extensions/Xinerama.h>
10386 main ()
10388 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10390 return 0;
10392 _ACEOF
10393 if ac_fn_c_try_compile "$LINENO"; then :
10394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10395 $as_echo_n "checking for -lXinerama... " >&6; }
10396 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10397 $as_echo_n "(cached) " >&6
10398 else
10399 ac_check_soname_save_LIBS=$LIBS
10400 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10402 /* end confdefs.h. */
10404 /* Override any GCC internal prototype to avoid an error.
10405 Use char because int might match the return type of a GCC
10406 builtin and then its argument prototype would still apply. */
10407 #ifdef __cplusplus
10408 extern "C"
10409 #endif
10410 char XineramaQueryScreens ();
10412 main ()
10414 return XineramaQueryScreens ();
10416 return 0;
10418 _ACEOF
10419 if ac_fn_c_try_link "$LINENO"; then :
10420 case "$LIBEXT" in
10421 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10422 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'` ;;
10423 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10424 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10425 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10426 fi ;;
10427 esac
10429 rm -f core conftest.err conftest.$ac_objext \
10430 conftest$ac_exeext conftest.$ac_ext
10431 LIBS=$ac_check_soname_save_LIBS
10433 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10435 $as_echo "not found" >&6; }
10437 else
10438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10439 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10441 cat >>confdefs.h <<_ACEOF
10442 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10443 _ACEOF
10448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10450 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10451 case "x$with_xinerama" in
10452 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10453 xno) ;;
10454 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10455 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10456 esac
10459 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10460 then
10461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10462 $as_echo_n "checking for -lXcomposite... " >&6; }
10463 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10464 $as_echo_n "(cached) " >&6
10465 else
10466 ac_check_soname_save_LIBS=$LIBS
10467 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10469 /* end confdefs.h. */
10471 /* Override any GCC internal prototype to avoid an error.
10472 Use char because int might match the return type of a GCC
10473 builtin and then its argument prototype would still apply. */
10474 #ifdef __cplusplus
10475 extern "C"
10476 #endif
10477 char XCompositeRedirectWindow ();
10479 main ()
10481 return XCompositeRedirectWindow ();
10483 return 0;
10485 _ACEOF
10486 if ac_fn_c_try_link "$LINENO"; then :
10487 case "$LIBEXT" in
10488 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10489 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'` ;;
10490 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10491 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10492 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10493 fi ;;
10494 esac
10496 rm -f core conftest.err conftest.$ac_objext \
10497 conftest$ac_exeext conftest.$ac_ext
10498 LIBS=$ac_check_soname_save_LIBS
10500 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10502 $as_echo "not found" >&6; }
10504 else
10505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10506 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10508 cat >>confdefs.h <<_ACEOF
10509 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10510 _ACEOF
10515 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10516 case "x$with_xcomposite" in
10517 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10518 xno) ;;
10519 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10520 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10521 esac
10524 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10525 #include <X11/Xlib.h>
10526 #endif
10528 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10530 cat >>confdefs.h <<_ACEOF
10531 #define HAVE_XICCALLBACK_CALLBACK 1
10532 _ACEOF
10536 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10537 #include <X11/Xlib.h>
10538 #endif
10540 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10542 cat >>confdefs.h <<_ACEOF
10543 #define HAVE_XEVENT_XCOOKIE 1
10544 _ACEOF
10551 opengl_msg=""
10552 if test "x$with_opengl" != "xno"
10553 then
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10555 $as_echo_n "checking for -lGL... " >&6; }
10556 if ${ac_cv_lib_soname_GL+:} false; then :
10557 $as_echo_n "(cached) " >&6
10558 else
10559 ac_check_soname_save_LIBS=$LIBS
10560 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10562 /* end confdefs.h. */
10564 /* Override any GCC internal prototype to avoid an error.
10565 Use char because int might match the return type of a GCC
10566 builtin and then its argument prototype would still apply. */
10567 #ifdef __cplusplus
10568 extern "C"
10569 #endif
10570 char glXCreateContext ();
10572 main ()
10574 return glXCreateContext ();
10576 return 0;
10578 _ACEOF
10579 if ac_fn_c_try_link "$LINENO"; then :
10580 case "$LIBEXT" in
10581 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10582 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'` ;;
10583 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10584 if ${ac_cv_lib_soname_GL:+false} :; then :
10585 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10586 fi ;;
10587 esac
10589 rm -f core conftest.err conftest.$ac_objext \
10590 conftest$ac_exeext conftest.$ac_ext
10591 LIBS=$ac_check_soname_save_LIBS
10593 if ${ac_cv_lib_soname_GL:+false} :; then :
10594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10595 $as_echo "not found" >&6; }
10596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10597 $as_echo_n "checking for -lGL... " >&6; }
10598 if ${ac_cv_lib_soname_GL+:} false; then :
10599 $as_echo_n "(cached) " >&6
10600 else
10601 ac_check_soname_save_LIBS=$LIBS
10602 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib $LIBS"
10603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10604 /* end confdefs.h. */
10606 /* Override any GCC internal prototype to avoid an error.
10607 Use char because int might match the return type of a GCC
10608 builtin and then its argument prototype would still apply. */
10609 #ifdef __cplusplus
10610 extern "C"
10611 #endif
10612 char glXCreateContext ();
10614 main ()
10616 return glXCreateContext ();
10618 return 0;
10620 _ACEOF
10621 if ac_fn_c_try_link "$LINENO"; then :
10622 case "$LIBEXT" in
10623 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10624 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'` ;;
10625 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10626 if ${ac_cv_lib_soname_GL:+false} :; then :
10627 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10628 fi ;;
10629 esac
10631 rm -f core conftest.err conftest.$ac_objext \
10632 conftest$ac_exeext conftest.$ac_ext
10633 LIBS=$ac_check_soname_save_LIBS
10635 if ${ac_cv_lib_soname_GL:+false} :; then :
10636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10637 $as_echo "not found" >&6; }
10638 if test -f /usr/X11R6/lib/libGL.a
10639 then
10640 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10641 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10642 else
10643 opengl_msg="No OpenGL library found on this system."
10645 else
10646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10647 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10649 cat >>confdefs.h <<_ACEOF
10650 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10651 _ACEOF
10653 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"
10655 else
10656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10657 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10659 cat >>confdefs.h <<_ACEOF
10660 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10661 _ACEOF
10663 OPENGL_LIBS="-lGL"
10665 if test "x$with_glu" != "xno"
10666 then
10667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10668 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10669 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10670 $as_echo_n "(cached) " >&6
10671 else
10672 ac_check_lib_save_LIBS=$LIBS
10673 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10675 /* end confdefs.h. */
10677 /* Override any GCC internal prototype to avoid an error.
10678 Use char because int might match the return type of a GCC
10679 builtin and then its argument prototype would still apply. */
10680 #ifdef __cplusplus
10681 extern "C"
10682 #endif
10683 char gluLookAt ();
10685 main ()
10687 return gluLookAt ();
10689 return 0;
10691 _ACEOF
10692 if ac_fn_c_try_link "$LINENO"; then :
10693 ac_cv_lib_GLU_gluLookAt=yes
10694 else
10695 ac_cv_lib_GLU_gluLookAt=no
10697 rm -f core conftest.err conftest.$ac_objext \
10698 conftest$ac_exeext conftest.$ac_ext
10699 LIBS=$ac_check_lib_save_LIBS
10701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10702 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10703 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10707 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10708 case "x$with_glu" in
10709 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10710 xno) ;;
10711 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10712 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10713 esac
10717 if test "x$with_osmesa" != "xno"
10718 then
10719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10720 $as_echo_n "checking for -lOSMesa... " >&6; }
10721 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10722 $as_echo_n "(cached) " >&6
10723 else
10724 ac_check_soname_save_LIBS=$LIBS
10725 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10727 /* end confdefs.h. */
10729 /* Override any GCC internal prototype to avoid an error.
10730 Use char because int might match the return type of a GCC
10731 builtin and then its argument prototype would still apply. */
10732 #ifdef __cplusplus
10733 extern "C"
10734 #endif
10735 char glAccum ();
10737 main ()
10739 return glAccum ();
10741 return 0;
10743 _ACEOF
10744 if ac_fn_c_try_link "$LINENO"; then :
10745 case "$LIBEXT" in
10746 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10747 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'` ;;
10748 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10749 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10750 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10751 fi ;;
10752 esac
10754 rm -f core conftest.err conftest.$ac_objext \
10755 conftest$ac_exeext conftest.$ac_ext
10756 LIBS=$ac_check_soname_save_LIBS
10758 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10760 $as_echo "not found" >&6; }
10762 else
10763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10764 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10766 cat >>confdefs.h <<_ACEOF
10767 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10768 _ACEOF
10772 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10773 case "x$with_osmesa" in
10774 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10775 xno) ;;
10776 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10777 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10778 esac
10782 if test -n "$opengl_msg"; then :
10783 case "x$with_opengl" in
10784 x) as_fn_append wine_warnings "|$opengl_msg
10785 OpenGL and Direct3D won't be supported." ;;
10786 xno) ;;
10787 *) as_fn_error $? "$opengl_msg
10788 OpenGL and Direct3D won't be supported.
10789 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10790 esac
10793 CPPFLAGS="$ac_save_CPPFLAGS"
10794 else
10795 X_CFLAGS=""
10796 X_LIBS=""
10797 enable_winex11_drv=${enable_winex11_drv:-no}
10799 if test "x$X_LIBS" = "x"; then :
10800 case "x$with_x" in
10801 xno) ;;
10802 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10803 without X support, which probably isn't what you want. You will need
10804 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10805 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10806 esac
10809 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10811 if test "$ac_cv_header_CL_cl_h" = "yes"
10812 then
10813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10814 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10815 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10816 $as_echo_n "(cached) " >&6
10817 else
10818 ac_check_lib_save_LIBS=$LIBS
10819 LIBS="-lOpenCL $LIBS"
10820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10821 /* end confdefs.h. */
10823 /* Override any GCC internal prototype to avoid an error.
10824 Use char because int might match the return type of a GCC
10825 builtin and then its argument prototype would still apply. */
10826 #ifdef __cplusplus
10827 extern "C"
10828 #endif
10829 char clGetPlatformInfo ();
10831 main ()
10833 return clGetPlatformInfo ();
10835 return 0;
10837 _ACEOF
10838 if ac_fn_c_try_link "$LINENO"; then :
10839 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10840 else
10841 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10843 rm -f core conftest.err conftest.$ac_objext \
10844 conftest$ac_exeext conftest.$ac_ext
10845 LIBS=$ac_check_lib_save_LIBS
10847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10848 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10849 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10850 OPENCL_LIBS="-lOpenCL"
10855 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10856 case "x$with_opencl" in
10857 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10858 xno) ;;
10859 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10860 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10861 esac
10863 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10865 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10866 then
10867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10868 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10869 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10870 $as_echo_n "(cached) " >&6
10871 else
10872 ac_check_lib_save_LIBS=$LIBS
10873 LIBS="-lpcap $LIBS"
10874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10875 /* end confdefs.h. */
10877 /* Override any GCC internal prototype to avoid an error.
10878 Use char because int might match the return type of a GCC
10879 builtin and then its argument prototype would still apply. */
10880 #ifdef __cplusplus
10881 extern "C"
10882 #endif
10883 char pcap_create ();
10885 main ()
10887 return pcap_create ();
10889 return 0;
10891 _ACEOF
10892 if ac_fn_c_try_link "$LINENO"; then :
10893 ac_cv_lib_pcap_pcap_create=yes
10894 else
10895 ac_cv_lib_pcap_pcap_create=no
10897 rm -f core conftest.err conftest.$ac_objext \
10898 conftest$ac_exeext conftest.$ac_ext
10899 LIBS=$ac_check_lib_save_LIBS
10901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10902 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10903 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10904 LIBPCAP="-lpcap"
10909 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10910 case "x$with_pcap" in
10911 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10912 xno) ;;
10913 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10914 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10915 esac
10917 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10920 if test "x$with_xml" != "xno"
10921 then
10922 if ${XML2_CFLAGS:+false} :; then :
10923 if ${PKG_CONFIG+:} false; then :
10924 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10927 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10928 if ${XML2_LIBS:+false} :; then :
10929 if ${PKG_CONFIG+:} false; then :
10930 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10933 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10934 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10935 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10936 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10937 ac_save_CPPFLAGS=$CPPFLAGS
10938 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10939 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10940 do :
10941 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10942 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10943 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10944 cat >>confdefs.h <<_ACEOF
10945 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10946 _ACEOF
10950 done
10952 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"
10953 then
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10955 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10956 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10957 $as_echo_n "(cached) " >&6
10958 else
10959 ac_check_lib_save_LIBS=$LIBS
10960 LIBS="-lxml2 $XML2_LIBS $LIBS"
10961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10962 /* end confdefs.h. */
10964 /* Override any GCC internal prototype to avoid an error.
10965 Use char because int might match the return type of a GCC
10966 builtin and then its argument prototype would still apply. */
10967 #ifdef __cplusplus
10968 extern "C"
10969 #endif
10970 char xmlParseMemory ();
10972 main ()
10974 return xmlParseMemory ();
10976 return 0;
10978 _ACEOF
10979 if ac_fn_c_try_link "$LINENO"; then :
10980 ac_cv_lib_xml2_xmlParseMemory=yes
10981 else
10982 ac_cv_lib_xml2_xmlParseMemory=no
10984 rm -f core conftest.err conftest.$ac_objext \
10985 conftest$ac_exeext conftest.$ac_ext
10986 LIBS=$ac_check_lib_save_LIBS
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10989 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10990 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10992 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10994 else
10995 XML2_LIBS=""
10998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10999 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11000 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11001 $as_echo_n "(cached) " >&6
11002 else
11003 ac_check_lib_save_LIBS=$LIBS
11004 LIBS="-lxml2 $XML2_LIBS $LIBS"
11005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11006 /* end confdefs.h. */
11008 /* Override any GCC internal prototype to avoid an error.
11009 Use char because int might match the return type of a GCC
11010 builtin and then its argument prototype would still apply. */
11011 #ifdef __cplusplus
11012 extern "C"
11013 #endif
11014 char xmlReadMemory ();
11016 main ()
11018 return xmlReadMemory ();
11020 return 0;
11022 _ACEOF
11023 if ac_fn_c_try_link "$LINENO"; then :
11024 ac_cv_lib_xml2_xmlReadMemory=yes
11025 else
11026 ac_cv_lib_xml2_xmlReadMemory=no
11028 rm -f core conftest.err conftest.$ac_objext \
11029 conftest$ac_exeext conftest.$ac_ext
11030 LIBS=$ac_check_lib_save_LIBS
11032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11033 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11034 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11036 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11041 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11042 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11043 $as_echo_n "(cached) " >&6
11044 else
11045 ac_check_lib_save_LIBS=$LIBS
11046 LIBS="-lxml2 $XML2_LIBS $LIBS"
11047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11048 /* end confdefs.h. */
11050 /* Override any GCC internal prototype to avoid an error.
11051 Use char because int might match the return type of a GCC
11052 builtin and then its argument prototype would still apply. */
11053 #ifdef __cplusplus
11054 extern "C"
11055 #endif
11056 char xmlNewDocPI ();
11058 main ()
11060 return xmlNewDocPI ();
11062 return 0;
11064 _ACEOF
11065 if ac_fn_c_try_link "$LINENO"; then :
11066 ac_cv_lib_xml2_xmlNewDocPI=yes
11067 else
11068 ac_cv_lib_xml2_xmlNewDocPI=no
11070 rm -f core conftest.err conftest.$ac_objext \
11071 conftest$ac_exeext conftest.$ac_ext
11072 LIBS=$ac_check_lib_save_LIBS
11074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11075 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11076 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11078 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11083 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11084 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11085 $as_echo_n "(cached) " >&6
11086 else
11087 ac_check_lib_save_LIBS=$LIBS
11088 LIBS="-lxml2 $XML2_LIBS $LIBS"
11089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11090 /* end confdefs.h. */
11092 /* Override any GCC internal prototype to avoid an error.
11093 Use char because int might match the return type of a GCC
11094 builtin and then its argument prototype would still apply. */
11095 #ifdef __cplusplus
11096 extern "C"
11097 #endif
11098 char xmlSchemaSetParserStructuredErrors ();
11100 main ()
11102 return xmlSchemaSetParserStructuredErrors ();
11104 return 0;
11106 _ACEOF
11107 if ac_fn_c_try_link "$LINENO"; then :
11108 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11109 else
11110 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11112 rm -f core conftest.err conftest.$ac_objext \
11113 conftest$ac_exeext conftest.$ac_ext
11114 LIBS=$ac_check_lib_save_LIBS
11116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11117 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11118 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11120 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11125 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11126 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11127 $as_echo_n "(cached) " >&6
11128 else
11129 ac_check_lib_save_LIBS=$LIBS
11130 LIBS="-lxml2 $XML2_LIBS $LIBS"
11131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11132 /* end confdefs.h. */
11134 /* Override any GCC internal prototype to avoid an error.
11135 Use char because int might match the return type of a GCC
11136 builtin and then its argument prototype would still apply. */
11137 #ifdef __cplusplus
11138 extern "C"
11139 #endif
11140 char xmlSchemaSetValidStructuredErrors ();
11142 main ()
11144 return xmlSchemaSetValidStructuredErrors ();
11146 return 0;
11148 _ACEOF
11149 if ac_fn_c_try_link "$LINENO"; then :
11150 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11151 else
11152 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11154 rm -f core conftest.err conftest.$ac_objext \
11155 conftest$ac_exeext conftest.$ac_ext
11156 LIBS=$ac_check_lib_save_LIBS
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11159 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11160 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11162 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11167 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11168 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11169 $as_echo_n "(cached) " >&6
11170 else
11171 ac_check_lib_save_LIBS=$LIBS
11172 LIBS="-lxml2 $XML2_LIBS $LIBS"
11173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11174 /* end confdefs.h. */
11176 /* Override any GCC internal prototype to avoid an error.
11177 Use char because int might match the return type of a GCC
11178 builtin and then its argument prototype would still apply. */
11179 #ifdef __cplusplus
11180 extern "C"
11181 #endif
11182 char xmlFirstElementChild ();
11184 main ()
11186 return xmlFirstElementChild ();
11188 return 0;
11190 _ACEOF
11191 if ac_fn_c_try_link "$LINENO"; then :
11192 ac_cv_lib_xml2_xmlFirstElementChild=yes
11193 else
11194 ac_cv_lib_xml2_xmlFirstElementChild=no
11196 rm -f core conftest.err conftest.$ac_objext \
11197 conftest$ac_exeext conftest.$ac_ext
11198 LIBS=$ac_check_lib_save_LIBS
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11201 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11202 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11204 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11208 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11210 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11212 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11216 else
11217 XML2_CFLAGS=""
11218 XML2_LIBS=""
11220 CPPFLAGS=$ac_save_CPPFLAGS
11221 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11222 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11225 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11226 case "x$with_xml" in
11227 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11228 xno) ;;
11229 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11230 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11231 esac
11234 if test "x$with_xslt" != "xno"
11235 then
11236 if ${XSLT_CFLAGS:+false} :; then :
11237 if ${PKG_CONFIG+:} false; then :
11238 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11241 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11242 if ${XSLT_LIBS:+false} :; then :
11243 if ${PKG_CONFIG+:} false; then :
11244 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11247 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11248 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11249 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11250 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11251 ac_save_CPPFLAGS=$CPPFLAGS
11252 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11253 for ac_header in libxslt/pattern.h libxslt/transform.h
11254 do :
11255 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11256 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11257 # include <libxslt/pattern.h>
11258 #endif
11260 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11261 cat >>confdefs.h <<_ACEOF
11262 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11263 _ACEOF
11267 done
11269 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11270 then
11271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11272 $as_echo_n "checking for -lxslt... " >&6; }
11273 if ${ac_cv_lib_soname_xslt+:} false; then :
11274 $as_echo_n "(cached) " >&6
11275 else
11276 ac_check_soname_save_LIBS=$LIBS
11277 LIBS="-lxslt $XSLT_LIBS $LIBS"
11278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11279 /* end confdefs.h. */
11281 /* Override any GCC internal prototype to avoid an error.
11282 Use char because int might match the return type of a GCC
11283 builtin and then its argument prototype would still apply. */
11284 #ifdef __cplusplus
11285 extern "C"
11286 #endif
11287 char xsltCompilePattern ();
11289 main ()
11291 return xsltCompilePattern ();
11293 return 0;
11295 _ACEOF
11296 if ac_fn_c_try_link "$LINENO"; then :
11297 case "$LIBEXT" in
11298 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11299 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'` ;;
11300 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11301 if ${ac_cv_lib_soname_xslt:+false} :; then :
11302 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11303 fi ;;
11304 esac
11306 rm -f core conftest.err conftest.$ac_objext \
11307 conftest$ac_exeext conftest.$ac_ext
11308 LIBS=$ac_check_soname_save_LIBS
11310 if ${ac_cv_lib_soname_xslt:+false} :; then :
11311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11312 $as_echo "not found" >&6; }
11314 else
11315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11316 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11318 cat >>confdefs.h <<_ACEOF
11319 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11320 _ACEOF
11324 else
11325 XSLT_CFLAGS=""
11327 CPPFLAGS=$ac_save_CPPFLAGS
11328 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11329 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11332 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11333 case "x$with_xslt" in
11334 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11335 xno) ;;
11336 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11337 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11338 esac
11341 if test "x$with_dbus" != "xno"
11342 then
11343 if ${DBUS_CFLAGS:+false} :; then :
11344 if ${PKG_CONFIG+:} false; then :
11345 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11349 if ${DBUS_LIBS:+false} :; then :
11350 if ${PKG_CONFIG+:} false; then :
11351 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11356 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11357 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11358 ac_save_CPPFLAGS=$CPPFLAGS
11359 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11360 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11361 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11363 $as_echo_n "checking for -ldbus-1... " >&6; }
11364 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11365 $as_echo_n "(cached) " >&6
11366 else
11367 ac_check_soname_save_LIBS=$LIBS
11368 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11370 /* end confdefs.h. */
11372 /* Override any GCC internal prototype to avoid an error.
11373 Use char because int might match the return type of a GCC
11374 builtin and then its argument prototype would still apply. */
11375 #ifdef __cplusplus
11376 extern "C"
11377 #endif
11378 char dbus_connection_close ();
11380 main ()
11382 return dbus_connection_close ();
11384 return 0;
11386 _ACEOF
11387 if ac_fn_c_try_link "$LINENO"; then :
11388 case "$LIBEXT" in
11389 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11390 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'` ;;
11391 *) ac_cv_lib_soname_dbus_1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libdbus-1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libdbus-1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11392 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11393 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11394 fi ;;
11395 esac
11397 rm -f core conftest.err conftest.$ac_objext \
11398 conftest$ac_exeext conftest.$ac_ext
11399 LIBS=$ac_check_soname_save_LIBS
11401 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11403 $as_echo "not found" >&6; }
11404 DBUS_CFLAGS=""
11405 else
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11407 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11409 cat >>confdefs.h <<_ACEOF
11410 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11411 _ACEOF
11415 else
11416 DBUS_CFLAGS=""
11420 CPPFLAGS=$ac_save_CPPFLAGS
11421 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11422 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11425 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11426 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11427 case "x$with_dbus" in
11428 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11429 xno) ;;
11430 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11431 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11432 esac
11435 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11436 then
11437 if ${HAL_CFLAGS:+false} :; then :
11438 if ${PKG_CONFIG+:} false; then :
11439 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11443 if ${HAL_LIBS:+false} :; then :
11444 if ${PKG_CONFIG+:} false; then :
11445 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11449 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11450 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11451 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11452 ac_save_CPPFLAGS=$CPPFLAGS
11453 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11454 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11455 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11457 $as_echo_n "checking for -lhal... " >&6; }
11458 if ${ac_cv_lib_soname_hal+:} false; then :
11459 $as_echo_n "(cached) " >&6
11460 else
11461 ac_check_soname_save_LIBS=$LIBS
11462 LIBS="-lhal $HAL_LIBS $LIBS"
11463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11464 /* end confdefs.h. */
11466 /* Override any GCC internal prototype to avoid an error.
11467 Use char because int might match the return type of a GCC
11468 builtin and then its argument prototype would still apply. */
11469 #ifdef __cplusplus
11470 extern "C"
11471 #endif
11472 char libhal_ctx_new ();
11474 main ()
11476 return libhal_ctx_new ();
11478 return 0;
11480 _ACEOF
11481 if ac_fn_c_try_link "$LINENO"; then :
11482 case "$LIBEXT" in
11483 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11484 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'` ;;
11485 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11486 if ${ac_cv_lib_soname_hal:+false} :; then :
11487 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11488 fi ;;
11489 esac
11491 rm -f core conftest.err conftest.$ac_objext \
11492 conftest$ac_exeext conftest.$ac_ext
11493 LIBS=$ac_check_soname_save_LIBS
11495 if ${ac_cv_lib_soname_hal:+false} :; then :
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11497 $as_echo "not found" >&6; }
11498 HAL_CFLAGS=""
11499 else
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11501 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11503 cat >>confdefs.h <<_ACEOF
11504 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11505 _ACEOF
11509 else
11510 HAL_CFLAGS=""
11514 CPPFLAGS=$ac_save_CPPFLAGS
11515 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11516 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11518 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11519 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11520 case "x$with_hal" in
11521 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11522 xno) ;;
11523 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11524 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11525 esac
11529 if test "x$with_gnutls" != "xno"
11530 then
11531 if ${GNUTLS_CFLAGS:+false} :; then :
11532 if ${PKG_CONFIG+:} false; then :
11533 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11537 if ${GNUTLS_LIBS:+false} :; then :
11538 if ${PKG_CONFIG+:} false; then :
11539 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11544 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11545 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11546 ac_save_CPPFLAGS=$CPPFLAGS
11547 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11548 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11549 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11551 /* end confdefs.h. */
11552 #include <gnutls/gnutls.h>
11553 #include <gnutls/crypto.h>
11555 main ()
11557 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11559 return 0;
11561 _ACEOF
11562 if ac_fn_c_try_compile "$LINENO"; then :
11563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11564 $as_echo_n "checking for -lgnutls... " >&6; }
11565 if ${ac_cv_lib_soname_gnutls+:} false; then :
11566 $as_echo_n "(cached) " >&6
11567 else
11568 ac_check_soname_save_LIBS=$LIBS
11569 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11571 /* end confdefs.h. */
11573 /* Override any GCC internal prototype to avoid an error.
11574 Use char because int might match the return type of a GCC
11575 builtin and then its argument prototype would still apply. */
11576 #ifdef __cplusplus
11577 extern "C"
11578 #endif
11579 char gnutls_global_init ();
11581 main ()
11583 return gnutls_global_init ();
11585 return 0;
11587 _ACEOF
11588 if ac_fn_c_try_link "$LINENO"; then :
11589 case "$LIBEXT" in
11590 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11591 dylib) ac_cv_lib_soname_gnutls=`$OTOOL -L conftest$ac_exeext | grep "libgnutls\\(-deb0\\)\\{0,1\\}\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgnutls\\(-deb0\\)\\{0,1\\}\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11592 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11593 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11594 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\\(-deb0\\)\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11595 fi ;;
11596 esac
11598 rm -f core conftest.err conftest.$ac_objext \
11599 conftest$ac_exeext conftest.$ac_ext
11600 LIBS=$ac_check_soname_save_LIBS
11602 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11604 $as_echo "not found" >&6; }
11605 GNUTLS_CFLAGS=""
11606 else
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11608 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11610 cat >>confdefs.h <<_ACEOF
11611 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11612 _ACEOF
11617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11618 else
11619 GNUTLS_CFLAGS=""
11623 CPPFLAGS=$ac_save_CPPFLAGS
11624 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11625 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11628 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11629 case "x$with_gnutls" in
11630 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11631 xno) ;;
11632 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11633 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11634 esac
11637 CURSES_LIBS=""
11638 if test "$ac_cv_header_ncurses_h" = "yes"
11639 then
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11641 $as_echo_n "checking for -lncurses... " >&6; }
11642 if ${ac_cv_lib_soname_ncurses+:} false; then :
11643 $as_echo_n "(cached) " >&6
11644 else
11645 ac_check_soname_save_LIBS=$LIBS
11646 LIBS="-lncurses $LIBS"
11647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11648 /* end confdefs.h. */
11650 /* Override any GCC internal prototype to avoid an error.
11651 Use char because int might match the return type of a GCC
11652 builtin and then its argument prototype would still apply. */
11653 #ifdef __cplusplus
11654 extern "C"
11655 #endif
11656 char waddch ();
11658 main ()
11660 return waddch ();
11662 return 0;
11664 _ACEOF
11665 if ac_fn_c_try_link "$LINENO"; then :
11666 case "$LIBEXT" in
11667 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11668 dylib) ac_cv_lib_soname_ncurses=`$OTOOL -L conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libncursesw\\{0,1\\}\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11669 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncursesw\\{0,1\\}\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11670 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11671 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11672 fi ;;
11673 esac
11675 rm -f core conftest.err conftest.$ac_objext \
11676 conftest$ac_exeext conftest.$ac_ext
11677 LIBS=$ac_check_soname_save_LIBS
11679 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11681 $as_echo "not found" >&6; }
11683 else
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11685 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11687 cat >>confdefs.h <<_ACEOF
11688 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11689 _ACEOF
11691 CURSES_LIBS="-lncurses"
11693 elif test "$ac_cv_header_curses_h" = "yes"
11694 then
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11696 $as_echo_n "checking for -lcurses... " >&6; }
11697 if ${ac_cv_lib_soname_curses+:} false; then :
11698 $as_echo_n "(cached) " >&6
11699 else
11700 ac_check_soname_save_LIBS=$LIBS
11701 LIBS="-lcurses $LIBS"
11702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11703 /* end confdefs.h. */
11705 /* Override any GCC internal prototype to avoid an error.
11706 Use char because int might match the return type of a GCC
11707 builtin and then its argument prototype would still apply. */
11708 #ifdef __cplusplus
11709 extern "C"
11710 #endif
11711 char waddch ();
11713 main ()
11715 return waddch ();
11717 return 0;
11719 _ACEOF
11720 if ac_fn_c_try_link "$LINENO"; then :
11721 case "$LIBEXT" in
11722 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11723 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'` ;;
11724 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11725 if ${ac_cv_lib_soname_curses:+false} :; then :
11726 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11727 fi ;;
11728 esac
11730 rm -f core conftest.err conftest.$ac_objext \
11731 conftest$ac_exeext conftest.$ac_ext
11732 LIBS=$ac_check_soname_save_LIBS
11734 if ${ac_cv_lib_soname_curses:+false} :; then :
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11736 $as_echo "not found" >&6; }
11738 else
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11740 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11742 cat >>confdefs.h <<_ACEOF
11743 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11744 _ACEOF
11746 CURSES_LIBS="-lcurses"
11749 ac_save_LIBS="$LIBS"
11750 LIBS="$LIBS $CURSES_LIBS"
11751 for ac_func in mousemask
11752 do :
11753 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11754 if test "x$ac_cv_func_mousemask" = xyes; then :
11755 cat >>confdefs.h <<_ACEOF
11756 #define HAVE_MOUSEMASK 1
11757 _ACEOF
11760 done
11762 LIBS="$ac_save_LIBS"
11763 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11764 case "x$with_curses" in
11765 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11766 xno) ;;
11767 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11768 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11769 esac
11772 if test "x$with_sane" != "xno"
11773 then
11774 if ${SANE_CFLAGS:+false} :; then :
11775 if ${PKG_CONFIG+:} false; then :
11776 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11779 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11780 if ${SANE_LIBS:+false} :; then :
11781 if ${PKG_CONFIG+:} false; then :
11782 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11785 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11787 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11788 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11789 ac_save_CPPFLAGS=$CPPFLAGS
11790 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11791 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11792 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11794 $as_echo_n "checking for -lsane... " >&6; }
11795 if ${ac_cv_lib_soname_sane+:} false; then :
11796 $as_echo_n "(cached) " >&6
11797 else
11798 ac_check_soname_save_LIBS=$LIBS
11799 LIBS="-lsane $SANE_LIBS $LIBS"
11800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11801 /* end confdefs.h. */
11803 /* Override any GCC internal prototype to avoid an error.
11804 Use char because int might match the return type of a GCC
11805 builtin and then its argument prototype would still apply. */
11806 #ifdef __cplusplus
11807 extern "C"
11808 #endif
11809 char sane_init ();
11811 main ()
11813 return sane_init ();
11815 return 0;
11817 _ACEOF
11818 if ac_fn_c_try_link "$LINENO"; then :
11819 case "$LIBEXT" in
11820 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11821 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'` ;;
11822 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11823 if ${ac_cv_lib_soname_sane:+false} :; then :
11824 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11825 fi ;;
11826 esac
11828 rm -f core conftest.err conftest.$ac_objext \
11829 conftest$ac_exeext conftest.$ac_ext
11830 LIBS=$ac_check_soname_save_LIBS
11832 if ${ac_cv_lib_soname_sane:+false} :; then :
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11834 $as_echo "not found" >&6; }
11835 SANE_CFLAGS=""
11836 else
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11838 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11840 cat >>confdefs.h <<_ACEOF
11841 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11842 _ACEOF
11846 else
11847 SANE_CFLAGS=""
11851 CPPFLAGS=$ac_save_CPPFLAGS
11852 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11853 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11856 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11857 case "x$with_sane" in
11858 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11859 xno) ;;
11860 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11861 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11862 esac
11865 if test "x$with_v4l" != "xno"
11866 then
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11868 $as_echo_n "checking for -lv4l1... " >&6; }
11869 if ${ac_cv_lib_soname_v4l1+:} false; then :
11870 $as_echo_n "(cached) " >&6
11871 else
11872 ac_check_soname_save_LIBS=$LIBS
11873 LIBS="-lv4l1 $LIBS"
11874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11875 /* end confdefs.h. */
11877 /* Override any GCC internal prototype to avoid an error.
11878 Use char because int might match the return type of a GCC
11879 builtin and then its argument prototype would still apply. */
11880 #ifdef __cplusplus
11881 extern "C"
11882 #endif
11883 char v4l1_open ();
11885 main ()
11887 return v4l1_open ();
11889 return 0;
11891 _ACEOF
11892 if ac_fn_c_try_link "$LINENO"; then :
11893 case "$LIBEXT" in
11894 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11895 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'` ;;
11896 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11897 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11898 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11899 fi ;;
11900 esac
11902 rm -f core conftest.err conftest.$ac_objext \
11903 conftest$ac_exeext conftest.$ac_ext
11904 LIBS=$ac_check_soname_save_LIBS
11906 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11908 $as_echo "not found" >&6; }
11910 else
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11912 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11914 cat >>confdefs.h <<_ACEOF
11915 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11916 _ACEOF
11921 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11922 case "x$with_v4l" in
11923 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11924 xno) ;;
11925 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11926 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11927 esac
11930 if test "x$with_gphoto" != "xno"
11931 then
11932 if ${GPHOTO2_CFLAGS:+false} :; then :
11933 if ${PKG_CONFIG+:} false; then :
11934 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11937 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11938 if ${GPHOTO2_LIBS:+false} :; then :
11939 if ${PKG_CONFIG+:} false; then :
11940 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11943 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11944 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11945 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11946 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11947 ac_save_CPPFLAGS=$CPPFLAGS
11948 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11949 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11950 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11952 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11953 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11954 $as_echo_n "(cached) " >&6
11955 else
11956 ac_check_lib_save_LIBS=$LIBS
11957 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11959 /* end confdefs.h. */
11961 /* Override any GCC internal prototype to avoid an error.
11962 Use char because int might match the return type of a GCC
11963 builtin and then its argument prototype would still apply. */
11964 #ifdef __cplusplus
11965 extern "C"
11966 #endif
11967 char gp_camera_new ();
11969 main ()
11971 return gp_camera_new ();
11973 return 0;
11975 _ACEOF
11976 if ac_fn_c_try_link "$LINENO"; then :
11977 ac_cv_lib_gphoto2_gp_camera_new=yes
11978 else
11979 ac_cv_lib_gphoto2_gp_camera_new=no
11981 rm -f core conftest.err conftest.$ac_objext \
11982 conftest$ac_exeext conftest.$ac_ext
11983 LIBS=$ac_check_lib_save_LIBS
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11986 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11987 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11989 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11991 else
11992 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11995 else
11996 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12000 CPPFLAGS=$ac_save_CPPFLAGS
12001 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12002 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12004 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12005 if ${PKG_CONFIG+:} false; then :
12006 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12009 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
12010 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12011 if ${PKG_CONFIG+:} false; then :
12012 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12015 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
12016 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12017 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12018 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12019 ac_save_CPPFLAGS=$CPPFLAGS
12020 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12021 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12022 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12024 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12025 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12026 $as_echo_n "(cached) " >&6
12027 else
12028 ac_check_lib_save_LIBS=$LIBS
12029 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12031 /* end confdefs.h. */
12033 /* Override any GCC internal prototype to avoid an error.
12034 Use char because int might match the return type of a GCC
12035 builtin and then its argument prototype would still apply. */
12036 #ifdef __cplusplus
12037 extern "C"
12038 #endif
12039 char gp_port_info_list_new ();
12041 main ()
12043 return gp_port_info_list_new ();
12045 return 0;
12047 _ACEOF
12048 if ac_fn_c_try_link "$LINENO"; then :
12049 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12050 else
12051 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12053 rm -f core conftest.err conftest.$ac_objext \
12054 conftest$ac_exeext conftest.$ac_ext
12055 LIBS=$ac_check_lib_save_LIBS
12057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12058 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12059 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12061 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12063 else
12064 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12067 else
12068 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12072 CPPFLAGS=$ac_save_CPPFLAGS
12073 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12074 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12077 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12078 case "x$with_gphoto" in
12079 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12080 xno) ;;
12081 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12082 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12083 esac
12085 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12086 case "x$with_gphoto" in
12087 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12088 xno) ;;
12089 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12090 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12091 esac
12095 if test "$ac_cv_header_resolv_h" = "yes"
12096 then
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12098 $as_echo_n "checking for resolver library... " >&6; }
12099 if ${ac_cv_have_resolv+:} false; then :
12100 $as_echo_n "(cached) " >&6
12101 else
12102 ac_save_LIBS="$LIBS"
12103 for lib in '' -lresolv
12105 LIBS="$lib $ac_save_LIBS"
12106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12107 /* end confdefs.h. */
12108 #ifdef HAVE_NETINET_IN_H
12109 #include <netinet/in.h>
12110 #endif
12111 #include <resolv.h>
12113 main ()
12115 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12117 return 0;
12119 _ACEOF
12120 if ac_fn_c_try_link "$LINENO"; then :
12121 ac_cv_have_resolv=${lib:-"none required"}
12122 else
12123 ac_cv_have_resolv="not found"
12125 rm -f core conftest.err conftest.$ac_objext \
12126 conftest$ac_exeext conftest.$ac_ext
12127 test "x$ac_cv_have_resolv" = "xnot found" || break
12128 done
12129 LIBS="$ac_save_LIBS"
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12132 $as_echo "$ac_cv_have_resolv" >&6; }
12134 case "$ac_cv_have_resolv" in
12135 "not found") ;;
12136 "none required")
12138 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12141 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12143 RESOLV_LIBS=$ac_cv_have_resolv
12145 esac
12148 if test "x$with_cms" != "xno"
12149 then
12150 if ${LCMS2_CFLAGS:+false} :; then :
12151 if ${PKG_CONFIG+:} false; then :
12152 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12156 if ${LCMS2_LIBS:+false} :; then :
12157 if ${PKG_CONFIG+:} false; then :
12158 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12162 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12163 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12164 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12165 ac_save_CPPFLAGS=$CPPFLAGS
12166 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12167 for ac_header in lcms2.h
12168 do :
12169 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12170 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12171 cat >>confdefs.h <<_ACEOF
12172 #define HAVE_LCMS2_H 1
12173 _ACEOF
12177 done
12179 if test "$ac_cv_header_lcms2_h" = "yes"
12180 then
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12182 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12183 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12184 $as_echo_n "(cached) " >&6
12185 else
12186 ac_check_lib_save_LIBS=$LIBS
12187 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12189 /* end confdefs.h. */
12191 /* Override any GCC internal prototype to avoid an error.
12192 Use char because int might match the return type of a GCC
12193 builtin and then its argument prototype would still apply. */
12194 #ifdef __cplusplus
12195 extern "C"
12196 #endif
12197 char cmsOpenProfileFromFile ();
12199 main ()
12201 return cmsOpenProfileFromFile ();
12203 return 0;
12205 _ACEOF
12206 if ac_fn_c_try_link "$LINENO"; then :
12207 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12208 else
12209 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12211 rm -f core conftest.err conftest.$ac_objext \
12212 conftest$ac_exeext conftest.$ac_ext
12213 LIBS=$ac_check_lib_save_LIBS
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12216 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12217 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12219 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12221 else
12222 LCMS2_LIBS=""
12225 else
12226 LCMS2_CFLAGS=""
12227 LCMS2_LIBS=""
12229 CPPFLAGS=$ac_save_CPPFLAGS
12230 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12231 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12234 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12235 case "x$with_cms" in
12236 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12237 xno) ;;
12238 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12239 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12240 esac
12243 if test "x$with_freetype" != "xno"
12244 then
12245 if ${FREETYPE_CFLAGS:+false} :; then :
12246 if ${PKG_CONFIG+:} false; then :
12247 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12250 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12251 if ${FREETYPE_LIBS:+false} :; then :
12252 if ${PKG_CONFIG+:} false; then :
12253 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12256 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12257 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12258 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12259 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12260 ac_save_CPPFLAGS=$CPPFLAGS
12261 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12262 for ac_header in ft2build.h
12263 do :
12264 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12265 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12266 cat >>confdefs.h <<_ACEOF
12267 #define HAVE_FT2BUILD_H 1
12268 _ACEOF
12272 done
12274 if test "$ac_cv_header_ft2build_h" = "yes"
12275 then
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12277 $as_echo_n "checking for -lfreetype... " >&6; }
12278 if ${ac_cv_lib_soname_freetype+:} false; then :
12279 $as_echo_n "(cached) " >&6
12280 else
12281 ac_check_soname_save_LIBS=$LIBS
12282 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12284 /* end confdefs.h. */
12286 /* Override any GCC internal prototype to avoid an error.
12287 Use char because int might match the return type of a GCC
12288 builtin and then its argument prototype would still apply. */
12289 #ifdef __cplusplus
12290 extern "C"
12291 #endif
12292 char FT_Init_FreeType ();
12294 main ()
12296 return FT_Init_FreeType ();
12298 return 0;
12300 _ACEOF
12301 if ac_fn_c_try_link "$LINENO"; then :
12302 case "$LIBEXT" in
12303 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12304 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'` ;;
12305 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12306 if ${ac_cv_lib_soname_freetype:+false} :; then :
12307 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12308 fi ;;
12309 esac
12311 rm -f core conftest.err conftest.$ac_objext \
12312 conftest$ac_exeext conftest.$ac_ext
12313 LIBS=$ac_check_soname_save_LIBS
12315 if ${ac_cv_lib_soname_freetype:+false} :; then :
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12317 $as_echo "not found" >&6; }
12318 FREETYPE_LIBS=""
12319 else
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12321 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12323 cat >>confdefs.h <<_ACEOF
12324 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12325 _ACEOF
12328 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12330 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12331 #include FT_MODULE_H
12333 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12335 cat >>confdefs.h <<_ACEOF
12336 #define HAVE_FT_TRUETYPEENGINETYPE 1
12337 _ACEOF
12343 else
12344 FREETYPE_CFLAGS=""
12345 FREETYPE_LIBS=""
12347 CPPFLAGS=$ac_save_CPPFLAGS
12348 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12349 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12352 if test "x$ac_cv_lib_soname_freetype" = x; then :
12353 case "x$with_freetype" in
12354 xno) ;;
12355 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12356 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12357 esac
12359 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12362 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12363 if ${ac_cv_c_ppdev+:} false; then :
12364 $as_echo_n "(cached) " >&6
12365 else
12366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12367 /* end confdefs.h. */
12368 #ifdef HAVE_SYS_IOCTL_H
12369 # include <sys/ioctl.h>
12370 #endif
12371 #include <linux/ppdev.h>
12373 main ()
12375 ioctl (1,PPCLAIM,0)
12377 return 0;
12379 _ACEOF
12380 if ac_fn_c_try_compile "$LINENO"; then :
12381 ac_cv_c_ppdev="yes"
12382 else
12383 ac_cv_c_ppdev="no"
12385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12388 $as_echo "$ac_cv_c_ppdev" >&6; }
12389 if test "$ac_cv_c_ppdev" = "yes"
12390 then
12392 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12396 ac_wine_check_funcs_save_LIBS="$LIBS"
12397 LIBS="$LIBS $PTHREAD_LIBS"
12398 for ac_func in \
12399 pthread_attr_get_np \
12400 pthread_getattr_np \
12401 pthread_getthreadid_np \
12402 pthread_get_stackaddr_np \
12403 pthread_get_stacksize_np
12404 do :
12405 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12406 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12407 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12408 cat >>confdefs.h <<_ACEOF
12409 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12410 _ACEOF
12413 done
12415 LIBS="$ac_wine_check_funcs_save_LIBS"
12417 if test "$ac_cv_header_zlib_h" = "yes"
12418 then
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12420 $as_echo_n "checking for inflate in -lz... " >&6; }
12421 if ${ac_cv_lib_z_inflate+:} false; then :
12422 $as_echo_n "(cached) " >&6
12423 else
12424 ac_check_lib_save_LIBS=$LIBS
12425 LIBS="-lz $LIBS"
12426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12427 /* end confdefs.h. */
12429 /* Override any GCC internal prototype to avoid an error.
12430 Use char because int might match the return type of a GCC
12431 builtin and then its argument prototype would still apply. */
12432 #ifdef __cplusplus
12433 extern "C"
12434 #endif
12435 char inflate ();
12437 main ()
12439 return inflate ();
12441 return 0;
12443 _ACEOF
12444 if ac_fn_c_try_link "$LINENO"; then :
12445 ac_cv_lib_z_inflate=yes
12446 else
12447 ac_cv_lib_z_inflate=no
12449 rm -f core conftest.err conftest.$ac_objext \
12450 conftest$ac_exeext conftest.$ac_ext
12451 LIBS=$ac_check_lib_save_LIBS
12453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12454 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12455 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12457 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12459 Z_LIBS="-lz"
12464 if test "x$Z_LIBS" = "x"; then :
12465 case "x$with_zlib" in
12466 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12467 xno) ;;
12468 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12469 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12470 esac
12473 if test "x$enable_tools" != xno
12474 then
12475 if test "$ac_cv_header_gettext_po_h" = "yes"
12476 then
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12478 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12479 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12480 $as_echo_n "(cached) " >&6
12481 else
12482 ac_check_lib_save_LIBS=$LIBS
12483 LIBS="-lgettextpo $LIBS"
12484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12485 /* end confdefs.h. */
12487 /* Override any GCC internal prototype to avoid an error.
12488 Use char because int might match the return type of a GCC
12489 builtin and then its argument prototype would still apply. */
12490 #ifdef __cplusplus
12491 extern "C"
12492 #endif
12493 char po_message_msgctxt ();
12495 main ()
12497 return po_message_msgctxt ();
12499 return 0;
12501 _ACEOF
12502 if ac_fn_c_try_link "$LINENO"; then :
12503 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12504 else
12505 ac_cv_lib_gettextpo_po_message_msgctxt=no
12507 rm -f core conftest.err conftest.$ac_objext \
12508 conftest$ac_exeext conftest.$ac_ext
12509 LIBS=$ac_check_lib_save_LIBS
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12512 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12513 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12515 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12517 GETTEXTPO_LIBS="-lgettextpo"
12522 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12523 case "x$with_gettextpo" in
12524 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12525 xno) ;;
12526 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12527 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12528 esac
12532 if test "x$with_gstreamer" != "xno"
12533 then
12534 if ${GSTREAMER_CFLAGS:+false} :; then :
12535 if ${PKG_CONFIG+:} false; then :
12536 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12540 if ${GSTREAMER_LIBS:+false} :; then :
12541 if ${PKG_CONFIG+:} false; then :
12542 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12547 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12548 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12549 ac_save_CPPFLAGS=$CPPFLAGS
12550 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12551 ac_gst_incl=""
12552 for i in $GSTREAMER_CFLAGS
12554 case "$i" in
12555 -I*) ac_gst_incl="$ac_gst_incl $i";;
12556 esac
12557 done
12558 GSTREAMER_CFLAGS=$ac_gst_incl
12559 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12560 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12561 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12562 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12563 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12565 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12567 /* end confdefs.h. */
12568 #include <gst/app/gstappsink.h>
12570 main ()
12572 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12574 return 0;
12576 _ACEOF
12577 if ac_fn_c_try_compile "$LINENO"; then :
12578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12579 $as_echo "yes" >&6; }
12580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12581 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12582 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12583 $as_echo_n "(cached) " >&6
12584 else
12585 ac_check_lib_save_LIBS=$LIBS
12586 LIBS="-lgstreamer-0.10 $LIBS"
12587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12588 /* end confdefs.h. */
12590 /* Override any GCC internal prototype to avoid an error.
12591 Use char because int might match the return type of a GCC
12592 builtin and then its argument prototype would still apply. */
12593 #ifdef __cplusplus
12594 extern "C"
12595 #endif
12596 char gst_pad_get_caps_reffed ();
12598 main ()
12600 return gst_pad_get_caps_reffed ();
12602 return 0;
12604 _ACEOF
12605 if ac_fn_c_try_link "$LINENO"; then :
12606 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12607 else
12608 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12610 rm -f core conftest.err conftest.$ac_objext \
12611 conftest$ac_exeext conftest.$ac_ext
12612 LIBS=$ac_check_lib_save_LIBS
12614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12615 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12616 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12618 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12619 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12620 $as_echo_n "(cached) " >&6
12621 else
12622 ac_check_lib_save_LIBS=$LIBS
12623 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12625 /* end confdefs.h. */
12627 /* Override any GCC internal prototype to avoid an error.
12628 Use char because int might match the return type of a GCC
12629 builtin and then its argument prototype would still apply. */
12630 #ifdef __cplusplus
12631 extern "C"
12632 #endif
12633 char gst_app_buffer_new ();
12635 main ()
12637 return gst_app_buffer_new ();
12639 return 0;
12641 _ACEOF
12642 if ac_fn_c_try_link "$LINENO"; then :
12643 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12644 else
12645 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12647 rm -f core conftest.err conftest.$ac_objext \
12648 conftest$ac_exeext conftest.$ac_ext
12649 LIBS=$ac_check_lib_save_LIBS
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12652 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12653 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12659 else
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12661 $as_echo "no" >&6; }
12663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12667 else
12668 GSTREAMER_CFLAGS=""
12672 CPPFLAGS=$ac_save_CPPFLAGS
12673 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12674 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12677 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12678 case "x$with_gstreamer" in
12679 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12680 xno) ;;
12681 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12682 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12683 esac
12685 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12687 ALSA_LIBS=""
12689 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12690 then
12691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12692 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12693 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12694 $as_echo_n "(cached) " >&6
12695 else
12696 ac_check_lib_save_LIBS=$LIBS
12697 LIBS="-lasound $LIBS"
12698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12699 /* end confdefs.h. */
12701 /* Override any GCC internal prototype to avoid an error.
12702 Use char because int might match the return type of a GCC
12703 builtin and then its argument prototype would still apply. */
12704 #ifdef __cplusplus
12705 extern "C"
12706 #endif
12707 char snd_pcm_hw_params_get_access_mask ();
12709 main ()
12711 return snd_pcm_hw_params_get_access_mask ();
12713 return 0;
12715 _ACEOF
12716 if ac_fn_c_try_link "$LINENO"; then :
12717 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12718 else
12719 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12721 rm -f core conftest.err conftest.$ac_objext \
12722 conftest$ac_exeext conftest.$ac_ext
12723 LIBS=$ac_check_lib_save_LIBS
12725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12726 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12727 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12729 /* end confdefs.h. */
12730 #ifdef HAVE_ALSA_ASOUNDLIB_H
12731 #include <alsa/asoundlib.h>
12732 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12733 #include <sys/asoundlib.h>
12734 #endif
12736 main ()
12738 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12740 return 0;
12742 _ACEOF
12743 if ac_fn_c_try_compile "$LINENO"; then :
12744 ALSA_LIBS="-lasound"
12746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12751 if test "x$with_oss" != xno
12752 then
12753 ac_save_CPPFLAGS="$CPPFLAGS"
12754 if test -f /etc/oss.conf
12755 then
12756 . /etc/oss.conf
12758 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12759 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12760 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12761 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12762 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12764 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12766 cat >>confdefs.h <<_ACEOF
12767 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12768 _ACEOF
12770 OSS4_CFLAGS="$ac_oss_incl"
12777 CPPFLAGS="$ac_save_CPPFLAGS"
12778 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12779 then
12780 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12784 if test "x$with_capi" != "xno"
12785 then
12786 if ${CAPI20_CFLAGS:+false} :; then :
12787 if ${PKG_CONFIG+:} false; then :
12788 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12792 if ${CAPI20_LIBS:+false} :; then :
12793 if ${PKG_CONFIG+:} false; then :
12794 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12799 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12800 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12801 ac_save_CPPFLAGS=$CPPFLAGS
12802 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12803 for ac_header in capi20.h linux/capi.h
12804 do :
12805 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12806 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12808 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12809 cat >>confdefs.h <<_ACEOF
12810 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12811 _ACEOF
12815 done
12817 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12818 then
12819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12820 $as_echo_n "checking for -lcapi20... " >&6; }
12821 if ${ac_cv_lib_soname_capi20+:} false; then :
12822 $as_echo_n "(cached) " >&6
12823 else
12824 ac_check_soname_save_LIBS=$LIBS
12825 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12827 /* end confdefs.h. */
12829 /* Override any GCC internal prototype to avoid an error.
12830 Use char because int might match the return type of a GCC
12831 builtin and then its argument prototype would still apply. */
12832 #ifdef __cplusplus
12833 extern "C"
12834 #endif
12835 char capi20_register ();
12837 main ()
12839 return capi20_register ();
12841 return 0;
12843 _ACEOF
12844 if ac_fn_c_try_link "$LINENO"; then :
12845 case "$LIBEXT" in
12846 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12847 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'` ;;
12848 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12849 if ${ac_cv_lib_soname_capi20:+false} :; then :
12850 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12851 fi ;;
12852 esac
12854 rm -f core conftest.err conftest.$ac_objext \
12855 conftest$ac_exeext conftest.$ac_ext
12856 LIBS=$ac_check_soname_save_LIBS
12858 if ${ac_cv_lib_soname_capi20:+false} :; then :
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12860 $as_echo "not found" >&6; }
12862 else
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12864 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12866 cat >>confdefs.h <<_ACEOF
12867 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12868 _ACEOF
12873 CPPFLAGS=$ac_save_CPPFLAGS
12874 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12875 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12878 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12879 case "x$with_capi" in
12880 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12881 xno) ;;
12882 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12883 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12884 esac
12887 CUPS_CFLAGS=""
12889 if test "x$with_cups" != "xno"
12890 then
12891 ac_save_CPPFLAGS="$CPPFLAGS"
12892 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12893 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12894 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12895 for ac_header in cups/cups.h
12896 do :
12897 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12898 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12899 cat >>confdefs.h <<_ACEOF
12900 #define HAVE_CUPS_CUPS_H 1
12901 _ACEOF
12902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12903 $as_echo_n "checking for -lcups... " >&6; }
12904 if ${ac_cv_lib_soname_cups+:} false; then :
12905 $as_echo_n "(cached) " >&6
12906 else
12907 ac_check_soname_save_LIBS=$LIBS
12908 LIBS="-lcups $ac_cups_libs $LIBS"
12909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12910 /* end confdefs.h. */
12912 /* Override any GCC internal prototype to avoid an error.
12913 Use char because int might match the return type of a GCC
12914 builtin and then its argument prototype would still apply. */
12915 #ifdef __cplusplus
12916 extern "C"
12917 #endif
12918 char cupsGetDefault ();
12920 main ()
12922 return cupsGetDefault ();
12924 return 0;
12926 _ACEOF
12927 if ac_fn_c_try_link "$LINENO"; then :
12928 case "$LIBEXT" in
12929 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12930 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'` ;;
12931 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12932 if ${ac_cv_lib_soname_cups:+false} :; then :
12933 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12934 fi ;;
12935 esac
12937 rm -f core conftest.err conftest.$ac_objext \
12938 conftest$ac_exeext conftest.$ac_ext
12939 LIBS=$ac_check_soname_save_LIBS
12941 if ${ac_cv_lib_soname_cups:+false} :; then :
12942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12943 $as_echo "not found" >&6; }
12945 else
12946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12947 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12949 cat >>confdefs.h <<_ACEOF
12950 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12951 _ACEOF
12953 CUPS_CFLAGS="$ac_cups_cflags"
12957 done
12959 CPPFLAGS="$ac_save_CPPFLAGS"
12961 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12962 case "x$with_cups" in
12963 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12964 xno) ;;
12965 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12966 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12967 esac
12970 if test "x$with_fontconfig" != "xno"
12971 then
12972 if ${FONTCONFIG_CFLAGS:+false} :; then :
12973 if ${PKG_CONFIG+:} false; then :
12974 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12977 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12978 if ${FONTCONFIG_LIBS:+false} :; then :
12979 if ${PKG_CONFIG+:} false; then :
12980 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12983 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12985 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12986 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12987 ac_save_CPPFLAGS=$CPPFLAGS
12988 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12989 for ac_header in fontconfig/fontconfig.h
12990 do :
12991 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12992 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12993 cat >>confdefs.h <<_ACEOF
12994 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12995 _ACEOF
12999 done
13001 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13002 then
13003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13004 $as_echo_n "checking for -lfontconfig... " >&6; }
13005 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13006 $as_echo_n "(cached) " >&6
13007 else
13008 ac_check_soname_save_LIBS=$LIBS
13009 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13011 /* end confdefs.h. */
13013 /* Override any GCC internal prototype to avoid an error.
13014 Use char because int might match the return type of a GCC
13015 builtin and then its argument prototype would still apply. */
13016 #ifdef __cplusplus
13017 extern "C"
13018 #endif
13019 char FcInit ();
13021 main ()
13023 return FcInit ();
13025 return 0;
13027 _ACEOF
13028 if ac_fn_c_try_link "$LINENO"; then :
13029 case "$LIBEXT" in
13030 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13031 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'` ;;
13032 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13033 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13034 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13035 fi ;;
13036 esac
13038 rm -f core conftest.err conftest.$ac_objext \
13039 conftest$ac_exeext conftest.$ac_ext
13040 LIBS=$ac_check_soname_save_LIBS
13042 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13044 $as_echo "not found" >&6; }
13045 FONTCONFIG_CFLAGS=""
13046 else
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13048 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13050 cat >>confdefs.h <<_ACEOF
13051 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13052 _ACEOF
13056 else
13057 FONTCONFIG_CFLAGS=""
13059 CPPFLAGS=$ac_save_CPPFLAGS
13060 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13061 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13064 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13065 case "x$with_fontconfig" in
13066 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13067 xno) ;;
13068 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13069 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13070 esac
13073 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13074 then
13075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13076 $as_echo_n "checking for -lgsm... " >&6; }
13077 if ${ac_cv_lib_soname_gsm+:} false; then :
13078 $as_echo_n "(cached) " >&6
13079 else
13080 ac_check_soname_save_LIBS=$LIBS
13081 LIBS="-lgsm $LIBS"
13082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13083 /* end confdefs.h. */
13085 /* Override any GCC internal prototype to avoid an error.
13086 Use char because int might match the return type of a GCC
13087 builtin and then its argument prototype would still apply. */
13088 #ifdef __cplusplus
13089 extern "C"
13090 #endif
13091 char gsm_create ();
13093 main ()
13095 return gsm_create ();
13097 return 0;
13099 _ACEOF
13100 if ac_fn_c_try_link "$LINENO"; then :
13101 case "$LIBEXT" in
13102 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13103 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'` ;;
13104 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13105 if ${ac_cv_lib_soname_gsm:+false} :; then :
13106 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13107 fi ;;
13108 esac
13110 rm -f core conftest.err conftest.$ac_objext \
13111 conftest$ac_exeext conftest.$ac_ext
13112 LIBS=$ac_check_soname_save_LIBS
13114 if ${ac_cv_lib_soname_gsm:+false} :; then :
13115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13116 $as_echo "not found" >&6; }
13118 else
13119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13120 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13122 cat >>confdefs.h <<_ACEOF
13123 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13124 _ACEOF
13129 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13130 case "x$with_gsm" in
13131 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13132 xno) ;;
13133 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13134 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13135 esac
13138 if test "x$with_jpeg" != "xno"
13139 then
13140 if ${JPEG_CFLAGS:+false} :; then :
13141 if ${PKG_CONFIG+:} false; then :
13142 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13146 if ${JPEG_LIBS:+false} :; then :
13147 if ${PKG_CONFIG+:} false; then :
13148 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13153 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13154 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13155 ac_save_CPPFLAGS=$CPPFLAGS
13156 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13157 for ac_header in jpeglib.h
13158 do :
13159 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13160 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13161 cat >>confdefs.h <<_ACEOF
13162 #define HAVE_JPEGLIB_H 1
13163 _ACEOF
13167 done
13169 if test "$ac_cv_header_jpeglib_h" = "yes"
13170 then
13171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13172 $as_echo_n "checking for -ljpeg... " >&6; }
13173 if ${ac_cv_lib_soname_jpeg+:} false; then :
13174 $as_echo_n "(cached) " >&6
13175 else
13176 ac_check_soname_save_LIBS=$LIBS
13177 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13179 /* end confdefs.h. */
13181 /* Override any GCC internal prototype to avoid an error.
13182 Use char because int might match the return type of a GCC
13183 builtin and then its argument prototype would still apply. */
13184 #ifdef __cplusplus
13185 extern "C"
13186 #endif
13187 char jpeg_start_decompress ();
13189 main ()
13191 return jpeg_start_decompress ();
13193 return 0;
13195 _ACEOF
13196 if ac_fn_c_try_link "$LINENO"; then :
13197 case "$LIBEXT" in
13198 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13199 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'` ;;
13200 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13201 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13202 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13203 fi ;;
13204 esac
13206 rm -f core conftest.err conftest.$ac_objext \
13207 conftest$ac_exeext conftest.$ac_ext
13208 LIBS=$ac_check_soname_save_LIBS
13210 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13212 $as_echo "not found" >&6; }
13213 JPEG_CFLAGS=""
13214 else
13215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13216 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13218 cat >>confdefs.h <<_ACEOF
13219 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13220 _ACEOF
13224 else
13225 JPEG_CFLAGS=""
13227 CPPFLAGS=$ac_save_CPPFLAGS
13228 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13229 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13232 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13233 case "x$with_jpeg" in
13234 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13235 xno) ;;
13236 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13237 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13238 esac
13241 if test "x$with_png" != "xno"
13242 then
13243 if ${PNG_CFLAGS:+false} :; then :
13244 if ${PKG_CONFIG+:} false; then :
13245 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13248 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13249 if ${PNG_LIBS:+false} :; then :
13250 if ${PKG_CONFIG+:} false; then :
13251 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13254 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13256 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13257 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13258 ac_save_CPPFLAGS=$CPPFLAGS
13259 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13260 for ac_header in png.h
13261 do :
13262 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13263 if test "x$ac_cv_header_png_h" = xyes; then :
13264 cat >>confdefs.h <<_ACEOF
13265 #define HAVE_PNG_H 1
13266 _ACEOF
13270 done
13272 if test "$ac_cv_header_png_h" = "yes"
13273 then
13274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13275 $as_echo_n "checking for -lpng... " >&6; }
13276 if ${ac_cv_lib_soname_png+:} false; then :
13277 $as_echo_n "(cached) " >&6
13278 else
13279 ac_check_soname_save_LIBS=$LIBS
13280 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13282 /* end confdefs.h. */
13284 /* Override any GCC internal prototype to avoid an error.
13285 Use char because int might match the return type of a GCC
13286 builtin and then its argument prototype would still apply. */
13287 #ifdef __cplusplus
13288 extern "C"
13289 #endif
13290 char png_create_read_struct ();
13292 main ()
13294 return png_create_read_struct ();
13296 return 0;
13298 _ACEOF
13299 if ac_fn_c_try_link "$LINENO"; then :
13300 case "$LIBEXT" in
13301 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13302 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'` ;;
13303 *) ac_cv_lib_soname_png=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libpng[0-9]*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13304 if ${ac_cv_lib_soname_png:+false} :; then :
13305 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13306 fi ;;
13307 esac
13309 rm -f core conftest.err conftest.$ac_objext \
13310 conftest$ac_exeext conftest.$ac_ext
13311 LIBS=$ac_check_soname_save_LIBS
13313 if ${ac_cv_lib_soname_png:+false} :; then :
13314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13315 $as_echo "not found" >&6; }
13316 PNG_CFLAGS=""
13317 else
13318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13319 $as_echo "$ac_cv_lib_soname_png" >&6; }
13321 cat >>confdefs.h <<_ACEOF
13322 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13323 _ACEOF
13325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13326 /* end confdefs.h. */
13327 #include <png.h>
13329 main ()
13331 typeof(png_set_expand_gray_1_2_4_to_8) *p
13333 return 0;
13335 _ACEOF
13336 if ac_fn_c_try_compile "$LINENO"; then :
13338 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13343 else
13344 PNG_CFLAGS=""
13346 CPPFLAGS=$ac_save_CPPFLAGS
13347 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13348 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13351 if test "x$ac_cv_lib_soname_png" = "x"; then :
13352 case "x$with_png" in
13353 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13354 xno) ;;
13355 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13356 This is an error since --with-png was requested." "$LINENO" 5 ;;
13357 esac
13360 if test "x$with_tiff" != "xno"
13361 then
13362 if ${TIFF_CFLAGS:+false} :; then :
13363 if ${PKG_CONFIG+:} false; then :
13364 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13368 if ${TIFF_LIBS:+false} :; then :
13369 if ${PKG_CONFIG+:} false; then :
13370 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13375 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13376 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13377 ac_save_CPPFLAGS=$CPPFLAGS
13378 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13379 for ac_header in tiffio.h
13380 do :
13381 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13382 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13383 cat >>confdefs.h <<_ACEOF
13384 #define HAVE_TIFFIO_H 1
13385 _ACEOF
13389 done
13391 if test "$ac_cv_header_tiffio_h" = "yes"
13392 then
13393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13394 $as_echo_n "checking for -ltiff... " >&6; }
13395 if ${ac_cv_lib_soname_tiff+:} false; then :
13396 $as_echo_n "(cached) " >&6
13397 else
13398 ac_check_soname_save_LIBS=$LIBS
13399 LIBS="-ltiff $TIFF_LIBS $LIBS"
13400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13401 /* end confdefs.h. */
13403 /* Override any GCC internal prototype to avoid an error.
13404 Use char because int might match the return type of a GCC
13405 builtin and then its argument prototype would still apply. */
13406 #ifdef __cplusplus
13407 extern "C"
13408 #endif
13409 char TIFFClientOpen ();
13411 main ()
13413 return TIFFClientOpen ();
13415 return 0;
13417 _ACEOF
13418 if ac_fn_c_try_link "$LINENO"; then :
13419 case "$LIBEXT" in
13420 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13421 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'` ;;
13422 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13423 if ${ac_cv_lib_soname_tiff:+false} :; then :
13424 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13425 fi ;;
13426 esac
13428 rm -f core conftest.err conftest.$ac_objext \
13429 conftest$ac_exeext conftest.$ac_ext
13430 LIBS=$ac_check_soname_save_LIBS
13432 if ${ac_cv_lib_soname_tiff:+false} :; then :
13433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13434 $as_echo "not found" >&6; }
13436 else
13437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13438 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13440 cat >>confdefs.h <<_ACEOF
13441 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13442 _ACEOF
13447 CPPFLAGS=$ac_save_CPPFLAGS
13448 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13449 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13452 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13453 case "x$with_tiff" in
13454 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13455 xno) ;;
13456 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13457 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13458 esac
13461 if test "x$with_mpg123" != "xno"
13462 then
13463 if ${MPG123_CFLAGS:+false} :; then :
13464 if ${PKG_CONFIG+:} false; then :
13465 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13469 if ${MPG123_LIBS:+false} :; then :
13470 if ${PKG_CONFIG+:} false; then :
13471 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13475 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13476 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13477 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13478 ac_save_CPPFLAGS=$CPPFLAGS
13479 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13480 for ac_header in mpg123.h
13481 do :
13482 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13483 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13484 cat >>confdefs.h <<_ACEOF
13485 #define HAVE_MPG123_H 1
13486 _ACEOF
13490 done
13492 if test "$ac_cv_header_mpg123_h" = "yes"
13493 then
13494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13495 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13496 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13497 $as_echo_n "(cached) " >&6
13498 else
13499 ac_check_lib_save_LIBS=$LIBS
13500 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13502 /* end confdefs.h. */
13504 /* Override any GCC internal prototype to avoid an error.
13505 Use char because int might match the return type of a GCC
13506 builtin and then its argument prototype would still apply. */
13507 #ifdef __cplusplus
13508 extern "C"
13509 #endif
13510 char mpg123_feed ();
13512 main ()
13514 return mpg123_feed ();
13516 return 0;
13518 _ACEOF
13519 if ac_fn_c_try_link "$LINENO"; then :
13520 ac_cv_lib_mpg123_mpg123_feed=yes
13521 else
13522 ac_cv_lib_mpg123_mpg123_feed=no
13524 rm -f core conftest.err conftest.$ac_objext \
13525 conftest$ac_exeext conftest.$ac_ext
13526 LIBS=$ac_check_lib_save_LIBS
13528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13529 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13530 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13532 else
13533 MPG123_LIBS=""
13536 else
13537 MPG123_CFLAGS=""
13538 MPG123_LIBS=""
13540 CPPFLAGS=$ac_save_CPPFLAGS
13541 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13542 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13545 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13546 case "x$with_mpg123" in
13547 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13548 xno) ;;
13549 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13550 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13551 esac
13553 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}
13555 if test "$ac_cv_header_AL_al_h" = "yes"
13556 then
13557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13558 $as_echo_n "checking for -lopenal... " >&6; }
13559 if ${ac_cv_lib_soname_openal+:} false; then :
13560 $as_echo_n "(cached) " >&6
13561 else
13562 ac_check_soname_save_LIBS=$LIBS
13563 LIBS="-lopenal $LIBS"
13564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13565 /* end confdefs.h. */
13567 /* Override any GCC internal prototype to avoid an error.
13568 Use char because int might match the return type of a GCC
13569 builtin and then its argument prototype would still apply. */
13570 #ifdef __cplusplus
13571 extern "C"
13572 #endif
13573 char alGetSource3i ();
13575 main ()
13577 return alGetSource3i ();
13579 return 0;
13581 _ACEOF
13582 if ac_fn_c_try_link "$LINENO"; then :
13583 case "$LIBEXT" in
13584 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13585 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'` ;;
13586 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13587 if ${ac_cv_lib_soname_openal:+false} :; then :
13588 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13589 fi ;;
13590 esac
13592 rm -f core conftest.err conftest.$ac_objext \
13593 conftest$ac_exeext conftest.$ac_ext
13594 LIBS=$ac_check_soname_save_LIBS
13596 if ${ac_cv_lib_soname_openal:+false} :; then :
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13598 $as_echo "not found" >&6; }
13600 else
13601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13602 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13604 cat >>confdefs.h <<_ACEOF
13605 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13606 _ACEOF
13608 OPENAL_LIBS="-lopenal"
13610 ac_cv_lib_openal=yes
13612 cat >>confdefs.h <<_ACEOF
13613 #define HAVE_OPENAL 1
13614 _ACEOF
13618 if test "x$ac_cv_lib_openal" != xyes; then :
13619 case "x$with_openal" in
13620 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13621 xno) ;;
13622 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13623 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13624 esac
13626 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13628 if test "x$ac_cv_lib_openal" = xyes
13629 then
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13631 $as_echo_n "checking for openal-soft... " >&6; }
13632 if ${ac_cv_have_openalsoft+:} false; then :
13633 $as_echo_n "(cached) " >&6
13634 else
13635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13636 /* end confdefs.h. */
13637 #include <AL/alext.h>
13638 LPALCRENDERSAMPLESSOFT x;
13640 main ()
13644 return 0;
13646 _ACEOF
13647 if ac_fn_c_try_compile "$LINENO"; then :
13648 ac_cv_have_openalsoft=yes
13649 else
13650 ac_cv_have_openalsoft=no
13652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13655 $as_echo "$ac_cv_have_openalsoft" >&6; }
13657 if test "x$ac_cv_have_openalsoft" != xyes
13658 then
13659 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13660 enable_xaudio2_7=${enable_xaudio2_7:-no}
13663 if test "$ac_cv_header_kstat_h" = "yes"
13664 then
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13666 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13667 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13668 $as_echo_n "(cached) " >&6
13669 else
13670 ac_check_lib_save_LIBS=$LIBS
13671 LIBS="-lkstat $LIBS"
13672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13673 /* end confdefs.h. */
13675 /* Override any GCC internal prototype to avoid an error.
13676 Use char because int might match the return type of a GCC
13677 builtin and then its argument prototype would still apply. */
13678 #ifdef __cplusplus
13679 extern "C"
13680 #endif
13681 char kstat_open ();
13683 main ()
13685 return kstat_open ();
13687 return 0;
13689 _ACEOF
13690 if ac_fn_c_try_link "$LINENO"; then :
13691 ac_cv_lib_kstat_kstat_open=yes
13692 else
13693 ac_cv_lib_kstat_kstat_open=no
13695 rm -f core conftest.err conftest.$ac_objext \
13696 conftest$ac_exeext conftest.$ac_ext
13697 LIBS=$ac_check_lib_save_LIBS
13699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13700 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13701 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13703 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13705 KSTAT_LIBS="-lkstat"
13711 if test "$ac_cv_header_libprocstat_h" = "yes"
13712 then
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13714 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13715 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13716 $as_echo_n "(cached) " >&6
13717 else
13718 ac_check_lib_save_LIBS=$LIBS
13719 LIBS="-lprocstat $LIBS"
13720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13721 /* end confdefs.h. */
13723 /* Override any GCC internal prototype to avoid an error.
13724 Use char because int might match the return type of a GCC
13725 builtin and then its argument prototype would still apply. */
13726 #ifdef __cplusplus
13727 extern "C"
13728 #endif
13729 char procstat_open_sysctl ();
13731 main ()
13733 return procstat_open_sysctl ();
13735 return 0;
13737 _ACEOF
13738 if ac_fn_c_try_link "$LINENO"; then :
13739 ac_cv_lib_procstat_procstat_open_sysctl=yes
13740 else
13741 ac_cv_lib_procstat_procstat_open_sysctl=no
13743 rm -f core conftest.err conftest.$ac_objext \
13744 conftest$ac_exeext conftest.$ac_ext
13745 LIBS=$ac_check_lib_save_LIBS
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13748 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13749 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13751 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13753 PROCSTAT_LIBS="-lprocstat"
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13760 $as_echo_n "checking for -lodbc... " >&6; }
13761 if ${ac_cv_lib_soname_odbc+:} false; then :
13762 $as_echo_n "(cached) " >&6
13763 else
13764 ac_check_soname_save_LIBS=$LIBS
13765 LIBS="-lodbc $LIBS"
13766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13767 /* end confdefs.h. */
13769 /* Override any GCC internal prototype to avoid an error.
13770 Use char because int might match the return type of a GCC
13771 builtin and then its argument prototype would still apply. */
13772 #ifdef __cplusplus
13773 extern "C"
13774 #endif
13775 char SQLConnect ();
13777 main ()
13779 return SQLConnect ();
13781 return 0;
13783 _ACEOF
13784 if ac_fn_c_try_link "$LINENO"; then :
13785 case "$LIBEXT" in
13786 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13787 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'` ;;
13788 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13789 if ${ac_cv_lib_soname_odbc:+false} :; then :
13790 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13791 fi ;;
13792 esac
13794 rm -f core conftest.err conftest.$ac_objext \
13795 conftest$ac_exeext conftest.$ac_ext
13796 LIBS=$ac_check_soname_save_LIBS
13798 if ${ac_cv_lib_soname_odbc:+false} :; then :
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13800 $as_echo "not found" >&6; }
13801 cat >>confdefs.h <<_ACEOF
13802 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13803 _ACEOF
13805 else
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13807 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13809 cat >>confdefs.h <<_ACEOF
13810 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13811 _ACEOF
13816 if test "x$with_netapi" != "xno"
13817 then
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13819 $as_echo_n "checking for -lnetapi... " >&6; }
13820 if ${ac_cv_lib_soname_netapi+:} false; then :
13821 $as_echo_n "(cached) " >&6
13822 else
13823 ac_check_soname_save_LIBS=$LIBS
13824 LIBS="-lnetapi $LIBS"
13825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13826 /* end confdefs.h. */
13828 /* Override any GCC internal prototype to avoid an error.
13829 Use char because int might match the return type of a GCC
13830 builtin and then its argument prototype would still apply. */
13831 #ifdef __cplusplus
13832 extern "C"
13833 #endif
13834 char libnetapi_init ();
13836 main ()
13838 return libnetapi_init ();
13840 return 0;
13842 _ACEOF
13843 if ac_fn_c_try_link "$LINENO"; then :
13844 case "$LIBEXT" in
13845 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13846 dylib) ac_cv_lib_soname_netapi=`$OTOOL -L conftest$ac_exeext | grep "libnetapi\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libnetapi\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13847 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13848 if ${ac_cv_lib_soname_netapi:+false} :; then :
13849 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13850 fi ;;
13851 esac
13853 rm -f core conftest.err conftest.$ac_objext \
13854 conftest$ac_exeext conftest.$ac_ext
13855 LIBS=$ac_check_soname_save_LIBS
13857 if ${ac_cv_lib_soname_netapi:+false} :; then :
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13859 $as_echo "not found" >&6; }
13860 cat >>confdefs.h <<_ACEOF
13861 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13862 _ACEOF
13864 else
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13866 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13868 cat >>confdefs.h <<_ACEOF
13869 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13870 _ACEOF
13876 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13877 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13878 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13879 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13881 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13882 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13883 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13884 then
13885 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13889 EXTRACFLAGS=""
13891 if test "x${GCC}" = "xyes"
13892 then
13893 EXTRACFLAGS="-Wall -pipe"
13895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13896 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13897 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13898 $as_echo_n "(cached) " >&6
13899 else
13900 if test "$cross_compiling" = yes; then :
13901 ac_cv_c_gcc_strength_bug="no"
13902 else
13903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13904 /* end confdefs.h. */
13905 int L[4] = {0,1,2,3};
13907 main ()
13909 static int Array[3];
13910 unsigned int B = 3;
13911 int i;
13912 for(i=0; i<B; i++) Array[i] = i - 3;
13913 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13914 L[i] = 4;
13915 return (Array[1] != -2 || L[2] != 3)
13917 return 0;
13919 _ACEOF
13920 if ac_fn_c_try_run "$LINENO"; then :
13921 ac_cv_c_gcc_strength_bug="no"
13922 else
13923 ac_cv_c_gcc_strength_bug="yes"
13925 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13926 conftest.$ac_objext conftest.beam conftest.$ac_ext
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13931 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13932 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13933 then
13934 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13938 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13939 if ${ac_cv_cflags__fno_builtin+:} false; then :
13940 $as_echo_n "(cached) " >&6
13941 else
13942 ac_wine_try_cflags_saved=$CFLAGS
13943 CFLAGS="$CFLAGS -fno-builtin"
13944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13945 /* end confdefs.h. */
13946 int main(int argc, char **argv) { return 0; }
13947 _ACEOF
13948 if ac_fn_c_try_link "$LINENO"; then :
13949 ac_cv_cflags__fno_builtin=yes
13950 else
13951 ac_cv_cflags__fno_builtin=no
13953 rm -f core conftest.err conftest.$ac_objext \
13954 conftest$ac_exeext conftest.$ac_ext
13955 CFLAGS=$ac_wine_try_cflags_saved
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13958 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13959 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13960 BUILTINFLAG="-fno-builtin"
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13964 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13965 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13966 $as_echo_n "(cached) " >&6
13967 else
13968 ac_wine_try_cflags_saved=$CFLAGS
13969 CFLAGS="$CFLAGS -fno-strict-aliasing"
13970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13971 /* end confdefs.h. */
13972 int main(int argc, char **argv) { return 0; }
13973 _ACEOF
13974 if ac_fn_c_try_link "$LINENO"; then :
13975 ac_cv_cflags__fno_strict_aliasing=yes
13976 else
13977 ac_cv_cflags__fno_strict_aliasing=no
13979 rm -f core conftest.err conftest.$ac_objext \
13980 conftest$ac_exeext conftest.$ac_ext
13981 CFLAGS=$ac_wine_try_cflags_saved
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13984 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13985 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13986 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13988 saved_CFLAGS=$CFLAGS
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13990 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13991 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13992 $as_echo_n "(cached) " >&6
13993 else
13994 ac_wine_try_cflags_saved=$CFLAGS
13995 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13997 /* end confdefs.h. */
13998 int main(int argc, char **argv) { return 0; }
13999 _ACEOF
14000 if ac_fn_c_try_link "$LINENO"; then :
14001 ac_cv_cflags__Werror_unknown_warning_option=yes
14002 else
14003 ac_cv_cflags__Werror_unknown_warning_option=no
14005 rm -f core conftest.err conftest.$ac_objext \
14006 conftest$ac_exeext conftest.$ac_ext
14007 CFLAGS=$ac_wine_try_cflags_saved
14009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14010 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14011 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14012 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14015 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14016 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14017 $as_echo_n "(cached) " >&6
14018 else
14019 ac_wine_try_cflags_saved=$CFLAGS
14020 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14022 /* end confdefs.h. */
14023 int main(int argc, char **argv) { return 0; }
14024 _ACEOF
14025 if ac_fn_c_try_link "$LINENO"; then :
14026 ac_cv_cflags__Wdeclaration_after_statement=yes
14027 else
14028 ac_cv_cflags__Wdeclaration_after_statement=no
14030 rm -f core conftest.err conftest.$ac_objext \
14031 conftest$ac_exeext conftest.$ac_ext
14032 CFLAGS=$ac_wine_try_cflags_saved
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14035 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14036 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14037 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14040 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14041 if ${ac_cv_cflags__Wempty_body+:} false; then :
14042 $as_echo_n "(cached) " >&6
14043 else
14044 ac_wine_try_cflags_saved=$CFLAGS
14045 CFLAGS="$CFLAGS -Wempty-body"
14046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14047 /* end confdefs.h. */
14048 int main(int argc, char **argv) { return 0; }
14049 _ACEOF
14050 if ac_fn_c_try_link "$LINENO"; then :
14051 ac_cv_cflags__Wempty_body=yes
14052 else
14053 ac_cv_cflags__Wempty_body=no
14055 rm -f core conftest.err conftest.$ac_objext \
14056 conftest$ac_exeext conftest.$ac_ext
14057 CFLAGS=$ac_wine_try_cflags_saved
14059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14060 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14061 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14062 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14065 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14066 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14067 $as_echo_n "(cached) " >&6
14068 else
14069 ac_wine_try_cflags_saved=$CFLAGS
14070 CFLAGS="$CFLAGS -Wignored-qualifiers"
14071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14072 /* end confdefs.h. */
14073 int main(int argc, char **argv) { return 0; }
14074 _ACEOF
14075 if ac_fn_c_try_link "$LINENO"; then :
14076 ac_cv_cflags__Wignored_qualifiers=yes
14077 else
14078 ac_cv_cflags__Wignored_qualifiers=no
14080 rm -f core conftest.err conftest.$ac_objext \
14081 conftest$ac_exeext conftest.$ac_ext
14082 CFLAGS=$ac_wine_try_cflags_saved
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14085 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14086 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14087 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14090 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14091 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14092 $as_echo_n "(cached) " >&6
14093 else
14094 ac_wine_try_cflags_saved=$CFLAGS
14095 CFLAGS="$CFLAGS -Wstrict-prototypes"
14096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14097 /* end confdefs.h. */
14098 int main(int argc, char **argv) { return 0; }
14099 _ACEOF
14100 if ac_fn_c_try_link "$LINENO"; then :
14101 ac_cv_cflags__Wstrict_prototypes=yes
14102 else
14103 ac_cv_cflags__Wstrict_prototypes=no
14105 rm -f core conftest.err conftest.$ac_objext \
14106 conftest$ac_exeext conftest.$ac_ext
14107 CFLAGS=$ac_wine_try_cflags_saved
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14110 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14111 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14112 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14115 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14116 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14117 $as_echo_n "(cached) " >&6
14118 else
14119 ac_wine_try_cflags_saved=$CFLAGS
14120 CFLAGS="$CFLAGS -Wtype-limits"
14121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14122 /* end confdefs.h. */
14123 int main(int argc, char **argv) { return 0; }
14124 _ACEOF
14125 if ac_fn_c_try_link "$LINENO"; then :
14126 ac_cv_cflags__Wtype_limits=yes
14127 else
14128 ac_cv_cflags__Wtype_limits=no
14130 rm -f core conftest.err conftest.$ac_objext \
14131 conftest$ac_exeext conftest.$ac_ext
14132 CFLAGS=$ac_wine_try_cflags_saved
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14135 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14136 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14137 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14140 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14141 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14142 $as_echo_n "(cached) " >&6
14143 else
14144 ac_wine_try_cflags_saved=$CFLAGS
14145 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14147 /* end confdefs.h. */
14148 int main(int argc, char **argv) { return 0; }
14149 _ACEOF
14150 if ac_fn_c_try_link "$LINENO"; then :
14151 ac_cv_cflags__Wunused_but_set_parameter=yes
14152 else
14153 ac_cv_cflags__Wunused_but_set_parameter=no
14155 rm -f core conftest.err conftest.$ac_objext \
14156 conftest$ac_exeext conftest.$ac_ext
14157 CFLAGS=$ac_wine_try_cflags_saved
14159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14160 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14161 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14162 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14165 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14166 if ${ac_cv_cflags__Wvla+:} false; then :
14167 $as_echo_n "(cached) " >&6
14168 else
14169 ac_wine_try_cflags_saved=$CFLAGS
14170 CFLAGS="$CFLAGS -Wvla"
14171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14172 /* end confdefs.h. */
14173 int main(int argc, char **argv) { return 0; }
14174 _ACEOF
14175 if ac_fn_c_try_link "$LINENO"; then :
14176 ac_cv_cflags__Wvla=yes
14177 else
14178 ac_cv_cflags__Wvla=no
14180 rm -f core conftest.err conftest.$ac_objext \
14181 conftest$ac_exeext conftest.$ac_ext
14182 CFLAGS=$ac_wine_try_cflags_saved
14184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14185 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14186 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14187 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14190 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14191 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14192 $as_echo_n "(cached) " >&6
14193 else
14194 ac_wine_try_cflags_saved=$CFLAGS
14195 CFLAGS="$CFLAGS -Wwrite-strings"
14196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14197 /* end confdefs.h. */
14198 int main(int argc, char **argv) { return 0; }
14199 _ACEOF
14200 if ac_fn_c_try_link "$LINENO"; then :
14201 ac_cv_cflags__Wwrite_strings=yes
14202 else
14203 ac_cv_cflags__Wwrite_strings=no
14205 rm -f core conftest.err conftest.$ac_objext \
14206 conftest$ac_exeext conftest.$ac_ext
14207 CFLAGS=$ac_wine_try_cflags_saved
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14210 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14211 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14212 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14216 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14217 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14218 $as_echo_n "(cached) " >&6
14219 else
14220 ac_wine_try_cflags_saved=$CFLAGS
14221 CFLAGS="$CFLAGS -Wpointer-arith"
14222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14223 /* end confdefs.h. */
14224 int main(int argc, char **argv) { return 0; }
14225 _ACEOF
14226 if ac_fn_c_try_link "$LINENO"; then :
14227 ac_cv_cflags__Wpointer_arith=yes
14228 else
14229 ac_cv_cflags__Wpointer_arith=no
14231 rm -f core conftest.err conftest.$ac_objext \
14232 conftest$ac_exeext conftest.$ac_ext
14233 CFLAGS=$ac_wine_try_cflags_saved
14235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14236 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14237 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14238 saved_string_h_CFLAGS=$CFLAGS
14239 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14241 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14242 if ${ac_cv_c_string_h_warnings+:} false; then :
14243 $as_echo_n "(cached) " >&6
14244 else
14245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14246 /* end confdefs.h. */
14247 #include <string.h>
14249 main ()
14253 return 0;
14255 _ACEOF
14256 if ac_fn_c_try_compile "$LINENO"; then :
14257 ac_cv_c_string_h_warnings=no
14258 else
14259 ac_cv_c_string_h_warnings=yes
14261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14264 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14265 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14266 CFLAGS=$saved_string_h_CFLAGS
14269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14270 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14271 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14272 $as_echo_n "(cached) " >&6
14273 else
14274 ac_wine_try_cflags_saved=$CFLAGS
14275 CFLAGS="$CFLAGS -Wlogical-op"
14276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14277 /* end confdefs.h. */
14278 int main(int argc, char **argv) { return 0; }
14279 _ACEOF
14280 if ac_fn_c_try_link "$LINENO"; then :
14281 ac_cv_cflags__Wlogical_op=yes
14282 else
14283 ac_cv_cflags__Wlogical_op=no
14285 rm -f core conftest.err conftest.$ac_objext \
14286 conftest$ac_exeext conftest.$ac_ext
14287 CFLAGS=$ac_wine_try_cflags_saved
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14290 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14291 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14292 saved_string_h_CFLAGS=$CFLAGS
14293 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14295 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14296 if ${ac_cv_c_logicalop_noisy+:} false; then :
14297 $as_echo_n "(cached) " >&6
14298 else
14299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14300 /* end confdefs.h. */
14301 #include <string.h>
14302 char*f(const char *h,char n) {return strchr(h,n);}
14304 main ()
14308 return 0;
14310 _ACEOF
14311 if ac_fn_c_try_compile "$LINENO"; then :
14312 ac_cv_c_logicalop_noisy=no
14313 else
14314 ac_cv_c_logicalop_noisy=yes
14316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14319 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14320 CFLAGS=$saved_string_h_CFLAGS
14321 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14324 CFLAGS=$saved_CFLAGS
14326 for ac_flag in $CFLAGS; do
14327 case $ac_flag in
14328 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14329 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14330 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14331 $as_echo_n "(cached) " >&6
14332 else
14333 ac_wine_try_cflags_saved=$CFLAGS
14334 CFLAGS="$CFLAGS -gdwarf-2"
14335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14336 /* end confdefs.h. */
14337 int main(int argc, char **argv) { return 0; }
14338 _ACEOF
14339 if ac_fn_c_try_link "$LINENO"; then :
14340 ac_cv_cflags__gdwarf_2=yes
14341 else
14342 ac_cv_cflags__gdwarf_2=no
14344 rm -f core conftest.err conftest.$ac_objext \
14345 conftest$ac_exeext conftest.$ac_ext
14346 CFLAGS=$ac_wine_try_cflags_saved
14348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14349 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14350 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14351 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14354 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14355 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14356 $as_echo_n "(cached) " >&6
14357 else
14358 ac_wine_try_cflags_saved=$CFLAGS
14359 CFLAGS="$CFLAGS -gstrict-dwarf"
14360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14361 /* end confdefs.h. */
14362 int main(int argc, char **argv) { return 0; }
14363 _ACEOF
14364 if ac_fn_c_try_link "$LINENO"; then :
14365 ac_cv_cflags__gstrict_dwarf=yes
14366 else
14367 ac_cv_cflags__gstrict_dwarf=no
14369 rm -f core conftest.err conftest.$ac_objext \
14370 conftest$ac_exeext conftest.$ac_ext
14371 CFLAGS=$ac_wine_try_cflags_saved
14373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14374 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14375 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14376 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14377 fi ;;
14378 esac
14379 done
14381 case $host_cpu in
14382 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14383 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14384 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14385 $as_echo_n "(cached) " >&6
14386 else
14387 ac_wine_try_cflags_saved=$CFLAGS
14388 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14390 /* end confdefs.h. */
14391 int main(int argc, char **argv) { return 0; }
14392 _ACEOF
14393 if ac_fn_c_try_link "$LINENO"; then :
14394 ac_cv_cflags__fno_omit_frame_pointer=yes
14395 else
14396 ac_cv_cflags__fno_omit_frame_pointer=no
14398 rm -f core conftest.err conftest.$ac_objext \
14399 conftest$ac_exeext conftest.$ac_ext
14400 CFLAGS=$ac_wine_try_cflags_saved
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14403 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14404 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14405 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14406 fi ;;
14407 esac
14409 case $host in
14410 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14411 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14412 if ${ac_cv_cflags__Wno_format+:} false; then :
14413 $as_echo_n "(cached) " >&6
14414 else
14415 ac_wine_try_cflags_saved=$CFLAGS
14416 CFLAGS="$CFLAGS -Wno-format"
14417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14418 /* end confdefs.h. */
14419 int main(int argc, char **argv) { return 0; }
14420 _ACEOF
14421 if ac_fn_c_try_link "$LINENO"; then :
14422 ac_cv_cflags__Wno_format=yes
14423 else
14424 ac_cv_cflags__Wno_format=no
14426 rm -f core conftest.err conftest.$ac_objext \
14427 conftest$ac_exeext conftest.$ac_ext
14428 CFLAGS=$ac_wine_try_cflags_saved
14430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14431 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14432 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14433 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14434 fi ;;
14435 esac
14437 if test "x$enable_maintainer_mode" = "xyes"
14438 then
14439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14440 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14441 if ${ac_cv_cflags__Werror+:} false; then :
14442 $as_echo_n "(cached) " >&6
14443 else
14444 ac_wine_try_cflags_saved=$CFLAGS
14445 CFLAGS="$CFLAGS -Werror"
14446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14447 /* end confdefs.h. */
14448 int main(int argc, char **argv) { return 0; }
14449 _ACEOF
14450 if ac_fn_c_try_link "$LINENO"; then :
14451 ac_cv_cflags__Werror=yes
14452 else
14453 ac_cv_cflags__Werror=no
14455 rm -f core conftest.err conftest.$ac_objext \
14456 conftest$ac_exeext conftest.$ac_ext
14457 CFLAGS=$ac_wine_try_cflags_saved
14459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14460 $as_echo "$ac_cv_cflags__Werror" >&6; }
14461 if test "x$ac_cv_cflags__Werror" = xyes; then :
14462 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14466 saved_CFLAGS="$CFLAGS"
14467 CFLAGS="$CFLAGS -Werror"
14468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14469 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14470 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14471 $as_echo_n "(cached) " >&6
14472 else
14473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14474 /* end confdefs.h. */
14475 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14477 main ()
14481 return 0;
14483 _ACEOF
14484 if ac_fn_c_try_compile "$LINENO"; then :
14485 ac_cv_have_ms_hook_prologue="yes"
14486 else
14487 ac_cv_have_ms_hook_prologue="no"
14489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14492 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14493 CFLAGS="$saved_CFLAGS"
14494 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14495 then
14497 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14499 else
14500 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14507 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14508 if ${ac_cv_c_fortify_enabled+:} false; then :
14509 $as_echo_n "(cached) " >&6
14510 else
14511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14512 /* end confdefs.h. */
14513 #include <string.h>
14515 main ()
14517 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14518 #error Fortify enabled
14519 #endif
14521 return 0;
14523 _ACEOF
14524 if ac_fn_c_try_compile "$LINENO"; then :
14525 ac_cv_c_fortify_enabled=no
14526 else
14527 ac_cv_c_fortify_enabled=yes
14529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14532 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14533 if test "$ac_cv_c_fortify_enabled" = yes
14534 then
14535 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14540 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14541 if ${ac_cv_c_extern_prefix+:} false; then :
14542 $as_echo_n "(cached) " >&6
14543 else
14544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14545 /* end confdefs.h. */
14546 extern int ac_test;
14548 main ()
14550 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14552 return 0;
14554 _ACEOF
14555 if ac_fn_c_try_link "$LINENO"; then :
14556 ac_cv_c_extern_prefix="yes"
14557 else
14558 ac_cv_c_extern_prefix="no"
14560 rm -f core conftest.err conftest.$ac_objext \
14561 conftest$ac_exeext conftest.$ac_ext
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14564 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14566 case $host_cpu in
14567 *i[3456789]86*)
14568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14569 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14570 if ${ac_cv_c_stdcall_suffix+:} false; then :
14571 $as_echo_n "(cached) " >&6
14572 else
14573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14574 /* end confdefs.h. */
14575 #ifndef _MSC_VER
14576 #define __stdcall __attribute__((__stdcall__))
14577 #endif
14578 int __stdcall ac_test(int i) { return i; }
14580 main ()
14582 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14584 return 0;
14586 _ACEOF
14587 if ac_fn_c_try_link "$LINENO"; then :
14588 ac_cv_c_stdcall_suffix="yes"
14589 else
14590 ac_cv_c_stdcall_suffix="no"
14592 rm -f core conftest.err conftest.$ac_objext \
14593 conftest$ac_exeext conftest.$ac_ext
14595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14596 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14597 *) ac_cv_c_stdcall_suffix="no" ;;
14598 esac
14601 if test "$ac_cv_c_extern_prefix" = "yes"
14602 then
14603 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14605 asm_name_prefix="_"
14606 else
14607 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14609 asm_name_prefix=""
14613 if test "$ac_cv_c_stdcall_suffix" = "yes"
14614 then
14615 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14617 else
14618 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14624 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14625 if ${ac_cv_asm_func_def+:} false; then :
14626 $as_echo_n "(cached) " >&6
14627 else
14628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14629 /* end confdefs.h. */
14632 main ()
14634 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14636 return 0;
14638 _ACEOF
14639 if ac_fn_c_try_link "$LINENO"; then :
14640 ac_cv_asm_func_def=".def"
14641 else
14642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14643 /* end confdefs.h. */
14646 main ()
14648 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14650 return 0;
14652 _ACEOF
14653 if ac_fn_c_try_link "$LINENO"; then :
14654 ac_cv_asm_func_def=".type @function"
14655 else
14656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14657 /* end confdefs.h. */
14660 main ()
14662 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14664 return 0;
14666 _ACEOF
14667 if ac_fn_c_try_link "$LINENO"; then :
14668 ac_cv_asm_func_def=".type 2"
14669 else
14670 ac_cv_asm_func_def="unknown"
14672 rm -f core conftest.err conftest.$ac_objext \
14673 conftest$ac_exeext conftest.$ac_ext
14675 rm -f core conftest.err conftest.$ac_objext \
14676 conftest$ac_exeext conftest.$ac_ext
14678 rm -f core conftest.err conftest.$ac_objext \
14679 conftest$ac_exeext conftest.$ac_ext
14681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14682 $as_echo "$ac_cv_asm_func_def" >&6; }
14685 case "$ac_cv_asm_func_def" in
14686 ".def")
14687 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14689 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14690 ".type @function")
14691 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14693 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14694 ".type 2")
14695 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14697 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14699 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14701 asm_func_header="" ;;
14702 esac
14704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14705 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14706 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14707 $as_echo_n "(cached) " >&6
14708 else
14709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14710 /* end confdefs.h. */
14711 asm(".text\n\t.long 0");
14713 main ()
14717 return 0;
14719 _ACEOF
14720 if ac_fn_c_try_compile "$LINENO"; then :
14721 ac_cv_c_asm_outside_funcs="yes"
14722 else
14723 ac_cv_c_asm_outside_funcs="no"
14725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14728 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14731 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14732 if ${ac_cv_c_dot_previous+:} false; then :
14733 $as_echo_n "(cached) " >&6
14734 else
14735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14736 /* end confdefs.h. */
14739 main ()
14741 asm(".text\nac_test:\t.long 0\n\t.previous");
14743 return 0;
14745 _ACEOF
14746 if ac_fn_c_try_link "$LINENO"; then :
14747 ac_cv_c_dot_previous="yes"
14748 else
14749 ac_cv_c_dot_previous="no"
14751 rm -f core conftest.err conftest.$ac_objext \
14752 conftest$ac_exeext conftest.$ac_ext
14754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14755 $as_echo "$ac_cv_c_dot_previous" >&6; }
14757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14758 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14759 if ${ac_cv_c_cfi_support+:} false; then :
14760 $as_echo_n "(cached) " >&6
14761 else
14762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14763 /* end confdefs.h. */
14764 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14766 main ()
14770 return 0;
14772 _ACEOF
14773 if ac_fn_c_try_compile "$LINENO"; then :
14774 ac_cv_c_cfi_support="yes"
14775 else
14776 ac_cv_c_cfi_support="no"
14778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14781 $as_echo "$ac_cv_c_cfi_support" >&6; }
14783 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14784 asm_func_trailer=""
14785 if test "$ac_cv_c_dot_previous" = "yes"
14786 then
14787 asm_func_trailer="\\n\\t.previous"
14789 if test "$ac_cv_c_cfi_support" = "yes"
14790 then
14791 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14792 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14794 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14796 UNWINDFLAGS=-fasynchronous-unwind-tables
14798 else
14799 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14801 if test "x$enable_win64" = "xyes"
14802 then
14803 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
14807 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14810 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14811 then
14812 cat >>confdefs.h <<_ACEOF
14813 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14814 _ACEOF
14816 else
14817 cat >>confdefs.h <<_ACEOF
14818 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14819 _ACEOF
14823 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14826 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14830 case $build_os in
14831 cygwin*|mingw32*) TOOLSEXT=".exe"
14833 esac
14835 case $host_os in
14836 linux*)
14837 case $host_cpu in
14838 *i[3456789]86*|x86_64*)
14839 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14840 loader_programs="$loader_programs $wine_binary-preloader"
14841 as_fn_append LOADER_RULES "
14842 $wine_binary-preloader: preloader.o
14843 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14845 install install-lib:: $wine_binary-preloader
14846 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14848 uninstall::
14849 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14851 preloader_EXTRADEFS = $BUILTINFLAG
14852 " ;;
14853 esac
14855 esac
14856 as_fn_append LOADER_RULES "
14857 PROGRAMS = $loader_programs
14861 ac_save_CFLAGS="$CFLAGS"
14862 CFLAGS="$CFLAGS $BUILTINFLAG"
14863 for ac_func in \
14864 __res_get_state \
14865 __res_getservers \
14866 _finite \
14867 _isnan \
14868 _pclose \
14869 _popen \
14870 _snprintf \
14871 _spawnvp \
14872 _strdup \
14873 _stricmp \
14874 _strnicmp \
14875 _strtoi64 \
14876 _strtoui64 \
14877 _vsnprintf \
14878 asctime_r \
14879 chsize \
14880 dlopen \
14881 epoll_create \
14882 ffs \
14883 finitef \
14884 fnmatch \
14885 fork \
14886 fpclass \
14887 fstatfs \
14888 fstatvfs \
14889 ftruncate \
14890 futimens \
14891 futimes \
14892 futimesat \
14893 getattrlist \
14894 getdirentries \
14895 getopt_long_only \
14896 getpwuid \
14897 gettimeofday \
14898 getuid \
14899 if_nameindex \
14900 isnanf \
14901 kqueue \
14902 lstat \
14903 memmove \
14904 mmap \
14905 pclose \
14906 pipe2 \
14907 poll \
14908 popen \
14909 port_create \
14910 prctl \
14911 pread \
14912 proc_pidinfo \
14913 pwrite \
14914 readdir \
14915 readlink \
14916 sched_yield \
14917 select \
14918 setproctitle \
14919 setrlimit \
14920 settimeofday \
14921 sigaltstack \
14922 sigprocmask \
14923 snprintf \
14924 statfs \
14925 statvfs \
14926 strcasecmp \
14927 strdup \
14928 strerror \
14929 strncasecmp \
14930 strtold \
14931 strtoll \
14932 strtoull \
14933 symlink \
14934 tcdrain \
14935 thr_kill2 \
14936 timegm \
14937 usleep \
14938 vsnprintf
14940 do :
14941 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14942 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14943 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14944 cat >>confdefs.h <<_ACEOF
14945 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14946 _ACEOF
14949 done
14951 CFLAGS="$ac_save_CFLAGS"
14953 if test "$ac_cv_func_dlopen" = no
14954 then
14955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14956 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14957 if ${ac_cv_lib_dl_dlopen+:} false; then :
14958 $as_echo_n "(cached) " >&6
14959 else
14960 ac_check_lib_save_LIBS=$LIBS
14961 LIBS="-ldl $LIBS"
14962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14963 /* end confdefs.h. */
14965 /* Override any GCC internal prototype to avoid an error.
14966 Use char because int might match the return type of a GCC
14967 builtin and then its argument prototype would still apply. */
14968 #ifdef __cplusplus
14969 extern "C"
14970 #endif
14971 char dlopen ();
14973 main ()
14975 return dlopen ();
14977 return 0;
14979 _ACEOF
14980 if ac_fn_c_try_link "$LINENO"; then :
14981 ac_cv_lib_dl_dlopen=yes
14982 else
14983 ac_cv_lib_dl_dlopen=no
14985 rm -f core conftest.err conftest.$ac_objext \
14986 conftest$ac_exeext conftest.$ac_ext
14987 LIBS=$ac_check_lib_save_LIBS
14989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14990 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14991 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14992 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14993 DL_LIBS="-ldl"
14998 ac_wine_check_funcs_save_LIBS="$LIBS"
14999 LIBS="$LIBS $DL_LIBS"
15000 for ac_func in dladdr
15001 do :
15002 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15003 if test "x$ac_cv_func_dladdr" = xyes; then :
15004 cat >>confdefs.h <<_ACEOF
15005 #define HAVE_DLADDR 1
15006 _ACEOF
15009 done
15011 LIBS="$ac_wine_check_funcs_save_LIBS"
15013 if test "$ac_cv_func_poll" = no
15014 then
15015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15016 $as_echo_n "checking for poll in -lpoll... " >&6; }
15017 if ${ac_cv_lib_poll_poll+:} false; then :
15018 $as_echo_n "(cached) " >&6
15019 else
15020 ac_check_lib_save_LIBS=$LIBS
15021 LIBS="-lpoll $LIBS"
15022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15023 /* end confdefs.h. */
15025 /* Override any GCC internal prototype to avoid an error.
15026 Use char because int might match the return type of a GCC
15027 builtin and then its argument prototype would still apply. */
15028 #ifdef __cplusplus
15029 extern "C"
15030 #endif
15031 char poll ();
15033 main ()
15035 return poll ();
15037 return 0;
15039 _ACEOF
15040 if ac_fn_c_try_link "$LINENO"; then :
15041 ac_cv_lib_poll_poll=yes
15042 else
15043 ac_cv_lib_poll_poll=no
15045 rm -f core conftest.err conftest.$ac_objext \
15046 conftest$ac_exeext conftest.$ac_ext
15047 LIBS=$ac_check_lib_save_LIBS
15049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15050 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15051 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15052 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15053 POLL_LIBS="-lpoll"
15059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15060 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15061 if ${ac_cv_search_gethostbyname+:} false; then :
15062 $as_echo_n "(cached) " >&6
15063 else
15064 ac_func_search_save_LIBS=$LIBS
15065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15066 /* end confdefs.h. */
15068 /* Override any GCC internal prototype to avoid an error.
15069 Use char because int might match the return type of a GCC
15070 builtin and then its argument prototype would still apply. */
15071 #ifdef __cplusplus
15072 extern "C"
15073 #endif
15074 char gethostbyname ();
15076 main ()
15078 return gethostbyname ();
15080 return 0;
15082 _ACEOF
15083 for ac_lib in '' nsl; do
15084 if test -z "$ac_lib"; then
15085 ac_res="none required"
15086 else
15087 ac_res=-l$ac_lib
15088 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15090 if ac_fn_c_try_link "$LINENO"; then :
15091 ac_cv_search_gethostbyname=$ac_res
15093 rm -f core conftest.err conftest.$ac_objext \
15094 conftest$ac_exeext
15095 if ${ac_cv_search_gethostbyname+:} false; then :
15096 break
15098 done
15099 if ${ac_cv_search_gethostbyname+:} false; then :
15101 else
15102 ac_cv_search_gethostbyname=no
15104 rm conftest.$ac_ext
15105 LIBS=$ac_func_search_save_LIBS
15107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15108 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15109 ac_res=$ac_cv_search_gethostbyname
15110 if test "$ac_res" != no; then :
15111 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15117 $as_echo_n "checking for library containing connect... " >&6; }
15118 if ${ac_cv_search_connect+:} false; then :
15119 $as_echo_n "(cached) " >&6
15120 else
15121 ac_func_search_save_LIBS=$LIBS
15122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15123 /* end confdefs.h. */
15125 /* Override any GCC internal prototype to avoid an error.
15126 Use char because int might match the return type of a GCC
15127 builtin and then its argument prototype would still apply. */
15128 #ifdef __cplusplus
15129 extern "C"
15130 #endif
15131 char connect ();
15133 main ()
15135 return connect ();
15137 return 0;
15139 _ACEOF
15140 for ac_lib in '' socket; do
15141 if test -z "$ac_lib"; then
15142 ac_res="none required"
15143 else
15144 ac_res=-l$ac_lib
15145 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15147 if ac_fn_c_try_link "$LINENO"; then :
15148 ac_cv_search_connect=$ac_res
15150 rm -f core conftest.err conftest.$ac_objext \
15151 conftest$ac_exeext
15152 if ${ac_cv_search_connect+:} false; then :
15153 break
15155 done
15156 if ${ac_cv_search_connect+:} false; then :
15158 else
15159 ac_cv_search_connect=no
15161 rm conftest.$ac_ext
15162 LIBS=$ac_func_search_save_LIBS
15164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15165 $as_echo "$ac_cv_search_connect" >&6; }
15166 ac_res=$ac_cv_search_connect
15167 if test "$ac_res" != no; then :
15168 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15174 $as_echo_n "checking for library containing inet_aton... " >&6; }
15175 if ${ac_cv_search_inet_aton+:} false; then :
15176 $as_echo_n "(cached) " >&6
15177 else
15178 ac_func_search_save_LIBS=$LIBS
15179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15180 /* end confdefs.h. */
15182 /* Override any GCC internal prototype to avoid an error.
15183 Use char because int might match the return type of a GCC
15184 builtin and then its argument prototype would still apply. */
15185 #ifdef __cplusplus
15186 extern "C"
15187 #endif
15188 char inet_aton ();
15190 main ()
15192 return inet_aton ();
15194 return 0;
15196 _ACEOF
15197 for ac_lib in '' resolv; do
15198 if test -z "$ac_lib"; then
15199 ac_res="none required"
15200 else
15201 ac_res=-l$ac_lib
15202 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15204 if ac_fn_c_try_link "$LINENO"; then :
15205 ac_cv_search_inet_aton=$ac_res
15207 rm -f core conftest.err conftest.$ac_objext \
15208 conftest$ac_exeext
15209 if ${ac_cv_search_inet_aton+:} false; then :
15210 break
15212 done
15213 if ${ac_cv_search_inet_aton+:} false; then :
15215 else
15216 ac_cv_search_inet_aton=no
15218 rm conftest.$ac_ext
15219 LIBS=$ac_func_search_save_LIBS
15221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15222 $as_echo "$ac_cv_search_inet_aton" >&6; }
15223 ac_res=$ac_cv_search_inet_aton
15224 if test "$ac_res" != no; then :
15225 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15230 for ac_func in \
15231 getaddrinfo \
15232 getnameinfo \
15233 getnetbyname \
15234 getprotobyname \
15235 getprotobynumber \
15236 getservbyport \
15237 inet_addr \
15238 inet_network \
15239 inet_ntop \
15240 inet_pton \
15241 sendmsg \
15242 socketpair \
15244 do :
15245 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15246 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15247 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15248 cat >>confdefs.h <<_ACEOF
15249 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15250 _ACEOF
15253 done
15256 ac_save_LIBS=$LIBS
15257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15258 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15259 if ${ac_cv_search_clock_gettime+:} false; then :
15260 $as_echo_n "(cached) " >&6
15261 else
15262 ac_func_search_save_LIBS=$LIBS
15263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15264 /* end confdefs.h. */
15266 /* Override any GCC internal prototype to avoid an error.
15267 Use char because int might match the return type of a GCC
15268 builtin and then its argument prototype would still apply. */
15269 #ifdef __cplusplus
15270 extern "C"
15271 #endif
15272 char clock_gettime ();
15274 main ()
15276 return clock_gettime ();
15278 return 0;
15280 _ACEOF
15281 for ac_lib in '' rt; do
15282 if test -z "$ac_lib"; then
15283 ac_res="none required"
15284 else
15285 ac_res=-l$ac_lib
15286 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15288 if ac_fn_c_try_link "$LINENO"; then :
15289 ac_cv_search_clock_gettime=$ac_res
15291 rm -f core conftest.err conftest.$ac_objext \
15292 conftest$ac_exeext
15293 if ${ac_cv_search_clock_gettime+:} false; then :
15294 break
15296 done
15297 if ${ac_cv_search_clock_gettime+:} false; then :
15299 else
15300 ac_cv_search_clock_gettime=no
15302 rm conftest.$ac_ext
15303 LIBS=$ac_func_search_save_LIBS
15305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15306 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15307 ac_res=$ac_cv_search_clock_gettime
15308 if test "$ac_res" != no; then :
15309 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15311 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15313 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15317 LIBS=$ac_save_LIBS
15319 LDAP_LIBS=""
15321 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15322 then
15323 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15325 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15327 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15328 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15329 $as_echo_n "(cached) " >&6
15330 else
15331 ac_check_lib_save_LIBS=$LIBS
15332 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15334 /* end confdefs.h. */
15336 /* Override any GCC internal prototype to avoid an error.
15337 Use char because int might match the return type of a GCC
15338 builtin and then its argument prototype would still apply. */
15339 #ifdef __cplusplus
15340 extern "C"
15341 #endif
15342 char ldap_initialize ();
15344 main ()
15346 return ldap_initialize ();
15348 return 0;
15350 _ACEOF
15351 if ac_fn_c_try_link "$LINENO"; then :
15352 ac_cv_lib_ldap_r_ldap_initialize=yes
15353 else
15354 ac_cv_lib_ldap_r_ldap_initialize=no
15356 rm -f core conftest.err conftest.$ac_objext \
15357 conftest$ac_exeext conftest.$ac_ext
15358 LIBS=$ac_check_lib_save_LIBS
15360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15361 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15362 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15364 $as_echo_n "checking for ber_init in -llber... " >&6; }
15365 if ${ac_cv_lib_lber_ber_init+:} false; then :
15366 $as_echo_n "(cached) " >&6
15367 else
15368 ac_check_lib_save_LIBS=$LIBS
15369 LIBS="-llber $PTHREAD_LIBS $LIBS"
15370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15371 /* end confdefs.h. */
15373 /* Override any GCC internal prototype to avoid an error.
15374 Use char because int might match the return type of a GCC
15375 builtin and then its argument prototype would still apply. */
15376 #ifdef __cplusplus
15377 extern "C"
15378 #endif
15379 char ber_init ();
15381 main ()
15383 return ber_init ();
15385 return 0;
15387 _ACEOF
15388 if ac_fn_c_try_link "$LINENO"; then :
15389 ac_cv_lib_lber_ber_init=yes
15390 else
15391 ac_cv_lib_lber_ber_init=no
15393 rm -f core conftest.err conftest.$ac_objext \
15394 conftest$ac_exeext conftest.$ac_ext
15395 LIBS=$ac_check_lib_save_LIBS
15397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15398 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15399 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15401 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15403 LDAP_LIBS="-lldap_r -llber"
15410 ac_wine_check_funcs_save_LIBS="$LIBS"
15411 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15412 for ac_func in \
15413 ldap_count_references \
15414 ldap_first_reference \
15415 ldap_next_reference \
15416 ldap_parse_reference \
15417 ldap_parse_sort_control \
15418 ldap_parse_sortresponse_control \
15419 ldap_parse_vlv_control \
15420 ldap_parse_vlvresponse_control
15421 do :
15422 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15423 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15424 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15425 cat >>confdefs.h <<_ACEOF
15426 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15427 _ACEOF
15430 done
15432 LIBS="$ac_wine_check_funcs_save_LIBS"
15434 if test "x$LDAP_LIBS" = "x"; then :
15435 case "x$with_ldap" in
15436 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15437 xno) ;;
15438 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15439 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15440 esac
15443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15444 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15445 if ${wine_cv_one_arg_mkdir+:} false; then :
15446 $as_echo_n "(cached) " >&6
15447 else
15448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15449 /* end confdefs.h. */
15450 #include <sys/stat.h>
15452 main ()
15454 mkdir("foo");
15456 return 0;
15458 _ACEOF
15459 if ac_fn_c_try_compile "$LINENO"; then :
15460 wine_cv_one_arg_mkdir=yes
15461 else
15462 wine_cv_one_arg_mkdir=no
15464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15467 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15468 if test "$wine_cv_one_arg_mkdir" = "yes"
15469 then
15471 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15476 $as_echo_n "checking for sched_setaffinity... " >&6; }
15477 if ${wine_cv_have_sched_setaffinity+:} false; then :
15478 $as_echo_n "(cached) " >&6
15479 else
15480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15481 /* end confdefs.h. */
15482 #define _GNU_SOURCE
15483 #include <sched.h>
15485 main ()
15487 sched_setaffinity(0, 0, 0);
15489 return 0;
15491 _ACEOF
15492 if ac_fn_c_try_link "$LINENO"; then :
15493 wine_cv_have_sched_setaffinity=yes
15494 else
15495 wine_cv_have_sched_setaffinity=no
15497 rm -f core conftest.err conftest.$ac_objext \
15498 conftest$ac_exeext conftest.$ac_ext
15500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15501 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15502 if test "$wine_cv_have_sched_setaffinity" = "yes"
15503 then
15505 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15510 $as_echo_n "checking for fallocate... " >&6; }
15511 if ${wine_cv_have_fallocate+:} false; then :
15512 $as_echo_n "(cached) " >&6
15513 else
15514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15515 /* end confdefs.h. */
15516 #define _GNU_SOURCE
15517 #include <fcntl.h>
15519 main ()
15521 fallocate(-1, 0, 0, 0);
15523 return 0;
15525 _ACEOF
15526 if ac_fn_c_try_link "$LINENO"; then :
15527 wine_cv_have_fallocate=yes
15528 else
15529 wine_cv_have_fallocate=no
15531 rm -f core conftest.err conftest.$ac_objext \
15532 conftest$ac_exeext conftest.$ac_ext
15534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15535 $as_echo "$wine_cv_have_fallocate" >&6; }
15536 if test "$wine_cv_have_fallocate" = "yes"
15537 then
15539 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15545 $as_echo_n "checking for inline... " >&6; }
15546 if ${ac_cv_c_inline+:} false; then :
15547 $as_echo_n "(cached) " >&6
15548 else
15549 ac_cv_c_inline=no
15550 for ac_kw in inline __inline__ __inline; do
15551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15552 /* end confdefs.h. */
15553 #ifndef __cplusplus
15554 typedef int foo_t;
15555 static $ac_kw foo_t static_foo () {return 0; }
15556 $ac_kw foo_t foo () {return 0; }
15557 #endif
15559 _ACEOF
15560 if ac_fn_c_try_compile "$LINENO"; then :
15561 ac_cv_c_inline=$ac_kw
15563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15564 test "$ac_cv_c_inline" != no && break
15565 done
15568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15569 $as_echo "$ac_cv_c_inline" >&6; }
15571 case $ac_cv_c_inline in
15572 inline | yes) ;;
15574 case $ac_cv_c_inline in
15575 no) ac_val=;;
15576 *) ac_val=$ac_cv_c_inline;;
15577 esac
15578 cat >>confdefs.h <<_ACEOF
15579 #ifndef __cplusplus
15580 #define inline $ac_val
15581 #endif
15582 _ACEOF
15584 esac
15586 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15587 if test "x$ac_cv_type_mode_t" = xyes; then :
15589 cat >>confdefs.h <<_ACEOF
15590 #define HAVE_MODE_T 1
15591 _ACEOF
15595 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15596 if test "x$ac_cv_type_off_t" = xyes; then :
15598 cat >>confdefs.h <<_ACEOF
15599 #define HAVE_OFF_T 1
15600 _ACEOF
15604 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15605 if test "x$ac_cv_type_pid_t" = xyes; then :
15607 cat >>confdefs.h <<_ACEOF
15608 #define HAVE_PID_T 1
15609 _ACEOF
15613 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15614 if test "x$ac_cv_type_size_t" = xyes; then :
15616 cat >>confdefs.h <<_ACEOF
15617 #define HAVE_SIZE_T 1
15618 _ACEOF
15622 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15623 if test "x$ac_cv_type_ssize_t" = xyes; then :
15625 cat >>confdefs.h <<_ACEOF
15626 #define HAVE_SSIZE_T 1
15627 _ACEOF
15631 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15632 if test "x$ac_cv_type_long_long" = xyes; then :
15634 cat >>confdefs.h <<_ACEOF
15635 #define HAVE_LONG_LONG 1
15636 _ACEOF
15640 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15641 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15643 cat >>confdefs.h <<_ACEOF
15644 #define HAVE_FSBLKCNT_T 1
15645 _ACEOF
15649 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15650 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15652 cat >>confdefs.h <<_ACEOF
15653 #define HAVE_FSFILCNT_T 1
15654 _ACEOF
15659 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15660 #include <signal.h>
15662 if test "x$ac_cv_type_sigset_t" = xyes; then :
15664 cat >>confdefs.h <<_ACEOF
15665 #define HAVE_SIGSET_T 1
15666 _ACEOF
15671 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15673 if test "x$ac_cv_type_request_sense" = xyes; then :
15675 cat >>confdefs.h <<_ACEOF
15676 #define HAVE_REQUEST_SENSE 1
15677 _ACEOF
15683 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15684 #ifdef HAVE_SYS_SOCKET_H
15685 #include <sys/socket.h>
15686 #endif
15687 #ifdef HAVE_SYS_SOCKETVAR_H
15688 #include <sys/socketvar.h>
15689 #endif
15690 #ifdef HAVE_NET_ROUTE_H
15691 #include <net/route.h>
15692 #endif
15693 #ifdef HAVE_NETINET_IN_H
15694 #include <netinet/in.h>
15695 #endif
15696 #ifdef HAVE_NETINET_IN_SYSTM_H
15697 #include <netinet/in_systm.h>
15698 #endif
15699 #ifdef HAVE_NETINET_IP_H
15700 #include <netinet/ip.h>
15701 #endif
15702 #ifdef HAVE_NETINET_IN_PCB_H
15703 #include <netinet/in_pcb.h>
15704 #endif
15706 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15708 cat >>confdefs.h <<_ACEOF
15709 #define HAVE_STRUCT_XINPGEN 1
15710 _ACEOF
15716 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15717 #include <link.h>
15718 #endif
15719 #ifdef HAVE_SYS_LINK_H
15720 #include <sys/link.h>
15721 #endif
15723 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15725 cat >>confdefs.h <<_ACEOF
15726 #define HAVE_STRUCT_R_DEBUG 1
15727 _ACEOF
15731 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15732 #include <link.h>
15733 #endif
15734 #ifdef HAVE_SYS_LINK_H
15735 #include <sys/link.h>
15736 #endif
15738 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15740 cat >>confdefs.h <<_ACEOF
15741 #define HAVE_STRUCT_LINK_MAP 1
15742 _ACEOF
15748 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15749 #include <linux/input.h>
15750 #endif
15752 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15754 cat >>confdefs.h <<_ACEOF
15755 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15756 _ACEOF
15762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15763 $as_echo_n "checking for sigaddset... " >&6; }
15764 if ${wine_cv_have_sigaddset+:} false; then :
15765 $as_echo_n "(cached) " >&6
15766 else
15767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15768 /* end confdefs.h. */
15769 #include <signal.h>
15771 main ()
15773 sigset_t set; sigaddset(&set,SIGTERM);
15775 return 0;
15777 _ACEOF
15778 if ac_fn_c_try_link "$LINENO"; then :
15779 wine_cv_have_sigaddset=yes
15780 else
15781 wine_cv_have_sigaddset=no
15783 rm -f core conftest.err conftest.$ac_objext \
15784 conftest$ac_exeext conftest.$ac_ext
15786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15787 $as_echo "$wine_cv_have_sigaddset" >&6; }
15788 if test "$wine_cv_have_sigaddset" = "yes"
15789 then
15791 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15797 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15798 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15799 $as_echo_n "(cached) " >&6
15800 else
15801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15802 /* end confdefs.h. */
15803 #include <netdb.h>
15805 main ()
15808 char *name=0;
15809 struct hostent he;
15810 struct hostent *result;
15811 char *buf=0;
15812 int bufsize=0;
15813 int errnr;
15814 char *addr=0;
15815 int addrlen=0;
15816 int addrtype=0;
15817 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15818 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15821 return 0;
15823 _ACEOF
15824 if ac_fn_c_try_link "$LINENO"; then :
15825 wine_cv_linux_gethostbyname_r_6=yes
15826 else
15827 wine_cv_linux_gethostbyname_r_6=no
15830 rm -f core conftest.err conftest.$ac_objext \
15831 conftest$ac_exeext conftest.$ac_ext
15834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15835 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15836 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15837 then
15839 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15843 if test "$ac_cv_header_linux_joystick_h" = "yes"
15844 then
15845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15846 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15847 if ${wine_cv_linux_joystick_22_api+:} false; then :
15848 $as_echo_n "(cached) " >&6
15849 else
15850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15851 /* end confdefs.h. */
15853 #include <sys/ioctl.h>
15854 #include <sys/types.h>
15855 #include <linux/joystick.h>
15857 struct js_event blub;
15858 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15859 #error "no 2.2 header"
15860 #endif
15863 main ()
15865 /*empty*/
15867 return 0;
15869 _ACEOF
15870 if ac_fn_c_try_compile "$LINENO"; then :
15871 wine_cv_linux_joystick_22_api=yes
15872 else
15873 wine_cv_linux_joystick_22_api=no
15875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15879 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15880 if test "$wine_cv_linux_joystick_22_api" = "yes"
15881 then
15883 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15889 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15890 #ifdef HAVE_SYS_PARAM_H
15891 # include <sys/param.h>
15892 #endif
15893 #ifdef HAVE_SYS_MOUNT_H
15894 # include <sys/mount.h>
15895 #endif
15896 #ifdef HAVE_SYS_VFS_H
15897 # include <sys/vfs.h>
15898 #endif
15899 #ifdef HAVE_SYS_STATFS_H
15900 # include <sys/statfs.h>
15901 #endif
15903 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15905 cat >>confdefs.h <<_ACEOF
15906 #define HAVE_STRUCT_STATFS_F_BFREE 1
15907 _ACEOF
15911 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15912 #ifdef HAVE_SYS_PARAM_H
15913 # include <sys/param.h>
15914 #endif
15915 #ifdef HAVE_SYS_MOUNT_H
15916 # include <sys/mount.h>
15917 #endif
15918 #ifdef HAVE_SYS_VFS_H
15919 # include <sys/vfs.h>
15920 #endif
15921 #ifdef HAVE_SYS_STATFS_H
15922 # include <sys/statfs.h>
15923 #endif
15925 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15927 cat >>confdefs.h <<_ACEOF
15928 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15929 _ACEOF
15933 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15934 #ifdef HAVE_SYS_PARAM_H
15935 # include <sys/param.h>
15936 #endif
15937 #ifdef HAVE_SYS_MOUNT_H
15938 # include <sys/mount.h>
15939 #endif
15940 #ifdef HAVE_SYS_VFS_H
15941 # include <sys/vfs.h>
15942 #endif
15943 #ifdef HAVE_SYS_STATFS_H
15944 # include <sys/statfs.h>
15945 #endif
15947 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15949 cat >>confdefs.h <<_ACEOF
15950 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15951 _ACEOF
15955 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15956 #ifdef HAVE_SYS_PARAM_H
15957 # include <sys/param.h>
15958 #endif
15959 #ifdef HAVE_SYS_MOUNT_H
15960 # include <sys/mount.h>
15961 #endif
15962 #ifdef HAVE_SYS_VFS_H
15963 # include <sys/vfs.h>
15964 #endif
15965 #ifdef HAVE_SYS_STATFS_H
15966 # include <sys/statfs.h>
15967 #endif
15969 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15971 cat >>confdefs.h <<_ACEOF
15972 #define HAVE_STRUCT_STATFS_F_FFREE 1
15973 _ACEOF
15977 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15978 #ifdef HAVE_SYS_PARAM_H
15979 # include <sys/param.h>
15980 #endif
15981 #ifdef HAVE_SYS_MOUNT_H
15982 # include <sys/mount.h>
15983 #endif
15984 #ifdef HAVE_SYS_VFS_H
15985 # include <sys/vfs.h>
15986 #endif
15987 #ifdef HAVE_SYS_STATFS_H
15988 # include <sys/statfs.h>
15989 #endif
15991 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15993 cat >>confdefs.h <<_ACEOF
15994 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15995 _ACEOF
15999 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16000 #ifdef HAVE_SYS_PARAM_H
16001 # include <sys/param.h>
16002 #endif
16003 #ifdef HAVE_SYS_MOUNT_H
16004 # include <sys/mount.h>
16005 #endif
16006 #ifdef HAVE_SYS_VFS_H
16007 # include <sys/vfs.h>
16008 #endif
16009 #ifdef HAVE_SYS_STATFS_H
16010 # include <sys/statfs.h>
16011 #endif
16013 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16015 cat >>confdefs.h <<_ACEOF
16016 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16017 _ACEOF
16023 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16024 #include <sys/statvfs.h>
16025 #endif
16027 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16029 cat >>confdefs.h <<_ACEOF
16030 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16031 _ACEOF
16037 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16038 #include <dirent.h>
16039 #endif
16041 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16043 cat >>confdefs.h <<_ACEOF
16044 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16045 _ACEOF
16051 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16052 #ifdef HAVE_SYS_SOCKET_H
16053 # include <sys/socket.h>
16054 #endif
16055 #ifdef HAVE_SYS_UN_H
16056 # include <sys/un.h>
16057 #endif
16059 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16061 cat >>confdefs.h <<_ACEOF
16062 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16063 _ACEOF
16067 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16068 #ifdef HAVE_SYS_SOCKET_H
16069 # include <sys/socket.h>
16070 #endif
16071 #ifdef HAVE_SYS_UN_H
16072 # include <sys/un.h>
16073 #endif
16075 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16077 cat >>confdefs.h <<_ACEOF
16078 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16079 _ACEOF
16083 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16084 #ifdef HAVE_SYS_SOCKET_H
16085 # include <sys/socket.h>
16086 #endif
16087 #ifdef HAVE_SYS_UN_H
16088 # include <sys/un.h>
16089 #endif
16091 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16093 cat >>confdefs.h <<_ACEOF
16094 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16095 _ACEOF
16101 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16102 #ifdef HAVE_SCSI_SG_H
16103 #include <scsi/sg.h>
16104 #endif
16106 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16108 cat >>confdefs.h <<_ACEOF
16109 #define HAVE_SCSIREQ_T_CMD 1
16110 _ACEOF
16114 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>
16115 #ifdef HAVE_SCSI_SG_H
16116 #include <scsi/sg.h>
16117 #endif
16119 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16121 cat >>confdefs.h <<_ACEOF
16122 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16123 _ACEOF
16129 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16131 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16133 cat >>confdefs.h <<_ACEOF
16134 #define HAVE_SIGINFO_T_SI_FD 1
16135 _ACEOF
16141 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16142 #ifdef HAVE_SYS_MTIO_H
16143 #include <sys/mtio.h>
16144 #endif
16146 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16148 cat >>confdefs.h <<_ACEOF
16149 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16150 _ACEOF
16154 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16155 #ifdef HAVE_SYS_MTIO_H
16156 #include <sys/mtio.h>
16157 #endif
16159 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16161 cat >>confdefs.h <<_ACEOF
16162 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16163 _ACEOF
16167 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16168 #ifdef HAVE_SYS_MTIO_H
16169 #include <sys/mtio.h>
16170 #endif
16172 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16174 cat >>confdefs.h <<_ACEOF
16175 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16176 _ACEOF
16182 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16183 #include <getopt.h>
16184 #endif
16186 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16188 cat >>confdefs.h <<_ACEOF
16189 #define HAVE_STRUCT_OPTION_NAME 1
16190 _ACEOF
16196 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16197 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16199 cat >>confdefs.h <<_ACEOF
16200 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16201 _ACEOF
16205 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16206 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16208 cat >>confdefs.h <<_ACEOF
16209 #define HAVE_STRUCT_STAT_ST_MTIM 1
16210 _ACEOF
16214 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16215 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16217 cat >>confdefs.h <<_ACEOF
16218 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16219 _ACEOF
16223 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16224 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16226 cat >>confdefs.h <<_ACEOF
16227 #define HAVE_STRUCT_STAT_ST_CTIM 1
16228 _ACEOF
16232 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16233 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16235 cat >>confdefs.h <<_ACEOF
16236 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16237 _ACEOF
16241 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16242 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16244 cat >>confdefs.h <<_ACEOF
16245 #define HAVE_STRUCT_STAT_ST_ATIM 1
16246 _ACEOF
16250 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16251 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16253 cat >>confdefs.h <<_ACEOF
16254 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16255 _ACEOF
16259 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16260 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16262 cat >>confdefs.h <<_ACEOF
16263 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16264 _ACEOF
16268 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16269 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16271 cat >>confdefs.h <<_ACEOF
16272 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16273 _ACEOF
16277 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16278 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16280 cat >>confdefs.h <<_ACEOF
16281 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16282 _ACEOF
16286 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16287 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16289 cat >>confdefs.h <<_ACEOF
16290 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16291 _ACEOF
16295 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16296 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16298 cat >>confdefs.h <<_ACEOF
16299 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16300 _ACEOF
16306 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
16307 #include <sys/types.h>
16308 #endif
16309 #ifdef HAVE_NETINET_IN_H
16310 #include <netinet/in.h>
16311 #endif
16313 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16315 cat >>confdefs.h <<_ACEOF
16316 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16317 _ACEOF
16323 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16324 #include <resolv.h>
16325 #endif
16327 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16329 cat >>confdefs.h <<_ACEOF
16330 #define HAVE_STRUCT___RES_STATE 1
16331 _ACEOF
16337 ac_fn_c_check_member "$LINENO" "struct __res_state" "_u._ext.nscount6" "ac_cv_member_struct___res_state__u__ext_nscount6" "#ifdef HAVE_RESOLV_H
16338 #include <resolv.h>
16339 #endif
16341 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16343 cat >>confdefs.h <<_ACEOF
16344 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16345 _ACEOF
16351 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16352 #include <sys/types.h>
16353 #endif
16354 #ifdef HAVE_NETINET_IN_H
16355 # include <netinet/in.h>
16356 #endif
16357 #ifdef HAVE_ARPA_NAMESER_H
16358 # include <arpa/nameser.h>
16359 #endif
16361 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16363 cat >>confdefs.h <<_ACEOF
16364 #define HAVE_NS_MSG__MSG_PTR 1
16365 _ACEOF
16371 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16372 #include <sys/types.h>
16373 #endif
16374 #ifdef HAVE_NETINET_IP_H
16375 #include <netinet/ip.h>
16376 #endif
16377 #ifdef HAVE_NETINET_IP_ICMP_H
16378 #include <netinet/ip_icmp.h>
16379 #endif
16380 #ifdef HAVE_NETINET_ICMP_VAR_H
16381 #include <netinet/icmp_var.h>
16382 #endif
16384 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16386 cat >>confdefs.h <<_ACEOF
16387 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16388 _ACEOF
16394 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16395 #include <sys/types.h>
16396 #endif
16397 #ifdef HAVE_ALIAS_H
16398 #include <alias.h>
16399 #endif
16400 #ifdef HAVE_SYS_SOCKET_H
16401 #include <sys/socket.h>
16402 #endif
16403 #ifdef HAVE_SYS_SOCKETVAR_H
16404 #include <sys/socketvar.h>
16405 #endif
16406 #ifdef HAVE_SYS_TIMEOUT_H
16407 #include <sys/timeout.h>
16408 #endif
16409 #ifdef HAVE_NETINET_IN_H
16410 #include <netinet/in.h>
16411 #endif
16412 #ifdef HAVE_NETINET_IN_SYSTM_H
16413 #include <netinet/in_systm.h>
16414 #endif
16415 #ifdef HAVE_NETINET_IP_H
16416 #include <netinet/ip.h>
16417 #endif
16418 #ifdef HAVE_NETINET_IP_VAR_H
16419 #include <netinet/ip_var.h>
16420 #endif
16421 #ifdef HAVE_NETINET_IP_ICMP_H
16422 #include <netinet/ip_icmp.h>
16423 #endif
16424 #ifdef HAVE_NETINET_ICMP_VAR_H
16425 #include <netinet/icmp_var.h>
16426 #endif
16428 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16430 cat >>confdefs.h <<_ACEOF
16431 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16432 _ACEOF
16438 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16439 #include <sys/types.h>
16440 #endif
16441 #ifdef HAVE_SYS_SOCKETVAR_H
16442 #include <sys/socketvar.h>
16443 #endif
16444 #ifdef HAVE_NETINET_IN_H
16445 #include <netinet/in.h>
16446 #endif
16447 #ifdef HAVE_NETINET_IP_VAR_H
16448 #include <netinet/ip_var.h>
16449 #endif
16451 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16453 cat >>confdefs.h <<_ACEOF
16454 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16455 _ACEOF
16461 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
16462 #include <netinet/ip_var.h>
16463 #endif
16465 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16467 cat >>confdefs.h <<_ACEOF
16468 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16469 _ACEOF
16475 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16476 #include <sys/types.h>
16477 #endif
16478 #ifdef HAVE_SYS_SOCKETVAR_H
16479 #include <sys/socketvar.h>
16480 #endif
16481 #ifdef HAVE_NETINET_IN_H
16482 #include <netinet/in.h>
16483 #endif
16484 #ifdef HAVE_NETINET_TCP_H
16485 #include <netinet/tcp.h>
16486 #endif
16487 #ifdef HAVE_NETINET_TCP_VAR_H
16488 #include <netinet/tcp_var.h>
16489 #endif
16491 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16493 cat >>confdefs.h <<_ACEOF
16494 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16495 _ACEOF
16501 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
16502 #include <netinet/tcp_var.h>
16503 #endif
16505 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16507 cat >>confdefs.h <<_ACEOF
16508 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16509 _ACEOF
16515 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16516 #include <sys/types.h>
16517 #endif
16518 #ifdef HAVE_NETINET_IN_H
16519 #include <netinet/in.h>
16520 #endif
16521 #ifdef HAVE_NETINET_IP_VAR_H
16522 #include <netinet/ip_var.h>
16523 #endif
16524 #ifdef HAVE_NETINET_UDP_H
16525 #include <netinet/udp.h>
16526 #endif
16527 #ifdef HAVE_NETINET_UDP_VAR_H
16528 #include <netinet/udp_var.h>
16529 #endif
16531 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16533 cat >>confdefs.h <<_ACEOF
16534 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16535 _ACEOF
16541 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16542 #include <sys/types.h>
16543 #endif
16544 #ifdef HAVE_NET_IF_H
16545 # include <net/if.h>
16546 #endif
16548 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16550 cat >>confdefs.h <<_ACEOF
16551 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16552 _ACEOF
16558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16559 $as_echo_n "checking for timezone variable... " >&6; }
16560 if ${ac_cv_have_timezone+:} false; then :
16561 $as_echo_n "(cached) " >&6
16562 else
16563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16564 /* end confdefs.h. */
16565 #include <time.h>
16567 main ()
16569 timezone = 1
16571 return 0;
16573 _ACEOF
16574 if ac_fn_c_try_link "$LINENO"; then :
16575 ac_cv_have_timezone="yes"
16576 else
16577 ac_cv_have_timezone="no"
16579 rm -f core conftest.err conftest.$ac_objext \
16580 conftest$ac_exeext conftest.$ac_ext
16582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16583 $as_echo "$ac_cv_have_timezone" >&6; }
16584 if test "$ac_cv_have_timezone" = "yes"
16585 then
16587 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16591 $as_echo_n "checking for daylight variable... " >&6; }
16592 if ${ac_cv_have_daylight+:} false; then :
16593 $as_echo_n "(cached) " >&6
16594 else
16595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16596 /* end confdefs.h. */
16597 #include <time.h>
16599 main ()
16601 daylight = 1
16603 return 0;
16605 _ACEOF
16606 if ac_fn_c_try_link "$LINENO"; then :
16607 ac_cv_have_daylight="yes"
16608 else
16609 ac_cv_have_daylight="no"
16611 rm -f core conftest.err conftest.$ac_objext \
16612 conftest$ac_exeext conftest.$ac_ext
16614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16615 $as_echo "$ac_cv_have_daylight" >&6; }
16616 if test "$ac_cv_have_daylight" = "yes"
16617 then
16619 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16623 ac_save_LIBS="$LIBS"
16624 LIBS="$LIBS -lm"
16625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16626 $as_echo_n "checking for isfinite... " >&6; }
16627 if ${ac_cv_have_isfinite+:} false; then :
16628 $as_echo_n "(cached) " >&6
16629 else
16630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16631 /* end confdefs.h. */
16632 #define _GNU_SOURCE
16633 #include <math.h>
16635 main ()
16637 float f = 0.0; return isfinite(f)
16639 return 0;
16641 _ACEOF
16642 if ac_fn_c_try_link "$LINENO"; then :
16643 ac_cv_have_isfinite="yes"
16644 else
16645 ac_cv_have_isfinite="no"
16647 rm -f core conftest.err conftest.$ac_objext \
16648 conftest$ac_exeext conftest.$ac_ext
16650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16651 $as_echo "$ac_cv_have_isfinite" >&6; }
16652 if test "$ac_cv_have_isfinite" = "yes"
16653 then
16655 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16660 $as_echo_n "checking for isinf... " >&6; }
16661 if ${ac_cv_have_isinf+:} false; then :
16662 $as_echo_n "(cached) " >&6
16663 else
16664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16665 /* end confdefs.h. */
16666 #include <math.h>
16668 main ()
16670 float f = 0.0; return isinf(f)
16672 return 0;
16674 _ACEOF
16675 if ac_fn_c_try_link "$LINENO"; then :
16676 ac_cv_have_isinf="yes"
16677 else
16678 ac_cv_have_isinf="no"
16680 rm -f core conftest.err conftest.$ac_objext \
16681 conftest$ac_exeext conftest.$ac_ext
16683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16684 $as_echo "$ac_cv_have_isinf" >&6; }
16685 if test "$ac_cv_have_isinf" = "yes"
16686 then
16688 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16693 $as_echo_n "checking for isnan... " >&6; }
16694 if ${ac_cv_have_isnan+:} false; then :
16695 $as_echo_n "(cached) " >&6
16696 else
16697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16698 /* end confdefs.h. */
16699 #include <math.h>
16701 main ()
16703 float f = 0.0; return isnan(f)
16705 return 0;
16707 _ACEOF
16708 if ac_fn_c_try_link "$LINENO"; then :
16709 ac_cv_have_isnan="yes"
16710 else
16711 ac_cv_have_isnan="no"
16713 rm -f core conftest.err conftest.$ac_objext \
16714 conftest$ac_exeext conftest.$ac_ext
16716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16717 $as_echo "$ac_cv_have_isnan" >&6; }
16718 if test "$ac_cv_have_isnan" = "yes"
16719 then
16721 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16725 for ac_func in \
16726 cbrt \
16727 cbrtf \
16728 erf \
16729 erff \
16730 exp2 \
16731 exp2f \
16732 llrint \
16733 llrintf \
16734 llround \
16735 llroundf \
16736 log2 \
16737 log2f \
16738 lrint \
16739 lrintf \
16740 lround \
16741 lroundf \
16742 rint \
16743 rintf \
16744 round \
16745 roundf \
16746 trunc \
16747 truncf
16749 do :
16750 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16751 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16752 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16753 cat >>confdefs.h <<_ACEOF
16754 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16755 _ACEOF
16758 done
16760 LIBS="$ac_save_LIBS"
16762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16763 $as_echo_n "checking for __builtin_clz... " >&6; }
16764 if ${ac_cv_have___builtin_clz+:} false; then :
16765 $as_echo_n "(cached) " >&6
16766 else
16767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16768 /* end confdefs.h. */
16771 main ()
16773 return __builtin_clz(1)
16775 return 0;
16777 _ACEOF
16778 if ac_fn_c_try_link "$LINENO"; then :
16779 ac_cv_have___builtin_clz="yes"
16780 else
16781 ac_cv_have___builtin_clz="no"
16783 rm -f core conftest.err conftest.$ac_objext \
16784 conftest$ac_exeext conftest.$ac_ext
16786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16787 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16788 if test "$ac_cv_have___builtin_clz" = "yes"
16789 then
16791 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16796 case $host_cpu in
16797 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16798 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16799 if ${ac_cv_cpp_def___i386__+:} false; then :
16800 $as_echo_n "(cached) " >&6
16801 else
16802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16803 /* end confdefs.h. */
16804 #ifndef __i386__
16806 #endif
16807 _ACEOF
16808 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16809 $EGREP "yes" >/dev/null 2>&1; then :
16810 ac_cv_cpp_def___i386__=yes
16811 else
16812 ac_cv_cpp_def___i386__=no
16814 rm -f conftest*
16817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16818 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16819 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16820 CFLAGS="$CFLAGS -D__i386__"
16821 LINTFLAGS="$LINTFLAGS -D__i386__"
16822 fi ;;
16823 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16824 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16825 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16826 $as_echo_n "(cached) " >&6
16827 else
16828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16829 /* end confdefs.h. */
16830 #ifndef __x86_64__
16832 #endif
16833 _ACEOF
16834 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16835 $EGREP "yes" >/dev/null 2>&1; then :
16836 ac_cv_cpp_def___x86_64__=yes
16837 else
16838 ac_cv_cpp_def___x86_64__=no
16840 rm -f conftest*
16843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16844 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16845 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16846 CFLAGS="$CFLAGS -D__x86_64__"
16847 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16848 fi ;;
16849 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16850 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16851 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16852 $as_echo_n "(cached) " >&6
16853 else
16854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16855 /* end confdefs.h. */
16856 #ifndef __sparc64__
16858 #endif
16859 _ACEOF
16860 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16861 $EGREP "yes" >/dev/null 2>&1; then :
16862 ac_cv_cpp_def___sparc64__=yes
16863 else
16864 ac_cv_cpp_def___sparc64__=no
16866 rm -f conftest*
16869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16870 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16871 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16872 CFLAGS="$CFLAGS -D__sparc64__"
16873 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16874 fi ;;
16875 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16876 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16877 if ${ac_cv_cpp_def___sparc__+:} false; then :
16878 $as_echo_n "(cached) " >&6
16879 else
16880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16881 /* end confdefs.h. */
16882 #ifndef __sparc__
16884 #endif
16885 _ACEOF
16886 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16887 $EGREP "yes" >/dev/null 2>&1; then :
16888 ac_cv_cpp_def___sparc__=yes
16889 else
16890 ac_cv_cpp_def___sparc__=no
16892 rm -f conftest*
16895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16896 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16897 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16898 CFLAGS="$CFLAGS -D__sparc__"
16899 LINTFLAGS="$LINTFLAGS -D__sparc__"
16900 fi ;;
16901 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16902 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16903 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16904 $as_echo_n "(cached) " >&6
16905 else
16906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16907 /* end confdefs.h. */
16908 #ifndef __powerpc64__
16910 #endif
16911 _ACEOF
16912 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16913 $EGREP "yes" >/dev/null 2>&1; then :
16914 ac_cv_cpp_def___powerpc64__=yes
16915 else
16916 ac_cv_cpp_def___powerpc64__=no
16918 rm -f conftest*
16921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16922 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16923 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16924 CFLAGS="$CFLAGS -D__powerpc64__"
16925 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16926 fi ;;
16927 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16928 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16929 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16930 $as_echo_n "(cached) " >&6
16931 else
16932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16933 /* end confdefs.h. */
16934 #ifndef __powerpc__
16936 #endif
16937 _ACEOF
16938 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16939 $EGREP "yes" >/dev/null 2>&1; then :
16940 ac_cv_cpp_def___powerpc__=yes
16941 else
16942 ac_cv_cpp_def___powerpc__=no
16944 rm -f conftest*
16947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16948 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16949 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16950 CFLAGS="$CFLAGS -D__powerpc__"
16951 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16952 fi ;;
16953 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16954 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16955 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16956 $as_echo_n "(cached) " >&6
16957 else
16958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16959 /* end confdefs.h. */
16960 #ifndef __aarch64__
16962 #endif
16963 _ACEOF
16964 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16965 $EGREP "yes" >/dev/null 2>&1; then :
16966 ac_cv_cpp_def___aarch64__=yes
16967 else
16968 ac_cv_cpp_def___aarch64__=no
16970 rm -f conftest*
16973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16974 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16975 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16976 CFLAGS="$CFLAGS -D__aarch64__"
16977 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16978 fi ;;
16979 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16980 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16981 if ${ac_cv_cpp_def___arm__+:} false; then :
16982 $as_echo_n "(cached) " >&6
16983 else
16984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16985 /* end confdefs.h. */
16986 #ifndef __arm__
16988 #endif
16989 _ACEOF
16990 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16991 $EGREP "yes" >/dev/null 2>&1; then :
16992 ac_cv_cpp_def___arm__=yes
16993 else
16994 ac_cv_cpp_def___arm__=no
16996 rm -f conftest*
16999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17000 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17001 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17002 CFLAGS="$CFLAGS -D__arm__"
17003 LINTFLAGS="$LINTFLAGS -D__arm__"
17004 fi ;;
17005 esac
17007 case $host_vendor in
17008 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17009 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17010 if ${ac_cv_cpp_def___sun__+:} false; then :
17011 $as_echo_n "(cached) " >&6
17012 else
17013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17014 /* end confdefs.h. */
17015 #ifndef __sun__
17017 #endif
17018 _ACEOF
17019 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17020 $EGREP "yes" >/dev/null 2>&1; then :
17021 ac_cv_cpp_def___sun__=yes
17022 else
17023 ac_cv_cpp_def___sun__=no
17025 rm -f conftest*
17028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17029 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17030 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17031 CFLAGS="$CFLAGS -D__sun__"
17032 LINTFLAGS="$LINTFLAGS -D__sun__"
17033 fi ;;
17034 esac
17040 ac_config_commands="$ac_config_commands include/stamp-h"
17042 $as_echo_n "creating Makefile rules..." >&6
17044 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17045 SOCKET_LIBS = $SOCKET_LIBS
17046 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17047 IOKIT_LIBS = $IOKIT_LIBS
17048 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17049 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17050 CORESERVICES_LIBS = $CORESERVICES_LIBS
17051 APPKIT_LIBS = $APPKIT_LIBS
17052 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17053 SECURITY_LIBS = $SECURITY_LIBS
17054 COREAUDIO_LIBS = $COREAUDIO_LIBS
17055 OPENAL_LIBS = $OPENAL_LIBS
17056 OPENCL_LIBS = $OPENCL_LIBS
17057 QUICKTIME_LIBS = $QUICKTIME_LIBS
17058 CARBON_LIBS = $CARBON_LIBS
17059 PTHREAD_LIBS = $PTHREAD_LIBS
17060 X_CFLAGS = $X_CFLAGS
17061 X_PRE_LIBS = $X_PRE_LIBS
17062 X_LIBS = $X_LIBS
17063 X_EXTRA_LIBS = $X_EXTRA_LIBS
17064 XML2_CFLAGS = $XML2_CFLAGS
17065 XML2_LIBS = $XML2_LIBS
17066 XSLT_CFLAGS = $XSLT_CFLAGS
17067 XSLT_LIBS = $XSLT_LIBS
17068 DBUS_CFLAGS = $DBUS_CFLAGS
17069 DBUS_LIBS = $DBUS_LIBS
17070 HAL_CFLAGS = $HAL_CFLAGS
17071 HAL_LIBS = $HAL_LIBS
17072 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17073 GNUTLS_LIBS = $GNUTLS_LIBS
17074 SANE_CFLAGS = $SANE_CFLAGS
17075 SANE_LIBS = $SANE_LIBS
17076 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17077 GPHOTO2_LIBS = $GPHOTO2_LIBS
17078 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17079 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17080 RESOLV_LIBS = $RESOLV_LIBS
17081 LCMS2_CFLAGS = $LCMS2_CFLAGS
17082 LCMS2_LIBS = $LCMS2_LIBS
17083 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17084 FREETYPE_LIBS = $FREETYPE_LIBS
17085 Z_LIBS = $Z_LIBS
17086 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17087 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17088 GSTREAMER_LIBS = $GSTREAMER_LIBS
17089 ALSA_LIBS = $ALSA_LIBS
17090 OSS4_CFLAGS = $OSS4_CFLAGS
17091 CAPI20_CFLAGS = $CAPI20_CFLAGS
17092 CAPI20_LIBS = $CAPI20_LIBS
17093 CUPS_CFLAGS = $CUPS_CFLAGS
17094 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17095 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17096 JPEG_CFLAGS = $JPEG_CFLAGS
17097 JPEG_LIBS = $JPEG_LIBS
17098 PNG_CFLAGS = $PNG_CFLAGS
17099 PNG_LIBS = $PNG_LIBS
17100 TIFF_CFLAGS = $TIFF_CFLAGS
17101 TIFF_LIBS = $TIFF_LIBS
17102 MPG123_CFLAGS = $MPG123_CFLAGS
17103 MPG123_LIBS = $MPG123_LIBS
17104 KSTAT_LIBS = $KSTAT_LIBS
17105 PROCSTAT_LIBS = $PROCSTAT_LIBS
17106 DL_LIBS = $DL_LIBS
17107 POLL_LIBS = $POLL_LIBS
17108 RT_LIBS = $RT_LIBS
17109 LDAP_LIBS = $LDAP_LIBS
17114 wine_fn_append_rule "
17115 # Rules automatically generated by configure
17117 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17119 .INIT: Makefile
17120 .MAKEFILEDEPS:
17121 all: Makefile
17122 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
17123 @./config.status Make.tmp Makefile"
17125 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
17126 .gitignore: config.status
17127 @./config.status .gitignore"
17129 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17130 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17132 if test "x$enable_fonts" != xno; then
17133 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17134 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17135 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17136 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17137 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17138 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17140 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17141 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17142 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
17143 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
17144 ac_config_links="$ac_config_links wine:tools/winewrapper"
17145 wine_fn_config_symlink wine
17146 if test "x$enable_win64" != xno; then
17147 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17148 wine_fn_config_symlink wine64
17151 wine_fn_config_dll acledit enable_acledit
17152 wine_fn_config_dll aclui enable_aclui implib
17153 wine_fn_config_dll activeds enable_activeds implib
17154 wine_fn_config_dll actxprxy enable_actxprxy clean
17155 wine_fn_config_lib adsiid
17156 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17157 wine_fn_config_test dlls/advapi32/tests advapi32_test
17158 wine_fn_config_dll advpack enable_advpack implib
17159 wine_fn_config_test dlls/advpack/tests advpack_test
17160 wine_fn_config_dll amstream enable_amstream clean
17161 wine_fn_config_test dlls/amstream/tests amstream_test
17162 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17163 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17164 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17165 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17166 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17167 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17168 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17169 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17170 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17171 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17172 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17173 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17174 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17175 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17176 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17177 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17178 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17179 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17180 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17181 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17182 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17183 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17184 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17185 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17186 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17187 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17188 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17189 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17190 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17191 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17192 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17193 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17194 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17195 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17196 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17197 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17198 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17199 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17200 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17201 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17202 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17203 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17204 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17205 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17206 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17207 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17208 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17209 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17210 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17211 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17212 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17213 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17214 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17215 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17216 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17217 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17218 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17219 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17220 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17221 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17222 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17223 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17224 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17225 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17226 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17227 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17228 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17229 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17230 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17231 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17232 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17233 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17234 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17235 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17236 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17237 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17238 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17239 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17240 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17241 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17242 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17243 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17244 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17245 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17246 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17247 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17248 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17249 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17250 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17251 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17252 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17253 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17254 wine_fn_config_dll apphelp enable_apphelp
17255 wine_fn_config_test dlls/apphelp/tests apphelp_test
17256 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17257 wine_fn_config_dll atl enable_atl clean,implib
17258 wine_fn_config_test dlls/atl/tests atl_test
17259 wine_fn_config_dll atl100 enable_atl100 clean,implib
17260 wine_fn_config_test dlls/atl100/tests atl100_test
17261 wine_fn_config_dll atl110 enable_atl110 clean
17262 wine_fn_config_dll atl80 enable_atl80 clean,implib
17263 wine_fn_config_test dlls/atl80/tests atl80_test
17264 wine_fn_config_dll atl90 enable_atl90 clean
17265 wine_fn_config_dll authz enable_authz
17266 wine_fn_config_dll avicap32 enable_avicap32 implib
17267 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
17268 wine_fn_config_test dlls/avifil32/tests avifil32_test
17269 wine_fn_config_dll avifile.dll16 enable_win16
17270 wine_fn_config_dll avrt enable_avrt implib
17271 wine_fn_config_dll bcrypt enable_bcrypt
17272 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17273 wine_fn_config_dll browseui enable_browseui clean,po
17274 wine_fn_config_test dlls/browseui/tests browseui_test
17275 wine_fn_config_dll cabinet enable_cabinet implib
17276 wine_fn_config_test dlls/cabinet/tests cabinet_test
17277 wine_fn_config_dll capi2032 enable_capi2032 implib
17278 wine_fn_config_dll cards enable_cards implib
17279 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17280 wine_fn_config_dll clusapi enable_clusapi implib
17281 wine_fn_config_dll combase enable_combase
17282 wine_fn_config_test dlls/combase/tests combase_test
17283 wine_fn_config_dll comcat enable_comcat
17284 wine_fn_config_test dlls/comcat/tests comcat_test
17285 wine_fn_config_dll comctl32 enable_comctl32 implib,po
17286 wine_fn_config_test dlls/comctl32/tests comctl32_test
17287 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
17288 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17289 wine_fn_config_dll comm.drv16 enable_win16
17290 wine_fn_config_dll commdlg.dll16 enable_win16
17291 wine_fn_config_dll compobj.dll16 enable_win16
17292 wine_fn_config_dll compstui enable_compstui implib
17293 wine_fn_config_dll comsvcs enable_comsvcs implib
17294 wine_fn_config_dll connect enable_connect
17295 wine_fn_config_dll credui enable_credui implib,po
17296 wine_fn_config_test dlls/credui/tests credui_test
17297 wine_fn_config_dll crtdll enable_crtdll implib
17298 wine_fn_config_dll crypt32 enable_crypt32 implib,po
17299 wine_fn_config_test dlls/crypt32/tests crypt32_test
17300 wine_fn_config_dll cryptdlg enable_cryptdlg po
17301 wine_fn_config_dll cryptdll enable_cryptdll implib
17302 wine_fn_config_dll cryptext enable_cryptext
17303 wine_fn_config_dll cryptnet enable_cryptnet implib
17304 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17305 wine_fn_config_dll cryptui enable_cryptui implib,po
17306 wine_fn_config_test dlls/cryptui/tests cryptui_test
17307 wine_fn_config_dll ctapi32 enable_ctapi32
17308 wine_fn_config_dll ctl3d.dll16 enable_win16
17309 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17310 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17311 wine_fn_config_dll d2d1 enable_d2d1 implib
17312 wine_fn_config_test dlls/d2d1/tests d2d1_test
17313 wine_fn_config_dll d3d10 enable_d3d10 implib
17314 wine_fn_config_test dlls/d3d10/tests d3d10_test
17315 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17316 wine_fn_config_dll d3d10core enable_d3d10core implib
17317 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17318 wine_fn_config_dll d3d11 enable_d3d11 implib
17319 wine_fn_config_test dlls/d3d11/tests d3d11_test
17320 wine_fn_config_dll d3d8 enable_d3d8 implib
17321 wine_fn_config_test dlls/d3d8/tests d3d8_test
17322 wine_fn_config_dll d3d9 enable_d3d9 implib
17323 wine_fn_config_test dlls/d3d9/tests d3d9_test
17324 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17325 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17326 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17327 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17328 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17329 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17330 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17331 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17332 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17333 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17334 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17335 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17336 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17337 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17338 wine_fn_config_dll d3dim enable_d3dim implib
17339 wine_fn_config_dll d3drm enable_d3drm implib
17340 wine_fn_config_test dlls/d3drm/tests d3drm_test
17341 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17342 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17343 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17344 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17345 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17346 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17347 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17348 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17349 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17350 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17351 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17352 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17353 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17354 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17355 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17356 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17357 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17358 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17359 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17360 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17361 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17362 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17363 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17364 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17365 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17366 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17367 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17368 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17369 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17370 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17371 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17372 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17373 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17374 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17375 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17376 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17377 wine_fn_config_dll davclnt enable_davclnt
17378 wine_fn_config_dll dbgeng enable_dbgeng implib
17379 wine_fn_config_dll dbghelp enable_dbghelp implib
17380 wine_fn_config_dll dciman32 enable_dciman32 implib
17381 wine_fn_config_dll ddeml.dll16 enable_win16
17382 wine_fn_config_dll ddraw enable_ddraw clean,implib
17383 wine_fn_config_test dlls/ddraw/tests ddraw_test
17384 wine_fn_config_dll ddrawex enable_ddrawex clean
17385 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17386 wine_fn_config_dll devenum enable_devenum clean,po
17387 wine_fn_config_test dlls/devenum/tests devenum_test
17388 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17389 wine_fn_config_dll difxapi enable_difxapi
17390 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
17391 wine_fn_config_test dlls/dinput/tests dinput_test
17392 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17393 wine_fn_config_test dlls/dinput8/tests dinput8_test
17394 wine_fn_config_dll dispdib.dll16 enable_win16
17395 wine_fn_config_dll dispex enable_dispex clean
17396 wine_fn_config_test dlls/dispex/tests dispex_test
17397 wine_fn_config_dll display.drv16 enable_win16
17398 wine_fn_config_dll dmband enable_dmband clean
17399 wine_fn_config_test dlls/dmband/tests dmband_test
17400 wine_fn_config_dll dmcompos enable_dmcompos clean
17401 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17402 wine_fn_config_dll dmime enable_dmime clean
17403 wine_fn_config_test dlls/dmime/tests dmime_test
17404 wine_fn_config_dll dmloader enable_dmloader clean
17405 wine_fn_config_test dlls/dmloader/tests dmloader_test
17406 wine_fn_config_dll dmscript enable_dmscript clean
17407 wine_fn_config_test dlls/dmscript/tests dmscript_test
17408 wine_fn_config_dll dmstyle enable_dmstyle clean
17409 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17410 wine_fn_config_dll dmsynth enable_dmsynth clean
17411 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17412 wine_fn_config_dll dmusic enable_dmusic clean
17413 wine_fn_config_test dlls/dmusic/tests dmusic_test
17414 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17415 wine_fn_config_dll dnsapi enable_dnsapi implib
17416 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17417 wine_fn_config_dll dplay enable_dplay implib
17418 wine_fn_config_dll dplayx enable_dplayx clean,implib
17419 wine_fn_config_test dlls/dplayx/tests dplayx_test
17420 wine_fn_config_dll dpnaddr enable_dpnaddr
17421 wine_fn_config_dll dpnet enable_dpnet clean,implib
17422 wine_fn_config_test dlls/dpnet/tests dpnet_test
17423 wine_fn_config_dll dpnhpast enable_dpnhpast
17424 wine_fn_config_dll dpnlobby enable_dpnlobby
17425 wine_fn_config_dll dpvoice enable_dpvoice clean
17426 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17427 wine_fn_config_dll dpwsockx enable_dpwsockx
17428 wine_fn_config_dll drmclien enable_drmclien
17429 wine_fn_config_dll dsound enable_dsound clean,implib
17430 wine_fn_config_test dlls/dsound/tests dsound_test
17431 wine_fn_config_dll dssenh enable_dssenh
17432 wine_fn_config_test dlls/dssenh/tests dssenh_test
17433 wine_fn_config_dll dswave enable_dswave clean
17434 wine_fn_config_test dlls/dswave/tests dswave_test
17435 wine_fn_config_dll dwmapi enable_dwmapi implib
17436 wine_fn_config_dll dwrite enable_dwrite implib
17437 wine_fn_config_test dlls/dwrite/tests dwrite_test
17438 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17439 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17440 wine_fn_config_lib dxerr8
17441 wine_fn_config_lib dxerr9
17442 wine_fn_config_dll dxgi enable_dxgi implib
17443 wine_fn_config_test dlls/dxgi/tests dxgi_test
17444 wine_fn_config_lib dxguid
17445 wine_fn_config_dll dxva2 enable_dxva2
17446 wine_fn_config_dll esent enable_esent
17447 wine_fn_config_dll evr enable_evr
17448 wine_fn_config_dll explorerframe enable_explorerframe clean
17449 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17450 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17451 wine_fn_config_dll faultrep enable_faultrep implib
17452 wine_fn_config_test dlls/faultrep/tests faultrep_test
17453 wine_fn_config_dll fltlib enable_fltlib
17454 wine_fn_config_dll fntcache enable_fntcache
17455 wine_fn_config_dll fontsub enable_fontsub
17456 wine_fn_config_dll fusion enable_fusion
17457 wine_fn_config_test dlls/fusion/tests fusion_test
17458 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17459 wine_fn_config_dll gameux enable_gameux clean
17460 wine_fn_config_test dlls/gameux/tests gameux_test
17461 wine_fn_config_dll gdi.exe16 enable_win16
17462 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17463 wine_fn_config_test dlls/gdi32/tests gdi32_test
17464 wine_fn_config_dll gdiplus enable_gdiplus implib
17465 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17466 wine_fn_config_dll glu32 enable_glu32 implib
17467 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17468 wine_fn_config_dll gpkcsp enable_gpkcsp
17469 wine_fn_config_dll hal enable_hal
17470 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17471 wine_fn_config_dll hid enable_hid implib
17472 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17473 wine_fn_config_dll hlink enable_hlink clean,implib
17474 wine_fn_config_test dlls/hlink/tests hlink_test
17475 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17476 wine_fn_config_dll httpapi enable_httpapi
17477 wine_fn_config_dll iccvid enable_iccvid po
17478 wine_fn_config_dll icmp enable_icmp
17479 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17480 wine_fn_config_test dlls/ieframe/tests ieframe_test
17481 wine_fn_config_dll ifsmgr.vxd enable_win16
17482 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17483 wine_fn_config_dll imagehlp enable_imagehlp implib
17484 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17485 wine_fn_config_dll imm.dll16 enable_win16
17486 wine_fn_config_dll imm32 enable_imm32 implib
17487 wine_fn_config_test dlls/imm32/tests imm32_test
17488 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17489 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17490 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17491 wine_fn_config_dll inetmib1 enable_inetmib1
17492 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17493 wine_fn_config_dll infosoft enable_infosoft clean
17494 wine_fn_config_test dlls/infosoft/tests infosoft_test
17495 wine_fn_config_dll initpki enable_initpki
17496 wine_fn_config_dll inkobj enable_inkobj
17497 wine_fn_config_dll inseng enable_inseng clean
17498 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17499 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17500 wine_fn_config_dll itircl enable_itircl
17501 wine_fn_config_dll itss enable_itss clean
17502 wine_fn_config_test dlls/itss/tests itss_test
17503 wine_fn_config_dll joy.cpl enable_joy_cpl po
17504 wine_fn_config_dll jscript enable_jscript clean,po
17505 wine_fn_config_test dlls/jscript/tests jscript_test
17506 wine_fn_config_dll jsproxy enable_jsproxy implib
17507 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17508 wine_fn_config_test dlls/kernel32/tests kernel32_test
17509 wine_fn_config_dll keyboard.drv16 enable_win16
17510 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17511 wine_fn_config_dll ksuser enable_ksuser
17512 wine_fn_config_dll ktmw32 enable_ktmw32
17513 wine_fn_config_dll loadperf enable_loadperf implib
17514 wine_fn_config_dll localspl enable_localspl po
17515 wine_fn_config_test dlls/localspl/tests localspl_test
17516 wine_fn_config_dll localui enable_localui po
17517 wine_fn_config_test dlls/localui/tests localui_test
17518 wine_fn_config_dll lz32 enable_lz32 implib
17519 wine_fn_config_test dlls/lz32/tests lz32_test
17520 wine_fn_config_dll lzexpand.dll16 enable_win16
17521 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17522 wine_fn_config_test dlls/mapi32/tests mapi32_test
17523 wine_fn_config_dll mapistub enable_mapistub
17524 wine_fn_config_dll mciavi32 enable_mciavi32
17525 wine_fn_config_dll mcicda enable_mcicda
17526 wine_fn_config_dll mciqtz32 enable_mciqtz32
17527 wine_fn_config_dll mciseq enable_mciseq
17528 wine_fn_config_dll mciwave enable_mciwave
17529 wine_fn_config_dll mf enable_mf
17530 wine_fn_config_dll mfplat enable_mfplat
17531 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17532 wine_fn_config_dll mgmtapi enable_mgmtapi
17533 wine_fn_config_dll midimap enable_midimap
17534 wine_fn_config_dll mlang enable_mlang clean,implib
17535 wine_fn_config_test dlls/mlang/tests mlang_test
17536 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17537 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17538 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17539 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17540 wine_fn_config_dll mmdevldr.vxd enable_win16
17541 wine_fn_config_dll mmsystem.dll16 enable_win16
17542 wine_fn_config_dll monodebg.vxd enable_win16
17543 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17544 wine_fn_config_dll mouse.drv16 enable_win16
17545 wine_fn_config_dll mpr enable_mpr implib,po
17546 wine_fn_config_test dlls/mpr/tests mpr_test
17547 wine_fn_config_dll mprapi enable_mprapi implib
17548 wine_fn_config_dll msacm.dll16 enable_win16
17549 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17550 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17551 wine_fn_config_test dlls/msacm32/tests msacm32_test
17552 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17553 wine_fn_config_dll msasn1 enable_msasn1 implib
17554 wine_fn_config_dll mscat32 enable_mscat32
17555 wine_fn_config_dll mscms enable_mscms implib
17556 wine_fn_config_test dlls/mscms/tests mscms_test
17557 wine_fn_config_dll mscoree enable_mscoree clean
17558 wine_fn_config_test dlls/mscoree/tests mscoree_test
17559 wine_fn_config_dll msctf enable_msctf clean
17560 wine_fn_config_test dlls/msctf/tests msctf_test
17561 wine_fn_config_dll msctfp enable_msctfp clean
17562 wine_fn_config_dll msdaps enable_msdaps clean
17563 wine_fn_config_dll msdmo enable_msdmo implib
17564 wine_fn_config_test dlls/msdmo/tests msdmo_test
17565 wine_fn_config_dll msftedit enable_msftedit
17566 wine_fn_config_dll msg711.acm enable_msg711_acm
17567 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17568 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17569 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17570 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17571 wine_fn_config_dll msi enable_msi clean,implib,po
17572 wine_fn_config_test dlls/msi/tests msi_test
17573 wine_fn_config_dll msident enable_msident clean
17574 wine_fn_config_dll msimg32 enable_msimg32 implib
17575 wine_fn_config_dll msimsg enable_msimsg
17576 wine_fn_config_dll msimtf enable_msimtf clean
17577 wine_fn_config_dll msisip enable_msisip
17578 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17579 wine_fn_config_dll msls31 enable_msls31
17580 wine_fn_config_dll msnet32 enable_msnet32
17581 wine_fn_config_dll mspatcha enable_mspatcha implib
17582 wine_fn_config_dll msrle32 enable_msrle32 po
17583 wine_fn_config_test dlls/msrle32/tests msrle32_test
17584 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17585 wine_fn_config_dll mssign32 enable_mssign32
17586 wine_fn_config_dll mssip32 enable_mssip32
17587 wine_fn_config_dll mstask enable_mstask clean
17588 wine_fn_config_test dlls/mstask/tests mstask_test
17589 wine_fn_config_dll msvcirt enable_msvcirt
17590 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17591 wine_fn_config_dll msvcm80 enable_msvcm80
17592 wine_fn_config_dll msvcm90 enable_msvcm90
17593 wine_fn_config_dll msvcp100 enable_msvcp100
17594 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17595 wine_fn_config_dll msvcp110 enable_msvcp110
17596 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
17597 wine_fn_config_dll msvcp120 enable_msvcp120
17598 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17599 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17600 wine_fn_config_dll msvcp60 enable_msvcp60
17601 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17602 wine_fn_config_dll msvcp70 enable_msvcp70
17603 wine_fn_config_dll msvcp71 enable_msvcp71
17604 wine_fn_config_dll msvcp80 enable_msvcp80
17605 wine_fn_config_dll msvcp90 enable_msvcp90
17606 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17607 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17608 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17609 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17610 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17611 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17612 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17613 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17614 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17615 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17616 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17617 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17618 wine_fn_config_dll msvcrt enable_msvcrt implib
17619 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17620 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17621 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17622 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17623 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17624 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17625 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17626 wine_fn_config_dll msvidc32 enable_msvidc32 po
17627 wine_fn_config_dll msvideo.dll16 enable_win16
17628 wine_fn_config_dll mswsock enable_mswsock implib
17629 wine_fn_config_dll msxml enable_msxml clean
17630 wine_fn_config_dll msxml2 enable_msxml2 clean
17631 wine_fn_config_dll msxml3 enable_msxml3 clean
17632 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17633 wine_fn_config_dll msxml4 enable_msxml4 clean
17634 wine_fn_config_dll msxml6 enable_msxml6 clean
17635 wine_fn_config_dll nddeapi enable_nddeapi implib
17636 wine_fn_config_dll ndis.sys enable_ndis_sys
17637 wine_fn_config_dll netapi32 enable_netapi32 implib
17638 wine_fn_config_test dlls/netapi32/tests netapi32_test
17639 wine_fn_config_dll netcfgx enable_netcfgx clean
17640 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17641 wine_fn_config_dll netprofm enable_netprofm clean
17642 wine_fn_config_test dlls/netprofm/tests netprofm_test
17643 wine_fn_config_dll newdev enable_newdev implib
17644 wine_fn_config_dll normaliz enable_normaliz implib
17645 wine_fn_config_dll npmshtml enable_npmshtml
17646 wine_fn_config_dll npptools enable_npptools
17647 wine_fn_config_dll ntdll enable_ntdll implib
17648 wine_fn_config_test dlls/ntdll/tests ntdll_test
17649 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17650 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17651 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17652 wine_fn_config_dll ntprint enable_ntprint
17653 wine_fn_config_test dlls/ntprint/tests ntprint_test
17654 wine_fn_config_dll objsel enable_objsel clean
17655 wine_fn_config_dll odbc32 enable_odbc32 implib
17656 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17657 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17658 wine_fn_config_dll odbccu32 enable_odbccu32
17659 wine_fn_config_dll ole2.dll16 enable_win16
17660 wine_fn_config_dll ole2conv.dll16 enable_win16
17661 wine_fn_config_dll ole2disp.dll16 enable_win16
17662 wine_fn_config_dll ole2nls.dll16 enable_win16
17663 wine_fn_config_dll ole2prox.dll16 enable_win16
17664 wine_fn_config_dll ole2thk.dll16 enable_win16
17665 wine_fn_config_dll ole32 enable_ole32 clean,implib
17666 wine_fn_config_test dlls/ole32/tests ole32_test
17667 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17668 wine_fn_config_test dlls/oleacc/tests oleacc_test
17669 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17670 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17671 wine_fn_config_dll olecli.dll16 enable_win16
17672 wine_fn_config_dll olecli32 enable_olecli32 implib
17673 wine_fn_config_dll oledb32 enable_oledb32 clean
17674 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17675 wine_fn_config_dll oledlg enable_oledlg implib,po
17676 wine_fn_config_test dlls/oledlg/tests oledlg_test
17677 wine_fn_config_dll olepro32 enable_olepro32 implib
17678 wine_fn_config_dll olesvr.dll16 enable_win16
17679 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17680 wine_fn_config_dll olethk32 enable_olethk32
17681 wine_fn_config_dll openal32 enable_openal32
17682 wine_fn_config_dll opencl enable_opencl
17683 wine_fn_config_dll opengl32 enable_opengl32 implib
17684 wine_fn_config_test dlls/opengl32/tests opengl32_test
17685 wine_fn_config_dll packager enable_packager clean
17686 wine_fn_config_test dlls/packager/tests packager_test
17687 wine_fn_config_dll pdh enable_pdh implib
17688 wine_fn_config_test dlls/pdh/tests pdh_test
17689 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17690 wine_fn_config_dll pidgen enable_pidgen
17691 wine_fn_config_dll powrprof enable_powrprof implib
17692 wine_fn_config_dll printui enable_printui
17693 wine_fn_config_dll prntvpt enable_prntvpt
17694 wine_fn_config_dll propsys enable_propsys clean,implib
17695 wine_fn_config_test dlls/propsys/tests propsys_test
17696 wine_fn_config_dll psapi enable_psapi implib
17697 wine_fn_config_test dlls/psapi/tests psapi_test
17698 wine_fn_config_dll pstorec enable_pstorec clean
17699 wine_fn_config_dll qcap enable_qcap
17700 wine_fn_config_test dlls/qcap/tests qcap_test
17701 wine_fn_config_dll qedit enable_qedit clean
17702 wine_fn_config_test dlls/qedit/tests qedit_test
17703 wine_fn_config_dll qmgr enable_qmgr clean
17704 wine_fn_config_test dlls/qmgr/tests qmgr_test
17705 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17706 wine_fn_config_dll quartz enable_quartz clean,implib
17707 wine_fn_config_test dlls/quartz/tests quartz_test clean
17708 wine_fn_config_dll query enable_query
17709 wine_fn_config_dll rasapi16.dll16 enable_win16
17710 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17711 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17712 wine_fn_config_dll rasdlg enable_rasdlg implib
17713 wine_fn_config_dll regapi enable_regapi
17714 wine_fn_config_dll resutils enable_resutils implib
17715 wine_fn_config_dll riched20 enable_riched20 clean,implib
17716 wine_fn_config_test dlls/riched20/tests riched20_test
17717 wine_fn_config_dll riched32 enable_riched32
17718 wine_fn_config_test dlls/riched32/tests riched32_test
17719 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17720 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17721 wine_fn_config_dll rsabase enable_rsabase
17722 wine_fn_config_dll rsaenh enable_rsaenh implib
17723 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17724 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17725 wine_fn_config_dll rtutils enable_rtutils implib
17726 wine_fn_config_dll samlib enable_samlib
17727 wine_fn_config_dll sane.ds enable_sane_ds po
17728 wine_fn_config_dll scarddlg enable_scarddlg
17729 wine_fn_config_dll sccbase enable_sccbase
17730 wine_fn_config_dll schannel enable_schannel
17731 wine_fn_config_test dlls/schannel/tests schannel_test
17732 wine_fn_config_dll schedsvc enable_schedsvc clean
17733 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17734 wine_fn_config_dll scrrun enable_scrrun clean
17735 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17736 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17737 wine_fn_config_dll secur32 enable_secur32 implib
17738 wine_fn_config_test dlls/secur32/tests secur32_test
17739 wine_fn_config_dll security enable_security
17740 wine_fn_config_dll sensapi enable_sensapi implib
17741 wine_fn_config_dll serialui enable_serialui implib,po
17742 wine_fn_config_test dlls/serialui/tests serialui_test
17743 wine_fn_config_dll setupapi enable_setupapi implib,po
17744 wine_fn_config_test dlls/setupapi/tests setupapi_test
17745 wine_fn_config_dll setupx.dll16 enable_win16
17746 wine_fn_config_dll sfc enable_sfc implib
17747 wine_fn_config_dll sfc_os enable_sfc_os implib
17748 wine_fn_config_dll shdoclc enable_shdoclc po
17749 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17750 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17751 wine_fn_config_dll shell.dll16 enable_win16
17752 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17753 wine_fn_config_test dlls/shell32/tests shell32_test
17754 wine_fn_config_dll shfolder enable_shfolder implib
17755 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17756 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17757 wine_fn_config_dll slbcsp enable_slbcsp
17758 wine_fn_config_dll slc enable_slc implib
17759 wine_fn_config_test dlls/slc/tests slc_test
17760 wine_fn_config_dll snmpapi enable_snmpapi implib
17761 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17762 wine_fn_config_dll softpub enable_softpub
17763 wine_fn_config_dll sound.drv16 enable_win16
17764 wine_fn_config_dll spoolss enable_spoolss implib
17765 wine_fn_config_test dlls/spoolss/tests spoolss_test
17766 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17767 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17768 wine_fn_config_dll sti enable_sti clean,implib
17769 wine_fn_config_test dlls/sti/tests sti_test
17770 wine_fn_config_dll storage.dll16 enable_win16
17771 wine_fn_config_dll stress.dll16 enable_win16
17772 wine_fn_config_lib strmbase
17773 wine_fn_config_lib strmiids
17774 wine_fn_config_dll svrapi enable_svrapi
17775 wine_fn_config_dll sxs enable_sxs implib
17776 wine_fn_config_test dlls/sxs/tests sxs_test
17777 wine_fn_config_dll system.drv16 enable_win16
17778 wine_fn_config_dll t2embed enable_t2embed
17779 wine_fn_config_dll tapi32 enable_tapi32 implib
17780 wine_fn_config_dll taskschd enable_taskschd clean
17781 wine_fn_config_test dlls/taskschd/tests taskschd_test
17782 wine_fn_config_dll toolhelp.dll16 enable_win16
17783 wine_fn_config_dll traffic enable_traffic
17784 wine_fn_config_dll twain.dll16 enable_win16
17785 wine_fn_config_dll twain_32 enable_twain_32
17786 wine_fn_config_test dlls/twain_32/tests twain_32_test
17787 wine_fn_config_dll typelib.dll16 enable_win16
17788 wine_fn_config_dll ucrtbase enable_ucrtbase
17789 wine_fn_config_dll unicows enable_unicows implib
17790 wine_fn_config_dll updspapi enable_updspapi
17791 wine_fn_config_dll url enable_url implib
17792 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17793 wine_fn_config_test dlls/urlmon/tests urlmon_test
17794 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17795 wine_fn_config_dll user.exe16 enable_win16
17796 wine_fn_config_dll user32 enable_user32 clean,implib,po
17797 wine_fn_config_test dlls/user32/tests user32_test
17798 wine_fn_config_dll userenv enable_userenv implib
17799 wine_fn_config_test dlls/userenv/tests userenv_test
17800 wine_fn_config_dll usp10 enable_usp10 implib
17801 wine_fn_config_test dlls/usp10/tests usp10_test
17802 wine_fn_config_lib uuid
17803 wine_fn_config_dll uxtheme enable_uxtheme implib
17804 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17805 wine_fn_config_dll vbscript enable_vbscript clean
17806 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17807 wine_fn_config_dll vcomp enable_vcomp
17808 wine_fn_config_test dlls/vcomp/tests vcomp_test
17809 wine_fn_config_dll vcomp100 enable_vcomp100
17810 wine_fn_config_dll vcomp110 enable_vcomp110
17811 wine_fn_config_dll vcomp90 enable_vcomp90
17812 wine_fn_config_dll vdhcp.vxd enable_win16
17813 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17814 wine_fn_config_dll ver.dll16 enable_win16
17815 wine_fn_config_dll version enable_version implib
17816 wine_fn_config_test dlls/version/tests version_test
17817 wine_fn_config_dll vmm.vxd enable_win16
17818 wine_fn_config_dll vnbt.vxd enable_win16
17819 wine_fn_config_dll vnetbios.vxd enable_win16
17820 wine_fn_config_dll vssapi enable_vssapi
17821 wine_fn_config_dll vtdapi.vxd enable_win16
17822 wine_fn_config_dll vwin32.vxd enable_win16
17823 wine_fn_config_dll w32skrnl enable_win16
17824 wine_fn_config_dll w32sys.dll16 enable_win16
17825 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17826 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
17827 wine_fn_config_dll wbemprox enable_wbemprox clean
17828 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17829 wine_fn_config_dll webservices enable_webservices implib
17830 wine_fn_config_test dlls/webservices/tests webservices_test
17831 wine_fn_config_dll wer enable_wer implib
17832 wine_fn_config_test dlls/wer/tests wer_test
17833 wine_fn_config_dll wevtapi enable_wevtapi
17834 wine_fn_config_dll wiaservc enable_wiaservc clean
17835 wine_fn_config_dll win32s16.dll16 enable_win16
17836 wine_fn_config_dll win87em.dll16 enable_win16
17837 wine_fn_config_dll winaspi.dll16 enable_win16
17838 wine_fn_config_dll windebug.dll16 enable_win16
17839 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17840 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17841 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17842 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17843 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17844 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17845 wine_fn_config_lib winecrt0
17846 wine_fn_config_dll wined3d enable_wined3d implib
17847 wine_fn_config_dll winegstreamer enable_winegstreamer
17848 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17849 wine_fn_config_dll winemac.drv enable_winemac_drv
17850 wine_fn_config_dll winemapi enable_winemapi
17851 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17852 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17853 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17854 wine_fn_config_dll wineps16.drv16 enable_win16
17855 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17856 wine_fn_config_dll winex11.drv enable_winex11_drv
17857 wine_fn_config_dll wing.dll16 enable_win16
17858 wine_fn_config_dll wing32 enable_wing32
17859 wine_fn_config_dll winhttp enable_winhttp clean,implib
17860 wine_fn_config_test dlls/winhttp/tests winhttp_test
17861 wine_fn_config_dll wininet enable_wininet implib,po
17862 wine_fn_config_test dlls/wininet/tests wininet_test
17863 wine_fn_config_dll winmm enable_winmm implib,po
17864 wine_fn_config_test dlls/winmm/tests winmm_test
17865 wine_fn_config_dll winnls.dll16 enable_win16
17866 wine_fn_config_dll winnls32 enable_winnls32 implib
17867 wine_fn_config_dll winscard enable_winscard implib
17868 wine_fn_config_dll winsock.dll16 enable_win16
17869 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17870 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17871 wine_fn_config_dll winsta enable_winsta
17872 wine_fn_config_dll wintab.dll16 enable_win16
17873 wine_fn_config_dll wintab32 enable_wintab32 implib
17874 wine_fn_config_test dlls/wintab32/tests wintab32_test
17875 wine_fn_config_dll wintrust enable_wintrust implib
17876 wine_fn_config_test dlls/wintrust/tests wintrust_test
17877 wine_fn_config_dll wlanapi enable_wlanapi
17878 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17879 wine_fn_config_test dlls/wldap32/tests wldap32_test
17880 wine_fn_config_dll wmi enable_wmi
17881 wine_fn_config_dll wmiutils enable_wmiutils clean
17882 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17883 wine_fn_config_dll wmp enable_wmp clean
17884 wine_fn_config_test dlls/wmp/tests wmp_test
17885 wine_fn_config_dll wmvcore enable_wmvcore
17886 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17887 wine_fn_config_dll wow32 enable_win16 implib
17888 wine_fn_config_dll wpcap enable_wpcap
17889 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17890 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17891 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17892 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17893 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17894 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17895 wine_fn_config_dll wsock32 enable_wsock32 implib
17896 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17897 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17898 wine_fn_config_dll wuapi enable_wuapi clean
17899 wine_fn_config_dll wuaueng enable_wuaueng
17900 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
17901 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
17902 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
17903 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
17904 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
17905 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
17906 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17907 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17908 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
17909 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
17910 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
17911 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
17912 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
17913 wine_fn_config_dll xaudio2_8 enable_xaudio2_8
17914 wine_fn_config_dll xinput1_1 enable_xinput1_1
17915 wine_fn_config_dll xinput1_2 enable_xinput1_2
17916 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17917 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17918 wine_fn_config_dll xinput1_4 enable_xinput1_4
17919 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17920 wine_fn_config_dll xmllite enable_xmllite implib
17921 wine_fn_config_test dlls/xmllite/tests xmllite_test
17922 wine_fn_config_dll xolehlp enable_xolehlp
17923 wine_fn_config_dll xpsprint enable_xpsprint
17924 wine_fn_config_dll xpssvcs enable_xpssvcs
17925 wine_fn_config_makefile documentation enable_documentation clean
17926 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17927 wine_fn_config_makefile include enable_include clean,install-dev
17928 wine_fn_config_makefile libs/port enable_libs_port
17929 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17930 wine_fn_config_makefile libs/wpp enable_libs_wpp
17931 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17932 wine_fn_config_program arp enable_arp install
17933 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17934 wine_fn_config_program attrib enable_attrib install,po
17935 wine_fn_config_program cabarc enable_cabarc install
17936 wine_fn_config_program cacls enable_cacls install
17937 wine_fn_config_program clock enable_clock install,po
17938 wine_fn_config_program cmd enable_cmd install,po
17939 wine_fn_config_test programs/cmd/tests cmd.exe_test
17940 wine_fn_config_program conhost enable_conhost install
17941 wine_fn_config_program control enable_control install
17942 wine_fn_config_program cscript enable_cscript clean,install
17943 wine_fn_config_program dpnsvr enable_dpnsvr install
17944 wine_fn_config_program dxdiag enable_dxdiag install,po
17945 wine_fn_config_program eject enable_eject install
17946 wine_fn_config_program expand enable_expand install
17947 wine_fn_config_program explorer enable_explorer install,po
17948 wine_fn_config_program extrac32 enable_extrac32 install
17949 wine_fn_config_program findstr enable_findstr install
17950 wine_fn_config_program hh enable_hh install
17951 wine_fn_config_program hostname enable_hostname install,po
17952 wine_fn_config_program icinfo enable_icinfo install
17953 wine_fn_config_program iexplore enable_iexplore install
17954 wine_fn_config_program ipconfig enable_ipconfig install,po
17955 wine_fn_config_program lodctr enable_lodctr install
17956 wine_fn_config_program mofcomp enable_mofcomp install
17957 wine_fn_config_program mshta enable_mshta install
17958 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17959 wine_fn_config_program net enable_net install,po
17960 wine_fn_config_program netsh enable_netsh install
17961 wine_fn_config_program netstat enable_netstat install,po
17962 wine_fn_config_program ngen enable_ngen install
17963 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17964 wine_fn_config_program oleview enable_oleview install,po
17965 wine_fn_config_program ping enable_ping install
17966 wine_fn_config_program plugplay enable_plugplay install
17967 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17968 wine_fn_config_program progman enable_progman install,po
17969 wine_fn_config_program reg enable_reg install,po
17970 wine_fn_config_test programs/reg/tests reg.exe_test
17971 wine_fn_config_program regasm enable_regasm install
17972 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17973 wine_fn_config_test programs/regedit/tests regedit.exe_test
17974 wine_fn_config_program regsvcs enable_regsvcs install
17975 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17976 wine_fn_config_program rpcss enable_rpcss clean,install
17977 wine_fn_config_program rundll.exe16 enable_win16 install
17978 wine_fn_config_program rundll32 enable_rundll32 install
17979 wine_fn_config_program sc enable_sc install
17980 wine_fn_config_program schtasks enable_schtasks install
17981 wine_fn_config_program sdbinst enable_sdbinst install
17982 wine_fn_config_program secedit enable_secedit install
17983 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17984 wine_fn_config_program services enable_services clean,install
17985 wine_fn_config_test programs/services/tests services.exe_test
17986 wine_fn_config_program spoolsv enable_spoolsv install
17987 wine_fn_config_program start enable_start install,po
17988 wine_fn_config_program svchost enable_svchost install
17989 wine_fn_config_program systeminfo enable_systeminfo install
17990 wine_fn_config_program taskkill enable_taskkill install,po
17991 wine_fn_config_program tasklist enable_tasklist install
17992 wine_fn_config_program taskmgr enable_taskmgr install,po
17993 wine_fn_config_program termsv enable_termsv install
17994 wine_fn_config_program uninstaller enable_uninstaller install,po
17995 wine_fn_config_program unlodctr enable_unlodctr install
17996 wine_fn_config_program view enable_view install,po
17997 wine_fn_config_program wevtutil enable_wevtutil install
17998 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17999 wine_fn_config_program winebrowser enable_winebrowser install
18000 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
18001 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
18002 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
18003 wine_fn_config_program winedevice enable_winedevice install
18004 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
18005 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18006 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
18007 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18008 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18009 wine_fn_config_program winetest enable_winetest clean
18010 wine_fn_config_program winevdm enable_win16 install
18011 wine_fn_config_program winhelp.exe16 enable_win16 install
18012 wine_fn_config_program winhlp32 enable_winhlp32 install,po
18013 wine_fn_config_program winoldap.mod16 enable_win16 install
18014 wine_fn_config_program winver enable_winver install
18015 wine_fn_config_program wmic enable_wmic install,po
18016 wine_fn_config_program wordpad enable_wordpad install,po
18017 wine_fn_config_program write enable_write install,po
18018 wine_fn_config_program wscript enable_wscript clean,install
18019 wine_fn_config_test programs/wscript/tests wscript.exe_test
18020 wine_fn_config_program wusa enable_wusa install
18021 wine_fn_config_program xcopy enable_xcopy install,po
18022 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18023 wine_fn_config_makefile server enable_server clean,install-lib,manpage
18024 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
18025 wine_fn_config_tool tools/sfnt2fon clean
18026 wine_fn_config_tool tools/widl clean,install-dev,manpage
18027 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
18028 wine_fn_config_tool tools/winedump clean,install-dev,manpage
18029 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
18030 wine_fn_config_tool tools/wmc clean,install-dev,manpage
18031 wine_fn_config_tool tools/wrc clean,install-dev,manpage
18033 LINGUAS="\
18034 ar \
18035 bg \
18036 ca \
18037 cs \
18038 da \
18039 de \
18040 el \
18041 en \
18042 en_US \
18043 eo \
18044 es \
18045 fa \
18046 fi \
18047 fr \
18048 he \
18049 hi \
18050 hr \
18051 hu \
18052 it \
18053 ja \
18054 ko \
18055 lt \
18056 ml \
18057 nb_NO \
18058 nl \
18059 or \
18060 pa \
18061 pl \
18062 pt_BR \
18063 pt_PT \
18064 rm \
18065 ro \
18066 ru \
18067 sk \
18068 sl \
18069 sr_RS@cyrillic \
18070 sr_RS@latin \
18071 sv \
18072 te \
18073 th \
18074 tr \
18075 uk \
18076 wa \
18077 zh_CN \
18078 zh_TW"
18083 wine_fn_ignore_file ".gitignore"
18084 wine_fn_ignore_file "Makefile"
18085 wine_fn_ignore_file "TAGS"
18086 wine_fn_ignore_file "tags"
18087 wine_fn_ignore_file "autom4te.cache"
18088 wine_fn_ignore_file "config.cache"
18089 wine_fn_ignore_file "config.log"
18090 wine_fn_ignore_file "config.status"
18091 wine_fn_ignore_file "configure.lineno"
18092 wine_fn_ignore_file "include/config.h"
18093 wine_fn_ignore_file "include/stamp-h"
18094 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
18096 if test "x$enable_tools" != xno
18097 then
18098 wine_fn_ignore_file "tools/makedep$ac_exeext"
18099 ac_config_commands="$ac_config_commands tools/makedep"
18103 ac_config_commands="$ac_config_commands Makefile"
18106 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
18110 if test "x$enable_maintainer_mode" = xyes
18111 then
18112 wine_fn_append_rule "configure: configure.ac aclocal.m4
18113 autoconf --warnings=all
18114 include/config.h.in: include/stamp-h.in
18115 include/stamp-h.in: configure.ac aclocal.m4
18116 autoheader --warnings=all
18117 @echo timestamp > \$@"
18120 if test "x$with_gettextpo" = xyes
18121 then
18122 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
18123 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
18124 \$(LINGUAS:%=po/%.po): po/wine.pot
18125 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
18126 po/wine.pot: \$(ALL_POT_FILES)
18127 msgcat -o \$@ \$(ALL_POT_FILES)"
18130 if test "$MSGFMT" != false
18131 then
18132 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
18133 clean::
18134 \$(RM) \$(LINGUAS:%=po/%.mo)"
18136 posrc="po"
18137 test "$srcdir" = . || posrc="$srcdir/po"
18138 for i in $LINGUAS
18140 wine_fn_ignore_file "po/$i.mo"
18141 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
18142 \$(MSGFMT) -o \$@ $posrc/$i.po"
18143 done
18144 else
18145 LINGUAS=
18148 if test "x$enable_tools" != xno
18149 then
18150 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18151 @./config.status tools/makedep
18152 Makefile: tools/makedep$ac_exeext
18153 distclean:: clean
18154 \$(RM) tools/makedep$ac_exeext"
18155 else
18156 wine_fn_append_rule "\$(MAKEDEP):
18157 @echo \"You need to run make in $TOOLSDIR first\" && false"
18160 if test -n "$with_wine64"
18161 then
18162 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18163 fonts server tools:
18164 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18165 $with_wine64/loader/wine:
18166 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18167 $with_wine64/loader/wine-preloader:
18168 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18169 clean::
18170 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18171 else
18172 as_fn_append LOADER_RULES "
18173 install install-lib:: wine.inf install-man-pages
18174 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
18175 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18177 uninstall::
18178 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18182 if test "$srcdir" = .
18183 then
18184 ac_config_commands="$ac_config_commands .gitignore"
18188 $as_echo " done" >&6
18189 cat >confcache <<\_ACEOF
18190 # This file is a shell script that caches the results of configure
18191 # tests run on this system so they can be shared between configure
18192 # scripts and configure runs, see configure's option --config-cache.
18193 # It is not useful on other systems. If it contains results you don't
18194 # want to keep, you may remove or edit it.
18196 # config.status only pays attention to the cache file if you give it
18197 # the --recheck option to rerun configure.
18199 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18200 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18201 # following values.
18203 _ACEOF
18205 # The following way of writing the cache mishandles newlines in values,
18206 # but we know of no workaround that is simple, portable, and efficient.
18207 # So, we kill variables containing newlines.
18208 # Ultrix sh set writes to stderr and can't be redirected directly,
18209 # and sets the high bit in the cache file unless we assign to the vars.
18211 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18212 eval ac_val=\$$ac_var
18213 case $ac_val in #(
18214 *${as_nl}*)
18215 case $ac_var in #(
18216 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18217 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18218 esac
18219 case $ac_var in #(
18220 _ | IFS | as_nl) ;; #(
18221 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18222 *) { eval $ac_var=; unset $ac_var;} ;;
18223 esac ;;
18224 esac
18225 done
18227 (set) 2>&1 |
18228 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18229 *${as_nl}ac_space=\ *)
18230 # `set' does not quote correctly, so add quotes: double-quote
18231 # substitution turns \\\\ into \\, and sed turns \\ into \.
18232 sed -n \
18233 "s/'/'\\\\''/g;
18234 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18235 ;; #(
18237 # `set' quotes correctly as required by POSIX, so do not add quotes.
18238 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18240 esac |
18241 sort
18243 sed '
18244 /^ac_cv_env_/b end
18245 t clear
18246 :clear
18247 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18248 t end
18249 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18250 :end' >>confcache
18251 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18252 if test -w "$cache_file"; then
18253 if test "x$cache_file" != "x/dev/null"; then
18254 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18255 $as_echo "$as_me: updating cache $cache_file" >&6;}
18256 if test ! -f "$cache_file" || test -h "$cache_file"; then
18257 cat confcache >"$cache_file"
18258 else
18259 case $cache_file in #(
18260 */* | ?:*)
18261 mv -f confcache "$cache_file"$$ &&
18262 mv -f "$cache_file"$$ "$cache_file" ;; #(
18264 mv -f confcache "$cache_file" ;;
18265 esac
18268 else
18269 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18270 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18273 rm -f confcache
18275 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18276 # Let make expand exec_prefix.
18277 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18279 DEFS=-DHAVE_CONFIG_H
18281 ac_libobjs=
18282 ac_ltlibobjs=
18284 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18285 # 1. Remove the extension, and $U if already installed.
18286 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18287 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18288 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18289 # will be set to the directory where LIBOBJS objects are built.
18290 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18291 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18292 done
18293 LIBOBJS=$ac_libobjs
18295 LTLIBOBJS=$ac_ltlibobjs
18299 : "${CONFIG_STATUS=./config.status}"
18300 ac_write_fail=0
18301 ac_clean_files_save=$ac_clean_files
18302 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18303 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18304 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18305 as_write_fail=0
18306 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18307 #! $SHELL
18308 # Generated by $as_me.
18309 # Run this file to recreate the current configuration.
18310 # Compiler output produced by configure, useful for debugging
18311 # configure, is in config.log if it exists.
18313 debug=false
18314 ac_cs_recheck=false
18315 ac_cs_silent=false
18317 SHELL=\${CONFIG_SHELL-$SHELL}
18318 export SHELL
18319 _ASEOF
18320 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18321 ## -------------------- ##
18322 ## M4sh Initialization. ##
18323 ## -------------------- ##
18325 # Be more Bourne compatible
18326 DUALCASE=1; export DUALCASE # for MKS sh
18327 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18328 emulate sh
18329 NULLCMD=:
18330 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18331 # is contrary to our usage. Disable this feature.
18332 alias -g '${1+"$@"}'='"$@"'
18333 setopt NO_GLOB_SUBST
18334 else
18335 case `(set -o) 2>/dev/null` in #(
18336 *posix*) :
18337 set -o posix ;; #(
18338 *) :
18340 esac
18344 as_nl='
18346 export as_nl
18347 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18348 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18349 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18350 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18351 # Prefer a ksh shell builtin over an external printf program on Solaris,
18352 # but without wasting forks for bash or zsh.
18353 if test -z "$BASH_VERSION$ZSH_VERSION" \
18354 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18355 as_echo='print -r --'
18356 as_echo_n='print -rn --'
18357 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18358 as_echo='printf %s\n'
18359 as_echo_n='printf %s'
18360 else
18361 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18362 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18363 as_echo_n='/usr/ucb/echo -n'
18364 else
18365 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18366 as_echo_n_body='eval
18367 arg=$1;
18368 case $arg in #(
18369 *"$as_nl"*)
18370 expr "X$arg" : "X\\(.*\\)$as_nl";
18371 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18372 esac;
18373 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18375 export as_echo_n_body
18376 as_echo_n='sh -c $as_echo_n_body as_echo'
18378 export as_echo_body
18379 as_echo='sh -c $as_echo_body as_echo'
18382 # The user is always right.
18383 if test "${PATH_SEPARATOR+set}" != set; then
18384 PATH_SEPARATOR=:
18385 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18386 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18387 PATH_SEPARATOR=';'
18392 # IFS
18393 # We need space, tab and new line, in precisely that order. Quoting is
18394 # there to prevent editors from complaining about space-tab.
18395 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18396 # splitting by setting IFS to empty value.)
18397 IFS=" "" $as_nl"
18399 # Find who we are. Look in the path if we contain no directory separator.
18400 as_myself=
18401 case $0 in #((
18402 *[\\/]* ) as_myself=$0 ;;
18403 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18404 for as_dir in $PATH
18406 IFS=$as_save_IFS
18407 test -z "$as_dir" && as_dir=.
18408 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18409 done
18410 IFS=$as_save_IFS
18413 esac
18414 # We did not find ourselves, most probably we were run as `sh COMMAND'
18415 # in which case we are not to be found in the path.
18416 if test "x$as_myself" = x; then
18417 as_myself=$0
18419 if test ! -f "$as_myself"; then
18420 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18421 exit 1
18424 # Unset variables that we do not need and which cause bugs (e.g. in
18425 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18426 # suppresses any "Segmentation fault" message there. '((' could
18427 # trigger a bug in pdksh 5.2.14.
18428 for as_var in BASH_ENV ENV MAIL MAILPATH
18429 do eval test x\${$as_var+set} = xset \
18430 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18431 done
18432 PS1='$ '
18433 PS2='> '
18434 PS4='+ '
18436 # NLS nuisances.
18437 LC_ALL=C
18438 export LC_ALL
18439 LANGUAGE=C
18440 export LANGUAGE
18442 # CDPATH.
18443 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18446 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18447 # ----------------------------------------
18448 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18449 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18450 # script with STATUS, using 1 if that was 0.
18451 as_fn_error ()
18453 as_status=$1; test $as_status -eq 0 && as_status=1
18454 if test "$4"; then
18455 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18456 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18458 $as_echo "$as_me: error: $2" >&2
18459 as_fn_exit $as_status
18460 } # as_fn_error
18463 # as_fn_set_status STATUS
18464 # -----------------------
18465 # Set $? to STATUS, without forking.
18466 as_fn_set_status ()
18468 return $1
18469 } # as_fn_set_status
18471 # as_fn_exit STATUS
18472 # -----------------
18473 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18474 as_fn_exit ()
18476 set +e
18477 as_fn_set_status $1
18478 exit $1
18479 } # as_fn_exit
18481 # as_fn_unset VAR
18482 # ---------------
18483 # Portably unset VAR.
18484 as_fn_unset ()
18486 { eval $1=; unset $1;}
18488 as_unset=as_fn_unset
18489 # as_fn_append VAR VALUE
18490 # ----------------------
18491 # Append the text in VALUE to the end of the definition contained in VAR. Take
18492 # advantage of any shell optimizations that allow amortized linear growth over
18493 # repeated appends, instead of the typical quadratic growth present in naive
18494 # implementations.
18495 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18496 eval 'as_fn_append ()
18498 eval $1+=\$2
18500 else
18501 as_fn_append ()
18503 eval $1=\$$1\$2
18505 fi # as_fn_append
18507 # as_fn_arith ARG...
18508 # ------------------
18509 # Perform arithmetic evaluation on the ARGs, and store the result in the
18510 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18511 # must be portable across $(()) and expr.
18512 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18513 eval 'as_fn_arith ()
18515 as_val=$(( $* ))
18517 else
18518 as_fn_arith ()
18520 as_val=`expr "$@" || test $? -eq 1`
18522 fi # as_fn_arith
18525 if expr a : '\(a\)' >/dev/null 2>&1 &&
18526 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18527 as_expr=expr
18528 else
18529 as_expr=false
18532 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18533 as_basename=basename
18534 else
18535 as_basename=false
18538 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18539 as_dirname=dirname
18540 else
18541 as_dirname=false
18544 as_me=`$as_basename -- "$0" ||
18545 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18546 X"$0" : 'X\(//\)$' \| \
18547 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18548 $as_echo X/"$0" |
18549 sed '/^.*\/\([^/][^/]*\)\/*$/{
18550 s//\1/
18553 /^X\/\(\/\/\)$/{
18554 s//\1/
18557 /^X\/\(\/\).*/{
18558 s//\1/
18561 s/.*/./; q'`
18563 # Avoid depending upon Character Ranges.
18564 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18565 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18566 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18567 as_cr_digits='0123456789'
18568 as_cr_alnum=$as_cr_Letters$as_cr_digits
18570 ECHO_C= ECHO_N= ECHO_T=
18571 case `echo -n x` in #(((((
18572 -n*)
18573 case `echo 'xy\c'` in
18574 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18575 xy) ECHO_C='\c';;
18576 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18577 ECHO_T=' ';;
18578 esac;;
18580 ECHO_N='-n';;
18581 esac
18583 rm -f conf$$ conf$$.exe conf$$.file
18584 if test -d conf$$.dir; then
18585 rm -f conf$$.dir/conf$$.file
18586 else
18587 rm -f conf$$.dir
18588 mkdir conf$$.dir 2>/dev/null
18590 if (echo >conf$$.file) 2>/dev/null; then
18591 if ln -s conf$$.file conf$$ 2>/dev/null; then
18592 as_ln_s='ln -s'
18593 # ... but there are two gotchas:
18594 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18595 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18596 # In both cases, we have to default to `cp -pR'.
18597 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18598 as_ln_s='cp -pR'
18599 elif ln conf$$.file conf$$ 2>/dev/null; then
18600 as_ln_s=ln
18601 else
18602 as_ln_s='cp -pR'
18604 else
18605 as_ln_s='cp -pR'
18607 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18608 rmdir conf$$.dir 2>/dev/null
18611 # as_fn_mkdir_p
18612 # -------------
18613 # Create "$as_dir" as a directory, including parents if necessary.
18614 as_fn_mkdir_p ()
18617 case $as_dir in #(
18618 -*) as_dir=./$as_dir;;
18619 esac
18620 test -d "$as_dir" || eval $as_mkdir_p || {
18621 as_dirs=
18622 while :; do
18623 case $as_dir in #(
18624 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18625 *) as_qdir=$as_dir;;
18626 esac
18627 as_dirs="'$as_qdir' $as_dirs"
18628 as_dir=`$as_dirname -- "$as_dir" ||
18629 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18630 X"$as_dir" : 'X\(//\)[^/]' \| \
18631 X"$as_dir" : 'X\(//\)$' \| \
18632 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18633 $as_echo X"$as_dir" |
18634 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18635 s//\1/
18638 /^X\(\/\/\)[^/].*/{
18639 s//\1/
18642 /^X\(\/\/\)$/{
18643 s//\1/
18646 /^X\(\/\).*/{
18647 s//\1/
18650 s/.*/./; q'`
18651 test -d "$as_dir" && break
18652 done
18653 test -z "$as_dirs" || eval "mkdir $as_dirs"
18654 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18657 } # as_fn_mkdir_p
18658 if mkdir -p . 2>/dev/null; then
18659 as_mkdir_p='mkdir -p "$as_dir"'
18660 else
18661 test -d ./-p && rmdir ./-p
18662 as_mkdir_p=false
18666 # as_fn_executable_p FILE
18667 # -----------------------
18668 # Test if FILE is an executable regular file.
18669 as_fn_executable_p ()
18671 test -f "$1" && test -x "$1"
18672 } # as_fn_executable_p
18673 as_test_x='test -x'
18674 as_executable_p=as_fn_executable_p
18676 # Sed expression to map a string onto a valid CPP name.
18677 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18679 # Sed expression to map a string onto a valid variable name.
18680 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18683 exec 6>&1
18684 ## ----------------------------------- ##
18685 ## Main body of $CONFIG_STATUS script. ##
18686 ## ----------------------------------- ##
18687 _ASEOF
18688 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18690 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18691 # Save the log message, to keep $0 and so on meaningful, and to
18692 # report actual input values of CONFIG_FILES etc. instead of their
18693 # values after options handling.
18694 ac_log="
18695 This file was extended by Wine $as_me 1.7.51, which was
18696 generated by GNU Autoconf 2.69. Invocation command line was
18698 CONFIG_FILES = $CONFIG_FILES
18699 CONFIG_HEADERS = $CONFIG_HEADERS
18700 CONFIG_LINKS = $CONFIG_LINKS
18701 CONFIG_COMMANDS = $CONFIG_COMMANDS
18702 $ $0 $@
18704 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18707 _ACEOF
18709 case $ac_config_files in *"
18710 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18711 esac
18713 case $ac_config_headers in *"
18714 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18715 esac
18718 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18719 # Files that config.status was made for.
18720 config_files="$ac_config_files"
18721 config_headers="$ac_config_headers"
18722 config_links="$ac_config_links"
18723 config_commands="$ac_config_commands"
18725 _ACEOF
18727 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18728 ac_cs_usage="\
18729 \`$as_me' instantiates files and other configuration actions
18730 from templates according to the current configuration. Unless the files
18731 and actions are specified as TAGs, all are instantiated by default.
18733 Usage: $0 [OPTION]... [TAG]...
18735 -h, --help print this help, then exit
18736 -V, --version print version number and configuration settings, then exit
18737 --config print configuration, then exit
18738 -q, --quiet, --silent
18739 do not print progress messages
18740 -d, --debug don't remove temporary files
18741 --recheck update $as_me by reconfiguring in the same conditions
18742 --file=FILE[:TEMPLATE]
18743 instantiate the configuration file FILE
18744 --header=FILE[:TEMPLATE]
18745 instantiate the configuration header FILE
18747 Configuration files:
18748 $config_files
18750 Configuration headers:
18751 $config_headers
18753 Configuration links:
18754 $config_links
18756 Configuration commands:
18757 $config_commands
18759 Report bugs to <wine-devel@winehq.org>.
18760 Wine home page: <http://www.winehq.org>."
18762 _ACEOF
18763 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18764 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18765 ac_cs_version="\\
18766 Wine config.status 1.7.51
18767 configured by $0, generated by GNU Autoconf 2.69,
18768 with options \\"\$ac_cs_config\\"
18770 Copyright (C) 2012 Free Software Foundation, Inc.
18771 This config.status script is free software; the Free Software Foundation
18772 gives unlimited permission to copy, distribute and modify it."
18774 ac_pwd='$ac_pwd'
18775 srcdir='$srcdir'
18776 test -n "\$AWK" || AWK=awk
18777 _ACEOF
18779 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18780 # The default lists apply if the user does not specify any file.
18781 ac_need_defaults=:
18782 while test $# != 0
18784 case $1 in
18785 --*=?*)
18786 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18787 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18788 ac_shift=:
18790 --*=)
18791 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18792 ac_optarg=
18793 ac_shift=:
18796 ac_option=$1
18797 ac_optarg=$2
18798 ac_shift=shift
18800 esac
18802 case $ac_option in
18803 # Handling of the options.
18804 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18805 ac_cs_recheck=: ;;
18806 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18807 $as_echo "$ac_cs_version"; exit ;;
18808 --config | --confi | --conf | --con | --co | --c )
18809 $as_echo "$ac_cs_config"; exit ;;
18810 --debug | --debu | --deb | --de | --d | -d )
18811 debug=: ;;
18812 --file | --fil | --fi | --f )
18813 $ac_shift
18814 case $ac_optarg in
18815 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18816 '') as_fn_error $? "missing file argument" ;;
18817 esac
18818 as_fn_append CONFIG_FILES " '$ac_optarg'"
18819 ac_need_defaults=false;;
18820 --header | --heade | --head | --hea )
18821 $ac_shift
18822 case $ac_optarg in
18823 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18824 esac
18825 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18826 ac_need_defaults=false;;
18827 --he | --h)
18828 # Conflict between --help and --header
18829 as_fn_error $? "ambiguous option: \`$1'
18830 Try \`$0 --help' for more information.";;
18831 --help | --hel | -h )
18832 $as_echo "$ac_cs_usage"; exit ;;
18833 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18834 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18835 ac_cs_silent=: ;;
18837 # This is an error.
18838 -*) as_fn_error $? "unrecognized option: \`$1'
18839 Try \`$0 --help' for more information." ;;
18841 *) as_fn_append ac_config_targets " $1"
18842 ac_need_defaults=false ;;
18844 esac
18845 shift
18846 done
18848 ac_configure_extra_args=
18850 if $ac_cs_silent; then
18851 exec 6>/dev/null
18852 ac_configure_extra_args="$ac_configure_extra_args --silent"
18855 _ACEOF
18856 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18857 if \$ac_cs_recheck; then
18858 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18859 shift
18860 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18861 CONFIG_SHELL='$SHELL'
18862 export CONFIG_SHELL
18863 exec "\$@"
18866 _ACEOF
18867 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18868 exec 5>>config.log
18870 echo
18871 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18872 ## Running $as_me. ##
18873 _ASBOX
18874 $as_echo "$ac_log"
18875 } >&5
18877 _ACEOF
18878 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18880 # INIT-COMMANDS
18882 wine_fn_output_makedep ()
18884 as_dir=tools; as_fn_mkdir_p
18885 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18887 wine_fn_output_makefile ()
18889 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18890 `cat $wine_rules_file`
18891 _WINE_EOF
18892 as_fn_error $? "could not create Makefile" "$LINENO" 5
18894 wine_fn_output_gitignore ()
18896 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18897 $GITIGNORE
18898 _WINE_EOF
18899 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18902 _ACEOF
18904 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18906 # Handling of arguments.
18907 for ac_config_target in $ac_config_targets
18909 case $ac_config_target in
18910 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18911 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18912 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18913 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18914 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18915 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18916 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
18917 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18918 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18919 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18920 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18921 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18922 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18923 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18924 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18926 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18927 esac
18928 done
18931 # If the user did not use the arguments to specify the items to instantiate,
18932 # then the envvar interface is used. Set only those that are not.
18933 # We use the long form for the default assignment because of an extremely
18934 # bizarre bug on SunOS 4.1.3.
18935 if $ac_need_defaults; then
18936 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18937 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18938 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18939 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18942 # Have a temporary directory for convenience. Make it in the build tree
18943 # simply because there is no reason against having it here, and in addition,
18944 # creating and moving files from /tmp can sometimes cause problems.
18945 # Hook for its removal unless debugging.
18946 # Note that there is a small window in which the directory will not be cleaned:
18947 # after its creation but before its name has been assigned to `$tmp'.
18948 $debug ||
18950 tmp= ac_tmp=
18951 trap 'exit_status=$?
18952 : "${ac_tmp:=$tmp}"
18953 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18955 trap 'as_fn_exit 1' 1 2 13 15
18957 # Create a (secure) tmp directory for tmp files.
18960 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18961 test -d "$tmp"
18962 } ||
18964 tmp=./conf$$-$RANDOM
18965 (umask 077 && mkdir "$tmp")
18966 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18967 ac_tmp=$tmp
18969 # Set up the scripts for CONFIG_FILES section.
18970 # No need to generate them if there are no CONFIG_FILES.
18971 # This happens for instance with `./config.status config.h'.
18972 if test -n "$CONFIG_FILES"; then
18975 ac_cr=`echo X | tr X '\015'`
18976 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18977 # But we know of no other shell where ac_cr would be empty at this
18978 # point, so we can use a bashism as a fallback.
18979 if test "x$ac_cr" = x; then
18980 eval ac_cr=\$\'\\r\'
18982 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18983 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18984 ac_cs_awk_cr='\\r'
18985 else
18986 ac_cs_awk_cr=$ac_cr
18989 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18990 _ACEOF
18994 echo "cat >conf$$subs.awk <<_ACEOF" &&
18995 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18996 echo "_ACEOF"
18997 } >conf$$subs.sh ||
18998 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18999 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19000 ac_delim='%!_!# '
19001 for ac_last_try in false false false false false :; do
19002 . ./conf$$subs.sh ||
19003 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19005 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19006 if test $ac_delim_n = $ac_delim_num; then
19007 break
19008 elif $ac_last_try; then
19009 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19010 else
19011 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19013 done
19014 rm -f conf$$subs.sh
19016 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19017 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19018 _ACEOF
19019 sed -n '
19021 s/^/S["/; s/!.*/"]=/
19024 s/^[^!]*!//
19025 :repl
19026 t repl
19027 s/'"$ac_delim"'$//
19028 t delim
19031 s/\(.\{148\}\)..*/\1/
19032 t more1
19033 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19036 b repl
19037 :more1
19038 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19041 s/.\{148\}//
19042 t nl
19043 :delim
19045 s/\(.\{148\}\)..*/\1/
19046 t more2
19047 s/["\\]/\\&/g; s/^/"/; s/$/"/
19050 :more2
19051 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19054 s/.\{148\}//
19055 t delim
19056 ' <conf$$subs.awk | sed '
19057 /^[^""]/{
19059 s/\n//
19061 ' >>$CONFIG_STATUS || ac_write_fail=1
19062 rm -f conf$$subs.awk
19063 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19064 _ACAWK
19065 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19066 for (key in S) S_is_set[key] = 1
19067 FS = "\a"
19071 line = $ 0
19072 nfields = split(line, field, "@")
19073 substed = 0
19074 len = length(field[1])
19075 for (i = 2; i < nfields; i++) {
19076 key = field[i]
19077 keylen = length(key)
19078 if (S_is_set[key]) {
19079 value = S[key]
19080 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19081 len += length(value) + length(field[++i])
19082 substed = 1
19083 } else
19084 len += 1 + keylen
19087 print line
19090 _ACAWK
19091 _ACEOF
19092 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19093 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19094 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19095 else
19097 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19098 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19099 _ACEOF
19101 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19102 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19103 # trailing colons and then remove the whole line if VPATH becomes empty
19104 # (actually we leave an empty line to preserve line numbers).
19105 if test "x$srcdir" = x.; then
19106 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19108 s///
19109 s/^/:/
19110 s/[ ]*$/:/
19111 s/:\$(srcdir):/:/g
19112 s/:\${srcdir}:/:/g
19113 s/:@srcdir@:/:/g
19114 s/^:*//
19115 s/:*$//
19117 s/\(=[ ]*\).*/\1/
19119 s/\n//
19120 s/^[^=]*=[ ]*$//
19124 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19125 fi # test -n "$CONFIG_FILES"
19127 # Set up the scripts for CONFIG_HEADERS section.
19128 # No need to generate them if there are no CONFIG_HEADERS.
19129 # This happens for instance with `./config.status Makefile'.
19130 if test -n "$CONFIG_HEADERS"; then
19131 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19132 BEGIN {
19133 _ACEOF
19135 # Transform confdefs.h into an awk script `defines.awk', embedded as
19136 # here-document in config.status, that substitutes the proper values into
19137 # config.h.in to produce config.h.
19139 # Create a delimiter string that does not exist in confdefs.h, to ease
19140 # handling of long lines.
19141 ac_delim='%!_!# '
19142 for ac_last_try in false false :; do
19143 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19144 if test -z "$ac_tt"; then
19145 break
19146 elif $ac_last_try; then
19147 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19148 else
19149 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19151 done
19153 # For the awk script, D is an array of macro values keyed by name,
19154 # likewise P contains macro parameters if any. Preserve backslash
19155 # newline sequences.
19157 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19158 sed -n '
19159 s/.\{148\}/&'"$ac_delim"'/g
19160 t rset
19161 :rset
19162 s/^[ ]*#[ ]*define[ ][ ]*/ /
19163 t def
19165 :def
19166 s/\\$//
19167 t bsnl
19168 s/["\\]/\\&/g
19169 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19170 D["\1"]=" \3"/p
19171 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19173 :bsnl
19174 s/["\\]/\\&/g
19175 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19176 D["\1"]=" \3\\\\\\n"\\/p
19177 t cont
19178 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19179 t cont
19181 :cont
19183 s/.\{148\}/&'"$ac_delim"'/g
19184 t clear
19185 :clear
19186 s/\\$//
19187 t bsnlc
19188 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19190 :bsnlc
19191 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19192 b cont
19193 ' <confdefs.h | sed '
19194 s/'"$ac_delim"'/"\\\
19195 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19197 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19198 for (key in D) D_is_set[key] = 1
19199 FS = "\a"
19201 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19202 line = \$ 0
19203 split(line, arg, " ")
19204 if (arg[1] == "#") {
19205 defundef = arg[2]
19206 mac1 = arg[3]
19207 } else {
19208 defundef = substr(arg[1], 2)
19209 mac1 = arg[2]
19211 split(mac1, mac2, "(") #)
19212 macro = mac2[1]
19213 prefix = substr(line, 1, index(line, defundef) - 1)
19214 if (D_is_set[macro]) {
19215 # Preserve the white space surrounding the "#".
19216 print prefix "define", macro P[macro] D[macro]
19217 next
19218 } else {
19219 # Replace #undef with comments. This is necessary, for example,
19220 # in the case of _POSIX_SOURCE, which is predefined and required
19221 # on some systems where configure will not decide to define it.
19222 if (defundef == "undef") {
19223 print "/*", prefix defundef, macro, "*/"
19224 next
19228 { print }
19229 _ACAWK
19230 _ACEOF
19231 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19232 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19233 fi # test -n "$CONFIG_HEADERS"
19236 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19237 shift
19238 for ac_tag
19240 case $ac_tag in
19241 :[FHLC]) ac_mode=$ac_tag; continue;;
19242 esac
19243 case $ac_mode$ac_tag in
19244 :[FHL]*:*);;
19245 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19246 :[FH]-) ac_tag=-:-;;
19247 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19248 esac
19249 ac_save_IFS=$IFS
19250 IFS=:
19251 set x $ac_tag
19252 IFS=$ac_save_IFS
19253 shift
19254 ac_file=$1
19255 shift
19257 case $ac_mode in
19258 :L) ac_source=$1;;
19259 :[FH])
19260 ac_file_inputs=
19261 for ac_f
19263 case $ac_f in
19264 -) ac_f="$ac_tmp/stdin";;
19265 *) # Look for the file first in the build tree, then in the source tree
19266 # (if the path is not absolute). The absolute path cannot be DOS-style,
19267 # because $ac_f cannot contain `:'.
19268 test -f "$ac_f" ||
19269 case $ac_f in
19270 [\\/$]*) false;;
19271 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19272 esac ||
19273 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19274 esac
19275 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19276 as_fn_append ac_file_inputs " '$ac_f'"
19277 done
19279 # Let's still pretend it is `configure' which instantiates (i.e., don't
19280 # use $as_me), people would be surprised to read:
19281 # /* config.h. Generated by config.status. */
19282 configure_input='Generated from '`
19283 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19284 `' by configure.'
19285 if test x"$ac_file" != x-; then
19286 configure_input="$ac_file. $configure_input"
19287 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19288 $as_echo "$as_me: creating $ac_file" >&6;}
19290 # Neutralize special characters interpreted by sed in replacement strings.
19291 case $configure_input in #(
19292 *\&* | *\|* | *\\* )
19293 ac_sed_conf_input=`$as_echo "$configure_input" |
19294 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19295 *) ac_sed_conf_input=$configure_input;;
19296 esac
19298 case $ac_tag in
19299 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19300 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19301 esac
19303 esac
19305 ac_dir=`$as_dirname -- "$ac_file" ||
19306 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19307 X"$ac_file" : 'X\(//\)[^/]' \| \
19308 X"$ac_file" : 'X\(//\)$' \| \
19309 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19310 $as_echo X"$ac_file" |
19311 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19312 s//\1/
19315 /^X\(\/\/\)[^/].*/{
19316 s//\1/
19319 /^X\(\/\/\)$/{
19320 s//\1/
19323 /^X\(\/\).*/{
19324 s//\1/
19327 s/.*/./; q'`
19328 as_dir="$ac_dir"; as_fn_mkdir_p
19329 ac_builddir=.
19331 case "$ac_dir" in
19332 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19334 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19335 # A ".." for each directory in $ac_dir_suffix.
19336 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19337 case $ac_top_builddir_sub in
19338 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19339 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19340 esac ;;
19341 esac
19342 ac_abs_top_builddir=$ac_pwd
19343 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19344 # for backward compatibility:
19345 ac_top_builddir=$ac_top_build_prefix
19347 case $srcdir in
19348 .) # We are building in place.
19349 ac_srcdir=.
19350 ac_top_srcdir=$ac_top_builddir_sub
19351 ac_abs_top_srcdir=$ac_pwd ;;
19352 [\\/]* | ?:[\\/]* ) # Absolute name.
19353 ac_srcdir=$srcdir$ac_dir_suffix;
19354 ac_top_srcdir=$srcdir
19355 ac_abs_top_srcdir=$srcdir ;;
19356 *) # Relative name.
19357 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19358 ac_top_srcdir=$ac_top_build_prefix$srcdir
19359 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19360 esac
19361 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19364 case $ac_mode in
19367 # CONFIG_FILE
19370 _ACEOF
19372 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19373 # If the template does not know about datarootdir, expand it.
19374 # FIXME: This hack should be removed a few years after 2.60.
19375 ac_datarootdir_hack=; ac_datarootdir_seen=
19376 ac_sed_dataroot='
19377 /datarootdir/ {
19381 /@datadir@/p
19382 /@docdir@/p
19383 /@infodir@/p
19384 /@localedir@/p
19385 /@mandir@/p'
19386 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19387 *datarootdir*) ac_datarootdir_seen=yes;;
19388 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19389 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19390 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19391 _ACEOF
19392 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19393 ac_datarootdir_hack='
19394 s&@datadir@&$datadir&g
19395 s&@docdir@&$docdir&g
19396 s&@infodir@&$infodir&g
19397 s&@localedir@&$localedir&g
19398 s&@mandir@&$mandir&g
19399 s&\\\${datarootdir}&$datarootdir&g' ;;
19400 esac
19401 _ACEOF
19403 # Neutralize VPATH when `$srcdir' = `.'.
19404 # Shell code in configure.ac might set extrasub.
19405 # FIXME: do we really want to maintain this feature?
19406 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19407 ac_sed_extra="$ac_vpsub
19408 $extrasub
19409 _ACEOF
19410 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19412 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19413 s|@configure_input@|$ac_sed_conf_input|;t t
19414 s&@top_builddir@&$ac_top_builddir_sub&;t t
19415 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19416 s&@srcdir@&$ac_srcdir&;t t
19417 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19418 s&@top_srcdir@&$ac_top_srcdir&;t t
19419 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19420 s&@builddir@&$ac_builddir&;t t
19421 s&@abs_builddir@&$ac_abs_builddir&;t t
19422 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19423 $ac_datarootdir_hack
19425 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19426 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19428 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19429 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19430 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19431 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19433 which seems to be undefined. Please make sure it is defined" >&5
19434 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19435 which seems to be undefined. Please make sure it is defined" >&2;}
19437 rm -f "$ac_tmp/stdin"
19438 case $ac_file in
19439 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19440 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19441 esac \
19442 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19446 # CONFIG_HEADER
19448 if test x"$ac_file" != x-; then
19450 $as_echo "/* $configure_input */" \
19451 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19452 } >"$ac_tmp/config.h" \
19453 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19454 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19455 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19456 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19457 else
19458 rm -f "$ac_file"
19459 mv "$ac_tmp/config.h" "$ac_file" \
19460 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19462 else
19463 $as_echo "/* $configure_input */" \
19464 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19465 || as_fn_error $? "could not create -" "$LINENO" 5
19470 # CONFIG_LINK
19473 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19475 else
19476 # Prefer the file from the source tree if names are identical.
19477 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19478 ac_source=$srcdir/$ac_source
19481 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19482 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19484 if test ! -r "$ac_source"; then
19485 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19487 rm -f "$ac_file"
19489 # Try a relative symlink, then a hard link, then a copy.
19490 case $ac_source in
19491 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19492 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19493 esac
19494 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19495 ln "$ac_source" "$ac_file" 2>/dev/null ||
19496 cp -p "$ac_source" "$ac_file" ||
19497 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19500 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19501 $as_echo "$as_me: executing $ac_file commands" >&6;}
19503 esac
19506 case $ac_file$ac_mode in
19507 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19508 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19509 "Makefile":C) wine_fn_output_makefile Makefile ;;
19510 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19512 esac
19513 done # for ac_tag
19516 as_fn_exit 0
19517 _ACEOF
19518 ac_clean_files=$ac_clean_files_save
19520 test $ac_write_fail = 0 ||
19521 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19524 # configure is writing to config.log, and then calls config.status.
19525 # config.status does its own redirection, appending to config.log.
19526 # Unfortunately, on DOS this fails, as config.log is still kept open
19527 # by configure, so config.status won't be able to write to it; its
19528 # output is simply discarded. So we exec the FD to /dev/null,
19529 # effectively closing config.log, so it can be properly (re)opened and
19530 # appended to by config.status. When coming back to configure, we
19531 # need to make the FD available again.
19532 if test "$no_create" != yes; then
19533 ac_cs_success=:
19534 ac_config_status_args=
19535 test "$silent" = yes &&
19536 ac_config_status_args="$ac_config_status_args --quiet"
19537 exec 5>/dev/null
19538 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19539 exec 5>>config.log
19540 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19541 # would make configure fail if this is the last instruction.
19542 $ac_cs_success || as_fn_exit 1
19544 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19546 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19550 if test "$no_create" = "yes"
19551 then
19552 exit 0
19555 ac_save_IFS="$IFS"
19556 if test "x$wine_notices != "x; then
19557 echo >&6
19558 IFS="|"
19559 for msg in $wine_notices; do
19560 IFS="$ac_save_IFS"
19561 if ${msg:+false} :; then :
19563 else
19564 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19565 $as_echo "$as_me: $msg" >&6;}
19567 done
19569 IFS="|"
19570 for msg in $wine_warnings; do
19571 IFS="$ac_save_IFS"
19572 if ${msg:+false} :; then :
19574 else
19575 echo >&2
19576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19577 $as_echo "$as_me: WARNING: $msg" >&2;}
19579 done
19580 IFS="$ac_save_IFS"
19582 $as_echo "
19583 $as_me: Finished. Do '${ac_make}' to compile Wine.
19584 " >&6