ntdll: Initialize PEB SessionId to 1.
[wine.git] / configure
blob2ba059a0a4fee273535b953b539da40d7e2d26b8
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.52.
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.52'
584 PACKAGE_STRING='Wine 1.7.52'
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 EXCESS_PRECISION_CFLAGS
636 BUILTINFLAG
637 EXTRACFLAGS
638 PROCSTAT_LIBS
639 KSTAT_LIBS
640 MPG123_LIBS
641 MPG123_CFLAGS
642 TIFF_LIBS
643 TIFF_CFLAGS
644 PNG_LIBS
645 PNG_CFLAGS
646 JPEG_LIBS
647 JPEG_CFLAGS
648 FONTCONFIG_LIBS
649 FONTCONFIG_CFLAGS
650 CUPS_CFLAGS
651 CAPI20_LIBS
652 CAPI20_CFLAGS
653 OSS4_CFLAGS
654 ALSA_LIBS
655 GSTREAMER_LIBS
656 GSTREAMER_CFLAGS
657 GETTEXTPO_LIBS
658 Z_LIBS
659 FREETYPE_LIBS
660 FREETYPE_CFLAGS
661 LCMS2_LIBS
662 LCMS2_CFLAGS
663 RESOLV_LIBS
664 GPHOTO2_PORT_LIBS
665 GPHOTO2_PORT_CFLAGS
666 GPHOTO2_LIBS
667 GPHOTO2_CFLAGS
668 SANE_LIBS
669 SANE_CFLAGS
670 GNUTLS_LIBS
671 GNUTLS_CFLAGS
672 HAL_LIBS
673 HAL_CFLAGS
674 DBUS_LIBS
675 DBUS_CFLAGS
676 XSLT_LIBS
677 XSLT_CFLAGS
678 XML2_LIBS
679 XML2_CFLAGS
680 LIBPCAP
681 X_EXTRA_LIBS
682 X_LIBS
683 X_PRE_LIBS
684 X_CFLAGS
685 XMKMF
686 PTHREAD_LIBS
687 CROSSCC
688 CROSSTARGET
689 PRELINK
690 CARBON_LIBS
691 QUICKTIME_LIBS
692 OPENCL_LIBS
693 OPENAL_LIBS
694 COREAUDIO_LIBS
695 SECURITY_LIBS
696 DISKARBITRATION_LIBS
697 APPKIT_LIBS
698 CORESERVICES_LIBS
699 APPLICATIONSERVICES_LIBS
700 FORCEFEEDBACK_LIBS
701 IOKIT_LIBS
702 COREFOUNDATION_LIBS
703 LIBWINE_RULES
704 SOCKET_LIBS
705 DLLTOOL
706 LOADER_RULES
707 ALL_TEST_RESOURCES
708 READELF
709 OTOOL
711 LDRPATH_LOCAL
712 LDRPATH_INSTALL
713 DLLFLAGS
714 DLLPREFIX
715 dlldir
717 OPENGL_LIBS
718 ICOTOOL
719 CONVERT
720 RSVG
721 FONTFORGE
722 PKG_CONFIG
723 MSGFMT
724 LDCONFIG
725 EGREP
726 GREP
727 LN_S
728 RANLIB
729 ARFLAGS
730 STRIP
731 ac_ct_AR
733 BISON
734 FLEX
735 TOOLSDIR
736 TARGETFLAGS
738 CPPBIN
739 ac_ct_CXX
740 CXXFLAGS
742 OBJEXT
743 EXEEXT
744 ac_ct_CC
745 CPPFLAGS
746 LDFLAGS
747 CFLAGS
749 SET_MAKE
750 host_os
751 host_vendor
752 host_cpu
753 host
754 build_os
755 build_vendor
756 build_cpu
757 build
758 target_alias
759 host_alias
760 build_alias
761 LIBS
762 ECHO_T
763 ECHO_N
764 ECHO_C
765 DEFS
766 mandir
767 localedir
768 libdir
769 psdir
770 pdfdir
771 dvidir
772 htmldir
773 infodir
774 docdir
775 oldincludedir
776 includedir
777 runstatedir
778 localstatedir
779 sharedstatedir
780 sysconfdir
781 datadir
782 datarootdir
783 libexecdir
784 sbindir
785 bindir
786 program_transform_name
787 prefix
788 exec_prefix
789 PACKAGE_URL
790 PACKAGE_BUGREPORT
791 PACKAGE_STRING
792 PACKAGE_VERSION
793 PACKAGE_TARNAME
794 PACKAGE_NAME
795 PATH_SEPARATOR
796 SHELL'
797 ac_subst_files=''
798 ac_user_opts='
799 enable_option_checking
800 enable_win16
801 enable_win64
802 enable_tests
803 enable_maintainer_mode
804 with_alsa
805 with_capi
806 with_cms
807 with_coreaudio
808 with_cups
809 with_curses
810 with_dbus
811 with_fontconfig
812 with_freetype
813 with_gettext
814 with_gettextpo
815 with_gphoto
816 with_glu
817 with_gnutls
818 with_gsm
819 with_gstreamer
820 with_hal
821 with_jpeg
822 with_ldap
823 with_mpg123
824 with_netapi
825 with_openal
826 with_opencl
827 with_opengl
828 with_osmesa
829 with_oss
830 with_pcap
831 with_png
832 with_pthread
833 with_sane
834 with_tiff
835 with_v4l
836 with_xcomposite
837 with_xcursor
838 with_xinerama
839 with_xinput
840 with_xinput2
841 with_xml
842 with_xrandr
843 with_xrender
844 with_xshape
845 with_xshm
846 with_xslt
847 with_xxf86vm
848 with_zlib
849 with_wine_tools
850 with_wine64
851 enable_largefile
852 with_x
853 enable_acledit
854 enable_aclui
855 enable_activeds
856 enable_actxprxy
857 enable_advapi32
858 enable_advpack
859 enable_amstream
860 enable_api_ms_win_core_com_l1_1_0
861 enable_api_ms_win_core_console_l1_1_0
862 enable_api_ms_win_core_datetime_l1_1_0
863 enable_api_ms_win_core_datetime_l1_1_1
864 enable_api_ms_win_core_debug_l1_1_0
865 enable_api_ms_win_core_debug_l1_1_1
866 enable_api_ms_win_core_errorhandling_l1_1_0
867 enable_api_ms_win_core_errorhandling_l1_1_1
868 enable_api_ms_win_core_errorhandling_l1_1_2
869 enable_api_ms_win_core_fibers_l1_1_0
870 enable_api_ms_win_core_fibers_l1_1_1
871 enable_api_ms_win_core_file_l1_1_0
872 enable_api_ms_win_core_file_l1_2_0
873 enable_api_ms_win_core_file_l2_1_0
874 enable_api_ms_win_core_file_l2_1_1
875 enable_api_ms_win_core_handle_l1_1_0
876 enable_api_ms_win_core_heap_l1_1_0
877 enable_api_ms_win_core_heap_l1_2_0
878 enable_api_ms_win_core_heap_obsolete_l1_1_0
879 enable_api_ms_win_core_interlocked_l1_1_0
880 enable_api_ms_win_core_interlocked_l1_2_0
881 enable_api_ms_win_core_io_l1_1_1
882 enable_api_ms_win_core_kernel32_legacy_l1_1_0
883 enable_api_ms_win_core_libraryloader_l1_1_0
884 enable_api_ms_win_core_libraryloader_l1_1_1
885 enable_api_ms_win_core_localization_l1_2_0
886 enable_api_ms_win_core_localization_l1_2_1
887 enable_api_ms_win_core_localization_obsolete_l1_1_0
888 enable_api_ms_win_core_localregistry_l1_1_0
889 enable_api_ms_win_core_memory_l1_1_0
890 enable_api_ms_win_core_memory_l1_1_1
891 enable_api_ms_win_core_misc_l1_1_0
892 enable_api_ms_win_core_namedpipe_l1_1_0
893 enable_api_ms_win_core_namedpipe_l1_2_0
894 enable_api_ms_win_core_processenvironment_l1_1_0
895 enable_api_ms_win_core_processenvironment_l1_2_0
896 enable_api_ms_win_core_processthreads_l1_1_0
897 enable_api_ms_win_core_processthreads_l1_1_1
898 enable_api_ms_win_core_processthreads_l1_1_2
899 enable_api_ms_win_core_profile_l1_1_0
900 enable_api_ms_win_core_psapi_l1_1_0
901 enable_api_ms_win_core_registry_l1_1_0
902 enable_api_ms_win_core_rtlsupport_l1_1_0
903 enable_api_ms_win_core_rtlsupport_l1_2_0
904 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
905 enable_api_ms_win_core_string_l1_1_0
906 enable_api_ms_win_core_synch_l1_1_0
907 enable_api_ms_win_core_synch_l1_2_0
908 enable_api_ms_win_core_sysinfo_l1_1_0
909 enable_api_ms_win_core_sysinfo_l1_2_0
910 enable_api_ms_win_core_sysinfo_l1_2_1
911 enable_api_ms_win_core_threadpool_legacy_l1_1_0
912 enable_api_ms_win_core_timezone_l1_1_0
913 enable_api_ms_win_core_url_l1_1_0
914 enable_api_ms_win_core_util_l1_1_0
915 enable_api_ms_win_core_winrt_error_l1_1_0
916 enable_api_ms_win_core_winrt_error_l1_1_1
917 enable_api_ms_win_core_winrt_l1_1_0
918 enable_api_ms_win_core_winrt_string_l1_1_0
919 enable_api_ms_win_core_xstate_l2_1_0
920 enable_api_ms_win_crt_conio_l1_1_0
921 enable_api_ms_win_crt_convert_l1_1_0
922 enable_api_ms_win_crt_environment_l1_1_0
923 enable_api_ms_win_crt_filesystem_l1_1_0
924 enable_api_ms_win_crt_heap_l1_1_0
925 enable_api_ms_win_crt_locale_l1_1_0
926 enable_api_ms_win_crt_math_l1_1_0
927 enable_api_ms_win_crt_multibyte_l1_1_0
928 enable_api_ms_win_crt_private_l1_1_0
929 enable_api_ms_win_crt_process_l1_1_0
930 enable_api_ms_win_crt_runtime_l1_1_0
931 enable_api_ms_win_crt_stdio_l1_1_0
932 enable_api_ms_win_crt_string_l1_1_0
933 enable_api_ms_win_crt_time_l1_1_0
934 enable_api_ms_win_crt_utility_l1_1_0
935 enable_api_ms_win_downlevel_advapi32_l1_1_0
936 enable_api_ms_win_downlevel_advapi32_l2_1_0
937 enable_api_ms_win_downlevel_normaliz_l1_1_0
938 enable_api_ms_win_downlevel_ole32_l1_1_0
939 enable_api_ms_win_downlevel_shell32_l1_1_0
940 enable_api_ms_win_downlevel_shlwapi_l1_1_0
941 enable_api_ms_win_downlevel_shlwapi_l2_1_0
942 enable_api_ms_win_downlevel_user32_l1_1_0
943 enable_api_ms_win_downlevel_version_l1_1_0
944 enable_api_ms_win_eventing_provider_l1_1_0
945 enable_api_ms_win_ntuser_dc_access_l1_1_0
946 enable_api_ms_win_security_base_l1_1_0
947 enable_api_ms_win_security_base_l1_2_0
948 enable_api_ms_win_security_sddl_l1_1_0
949 enable_api_ms_win_service_core_l1_1_1
950 enable_api_ms_win_service_management_l1_1_0
951 enable_api_ms_win_service_winsvc_l1_2_0
952 enable_apphelp
953 enable_appwiz_cpl
954 enable_atl
955 enable_atl100
956 enable_atl110
957 enable_atl80
958 enable_atl90
959 enable_authz
960 enable_avicap32
961 enable_avifil32
962 enable_avrt
963 enable_bcrypt
964 enable_browseui
965 enable_cabinet
966 enable_capi2032
967 enable_cards
968 enable_cfgmgr32
969 enable_clusapi
970 enable_combase
971 enable_comcat
972 enable_comctl32
973 enable_comdlg32
974 enable_compstui
975 enable_comsvcs
976 enable_connect
977 enable_credui
978 enable_crtdll
979 enable_crypt32
980 enable_cryptdlg
981 enable_cryptdll
982 enable_cryptext
983 enable_cryptnet
984 enable_cryptui
985 enable_ctapi32
986 enable_ctl3d32
987 enable_d2d1
988 enable_d3d10
989 enable_d3d10_1
990 enable_d3d10core
991 enable_d3d11
992 enable_d3d8
993 enable_d3d9
994 enable_d3dcompiler_33
995 enable_d3dcompiler_34
996 enable_d3dcompiler_35
997 enable_d3dcompiler_36
998 enable_d3dcompiler_37
999 enable_d3dcompiler_38
1000 enable_d3dcompiler_39
1001 enable_d3dcompiler_40
1002 enable_d3dcompiler_41
1003 enable_d3dcompiler_42
1004 enable_d3dcompiler_43
1005 enable_d3dcompiler_46
1006 enable_d3dcompiler_47
1007 enable_d3dim
1008 enable_d3drm
1009 enable_d3dx10_33
1010 enable_d3dx10_34
1011 enable_d3dx10_35
1012 enable_d3dx10_36
1013 enable_d3dx10_37
1014 enable_d3dx10_38
1015 enable_d3dx10_39
1016 enable_d3dx10_40
1017 enable_d3dx10_41
1018 enable_d3dx10_42
1019 enable_d3dx10_43
1020 enable_d3dx11_42
1021 enable_d3dx11_43
1022 enable_d3dx9_24
1023 enable_d3dx9_25
1024 enable_d3dx9_26
1025 enable_d3dx9_27
1026 enable_d3dx9_28
1027 enable_d3dx9_29
1028 enable_d3dx9_30
1029 enable_d3dx9_31
1030 enable_d3dx9_32
1031 enable_d3dx9_33
1032 enable_d3dx9_34
1033 enable_d3dx9_35
1034 enable_d3dx9_36
1035 enable_d3dx9_37
1036 enable_d3dx9_38
1037 enable_d3dx9_39
1038 enable_d3dx9_40
1039 enable_d3dx9_41
1040 enable_d3dx9_42
1041 enable_d3dx9_43
1042 enable_d3dxof
1043 enable_davclnt
1044 enable_dbgeng
1045 enable_dbghelp
1046 enable_dciman32
1047 enable_ddraw
1048 enable_ddrawex
1049 enable_devenum
1050 enable_dhcpcsvc
1051 enable_difxapi
1052 enable_dinput
1053 enable_dinput8
1054 enable_dispex
1055 enable_dmband
1056 enable_dmcompos
1057 enable_dmime
1058 enable_dmloader
1059 enable_dmscript
1060 enable_dmstyle
1061 enable_dmsynth
1062 enable_dmusic
1063 enable_dmusic32
1064 enable_dnsapi
1065 enable_dplay
1066 enable_dplayx
1067 enable_dpnaddr
1068 enable_dpnet
1069 enable_dpnhpast
1070 enable_dpnlobby
1071 enable_dpvoice
1072 enable_dpwsockx
1073 enable_drmclien
1074 enable_dsound
1075 enable_dssenh
1076 enable_dswave
1077 enable_dwmapi
1078 enable_dwrite
1079 enable_dxdiagn
1080 enable_dxgi
1081 enable_dxva2
1082 enable_esent
1083 enable_evr
1084 enable_explorerframe
1085 enable_ext_ms_win_gdi_devcaps_l1_1_0
1086 enable_faultrep
1087 enable_fltlib
1088 enable_fntcache
1089 enable_fontsub
1090 enable_fusion
1091 enable_fwpuclnt
1092 enable_gameux
1093 enable_gdi32
1094 enable_gdiplus
1095 enable_glu32
1096 enable_gphoto2_ds
1097 enable_gpkcsp
1098 enable_hal
1099 enable_hhctrl_ocx
1100 enable_hid
1101 enable_hidclass_sys
1102 enable_hlink
1103 enable_hnetcfg
1104 enable_httpapi
1105 enable_iccvid
1106 enable_icmp
1107 enable_ieframe
1108 enable_imaadp32_acm
1109 enable_imagehlp
1110 enable_imm32
1111 enable_inetcomm
1112 enable_inetcpl_cpl
1113 enable_inetmib1
1114 enable_infosoft
1115 enable_initpki
1116 enable_inkobj
1117 enable_inseng
1118 enable_iphlpapi
1119 enable_itircl
1120 enable_itss
1121 enable_joy_cpl
1122 enable_jscript
1123 enable_jsproxy
1124 enable_kernel32
1125 enable_ksuser
1126 enable_ktmw32
1127 enable_loadperf
1128 enable_localspl
1129 enable_localui
1130 enable_lz32
1131 enable_mapi32
1132 enable_mapistub
1133 enable_mciavi32
1134 enable_mcicda
1135 enable_mciqtz32
1136 enable_mciseq
1137 enable_mciwave
1138 enable_mf
1139 enable_mfplat
1140 enable_mfreadwrite
1141 enable_mgmtapi
1142 enable_midimap
1143 enable_mlang
1144 enable_mmcndmgr
1145 enable_mmdevapi
1146 enable_mountmgr_sys
1147 enable_mpr
1148 enable_mprapi
1149 enable_msacm32_drv
1150 enable_msacm32
1151 enable_msadp32_acm
1152 enable_msasn1
1153 enable_mscat32
1154 enable_mscms
1155 enable_mscoree
1156 enable_msctf
1157 enable_msctfp
1158 enable_msdaps
1159 enable_msdelta
1160 enable_msdmo
1161 enable_msftedit
1162 enable_msg711_acm
1163 enable_msgsm32_acm
1164 enable_mshtml_tlb
1165 enable_mshtml
1166 enable_msi
1167 enable_msident
1168 enable_msimg32
1169 enable_msimsg
1170 enable_msimtf
1171 enable_msisip
1172 enable_msisys_ocx
1173 enable_msls31
1174 enable_msnet32
1175 enable_mspatcha
1176 enable_msrle32
1177 enable_msscript_ocx
1178 enable_mssign32
1179 enable_mssip32
1180 enable_mstask
1181 enable_msvcirt
1182 enable_msvcm80
1183 enable_msvcm90
1184 enable_msvcp100
1185 enable_msvcp110
1186 enable_msvcp120
1187 enable_msvcp120_app
1188 enable_msvcp60
1189 enable_msvcp70
1190 enable_msvcp71
1191 enable_msvcp80
1192 enable_msvcp90
1193 enable_msvcr100
1194 enable_msvcr110
1195 enable_msvcr120
1196 enable_msvcr120_app
1197 enable_msvcr70
1198 enable_msvcr71
1199 enable_msvcr80
1200 enable_msvcr90
1201 enable_msvcrt
1202 enable_msvcrt20
1203 enable_msvcrt40
1204 enable_msvcrtd
1205 enable_msvfw32
1206 enable_msvidc32
1207 enable_mswsock
1208 enable_msxml
1209 enable_msxml2
1210 enable_msxml3
1211 enable_msxml4
1212 enable_msxml6
1213 enable_nddeapi
1214 enable_ndis_sys
1215 enable_netapi32
1216 enable_netcfgx
1217 enable_netprofm
1218 enable_newdev
1219 enable_normaliz
1220 enable_npmshtml
1221 enable_npptools
1222 enable_ntdll
1223 enable_ntdsapi
1224 enable_ntoskrnl_exe
1225 enable_ntprint
1226 enable_objsel
1227 enable_odbc32
1228 enable_odbccp32
1229 enable_odbccu32
1230 enable_ole32
1231 enable_oleacc
1232 enable_oleaut32
1233 enable_olecli32
1234 enable_oledb32
1235 enable_oledlg
1236 enable_olepro32
1237 enable_olesvr32
1238 enable_olethk32
1239 enable_openal32
1240 enable_opencl
1241 enable_opengl32
1242 enable_packager
1243 enable_pdh
1244 enable_photometadatahandler
1245 enable_pidgen
1246 enable_powrprof
1247 enable_printui
1248 enable_prntvpt
1249 enable_propsys
1250 enable_psapi
1251 enable_pstorec
1252 enable_qcap
1253 enable_qedit
1254 enable_qmgr
1255 enable_qmgrprxy
1256 enable_quartz
1257 enable_query
1258 enable_rasapi32
1259 enable_rasdlg
1260 enable_regapi
1261 enable_resutils
1262 enable_riched20
1263 enable_riched32
1264 enable_rpcrt4
1265 enable_rsabase
1266 enable_rsaenh
1267 enable_rstrtmgr
1268 enable_rtutils
1269 enable_samlib
1270 enable_sane_ds
1271 enable_scarddlg
1272 enable_sccbase
1273 enable_schannel
1274 enable_schedsvc
1275 enable_scrrun
1276 enable_scsiport_sys
1277 enable_secur32
1278 enable_security
1279 enable_sensapi
1280 enable_serialui
1281 enable_setupapi
1282 enable_sfc
1283 enable_sfc_os
1284 enable_shdoclc
1285 enable_shdocvw
1286 enable_shell32
1287 enable_shfolder
1288 enable_shlwapi
1289 enable_slbcsp
1290 enable_slc
1291 enable_snmpapi
1292 enable_softpub
1293 enable_spoolss
1294 enable_stdole2_tlb
1295 enable_stdole32_tlb
1296 enable_sti
1297 enable_svrapi
1298 enable_sxs
1299 enable_t2embed
1300 enable_tapi32
1301 enable_taskschd
1302 enable_traffic
1303 enable_twain_32
1304 enable_ucrtbase
1305 enable_unicows
1306 enable_updspapi
1307 enable_url
1308 enable_urlmon
1309 enable_usbd_sys
1310 enable_user32
1311 enable_userenv
1312 enable_usp10
1313 enable_uxtheme
1314 enable_vbscript
1315 enable_vcomp
1316 enable_vcomp100
1317 enable_vcomp110
1318 enable_vcomp90
1319 enable_vdmdbg
1320 enable_version
1321 enable_vssapi
1322 enable_wbemdisp
1323 enable_wbemprox
1324 enable_webservices
1325 enable_wer
1326 enable_wevtapi
1327 enable_wiaservc
1328 enable_windowscodecs
1329 enable_windowscodecsext
1330 enable_winealsa_drv
1331 enable_winecoreaudio_drv
1332 enable_wined3d
1333 enable_winegstreamer
1334 enable_winejoystick_drv
1335 enable_winemac_drv
1336 enable_winemapi
1337 enable_winemp3_acm
1338 enable_wineoss_drv
1339 enable_wineps_drv
1340 enable_wineqtdecoder
1341 enable_winex11_drv
1342 enable_wing32
1343 enable_winhttp
1344 enable_wininet
1345 enable_winmm
1346 enable_winnls32
1347 enable_winscard
1348 enable_winspool_drv
1349 enable_winsta
1350 enable_wintab32
1351 enable_wintrust
1352 enable_wlanapi
1353 enable_wldap32
1354 enable_wmi
1355 enable_wmiutils
1356 enable_wmp
1357 enable_wmvcore
1358 enable_wnaspi32
1359 enable_wpcap
1360 enable_ws2_32
1361 enable_wshom_ocx
1362 enable_wsnmp32
1363 enable_wsock32
1364 enable_wtsapi32
1365 enable_wuapi
1366 enable_wuaueng
1367 enable_x3daudio1_0
1368 enable_x3daudio1_1
1369 enable_x3daudio1_2
1370 enable_x3daudio1_3
1371 enable_x3daudio1_4
1372 enable_x3daudio1_5
1373 enable_x3daudio1_6
1374 enable_x3daudio1_7
1375 enable_xapofx1_1
1376 enable_xapofx1_2
1377 enable_xapofx1_3
1378 enable_xapofx1_4
1379 enable_xapofx1_5
1380 enable_xaudio2_0
1381 enable_xaudio2_1
1382 enable_xaudio2_2
1383 enable_xaudio2_3
1384 enable_xaudio2_4
1385 enable_xaudio2_5
1386 enable_xaudio2_6
1387 enable_xaudio2_7
1388 enable_xaudio2_8
1389 enable_xinput1_1
1390 enable_xinput1_2
1391 enable_xinput1_3
1392 enable_xinput1_4
1393 enable_xinput9_1_0
1394 enable_xmllite
1395 enable_xolehlp
1396 enable_xpsprint
1397 enable_xpssvcs
1398 enable_documentation
1399 enable_fonts
1400 enable_include
1401 enable_libs_port
1402 enable_libs_wine
1403 enable_libs_wpp
1404 enable_loader
1405 enable_arp
1406 enable_aspnet_regiis
1407 enable_attrib
1408 enable_cabarc
1409 enable_cacls
1410 enable_clock
1411 enable_cmd
1412 enable_conhost
1413 enable_control
1414 enable_cscript
1415 enable_dpnsvr
1416 enable_dxdiag
1417 enable_eject
1418 enable_expand
1419 enable_explorer
1420 enable_extrac32
1421 enable_findstr
1422 enable_hh
1423 enable_hostname
1424 enable_icinfo
1425 enable_iexplore
1426 enable_ipconfig
1427 enable_lodctr
1428 enable_mofcomp
1429 enable_mshta
1430 enable_msiexec
1431 enable_net
1432 enable_netsh
1433 enable_netstat
1434 enable_ngen
1435 enable_notepad
1436 enable_oleview
1437 enable_ping
1438 enable_plugplay
1439 enable_presentationfontcache
1440 enable_progman
1441 enable_reg
1442 enable_regasm
1443 enable_regedit
1444 enable_regsvcs
1445 enable_regsvr32
1446 enable_rpcss
1447 enable_rundll32
1448 enable_sc
1449 enable_schtasks
1450 enable_sdbinst
1451 enable_secedit
1452 enable_servicemodelreg
1453 enable_services
1454 enable_spoolsv
1455 enable_start
1456 enable_svchost
1457 enable_systeminfo
1458 enable_taskkill
1459 enable_tasklist
1460 enable_taskmgr
1461 enable_termsv
1462 enable_uninstaller
1463 enable_unlodctr
1464 enable_view
1465 enable_wevtutil
1466 enable_wineboot
1467 enable_winebrowser
1468 enable_winecfg
1469 enable_wineconsole
1470 enable_winedbg
1471 enable_winedevice
1472 enable_winefile
1473 enable_winemenubuilder
1474 enable_winemine
1475 enable_winemsibuilder
1476 enable_winepath
1477 enable_winetest
1478 enable_winhlp32
1479 enable_winver
1480 enable_wmic
1481 enable_wordpad
1482 enable_write
1483 enable_wscript
1484 enable_wusa
1485 enable_xcopy
1486 enable_server
1487 enable_tools
1489 ac_precious_vars='build_alias
1490 host_alias
1491 target_alias
1493 CFLAGS
1494 LDFLAGS
1495 LIBS
1496 CPPFLAGS
1498 CXXFLAGS
1501 XMKMF
1502 XML2_CFLAGS
1503 XML2_LIBS
1504 XSLT_CFLAGS
1505 XSLT_LIBS
1506 DBUS_CFLAGS
1507 DBUS_LIBS
1508 HAL_CFLAGS
1509 HAL_LIBS
1510 GNUTLS_CFLAGS
1511 GNUTLS_LIBS
1512 SANE_CFLAGS
1513 SANE_LIBS
1514 GPHOTO2_CFLAGS
1515 GPHOTO2_LIBS
1516 GPHOTO2_PORT_CFLAGS
1517 GPHOTO2_PORT_LIBS
1518 LCMS2_CFLAGS
1519 LCMS2_LIBS
1520 FREETYPE_CFLAGS
1521 FREETYPE_LIBS
1522 GSTREAMER_CFLAGS
1523 GSTREAMER_LIBS
1524 CAPI20_CFLAGS
1525 CAPI20_LIBS
1526 FONTCONFIG_CFLAGS
1527 FONTCONFIG_LIBS
1528 JPEG_CFLAGS
1529 JPEG_LIBS
1530 PNG_CFLAGS
1531 PNG_LIBS
1532 TIFF_CFLAGS
1533 TIFF_LIBS
1534 MPG123_CFLAGS
1535 MPG123_LIBS'
1538 # Initialize some variables set by options.
1539 ac_init_help=
1540 ac_init_version=false
1541 ac_unrecognized_opts=
1542 ac_unrecognized_sep=
1543 # The variables have the same names as the options, with
1544 # dashes changed to underlines.
1545 cache_file=/dev/null
1546 exec_prefix=NONE
1547 no_create=
1548 no_recursion=
1549 prefix=NONE
1550 program_prefix=NONE
1551 program_suffix=NONE
1552 program_transform_name=s,x,x,
1553 silent=
1554 site=
1555 srcdir=
1556 verbose=
1557 x_includes=NONE
1558 x_libraries=NONE
1560 # Installation directory options.
1561 # These are left unexpanded so users can "make install exec_prefix=/foo"
1562 # and all the variables that are supposed to be based on exec_prefix
1563 # by default will actually change.
1564 # Use braces instead of parens because sh, perl, etc. also accept them.
1565 # (The list follows the same order as the GNU Coding Standards.)
1566 bindir='${exec_prefix}/bin'
1567 sbindir='${exec_prefix}/sbin'
1568 libexecdir='${exec_prefix}/libexec'
1569 datarootdir='${prefix}/share'
1570 datadir='${datarootdir}'
1571 sysconfdir='${prefix}/etc'
1572 sharedstatedir='${prefix}/com'
1573 localstatedir='${prefix}/var'
1574 runstatedir='${localstatedir}/run'
1575 includedir='${prefix}/include'
1576 oldincludedir='/usr/include'
1577 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1578 infodir='${datarootdir}/info'
1579 htmldir='${docdir}'
1580 dvidir='${docdir}'
1581 pdfdir='${docdir}'
1582 psdir='${docdir}'
1583 libdir='${exec_prefix}/lib'
1584 localedir='${datarootdir}/locale'
1585 mandir='${datarootdir}/man'
1587 ac_prev=
1588 ac_dashdash=
1589 for ac_option
1591 # If the previous option needs an argument, assign it.
1592 if test -n "$ac_prev"; then
1593 eval $ac_prev=\$ac_option
1594 ac_prev=
1595 continue
1598 case $ac_option in
1599 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1600 *=) ac_optarg= ;;
1601 *) ac_optarg=yes ;;
1602 esac
1604 # Accept the important Cygnus configure options, so we can diagnose typos.
1606 case $ac_dashdash$ac_option in
1608 ac_dashdash=yes ;;
1610 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1611 ac_prev=bindir ;;
1612 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1613 bindir=$ac_optarg ;;
1615 -build | --build | --buil | --bui | --bu)
1616 ac_prev=build_alias ;;
1617 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1618 build_alias=$ac_optarg ;;
1620 -cache-file | --cache-file | --cache-fil | --cache-fi \
1621 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1622 ac_prev=cache_file ;;
1623 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1624 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1625 cache_file=$ac_optarg ;;
1627 --config-cache | -C)
1628 cache_file=config.cache ;;
1630 -datadir | --datadir | --datadi | --datad)
1631 ac_prev=datadir ;;
1632 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1633 datadir=$ac_optarg ;;
1635 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1636 | --dataroo | --dataro | --datar)
1637 ac_prev=datarootdir ;;
1638 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1639 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1640 datarootdir=$ac_optarg ;;
1642 -disable-* | --disable-*)
1643 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1644 # Reject names that are not valid shell variable names.
1645 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1646 as_fn_error $? "invalid feature name: $ac_useropt"
1647 ac_useropt_orig=$ac_useropt
1648 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1649 case $ac_user_opts in
1651 "enable_$ac_useropt"
1652 "*) ;;
1653 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1654 ac_unrecognized_sep=', ';;
1655 esac
1656 eval enable_$ac_useropt=no ;;
1658 -docdir | --docdir | --docdi | --doc | --do)
1659 ac_prev=docdir ;;
1660 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1661 docdir=$ac_optarg ;;
1663 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1664 ac_prev=dvidir ;;
1665 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1666 dvidir=$ac_optarg ;;
1668 -enable-* | --enable-*)
1669 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1670 # Reject names that are not valid shell variable names.
1671 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1672 as_fn_error $? "invalid feature name: $ac_useropt"
1673 ac_useropt_orig=$ac_useropt
1674 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1675 case $ac_user_opts in
1677 "enable_$ac_useropt"
1678 "*) ;;
1679 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1680 ac_unrecognized_sep=', ';;
1681 esac
1682 eval enable_$ac_useropt=\$ac_optarg ;;
1684 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1685 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1686 | --exec | --exe | --ex)
1687 ac_prev=exec_prefix ;;
1688 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1689 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1690 | --exec=* | --exe=* | --ex=*)
1691 exec_prefix=$ac_optarg ;;
1693 -gas | --gas | --ga | --g)
1694 # Obsolete; use --with-gas.
1695 with_gas=yes ;;
1697 -help | --help | --hel | --he | -h)
1698 ac_init_help=long ;;
1699 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1700 ac_init_help=recursive ;;
1701 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1702 ac_init_help=short ;;
1704 -host | --host | --hos | --ho)
1705 ac_prev=host_alias ;;
1706 -host=* | --host=* | --hos=* | --ho=*)
1707 host_alias=$ac_optarg ;;
1709 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1710 ac_prev=htmldir ;;
1711 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1712 | --ht=*)
1713 htmldir=$ac_optarg ;;
1715 -includedir | --includedir | --includedi | --included | --include \
1716 | --includ | --inclu | --incl | --inc)
1717 ac_prev=includedir ;;
1718 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1719 | --includ=* | --inclu=* | --incl=* | --inc=*)
1720 includedir=$ac_optarg ;;
1722 -infodir | --infodir | --infodi | --infod | --info | --inf)
1723 ac_prev=infodir ;;
1724 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1725 infodir=$ac_optarg ;;
1727 -libdir | --libdir | --libdi | --libd)
1728 ac_prev=libdir ;;
1729 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1730 libdir=$ac_optarg ;;
1732 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1733 | --libexe | --libex | --libe)
1734 ac_prev=libexecdir ;;
1735 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1736 | --libexe=* | --libex=* | --libe=*)
1737 libexecdir=$ac_optarg ;;
1739 -localedir | --localedir | --localedi | --localed | --locale)
1740 ac_prev=localedir ;;
1741 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1742 localedir=$ac_optarg ;;
1744 -localstatedir | --localstatedir | --localstatedi | --localstated \
1745 | --localstate | --localstat | --localsta | --localst | --locals)
1746 ac_prev=localstatedir ;;
1747 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1748 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1749 localstatedir=$ac_optarg ;;
1751 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1752 ac_prev=mandir ;;
1753 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1754 mandir=$ac_optarg ;;
1756 -nfp | --nfp | --nf)
1757 # Obsolete; use --without-fp.
1758 with_fp=no ;;
1760 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1761 | --no-cr | --no-c | -n)
1762 no_create=yes ;;
1764 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1765 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1766 no_recursion=yes ;;
1768 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1769 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1770 | --oldin | --oldi | --old | --ol | --o)
1771 ac_prev=oldincludedir ;;
1772 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1773 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1774 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1775 oldincludedir=$ac_optarg ;;
1777 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1778 ac_prev=prefix ;;
1779 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1780 prefix=$ac_optarg ;;
1782 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1783 | --program-pre | --program-pr | --program-p)
1784 ac_prev=program_prefix ;;
1785 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1786 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1787 program_prefix=$ac_optarg ;;
1789 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1790 | --program-suf | --program-su | --program-s)
1791 ac_prev=program_suffix ;;
1792 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1793 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1794 program_suffix=$ac_optarg ;;
1796 -program-transform-name | --program-transform-name \
1797 | --program-transform-nam | --program-transform-na \
1798 | --program-transform-n | --program-transform- \
1799 | --program-transform | --program-transfor \
1800 | --program-transfo | --program-transf \
1801 | --program-trans | --program-tran \
1802 | --progr-tra | --program-tr | --program-t)
1803 ac_prev=program_transform_name ;;
1804 -program-transform-name=* | --program-transform-name=* \
1805 | --program-transform-nam=* | --program-transform-na=* \
1806 | --program-transform-n=* | --program-transform-=* \
1807 | --program-transform=* | --program-transfor=* \
1808 | --program-transfo=* | --program-transf=* \
1809 | --program-trans=* | --program-tran=* \
1810 | --progr-tra=* | --program-tr=* | --program-t=*)
1811 program_transform_name=$ac_optarg ;;
1813 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1814 ac_prev=pdfdir ;;
1815 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1816 pdfdir=$ac_optarg ;;
1818 -psdir | --psdir | --psdi | --psd | --ps)
1819 ac_prev=psdir ;;
1820 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1821 psdir=$ac_optarg ;;
1823 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1824 | -silent | --silent | --silen | --sile | --sil)
1825 silent=yes ;;
1827 -runstatedir | --runstatedir | --runstatedi | --runstated \
1828 | --runstate | --runstat | --runsta | --runst | --runs \
1829 | --run | --ru | --r)
1830 ac_prev=runstatedir ;;
1831 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1832 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1833 | --run=* | --ru=* | --r=*)
1834 runstatedir=$ac_optarg ;;
1836 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1837 ac_prev=sbindir ;;
1838 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1839 | --sbi=* | --sb=*)
1840 sbindir=$ac_optarg ;;
1842 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1843 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1844 | --sharedst | --shareds | --shared | --share | --shar \
1845 | --sha | --sh)
1846 ac_prev=sharedstatedir ;;
1847 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1848 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1849 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1850 | --sha=* | --sh=*)
1851 sharedstatedir=$ac_optarg ;;
1853 -site | --site | --sit)
1854 ac_prev=site ;;
1855 -site=* | --site=* | --sit=*)
1856 site=$ac_optarg ;;
1858 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1859 ac_prev=srcdir ;;
1860 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1861 srcdir=$ac_optarg ;;
1863 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1864 | --syscon | --sysco | --sysc | --sys | --sy)
1865 ac_prev=sysconfdir ;;
1866 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1867 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1868 sysconfdir=$ac_optarg ;;
1870 -target | --target | --targe | --targ | --tar | --ta | --t)
1871 ac_prev=target_alias ;;
1872 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1873 target_alias=$ac_optarg ;;
1875 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1876 verbose=yes ;;
1878 -version | --version | --versio | --versi | --vers | -V)
1879 ac_init_version=: ;;
1881 -with-* | --with-*)
1882 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1883 # Reject names that are not valid shell variable names.
1884 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1885 as_fn_error $? "invalid package name: $ac_useropt"
1886 ac_useropt_orig=$ac_useropt
1887 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1888 case $ac_user_opts in
1890 "with_$ac_useropt"
1891 "*) ;;
1892 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1893 ac_unrecognized_sep=', ';;
1894 esac
1895 eval with_$ac_useropt=\$ac_optarg ;;
1897 -without-* | --without-*)
1898 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1899 # Reject names that are not valid shell variable names.
1900 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1901 as_fn_error $? "invalid package name: $ac_useropt"
1902 ac_useropt_orig=$ac_useropt
1903 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1904 case $ac_user_opts in
1906 "with_$ac_useropt"
1907 "*) ;;
1908 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1909 ac_unrecognized_sep=', ';;
1910 esac
1911 eval with_$ac_useropt=no ;;
1913 --x)
1914 # Obsolete; use --with-x.
1915 with_x=yes ;;
1917 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1918 | --x-incl | --x-inc | --x-in | --x-i)
1919 ac_prev=x_includes ;;
1920 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1921 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1922 x_includes=$ac_optarg ;;
1924 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1925 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1926 ac_prev=x_libraries ;;
1927 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1928 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1929 x_libraries=$ac_optarg ;;
1931 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1932 Try \`$0 --help' for more information"
1935 *=*)
1936 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1937 # Reject names that are not valid shell variable names.
1938 case $ac_envvar in #(
1939 '' | [0-9]* | *[!_$as_cr_alnum]* )
1940 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1941 esac
1942 eval $ac_envvar=\$ac_optarg
1943 export $ac_envvar ;;
1946 # FIXME: should be removed in autoconf 3.0.
1947 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1948 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1949 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1950 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1953 esac
1954 done
1956 if test -n "$ac_prev"; then
1957 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1958 as_fn_error $? "missing argument to $ac_option"
1961 if test -n "$ac_unrecognized_opts"; then
1962 case $enable_option_checking in
1963 no) ;;
1964 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1965 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1966 esac
1969 # Check all directory arguments for consistency.
1970 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1971 datadir sysconfdir sharedstatedir localstatedir includedir \
1972 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1973 libdir localedir mandir runstatedir
1975 eval ac_val=\$$ac_var
1976 # Remove trailing slashes.
1977 case $ac_val in
1978 */ )
1979 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1980 eval $ac_var=\$ac_val;;
1981 esac
1982 # Be sure to have absolute directory names.
1983 case $ac_val in
1984 [\\/$]* | ?:[\\/]* ) continue;;
1985 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1986 esac
1987 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1988 done
1990 # There might be people who depend on the old broken behavior: `$host'
1991 # used to hold the argument of --host etc.
1992 # FIXME: To remove some day.
1993 build=$build_alias
1994 host=$host_alias
1995 target=$target_alias
1997 # FIXME: To remove some day.
1998 if test "x$host_alias" != x; then
1999 if test "x$build_alias" = x; then
2000 cross_compiling=maybe
2001 elif test "x$build_alias" != "x$host_alias"; then
2002 cross_compiling=yes
2006 ac_tool_prefix=
2007 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2009 test "$silent" = yes && exec 6>/dev/null
2012 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2013 ac_ls_di=`ls -di .` &&
2014 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2015 as_fn_error $? "working directory cannot be determined"
2016 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2017 as_fn_error $? "pwd does not report name of working directory"
2020 # Find the source files, if location was not specified.
2021 if test -z "$srcdir"; then
2022 ac_srcdir_defaulted=yes
2023 # Try the directory containing this script, then the parent directory.
2024 ac_confdir=`$as_dirname -- "$as_myself" ||
2025 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2026 X"$as_myself" : 'X\(//\)[^/]' \| \
2027 X"$as_myself" : 'X\(//\)$' \| \
2028 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2029 $as_echo X"$as_myself" |
2030 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2031 s//\1/
2034 /^X\(\/\/\)[^/].*/{
2035 s//\1/
2038 /^X\(\/\/\)$/{
2039 s//\1/
2042 /^X\(\/\).*/{
2043 s//\1/
2046 s/.*/./; q'`
2047 srcdir=$ac_confdir
2048 if test ! -r "$srcdir/$ac_unique_file"; then
2049 srcdir=..
2051 else
2052 ac_srcdir_defaulted=no
2054 if test ! -r "$srcdir/$ac_unique_file"; then
2055 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2056 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2058 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2059 ac_abs_confdir=`(
2060 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2061 pwd)`
2062 # When building in place, set srcdir=.
2063 if test "$ac_abs_confdir" = "$ac_pwd"; then
2064 srcdir=.
2066 # Remove unnecessary trailing slashes from srcdir.
2067 # Double slashes in file names in object file debugging info
2068 # mess up M-x gdb in Emacs.
2069 case $srcdir in
2070 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2071 esac
2072 for ac_var in $ac_precious_vars; do
2073 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2074 eval ac_env_${ac_var}_value=\$${ac_var}
2075 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2076 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2077 done
2080 # Report the --help message.
2082 if test "$ac_init_help" = "long"; then
2083 # Omit some internal or obsolete options to make the list less imposing.
2084 # This message is too long to be a string in the A/UX 3.1 sh.
2085 cat <<_ACEOF
2086 \`configure' configures Wine 1.7.52 to adapt to many kinds of systems.
2088 Usage: $0 [OPTION]... [VAR=VALUE]...
2090 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2091 VAR=VALUE. See below for descriptions of some of the useful variables.
2093 Defaults for the options are specified in brackets.
2095 Configuration:
2096 -h, --help display this help and exit
2097 --help=short display options specific to this package
2098 --help=recursive display the short help of all the included packages
2099 -V, --version display version information and exit
2100 -q, --quiet, --silent do not print \`checking ...' messages
2101 --cache-file=FILE cache test results in FILE [disabled]
2102 -C, --config-cache alias for \`--cache-file=config.cache'
2103 -n, --no-create do not create output files
2104 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2106 Installation directories:
2107 --prefix=PREFIX install architecture-independent files in PREFIX
2108 [$ac_default_prefix]
2109 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2110 [PREFIX]
2112 By default, \`make install' will install all the files in
2113 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2114 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2115 for instance \`--prefix=\$HOME'.
2117 For better control, use the options below.
2119 Fine tuning of the installation directories:
2120 --bindir=DIR user executables [EPREFIX/bin]
2121 --sbindir=DIR system admin executables [EPREFIX/sbin]
2122 --libexecdir=DIR program executables [EPREFIX/libexec]
2123 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2124 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2125 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2126 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2127 --libdir=DIR object code libraries [EPREFIX/lib]
2128 --includedir=DIR C header files [PREFIX/include]
2129 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2130 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2131 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2132 --infodir=DIR info documentation [DATAROOTDIR/info]
2133 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2134 --mandir=DIR man documentation [DATAROOTDIR/man]
2135 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2136 --htmldir=DIR html documentation [DOCDIR]
2137 --dvidir=DIR dvi documentation [DOCDIR]
2138 --pdfdir=DIR pdf documentation [DOCDIR]
2139 --psdir=DIR ps documentation [DOCDIR]
2140 _ACEOF
2142 cat <<\_ACEOF
2144 X features:
2145 --x-includes=DIR X include files are in DIR
2146 --x-libraries=DIR X library files are in DIR
2148 System types:
2149 --build=BUILD configure for building on BUILD [guessed]
2150 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2151 _ACEOF
2154 if test -n "$ac_init_help"; then
2155 case $ac_init_help in
2156 short | recursive ) echo "Configuration of Wine 1.7.52:";;
2157 esac
2158 cat <<\_ACEOF
2160 Optional Features:
2161 --disable-option-checking ignore unrecognized --enable/--with options
2162 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2163 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2164 --disable-win16 do not include Win16 support
2165 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2166 binaries)
2167 --disable-tests do not build the regression tests
2168 --enable-maintainer-mode
2169 enable maintainer-specific build rules
2170 --disable-largefile omit support for large files
2172 Optional Packages:
2173 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2174 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2175 --without-alsa do not use the Alsa sound support
2176 --without-capi do not use CAPI (ISDN support)
2177 --without-cms do not use CMS (color management support)
2178 --without-coreaudio do not use the CoreAudio sound support
2179 --without-cups do not use CUPS
2180 --without-curses do not use (n)curses
2181 --without-dbus do not use DBus (dynamic device support)
2182 --without-fontconfig do not use fontconfig
2183 --without-freetype do not use the FreeType library
2184 --without-gettext do not use gettext
2185 --with-gettextpo use the GetTextPO library to rebuild po files
2186 --without-gphoto do not use gphoto (Digital Camera support)
2187 --without-glu do not use the GLU library
2188 --without-gnutls do not use GnuTLS (schannel support)
2189 --without-gsm do not use libgsm (GSM 06.10 codec support)
2190 --without-gstreamer do not use GStreamer (codecs support)
2191 --without-hal do not use HAL (dynamic device support)
2192 --without-jpeg do not use JPEG
2193 --without-ldap do not use LDAP
2194 --without-mpg123 do not use the mpg123 library
2195 --without-netapi do not use the Samba NetAPI library
2196 --without-openal do not use OpenAL
2197 --without-opencl do not use OpenCL
2198 --without-opengl do not use OpenGL
2199 --without-osmesa do not use the OSMesa library
2200 --without-oss do not use the OSS sound support
2201 --without-pcap do not use the Packet Capture library
2202 --without-png do not use PNG
2203 --without-pthread do not use the pthread library
2204 --without-sane do not use SANE (scanner support)
2205 --without-tiff do not use TIFF
2206 --without-v4l do not use v4l1 (v4l support)
2207 --without-xcomposite do not use the Xcomposite extension
2208 --without-xcursor do not use the Xcursor extension
2209 --without-xinerama do not use Xinerama (multi-monitor support)
2210 --without-xinput do not use the Xinput extension
2211 --without-xinput2 do not use the Xinput 2 extension
2212 --without-xml do not use XML
2213 --without-xrandr do not use Xrandr (resolution changes)
2214 --without-xrender do not use the Xrender extension
2215 --without-xshape do not use the Xshape extension
2216 --without-xshm do not use XShm (shared memory extension)
2217 --without-xslt do not use XSLT
2218 --without-xxf86vm do not use XFree video mode extension
2219 --without-zlib do not use Zlib (data compression)
2220 --with-wine-tools=DIR use Wine tools from directory DIR
2221 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2222 --with-x use the X Window System
2224 Some influential environment variables:
2225 CC C compiler command
2226 CFLAGS C compiler flags
2227 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2228 nonstandard directory <lib dir>
2229 LIBS libraries to pass to the linker, e.g. -l<library>
2230 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2231 you have headers in a nonstandard directory <include dir>
2232 CXX C++ compiler command
2233 CXXFLAGS C++ compiler flags
2234 CPP C preprocessor
2235 XMKMF Path to xmkmf, Makefile generator for X Window System
2236 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2237 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2238 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2239 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2240 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2241 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2242 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2243 HAL_LIBS Linker flags for hal, overriding pkg-config
2244 GNUTLS_CFLAGS
2245 C compiler flags for gnutls, overriding pkg-config
2246 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2247 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2248 SANE_LIBS Linker flags for libsane, overriding pkg-config
2249 GPHOTO2_CFLAGS
2250 C compiler flags for libgphoto2, overriding pkg-config
2251 GPHOTO2_LIBS
2252 Linker flags for libgphoto2, overriding pkg-config
2253 GPHOTO2_PORT_CFLAGS
2254 C compiler flags for libgphoto2_port, overriding pkg-config
2255 GPHOTO2_PORT_LIBS
2256 Linker flags for libgphoto2_port, overriding pkg-config
2257 LCMS2_CFLAGS
2258 C compiler flags for lcms2, overriding pkg-config
2259 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2260 FREETYPE_CFLAGS
2261 C compiler flags for freetype2, overriding pkg-config
2262 FREETYPE_LIBS
2263 Linker flags for freetype2, overriding pkg-config
2264 GSTREAMER_CFLAGS
2265 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2266 GSTREAMER_LIBS
2267 Linker flags for gstreamer-app-0.10, overriding pkg-config
2268 CAPI20_CFLAGS
2269 C compiler flags for capi20, overriding pkg-config
2270 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2271 FONTCONFIG_CFLAGS
2272 C compiler flags for fontconfig, overriding pkg-config
2273 FONTCONFIG_LIBS
2274 Linker flags for fontconfig, overriding pkg-config
2275 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2276 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2277 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2278 PNG_LIBS Linker flags for libpng, overriding pkg-config
2279 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2280 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2281 MPG123_CFLAGS
2282 C compiler flags for libmpg123, overriding pkg-config
2283 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2285 Use these variables to override the choices made by `configure' or to help
2286 it to find libraries and programs with nonstandard names/locations.
2288 Report bugs to <wine-devel@winehq.org>.
2289 Wine home page: <http://www.winehq.org>.
2290 _ACEOF
2291 ac_status=$?
2294 if test "$ac_init_help" = "recursive"; then
2295 # If there are subdirs, report their specific --help.
2296 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2297 test -d "$ac_dir" ||
2298 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2299 continue
2300 ac_builddir=.
2302 case "$ac_dir" in
2303 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2305 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2306 # A ".." for each directory in $ac_dir_suffix.
2307 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2308 case $ac_top_builddir_sub in
2309 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2310 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2311 esac ;;
2312 esac
2313 ac_abs_top_builddir=$ac_pwd
2314 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2315 # for backward compatibility:
2316 ac_top_builddir=$ac_top_build_prefix
2318 case $srcdir in
2319 .) # We are building in place.
2320 ac_srcdir=.
2321 ac_top_srcdir=$ac_top_builddir_sub
2322 ac_abs_top_srcdir=$ac_pwd ;;
2323 [\\/]* | ?:[\\/]* ) # Absolute name.
2324 ac_srcdir=$srcdir$ac_dir_suffix;
2325 ac_top_srcdir=$srcdir
2326 ac_abs_top_srcdir=$srcdir ;;
2327 *) # Relative name.
2328 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2329 ac_top_srcdir=$ac_top_build_prefix$srcdir
2330 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2331 esac
2332 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2334 cd "$ac_dir" || { ac_status=$?; continue; }
2335 # Check for guested configure.
2336 if test -f "$ac_srcdir/configure.gnu"; then
2337 echo &&
2338 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2339 elif test -f "$ac_srcdir/configure"; then
2340 echo &&
2341 $SHELL "$ac_srcdir/configure" --help=recursive
2342 else
2343 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2344 fi || ac_status=$?
2345 cd "$ac_pwd" || { ac_status=$?; break; }
2346 done
2349 test -n "$ac_init_help" && exit $ac_status
2350 if $ac_init_version; then
2351 cat <<\_ACEOF
2352 Wine configure 1.7.52
2353 generated by GNU Autoconf 2.69
2355 Copyright (C) 2012 Free Software Foundation, Inc.
2356 This configure script is free software; the Free Software Foundation
2357 gives unlimited permission to copy, distribute and modify it.
2358 _ACEOF
2359 exit
2362 ## ------------------------ ##
2363 ## Autoconf initialization. ##
2364 ## ------------------------ ##
2366 # ac_fn_c_try_compile LINENO
2367 # --------------------------
2368 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2369 ac_fn_c_try_compile ()
2371 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2372 rm -f conftest.$ac_objext
2373 if { { ac_try="$ac_compile"
2374 case "(($ac_try" in
2375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2376 *) ac_try_echo=$ac_try;;
2377 esac
2378 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2379 $as_echo "$ac_try_echo"; } >&5
2380 (eval "$ac_compile") 2>conftest.err
2381 ac_status=$?
2382 if test -s conftest.err; then
2383 grep -v '^ *+' conftest.err >conftest.er1
2384 cat conftest.er1 >&5
2385 mv -f conftest.er1 conftest.err
2387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2388 test $ac_status = 0; } && {
2389 test -z "$ac_c_werror_flag" ||
2390 test ! -s conftest.err
2391 } && test -s conftest.$ac_objext; then :
2392 ac_retval=0
2393 else
2394 $as_echo "$as_me: failed program was:" >&5
2395 sed 's/^/| /' conftest.$ac_ext >&5
2397 ac_retval=1
2399 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2400 as_fn_set_status $ac_retval
2402 } # ac_fn_c_try_compile
2404 # ac_fn_cxx_try_compile LINENO
2405 # ----------------------------
2406 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2407 ac_fn_cxx_try_compile ()
2409 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2410 rm -f conftest.$ac_objext
2411 if { { ac_try="$ac_compile"
2412 case "(($ac_try" in
2413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2414 *) ac_try_echo=$ac_try;;
2415 esac
2416 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2417 $as_echo "$ac_try_echo"; } >&5
2418 (eval "$ac_compile") 2>conftest.err
2419 ac_status=$?
2420 if test -s conftest.err; then
2421 grep -v '^ *+' conftest.err >conftest.er1
2422 cat conftest.er1 >&5
2423 mv -f conftest.er1 conftest.err
2425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2426 test $ac_status = 0; } && {
2427 test -z "$ac_cxx_werror_flag" ||
2428 test ! -s conftest.err
2429 } && test -s conftest.$ac_objext; then :
2430 ac_retval=0
2431 else
2432 $as_echo "$as_me: failed program was:" >&5
2433 sed 's/^/| /' conftest.$ac_ext >&5
2435 ac_retval=1
2437 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2438 as_fn_set_status $ac_retval
2440 } # ac_fn_cxx_try_compile
2442 # ac_fn_c_try_link LINENO
2443 # -----------------------
2444 # Try to link conftest.$ac_ext, and return whether this succeeded.
2445 ac_fn_c_try_link ()
2447 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2448 rm -f conftest.$ac_objext conftest$ac_exeext
2449 if { { ac_try="$ac_link"
2450 case "(($ac_try" in
2451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2452 *) ac_try_echo=$ac_try;;
2453 esac
2454 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2455 $as_echo "$ac_try_echo"; } >&5
2456 (eval "$ac_link") 2>conftest.err
2457 ac_status=$?
2458 if test -s conftest.err; then
2459 grep -v '^ *+' conftest.err >conftest.er1
2460 cat conftest.er1 >&5
2461 mv -f conftest.er1 conftest.err
2463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2464 test $ac_status = 0; } && {
2465 test -z "$ac_c_werror_flag" ||
2466 test ! -s conftest.err
2467 } && test -s conftest$ac_exeext && {
2468 test "$cross_compiling" = yes ||
2469 test -x conftest$ac_exeext
2470 }; then :
2471 ac_retval=0
2472 else
2473 $as_echo "$as_me: failed program was:" >&5
2474 sed 's/^/| /' conftest.$ac_ext >&5
2476 ac_retval=1
2478 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2479 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2480 # interfere with the next link command; also delete a directory that is
2481 # left behind by Apple's compiler. We do this before executing the actions.
2482 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2483 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2484 as_fn_set_status $ac_retval
2486 } # ac_fn_c_try_link
2488 # ac_fn_c_try_cpp LINENO
2489 # ----------------------
2490 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2491 ac_fn_c_try_cpp ()
2493 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2494 if { { ac_try="$ac_cpp conftest.$ac_ext"
2495 case "(($ac_try" in
2496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2497 *) ac_try_echo=$ac_try;;
2498 esac
2499 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2500 $as_echo "$ac_try_echo"; } >&5
2501 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2502 ac_status=$?
2503 if test -s conftest.err; then
2504 grep -v '^ *+' conftest.err >conftest.er1
2505 cat conftest.er1 >&5
2506 mv -f conftest.er1 conftest.err
2508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2509 test $ac_status = 0; } > conftest.i && {
2510 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2511 test ! -s conftest.err
2512 }; then :
2513 ac_retval=0
2514 else
2515 $as_echo "$as_me: failed program was:" >&5
2516 sed 's/^/| /' conftest.$ac_ext >&5
2518 ac_retval=1
2520 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2521 as_fn_set_status $ac_retval
2523 } # ac_fn_c_try_cpp
2525 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2526 # -------------------------------------------------------
2527 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2528 # the include files in INCLUDES and setting the cache variable VAR
2529 # accordingly.
2530 ac_fn_c_check_header_mongrel ()
2532 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2533 if eval \${$3+:} false; then :
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2535 $as_echo_n "checking for $2... " >&6; }
2536 if eval \${$3+:} false; then :
2537 $as_echo_n "(cached) " >&6
2539 eval ac_res=\$$3
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2541 $as_echo "$ac_res" >&6; }
2542 else
2543 # Is the header compilable?
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2545 $as_echo_n "checking $2 usability... " >&6; }
2546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2547 /* end confdefs.h. */
2549 #include <$2>
2550 _ACEOF
2551 if ac_fn_c_try_compile "$LINENO"; then :
2552 ac_header_compiler=yes
2553 else
2554 ac_header_compiler=no
2556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2558 $as_echo "$ac_header_compiler" >&6; }
2560 # Is the header present?
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2562 $as_echo_n "checking $2 presence... " >&6; }
2563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2564 /* end confdefs.h. */
2565 #include <$2>
2566 _ACEOF
2567 if ac_fn_c_try_cpp "$LINENO"; then :
2568 ac_header_preproc=yes
2569 else
2570 ac_header_preproc=no
2572 rm -f conftest.err conftest.i conftest.$ac_ext
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2574 $as_echo "$ac_header_preproc" >&6; }
2576 # So? What about this header?
2577 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2578 yes:no: )
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2580 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2582 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2584 no:yes:* )
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2586 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2588 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2590 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2592 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2594 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2595 ( $as_echo "## ------------------------------------ ##
2596 ## Report this to wine-devel@winehq.org ##
2597 ## ------------------------------------ ##"
2598 ) | sed "s/^/$as_me: WARNING: /" >&2
2600 esac
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2602 $as_echo_n "checking for $2... " >&6; }
2603 if eval \${$3+:} false; then :
2604 $as_echo_n "(cached) " >&6
2605 else
2606 eval "$3=\$ac_header_compiler"
2608 eval ac_res=\$$3
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2610 $as_echo "$ac_res" >&6; }
2612 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2614 } # ac_fn_c_check_header_mongrel
2616 # ac_fn_c_try_run LINENO
2617 # ----------------------
2618 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2619 # that executables *can* be run.
2620 ac_fn_c_try_run ()
2622 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2623 if { { ac_try="$ac_link"
2624 case "(($ac_try" in
2625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2626 *) ac_try_echo=$ac_try;;
2627 esac
2628 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2629 $as_echo "$ac_try_echo"; } >&5
2630 (eval "$ac_link") 2>&5
2631 ac_status=$?
2632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2633 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2634 { { case "(($ac_try" in
2635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2636 *) ac_try_echo=$ac_try;;
2637 esac
2638 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2639 $as_echo "$ac_try_echo"; } >&5
2640 (eval "$ac_try") 2>&5
2641 ac_status=$?
2642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2643 test $ac_status = 0; }; }; then :
2644 ac_retval=0
2645 else
2646 $as_echo "$as_me: program exited with status $ac_status" >&5
2647 $as_echo "$as_me: failed program was:" >&5
2648 sed 's/^/| /' conftest.$ac_ext >&5
2650 ac_retval=$ac_status
2652 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2653 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2654 as_fn_set_status $ac_retval
2656 } # ac_fn_c_try_run
2658 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2659 # -------------------------------------------------------
2660 # Tests whether HEADER exists and can be compiled using the include files in
2661 # INCLUDES, setting the cache variable VAR accordingly.
2662 ac_fn_c_check_header_compile ()
2664 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2666 $as_echo_n "checking for $2... " >&6; }
2667 if eval \${$3+:} false; then :
2668 $as_echo_n "(cached) " >&6
2669 else
2670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2671 /* end confdefs.h. */
2673 #include <$2>
2674 _ACEOF
2675 if ac_fn_c_try_compile "$LINENO"; then :
2676 eval "$3=yes"
2677 else
2678 eval "$3=no"
2680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2682 eval ac_res=\$$3
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2684 $as_echo "$ac_res" >&6; }
2685 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2687 } # ac_fn_c_check_header_compile
2689 # ac_fn_c_check_func LINENO FUNC VAR
2690 # ----------------------------------
2691 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2692 ac_fn_c_check_func ()
2694 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2696 $as_echo_n "checking for $2... " >&6; }
2697 if eval \${$3+:} false; then :
2698 $as_echo_n "(cached) " >&6
2699 else
2700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2701 /* end confdefs.h. */
2702 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2704 #define $2 innocuous_$2
2706 /* System header to define __stub macros and hopefully few prototypes,
2707 which can conflict with char $2 (); below.
2708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2709 <limits.h> exists even on freestanding compilers. */
2711 #ifdef __STDC__
2712 # include <limits.h>
2713 #else
2714 # include <assert.h>
2715 #endif
2717 #undef $2
2719 /* Override any GCC internal prototype to avoid an error.
2720 Use char because int might match the return type of a GCC
2721 builtin and then its argument prototype would still apply. */
2722 #ifdef __cplusplus
2723 extern "C"
2724 #endif
2725 char $2 ();
2726 /* The GNU C library defines this for functions which it implements
2727 to always fail with ENOSYS. Some functions are actually named
2728 something starting with __ and the normal name is an alias. */
2729 #if defined __stub_$2 || defined __stub___$2
2730 choke me
2731 #endif
2734 main ()
2736 return $2 ();
2738 return 0;
2740 _ACEOF
2741 if ac_fn_c_try_link "$LINENO"; then :
2742 eval "$3=yes"
2743 else
2744 eval "$3=no"
2746 rm -f core conftest.err conftest.$ac_objext \
2747 conftest$ac_exeext conftest.$ac_ext
2749 eval ac_res=\$$3
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2751 $as_echo "$ac_res" >&6; }
2752 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2754 } # ac_fn_c_check_func
2756 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2757 # ----------------------------------------------------
2758 # Tries to find if the field MEMBER exists in type AGGR, after including
2759 # INCLUDES, setting cache variable VAR accordingly.
2760 ac_fn_c_check_member ()
2762 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2764 $as_echo_n "checking for $2.$3... " >&6; }
2765 if eval \${$4+:} false; then :
2766 $as_echo_n "(cached) " >&6
2767 else
2768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2769 /* end confdefs.h. */
2772 main ()
2774 static $2 ac_aggr;
2775 if (ac_aggr.$3)
2776 return 0;
2778 return 0;
2780 _ACEOF
2781 if ac_fn_c_try_compile "$LINENO"; then :
2782 eval "$4=yes"
2783 else
2784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2785 /* end confdefs.h. */
2788 main ()
2790 static $2 ac_aggr;
2791 if (sizeof ac_aggr.$3)
2792 return 0;
2794 return 0;
2796 _ACEOF
2797 if ac_fn_c_try_compile "$LINENO"; then :
2798 eval "$4=yes"
2799 else
2800 eval "$4=no"
2802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2806 eval ac_res=\$$4
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2808 $as_echo "$ac_res" >&6; }
2809 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2811 } # ac_fn_c_check_member
2813 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2814 # -------------------------------------------
2815 # Tests whether TYPE exists after having included INCLUDES, setting cache
2816 # variable VAR accordingly.
2817 ac_fn_c_check_type ()
2819 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2821 $as_echo_n "checking for $2... " >&6; }
2822 if eval \${$3+:} false; then :
2823 $as_echo_n "(cached) " >&6
2824 else
2825 eval "$3=no"
2826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2827 /* end confdefs.h. */
2830 main ()
2832 if (sizeof ($2))
2833 return 0;
2835 return 0;
2837 _ACEOF
2838 if ac_fn_c_try_compile "$LINENO"; then :
2839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2840 /* end confdefs.h. */
2843 main ()
2845 if (sizeof (($2)))
2846 return 0;
2848 return 0;
2850 _ACEOF
2851 if ac_fn_c_try_compile "$LINENO"; then :
2853 else
2854 eval "$3=yes"
2856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2860 eval ac_res=\$$3
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2862 $as_echo "$ac_res" >&6; }
2863 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2865 } # ac_fn_c_check_type
2866 cat >config.log <<_ACEOF
2867 This file contains any messages produced by compilers while
2868 running configure, to aid debugging if configure makes a mistake.
2870 It was created by Wine $as_me 1.7.52, which was
2871 generated by GNU Autoconf 2.69. Invocation command line was
2873 $ $0 $@
2875 _ACEOF
2876 exec 5>>config.log
2878 cat <<_ASUNAME
2879 ## --------- ##
2880 ## Platform. ##
2881 ## --------- ##
2883 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2884 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2885 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2886 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2887 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2889 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2890 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2892 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2893 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2894 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2895 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2896 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2897 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2898 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2900 _ASUNAME
2902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2903 for as_dir in $PATH
2905 IFS=$as_save_IFS
2906 test -z "$as_dir" && as_dir=.
2907 $as_echo "PATH: $as_dir"
2908 done
2909 IFS=$as_save_IFS
2911 } >&5
2913 cat >&5 <<_ACEOF
2916 ## ----------- ##
2917 ## Core tests. ##
2918 ## ----------- ##
2920 _ACEOF
2923 # Keep a trace of the command line.
2924 # Strip out --no-create and --no-recursion so they do not pile up.
2925 # Strip out --silent because we don't want to record it for future runs.
2926 # Also quote any args containing shell meta-characters.
2927 # Make two passes to allow for proper duplicate-argument suppression.
2928 ac_configure_args=
2929 ac_configure_args0=
2930 ac_configure_args1=
2931 ac_must_keep_next=false
2932 for ac_pass in 1 2
2934 for ac_arg
2936 case $ac_arg in
2937 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2938 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2939 | -silent | --silent | --silen | --sile | --sil)
2940 continue ;;
2941 *\'*)
2942 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2943 esac
2944 case $ac_pass in
2945 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2947 as_fn_append ac_configure_args1 " '$ac_arg'"
2948 if test $ac_must_keep_next = true; then
2949 ac_must_keep_next=false # Got value, back to normal.
2950 else
2951 case $ac_arg in
2952 *=* | --config-cache | -C | -disable-* | --disable-* \
2953 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2954 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2955 | -with-* | --with-* | -without-* | --without-* | --x)
2956 case "$ac_configure_args0 " in
2957 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2958 esac
2960 -* ) ac_must_keep_next=true ;;
2961 esac
2963 as_fn_append ac_configure_args " '$ac_arg'"
2965 esac
2966 done
2967 done
2968 { ac_configure_args0=; unset ac_configure_args0;}
2969 { ac_configure_args1=; unset ac_configure_args1;}
2971 # When interrupted or exit'd, cleanup temporary files, and complete
2972 # config.log. We remove comments because anyway the quotes in there
2973 # would cause problems or look ugly.
2974 # WARNING: Use '\'' to represent an apostrophe within the trap.
2975 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2976 trap 'exit_status=$?
2977 # Save into config.log some information that might help in debugging.
2979 echo
2981 $as_echo "## ---------------- ##
2982 ## Cache variables. ##
2983 ## ---------------- ##"
2984 echo
2985 # The following way of writing the cache mishandles newlines in values,
2987 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2988 eval ac_val=\$$ac_var
2989 case $ac_val in #(
2990 *${as_nl}*)
2991 case $ac_var in #(
2992 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2993 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2994 esac
2995 case $ac_var in #(
2996 _ | IFS | as_nl) ;; #(
2997 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2998 *) { eval $ac_var=; unset $ac_var;} ;;
2999 esac ;;
3000 esac
3001 done
3002 (set) 2>&1 |
3003 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3004 *${as_nl}ac_space=\ *)
3005 sed -n \
3006 "s/'\''/'\''\\\\'\'''\''/g;
3007 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3008 ;; #(
3010 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3012 esac |
3013 sort
3015 echo
3017 $as_echo "## ----------------- ##
3018 ## Output variables. ##
3019 ## ----------------- ##"
3020 echo
3021 for ac_var in $ac_subst_vars
3023 eval ac_val=\$$ac_var
3024 case $ac_val in
3025 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3026 esac
3027 $as_echo "$ac_var='\''$ac_val'\''"
3028 done | sort
3029 echo
3031 if test -n "$ac_subst_files"; then
3032 $as_echo "## ------------------- ##
3033 ## File substitutions. ##
3034 ## ------------------- ##"
3035 echo
3036 for ac_var in $ac_subst_files
3038 eval ac_val=\$$ac_var
3039 case $ac_val in
3040 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3041 esac
3042 $as_echo "$ac_var='\''$ac_val'\''"
3043 done | sort
3044 echo
3047 if test -s confdefs.h; then
3048 $as_echo "## ----------- ##
3049 ## confdefs.h. ##
3050 ## ----------- ##"
3051 echo
3052 cat confdefs.h
3053 echo
3055 test "$ac_signal" != 0 &&
3056 $as_echo "$as_me: caught signal $ac_signal"
3057 $as_echo "$as_me: exit $exit_status"
3058 } >&5
3059 rm -f core *.core core.conftest.* &&
3060 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3061 exit $exit_status
3063 for ac_signal in 1 2 13 15; do
3064 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3065 done
3066 ac_signal=0
3068 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3069 rm -f -r conftest* confdefs.h
3071 $as_echo "/* confdefs.h */" > confdefs.h
3073 # Predefined preprocessor variables.
3075 cat >>confdefs.h <<_ACEOF
3076 #define PACKAGE_NAME "$PACKAGE_NAME"
3077 _ACEOF
3079 cat >>confdefs.h <<_ACEOF
3080 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3081 _ACEOF
3083 cat >>confdefs.h <<_ACEOF
3084 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3085 _ACEOF
3087 cat >>confdefs.h <<_ACEOF
3088 #define PACKAGE_STRING "$PACKAGE_STRING"
3089 _ACEOF
3091 cat >>confdefs.h <<_ACEOF
3092 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3093 _ACEOF
3095 cat >>confdefs.h <<_ACEOF
3096 #define PACKAGE_URL "$PACKAGE_URL"
3097 _ACEOF
3100 # Let the site file select an alternate cache file if it wants to.
3101 # Prefer an explicitly selected file to automatically selected ones.
3102 ac_site_file1=NONE
3103 ac_site_file2=NONE
3104 if test -n "$CONFIG_SITE"; then
3105 # We do not want a PATH search for config.site.
3106 case $CONFIG_SITE in #((
3107 -*) ac_site_file1=./$CONFIG_SITE;;
3108 */*) ac_site_file1=$CONFIG_SITE;;
3109 *) ac_site_file1=./$CONFIG_SITE;;
3110 esac
3111 elif test "x$prefix" != xNONE; then
3112 ac_site_file1=$prefix/share/config.site
3113 ac_site_file2=$prefix/etc/config.site
3114 else
3115 ac_site_file1=$ac_default_prefix/share/config.site
3116 ac_site_file2=$ac_default_prefix/etc/config.site
3118 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3120 test "x$ac_site_file" = xNONE && continue
3121 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3123 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3124 sed 's/^/| /' "$ac_site_file" >&5
3125 . "$ac_site_file" \
3126 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3127 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3128 as_fn_error $? "failed to load site script $ac_site_file
3129 See \`config.log' for more details" "$LINENO" 5; }
3131 done
3133 if test -r "$cache_file"; then
3134 # Some versions of bash will fail to source /dev/null (special files
3135 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3136 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3138 $as_echo "$as_me: loading cache $cache_file" >&6;}
3139 case $cache_file in
3140 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3141 *) . "./$cache_file";;
3142 esac
3144 else
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3146 $as_echo "$as_me: creating cache $cache_file" >&6;}
3147 >$cache_file
3150 # Check that the precious variables saved in the cache have kept the same
3151 # value.
3152 ac_cache_corrupted=false
3153 for ac_var in $ac_precious_vars; do
3154 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3155 eval ac_new_set=\$ac_env_${ac_var}_set
3156 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3157 eval ac_new_val=\$ac_env_${ac_var}_value
3158 case $ac_old_set,$ac_new_set in
3159 set,)
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3161 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3162 ac_cache_corrupted=: ;;
3163 ,set)
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3165 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3166 ac_cache_corrupted=: ;;
3167 ,);;
3169 if test "x$ac_old_val" != "x$ac_new_val"; then
3170 # differences in whitespace do not lead to failure.
3171 ac_old_val_w=`echo x $ac_old_val`
3172 ac_new_val_w=`echo x $ac_new_val`
3173 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3175 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3176 ac_cache_corrupted=:
3177 else
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3179 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3180 eval $ac_var=\$ac_old_val
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3183 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3185 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3186 fi;;
3187 esac
3188 # Pass precious variables to config.status.
3189 if test "$ac_new_set" = set; then
3190 case $ac_new_val in
3191 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3192 *) ac_arg=$ac_var=$ac_new_val ;;
3193 esac
3194 case " $ac_configure_args " in
3195 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3196 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3197 esac
3199 done
3200 if $ac_cache_corrupted; then
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3202 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3204 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3205 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3207 ## -------------------- ##
3208 ## Main body of script. ##
3209 ## -------------------- ##
3211 ac_ext=c
3212 ac_cpp='$CPP $CPPFLAGS'
3213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3219 ac_config_headers="$ac_config_headers include/config.h"
3221 ac_aux_dir=
3222 for ac_dir in tools "$srcdir"/tools; do
3223 if test -f "$ac_dir/install-sh"; then
3224 ac_aux_dir=$ac_dir
3225 ac_install_sh="$ac_aux_dir/install-sh -c"
3226 break
3227 elif test -f "$ac_dir/install.sh"; then
3228 ac_aux_dir=$ac_dir
3229 ac_install_sh="$ac_aux_dir/install.sh -c"
3230 break
3231 elif test -f "$ac_dir/shtool"; then
3232 ac_aux_dir=$ac_dir
3233 ac_install_sh="$ac_aux_dir/shtool install -c"
3234 break
3236 done
3237 if test -z "$ac_aux_dir"; then
3238 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3241 # These three variables are undocumented and unsupported,
3242 # and are intended to be withdrawn in a future Autoconf release.
3243 # They can cause serious problems if a builder's source tree is in a directory
3244 # whose full name contains unusual characters.
3245 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3246 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3247 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3251 libwine_version="1.0"
3255 # Check whether --enable-win16 was given.
3256 if test "${enable_win16+set}" = set; then :
3257 enableval=$enable_win16;
3260 # Check whether --enable-win64 was given.
3261 if test "${enable_win64+set}" = set; then :
3262 enableval=$enable_win64;
3265 # Check whether --enable-tests was given.
3266 if test "${enable_tests+set}" = set; then :
3267 enableval=$enable_tests;
3270 # Check whether --enable-maintainer-mode was given.
3271 if test "${enable_maintainer_mode+set}" = set; then :
3272 enableval=$enable_maintainer_mode;
3277 # Check whether --with-alsa was given.
3278 if test "${with_alsa+set}" = set; then :
3279 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3283 # Check whether --with-capi was given.
3284 if test "${with_capi+set}" = set; then :
3285 withval=$with_capi;
3289 # Check whether --with-cms was given.
3290 if test "${with_cms+set}" = set; then :
3291 withval=$with_cms;
3295 # Check whether --with-coreaudio was given.
3296 if test "${with_coreaudio+set}" = set; then :
3297 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3301 # Check whether --with-cups was given.
3302 if test "${with_cups+set}" = set; then :
3303 withval=$with_cups;
3307 # Check whether --with-curses was given.
3308 if test "${with_curses+set}" = set; then :
3309 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3313 # Check whether --with-dbus was given.
3314 if test "${with_dbus+set}" = set; then :
3315 withval=$with_dbus;
3319 # Check whether --with-fontconfig was given.
3320 if test "${with_fontconfig+set}" = set; then :
3321 withval=$with_fontconfig;
3325 # Check whether --with-freetype was given.
3326 if test "${with_freetype+set}" = set; then :
3327 withval=$with_freetype;
3331 # Check whether --with-gettext was given.
3332 if test "${with_gettext+set}" = set; then :
3333 withval=$with_gettext;
3337 # Check whether --with-gettextpo was given.
3338 if test "${with_gettextpo+set}" = set; then :
3339 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3343 # Check whether --with-gphoto was given.
3344 if test "${with_gphoto+set}" = set; then :
3345 withval=$with_gphoto;
3349 # Check whether --with-glu was given.
3350 if test "${with_glu+set}" = set; then :
3351 withval=$with_glu;
3355 # Check whether --with-gnutls was given.
3356 if test "${with_gnutls+set}" = set; then :
3357 withval=$with_gnutls;
3361 # Check whether --with-gsm was given.
3362 if test "${with_gsm+set}" = set; then :
3363 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3367 # Check whether --with-gstreamer was given.
3368 if test "${with_gstreamer+set}" = set; then :
3369 withval=$with_gstreamer;
3373 # Check whether --with-hal was given.
3374 if test "${with_hal+set}" = set; then :
3375 withval=$with_hal;
3379 # Check whether --with-jpeg was given.
3380 if test "${with_jpeg+set}" = set; then :
3381 withval=$with_jpeg;
3385 # Check whether --with-ldap was given.
3386 if test "${with_ldap+set}" = set; then :
3387 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3391 # Check whether --with-mpg123 was given.
3392 if test "${with_mpg123+set}" = set; then :
3393 withval=$with_mpg123;
3397 # Check whether --with-netapi was given.
3398 if test "${with_netapi+set}" = set; then :
3399 withval=$with_netapi;
3403 # Check whether --with-openal was given.
3404 if test "${with_openal+set}" = set; then :
3405 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3409 # Check whether --with-opencl was given.
3410 if test "${with_opencl+set}" = set; then :
3411 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3415 # Check whether --with-opengl was given.
3416 if test "${with_opengl+set}" = set; then :
3417 withval=$with_opengl;
3421 # Check whether --with-osmesa was given.
3422 if test "${with_osmesa+set}" = set; then :
3423 withval=$with_osmesa;
3427 # Check whether --with-oss was given.
3428 if test "${with_oss+set}" = set; then :
3429 withval=$with_oss;
3433 # Check whether --with-pcap was given.
3434 if test "${with_pcap+set}" = set; then :
3435 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3439 # Check whether --with-png was given.
3440 if test "${with_png+set}" = set; then :
3441 withval=$with_png;
3445 # Check whether --with-pthread was given.
3446 if test "${with_pthread+set}" = set; then :
3447 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3451 # Check whether --with-sane was given.
3452 if test "${with_sane+set}" = set; then :
3453 withval=$with_sane;
3457 # Check whether --with-tiff was given.
3458 if test "${with_tiff+set}" = set; then :
3459 withval=$with_tiff;
3463 # Check whether --with-v4l was given.
3464 if test "${with_v4l+set}" = set; then :
3465 withval=$with_v4l;
3469 # Check whether --with-xcomposite was given.
3470 if test "${with_xcomposite+set}" = set; then :
3471 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3475 # Check whether --with-xcursor was given.
3476 if test "${with_xcursor+set}" = set; then :
3477 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3481 # Check whether --with-xinerama was given.
3482 if test "${with_xinerama+set}" = set; then :
3483 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3487 # Check whether --with-xinput was given.
3488 if test "${with_xinput+set}" = set; then :
3489 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3493 # Check whether --with-xinput2 was given.
3494 if test "${with_xinput2+set}" = set; then :
3495 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3499 # Check whether --with-xml was given.
3500 if test "${with_xml+set}" = set; then :
3501 withval=$with_xml;
3505 # Check whether --with-xrandr was given.
3506 if test "${with_xrandr+set}" = set; then :
3507 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3511 # Check whether --with-xrender was given.
3512 if test "${with_xrender+set}" = set; then :
3513 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3517 # Check whether --with-xshape was given.
3518 if test "${with_xshape+set}" = set; then :
3519 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3523 # Check whether --with-xshm was given.
3524 if test "${with_xshm+set}" = set; then :
3525 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3529 # Check whether --with-xslt was given.
3530 if test "${with_xslt+set}" = set; then :
3531 withval=$with_xslt;
3535 # Check whether --with-xxf86vm was given.
3536 if test "${with_xxf86vm+set}" = set; then :
3537 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
3541 # Check whether --with-zlib was given.
3542 if test "${with_zlib+set}" = set; then :
3543 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3548 # Check whether --with-wine-tools was given.
3549 if test "${with_wine_tools+set}" = set; then :
3550 withval=$with_wine_tools;
3554 # Check whether --with-wine64 was given.
3555 if test "${with_wine64+set}" = set; then :
3556 withval=$with_wine64;
3560 # Make sure we can run config.sub.
3561 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3562 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3565 $as_echo_n "checking build system type... " >&6; }
3566 if ${ac_cv_build+:} false; then :
3567 $as_echo_n "(cached) " >&6
3568 else
3569 ac_build_alias=$build_alias
3570 test "x$ac_build_alias" = x &&
3571 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3572 test "x$ac_build_alias" = x &&
3573 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3574 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3575 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3579 $as_echo "$ac_cv_build" >&6; }
3580 case $ac_cv_build in
3581 *-*-*) ;;
3582 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3583 esac
3584 build=$ac_cv_build
3585 ac_save_IFS=$IFS; IFS='-'
3586 set x $ac_cv_build
3587 shift
3588 build_cpu=$1
3589 build_vendor=$2
3590 shift; shift
3591 # Remember, the first character of IFS is used to create $*,
3592 # except with old shells:
3593 build_os=$*
3594 IFS=$ac_save_IFS
3595 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3599 $as_echo_n "checking host system type... " >&6; }
3600 if ${ac_cv_host+:} false; then :
3601 $as_echo_n "(cached) " >&6
3602 else
3603 if test "x$host_alias" = x; then
3604 ac_cv_host=$ac_cv_build
3605 else
3606 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3607 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3612 $as_echo "$ac_cv_host" >&6; }
3613 case $ac_cv_host in
3614 *-*-*) ;;
3615 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3616 esac
3617 host=$ac_cv_host
3618 ac_save_IFS=$IFS; IFS='-'
3619 set x $ac_cv_host
3620 shift
3621 host_cpu=$1
3622 host_vendor=$2
3623 shift; shift
3624 # Remember, the first character of IFS is used to create $*,
3625 # except with old shells:
3626 host_os=$*
3627 IFS=$ac_save_IFS
3628 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3632 case "$srcdir" in
3633 .) ;;
3634 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3635 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3636 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3637 fi ;;
3638 esac
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3642 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3643 set x ${MAKE-make}
3644 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3645 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3646 $as_echo_n "(cached) " >&6
3647 else
3648 cat >conftest.make <<\_ACEOF
3649 SHELL = /bin/sh
3650 all:
3651 @echo '@@@%%%=$(MAKE)=@@@%%%'
3652 _ACEOF
3653 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3654 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3655 *@@@%%%=?*=@@@%%%*)
3656 eval ac_cv_prog_make_${ac_make}_set=yes;;
3658 eval ac_cv_prog_make_${ac_make}_set=no;;
3659 esac
3660 rm -f conftest.make
3662 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3664 $as_echo "yes" >&6; }
3665 SET_MAKE=
3666 else
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3668 $as_echo "no" >&6; }
3669 SET_MAKE="MAKE=${MAKE-make}"
3672 ac_ext=c
3673 ac_cpp='$CPP $CPPFLAGS'
3674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3677 if test -n "$ac_tool_prefix"; then
3678 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3679 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3681 $as_echo_n "checking for $ac_word... " >&6; }
3682 if ${ac_cv_prog_CC+:} false; then :
3683 $as_echo_n "(cached) " >&6
3684 else
3685 if test -n "$CC"; then
3686 ac_cv_prog_CC="$CC" # Let the user override the test.
3687 else
3688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3689 for as_dir in $PATH
3691 IFS=$as_save_IFS
3692 test -z "$as_dir" && as_dir=.
3693 for ac_exec_ext in '' $ac_executable_extensions; do
3694 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3695 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3697 break 2
3699 done
3700 done
3701 IFS=$as_save_IFS
3705 CC=$ac_cv_prog_CC
3706 if test -n "$CC"; then
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3708 $as_echo "$CC" >&6; }
3709 else
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3711 $as_echo "no" >&6; }
3716 if test -z "$ac_cv_prog_CC"; then
3717 ac_ct_CC=$CC
3718 # Extract the first word of "gcc", so it can be a program name with args.
3719 set dummy gcc; ac_word=$2
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3721 $as_echo_n "checking for $ac_word... " >&6; }
3722 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3723 $as_echo_n "(cached) " >&6
3724 else
3725 if test -n "$ac_ct_CC"; then
3726 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3727 else
3728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3729 for as_dir in $PATH
3731 IFS=$as_save_IFS
3732 test -z "$as_dir" && as_dir=.
3733 for ac_exec_ext in '' $ac_executable_extensions; do
3734 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3735 ac_cv_prog_ac_ct_CC="gcc"
3736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3737 break 2
3739 done
3740 done
3741 IFS=$as_save_IFS
3745 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3746 if test -n "$ac_ct_CC"; then
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3748 $as_echo "$ac_ct_CC" >&6; }
3749 else
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3751 $as_echo "no" >&6; }
3754 if test "x$ac_ct_CC" = x; then
3755 CC=""
3756 else
3757 case $cross_compiling:$ac_tool_warned in
3758 yes:)
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3760 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3761 ac_tool_warned=yes ;;
3762 esac
3763 CC=$ac_ct_CC
3765 else
3766 CC="$ac_cv_prog_CC"
3769 if test -z "$CC"; then
3770 if test -n "$ac_tool_prefix"; then
3771 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3772 set dummy ${ac_tool_prefix}cc; ac_word=$2
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3774 $as_echo_n "checking for $ac_word... " >&6; }
3775 if ${ac_cv_prog_CC+:} false; then :
3776 $as_echo_n "(cached) " >&6
3777 else
3778 if test -n "$CC"; then
3779 ac_cv_prog_CC="$CC" # Let the user override the test.
3780 else
3781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3782 for as_dir in $PATH
3784 IFS=$as_save_IFS
3785 test -z "$as_dir" && as_dir=.
3786 for ac_exec_ext in '' $ac_executable_extensions; do
3787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3788 ac_cv_prog_CC="${ac_tool_prefix}cc"
3789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3790 break 2
3792 done
3793 done
3794 IFS=$as_save_IFS
3798 CC=$ac_cv_prog_CC
3799 if test -n "$CC"; then
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3801 $as_echo "$CC" >&6; }
3802 else
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3804 $as_echo "no" >&6; }
3810 if test -z "$CC"; then
3811 # Extract the first word of "cc", so it can be a program name with args.
3812 set dummy cc; ac_word=$2
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3814 $as_echo_n "checking for $ac_word... " >&6; }
3815 if ${ac_cv_prog_CC+:} false; then :
3816 $as_echo_n "(cached) " >&6
3817 else
3818 if test -n "$CC"; then
3819 ac_cv_prog_CC="$CC" # Let the user override the test.
3820 else
3821 ac_prog_rejected=no
3822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3823 for as_dir in $PATH
3825 IFS=$as_save_IFS
3826 test -z "$as_dir" && as_dir=.
3827 for ac_exec_ext in '' $ac_executable_extensions; do
3828 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3829 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3830 ac_prog_rejected=yes
3831 continue
3833 ac_cv_prog_CC="cc"
3834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3835 break 2
3837 done
3838 done
3839 IFS=$as_save_IFS
3841 if test $ac_prog_rejected = yes; then
3842 # We found a bogon in the path, so make sure we never use it.
3843 set dummy $ac_cv_prog_CC
3844 shift
3845 if test $# != 0; then
3846 # We chose a different compiler from the bogus one.
3847 # However, it has the same basename, so the bogon will be chosen
3848 # first if we set CC to just the basename; use the full file name.
3849 shift
3850 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3855 CC=$ac_cv_prog_CC
3856 if test -n "$CC"; then
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3858 $as_echo "$CC" >&6; }
3859 else
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3861 $as_echo "no" >&6; }
3866 if test -z "$CC"; then
3867 if test -n "$ac_tool_prefix"; then
3868 for ac_prog in cl.exe
3870 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3871 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3873 $as_echo_n "checking for $ac_word... " >&6; }
3874 if ${ac_cv_prog_CC+:} false; then :
3875 $as_echo_n "(cached) " >&6
3876 else
3877 if test -n "$CC"; then
3878 ac_cv_prog_CC="$CC" # Let the user override the test.
3879 else
3880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3881 for as_dir in $PATH
3883 IFS=$as_save_IFS
3884 test -z "$as_dir" && as_dir=.
3885 for ac_exec_ext in '' $ac_executable_extensions; do
3886 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3887 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3889 break 2
3891 done
3892 done
3893 IFS=$as_save_IFS
3897 CC=$ac_cv_prog_CC
3898 if test -n "$CC"; then
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3900 $as_echo "$CC" >&6; }
3901 else
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3903 $as_echo "no" >&6; }
3907 test -n "$CC" && break
3908 done
3910 if test -z "$CC"; then
3911 ac_ct_CC=$CC
3912 for ac_prog in cl.exe
3914 # Extract the first word of "$ac_prog", so it can be a program name with args.
3915 set dummy $ac_prog; ac_word=$2
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3917 $as_echo_n "checking for $ac_word... " >&6; }
3918 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3919 $as_echo_n "(cached) " >&6
3920 else
3921 if test -n "$ac_ct_CC"; then
3922 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3923 else
3924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3925 for as_dir in $PATH
3927 IFS=$as_save_IFS
3928 test -z "$as_dir" && as_dir=.
3929 for ac_exec_ext in '' $ac_executable_extensions; do
3930 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3931 ac_cv_prog_ac_ct_CC="$ac_prog"
3932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3933 break 2
3935 done
3936 done
3937 IFS=$as_save_IFS
3941 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3942 if test -n "$ac_ct_CC"; then
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3944 $as_echo "$ac_ct_CC" >&6; }
3945 else
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3947 $as_echo "no" >&6; }
3951 test -n "$ac_ct_CC" && break
3952 done
3954 if test "x$ac_ct_CC" = x; then
3955 CC=""
3956 else
3957 case $cross_compiling:$ac_tool_warned in
3958 yes:)
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3960 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3961 ac_tool_warned=yes ;;
3962 esac
3963 CC=$ac_ct_CC
3970 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3971 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3972 as_fn_error $? "no acceptable C compiler found in \$PATH
3973 See \`config.log' for more details" "$LINENO" 5; }
3975 # Provide some information about the compiler.
3976 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3977 set X $ac_compile
3978 ac_compiler=$2
3979 for ac_option in --version -v -V -qversion; do
3980 { { ac_try="$ac_compiler $ac_option >&5"
3981 case "(($ac_try" in
3982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3983 *) ac_try_echo=$ac_try;;
3984 esac
3985 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3986 $as_echo "$ac_try_echo"; } >&5
3987 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3988 ac_status=$?
3989 if test -s conftest.err; then
3990 sed '10a\
3991 ... rest of stderr output deleted ...
3992 10q' conftest.err >conftest.er1
3993 cat conftest.er1 >&5
3995 rm -f conftest.er1 conftest.err
3996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3997 test $ac_status = 0; }
3998 done
4000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4001 /* end confdefs.h. */
4004 main ()
4008 return 0;
4010 _ACEOF
4011 ac_clean_files_save=$ac_clean_files
4012 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4013 # Try to create an executable without -o first, disregard a.out.
4014 # It will help us diagnose broken compilers, and finding out an intuition
4015 # of exeext.
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4017 $as_echo_n "checking whether the C compiler works... " >&6; }
4018 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4020 # The possible output files:
4021 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4023 ac_rmfiles=
4024 for ac_file in $ac_files
4026 case $ac_file in
4027 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4028 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4029 esac
4030 done
4031 rm -f $ac_rmfiles
4033 if { { ac_try="$ac_link_default"
4034 case "(($ac_try" in
4035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4036 *) ac_try_echo=$ac_try;;
4037 esac
4038 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4039 $as_echo "$ac_try_echo"; } >&5
4040 (eval "$ac_link_default") 2>&5
4041 ac_status=$?
4042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4043 test $ac_status = 0; }; then :
4044 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4045 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4046 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4047 # so that the user can short-circuit this test for compilers unknown to
4048 # Autoconf.
4049 for ac_file in $ac_files ''
4051 test -f "$ac_file" || continue
4052 case $ac_file in
4053 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4055 [ab].out )
4056 # We found the default executable, but exeext='' is most
4057 # certainly right.
4058 break;;
4059 *.* )
4060 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4061 then :; else
4062 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4064 # We set ac_cv_exeext here because the later test for it is not
4065 # safe: cross compilers may not add the suffix if given an `-o'
4066 # argument, so we may need to know it at that point already.
4067 # Even if this section looks crufty: it has the advantage of
4068 # actually working.
4069 break;;
4071 break;;
4072 esac
4073 done
4074 test "$ac_cv_exeext" = no && ac_cv_exeext=
4076 else
4077 ac_file=''
4079 if test -z "$ac_file"; then :
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4081 $as_echo "no" >&6; }
4082 $as_echo "$as_me: failed program was:" >&5
4083 sed 's/^/| /' conftest.$ac_ext >&5
4085 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4086 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4087 as_fn_error 77 "C compiler cannot create executables
4088 See \`config.log' for more details" "$LINENO" 5; }
4089 else
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4091 $as_echo "yes" >&6; }
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4094 $as_echo_n "checking for C compiler default output file name... " >&6; }
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4096 $as_echo "$ac_file" >&6; }
4097 ac_exeext=$ac_cv_exeext
4099 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4100 ac_clean_files=$ac_clean_files_save
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4102 $as_echo_n "checking for suffix of executables... " >&6; }
4103 if { { ac_try="$ac_link"
4104 case "(($ac_try" in
4105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4106 *) ac_try_echo=$ac_try;;
4107 esac
4108 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4109 $as_echo "$ac_try_echo"; } >&5
4110 (eval "$ac_link") 2>&5
4111 ac_status=$?
4112 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4113 test $ac_status = 0; }; then :
4114 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4115 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4116 # work properly (i.e., refer to `conftest.exe'), while it won't with
4117 # `rm'.
4118 for ac_file in conftest.exe conftest conftest.*; do
4119 test -f "$ac_file" || continue
4120 case $ac_file in
4121 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4122 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4123 break;;
4124 * ) break;;
4125 esac
4126 done
4127 else
4128 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4129 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4130 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4131 See \`config.log' for more details" "$LINENO" 5; }
4133 rm -f conftest conftest$ac_cv_exeext
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4135 $as_echo "$ac_cv_exeext" >&6; }
4137 rm -f conftest.$ac_ext
4138 EXEEXT=$ac_cv_exeext
4139 ac_exeext=$EXEEXT
4140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4141 /* end confdefs.h. */
4142 #include <stdio.h>
4144 main ()
4146 FILE *f = fopen ("conftest.out", "w");
4147 return ferror (f) || fclose (f) != 0;
4150 return 0;
4152 _ACEOF
4153 ac_clean_files="$ac_clean_files conftest.out"
4154 # Check that the compiler produces executables we can run. If not, either
4155 # the compiler is broken, or we cross compile.
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4157 $as_echo_n "checking whether we are cross compiling... " >&6; }
4158 if test "$cross_compiling" != yes; then
4159 { { ac_try="$ac_link"
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_link") 2>&5
4167 ac_status=$?
4168 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4169 test $ac_status = 0; }
4170 if { ac_try='./conftest$ac_cv_exeext'
4171 { { case "(($ac_try" in
4172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4173 *) ac_try_echo=$ac_try;;
4174 esac
4175 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4176 $as_echo "$ac_try_echo"; } >&5
4177 (eval "$ac_try") 2>&5
4178 ac_status=$?
4179 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4180 test $ac_status = 0; }; }; then
4181 cross_compiling=no
4182 else
4183 if test "$cross_compiling" = maybe; then
4184 cross_compiling=yes
4185 else
4186 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4187 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4188 as_fn_error $? "cannot run C compiled programs.
4189 If you meant to cross compile, use \`--host'.
4190 See \`config.log' for more details" "$LINENO" 5; }
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4195 $as_echo "$cross_compiling" >&6; }
4197 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4198 ac_clean_files=$ac_clean_files_save
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4200 $as_echo_n "checking for suffix of object files... " >&6; }
4201 if ${ac_cv_objext+:} false; then :
4202 $as_echo_n "(cached) " >&6
4203 else
4204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4205 /* end confdefs.h. */
4208 main ()
4212 return 0;
4214 _ACEOF
4215 rm -f conftest.o conftest.obj
4216 if { { ac_try="$ac_compile"
4217 case "(($ac_try" in
4218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4219 *) ac_try_echo=$ac_try;;
4220 esac
4221 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4222 $as_echo "$ac_try_echo"; } >&5
4223 (eval "$ac_compile") 2>&5
4224 ac_status=$?
4225 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4226 test $ac_status = 0; }; then :
4227 for ac_file in conftest.o conftest.obj conftest.*; do
4228 test -f "$ac_file" || continue;
4229 case $ac_file in
4230 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4231 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4232 break;;
4233 esac
4234 done
4235 else
4236 $as_echo "$as_me: failed program was:" >&5
4237 sed 's/^/| /' conftest.$ac_ext >&5
4239 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4240 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4241 as_fn_error $? "cannot compute suffix of object files: cannot compile
4242 See \`config.log' for more details" "$LINENO" 5; }
4244 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4247 $as_echo "$ac_cv_objext" >&6; }
4248 OBJEXT=$ac_cv_objext
4249 ac_objext=$OBJEXT
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4251 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4252 if ${ac_cv_c_compiler_gnu+:} false; then :
4253 $as_echo_n "(cached) " >&6
4254 else
4255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4256 /* end confdefs.h. */
4259 main ()
4261 #ifndef __GNUC__
4262 choke me
4263 #endif
4266 return 0;
4268 _ACEOF
4269 if ac_fn_c_try_compile "$LINENO"; then :
4270 ac_compiler_gnu=yes
4271 else
4272 ac_compiler_gnu=no
4274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4275 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4279 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4280 if test $ac_compiler_gnu = yes; then
4281 GCC=yes
4282 else
4283 GCC=
4285 ac_test_CFLAGS=${CFLAGS+set}
4286 ac_save_CFLAGS=$CFLAGS
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4288 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4289 if ${ac_cv_prog_cc_g+:} false; then :
4290 $as_echo_n "(cached) " >&6
4291 else
4292 ac_save_c_werror_flag=$ac_c_werror_flag
4293 ac_c_werror_flag=yes
4294 ac_cv_prog_cc_g=no
4295 CFLAGS="-g"
4296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4297 /* end confdefs.h. */
4300 main ()
4304 return 0;
4306 _ACEOF
4307 if ac_fn_c_try_compile "$LINENO"; then :
4308 ac_cv_prog_cc_g=yes
4309 else
4310 CFLAGS=""
4311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4312 /* end confdefs.h. */
4315 main ()
4319 return 0;
4321 _ACEOF
4322 if ac_fn_c_try_compile "$LINENO"; then :
4324 else
4325 ac_c_werror_flag=$ac_save_c_werror_flag
4326 CFLAGS="-g"
4327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4328 /* end confdefs.h. */
4331 main ()
4335 return 0;
4337 _ACEOF
4338 if ac_fn_c_try_compile "$LINENO"; then :
4339 ac_cv_prog_cc_g=yes
4341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4346 ac_c_werror_flag=$ac_save_c_werror_flag
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4349 $as_echo "$ac_cv_prog_cc_g" >&6; }
4350 if test "$ac_test_CFLAGS" = set; then
4351 CFLAGS=$ac_save_CFLAGS
4352 elif test $ac_cv_prog_cc_g = yes; then
4353 if test "$GCC" = yes; then
4354 CFLAGS="-g -O2"
4355 else
4356 CFLAGS="-g"
4358 else
4359 if test "$GCC" = yes; then
4360 CFLAGS="-O2"
4361 else
4362 CFLAGS=
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4366 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4367 if ${ac_cv_prog_cc_c89+:} false; then :
4368 $as_echo_n "(cached) " >&6
4369 else
4370 ac_cv_prog_cc_c89=no
4371 ac_save_CC=$CC
4372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4373 /* end confdefs.h. */
4374 #include <stdarg.h>
4375 #include <stdio.h>
4376 struct stat;
4377 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4378 struct buf { int x; };
4379 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4380 static char *e (p, i)
4381 char **p;
4382 int i;
4384 return p[i];
4386 static char *f (char * (*g) (char **, int), char **p, ...)
4388 char *s;
4389 va_list v;
4390 va_start (v,p);
4391 s = g (p, va_arg (v,int));
4392 va_end (v);
4393 return s;
4396 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4397 function prototypes and stuff, but not '\xHH' hex character constants.
4398 These don't provoke an error unfortunately, instead are silently treated
4399 as 'x'. The following induces an error, until -std is added to get
4400 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4401 array size at least. It's necessary to write '\x00'==0 to get something
4402 that's true only with -std. */
4403 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4405 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4406 inside strings and character constants. */
4407 #define FOO(x) 'x'
4408 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4410 int test (int i, double x);
4411 struct s1 {int (*f) (int a);};
4412 struct s2 {int (*f) (double a);};
4413 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4414 int argc;
4415 char **argv;
4417 main ()
4419 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4421 return 0;
4423 _ACEOF
4424 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4425 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4427 CC="$ac_save_CC $ac_arg"
4428 if ac_fn_c_try_compile "$LINENO"; then :
4429 ac_cv_prog_cc_c89=$ac_arg
4431 rm -f core conftest.err conftest.$ac_objext
4432 test "x$ac_cv_prog_cc_c89" != "xno" && break
4433 done
4434 rm -f conftest.$ac_ext
4435 CC=$ac_save_CC
4438 # AC_CACHE_VAL
4439 case "x$ac_cv_prog_cc_c89" in
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4442 $as_echo "none needed" >&6; } ;;
4443 xno)
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4445 $as_echo "unsupported" >&6; } ;;
4447 CC="$CC $ac_cv_prog_cc_c89"
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4449 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4450 esac
4451 if test "x$ac_cv_prog_cc_c89" != xno; then :
4455 ac_ext=c
4456 ac_cpp='$CPP $CPPFLAGS'
4457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4461 ac_ext=cpp
4462 ac_cpp='$CXXCPP $CPPFLAGS'
4463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4466 if test -z "$CXX"; then
4467 if test -n "$CCC"; then
4468 CXX=$CCC
4469 else
4470 if test -n "$ac_tool_prefix"; then
4471 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4473 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4474 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4476 $as_echo_n "checking for $ac_word... " >&6; }
4477 if ${ac_cv_prog_CXX+:} false; then :
4478 $as_echo_n "(cached) " >&6
4479 else
4480 if test -n "$CXX"; then
4481 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4482 else
4483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4484 for as_dir in $PATH
4486 IFS=$as_save_IFS
4487 test -z "$as_dir" && as_dir=.
4488 for ac_exec_ext in '' $ac_executable_extensions; do
4489 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4490 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4492 break 2
4494 done
4495 done
4496 IFS=$as_save_IFS
4500 CXX=$ac_cv_prog_CXX
4501 if test -n "$CXX"; then
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4503 $as_echo "$CXX" >&6; }
4504 else
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4506 $as_echo "no" >&6; }
4510 test -n "$CXX" && break
4511 done
4513 if test -z "$CXX"; then
4514 ac_ct_CXX=$CXX
4515 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4517 # Extract the first word of "$ac_prog", so it can be a program name with args.
4518 set dummy $ac_prog; ac_word=$2
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4520 $as_echo_n "checking for $ac_word... " >&6; }
4521 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4522 $as_echo_n "(cached) " >&6
4523 else
4524 if test -n "$ac_ct_CXX"; then
4525 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4526 else
4527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4528 for as_dir in $PATH
4530 IFS=$as_save_IFS
4531 test -z "$as_dir" && as_dir=.
4532 for ac_exec_ext in '' $ac_executable_extensions; do
4533 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4534 ac_cv_prog_ac_ct_CXX="$ac_prog"
4535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4536 break 2
4538 done
4539 done
4540 IFS=$as_save_IFS
4544 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4545 if test -n "$ac_ct_CXX"; then
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4547 $as_echo "$ac_ct_CXX" >&6; }
4548 else
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4550 $as_echo "no" >&6; }
4554 test -n "$ac_ct_CXX" && break
4555 done
4557 if test "x$ac_ct_CXX" = x; then
4558 CXX="g++"
4559 else
4560 case $cross_compiling:$ac_tool_warned in
4561 yes:)
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4563 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4564 ac_tool_warned=yes ;;
4565 esac
4566 CXX=$ac_ct_CXX
4572 # Provide some information about the compiler.
4573 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4574 set X $ac_compile
4575 ac_compiler=$2
4576 for ac_option in --version -v -V -qversion; do
4577 { { ac_try="$ac_compiler $ac_option >&5"
4578 case "(($ac_try" in
4579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4580 *) ac_try_echo=$ac_try;;
4581 esac
4582 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4583 $as_echo "$ac_try_echo"; } >&5
4584 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4585 ac_status=$?
4586 if test -s conftest.err; then
4587 sed '10a\
4588 ... rest of stderr output deleted ...
4589 10q' conftest.err >conftest.er1
4590 cat conftest.er1 >&5
4592 rm -f conftest.er1 conftest.err
4593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4594 test $ac_status = 0; }
4595 done
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4598 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4599 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4600 $as_echo_n "(cached) " >&6
4601 else
4602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4603 /* end confdefs.h. */
4606 main ()
4608 #ifndef __GNUC__
4609 choke me
4610 #endif
4613 return 0;
4615 _ACEOF
4616 if ac_fn_cxx_try_compile "$LINENO"; then :
4617 ac_compiler_gnu=yes
4618 else
4619 ac_compiler_gnu=no
4621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4622 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4626 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4627 if test $ac_compiler_gnu = yes; then
4628 GXX=yes
4629 else
4630 GXX=
4632 ac_test_CXXFLAGS=${CXXFLAGS+set}
4633 ac_save_CXXFLAGS=$CXXFLAGS
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4635 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4636 if ${ac_cv_prog_cxx_g+:} false; then :
4637 $as_echo_n "(cached) " >&6
4638 else
4639 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4640 ac_cxx_werror_flag=yes
4641 ac_cv_prog_cxx_g=no
4642 CXXFLAGS="-g"
4643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4644 /* end confdefs.h. */
4647 main ()
4651 return 0;
4653 _ACEOF
4654 if ac_fn_cxx_try_compile "$LINENO"; then :
4655 ac_cv_prog_cxx_g=yes
4656 else
4657 CXXFLAGS=""
4658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4659 /* end confdefs.h. */
4662 main ()
4666 return 0;
4668 _ACEOF
4669 if ac_fn_cxx_try_compile "$LINENO"; then :
4671 else
4672 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4673 CXXFLAGS="-g"
4674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4675 /* end confdefs.h. */
4678 main ()
4682 return 0;
4684 _ACEOF
4685 if ac_fn_cxx_try_compile "$LINENO"; then :
4686 ac_cv_prog_cxx_g=yes
4688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4693 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4696 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4697 if test "$ac_test_CXXFLAGS" = set; then
4698 CXXFLAGS=$ac_save_CXXFLAGS
4699 elif test $ac_cv_prog_cxx_g = yes; then
4700 if test "$GXX" = yes; then
4701 CXXFLAGS="-g -O2"
4702 else
4703 CXXFLAGS="-g"
4705 else
4706 if test "$GXX" = yes; then
4707 CXXFLAGS="-O2"
4708 else
4709 CXXFLAGS=
4712 ac_ext=c
4713 ac_cpp='$CPP $CPPFLAGS'
4714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4718 if test -n "$ac_tool_prefix"; then
4719 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4720 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4722 $as_echo_n "checking for $ac_word... " >&6; }
4723 if ${ac_cv_prog_CPPBIN+:} false; then :
4724 $as_echo_n "(cached) " >&6
4725 else
4726 if test -n "$CPPBIN"; then
4727 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4728 else
4729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4730 for as_dir in $PATH
4732 IFS=$as_save_IFS
4733 test -z "$as_dir" && as_dir=.
4734 for ac_exec_ext in '' $ac_executable_extensions; do
4735 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4736 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4738 break 2
4740 done
4741 done
4742 IFS=$as_save_IFS
4746 CPPBIN=$ac_cv_prog_CPPBIN
4747 if test -n "$CPPBIN"; then
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4749 $as_echo "$CPPBIN" >&6; }
4750 else
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4752 $as_echo "no" >&6; }
4757 if test -z "$ac_cv_prog_CPPBIN"; then
4758 ac_ct_CPPBIN=$CPPBIN
4759 # Extract the first word of "cpp", so it can be a program name with args.
4760 set dummy cpp; ac_word=$2
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4762 $as_echo_n "checking for $ac_word... " >&6; }
4763 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4764 $as_echo_n "(cached) " >&6
4765 else
4766 if test -n "$ac_ct_CPPBIN"; then
4767 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4768 else
4769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4770 for as_dir in $PATH
4772 IFS=$as_save_IFS
4773 test -z "$as_dir" && as_dir=.
4774 for ac_exec_ext in '' $ac_executable_extensions; do
4775 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4776 ac_cv_prog_ac_ct_CPPBIN="cpp"
4777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4778 break 2
4780 done
4781 done
4782 IFS=$as_save_IFS
4786 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4787 if test -n "$ac_ct_CPPBIN"; then
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4789 $as_echo "$ac_ct_CPPBIN" >&6; }
4790 else
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4792 $as_echo "no" >&6; }
4795 if test "x$ac_ct_CPPBIN" = x; then
4796 CPPBIN="cpp"
4797 else
4798 case $cross_compiling:$ac_tool_warned in
4799 yes:)
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4801 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4802 ac_tool_warned=yes ;;
4803 esac
4804 CPPBIN=$ac_ct_CPPBIN
4806 else
4807 CPPBIN="$ac_cv_prog_CPPBIN"
4811 cat >>confdefs.h <<_ACEOF
4812 #define EXEEXT "$ac_exeext"
4813 _ACEOF
4815 if test -n "$ac_tool_prefix"; then
4816 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4817 set dummy ${ac_tool_prefix}ld; ac_word=$2
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4819 $as_echo_n "checking for $ac_word... " >&6; }
4820 if ${ac_cv_prog_LD+:} false; then :
4821 $as_echo_n "(cached) " >&6
4822 else
4823 if test -n "$LD"; then
4824 ac_cv_prog_LD="$LD" # Let the user override the test.
4825 else
4826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4827 for as_dir in $PATH
4829 IFS=$as_save_IFS
4830 test -z "$as_dir" && as_dir=.
4831 for ac_exec_ext in '' $ac_executable_extensions; do
4832 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4833 ac_cv_prog_LD="${ac_tool_prefix}ld"
4834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4835 break 2
4837 done
4838 done
4839 IFS=$as_save_IFS
4843 LD=$ac_cv_prog_LD
4844 if test -n "$LD"; then
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4846 $as_echo "$LD" >&6; }
4847 else
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4849 $as_echo "no" >&6; }
4854 if test -z "$ac_cv_prog_LD"; then
4855 ac_ct_LD=$LD
4856 # Extract the first word of "ld", so it can be a program name with args.
4857 set dummy ld; ac_word=$2
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4859 $as_echo_n "checking for $ac_word... " >&6; }
4860 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4861 $as_echo_n "(cached) " >&6
4862 else
4863 if test -n "$ac_ct_LD"; then
4864 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4865 else
4866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4867 for as_dir in $PATH
4869 IFS=$as_save_IFS
4870 test -z "$as_dir" && as_dir=.
4871 for ac_exec_ext in '' $ac_executable_extensions; do
4872 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4873 ac_cv_prog_ac_ct_LD="ld"
4874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4875 break 2
4877 done
4878 done
4879 IFS=$as_save_IFS
4883 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4884 if test -n "$ac_ct_LD"; then
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4886 $as_echo "$ac_ct_LD" >&6; }
4887 else
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4889 $as_echo "no" >&6; }
4892 if test "x$ac_ct_LD" = x; then
4893 LD=""
4894 else
4895 case $cross_compiling:$ac_tool_warned in
4896 yes:)
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4898 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4899 ac_tool_warned=yes ;;
4900 esac
4901 LD=$ac_ct_LD
4903 else
4904 LD="$ac_cv_prog_LD"
4908 case $host in
4909 *-darwin*)
4910 if test "x$enable_win64" = "xyes"
4911 then
4912 CC="$CC -m64"
4913 CXX="$CXX -m64"
4914 host_cpu="x86_64"
4915 notice_platform="64-bit "
4916 TARGETFLAGS="-m64"
4918 else
4919 CC="$CC -m32"
4920 CXX="$CXX -m32"
4921 host_cpu="i386"
4922 notice_platform="32-bit "
4923 TARGETFLAGS="-m32"
4925 enable_win16=${enable_win16:-yes}
4927 with_fontconfig=${with_fontconfig:-no}
4929 x86_64*|amd64*)
4930 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4931 then
4932 CC="$CC -m32"
4933 CXX="$CXX -m32"
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4935 $as_echo_n "checking whether $CC works... " >&6; }
4937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4938 /* end confdefs.h. */
4941 main ()
4945 return 0;
4947 _ACEOF
4948 if ac_fn_c_try_link "$LINENO"; then :
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4950 $as_echo "yes" >&6; }
4951 else
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4953 $as_echo "no" >&6; }
4954 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4956 rm -f core conftest.err conftest.$ac_objext \
4957 conftest$ac_exeext conftest.$ac_ext
4958 host_cpu="i386"
4959 notice_platform="32-bit "
4960 TARGETFLAGS="-m32"
4962 enable_win16=${enable_win16:-yes}
4963 else
4964 if test "x${GCC}" = "xyes"
4965 then
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4967 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4969 /* end confdefs.h. */
4970 #include <stdarg.h>
4972 main ()
4974 void func(__builtin_ms_va_list *args);
4976 return 0;
4978 _ACEOF
4979 if ac_fn_c_try_compile "$LINENO"; then :
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4981 $as_echo "yes" >&6; }
4982 else
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4984 $as_echo "no" >&6; }
4985 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4989 host_cpu="x86_64"
4990 TARGETFLAGS="-m64"
4994 arm*)
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4996 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4998 /* end confdefs.h. */
4999 int ac_test(int i) { return i; }
5001 main ()
5003 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5005 return 0;
5007 _ACEOF
5008 if ac_fn_c_try_link "$LINENO"; then :
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5010 $as_echo "yes" >&6; }
5011 else
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5013 $as_echo "no" >&6; }
5014 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5016 rm -f core conftest.err conftest.$ac_objext \
5017 conftest$ac_exeext conftest.$ac_ext
5018 CFLAGS="$CFLAGS -marm"
5019 TARGETFLAGS="-marm"
5022 *-mingw32*|*-cygwin*)
5023 enable_win16=${enable_win16:-no}
5024 CFLAGS="$CFLAGS -D_WIN32"
5026 i[3456789]86*)
5027 enable_win16=${enable_win16:-yes}
5029 esac
5031 enable_win16=${enable_win16:-no}
5032 enable_win64=${enable_win64:-no}
5034 enable_winetest=${enable_winetest:-$enable_tests}
5036 if test -n "$with_wine64"
5037 then
5038 if test "x$enable_win64" = "xyes"
5039 then
5040 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5041 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5043 enable_fonts=${enable_fonts:-no}
5044 enable_server=${enable_server:-no}
5045 elif test "x$enable_win64" = "xyes"
5046 then
5047 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5051 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5052 if ${wine_cv_toolsdir+:} false; then :
5053 $as_echo_n "(cached) " >&6
5054 else
5055 wine_cv_toolsdir="$with_wine_tools"
5056 if test -z "$with_wine_tools"; then
5057 if test "$cross_compiling" = "yes"; then
5058 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5059 elif test -n "$with_wine64"; then
5060 wine_cv_toolsdir="$with_wine64"
5063 if test -z "$wine_cv_toolsdir"; then
5064 wine_makedep=tools/makedep
5065 wine_cv_toolsdir="\$(top_builddir)"
5066 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5067 wine_makedep=$wine_cv_toolsdir/tools/makedep
5068 case "$wine_cv_toolsdir" in
5069 /*) ;;
5070 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5071 esac
5072 enable_tools=${enable_tools:-no}
5073 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5074 else
5075 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5079 $as_echo "$wine_cv_toolsdir" >&6; }
5080 TOOLSDIR=$wine_cv_toolsdir
5082 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5083 then
5084 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5088 for ac_prog in flex
5090 # Extract the first word of "$ac_prog", so it can be a program name with args.
5091 set dummy $ac_prog; ac_word=$2
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5093 $as_echo_n "checking for $ac_word... " >&6; }
5094 if ${ac_cv_prog_FLEX+:} false; then :
5095 $as_echo_n "(cached) " >&6
5096 else
5097 if test -n "$FLEX"; then
5098 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5099 else
5100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5101 for as_dir in $PATH
5103 IFS=$as_save_IFS
5104 test -z "$as_dir" && as_dir=.
5105 for ac_exec_ext in '' $ac_executable_extensions; do
5106 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5107 ac_cv_prog_FLEX="$ac_prog"
5108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5109 break 2
5111 done
5112 done
5113 IFS=$as_save_IFS
5117 FLEX=$ac_cv_prog_FLEX
5118 if test -n "$FLEX"; then
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5120 $as_echo "$FLEX" >&6; }
5121 else
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5123 $as_echo "no" >&6; }
5127 test -n "$FLEX" && break
5128 done
5129 test -n "$FLEX" || FLEX="none"
5131 if test "$FLEX" = "none"
5132 then
5133 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5136 $as_echo_n "checking whether flex is recent enough... " >&6; }
5137 cat >conftest.l <<EOF
5138 %top{
5139 #include "prediluvian.h"
5143 if $FLEX -t conftest.l >/dev/null 2>&5
5144 then
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5146 $as_echo "yes" >&6; }
5147 else
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5149 $as_echo "no" >&6; }
5150 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5153 for ac_prog in bison
5155 # Extract the first word of "$ac_prog", so it can be a program name with args.
5156 set dummy $ac_prog; ac_word=$2
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5158 $as_echo_n "checking for $ac_word... " >&6; }
5159 if ${ac_cv_prog_BISON+:} false; then :
5160 $as_echo_n "(cached) " >&6
5161 else
5162 if test -n "$BISON"; then
5163 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5164 else
5165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5166 for as_dir in $PATH
5168 IFS=$as_save_IFS
5169 test -z "$as_dir" && as_dir=.
5170 for ac_exec_ext in '' $ac_executable_extensions; do
5171 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5172 ac_cv_prog_BISON="$ac_prog"
5173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5174 break 2
5176 done
5177 done
5178 IFS=$as_save_IFS
5182 BISON=$ac_cv_prog_BISON
5183 if test -n "$BISON"; then
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5185 $as_echo "$BISON" >&6; }
5186 else
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5188 $as_echo "no" >&6; }
5192 test -n "$BISON" && break
5193 done
5194 test -n "$BISON" || BISON="none"
5196 if test "$BISON" = "none"
5197 then
5198 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5201 if test -n "$ac_tool_prefix"; then
5202 for ac_prog in ar gar
5204 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5205 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5207 $as_echo_n "checking for $ac_word... " >&6; }
5208 if ${ac_cv_prog_AR+:} false; then :
5209 $as_echo_n "(cached) " >&6
5210 else
5211 if test -n "$AR"; then
5212 ac_cv_prog_AR="$AR" # Let the user override the test.
5213 else
5214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5215 for as_dir in $PATH
5217 IFS=$as_save_IFS
5218 test -z "$as_dir" && as_dir=.
5219 for ac_exec_ext in '' $ac_executable_extensions; do
5220 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5221 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5223 break 2
5225 done
5226 done
5227 IFS=$as_save_IFS
5231 AR=$ac_cv_prog_AR
5232 if test -n "$AR"; then
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5234 $as_echo "$AR" >&6; }
5235 else
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5237 $as_echo "no" >&6; }
5241 test -n "$AR" && break
5242 done
5244 if test -z "$AR"; then
5245 ac_ct_AR=$AR
5246 for ac_prog in ar gar
5248 # Extract the first word of "$ac_prog", so it can be a program name with args.
5249 set dummy $ac_prog; ac_word=$2
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5251 $as_echo_n "checking for $ac_word... " >&6; }
5252 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5253 $as_echo_n "(cached) " >&6
5254 else
5255 if test -n "$ac_ct_AR"; then
5256 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5257 else
5258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5259 for as_dir in $PATH
5261 IFS=$as_save_IFS
5262 test -z "$as_dir" && as_dir=.
5263 for ac_exec_ext in '' $ac_executable_extensions; do
5264 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5265 ac_cv_prog_ac_ct_AR="$ac_prog"
5266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5267 break 2
5269 done
5270 done
5271 IFS=$as_save_IFS
5275 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5276 if test -n "$ac_ct_AR"; then
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5278 $as_echo "$ac_ct_AR" >&6; }
5279 else
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5281 $as_echo "no" >&6; }
5285 test -n "$ac_ct_AR" && break
5286 done
5288 if test "x$ac_ct_AR" = x; then
5289 AR="ar"
5290 else
5291 case $cross_compiling:$ac_tool_warned in
5292 yes:)
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5294 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5295 ac_tool_warned=yes ;;
5296 esac
5297 AR=$ac_ct_AR
5301 if test -n "$ac_tool_prefix"; then
5302 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5303 set dummy ${ac_tool_prefix}strip; ac_word=$2
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5305 $as_echo_n "checking for $ac_word... " >&6; }
5306 if ${ac_cv_prog_STRIP+:} false; then :
5307 $as_echo_n "(cached) " >&6
5308 else
5309 if test -n "$STRIP"; then
5310 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5311 else
5312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5313 for as_dir in $PATH
5315 IFS=$as_save_IFS
5316 test -z "$as_dir" && as_dir=.
5317 for ac_exec_ext in '' $ac_executable_extensions; do
5318 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5319 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5321 break 2
5323 done
5324 done
5325 IFS=$as_save_IFS
5329 STRIP=$ac_cv_prog_STRIP
5330 if test -n "$STRIP"; then
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5332 $as_echo "$STRIP" >&6; }
5333 else
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5335 $as_echo "no" >&6; }
5340 if test -z "$ac_cv_prog_STRIP"; then
5341 ac_ct_STRIP=$STRIP
5342 # Extract the first word of "strip", so it can be a program name with args.
5343 set dummy strip; ac_word=$2
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5345 $as_echo_n "checking for $ac_word... " >&6; }
5346 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5347 $as_echo_n "(cached) " >&6
5348 else
5349 if test -n "$ac_ct_STRIP"; then
5350 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5351 else
5352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5353 for as_dir in $PATH
5355 IFS=$as_save_IFS
5356 test -z "$as_dir" && as_dir=.
5357 for ac_exec_ext in '' $ac_executable_extensions; do
5358 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5359 ac_cv_prog_ac_ct_STRIP="strip"
5360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5361 break 2
5363 done
5364 done
5365 IFS=$as_save_IFS
5369 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5370 if test -n "$ac_ct_STRIP"; then
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5372 $as_echo "$ac_ct_STRIP" >&6; }
5373 else
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5375 $as_echo "no" >&6; }
5378 if test "x$ac_ct_STRIP" = x; then
5379 STRIP="strip"
5380 else
5381 case $cross_compiling:$ac_tool_warned in
5382 yes:)
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5384 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5385 ac_tool_warned=yes ;;
5386 esac
5387 STRIP=$ac_ct_STRIP
5389 else
5390 STRIP="$ac_cv_prog_STRIP"
5393 ARFLAGS=rc
5395 if test -n "$ac_tool_prefix"; then
5396 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5397 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5399 $as_echo_n "checking for $ac_word... " >&6; }
5400 if ${ac_cv_prog_RANLIB+:} false; then :
5401 $as_echo_n "(cached) " >&6
5402 else
5403 if test -n "$RANLIB"; then
5404 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5405 else
5406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5407 for as_dir in $PATH
5409 IFS=$as_save_IFS
5410 test -z "$as_dir" && as_dir=.
5411 for ac_exec_ext in '' $ac_executable_extensions; do
5412 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5413 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5415 break 2
5417 done
5418 done
5419 IFS=$as_save_IFS
5423 RANLIB=$ac_cv_prog_RANLIB
5424 if test -n "$RANLIB"; then
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5426 $as_echo "$RANLIB" >&6; }
5427 else
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5429 $as_echo "no" >&6; }
5434 if test -z "$ac_cv_prog_RANLIB"; then
5435 ac_ct_RANLIB=$RANLIB
5436 # Extract the first word of "ranlib", so it can be a program name with args.
5437 set dummy ranlib; ac_word=$2
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5439 $as_echo_n "checking for $ac_word... " >&6; }
5440 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5441 $as_echo_n "(cached) " >&6
5442 else
5443 if test -n "$ac_ct_RANLIB"; then
5444 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5445 else
5446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5447 for as_dir in $PATH
5449 IFS=$as_save_IFS
5450 test -z "$as_dir" && as_dir=.
5451 for ac_exec_ext in '' $ac_executable_extensions; do
5452 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5453 ac_cv_prog_ac_ct_RANLIB="ranlib"
5454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5455 break 2
5457 done
5458 done
5459 IFS=$as_save_IFS
5463 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5464 if test -n "$ac_ct_RANLIB"; then
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5466 $as_echo "$ac_ct_RANLIB" >&6; }
5467 else
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5469 $as_echo "no" >&6; }
5472 if test "x$ac_ct_RANLIB" = x; then
5473 RANLIB=":"
5474 else
5475 case $cross_compiling:$ac_tool_warned in
5476 yes:)
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5478 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5479 ac_tool_warned=yes ;;
5480 esac
5481 RANLIB=$ac_ct_RANLIB
5483 else
5484 RANLIB="$ac_cv_prog_RANLIB"
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5488 $as_echo_n "checking whether ln -s works... " >&6; }
5489 LN_S=$as_ln_s
5490 if test "$LN_S" = "ln -s"; then
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5492 $as_echo "yes" >&6; }
5493 else
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5495 $as_echo "no, using $LN_S" >&6; }
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5499 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5500 if ${ac_cv_path_GREP+:} false; then :
5501 $as_echo_n "(cached) " >&6
5502 else
5503 if test -z "$GREP"; then
5504 ac_path_GREP_found=false
5505 # Loop through the user's path and test for each of PROGNAME-LIST
5506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5507 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5509 IFS=$as_save_IFS
5510 test -z "$as_dir" && as_dir=.
5511 for ac_prog in grep ggrep; do
5512 for ac_exec_ext in '' $ac_executable_extensions; do
5513 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5514 as_fn_executable_p "$ac_path_GREP" || continue
5515 # Check for GNU ac_path_GREP and select it if it is found.
5516 # Check for GNU $ac_path_GREP
5517 case `"$ac_path_GREP" --version 2>&1` in
5518 *GNU*)
5519 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5521 ac_count=0
5522 $as_echo_n 0123456789 >"conftest.in"
5523 while :
5525 cat "conftest.in" "conftest.in" >"conftest.tmp"
5526 mv "conftest.tmp" "conftest.in"
5527 cp "conftest.in" "conftest.nl"
5528 $as_echo 'GREP' >> "conftest.nl"
5529 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5530 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5531 as_fn_arith $ac_count + 1 && ac_count=$as_val
5532 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5533 # Best one so far, save it but keep looking for a better one
5534 ac_cv_path_GREP="$ac_path_GREP"
5535 ac_path_GREP_max=$ac_count
5537 # 10*(2^10) chars as input seems more than enough
5538 test $ac_count -gt 10 && break
5539 done
5540 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5541 esac
5543 $ac_path_GREP_found && break 3
5544 done
5545 done
5546 done
5547 IFS=$as_save_IFS
5548 if test -z "$ac_cv_path_GREP"; then
5549 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5551 else
5552 ac_cv_path_GREP=$GREP
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5557 $as_echo "$ac_cv_path_GREP" >&6; }
5558 GREP="$ac_cv_path_GREP"
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5562 $as_echo_n "checking for egrep... " >&6; }
5563 if ${ac_cv_path_EGREP+:} false; then :
5564 $as_echo_n "(cached) " >&6
5565 else
5566 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5567 then ac_cv_path_EGREP="$GREP -E"
5568 else
5569 if test -z "$EGREP"; then
5570 ac_path_EGREP_found=false
5571 # Loop through the user's path and test for each of PROGNAME-LIST
5572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5573 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5575 IFS=$as_save_IFS
5576 test -z "$as_dir" && as_dir=.
5577 for ac_prog in egrep; do
5578 for ac_exec_ext in '' $ac_executable_extensions; do
5579 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5580 as_fn_executable_p "$ac_path_EGREP" || continue
5581 # Check for GNU ac_path_EGREP and select it if it is found.
5582 # Check for GNU $ac_path_EGREP
5583 case `"$ac_path_EGREP" --version 2>&1` in
5584 *GNU*)
5585 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5587 ac_count=0
5588 $as_echo_n 0123456789 >"conftest.in"
5589 while :
5591 cat "conftest.in" "conftest.in" >"conftest.tmp"
5592 mv "conftest.tmp" "conftest.in"
5593 cp "conftest.in" "conftest.nl"
5594 $as_echo 'EGREP' >> "conftest.nl"
5595 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5596 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5597 as_fn_arith $ac_count + 1 && ac_count=$as_val
5598 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5599 # Best one so far, save it but keep looking for a better one
5600 ac_cv_path_EGREP="$ac_path_EGREP"
5601 ac_path_EGREP_max=$ac_count
5603 # 10*(2^10) chars as input seems more than enough
5604 test $ac_count -gt 10 && break
5605 done
5606 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5607 esac
5609 $ac_path_EGREP_found && break 3
5610 done
5611 done
5612 done
5613 IFS=$as_save_IFS
5614 if test -z "$ac_cv_path_EGREP"; then
5615 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5617 else
5618 ac_cv_path_EGREP=$EGREP
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5624 $as_echo "$ac_cv_path_EGREP" >&6; }
5625 EGREP="$ac_cv_path_EGREP"
5628 # Extract the first word of "ldconfig", so it can be a program name with args.
5629 set dummy ldconfig; ac_word=$2
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5631 $as_echo_n "checking for $ac_word... " >&6; }
5632 if ${ac_cv_path_LDCONFIG+:} false; then :
5633 $as_echo_n "(cached) " >&6
5634 else
5635 case $LDCONFIG in
5636 [\\/]* | ?:[\\/]*)
5637 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5641 for as_dir in /sbin /usr/sbin $PATH
5643 IFS=$as_save_IFS
5644 test -z "$as_dir" && as_dir=.
5645 for ac_exec_ext in '' $ac_executable_extensions; do
5646 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5647 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5649 break 2
5651 done
5652 done
5653 IFS=$as_save_IFS
5655 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5657 esac
5659 LDCONFIG=$ac_cv_path_LDCONFIG
5660 if test -n "$LDCONFIG"; then
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5662 $as_echo "$LDCONFIG" >&6; }
5663 else
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5665 $as_echo "no" >&6; }
5669 for ac_prog in msgfmt
5671 # Extract the first word of "$ac_prog", so it can be a program name with args.
5672 set dummy $ac_prog; ac_word=$2
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5674 $as_echo_n "checking for $ac_word... " >&6; }
5675 if ${ac_cv_prog_MSGFMT+:} false; then :
5676 $as_echo_n "(cached) " >&6
5677 else
5678 if test -n "$MSGFMT"; then
5679 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5680 else
5681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5682 for as_dir in $PATH
5684 IFS=$as_save_IFS
5685 test -z "$as_dir" && as_dir=.
5686 for ac_exec_ext in '' $ac_executable_extensions; do
5687 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5688 ac_cv_prog_MSGFMT="$ac_prog"
5689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5690 break 2
5692 done
5693 done
5694 IFS=$as_save_IFS
5698 MSGFMT=$ac_cv_prog_MSGFMT
5699 if test -n "$MSGFMT"; then
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5701 $as_echo "$MSGFMT" >&6; }
5702 else
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5704 $as_echo "no" >&6; }
5708 test -n "$MSGFMT" && break
5709 done
5710 test -n "$MSGFMT" || MSGFMT="false"
5712 if ${ac_tool_prefix+:} false; then :
5713 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5714 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5716 $as_echo_n "checking for $ac_word... " >&6; }
5717 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5718 $as_echo_n "(cached) " >&6
5719 else
5720 if test -n "$PKG_CONFIG"; then
5721 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5722 else
5723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5724 for as_dir in $PATH
5726 IFS=$as_save_IFS
5727 test -z "$as_dir" && as_dir=.
5728 for ac_exec_ext in '' $ac_executable_extensions; do
5729 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5730 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5732 break 2
5734 done
5735 done
5736 IFS=$as_save_IFS
5740 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5741 if test -n "$PKG_CONFIG"; then
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5743 $as_echo "$PKG_CONFIG" >&6; }
5744 else
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5746 $as_echo "no" >&6; }
5751 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5752 if test "x$cross_compiling" = xyes; then :
5754 else
5755 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5756 # Extract the first word of "pkg-config", so it can be a program name with args.
5757 set dummy pkg-config; ac_word=$2
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5759 $as_echo_n "checking for $ac_word... " >&6; }
5760 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5761 $as_echo_n "(cached) " >&6
5762 else
5763 if test -n "$PKG_CONFIG"; then
5764 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5765 else
5766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5767 for as_dir in $PATH
5769 IFS=$as_save_IFS
5770 test -z "$as_dir" && as_dir=.
5771 for ac_exec_ext in '' $ac_executable_extensions; do
5772 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5773 ac_cv_prog_PKG_CONFIG="pkg-config"
5774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5775 break 2
5777 done
5778 done
5779 IFS=$as_save_IFS
5783 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5784 if test -n "$PKG_CONFIG"; then
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5786 $as_echo "$PKG_CONFIG" >&6; }
5787 else
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5789 $as_echo "no" >&6; }
5794 else
5795 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5798 if test "x$enable_maintainer_mode" != "xyes"
5799 then
5800 FONTFORGE=""
5801 RSVG=""
5802 CONVERT=""
5803 ICOTOOL=""
5804 else
5805 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5806 for ac_prog in fontforge
5808 # Extract the first word of "$ac_prog", so it can be a program name with args.
5809 set dummy $ac_prog; ac_word=$2
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5811 $as_echo_n "checking for $ac_word... " >&6; }
5812 if ${ac_cv_prog_FONTFORGE+:} false; then :
5813 $as_echo_n "(cached) " >&6
5814 else
5815 if test -n "$FONTFORGE"; then
5816 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5817 else
5818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5819 for as_dir in $PATH
5821 IFS=$as_save_IFS
5822 test -z "$as_dir" && as_dir=.
5823 for ac_exec_ext in '' $ac_executable_extensions; do
5824 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5825 ac_cv_prog_FONTFORGE="$ac_prog"
5826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5827 break 2
5829 done
5830 done
5831 IFS=$as_save_IFS
5835 FONTFORGE=$ac_cv_prog_FONTFORGE
5836 if test -n "$FONTFORGE"; then
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5838 $as_echo "$FONTFORGE" >&6; }
5839 else
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5841 $as_echo "no" >&6; }
5845 test -n "$FONTFORGE" && break
5846 done
5847 test -n "$FONTFORGE" || FONTFORGE="false"
5849 for ac_prog in rsvg-convert rsvg
5851 # Extract the first word of "$ac_prog", so it can be a program name with args.
5852 set dummy $ac_prog; ac_word=$2
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5854 $as_echo_n "checking for $ac_word... " >&6; }
5855 if ${ac_cv_prog_RSVG+:} false; then :
5856 $as_echo_n "(cached) " >&6
5857 else
5858 if test -n "$RSVG"; then
5859 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5860 else
5861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5862 for as_dir in $PATH
5864 IFS=$as_save_IFS
5865 test -z "$as_dir" && as_dir=.
5866 for ac_exec_ext in '' $ac_executable_extensions; do
5867 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5868 ac_cv_prog_RSVG="$ac_prog"
5869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5870 break 2
5872 done
5873 done
5874 IFS=$as_save_IFS
5878 RSVG=$ac_cv_prog_RSVG
5879 if test -n "$RSVG"; then
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5881 $as_echo "$RSVG" >&6; }
5882 else
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5884 $as_echo "no" >&6; }
5888 test -n "$RSVG" && break
5889 done
5890 test -n "$RSVG" || RSVG="false"
5892 for ac_prog in convert
5894 # Extract the first word of "$ac_prog", so it can be a program name with args.
5895 set dummy $ac_prog; ac_word=$2
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5897 $as_echo_n "checking for $ac_word... " >&6; }
5898 if ${ac_cv_prog_CONVERT+:} false; then :
5899 $as_echo_n "(cached) " >&6
5900 else
5901 if test -n "$CONVERT"; then
5902 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5903 else
5904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5905 for as_dir in $PATH
5907 IFS=$as_save_IFS
5908 test -z "$as_dir" && as_dir=.
5909 for ac_exec_ext in '' $ac_executable_extensions; do
5910 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5911 ac_cv_prog_CONVERT="$ac_prog"
5912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5913 break 2
5915 done
5916 done
5917 IFS=$as_save_IFS
5921 CONVERT=$ac_cv_prog_CONVERT
5922 if test -n "$CONVERT"; then
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5924 $as_echo "$CONVERT" >&6; }
5925 else
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5927 $as_echo "no" >&6; }
5931 test -n "$CONVERT" && break
5932 done
5933 test -n "$CONVERT" || CONVERT="false"
5935 for ac_prog in icotool
5937 # Extract the first word of "$ac_prog", so it can be a program name with args.
5938 set dummy $ac_prog; ac_word=$2
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5940 $as_echo_n "checking for $ac_word... " >&6; }
5941 if ${ac_cv_prog_ICOTOOL+:} false; then :
5942 $as_echo_n "(cached) " >&6
5943 else
5944 if test -n "$ICOTOOL"; then
5945 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5946 else
5947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5948 for as_dir in $PATH
5950 IFS=$as_save_IFS
5951 test -z "$as_dir" && as_dir=.
5952 for ac_exec_ext in '' $ac_executable_extensions; do
5953 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5954 ac_cv_prog_ICOTOOL="$ac_prog"
5955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5956 break 2
5958 done
5959 done
5960 IFS=$as_save_IFS
5964 ICOTOOL=$ac_cv_prog_ICOTOOL
5965 if test -n "$ICOTOOL"; then
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5967 $as_echo "$ICOTOOL" >&6; }
5968 else
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5970 $as_echo "no" >&6; }
5974 test -n "$ICOTOOL" && break
5975 done
5976 test -n "$ICOTOOL" || ICOTOOL="false"
5978 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5979 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5981 if test "$CONVERT" = false
5982 then
5983 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5984 else
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5986 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5987 convert_version=`convert --version | head -n1`
5988 if test "x$convert_version" != "x"
5989 then
5990 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5991 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5992 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5993 then
5994 CONVERT=false
5997 if test "$CONVERT" = false
5998 then
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6000 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6001 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6002 else
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6004 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6008 if test "$ICOTOOL" = false
6009 then
6010 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6011 else
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6013 $as_echo_n "checking for recent enough icotool... " >&6; }
6014 icotool_version=`icotool --version | head -n1`
6015 if test "x$icotool_version" != "x"
6016 then
6017 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6018 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6019 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6020 then
6021 ICOTOOL=false
6022 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6025 if test "$ICOTOOL" = false
6026 then
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6028 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6029 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6030 else
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6032 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6036 with_gettext=yes
6037 with_gettextpo=yes
6038 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6041 test "x$with_gettext" != xno || MSGFMT=false
6042 if test "$MSGFMT" != "false"
6043 then
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6045 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6046 cat >conftest.po <<EOF
6047 # comment
6048 msgctxt "ctxt"
6049 msgid "id"
6050 msgstr "str"
6052 if $MSGFMT -o /dev/null conftest.po 2>&5
6053 then
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6055 $as_echo "yes" >&6; }
6056 else
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6058 $as_echo "no" >&6; }
6059 MSGFMT=false
6062 if test "$MSGFMT" = false; then :
6063 case "x$with_gettext" in
6064 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6065 xno) ;;
6066 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6067 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6068 esac
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6073 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6074 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6075 $as_echo_n "(cached) " >&6
6076 else
6077 ac_check_lib_save_LIBS=$LIBS
6078 LIBS="-li386 $LIBS"
6079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6080 /* end confdefs.h. */
6082 /* Override any GCC internal prototype to avoid an error.
6083 Use char because int might match the return type of a GCC
6084 builtin and then its argument prototype would still apply. */
6085 #ifdef __cplusplus
6086 extern "C"
6087 #endif
6088 char i386_set_ldt ();
6090 main ()
6092 return i386_set_ldt ();
6094 return 0;
6096 _ACEOF
6097 if ac_fn_c_try_link "$LINENO"; then :
6098 ac_cv_lib_i386_i386_set_ldt=yes
6099 else
6100 ac_cv_lib_i386_i386_set_ldt=no
6102 rm -f core conftest.err conftest.$ac_objext \
6103 conftest$ac_exeext conftest.$ac_ext
6104 LIBS=$ac_check_lib_save_LIBS
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6107 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6108 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6109 cat >>confdefs.h <<_ACEOF
6110 #define HAVE_LIBI386 1
6111 _ACEOF
6113 LIBS="-li386 $LIBS"
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6118 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6119 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6120 $as_echo_n "(cached) " >&6
6121 else
6122 ac_check_lib_save_LIBS=$LIBS
6123 LIBS="-lossaudio $LIBS"
6124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6125 /* end confdefs.h. */
6127 /* Override any GCC internal prototype to avoid an error.
6128 Use char because int might match the return type of a GCC
6129 builtin and then its argument prototype would still apply. */
6130 #ifdef __cplusplus
6131 extern "C"
6132 #endif
6133 char _oss_ioctl ();
6135 main ()
6137 return _oss_ioctl ();
6139 return 0;
6141 _ACEOF
6142 if ac_fn_c_try_link "$LINENO"; then :
6143 ac_cv_lib_ossaudio__oss_ioctl=yes
6144 else
6145 ac_cv_lib_ossaudio__oss_ioctl=no
6147 rm -f core conftest.err conftest.$ac_objext \
6148 conftest$ac_exeext conftest.$ac_ext
6149 LIBS=$ac_check_lib_save_LIBS
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6152 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6153 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6154 cat >>confdefs.h <<_ACEOF
6155 #define HAVE_LIBOSSAUDIO 1
6156 _ACEOF
6158 LIBS="-lossaudio $LIBS"
6163 OPENGL_LIBS=""
6167 # Check whether --enable-largefile was given.
6168 if test "${enable_largefile+set}" = set; then :
6169 enableval=$enable_largefile;
6172 if test "$enable_largefile" != no; then
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6175 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6176 if ${ac_cv_sys_largefile_CC+:} false; then :
6177 $as_echo_n "(cached) " >&6
6178 else
6179 ac_cv_sys_largefile_CC=no
6180 if test "$GCC" != yes; then
6181 ac_save_CC=$CC
6182 while :; do
6183 # IRIX 6.2 and later do not support large files by default,
6184 # so use the C compiler's -n32 option if that helps.
6185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6186 /* end confdefs.h. */
6187 #include <sys/types.h>
6188 /* Check that off_t can represent 2**63 - 1 correctly.
6189 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6190 since some C++ compilers masquerading as C compilers
6191 incorrectly reject 9223372036854775807. */
6192 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6193 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6194 && LARGE_OFF_T % 2147483647 == 1)
6195 ? 1 : -1];
6197 main ()
6201 return 0;
6203 _ACEOF
6204 if ac_fn_c_try_compile "$LINENO"; then :
6205 break
6207 rm -f core conftest.err conftest.$ac_objext
6208 CC="$CC -n32"
6209 if ac_fn_c_try_compile "$LINENO"; then :
6210 ac_cv_sys_largefile_CC=' -n32'; break
6212 rm -f core conftest.err conftest.$ac_objext
6213 break
6214 done
6215 CC=$ac_save_CC
6216 rm -f conftest.$ac_ext
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6220 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6221 if test "$ac_cv_sys_largefile_CC" != no; then
6222 CC=$CC$ac_cv_sys_largefile_CC
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6226 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6227 if ${ac_cv_sys_file_offset_bits+:} false; then :
6228 $as_echo_n "(cached) " >&6
6229 else
6230 while :; do
6231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6232 /* end confdefs.h. */
6233 #include <sys/types.h>
6234 /* Check that off_t can represent 2**63 - 1 correctly.
6235 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6236 since some C++ compilers masquerading as C compilers
6237 incorrectly reject 9223372036854775807. */
6238 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6239 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6240 && LARGE_OFF_T % 2147483647 == 1)
6241 ? 1 : -1];
6243 main ()
6247 return 0;
6249 _ACEOF
6250 if ac_fn_c_try_compile "$LINENO"; then :
6251 ac_cv_sys_file_offset_bits=no; break
6253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6255 /* end confdefs.h. */
6256 #define _FILE_OFFSET_BITS 64
6257 #include <sys/types.h>
6258 /* Check that off_t can represent 2**63 - 1 correctly.
6259 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6260 since some C++ compilers masquerading as C compilers
6261 incorrectly reject 9223372036854775807. */
6262 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6263 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6264 && LARGE_OFF_T % 2147483647 == 1)
6265 ? 1 : -1];
6267 main ()
6271 return 0;
6273 _ACEOF
6274 if ac_fn_c_try_compile "$LINENO"; then :
6275 ac_cv_sys_file_offset_bits=64; break
6277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6278 ac_cv_sys_file_offset_bits=unknown
6279 break
6280 done
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6283 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6284 case $ac_cv_sys_file_offset_bits in #(
6285 no | unknown) ;;
6287 cat >>confdefs.h <<_ACEOF
6288 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6289 _ACEOF
6291 esac
6292 rm -rf conftest*
6293 if test $ac_cv_sys_file_offset_bits = unknown; then
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6295 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6296 if ${ac_cv_sys_large_files+:} false; then :
6297 $as_echo_n "(cached) " >&6
6298 else
6299 while :; do
6300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6301 /* end confdefs.h. */
6302 #include <sys/types.h>
6303 /* Check that off_t can represent 2**63 - 1 correctly.
6304 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6305 since some C++ compilers masquerading as C compilers
6306 incorrectly reject 9223372036854775807. */
6307 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6308 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6309 && LARGE_OFF_T % 2147483647 == 1)
6310 ? 1 : -1];
6312 main ()
6316 return 0;
6318 _ACEOF
6319 if ac_fn_c_try_compile "$LINENO"; then :
6320 ac_cv_sys_large_files=no; break
6322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6324 /* end confdefs.h. */
6325 #define _LARGE_FILES 1
6326 #include <sys/types.h>
6327 /* Check that off_t can represent 2**63 - 1 correctly.
6328 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6329 since some C++ compilers masquerading as C compilers
6330 incorrectly reject 9223372036854775807. */
6331 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6332 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6333 && LARGE_OFF_T % 2147483647 == 1)
6334 ? 1 : -1];
6336 main ()
6340 return 0;
6342 _ACEOF
6343 if ac_fn_c_try_compile "$LINENO"; then :
6344 ac_cv_sys_large_files=1; break
6346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6347 ac_cv_sys_large_files=unknown
6348 break
6349 done
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6352 $as_echo "$ac_cv_sys_large_files" >&6; }
6353 case $ac_cv_sys_large_files in #(
6354 no | unknown) ;;
6356 cat >>confdefs.h <<_ACEOF
6357 #define _LARGE_FILES $ac_cv_sys_large_files
6358 _ACEOF
6360 esac
6361 rm -rf conftest*
6368 ac_ext=c
6369 ac_cpp='$CPP $CPPFLAGS'
6370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6374 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6375 # On Suns, sometimes $CPP names a directory.
6376 if test -n "$CPP" && test -d "$CPP"; then
6377 CPP=
6379 if test -z "$CPP"; then
6380 if ${ac_cv_prog_CPP+:} false; then :
6381 $as_echo_n "(cached) " >&6
6382 else
6383 # Double quotes because CPP needs to be expanded
6384 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6386 ac_preproc_ok=false
6387 for ac_c_preproc_warn_flag in '' yes
6389 # Use a header file that comes with gcc, so configuring glibc
6390 # with a fresh cross-compiler works.
6391 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6392 # <limits.h> exists even on freestanding compilers.
6393 # On the NeXT, cc -E runs the code through the compiler's parser,
6394 # not just through cpp. "Syntax error" is here to catch this case.
6395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6396 /* end confdefs.h. */
6397 #ifdef __STDC__
6398 # include <limits.h>
6399 #else
6400 # include <assert.h>
6401 #endif
6402 Syntax error
6403 _ACEOF
6404 if ac_fn_c_try_cpp "$LINENO"; then :
6406 else
6407 # Broken: fails on valid input.
6408 continue
6410 rm -f conftest.err conftest.i conftest.$ac_ext
6412 # OK, works on sane cases. Now check whether nonexistent headers
6413 # can be detected and how.
6414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6415 /* end confdefs.h. */
6416 #include <ac_nonexistent.h>
6417 _ACEOF
6418 if ac_fn_c_try_cpp "$LINENO"; then :
6419 # Broken: success on invalid input.
6420 continue
6421 else
6422 # Passes both tests.
6423 ac_preproc_ok=:
6424 break
6426 rm -f conftest.err conftest.i conftest.$ac_ext
6428 done
6429 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6430 rm -f conftest.i conftest.err conftest.$ac_ext
6431 if $ac_preproc_ok; then :
6432 break
6435 done
6436 ac_cv_prog_CPP=$CPP
6439 CPP=$ac_cv_prog_CPP
6440 else
6441 ac_cv_prog_CPP=$CPP
6443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6444 $as_echo "$CPP" >&6; }
6445 ac_preproc_ok=false
6446 for ac_c_preproc_warn_flag in '' yes
6448 # Use a header file that comes with gcc, so configuring glibc
6449 # with a fresh cross-compiler works.
6450 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6451 # <limits.h> exists even on freestanding compilers.
6452 # On the NeXT, cc -E runs the code through the compiler's parser,
6453 # not just through cpp. "Syntax error" is here to catch this case.
6454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6455 /* end confdefs.h. */
6456 #ifdef __STDC__
6457 # include <limits.h>
6458 #else
6459 # include <assert.h>
6460 #endif
6461 Syntax error
6462 _ACEOF
6463 if ac_fn_c_try_cpp "$LINENO"; then :
6465 else
6466 # Broken: fails on valid input.
6467 continue
6469 rm -f conftest.err conftest.i conftest.$ac_ext
6471 # OK, works on sane cases. Now check whether nonexistent headers
6472 # can be detected and how.
6473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6474 /* end confdefs.h. */
6475 #include <ac_nonexistent.h>
6476 _ACEOF
6477 if ac_fn_c_try_cpp "$LINENO"; then :
6478 # Broken: success on invalid input.
6479 continue
6480 else
6481 # Passes both tests.
6482 ac_preproc_ok=:
6483 break
6485 rm -f conftest.err conftest.i conftest.$ac_ext
6487 done
6488 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6489 rm -f conftest.i conftest.err conftest.$ac_ext
6490 if $ac_preproc_ok; then :
6492 else
6493 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6494 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6495 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6496 See \`config.log' for more details" "$LINENO" 5; }
6499 ac_ext=c
6500 ac_cpp='$CPP $CPPFLAGS'
6501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6507 $as_echo_n "checking for ANSI C header files... " >&6; }
6508 if ${ac_cv_header_stdc+:} false; then :
6509 $as_echo_n "(cached) " >&6
6510 else
6511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6512 /* end confdefs.h. */
6513 #include <stdlib.h>
6514 #include <stdarg.h>
6515 #include <string.h>
6516 #include <float.h>
6519 main ()
6523 return 0;
6525 _ACEOF
6526 if ac_fn_c_try_compile "$LINENO"; then :
6527 ac_cv_header_stdc=yes
6528 else
6529 ac_cv_header_stdc=no
6531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6533 if test $ac_cv_header_stdc = yes; then
6534 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6536 /* end confdefs.h. */
6537 #include <string.h>
6539 _ACEOF
6540 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6541 $EGREP "memchr" >/dev/null 2>&1; then :
6543 else
6544 ac_cv_header_stdc=no
6546 rm -f conftest*
6550 if test $ac_cv_header_stdc = yes; then
6551 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6553 /* end confdefs.h. */
6554 #include <stdlib.h>
6556 _ACEOF
6557 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6558 $EGREP "free" >/dev/null 2>&1; then :
6560 else
6561 ac_cv_header_stdc=no
6563 rm -f conftest*
6567 if test $ac_cv_header_stdc = yes; then
6568 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6569 if test "$cross_compiling" = yes; then :
6571 else
6572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6573 /* end confdefs.h. */
6574 #include <ctype.h>
6575 #include <stdlib.h>
6576 #if ((' ' & 0x0FF) == 0x020)
6577 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6578 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6579 #else
6580 # define ISLOWER(c) \
6581 (('a' <= (c) && (c) <= 'i') \
6582 || ('j' <= (c) && (c) <= 'r') \
6583 || ('s' <= (c) && (c) <= 'z'))
6584 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6585 #endif
6587 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6589 main ()
6591 int i;
6592 for (i = 0; i < 256; i++)
6593 if (XOR (islower (i), ISLOWER (i))
6594 || toupper (i) != TOUPPER (i))
6595 return 2;
6596 return 0;
6598 _ACEOF
6599 if ac_fn_c_try_run "$LINENO"; then :
6601 else
6602 ac_cv_header_stdc=no
6604 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6605 conftest.$ac_objext conftest.beam conftest.$ac_ext
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6611 $as_echo "$ac_cv_header_stdc" >&6; }
6612 if test $ac_cv_header_stdc = yes; then
6614 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6618 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6619 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6620 inttypes.h stdint.h unistd.h
6621 do :
6622 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6623 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6625 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6626 cat >>confdefs.h <<_ACEOF
6627 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6628 _ACEOF
6632 done
6635 for ac_header in \
6636 AL/al.h \
6637 ApplicationServices/ApplicationServices.h \
6638 AudioToolbox/AudioConverter.h \
6639 AudioUnit/AudioUnit.h \
6640 AudioUnit/AudioComponent.h \
6641 CL/cl.h \
6642 Carbon/Carbon.h \
6643 CoreAudio/CoreAudio.h \
6644 CoreServices/CoreServices.h \
6645 DiskArbitration/DiskArbitration.h \
6646 IOKit/IOKitLib.h \
6647 IOKit/hid/IOHIDLib.h \
6648 OpenAL/al.h \
6649 OpenCL/opencl.h \
6650 QuickTime/ImageCompression.h \
6651 Security/Security.h \
6652 alias.h \
6653 alsa/asoundlib.h \
6654 arpa/inet.h \
6655 arpa/nameser.h \
6656 asm/types.h \
6657 asm/user.h \
6658 curses.h \
6659 direct.h \
6660 dirent.h \
6661 dlfcn.h \
6662 elf.h \
6663 float.h \
6664 fnmatch.h \
6665 getopt.h \
6666 gettext-po.h \
6667 grp.h \
6668 gsm.h \
6669 gsm/gsm.h \
6670 ieeefp.h \
6671 inet/mib2.h \
6672 io.h \
6673 kstat.h \
6674 lber.h \
6675 ldap.h \
6676 libproc.h \
6677 link.h \
6678 linux/cdrom.h \
6679 linux/compiler.h \
6680 linux/filter.h \
6681 linux/hdreg.h \
6682 linux/input.h \
6683 linux/ioctl.h \
6684 linux/joystick.h \
6685 linux/major.h \
6686 linux/param.h \
6687 linux/serial.h \
6688 linux/types.h \
6689 linux/ucdrom.h \
6690 lwp.h \
6691 mach-o/nlist.h \
6692 mach-o/loader.h \
6693 mach/mach.h \
6694 mach/machine.h \
6695 machine/cpu.h \
6696 machine/limits.h \
6697 machine/sysarch.h \
6698 mntent.h \
6699 ncurses.h \
6700 netdb.h \
6701 netinet/in.h \
6702 netinet/in_systm.h \
6703 netinet/tcp.h \
6704 netinet/tcp_fsm.h \
6705 pcap/pcap.h \
6706 poll.h \
6707 port.h \
6708 process.h \
6709 pthread.h \
6710 pwd.h \
6711 sched.h \
6712 scsi/scsi.h \
6713 scsi/scsi_ioctl.h \
6714 scsi/sg.h \
6715 stdbool.h \
6716 stdint.h \
6717 stropts.h \
6718 sys/asoundlib.h \
6719 sys/attr.h \
6720 sys/cdio.h \
6721 sys/elf32.h \
6722 sys/epoll.h \
6723 sys/event.h \
6724 sys/exec_elf.h \
6725 sys/filio.h \
6726 sys/inotify.h \
6727 sys/ioctl.h \
6728 sys/ipc.h \
6729 sys/limits.h \
6730 sys/link.h \
6731 sys/mman.h \
6732 sys/modem.h \
6733 sys/msg.h \
6734 sys/mtio.h \
6735 sys/param.h \
6736 sys/poll.h \
6737 sys/prctl.h \
6738 sys/protosw.h \
6739 sys/ptrace.h \
6740 sys/queue.h \
6741 sys/resource.h \
6742 sys/scsiio.h \
6743 sys/shm.h \
6744 sys/signal.h \
6745 sys/socket.h \
6746 sys/socketvar.h \
6747 sys/sockio.h \
6748 sys/statvfs.h \
6749 sys/strtio.h \
6750 sys/syscall.h \
6751 sys/tihdr.h \
6752 sys/time.h \
6753 sys/timeout.h \
6754 sys/times.h \
6755 sys/uio.h \
6756 sys/user.h \
6757 sys/utsname.h \
6758 sys/vm86.h \
6759 sys/vnode.h \
6760 sys/wait.h \
6761 syscall.h \
6762 termios.h \
6763 unistd.h \
6764 utime.h \
6765 valgrind/memcheck.h \
6766 valgrind/valgrind.h \
6767 zlib.h
6769 do :
6770 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6771 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6772 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6773 cat >>confdefs.h <<_ACEOF
6774 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6775 _ACEOF
6779 done
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6782 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6783 if ${ac_cv_header_stat_broken+:} false; then :
6784 $as_echo_n "(cached) " >&6
6785 else
6786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6787 /* end confdefs.h. */
6788 #include <sys/types.h>
6789 #include <sys/stat.h>
6791 #if defined S_ISBLK && defined S_IFDIR
6792 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6793 #endif
6795 #if defined S_ISBLK && defined S_IFCHR
6796 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6797 #endif
6799 #if defined S_ISLNK && defined S_IFREG
6800 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6801 #endif
6803 #if defined S_ISSOCK && defined S_IFREG
6804 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6805 #endif
6807 _ACEOF
6808 if ac_fn_c_try_compile "$LINENO"; then :
6809 ac_cv_header_stat_broken=no
6810 else
6811 ac_cv_header_stat_broken=yes
6813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6816 $as_echo "$ac_cv_header_stat_broken" >&6; }
6817 if test $ac_cv_header_stat_broken = yes; then
6819 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6825 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6826 do :
6827 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6828 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6829 #ifdef HAVE_SYS_PARAM_H
6830 # include <sys/param.h>
6831 #endif
6833 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6834 cat >>confdefs.h <<_ACEOF
6835 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6836 _ACEOF
6840 done
6843 for ac_header in \
6844 netinet/ip.h \
6845 net/if.h \
6846 net/if_arp.h \
6847 net/if_dl.h \
6848 net/if_types.h \
6849 net/route.h \
6850 netinet/if_ether.h \
6851 netinet/if_inarp.h \
6852 netinet/in_pcb.h \
6853 netinet/ip_icmp.h \
6854 netinet/ip_var.h \
6855 netinet/udp.h \
6856 netipx/ipx.h \
6857 sys/un.h \
6859 do :
6860 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6861 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6862 #ifdef HAVE_SYS_SOCKET_H
6863 # include <sys/socket.h>
6864 #endif
6865 #ifdef HAVE_SYS_SOCKETVAR_H
6866 # include <sys/socketvar.h>
6867 #endif
6868 #ifdef HAVE_NET_ROUTE_H
6869 # include <net/route.h>
6870 #endif
6871 #ifdef HAVE_NETINET_IN_H
6872 # include <netinet/in.h>
6873 #endif
6874 #ifdef HAVE_NETINET_IN_SYSTM_H
6875 # include <netinet/in_systm.h>
6876 #endif
6877 #ifdef HAVE_NET_IF_H
6878 # include <net/if.h>
6879 #endif
6880 #ifdef HAVE_NETINET_IP_H
6881 # include <netinet/ip.h>
6882 #endif
6884 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6885 cat >>confdefs.h <<_ACEOF
6886 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6887 _ACEOF
6891 done
6894 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6895 do :
6896 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6897 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6898 #ifdef HAVE_ALIAS_H
6899 # include <alias.h>
6900 #endif
6901 #ifdef HAVE_SYS_SOCKET_H
6902 # include <sys/socket.h>
6903 #endif
6904 #ifdef HAVE_SYS_SOCKETVAR_H
6905 # include <sys/socketvar.h>
6906 #endif
6907 #ifdef HAVE_SYS_TIMEOUT_H
6908 # include <sys/timeout.h>
6909 #endif
6910 #ifdef HAVE_NETINET_IN_H
6911 # include <netinet/in.h>
6912 #endif
6913 #ifdef HAVE_NETINET_IN_SYSTM_H
6914 # include <netinet/in_systm.h>
6915 #endif
6916 #ifdef HAVE_NETINET_IP_H
6917 # include <netinet/ip.h>
6918 #endif
6919 #ifdef HAVE_NETINET_IP_VAR_H
6920 # include <netinet/ip_var.h>
6921 #endif
6922 #ifdef HAVE_NETINET_IP_ICMP_H
6923 # include <netinet/ip_icmp.h>
6924 #endif
6925 #ifdef HAVE_NETINET_UDP_H
6926 # include <netinet/udp.h>
6927 #endif
6928 #ifdef HAVE_NETINET_TCP_H
6929 # include <netinet/tcp.h>
6930 #endif
6931 #ifdef HAVE_NETINET_TCP_TIMER_H
6932 #include <netinet/tcp_timer.h>
6933 #endif
6935 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6936 cat >>confdefs.h <<_ACEOF
6937 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6938 _ACEOF
6942 done
6945 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6946 do :
6947 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6948 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6949 #ifdef HAVE_ASM_TYPES_H
6950 # include <asm/types.h>
6951 #endif
6952 #ifdef HAVE_SYS_SOCKET_H
6953 # include <sys/socket.h>
6954 #endif
6955 #ifdef HAVE_LINUX_TYPES_H
6956 # include <linux/types.h>
6957 #endif
6959 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6960 cat >>confdefs.h <<_ACEOF
6961 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6962 _ACEOF
6966 done
6969 for ac_header in mach-o/dyld_images.h
6970 do :
6971 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6972 # include <stdbool.h>
6973 #endif
6974 #ifdef HAVE_STDINT_H
6975 # include <stdint.h>
6976 #endif
6978 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6979 cat >>confdefs.h <<_ACEOF
6980 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6981 _ACEOF
6985 done
6988 for ac_header in resolv.h
6989 do :
6990 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6991 #ifdef HAVE_SYS_SOCKET_H
6992 # include <sys/socket.h>
6993 #endif
6994 #ifdef HAVE_NETINET_IN_H
6995 # include <netinet/in.h>
6996 #endif
6997 #ifdef HAVE_ARPA_NAMESER_H
6998 # include <arpa/nameser.h>
6999 #endif
7001 if test "x$ac_cv_header_resolv_h" = xyes; then :
7002 cat >>confdefs.h <<_ACEOF
7003 #define HAVE_RESOLV_H 1
7004 _ACEOF
7008 done
7011 for ac_header in ifaddrs.h
7012 do :
7013 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7015 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7016 cat >>confdefs.h <<_ACEOF
7017 #define HAVE_IFADDRS_H 1
7018 _ACEOF
7022 done
7025 for ac_header in sys/ucontext.h
7026 do :
7027 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7029 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7030 cat >>confdefs.h <<_ACEOF
7031 #define HAVE_SYS_UCONTEXT_H 1
7032 _ACEOF
7036 done
7039 for ac_header in sys/thr.h
7040 do :
7041 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7042 #ifdef HAVE_SYS_UCONTEXT_H
7043 #include <sys/ucontext.h>
7044 #endif
7046 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7047 cat >>confdefs.h <<_ACEOF
7048 #define HAVE_SYS_THR_H 1
7049 _ACEOF
7053 done
7056 for ac_header in pthread_np.h
7057 do :
7058 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7059 #include <pthread.h>
7060 #endif
7062 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7063 cat >>confdefs.h <<_ACEOF
7064 #define HAVE_PTHREAD_NP_H 1
7065 _ACEOF
7069 done
7072 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7073 do :
7074 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7075 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7076 #include <sys/time.h>
7077 #endif
7078 #include <sys/types.h>
7079 #ifdef HAVE_ASM_TYPES_H
7080 #include <asm/types.h>
7081 #endif
7083 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7084 cat >>confdefs.h <<_ACEOF
7085 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7086 _ACEOF
7090 done
7093 for ac_header in libprocstat.h
7094 do :
7095 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7096 #include <sys/param.h>
7097 #endif
7098 #ifdef HAVE_SYS_QUEUE_H
7099 #include <sys/queue.h>
7100 #endif
7101 #ifdef HAVE_SYS_SOCKET_H
7102 #include <sys/socket.h>
7103 #endif
7105 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7106 cat >>confdefs.h <<_ACEOF
7107 #define HAVE_LIBPROCSTAT_H 1
7108 _ACEOF
7112 done
7116 dlldir="\${libdir}/wine"
7118 DLLPREFIX=""
7120 DLLFLAGS="-D_REENTRANT"
7122 LDRPATH_INSTALL=""
7124 LDRPATH_LOCAL=""
7126 LIBEXT="so"
7127 DLLEXT=".so"
7128 IMPLIBEXT="def"
7129 STATIC_IMPLIBEXT="def.a"
7130 # Extract the first word of "ldd", so it can be a program name with args.
7131 set dummy ldd; ac_word=$2
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7133 $as_echo_n "checking for $ac_word... " >&6; }
7134 if ${ac_cv_path_LDD+:} false; then :
7135 $as_echo_n "(cached) " >&6
7136 else
7137 case $LDD in
7138 [\\/]* | ?:[\\/]*)
7139 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7143 as_dummy="/sbin:/usr/sbin:$PATH"
7144 for as_dir in $as_dummy
7146 IFS=$as_save_IFS
7147 test -z "$as_dir" && as_dir=.
7148 for ac_exec_ext in '' $ac_executable_extensions; do
7149 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7150 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7152 break 2
7154 done
7155 done
7156 IFS=$as_save_IFS
7158 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7160 esac
7162 LDD=$ac_cv_path_LDD
7163 if test -n "$LDD"; then
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7165 $as_echo "$LDD" >&6; }
7166 else
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7168 $as_echo "no" >&6; }
7172 if test -n "$ac_tool_prefix"; then
7173 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7174 set dummy ${ac_tool_prefix}otool; ac_word=$2
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7176 $as_echo_n "checking for $ac_word... " >&6; }
7177 if ${ac_cv_prog_OTOOL+:} false; then :
7178 $as_echo_n "(cached) " >&6
7179 else
7180 if test -n "$OTOOL"; then
7181 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7182 else
7183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7184 for as_dir in $PATH
7186 IFS=$as_save_IFS
7187 test -z "$as_dir" && as_dir=.
7188 for ac_exec_ext in '' $ac_executable_extensions; do
7189 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7190 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7192 break 2
7194 done
7195 done
7196 IFS=$as_save_IFS
7200 OTOOL=$ac_cv_prog_OTOOL
7201 if test -n "$OTOOL"; then
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7203 $as_echo "$OTOOL" >&6; }
7204 else
7205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7206 $as_echo "no" >&6; }
7211 if test -z "$ac_cv_prog_OTOOL"; then
7212 ac_ct_OTOOL=$OTOOL
7213 # Extract the first word of "otool", so it can be a program name with args.
7214 set dummy otool; ac_word=$2
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7216 $as_echo_n "checking for $ac_word... " >&6; }
7217 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7218 $as_echo_n "(cached) " >&6
7219 else
7220 if test -n "$ac_ct_OTOOL"; then
7221 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7222 else
7223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7224 for as_dir in $PATH
7226 IFS=$as_save_IFS
7227 test -z "$as_dir" && as_dir=.
7228 for ac_exec_ext in '' $ac_executable_extensions; do
7229 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7230 ac_cv_prog_ac_ct_OTOOL="otool"
7231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7232 break 2
7234 done
7235 done
7236 IFS=$as_save_IFS
7240 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7241 if test -n "$ac_ct_OTOOL"; then
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7243 $as_echo "$ac_ct_OTOOL" >&6; }
7244 else
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7246 $as_echo "no" >&6; }
7249 if test "x$ac_ct_OTOOL" = x; then
7250 OTOOL="otool"
7251 else
7252 case $cross_compiling:$ac_tool_warned in
7253 yes:)
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7255 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7256 ac_tool_warned=yes ;;
7257 esac
7258 OTOOL=$ac_ct_OTOOL
7260 else
7261 OTOOL="$ac_cv_prog_OTOOL"
7264 if test -n "$ac_tool_prefix"; then
7265 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7266 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7268 $as_echo_n "checking for $ac_word... " >&6; }
7269 if ${ac_cv_prog_READELF+:} false; then :
7270 $as_echo_n "(cached) " >&6
7271 else
7272 if test -n "$READELF"; then
7273 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7274 else
7275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7276 for as_dir in $PATH
7278 IFS=$as_save_IFS
7279 test -z "$as_dir" && as_dir=.
7280 for ac_exec_ext in '' $ac_executable_extensions; do
7281 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7282 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7284 break 2
7286 done
7287 done
7288 IFS=$as_save_IFS
7292 READELF=$ac_cv_prog_READELF
7293 if test -n "$READELF"; then
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7295 $as_echo "$READELF" >&6; }
7296 else
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7298 $as_echo "no" >&6; }
7303 if test -z "$ac_cv_prog_READELF"; then
7304 ac_ct_READELF=$READELF
7305 # Extract the first word of "readelf", so it can be a program name with args.
7306 set dummy readelf; ac_word=$2
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7308 $as_echo_n "checking for $ac_word... " >&6; }
7309 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7310 $as_echo_n "(cached) " >&6
7311 else
7312 if test -n "$ac_ct_READELF"; then
7313 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7314 else
7315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7316 for as_dir in $PATH
7318 IFS=$as_save_IFS
7319 test -z "$as_dir" && as_dir=.
7320 for ac_exec_ext in '' $ac_executable_extensions; do
7321 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7322 ac_cv_prog_ac_ct_READELF="readelf"
7323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7324 break 2
7326 done
7327 done
7328 IFS=$as_save_IFS
7332 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7333 if test -n "$ac_ct_READELF"; then
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7335 $as_echo "$ac_ct_READELF" >&6; }
7336 else
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7338 $as_echo "no" >&6; }
7341 if test "x$ac_ct_READELF" = x; then
7342 READELF="true"
7343 else
7344 case $cross_compiling:$ac_tool_warned in
7345 yes:)
7346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7347 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7348 ac_tool_warned=yes ;;
7349 esac
7350 READELF=$ac_ct_READELF
7352 else
7353 READELF="$ac_cv_prog_READELF"
7356 wine_rules_file=conf$$rules.make
7357 rm -f $wine_rules_file
7358 ALL_POT_FILES=""
7359 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7360 ALL_TEST_RESOURCES=""
7363 wine_fn_append_file ()
7365 as_fn_append $1 " \\$as_nl $2"
7368 wine_fn_ignore_file ()
7370 case "$1" in
7371 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7372 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7373 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7374 esac
7377 wine_fn_append_rule ()
7379 $as_echo "$1" >>$wine_rules_file
7382 wine_fn_has_flag ()
7384 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7387 wine_fn_depend_rules ()
7389 wine_fn_append_rule \
7390 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7391 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7392 depend: $ac_dir/depend
7393 .PHONY: $ac_dir/depend
7394 $ac_dir/depend: \$(MAKEDEP) dummy
7395 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7398 wine_fn_pot_rules ()
7400 test "x$with_gettextpo" = xyes || return
7402 if wine_fn_has_flag mc
7403 then
7404 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7405 wine_fn_append_rule \
7406 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7407 @cd $ac_dir && \$(MAKE) msg.pot
7408 $ac_dir/msg.pot: tools/wmc include"
7410 if wine_fn_has_flag po
7411 then
7412 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7413 wine_fn_append_rule \
7414 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7415 @cd $ac_dir && \$(MAKE) rsrc.pot
7416 $ac_dir/rsrc.pot: tools/wrc include"
7420 wine_fn_all_rules ()
7422 wine_fn_depend_rules
7423 wine_fn_append_rule \
7424 "all: $ac_dir
7425 .PHONY: $ac_dir
7426 $ac_dir: $ac_dir/Makefile dummy
7427 @cd $ac_dir && \$(MAKE)"
7430 wine_fn_install_rules ()
7432 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7434 wine_fn_append_rule \
7435 ".PHONY: $ac_dir/install $ac_dir/uninstall
7436 $ac_dir/install:: $ac_dir
7437 @cd $ac_dir && \$(MAKE) install
7438 $ac_dir/uninstall:: $ac_dir/Makefile
7439 @cd $ac_dir && \$(MAKE) uninstall
7440 install:: $ac_dir/install
7441 __uninstall__: $ac_dir/uninstall"
7443 if wine_fn_has_flag install-lib
7444 then
7445 wine_fn_append_rule \
7446 ".PHONY: $ac_dir/install-lib
7447 $ac_dir/install-lib:: $ac_dir
7448 @cd $ac_dir && \$(MAKE) install-lib
7449 install-lib:: $ac_dir/install-lib"
7452 if wine_fn_has_flag install-dev
7453 then
7454 wine_fn_append_rule \
7455 ".PHONY: $ac_dir/install-dev
7456 $ac_dir/install-dev:: $ac_dir
7457 @cd $ac_dir && \$(MAKE) install-dev
7458 install-dev:: $ac_dir/install-dev"
7462 wine_fn_clean_rules ()
7464 ac_clean=$@
7465 ac_extraclean="$ac_dir/Makefile"
7466 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7467 case $ac_dir in
7468 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7469 esac
7471 if wine_fn_has_flag clean
7472 then
7473 wine_fn_append_rule \
7474 "__clean__: $ac_dir/clean
7475 .PHONY: $ac_dir/clean
7476 $ac_dir/clean: $ac_dir/Makefile
7477 @cd $ac_dir && \$(MAKE) clean
7478 \$(RM) $ac_extraclean"
7479 else
7480 wine_fn_append_rule \
7481 "__clean__: $ac_dir/clean
7482 .PHONY: $ac_dir/clean
7483 $ac_dir/clean: dummy
7484 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7488 wine_fn_disabled_rules ()
7490 ac_clean=$@
7491 ac_extraclean="$ac_dir/Makefile"
7492 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7494 wine_fn_append_rule \
7495 "__clean__: $ac_dir/clean
7496 .PHONY: $ac_dir/clean
7497 $ac_dir/clean: dummy
7498 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7501 wine_fn_config_makefile ()
7503 ac_dir=$1
7504 ac_enable=$2
7505 ac_flags=$3
7507 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7508 wine_fn_disabled_rules; return
7510 wine_fn_all_rules
7511 wine_fn_install_rules
7512 wine_fn_clean_rules
7515 wine_fn_config_lib ()
7517 ac_name=$1
7518 ac_flags=$2
7519 ac_dir=dlls/$ac_name
7520 ac_deps="include"
7522 if test "x$enable_tools" = xno; then :
7524 else
7525 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7527 wine_fn_all_rules
7528 wine_fn_clean_rules
7530 wine_fn_append_rule \
7531 ".PHONY: $ac_dir/install $ac_dir/uninstall
7532 $ac_dir/install:: $ac_dir
7533 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7534 $ac_dir/uninstall::
7535 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7536 install install-dev:: $ac_dir/install
7537 __uninstall__: $ac_dir/uninstall
7538 __builddeps__: $ac_dir
7539 $ac_dir: $ac_deps"
7542 wine_fn_config_dll ()
7544 ac_name=$1
7545 ac_dir=dlls/$ac_name
7546 ac_enable=$2
7547 ac_flags=$3
7548 ac_implib=${4:-$ac_name}
7549 ac_file=$ac_dir/lib$ac_implib
7550 ac_dll=$ac_name
7551 ac_deps="include"
7552 ac_implibflags=""
7554 if test "x$enable_tools" = xno; then :
7556 else
7557 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7559 case $ac_name in
7560 *16) ac_implibflags=" -m16" ;;
7561 *.*) ;;
7562 *) ac_dll=$ac_dll.dll ;;
7563 esac
7565 ac_clean=
7566 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7567 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7568 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7569 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7571 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7572 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7573 then
7574 wine_fn_depend_rules
7575 wine_fn_clean_rules $ac_clean
7576 else
7577 wine_fn_disabled_rules $ac_clean
7578 return
7580 else
7581 wine_fn_all_rules
7582 wine_fn_clean_rules $ac_clean
7583 wine_fn_append_rule \
7584 "$ac_dir: __builddeps__
7585 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7586 @cd $ac_dir && \$(MAKE) \$@
7587 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7588 install install-lib:: $ac_dir/install-lib
7589 __uninstall__: $ac_dir/uninstall"
7590 if test -n "$DLLEXT"
7591 then
7592 wine_fn_append_rule \
7593 "$ac_dir/install-lib:: $ac_dir
7594 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7595 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7596 $ac_dir/uninstall::
7597 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7598 else
7599 wine_fn_append_rule \
7600 "$ac_dir/install-lib:: $ac_dir
7601 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7602 $ac_dir/uninstall::
7603 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7606 wine_fn_pot_rules
7609 if wine_fn_has_flag staticimplib
7610 then
7611 wine_fn_append_rule \
7612 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7613 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7614 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7615 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7616 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7617 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7618 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7619 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7620 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7621 $ac_dir/uninstall::
7622 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7623 install install-dev:: $ac_dir/install-dev
7624 __uninstall__: $ac_dir/uninstall"
7626 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7627 then
7628 wine_fn_append_rule \
7629 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7630 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7631 $ac_dir/uninstall::
7632 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7635 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7636 then
7637 wine_fn_append_rule \
7638 "__builddeps__: $ac_file.cross.a
7639 $ac_file.cross.a: $ac_dir/Makefile dummy
7640 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7643 elif wine_fn_has_flag implib
7644 then
7645 wine_fn_append_rule \
7646 "__builddeps__: $ac_file.$IMPLIBEXT
7647 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7648 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7649 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7650 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7651 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7652 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7653 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7654 $ac_dir/uninstall::
7655 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7656 install install-dev:: $ac_dir/install-dev
7657 __uninstall__: $ac_dir/uninstall"
7658 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7659 then
7660 wine_fn_append_rule \
7661 "__builddeps__: $ac_file.cross.a
7662 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7663 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7666 if test "$ac_name" != "$ac_implib"
7667 then
7668 wine_fn_append_rule \
7669 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7670 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7671 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7672 clean::
7673 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7674 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7675 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7676 then
7677 wine_fn_append_rule \
7678 "__builddeps__: dlls/lib$ac_implib.cross.a
7679 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7680 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7681 clean::
7682 \$(RM) dlls/lib$ac_implib.cross.a"
7683 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7689 wine_fn_config_program ()
7691 ac_name=$1
7692 ac_dir=programs/$ac_name
7693 ac_enable=$2
7694 ac_flags=$3
7695 ac_program=$ac_name
7697 case $ac_name in
7698 *.*) ;;
7699 *) ac_program=$ac_program.exe ;;
7700 esac
7702 ac_clean=
7703 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7704 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7705 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7706 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7708 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7709 wine_fn_disabled_rules $ac_clean; return
7712 wine_fn_all_rules
7713 wine_fn_clean_rules $ac_clean
7714 wine_fn_append_rule "$ac_dir: __builddeps__"
7715 wine_fn_pot_rules
7717 wine_fn_has_flag install || return
7718 wine_fn_append_rule \
7719 ".PHONY: $ac_dir/install $ac_dir/uninstall
7720 install install-lib:: $ac_dir/install
7721 __uninstall__: $ac_dir/uninstall"
7723 if test -n "$DLLEXT"
7724 then
7725 wine_fn_append_rule \
7726 "$ac_dir/install:: $ac_dir
7727 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7728 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7729 $ac_dir/uninstall::
7730 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7732 if test -z "$with_wine64" && wine_fn_has_flag installbin
7733 then
7734 wine_fn_append_rule \
7735 "$ac_dir/install:: __tooldeps__
7736 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7737 $ac_dir/uninstall::
7738 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7740 else
7741 wine_fn_append_rule \
7742 "$ac_dir/install:: $ac_dir
7743 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7744 $ac_dir/uninstall::
7745 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7748 if test -z "$with_wine64" && wine_fn_has_flag manpage
7749 then
7750 wine_fn_append_rule \
7751 "$ac_dir/install:: $ac_dir
7752 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7753 $ac_dir/uninstall::
7754 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7758 wine_fn_config_test ()
7760 ac_dir=$1
7761 ac_name=$2
7762 ac_flags=$3
7764 ac_clean=
7765 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7766 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7768 if test "x$enable_tests" = xno; then :
7769 wine_fn_disabled_rules $ac_clean; return
7772 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7773 wine_fn_all_rules
7774 wine_fn_clean_rules $ac_clean
7776 wine_fn_append_rule \
7777 "$ac_dir: programs/winetest/Makefile __builddeps__
7778 programs/winetest: $ac_dir
7779 check test: $ac_dir/test
7780 .PHONY: $ac_dir/test
7781 $ac_dir/test: dummy
7782 @cd $ac_dir && \$(MAKE) test
7783 testclean::
7784 \$(RM) $ac_dir/*.ok"
7786 if test -n "$CROSSTARGET"
7787 then
7788 wine_fn_append_rule \
7789 "crosstest: $ac_dir/crosstest
7790 .PHONY: $ac_dir/crosstest
7791 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7792 @cd $ac_dir && \$(MAKE) crosstest"
7796 wine_fn_config_tool ()
7798 ac_dir=$1
7799 ac_flags=$2
7800 if test "x$enable_tools" = xno; then :
7801 return
7804 wine_fn_all_rules
7805 wine_fn_install_rules
7806 wine_fn_clean_rules
7808 wine_fn_append_rule "__tooldeps__: $ac_dir"
7809 wine_fn_append_rule "$ac_dir: libs/port"
7810 case $ac_dir in
7811 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7812 esac
7815 wine_fn_config_symlink ()
7817 ac_linkdir=
7818 if test "x$1" = "x-d"
7819 then
7820 ac_linkdir=$2
7821 shift; shift
7823 ac_links=$@
7824 wine_fn_append_rule \
7825 "$ac_links:
7826 @./config.status \$@
7827 distclean::
7828 \$(RM) $ac_links"
7829 for f in $ac_links; do wine_fn_ignore_file $f; done
7830 test -n "$ac_linkdir" || return
7831 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7834 wine_binary="wine"
7835 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7836 loader_programs="$wine_binary wine-installed"
7837 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7839 LOADER_RULES="
7840 all: wine.inf
7842 install install-lib:: wine-installed
7843 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7845 uninstall::
7846 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7850 case $host_os in
7851 cygwin*|mingw32*)
7852 if test -n "$ac_tool_prefix"; then
7853 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7854 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7856 $as_echo_n "checking for $ac_word... " >&6; }
7857 if ${ac_cv_prog_DLLTOOL+:} false; then :
7858 $as_echo_n "(cached) " >&6
7859 else
7860 if test -n "$DLLTOOL"; then
7861 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7862 else
7863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7864 for as_dir in $PATH
7866 IFS=$as_save_IFS
7867 test -z "$as_dir" && as_dir=.
7868 for ac_exec_ext in '' $ac_executable_extensions; do
7869 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7870 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7872 break 2
7874 done
7875 done
7876 IFS=$as_save_IFS
7880 DLLTOOL=$ac_cv_prog_DLLTOOL
7881 if test -n "$DLLTOOL"; then
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7883 $as_echo "$DLLTOOL" >&6; }
7884 else
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7886 $as_echo "no" >&6; }
7891 if test -z "$ac_cv_prog_DLLTOOL"; then
7892 ac_ct_DLLTOOL=$DLLTOOL
7893 # Extract the first word of "dlltool", so it can be a program name with args.
7894 set dummy dlltool; ac_word=$2
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7896 $as_echo_n "checking for $ac_word... " >&6; }
7897 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7898 $as_echo_n "(cached) " >&6
7899 else
7900 if test -n "$ac_ct_DLLTOOL"; then
7901 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7902 else
7903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7904 for as_dir in $PATH
7906 IFS=$as_save_IFS
7907 test -z "$as_dir" && as_dir=.
7908 for ac_exec_ext in '' $ac_executable_extensions; do
7909 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7910 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7912 break 2
7914 done
7915 done
7916 IFS=$as_save_IFS
7920 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7921 if test -n "$ac_ct_DLLTOOL"; then
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7923 $as_echo "$ac_ct_DLLTOOL" >&6; }
7924 else
7925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7926 $as_echo "no" >&6; }
7929 if test "x$ac_ct_DLLTOOL" = x; then
7930 DLLTOOL="false"
7931 else
7932 case $cross_compiling:$ac_tool_warned in
7933 yes:)
7934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7935 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7936 ac_tool_warned=yes ;;
7937 esac
7938 DLLTOOL=$ac_ct_DLLTOOL
7940 else
7941 DLLTOOL="$ac_cv_prog_DLLTOOL"
7944 LIBEXT="dll"
7945 DLLEXT=""
7946 IMPLIBEXT="a"
7947 STATIC_IMPLIBEXT="a"
7948 enable_iphlpapi=${enable_iphlpapi:-no}
7949 enable_kernel32=${enable_kernel32:-no}
7950 enable_msvcrt=${enable_msvcrt:-no}
7951 enable_ntdll=${enable_ntdll:-no}
7952 enable_ws2_32=${enable_ws2_32:-no}
7953 enable_loader=${enable_loader:-no}
7954 enable_server=${enable_server:-no}
7955 with_x=${with_x:-no}
7956 with_pthread=${with_pthread:-no}
7958 crtlibs=""
7959 case $host_os in
7960 mingw32*)
7961 crtlibs="-lmsvcrt"
7962 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7964 esac
7966 libwine_targets="libwine.dll libwine.a"
7967 LIBWINE_RULES="
7968 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7970 all: libwine.dll libwine.a
7972 libwine.a: \$(srcdir)/wine.def
7973 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7975 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7976 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7978 install install-lib:: libwine.dll
7979 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7981 install install-dev:: libwine.a
7982 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7984 uninstall::
7985 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7990 darwin*|macosx*)
7991 for ac_header in libunwind.h
7992 do :
7993 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7994 if test "x$ac_cv_header_libunwind_h" = xyes; then :
7995 cat >>confdefs.h <<_ACEOF
7996 #define HAVE_LIBUNWIND_H 1
7997 _ACEOF
8001 done
8003 LIBEXT="dylib"
8004 DLLFLAGS="$DLLFLAGS -fPIC"
8005 LIBWINE_LDFLAGS="-multiply_defined suppress"
8006 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8007 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8008 COREFOUNDATION_LIBS="-framework CoreFoundation"
8010 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8012 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8014 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8016 CORESERVICES_LIBS="-framework CoreServices"
8018 APPKIT_LIBS="-framework AppKit"
8020 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8022 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8023 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8024 $as_echo_n "(cached) " >&6
8025 else
8026 ac_wine_try_cflags_saved=$CFLAGS
8027 CFLAGS="$CFLAGS -Wl,-no_pie"
8028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8029 /* end confdefs.h. */
8030 int main(int argc, char **argv) { return 0; }
8031 _ACEOF
8032 if ac_fn_c_try_link "$LINENO"; then :
8033 ac_cv_cflags__Wl__no_pie=yes
8034 else
8035 ac_cv_cflags__Wl__no_pie=no
8037 rm -f core conftest.err conftest.$ac_objext \
8038 conftest$ac_exeext conftest.$ac_ext
8039 CFLAGS=$ac_wine_try_cflags_saved
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8042 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8043 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8044 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8046 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8047 then
8048 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8051 if test "$ac_cv_header_Security_Security_h" = "yes"
8052 then
8053 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8055 ac_save_LIBS="$LIBS"
8056 LIBS="$LIBS $SECURITY_LIBS"
8057 for ac_func in SSLCopyPeerCertificates
8058 do :
8059 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8060 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8061 cat >>confdefs.h <<_ACEOF
8062 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8063 _ACEOF
8066 done
8068 LIBS="$ac_save_LIBS"
8069 with_gnutls=${with_gnutls:-no}
8071 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8072 then
8073 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8074 then
8075 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8077 else
8078 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8081 ac_save_LIBS="$LIBS"
8082 LIBS="$LIBS $COREAUDIO_LIBS"
8083 for ac_func in AUGraphAddNode
8084 do :
8085 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8086 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8087 cat >>confdefs.h <<_ACEOF
8088 #define HAVE_AUGRAPHADDNODE 1
8089 _ACEOF
8092 done
8094 LIBS="$ac_save_LIBS"
8096 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8097 then
8098 OPENAL_LIBS="-framework OpenAL"
8101 cat >>confdefs.h <<_ACEOF
8102 #define HAVE_OPENAL 1
8103 _ACEOF
8105 ac_cv_lib_openal=yes
8107 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8108 then
8109 OPENCL_LIBS="-framework OpenCL"
8111 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8113 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8114 then
8115 ac_save_LIBS="$LIBS"
8116 LIBS="$LIBS $IOKIT_LIBS"
8117 for ac_func in IOHIDManagerCreate
8118 do :
8119 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8120 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8121 cat >>confdefs.h <<_ACEOF
8122 #define HAVE_IOHIDMANAGERCREATE 1
8123 _ACEOF
8126 done
8128 LIBS="$ac_save_LIBS"
8130 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8131 then
8132 ac_save_LIBS="$LIBS"
8133 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8135 $as_echo_n "checking for the QuickTime framework... " >&6; }
8136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8137 /* end confdefs.h. */
8138 #include <QuickTime/ImageCompression.h>
8140 main ()
8142 CodecManagerVersion(NULL);
8144 return 0;
8146 _ACEOF
8147 if ac_fn_c_try_link "$LINENO"; then :
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8149 $as_echo "yes" >&6; }
8150 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8152 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8153 else
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8155 $as_echo "no" >&6; }
8156 ac_cv_header_QuickTime_ImageCompression_h=no
8158 rm -f core conftest.err conftest.$ac_objext \
8159 conftest$ac_exeext conftest.$ac_ext
8160 LIBS="$ac_save_LIBS"
8162 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8163 then
8164 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8166 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8167 then
8168 CARBON_LIBS="-framework Carbon"
8172 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8173 then
8174 ac_save_LIBS="$LIBS"
8175 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8176 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8177 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8178 enable_winemac_drv=${enable_winemac_drv:-yes}
8181 LIBS="$ac_save_LIBS"
8184 if test "x$enable_win16" = "xyes"
8185 then
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8187 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8188 if test "$cross_compiling" = yes; then :
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8190 $as_echo "cross-compiling, assuming yes" >&6; }
8191 else
8192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8193 /* end confdefs.h. */
8194 asm(".text\n"
8195 "bad:\tnop;nop\n"
8196 "good:\tnop;nop\n\t"
8197 ".globl _testfunc\n"
8198 "_testfunc:\tcallw good");
8199 extern void testfunc();
8201 main ()
8203 unsigned short *p = (unsigned short *)testfunc;
8204 return p[0] != 0xe866 || p[1] != 0xfffa
8206 return 0;
8208 _ACEOF
8209 if ac_fn_c_try_run "$LINENO"; then :
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8211 $as_echo "yes" >&6; }
8212 else
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8214 $as_echo "no" >&6; }
8215 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
8217 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8218 conftest.$ac_objext conftest.beam conftest.$ac_ext
8223 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8224 LIBWINE_RULES="
8225 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8227 all: libwine.dylib
8229 libwine.$libwine_version.dylib: \$(OBJS)
8230 \$(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 \$@
8232 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8233 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8235 libwine.dylib: libwine.$libwine_soversion.dylib
8236 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8238 install install-lib:: libwine.$libwine_version.dylib
8239 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8240 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8242 install install-dev::
8243 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8245 uninstall::
8246 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8250 as_fn_append LOADER_RULES "
8251 $wine_binary: main.o wine_info.plist
8252 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8254 wine-installed: main.o wine_info.plist
8255 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8259 linux-android*)
8260 DLLFLAGS="$DLLFLAGS -fPIC"
8261 DLLPREFIX="lib"
8262 LDEXECFLAGS=""
8263 dlldir="\${libdir}"
8264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8265 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8266 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8267 $as_echo_n "(cached) " >&6
8268 else
8269 ac_wine_try_cflags_saved=$CFLAGS
8270 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8272 /* end confdefs.h. */
8273 int main(int argc, char **argv) { return 0; }
8274 _ACEOF
8275 if ac_fn_c_try_link "$LINENO"; then :
8276 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8277 else
8278 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8280 rm -f core conftest.err conftest.$ac_objext \
8281 conftest$ac_exeext conftest.$ac_ext
8282 CFLAGS=$ac_wine_try_cflags_saved
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8285 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8286 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8287 LDEXECFLAGS="-Wl,--export-dynamic"
8289 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8291 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8292 if eval \${$as_ac_var+:} false; then :
8293 $as_echo_n "(cached) " >&6
8294 else
8295 ac_wine_try_cflags_saved=$CFLAGS
8296 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8298 /* end confdefs.h. */
8299 int main(int argc, char **argv) { return 0; }
8300 _ACEOF
8301 if ac_fn_c_try_link "$LINENO"; then :
8302 eval "$as_ac_var=yes"
8303 else
8304 eval "$as_ac_var=no"
8306 rm -f core conftest.err conftest.$ac_objext \
8307 conftest$ac_exeext conftest.$ac_ext
8308 CFLAGS=$ac_wine_try_cflags_saved
8310 eval ac_res=\$$as_ac_var
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8312 $as_echo "$ac_res" >&6; }
8313 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8314 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8315 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8316 else
8317 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8319 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8320 if eval \${$as_ac_var+:} false; then :
8321 $as_echo_n "(cached) " >&6
8322 else
8323 ac_wine_try_cflags_saved=$CFLAGS
8324 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8326 /* end confdefs.h. */
8327 int main(int argc, char **argv) { return 0; }
8328 _ACEOF
8329 if ac_fn_c_try_link "$LINENO"; then :
8330 eval "$as_ac_var=yes"
8331 else
8332 eval "$as_ac_var=no"
8334 rm -f core conftest.err conftest.$ac_objext \
8335 conftest$ac_exeext conftest.$ac_ext
8336 CFLAGS=$ac_wine_try_cflags_saved
8338 eval ac_res=\$$as_ac_var
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8340 $as_echo "$ac_res" >&6; }
8341 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8342 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8343 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8348 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8349 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8350 $as_echo_n "(cached) " >&6
8351 else
8352 ac_wine_try_cflags_saved=$CFLAGS
8353 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8355 /* end confdefs.h. */
8356 int main(int argc, char **argv) { return 0; }
8357 _ACEOF
8358 if ac_fn_c_try_link "$LINENO"; then :
8359 ac_cv_cflags__Wl___enable_new_dtags=yes
8360 else
8361 ac_cv_cflags__Wl___enable_new_dtags=no
8363 rm -f core conftest.err conftest.$ac_objext \
8364 conftest$ac_exeext conftest.$ac_ext
8365 CFLAGS=$ac_wine_try_cflags_saved
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8368 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8369 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8370 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8373 case $host_cpu in
8374 *i[3456789]86* | x86_64)
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8376 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8377 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8378 $as_echo_n "(cached) " >&6
8379 else
8380 ac_wine_try_cflags_saved=$CFLAGS
8381 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8383 /* end confdefs.h. */
8384 int main(int argc, char **argv) { return 0; }
8385 _ACEOF
8386 if ac_fn_c_try_link "$LINENO"; then :
8387 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8388 else
8389 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8391 rm -f core conftest.err conftest.$ac_objext \
8392 conftest$ac_exeext conftest.$ac_ext
8393 CFLAGS=$ac_wine_try_cflags_saved
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8396 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8397 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8398 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8401 esac
8403 libwine_targets="libwine.so"
8404 LIBWINE_RULES="
8405 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8407 all: libwine.so
8409 libwine.so: \$(OBJS)
8410 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8412 install install-lib:: libwine.so
8413 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8415 uninstall::
8416 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8420 as_fn_append LOADER_RULES "
8421 $wine_binary: main.o
8422 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8424 wine-installed: main.o
8425 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8430 DLLFLAGS="$DLLFLAGS -fPIC"
8431 LDEXECFLAGS=""
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8433 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8434 if ${ac_cv_c_dll_gnuelf+:} false; then :
8435 $as_echo_n "(cached) " >&6
8436 else
8437 ac_wine_try_cflags_saved=$CFLAGS
8438 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8440 /* end confdefs.h. */
8441 void myfunc() {}
8442 _ACEOF
8443 if ac_fn_c_try_link "$LINENO"; then :
8444 ac_cv_c_dll_gnuelf="yes"
8445 else
8446 ac_cv_c_dll_gnuelf="no"
8448 rm -f core conftest.err conftest.$ac_objext \
8449 conftest$ac_exeext conftest.$ac_ext
8450 CFLAGS=$ac_wine_try_cflags_saved
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8453 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8454 if test "$ac_cv_c_dll_gnuelf" = "yes"
8455 then
8456 LDSHARED="\$(CC) -shared"
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8458 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8459 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8460 $as_echo_n "(cached) " >&6
8461 else
8462 ac_wine_try_cflags_saved=$CFLAGS
8463 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8465 /* end confdefs.h. */
8466 int main(int argc, char **argv) { return 0; }
8467 _ACEOF
8468 if ac_fn_c_try_link "$LINENO"; then :
8469 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8470 else
8471 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8473 rm -f core conftest.err conftest.$ac_objext \
8474 conftest$ac_exeext conftest.$ac_ext
8475 CFLAGS=$ac_wine_try_cflags_saved
8477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8478 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8479 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8480 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8481 else
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8483 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8484 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8485 $as_echo_n "(cached) " >&6
8486 else
8487 ac_wine_try_cflags_saved=$CFLAGS
8488 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8490 /* end confdefs.h. */
8491 int main(int argc, char **argv) { return 0; }
8492 _ACEOF
8493 if ac_fn_c_try_link "$LINENO"; then :
8494 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8495 else
8496 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8498 rm -f core conftest.err conftest.$ac_objext \
8499 conftest$ac_exeext conftest.$ac_ext
8500 CFLAGS=$ac_wine_try_cflags_saved
8502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8503 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8504 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8505 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8509 echo '{ global: *; };' >conftest.map
8510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8511 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8512 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8513 $as_echo_n "(cached) " >&6
8514 else
8515 ac_wine_try_cflags_saved=$CFLAGS
8516 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8518 /* end confdefs.h. */
8519 int main(int argc, char **argv) { return 0; }
8520 _ACEOF
8521 if ac_fn_c_try_link "$LINENO"; then :
8522 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8523 else
8524 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8526 rm -f core conftest.err conftest.$ac_objext \
8527 conftest$ac_exeext conftest.$ac_ext
8528 CFLAGS=$ac_wine_try_cflags_saved
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8531 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8532 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8533 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8535 rm -f conftest.map
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8538 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8539 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8540 $as_echo_n "(cached) " >&6
8541 else
8542 ac_wine_try_cflags_saved=$CFLAGS
8543 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8545 /* end confdefs.h. */
8546 int main(int argc, char **argv) { return 0; }
8547 _ACEOF
8548 if ac_fn_c_try_link "$LINENO"; then :
8549 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8550 else
8551 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8553 rm -f core conftest.err conftest.$ac_objext \
8554 conftest$ac_exeext conftest.$ac_ext
8555 CFLAGS=$ac_wine_try_cflags_saved
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8558 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8559 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8560 LDEXECFLAGS="-Wl,--export-dynamic"
8563 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8565 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8566 if eval \${$as_ac_var+:} false; then :
8567 $as_echo_n "(cached) " >&6
8568 else
8569 ac_wine_try_cflags_saved=$CFLAGS
8570 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8572 /* end confdefs.h. */
8573 int main(int argc, char **argv) { return 0; }
8574 _ACEOF
8575 if ac_fn_c_try_link "$LINENO"; then :
8576 eval "$as_ac_var=yes"
8577 else
8578 eval "$as_ac_var=no"
8580 rm -f core conftest.err conftest.$ac_objext \
8581 conftest$ac_exeext conftest.$ac_ext
8582 CFLAGS=$ac_wine_try_cflags_saved
8584 eval ac_res=\$$as_ac_var
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8586 $as_echo "$ac_res" >&6; }
8587 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8588 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8589 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8590 else
8591 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8593 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8594 if eval \${$as_ac_var+:} false; then :
8595 $as_echo_n "(cached) " >&6
8596 else
8597 ac_wine_try_cflags_saved=$CFLAGS
8598 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8600 /* end confdefs.h. */
8601 int main(int argc, char **argv) { return 0; }
8602 _ACEOF
8603 if ac_fn_c_try_link "$LINENO"; then :
8604 eval "$as_ac_var=yes"
8605 else
8606 eval "$as_ac_var=no"
8608 rm -f core conftest.err conftest.$ac_objext \
8609 conftest$ac_exeext conftest.$ac_ext
8610 CFLAGS=$ac_wine_try_cflags_saved
8612 eval ac_res=\$$as_ac_var
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8614 $as_echo "$ac_res" >&6; }
8615 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8616 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8617 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8622 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8623 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8624 $as_echo_n "(cached) " >&6
8625 else
8626 ac_wine_try_cflags_saved=$CFLAGS
8627 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8629 /* end confdefs.h. */
8630 int main(int argc, char **argv) { return 0; }
8631 _ACEOF
8632 if ac_fn_c_try_link "$LINENO"; then :
8633 ac_cv_cflags__Wl___enable_new_dtags=yes
8634 else
8635 ac_cv_cflags__Wl___enable_new_dtags=no
8637 rm -f core conftest.err conftest.$ac_objext \
8638 conftest$ac_exeext conftest.$ac_ext
8639 CFLAGS=$ac_wine_try_cflags_saved
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8642 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8643 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8644 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8647 case $host_cpu in
8648 *i[3456789]86* | x86_64)
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8650 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8651 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8652 $as_echo_n "(cached) " >&6
8653 else
8654 ac_wine_try_cflags_saved=$CFLAGS
8655 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8657 /* end confdefs.h. */
8658 int main(int argc, char **argv) { return 0; }
8659 _ACEOF
8660 if ac_fn_c_try_link "$LINENO"; then :
8661 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8662 else
8663 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8665 rm -f core conftest.err conftest.$ac_objext \
8666 conftest$ac_exeext conftest.$ac_ext
8667 CFLAGS=$ac_wine_try_cflags_saved
8669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8670 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8671 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8672 case $host_os in
8673 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8674 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8675 esac
8678 # Extract the first word of "prelink", so it can be a program name with args.
8679 set dummy prelink; ac_word=$2
8680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8681 $as_echo_n "checking for $ac_word... " >&6; }
8682 if ${ac_cv_path_PRELINK+:} false; then :
8683 $as_echo_n "(cached) " >&6
8684 else
8685 case $PRELINK in
8686 [\\/]* | ?:[\\/]*)
8687 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8691 for as_dir in /sbin /usr/sbin $PATH
8693 IFS=$as_save_IFS
8694 test -z "$as_dir" && as_dir=.
8695 for ac_exec_ext in '' $ac_executable_extensions; do
8696 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8697 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8699 break 2
8701 done
8702 done
8703 IFS=$as_save_IFS
8705 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8707 esac
8709 PRELINK=$ac_cv_path_PRELINK
8710 if test -n "$PRELINK"; then
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8712 $as_echo "$PRELINK" >&6; }
8713 else
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8715 $as_echo "no" >&6; }
8719 if test "x$PRELINK" = xfalse
8720 then
8721 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8724 esac
8726 else
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8728 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8729 if ${ac_cv_c_dll_unixware+:} false; then :
8730 $as_echo_n "(cached) " >&6
8731 else
8732 ac_wine_try_cflags_saved=$CFLAGS
8733 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8735 /* end confdefs.h. */
8736 void myfunc() {}
8737 _ACEOF
8738 if ac_fn_c_try_link "$LINENO"; then :
8739 ac_cv_c_dll_unixware="yes"
8740 else
8741 ac_cv_c_dll_unixware="no"
8743 rm -f core conftest.err conftest.$ac_objext \
8744 conftest$ac_exeext conftest.$ac_ext
8745 CFLAGS=$ac_wine_try_cflags_saved
8747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8748 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8749 if test "$ac_cv_c_dll_unixware" = "yes"
8750 then
8751 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8754 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8755 LIBWINE_RULES="
8756 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8758 all: libwine.so
8760 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8761 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8763 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8764 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8766 libwine.so: libwine.so.$libwine_soversion
8767 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8769 install install-lib:: libwine.so.$libwine_version
8770 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8771 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8773 install install-dev::
8774 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8776 uninstall::
8777 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8781 as_fn_append LOADER_RULES "
8782 $wine_binary: main.o
8783 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8785 wine-installed: main.o
8786 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8789 esac
8791 as_fn_append LIBWINE_RULES "
8792 EXTRA_TARGETS = $libwine_targets
8795 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8796 enable_winemac_drv=${enable_winemac_drv:-no}
8798 CROSSTARGET=""
8800 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8801 then
8802 case "$host_cpu" in
8803 i[3456789]86*)
8804 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
8805 mingw32-gcc" ;;
8806 x86_64)
8807 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 " ;;
8809 ac_prefix_list="" ;;
8810 esac
8811 for ac_prog in $ac_prefix_list
8813 # Extract the first word of "$ac_prog", so it can be a program name with args.
8814 set dummy $ac_prog; ac_word=$2
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8816 $as_echo_n "checking for $ac_word... " >&6; }
8817 if ${ac_cv_prog_CROSSCC+:} false; then :
8818 $as_echo_n "(cached) " >&6
8819 else
8820 if test -n "$CROSSCC"; then
8821 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8822 else
8823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8824 for as_dir in $PATH
8826 IFS=$as_save_IFS
8827 test -z "$as_dir" && as_dir=.
8828 for ac_exec_ext in '' $ac_executable_extensions; do
8829 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8830 ac_cv_prog_CROSSCC="$ac_prog"
8831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8832 break 2
8834 done
8835 done
8836 IFS=$as_save_IFS
8840 CROSSCC=$ac_cv_prog_CROSSCC
8841 if test -n "$CROSSCC"; then
8842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8843 $as_echo "$CROSSCC" >&6; }
8844 else
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8846 $as_echo "no" >&6; }
8850 test -n "$CROSSCC" && break
8851 done
8852 test -n "$CROSSCC" || CROSSCC="false"
8854 if test "$CROSSCC" != "false"
8855 then
8856 ac_save_CC="$CC"
8857 CC="$CROSSCC"
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8859 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8861 /* end confdefs.h. */
8864 main ()
8868 return 0;
8870 _ACEOF
8871 if ac_fn_c_try_compile "$LINENO"; then :
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8873 $as_echo "yes" >&6; }
8874 set x $CROSSCC
8875 shift
8876 while test $# -ge 1
8878 case "$1" in
8879 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8880 esac
8881 shift
8882 done
8883 else
8884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8885 $as_echo "no" >&6; }
8887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8888 CC="$ac_save_CC"
8893 if test "$ac_cv_header_pthread_h" = "yes"
8894 then
8895 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8896 if test "x$ac_cv_func_pthread_create" = xyes; then :
8898 else
8899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8900 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8901 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8902 $as_echo_n "(cached) " >&6
8903 else
8904 ac_check_lib_save_LIBS=$LIBS
8905 LIBS="-lpthread $LIBS"
8906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8907 /* end confdefs.h. */
8909 /* Override any GCC internal prototype to avoid an error.
8910 Use char because int might match the return type of a GCC
8911 builtin and then its argument prototype would still apply. */
8912 #ifdef __cplusplus
8913 extern "C"
8914 #endif
8915 char pthread_create ();
8917 main ()
8919 return pthread_create ();
8921 return 0;
8923 _ACEOF
8924 if ac_fn_c_try_link "$LINENO"; then :
8925 ac_cv_lib_pthread_pthread_create=yes
8926 else
8927 ac_cv_lib_pthread_pthread_create=no
8929 rm -f core conftest.err conftest.$ac_objext \
8930 conftest$ac_exeext conftest.$ac_ext
8931 LIBS=$ac_check_lib_save_LIBS
8933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8934 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8935 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8936 PTHREAD_LIBS="-lpthread"
8943 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8944 case "x$with_pthread" in
8945 xno) ;;
8946 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8947 Wine cannot support threads without libpthread.
8948 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8949 esac
8953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8954 $as_echo_n "checking for X... " >&6; }
8957 # Check whether --with-x was given.
8958 if test "${with_x+set}" = set; then :
8959 withval=$with_x;
8962 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8963 if test "x$with_x" = xno; then
8964 # The user explicitly disabled X.
8965 have_x=disabled
8966 else
8967 case $x_includes,$x_libraries in #(
8968 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8969 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8970 $as_echo_n "(cached) " >&6
8971 else
8972 # One or both of the vars are not set, and there is no cached value.
8973 ac_x_includes=no ac_x_libraries=no
8974 rm -f -r conftest.dir
8975 if mkdir conftest.dir; then
8976 cd conftest.dir
8977 cat >Imakefile <<'_ACEOF'
8978 incroot:
8979 @echo incroot='${INCROOT}'
8980 usrlibdir:
8981 @echo usrlibdir='${USRLIBDIR}'
8982 libdir:
8983 @echo libdir='${LIBDIR}'
8984 _ACEOF
8985 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8986 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8987 for ac_var in incroot usrlibdir libdir; do
8988 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8989 done
8990 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8991 for ac_extension in a so sl dylib la dll; do
8992 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8993 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8994 ac_im_usrlibdir=$ac_im_libdir; break
8996 done
8997 # Screen out bogus values from the imake configuration. They are
8998 # bogus both because they are the default anyway, and because
8999 # using them would break gcc on systems where it needs fixed includes.
9000 case $ac_im_incroot in
9001 /usr/include) ac_x_includes= ;;
9002 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9003 esac
9004 case $ac_im_usrlibdir in
9005 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9006 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9007 esac
9009 cd ..
9010 rm -f -r conftest.dir
9013 # Standard set of common directories for X headers.
9014 # Check X11 before X11Rn because it is often a symlink to the current release.
9015 ac_x_header_dirs='
9016 /usr/X11/include
9017 /usr/X11R7/include
9018 /usr/X11R6/include
9019 /usr/X11R5/include
9020 /usr/X11R4/include
9022 /usr/include/X11
9023 /usr/include/X11R7
9024 /usr/include/X11R6
9025 /usr/include/X11R5
9026 /usr/include/X11R4
9028 /usr/local/X11/include
9029 /usr/local/X11R7/include
9030 /usr/local/X11R6/include
9031 /usr/local/X11R5/include
9032 /usr/local/X11R4/include
9034 /usr/local/include/X11
9035 /usr/local/include/X11R7
9036 /usr/local/include/X11R6
9037 /usr/local/include/X11R5
9038 /usr/local/include/X11R4
9040 /usr/X386/include
9041 /usr/x386/include
9042 /usr/XFree86/include/X11
9044 /usr/include
9045 /usr/local/include
9046 /usr/unsupported/include
9047 /usr/athena/include
9048 /usr/local/x11r5/include
9049 /usr/lpp/Xamples/include
9051 /usr/openwin/include
9052 /usr/openwin/share/include'
9054 if test "$ac_x_includes" = no; then
9055 # Guess where to find include files, by looking for Xlib.h.
9056 # First, try using that file with no special directory specified.
9057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9058 /* end confdefs.h. */
9059 #include <X11/Xlib.h>
9060 _ACEOF
9061 if ac_fn_c_try_cpp "$LINENO"; then :
9062 # We can compile using X headers with no special include directory.
9063 ac_x_includes=
9064 else
9065 for ac_dir in $ac_x_header_dirs; do
9066 if test -r "$ac_dir/X11/Xlib.h"; then
9067 ac_x_includes=$ac_dir
9068 break
9070 done
9072 rm -f conftest.err conftest.i conftest.$ac_ext
9073 fi # $ac_x_includes = no
9075 if test "$ac_x_libraries" = no; then
9076 # Check for the libraries.
9077 # See if we find them without any special options.
9078 # Don't add to $LIBS permanently.
9079 ac_save_LIBS=$LIBS
9080 LIBS="-lX11 $LIBS"
9081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9082 /* end confdefs.h. */
9083 #include <X11/Xlib.h>
9085 main ()
9087 XrmInitialize ()
9089 return 0;
9091 _ACEOF
9092 if ac_fn_c_try_link "$LINENO"; then :
9093 LIBS=$ac_save_LIBS
9094 # We can link X programs with no special library path.
9095 ac_x_libraries=
9096 else
9097 LIBS=$ac_save_LIBS
9098 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9100 # Don't even attempt the hair of trying to link an X program!
9101 for ac_extension in a so sl dylib la dll; do
9102 if test -r "$ac_dir/libX11.$ac_extension"; then
9103 ac_x_libraries=$ac_dir
9104 break 2
9106 done
9107 done
9109 rm -f core conftest.err conftest.$ac_objext \
9110 conftest$ac_exeext conftest.$ac_ext
9111 fi # $ac_x_libraries = no
9113 case $ac_x_includes,$ac_x_libraries in #(
9114 no,* | *,no | *\'*)
9115 # Didn't find X, or a directory has "'" in its name.
9116 ac_cv_have_x="have_x=no";; #(
9118 # Record where we found X for the cache.
9119 ac_cv_have_x="have_x=yes\
9120 ac_x_includes='$ac_x_includes'\
9121 ac_x_libraries='$ac_x_libraries'"
9122 esac
9124 ;; #(
9125 *) have_x=yes;;
9126 esac
9127 eval "$ac_cv_have_x"
9128 fi # $with_x != no
9130 if test "$have_x" != yes; then
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9132 $as_echo "$have_x" >&6; }
9133 no_x=yes
9134 else
9135 # If each of the values was on the command line, it overrides each guess.
9136 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9137 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9138 # Update the cache value to reflect the command line values.
9139 ac_cv_have_x="have_x=yes\
9140 ac_x_includes='$x_includes'\
9141 ac_x_libraries='$x_libraries'"
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9143 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9146 if test "$no_x" = yes; then
9147 # Not all programs may use this symbol, but it does not hurt to define it.
9149 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9151 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9152 else
9153 if test -n "$x_includes"; then
9154 X_CFLAGS="$X_CFLAGS -I$x_includes"
9157 # It would also be nice to do this for all -L options, not just this one.
9158 if test -n "$x_libraries"; then
9159 X_LIBS="$X_LIBS -L$x_libraries"
9160 # For Solaris; some versions of Sun CC require a space after -R and
9161 # others require no space. Words are not sufficient . . . .
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9163 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9164 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9165 ac_xsave_c_werror_flag=$ac_c_werror_flag
9166 ac_c_werror_flag=yes
9167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9168 /* end confdefs.h. */
9171 main ()
9175 return 0;
9177 _ACEOF
9178 if ac_fn_c_try_link "$LINENO"; then :
9179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9180 $as_echo "no" >&6; }
9181 X_LIBS="$X_LIBS -R$x_libraries"
9182 else
9183 LIBS="$ac_xsave_LIBS -R $x_libraries"
9184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9185 /* end confdefs.h. */
9188 main ()
9192 return 0;
9194 _ACEOF
9195 if ac_fn_c_try_link "$LINENO"; then :
9196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9197 $as_echo "yes" >&6; }
9198 X_LIBS="$X_LIBS -R $x_libraries"
9199 else
9200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9201 $as_echo "neither works" >&6; }
9203 rm -f core conftest.err conftest.$ac_objext \
9204 conftest$ac_exeext conftest.$ac_ext
9206 rm -f core conftest.err conftest.$ac_objext \
9207 conftest$ac_exeext conftest.$ac_ext
9208 ac_c_werror_flag=$ac_xsave_c_werror_flag
9209 LIBS=$ac_xsave_LIBS
9212 # Check for system-dependent libraries X programs must link with.
9213 # Do this before checking for the system-independent R6 libraries
9214 # (-lICE), since we may need -lsocket or whatever for X linking.
9216 if test "$ISC" = yes; then
9217 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9218 else
9219 # Martyn Johnson says this is needed for Ultrix, if the X
9220 # libraries were built with DECnet support. And Karl Berry says
9221 # the Alpha needs dnet_stub (dnet does not exist).
9222 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9224 /* end confdefs.h. */
9226 /* Override any GCC internal prototype to avoid an error.
9227 Use char because int might match the return type of a GCC
9228 builtin and then its argument prototype would still apply. */
9229 #ifdef __cplusplus
9230 extern "C"
9231 #endif
9232 char XOpenDisplay ();
9234 main ()
9236 return XOpenDisplay ();
9238 return 0;
9240 _ACEOF
9241 if ac_fn_c_try_link "$LINENO"; then :
9243 else
9244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9245 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9246 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9247 $as_echo_n "(cached) " >&6
9248 else
9249 ac_check_lib_save_LIBS=$LIBS
9250 LIBS="-ldnet $LIBS"
9251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9252 /* end confdefs.h. */
9254 /* Override any GCC internal prototype to avoid an error.
9255 Use char because int might match the return type of a GCC
9256 builtin and then its argument prototype would still apply. */
9257 #ifdef __cplusplus
9258 extern "C"
9259 #endif
9260 char dnet_ntoa ();
9262 main ()
9264 return dnet_ntoa ();
9266 return 0;
9268 _ACEOF
9269 if ac_fn_c_try_link "$LINENO"; then :
9270 ac_cv_lib_dnet_dnet_ntoa=yes
9271 else
9272 ac_cv_lib_dnet_dnet_ntoa=no
9274 rm -f core conftest.err conftest.$ac_objext \
9275 conftest$ac_exeext conftest.$ac_ext
9276 LIBS=$ac_check_lib_save_LIBS
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9279 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9280 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9281 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9284 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9286 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9287 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9288 $as_echo_n "(cached) " >&6
9289 else
9290 ac_check_lib_save_LIBS=$LIBS
9291 LIBS="-ldnet_stub $LIBS"
9292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9293 /* end confdefs.h. */
9295 /* Override any GCC internal prototype to avoid an error.
9296 Use char because int might match the return type of a GCC
9297 builtin and then its argument prototype would still apply. */
9298 #ifdef __cplusplus
9299 extern "C"
9300 #endif
9301 char dnet_ntoa ();
9303 main ()
9305 return dnet_ntoa ();
9307 return 0;
9309 _ACEOF
9310 if ac_fn_c_try_link "$LINENO"; then :
9311 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9312 else
9313 ac_cv_lib_dnet_stub_dnet_ntoa=no
9315 rm -f core conftest.err conftest.$ac_objext \
9316 conftest$ac_exeext conftest.$ac_ext
9317 LIBS=$ac_check_lib_save_LIBS
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9320 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9321 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9322 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9327 rm -f core conftest.err conftest.$ac_objext \
9328 conftest$ac_exeext conftest.$ac_ext
9329 LIBS="$ac_xsave_LIBS"
9331 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9332 # to get the SysV transport functions.
9333 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9334 # needs -lnsl.
9335 # The nsl library prevents programs from opening the X display
9336 # on Irix 5.2, according to T.E. Dickey.
9337 # The functions gethostbyname, getservbyname, and inet_addr are
9338 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9339 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9340 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9344 if test $ac_cv_func_gethostbyname = no; then
9345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9346 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9347 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9348 $as_echo_n "(cached) " >&6
9349 else
9350 ac_check_lib_save_LIBS=$LIBS
9351 LIBS="-lnsl $LIBS"
9352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9353 /* end confdefs.h. */
9355 /* Override any GCC internal prototype to avoid an error.
9356 Use char because int might match the return type of a GCC
9357 builtin and then its argument prototype would still apply. */
9358 #ifdef __cplusplus
9359 extern "C"
9360 #endif
9361 char gethostbyname ();
9363 main ()
9365 return gethostbyname ();
9367 return 0;
9369 _ACEOF
9370 if ac_fn_c_try_link "$LINENO"; then :
9371 ac_cv_lib_nsl_gethostbyname=yes
9372 else
9373 ac_cv_lib_nsl_gethostbyname=no
9375 rm -f core conftest.err conftest.$ac_objext \
9376 conftest$ac_exeext conftest.$ac_ext
9377 LIBS=$ac_check_lib_save_LIBS
9379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9380 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9381 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9382 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9385 if test $ac_cv_lib_nsl_gethostbyname = no; then
9386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9387 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9388 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9389 $as_echo_n "(cached) " >&6
9390 else
9391 ac_check_lib_save_LIBS=$LIBS
9392 LIBS="-lbsd $LIBS"
9393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9394 /* end confdefs.h. */
9396 /* Override any GCC internal prototype to avoid an error.
9397 Use char because int might match the return type of a GCC
9398 builtin and then its argument prototype would still apply. */
9399 #ifdef __cplusplus
9400 extern "C"
9401 #endif
9402 char gethostbyname ();
9404 main ()
9406 return gethostbyname ();
9408 return 0;
9410 _ACEOF
9411 if ac_fn_c_try_link "$LINENO"; then :
9412 ac_cv_lib_bsd_gethostbyname=yes
9413 else
9414 ac_cv_lib_bsd_gethostbyname=no
9416 rm -f core conftest.err conftest.$ac_objext \
9417 conftest$ac_exeext conftest.$ac_ext
9418 LIBS=$ac_check_lib_save_LIBS
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9421 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9422 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9423 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9429 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9430 # socket/setsockopt and other routines are undefined under SCO ODT
9431 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9432 # on later versions), says Simon Leinen: it contains gethostby*
9433 # variants that don't use the name server (or something). -lsocket
9434 # must be given before -lnsl if both are needed. We assume that
9435 # if connect needs -lnsl, so does gethostbyname.
9436 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9437 if test "x$ac_cv_func_connect" = xyes; then :
9441 if test $ac_cv_func_connect = no; then
9442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9443 $as_echo_n "checking for connect in -lsocket... " >&6; }
9444 if ${ac_cv_lib_socket_connect+:} false; then :
9445 $as_echo_n "(cached) " >&6
9446 else
9447 ac_check_lib_save_LIBS=$LIBS
9448 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9450 /* end confdefs.h. */
9452 /* Override any GCC internal prototype to avoid an error.
9453 Use char because int might match the return type of a GCC
9454 builtin and then its argument prototype would still apply. */
9455 #ifdef __cplusplus
9456 extern "C"
9457 #endif
9458 char connect ();
9460 main ()
9462 return connect ();
9464 return 0;
9466 _ACEOF
9467 if ac_fn_c_try_link "$LINENO"; then :
9468 ac_cv_lib_socket_connect=yes
9469 else
9470 ac_cv_lib_socket_connect=no
9472 rm -f core conftest.err conftest.$ac_objext \
9473 conftest$ac_exeext conftest.$ac_ext
9474 LIBS=$ac_check_lib_save_LIBS
9476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9477 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9478 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9479 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9484 # Guillermo Gomez says -lposix is necessary on A/UX.
9485 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9486 if test "x$ac_cv_func_remove" = xyes; then :
9490 if test $ac_cv_func_remove = no; then
9491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9492 $as_echo_n "checking for remove in -lposix... " >&6; }
9493 if ${ac_cv_lib_posix_remove+:} false; then :
9494 $as_echo_n "(cached) " >&6
9495 else
9496 ac_check_lib_save_LIBS=$LIBS
9497 LIBS="-lposix $LIBS"
9498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9499 /* end confdefs.h. */
9501 /* Override any GCC internal prototype to avoid an error.
9502 Use char because int might match the return type of a GCC
9503 builtin and then its argument prototype would still apply. */
9504 #ifdef __cplusplus
9505 extern "C"
9506 #endif
9507 char remove ();
9509 main ()
9511 return remove ();
9513 return 0;
9515 _ACEOF
9516 if ac_fn_c_try_link "$LINENO"; then :
9517 ac_cv_lib_posix_remove=yes
9518 else
9519 ac_cv_lib_posix_remove=no
9521 rm -f core conftest.err conftest.$ac_objext \
9522 conftest$ac_exeext conftest.$ac_ext
9523 LIBS=$ac_check_lib_save_LIBS
9525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9526 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9527 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9528 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9533 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9534 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9535 if test "x$ac_cv_func_shmat" = xyes; then :
9539 if test $ac_cv_func_shmat = no; then
9540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9541 $as_echo_n "checking for shmat in -lipc... " >&6; }
9542 if ${ac_cv_lib_ipc_shmat+:} false; then :
9543 $as_echo_n "(cached) " >&6
9544 else
9545 ac_check_lib_save_LIBS=$LIBS
9546 LIBS="-lipc $LIBS"
9547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9548 /* end confdefs.h. */
9550 /* Override any GCC internal prototype to avoid an error.
9551 Use char because int might match the return type of a GCC
9552 builtin and then its argument prototype would still apply. */
9553 #ifdef __cplusplus
9554 extern "C"
9555 #endif
9556 char shmat ();
9558 main ()
9560 return shmat ();
9562 return 0;
9564 _ACEOF
9565 if ac_fn_c_try_link "$LINENO"; then :
9566 ac_cv_lib_ipc_shmat=yes
9567 else
9568 ac_cv_lib_ipc_shmat=no
9570 rm -f core conftest.err conftest.$ac_objext \
9571 conftest$ac_exeext conftest.$ac_ext
9572 LIBS=$ac_check_lib_save_LIBS
9574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9575 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9576 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9577 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9583 # Check for libraries that X11R6 Xt/Xaw programs need.
9584 ac_save_LDFLAGS=$LDFLAGS
9585 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9586 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9587 # check for ICE first), but we must link in the order -lSM -lICE or
9588 # we get undefined symbols. So assume we have SM if we have ICE.
9589 # These have to be linked with before -lX11, unlike the other
9590 # libraries we check for below, so use a different variable.
9591 # John Interrante, Karl Berry
9592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9593 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9594 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9595 $as_echo_n "(cached) " >&6
9596 else
9597 ac_check_lib_save_LIBS=$LIBS
9598 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9600 /* end confdefs.h. */
9602 /* Override any GCC internal prototype to avoid an error.
9603 Use char because int might match the return type of a GCC
9604 builtin and then its argument prototype would still apply. */
9605 #ifdef __cplusplus
9606 extern "C"
9607 #endif
9608 char IceConnectionNumber ();
9610 main ()
9612 return IceConnectionNumber ();
9614 return 0;
9616 _ACEOF
9617 if ac_fn_c_try_link "$LINENO"; then :
9618 ac_cv_lib_ICE_IceConnectionNumber=yes
9619 else
9620 ac_cv_lib_ICE_IceConnectionNumber=no
9622 rm -f core conftest.err conftest.$ac_objext \
9623 conftest$ac_exeext conftest.$ac_ext
9624 LIBS=$ac_check_lib_save_LIBS
9626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9627 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9628 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9629 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9632 LDFLAGS=$ac_save_LDFLAGS
9637 if test "$have_x" = "yes"
9638 then
9639 ac_save_CPPFLAGS="$CPPFLAGS"
9640 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9643 $as_echo_n "checking for -lX11... " >&6; }
9644 if ${ac_cv_lib_soname_X11+:} false; then :
9645 $as_echo_n "(cached) " >&6
9646 else
9647 ac_check_soname_save_LIBS=$LIBS
9648 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9650 /* end confdefs.h. */
9652 /* Override any GCC internal prototype to avoid an error.
9653 Use char because int might match the return type of a GCC
9654 builtin and then its argument prototype would still apply. */
9655 #ifdef __cplusplus
9656 extern "C"
9657 #endif
9658 char XCreateWindow ();
9660 main ()
9662 return XCreateWindow ();
9664 return 0;
9666 _ACEOF
9667 if ac_fn_c_try_link "$LINENO"; then :
9668 case "$LIBEXT" in
9669 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9670 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'` ;;
9671 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9672 if ${ac_cv_lib_soname_X11:+false} :; then :
9673 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9674 fi ;;
9675 esac
9677 rm -f core conftest.err conftest.$ac_objext \
9678 conftest$ac_exeext conftest.$ac_ext
9679 LIBS=$ac_check_soname_save_LIBS
9681 if ${ac_cv_lib_soname_X11:+false} :; then :
9682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9683 $as_echo "not found" >&6; }
9685 else
9686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9687 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9689 cat >>confdefs.h <<_ACEOF
9690 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9691 _ACEOF
9695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9696 $as_echo_n "checking for -lXext... " >&6; }
9697 if ${ac_cv_lib_soname_Xext+:} false; then :
9698 $as_echo_n "(cached) " >&6
9699 else
9700 ac_check_soname_save_LIBS=$LIBS
9701 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9703 /* end confdefs.h. */
9705 /* Override any GCC internal prototype to avoid an error.
9706 Use char because int might match the return type of a GCC
9707 builtin and then its argument prototype would still apply. */
9708 #ifdef __cplusplus
9709 extern "C"
9710 #endif
9711 char XextCreateExtension ();
9713 main ()
9715 return XextCreateExtension ();
9717 return 0;
9719 _ACEOF
9720 if ac_fn_c_try_link "$LINENO"; then :
9721 case "$LIBEXT" in
9722 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9723 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'` ;;
9724 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9725 if ${ac_cv_lib_soname_Xext:+false} :; then :
9726 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9727 fi ;;
9728 esac
9730 rm -f core conftest.err conftest.$ac_objext \
9731 conftest$ac_exeext conftest.$ac_ext
9732 LIBS=$ac_check_soname_save_LIBS
9734 if ${ac_cv_lib_soname_Xext:+false} :; then :
9735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9736 $as_echo "not found" >&6; }
9738 else
9739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9740 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9742 cat >>confdefs.h <<_ACEOF
9743 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9744 _ACEOF
9746 X_LIBS="$X_LIBS -lXext"
9748 X_LIBS="$X_LIBS -lX11"
9750 for ac_header in X11/Xlib.h \
9751 X11/XKBlib.h \
9752 X11/Xutil.h \
9753 X11/Xcursor/Xcursor.h \
9754 X11/extensions/shape.h \
9755 X11/extensions/XInput.h \
9756 X11/extensions/XInput2.h \
9757 X11/extensions/XShm.h \
9758 X11/extensions/Xcomposite.h \
9759 X11/extensions/Xinerama.h \
9760 X11/extensions/Xrandr.h \
9761 X11/extensions/Xrender.h \
9762 X11/extensions/xf86vmode.h \
9763 X11/extensions/xf86vmproto.h
9764 do :
9765 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9766 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9767 # include <X11/Xlib.h>
9768 #endif
9769 #ifdef HAVE_X11_XUTIL_H
9770 # include <X11/Xutil.h>
9771 #endif
9773 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9774 cat >>confdefs.h <<_ACEOF
9775 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9776 _ACEOF
9780 done
9783 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9784 then
9785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9786 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9787 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9788 $as_echo_n "(cached) " >&6
9789 else
9790 ac_check_lib_save_LIBS=$LIBS
9791 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9793 /* end confdefs.h. */
9795 /* Override any GCC internal prototype to avoid an error.
9796 Use char because int might match the return type of a GCC
9797 builtin and then its argument prototype would still apply. */
9798 #ifdef __cplusplus
9799 extern "C"
9800 #endif
9801 char XkbQueryExtension ();
9803 main ()
9805 return XkbQueryExtension ();
9807 return 0;
9809 _ACEOF
9810 if ac_fn_c_try_link "$LINENO"; then :
9811 ac_cv_lib_X11_XkbQueryExtension=yes
9812 else
9813 ac_cv_lib_X11_XkbQueryExtension=no
9815 rm -f core conftest.err conftest.$ac_objext \
9816 conftest$ac_exeext conftest.$ac_ext
9817 LIBS=$ac_check_lib_save_LIBS
9819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9820 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9821 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9823 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9829 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9830 then
9831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9832 $as_echo_n "checking for -lXcursor... " >&6; }
9833 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9834 $as_echo_n "(cached) " >&6
9835 else
9836 ac_check_soname_save_LIBS=$LIBS
9837 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9839 /* end confdefs.h. */
9841 /* Override any GCC internal prototype to avoid an error.
9842 Use char because int might match the return type of a GCC
9843 builtin and then its argument prototype would still apply. */
9844 #ifdef __cplusplus
9845 extern "C"
9846 #endif
9847 char XcursorImageLoadCursor ();
9849 main ()
9851 return XcursorImageLoadCursor ();
9853 return 0;
9855 _ACEOF
9856 if ac_fn_c_try_link "$LINENO"; then :
9857 case "$LIBEXT" in
9858 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9859 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'` ;;
9860 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9861 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9862 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9863 fi ;;
9864 esac
9866 rm -f core conftest.err conftest.$ac_objext \
9867 conftest$ac_exeext conftest.$ac_ext
9868 LIBS=$ac_check_soname_save_LIBS
9870 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9872 $as_echo "not found" >&6; }
9874 else
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9876 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9878 cat >>confdefs.h <<_ACEOF
9879 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9880 _ACEOF
9885 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9886 case "x$with_xcursor" in
9887 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9888 xno) ;;
9889 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9890 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9891 esac
9894 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9895 then
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9897 $as_echo_n "checking for -lXi... " >&6; }
9898 if ${ac_cv_lib_soname_Xi+:} false; then :
9899 $as_echo_n "(cached) " >&6
9900 else
9901 ac_check_soname_save_LIBS=$LIBS
9902 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9904 /* end confdefs.h. */
9906 /* Override any GCC internal prototype to avoid an error.
9907 Use char because int might match the return type of a GCC
9908 builtin and then its argument prototype would still apply. */
9909 #ifdef __cplusplus
9910 extern "C"
9911 #endif
9912 char XOpenDevice ();
9914 main ()
9916 return XOpenDevice ();
9918 return 0;
9920 _ACEOF
9921 if ac_fn_c_try_link "$LINENO"; then :
9922 case "$LIBEXT" in
9923 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9924 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'` ;;
9925 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9926 if ${ac_cv_lib_soname_Xi:+false} :; then :
9927 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9928 fi ;;
9929 esac
9931 rm -f core conftest.err conftest.$ac_objext \
9932 conftest$ac_exeext conftest.$ac_ext
9933 LIBS=$ac_check_soname_save_LIBS
9935 if ${ac_cv_lib_soname_Xi:+false} :; then :
9936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9937 $as_echo "not found" >&6; }
9939 else
9940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9941 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9943 cat >>confdefs.h <<_ACEOF
9944 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9945 _ACEOF
9950 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9951 case "x$with_xinput" in
9952 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9953 xno) ;;
9954 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9955 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9956 esac
9959 if test "x$ac_cv_lib_soname_Xi" != x
9960 then
9961 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9962 case "x$with_xinput2" in
9963 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9964 xno) ;;
9965 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9966 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9967 esac
9971 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9972 then
9973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9974 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9975 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9976 $as_echo_n "(cached) " >&6
9977 else
9978 ac_check_lib_save_LIBS=$LIBS
9979 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9981 /* end confdefs.h. */
9983 /* Override any GCC internal prototype to avoid an error.
9984 Use char because int might match the return type of a GCC
9985 builtin and then its argument prototype would still apply. */
9986 #ifdef __cplusplus
9987 extern "C"
9988 #endif
9989 char XShmQueryExtension ();
9991 main ()
9993 return XShmQueryExtension ();
9995 return 0;
9997 _ACEOF
9998 if ac_fn_c_try_link "$LINENO"; then :
9999 ac_cv_lib_Xext_XShmQueryExtension=yes
10000 else
10001 ac_cv_lib_Xext_XShmQueryExtension=no
10003 rm -f core conftest.err conftest.$ac_objext \
10004 conftest$ac_exeext conftest.$ac_ext
10005 LIBS=$ac_check_lib_save_LIBS
10007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10008 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10009 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10011 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10016 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10017 case "x$with_xshm" in
10018 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10019 xno) ;;
10020 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10021 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10022 esac
10025 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10026 then
10027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10028 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10029 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10030 $as_echo_n "(cached) " >&6
10031 else
10032 ac_check_lib_save_LIBS=$LIBS
10033 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10035 /* end confdefs.h. */
10037 /* Override any GCC internal prototype to avoid an error.
10038 Use char because int might match the return type of a GCC
10039 builtin and then its argument prototype would still apply. */
10040 #ifdef __cplusplus
10041 extern "C"
10042 #endif
10043 char XShapeQueryExtension ();
10045 main ()
10047 return XShapeQueryExtension ();
10049 return 0;
10051 _ACEOF
10052 if ac_fn_c_try_link "$LINENO"; then :
10053 ac_cv_lib_Xext_XShapeQueryExtension=yes
10054 else
10055 ac_cv_lib_Xext_XShapeQueryExtension=no
10057 rm -f core conftest.err conftest.$ac_objext \
10058 conftest$ac_exeext conftest.$ac_ext
10059 LIBS=$ac_check_lib_save_LIBS
10061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10062 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10063 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10065 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10070 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10071 case "x$with_xshape" in
10072 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10073 xno) ;;
10074 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10075 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10076 esac
10079 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10080 then
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10082 $as_echo_n "checking for -lXxf86vm... " >&6; }
10083 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10084 $as_echo_n "(cached) " >&6
10085 else
10086 ac_check_soname_save_LIBS=$LIBS
10087 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10089 /* end confdefs.h. */
10091 /* Override any GCC internal prototype to avoid an error.
10092 Use char because int might match the return type of a GCC
10093 builtin and then its argument prototype would still apply. */
10094 #ifdef __cplusplus
10095 extern "C"
10096 #endif
10097 char XF86VidModeQueryExtension ();
10099 main ()
10101 return XF86VidModeQueryExtension ();
10103 return 0;
10105 _ACEOF
10106 if ac_fn_c_try_link "$LINENO"; then :
10107 case "$LIBEXT" in
10108 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10109 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'` ;;
10110 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10111 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10112 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10113 fi ;;
10114 esac
10116 rm -f core conftest.err conftest.$ac_objext \
10117 conftest$ac_exeext conftest.$ac_ext
10118 LIBS=$ac_check_soname_save_LIBS
10120 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10122 $as_echo "not found" >&6; }
10124 else
10125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10126 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10128 cat >>confdefs.h <<_ACEOF
10129 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10130 _ACEOF
10135 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10136 case "x$with_xxf86vm" in
10137 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10138 xno) ;;
10139 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10140 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10141 esac
10144 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10145 then
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10147 $as_echo_n "checking for -lXrender... " >&6; }
10148 if ${ac_cv_lib_soname_Xrender+:} false; then :
10149 $as_echo_n "(cached) " >&6
10150 else
10151 ac_check_soname_save_LIBS=$LIBS
10152 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10154 /* end confdefs.h. */
10156 /* Override any GCC internal prototype to avoid an error.
10157 Use char because int might match the return type of a GCC
10158 builtin and then its argument prototype would still apply. */
10159 #ifdef __cplusplus
10160 extern "C"
10161 #endif
10162 char XRenderQueryExtension ();
10164 main ()
10166 return XRenderQueryExtension ();
10168 return 0;
10170 _ACEOF
10171 if ac_fn_c_try_link "$LINENO"; then :
10172 case "$LIBEXT" in
10173 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10174 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'` ;;
10175 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10176 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10177 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10178 fi ;;
10179 esac
10181 rm -f core conftest.err conftest.$ac_objext \
10182 conftest$ac_exeext conftest.$ac_ext
10183 LIBS=$ac_check_soname_save_LIBS
10185 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10187 $as_echo "not found" >&6; }
10189 else
10190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10191 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10193 cat >>confdefs.h <<_ACEOF
10194 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10195 _ACEOF
10197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10198 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10199 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10200 $as_echo_n "(cached) " >&6
10201 else
10202 ac_check_lib_save_LIBS=$LIBS
10203 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10205 /* end confdefs.h. */
10207 /* Override any GCC internal prototype to avoid an error.
10208 Use char because int might match the return type of a GCC
10209 builtin and then its argument prototype would still apply. */
10210 #ifdef __cplusplus
10211 extern "C"
10212 #endif
10213 char XRenderSetPictureTransform ();
10215 main ()
10217 return XRenderSetPictureTransform ();
10219 return 0;
10221 _ACEOF
10222 if ac_fn_c_try_link "$LINENO"; then :
10223 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10224 else
10225 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10227 rm -f core conftest.err conftest.$ac_objext \
10228 conftest$ac_exeext conftest.$ac_ext
10229 LIBS=$ac_check_lib_save_LIBS
10231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10232 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10233 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10235 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10240 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10241 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10242 $as_echo_n "(cached) " >&6
10243 else
10244 ac_check_lib_save_LIBS=$LIBS
10245 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10247 /* end confdefs.h. */
10249 /* Override any GCC internal prototype to avoid an error.
10250 Use char because int might match the return type of a GCC
10251 builtin and then its argument prototype would still apply. */
10252 #ifdef __cplusplus
10253 extern "C"
10254 #endif
10255 char XRenderCreateLinearGradient ();
10257 main ()
10259 return XRenderCreateLinearGradient ();
10261 return 0;
10263 _ACEOF
10264 if ac_fn_c_try_link "$LINENO"; then :
10265 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10266 else
10267 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10269 rm -f core conftest.err conftest.$ac_objext \
10270 conftest$ac_exeext conftest.$ac_ext
10271 LIBS=$ac_check_lib_save_LIBS
10273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10274 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10275 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10277 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10284 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10285 case "x$with_xrender" in
10286 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10287 xno) ;;
10288 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10289 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10290 esac
10293 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10294 then
10295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10296 /* end confdefs.h. */
10297 #include <X11/Xlib.h>
10298 #include <X11/extensions/Xrandr.h>
10300 main ()
10302 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10304 return 0;
10306 _ACEOF
10307 if ac_fn_c_try_compile "$LINENO"; then :
10308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10309 $as_echo_n "checking for -lXrandr... " >&6; }
10310 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10311 $as_echo_n "(cached) " >&6
10312 else
10313 ac_check_soname_save_LIBS=$LIBS
10314 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10316 /* end confdefs.h. */
10318 /* Override any GCC internal prototype to avoid an error.
10319 Use char because int might match the return type of a GCC
10320 builtin and then its argument prototype would still apply. */
10321 #ifdef __cplusplus
10322 extern "C"
10323 #endif
10324 char XRRQueryExtension ();
10326 main ()
10328 return XRRQueryExtension ();
10330 return 0;
10332 _ACEOF
10333 if ac_fn_c_try_link "$LINENO"; then :
10334 case "$LIBEXT" in
10335 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10336 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'` ;;
10337 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10338 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10339 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10340 fi ;;
10341 esac
10343 rm -f core conftest.err conftest.$ac_objext \
10344 conftest$ac_exeext conftest.$ac_ext
10345 LIBS=$ac_check_soname_save_LIBS
10347 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10349 $as_echo "not found" >&6; }
10351 else
10352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10353 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10355 cat >>confdefs.h <<_ACEOF
10356 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10357 _ACEOF
10359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10360 /* end confdefs.h. */
10361 #include <X11/Xlib.h>
10362 #include <X11/extensions/Xrandr.h>
10364 main ()
10366 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10368 return 0;
10370 _ACEOF
10371 if ac_fn_c_try_compile "$LINENO"; then :
10373 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10381 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10382 case "x$with_xrandr" in
10383 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10384 xno) ;;
10385 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10386 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10387 esac
10390 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10391 then
10392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10393 /* end confdefs.h. */
10394 #include <X11/Xlib.h>
10395 #include <X11/extensions/Xinerama.h>
10397 main ()
10399 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10401 return 0;
10403 _ACEOF
10404 if ac_fn_c_try_compile "$LINENO"; then :
10405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10406 $as_echo_n "checking for -lXinerama... " >&6; }
10407 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10408 $as_echo_n "(cached) " >&6
10409 else
10410 ac_check_soname_save_LIBS=$LIBS
10411 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10413 /* end confdefs.h. */
10415 /* Override any GCC internal prototype to avoid an error.
10416 Use char because int might match the return type of a GCC
10417 builtin and then its argument prototype would still apply. */
10418 #ifdef __cplusplus
10419 extern "C"
10420 #endif
10421 char XineramaQueryScreens ();
10423 main ()
10425 return XineramaQueryScreens ();
10427 return 0;
10429 _ACEOF
10430 if ac_fn_c_try_link "$LINENO"; then :
10431 case "$LIBEXT" in
10432 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10433 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'` ;;
10434 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10435 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10436 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10437 fi ;;
10438 esac
10440 rm -f core conftest.err conftest.$ac_objext \
10441 conftest$ac_exeext conftest.$ac_ext
10442 LIBS=$ac_check_soname_save_LIBS
10444 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10446 $as_echo "not found" >&6; }
10448 else
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10450 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10452 cat >>confdefs.h <<_ACEOF
10453 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10454 _ACEOF
10459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10461 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10462 case "x$with_xinerama" in
10463 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10464 xno) ;;
10465 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10466 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10467 esac
10470 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10471 then
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10473 $as_echo_n "checking for -lXcomposite... " >&6; }
10474 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10475 $as_echo_n "(cached) " >&6
10476 else
10477 ac_check_soname_save_LIBS=$LIBS
10478 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10480 /* end confdefs.h. */
10482 /* Override any GCC internal prototype to avoid an error.
10483 Use char because int might match the return type of a GCC
10484 builtin and then its argument prototype would still apply. */
10485 #ifdef __cplusplus
10486 extern "C"
10487 #endif
10488 char XCompositeRedirectWindow ();
10490 main ()
10492 return XCompositeRedirectWindow ();
10494 return 0;
10496 _ACEOF
10497 if ac_fn_c_try_link "$LINENO"; then :
10498 case "$LIBEXT" in
10499 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10500 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'` ;;
10501 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10502 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10503 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10504 fi ;;
10505 esac
10507 rm -f core conftest.err conftest.$ac_objext \
10508 conftest$ac_exeext conftest.$ac_ext
10509 LIBS=$ac_check_soname_save_LIBS
10511 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10513 $as_echo "not found" >&6; }
10515 else
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10517 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10519 cat >>confdefs.h <<_ACEOF
10520 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10521 _ACEOF
10526 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10527 case "x$with_xcomposite" in
10528 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10529 xno) ;;
10530 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10531 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10532 esac
10535 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10536 #include <X11/Xlib.h>
10537 #endif
10539 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10541 cat >>confdefs.h <<_ACEOF
10542 #define HAVE_XICCALLBACK_CALLBACK 1
10543 _ACEOF
10547 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10548 #include <X11/Xlib.h>
10549 #endif
10551 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10553 cat >>confdefs.h <<_ACEOF
10554 #define HAVE_XEVENT_XCOOKIE 1
10555 _ACEOF
10562 opengl_msg=""
10563 if test "x$with_opengl" != "xno"
10564 then
10565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10566 $as_echo_n "checking for -lGL... " >&6; }
10567 if ${ac_cv_lib_soname_GL+:} false; then :
10568 $as_echo_n "(cached) " >&6
10569 else
10570 ac_check_soname_save_LIBS=$LIBS
10571 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10573 /* end confdefs.h. */
10575 /* Override any GCC internal prototype to avoid an error.
10576 Use char because int might match the return type of a GCC
10577 builtin and then its argument prototype would still apply. */
10578 #ifdef __cplusplus
10579 extern "C"
10580 #endif
10581 char glXCreateContext ();
10583 main ()
10585 return glXCreateContext ();
10587 return 0;
10589 _ACEOF
10590 if ac_fn_c_try_link "$LINENO"; then :
10591 case "$LIBEXT" in
10592 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10593 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'` ;;
10594 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10595 if ${ac_cv_lib_soname_GL:+false} :; then :
10596 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10597 fi ;;
10598 esac
10600 rm -f core conftest.err conftest.$ac_objext \
10601 conftest$ac_exeext conftest.$ac_ext
10602 LIBS=$ac_check_soname_save_LIBS
10604 if ${ac_cv_lib_soname_GL:+false} :; then :
10605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10606 $as_echo "not found" >&6; }
10607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10608 $as_echo_n "checking for -lGL... " >&6; }
10609 if ${ac_cv_lib_soname_GL+:} false; then :
10610 $as_echo_n "(cached) " >&6
10611 else
10612 ac_check_soname_save_LIBS=$LIBS
10613 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"
10614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10615 /* end confdefs.h. */
10617 /* Override any GCC internal prototype to avoid an error.
10618 Use char because int might match the return type of a GCC
10619 builtin and then its argument prototype would still apply. */
10620 #ifdef __cplusplus
10621 extern "C"
10622 #endif
10623 char glXCreateContext ();
10625 main ()
10627 return glXCreateContext ();
10629 return 0;
10631 _ACEOF
10632 if ac_fn_c_try_link "$LINENO"; then :
10633 case "$LIBEXT" in
10634 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10635 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'` ;;
10636 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10637 if ${ac_cv_lib_soname_GL:+false} :; then :
10638 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10639 fi ;;
10640 esac
10642 rm -f core conftest.err conftest.$ac_objext \
10643 conftest$ac_exeext conftest.$ac_ext
10644 LIBS=$ac_check_soname_save_LIBS
10646 if ${ac_cv_lib_soname_GL:+false} :; then :
10647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10648 $as_echo "not found" >&6; }
10649 if test -f /usr/X11R6/lib/libGL.a
10650 then
10651 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10652 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10653 else
10654 opengl_msg="No OpenGL library found on this system."
10656 else
10657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10658 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10660 cat >>confdefs.h <<_ACEOF
10661 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10662 _ACEOF
10664 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"
10666 else
10667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10668 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10670 cat >>confdefs.h <<_ACEOF
10671 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10672 _ACEOF
10674 OPENGL_LIBS="-lGL"
10676 if test "x$with_glu" != "xno"
10677 then
10678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10679 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10680 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10681 $as_echo_n "(cached) " >&6
10682 else
10683 ac_check_lib_save_LIBS=$LIBS
10684 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10686 /* end confdefs.h. */
10688 /* Override any GCC internal prototype to avoid an error.
10689 Use char because int might match the return type of a GCC
10690 builtin and then its argument prototype would still apply. */
10691 #ifdef __cplusplus
10692 extern "C"
10693 #endif
10694 char gluLookAt ();
10696 main ()
10698 return gluLookAt ();
10700 return 0;
10702 _ACEOF
10703 if ac_fn_c_try_link "$LINENO"; then :
10704 ac_cv_lib_GLU_gluLookAt=yes
10705 else
10706 ac_cv_lib_GLU_gluLookAt=no
10708 rm -f core conftest.err conftest.$ac_objext \
10709 conftest$ac_exeext conftest.$ac_ext
10710 LIBS=$ac_check_lib_save_LIBS
10712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10713 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10714 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10718 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10719 case "x$with_glu" in
10720 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10721 xno) ;;
10722 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10723 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10724 esac
10728 if test "x$with_osmesa" != "xno"
10729 then
10730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10731 $as_echo_n "checking for -lOSMesa... " >&6; }
10732 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10733 $as_echo_n "(cached) " >&6
10734 else
10735 ac_check_soname_save_LIBS=$LIBS
10736 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10738 /* end confdefs.h. */
10740 /* Override any GCC internal prototype to avoid an error.
10741 Use char because int might match the return type of a GCC
10742 builtin and then its argument prototype would still apply. */
10743 #ifdef __cplusplus
10744 extern "C"
10745 #endif
10746 char glAccum ();
10748 main ()
10750 return glAccum ();
10752 return 0;
10754 _ACEOF
10755 if ac_fn_c_try_link "$LINENO"; then :
10756 case "$LIBEXT" in
10757 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10758 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'` ;;
10759 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10760 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10761 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10762 fi ;;
10763 esac
10765 rm -f core conftest.err conftest.$ac_objext \
10766 conftest$ac_exeext conftest.$ac_ext
10767 LIBS=$ac_check_soname_save_LIBS
10769 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10771 $as_echo "not found" >&6; }
10773 else
10774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10775 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10777 cat >>confdefs.h <<_ACEOF
10778 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10779 _ACEOF
10783 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10784 case "x$with_osmesa" in
10785 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10786 xno) ;;
10787 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10788 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10789 esac
10793 if test -n "$opengl_msg"; then :
10794 case "x$with_opengl" in
10795 x) as_fn_append wine_warnings "|$opengl_msg
10796 OpenGL and Direct3D won't be supported." ;;
10797 xno) ;;
10798 *) as_fn_error $? "$opengl_msg
10799 OpenGL and Direct3D won't be supported.
10800 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10801 esac
10804 CPPFLAGS="$ac_save_CPPFLAGS"
10805 else
10806 X_CFLAGS=""
10807 X_LIBS=""
10808 enable_winex11_drv=${enable_winex11_drv:-no}
10810 if test "x$X_LIBS" = "x"; then :
10811 case "x$with_x" in
10812 xno) ;;
10813 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10814 without X support, which probably isn't what you want. You will need
10815 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10816 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10817 esac
10820 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10822 if test "$ac_cv_header_CL_cl_h" = "yes"
10823 then
10824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10825 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10826 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10827 $as_echo_n "(cached) " >&6
10828 else
10829 ac_check_lib_save_LIBS=$LIBS
10830 LIBS="-lOpenCL $LIBS"
10831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10832 /* end confdefs.h. */
10834 /* Override any GCC internal prototype to avoid an error.
10835 Use char because int might match the return type of a GCC
10836 builtin and then its argument prototype would still apply. */
10837 #ifdef __cplusplus
10838 extern "C"
10839 #endif
10840 char clGetPlatformInfo ();
10842 main ()
10844 return clGetPlatformInfo ();
10846 return 0;
10848 _ACEOF
10849 if ac_fn_c_try_link "$LINENO"; then :
10850 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10851 else
10852 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10854 rm -f core conftest.err conftest.$ac_objext \
10855 conftest$ac_exeext conftest.$ac_ext
10856 LIBS=$ac_check_lib_save_LIBS
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10859 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10860 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10861 OPENCL_LIBS="-lOpenCL"
10866 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10867 case "x$with_opencl" in
10868 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10869 xno) ;;
10870 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10871 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10872 esac
10874 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10876 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10877 then
10878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10879 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10880 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10881 $as_echo_n "(cached) " >&6
10882 else
10883 ac_check_lib_save_LIBS=$LIBS
10884 LIBS="-lpcap $LIBS"
10885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10886 /* end confdefs.h. */
10888 /* Override any GCC internal prototype to avoid an error.
10889 Use char because int might match the return type of a GCC
10890 builtin and then its argument prototype would still apply. */
10891 #ifdef __cplusplus
10892 extern "C"
10893 #endif
10894 char pcap_create ();
10896 main ()
10898 return pcap_create ();
10900 return 0;
10902 _ACEOF
10903 if ac_fn_c_try_link "$LINENO"; then :
10904 ac_cv_lib_pcap_pcap_create=yes
10905 else
10906 ac_cv_lib_pcap_pcap_create=no
10908 rm -f core conftest.err conftest.$ac_objext \
10909 conftest$ac_exeext conftest.$ac_ext
10910 LIBS=$ac_check_lib_save_LIBS
10912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10913 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10914 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10915 LIBPCAP="-lpcap"
10920 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10921 case "x$with_pcap" in
10922 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10923 xno) ;;
10924 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10925 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10926 esac
10928 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10931 if test "x$with_xml" != "xno"
10932 then
10933 if ${XML2_CFLAGS:+false} :; then :
10934 if ${PKG_CONFIG+:} false; then :
10935 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10938 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10939 if ${XML2_LIBS:+false} :; then :
10940 if ${PKG_CONFIG+:} false; then :
10941 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10944 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10945 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10946 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10947 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10948 ac_save_CPPFLAGS=$CPPFLAGS
10949 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10950 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10951 do :
10952 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10953 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10954 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10955 cat >>confdefs.h <<_ACEOF
10956 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10957 _ACEOF
10961 done
10963 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"
10964 then
10965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10966 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10967 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10968 $as_echo_n "(cached) " >&6
10969 else
10970 ac_check_lib_save_LIBS=$LIBS
10971 LIBS="-lxml2 $XML2_LIBS $LIBS"
10972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10973 /* end confdefs.h. */
10975 /* Override any GCC internal prototype to avoid an error.
10976 Use char because int might match the return type of a GCC
10977 builtin and then its argument prototype would still apply. */
10978 #ifdef __cplusplus
10979 extern "C"
10980 #endif
10981 char xmlParseMemory ();
10983 main ()
10985 return xmlParseMemory ();
10987 return 0;
10989 _ACEOF
10990 if ac_fn_c_try_link "$LINENO"; then :
10991 ac_cv_lib_xml2_xmlParseMemory=yes
10992 else
10993 ac_cv_lib_xml2_xmlParseMemory=no
10995 rm -f core conftest.err conftest.$ac_objext \
10996 conftest$ac_exeext conftest.$ac_ext
10997 LIBS=$ac_check_lib_save_LIBS
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11000 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11001 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11003 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11005 else
11006 XML2_LIBS=""
11009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11010 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11011 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11012 $as_echo_n "(cached) " >&6
11013 else
11014 ac_check_lib_save_LIBS=$LIBS
11015 LIBS="-lxml2 $XML2_LIBS $LIBS"
11016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11017 /* end confdefs.h. */
11019 /* Override any GCC internal prototype to avoid an error.
11020 Use char because int might match the return type of a GCC
11021 builtin and then its argument prototype would still apply. */
11022 #ifdef __cplusplus
11023 extern "C"
11024 #endif
11025 char xmlReadMemory ();
11027 main ()
11029 return xmlReadMemory ();
11031 return 0;
11033 _ACEOF
11034 if ac_fn_c_try_link "$LINENO"; then :
11035 ac_cv_lib_xml2_xmlReadMemory=yes
11036 else
11037 ac_cv_lib_xml2_xmlReadMemory=no
11039 rm -f core conftest.err conftest.$ac_objext \
11040 conftest$ac_exeext conftest.$ac_ext
11041 LIBS=$ac_check_lib_save_LIBS
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11044 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11045 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11047 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11052 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11053 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11054 $as_echo_n "(cached) " >&6
11055 else
11056 ac_check_lib_save_LIBS=$LIBS
11057 LIBS="-lxml2 $XML2_LIBS $LIBS"
11058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11059 /* end confdefs.h. */
11061 /* Override any GCC internal prototype to avoid an error.
11062 Use char because int might match the return type of a GCC
11063 builtin and then its argument prototype would still apply. */
11064 #ifdef __cplusplus
11065 extern "C"
11066 #endif
11067 char xmlNewDocPI ();
11069 main ()
11071 return xmlNewDocPI ();
11073 return 0;
11075 _ACEOF
11076 if ac_fn_c_try_link "$LINENO"; then :
11077 ac_cv_lib_xml2_xmlNewDocPI=yes
11078 else
11079 ac_cv_lib_xml2_xmlNewDocPI=no
11081 rm -f core conftest.err conftest.$ac_objext \
11082 conftest$ac_exeext conftest.$ac_ext
11083 LIBS=$ac_check_lib_save_LIBS
11085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11086 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11087 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11089 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11094 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11095 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11096 $as_echo_n "(cached) " >&6
11097 else
11098 ac_check_lib_save_LIBS=$LIBS
11099 LIBS="-lxml2 $XML2_LIBS $LIBS"
11100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11101 /* end confdefs.h. */
11103 /* Override any GCC internal prototype to avoid an error.
11104 Use char because int might match the return type of a GCC
11105 builtin and then its argument prototype would still apply. */
11106 #ifdef __cplusplus
11107 extern "C"
11108 #endif
11109 char xmlSchemaSetParserStructuredErrors ();
11111 main ()
11113 return xmlSchemaSetParserStructuredErrors ();
11115 return 0;
11117 _ACEOF
11118 if ac_fn_c_try_link "$LINENO"; then :
11119 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11120 else
11121 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11123 rm -f core conftest.err conftest.$ac_objext \
11124 conftest$ac_exeext conftest.$ac_ext
11125 LIBS=$ac_check_lib_save_LIBS
11127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11128 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11129 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11131 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11136 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11137 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11138 $as_echo_n "(cached) " >&6
11139 else
11140 ac_check_lib_save_LIBS=$LIBS
11141 LIBS="-lxml2 $XML2_LIBS $LIBS"
11142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11143 /* end confdefs.h. */
11145 /* Override any GCC internal prototype to avoid an error.
11146 Use char because int might match the return type of a GCC
11147 builtin and then its argument prototype would still apply. */
11148 #ifdef __cplusplus
11149 extern "C"
11150 #endif
11151 char xmlSchemaSetValidStructuredErrors ();
11153 main ()
11155 return xmlSchemaSetValidStructuredErrors ();
11157 return 0;
11159 _ACEOF
11160 if ac_fn_c_try_link "$LINENO"; then :
11161 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11162 else
11163 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11165 rm -f core conftest.err conftest.$ac_objext \
11166 conftest$ac_exeext conftest.$ac_ext
11167 LIBS=$ac_check_lib_save_LIBS
11169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11170 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11171 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11173 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11178 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11179 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11180 $as_echo_n "(cached) " >&6
11181 else
11182 ac_check_lib_save_LIBS=$LIBS
11183 LIBS="-lxml2 $XML2_LIBS $LIBS"
11184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11185 /* end confdefs.h. */
11187 /* Override any GCC internal prototype to avoid an error.
11188 Use char because int might match the return type of a GCC
11189 builtin and then its argument prototype would still apply. */
11190 #ifdef __cplusplus
11191 extern "C"
11192 #endif
11193 char xmlFirstElementChild ();
11195 main ()
11197 return xmlFirstElementChild ();
11199 return 0;
11201 _ACEOF
11202 if ac_fn_c_try_link "$LINENO"; then :
11203 ac_cv_lib_xml2_xmlFirstElementChild=yes
11204 else
11205 ac_cv_lib_xml2_xmlFirstElementChild=no
11207 rm -f core conftest.err conftest.$ac_objext \
11208 conftest$ac_exeext conftest.$ac_ext
11209 LIBS=$ac_check_lib_save_LIBS
11211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11212 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11213 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11215 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11219 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11221 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11223 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11227 else
11228 XML2_CFLAGS=""
11229 XML2_LIBS=""
11231 CPPFLAGS=$ac_save_CPPFLAGS
11232 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11233 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11236 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11237 case "x$with_xml" in
11238 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11239 xno) ;;
11240 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11241 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11242 esac
11245 if test "x$with_xslt" != "xno"
11246 then
11247 if ${XSLT_CFLAGS:+false} :; then :
11248 if ${PKG_CONFIG+:} false; then :
11249 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11252 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11253 if ${XSLT_LIBS:+false} :; then :
11254 if ${PKG_CONFIG+:} false; then :
11255 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11258 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11259 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11260 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11261 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11262 ac_save_CPPFLAGS=$CPPFLAGS
11263 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11264 for ac_header in libxslt/pattern.h libxslt/transform.h
11265 do :
11266 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11267 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11268 # include <libxslt/pattern.h>
11269 #endif
11271 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11272 cat >>confdefs.h <<_ACEOF
11273 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11274 _ACEOF
11278 done
11280 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11281 then
11282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11283 $as_echo_n "checking for -lxslt... " >&6; }
11284 if ${ac_cv_lib_soname_xslt+:} false; then :
11285 $as_echo_n "(cached) " >&6
11286 else
11287 ac_check_soname_save_LIBS=$LIBS
11288 LIBS="-lxslt $XSLT_LIBS $LIBS"
11289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11290 /* end confdefs.h. */
11292 /* Override any GCC internal prototype to avoid an error.
11293 Use char because int might match the return type of a GCC
11294 builtin and then its argument prototype would still apply. */
11295 #ifdef __cplusplus
11296 extern "C"
11297 #endif
11298 char xsltCompilePattern ();
11300 main ()
11302 return xsltCompilePattern ();
11304 return 0;
11306 _ACEOF
11307 if ac_fn_c_try_link "$LINENO"; then :
11308 case "$LIBEXT" in
11309 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11310 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'` ;;
11311 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11312 if ${ac_cv_lib_soname_xslt:+false} :; then :
11313 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11314 fi ;;
11315 esac
11317 rm -f core conftest.err conftest.$ac_objext \
11318 conftest$ac_exeext conftest.$ac_ext
11319 LIBS=$ac_check_soname_save_LIBS
11321 if ${ac_cv_lib_soname_xslt:+false} :; then :
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11323 $as_echo "not found" >&6; }
11325 else
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11327 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11329 cat >>confdefs.h <<_ACEOF
11330 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11331 _ACEOF
11335 else
11336 XSLT_CFLAGS=""
11338 CPPFLAGS=$ac_save_CPPFLAGS
11339 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11340 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11343 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11344 case "x$with_xslt" in
11345 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11346 xno) ;;
11347 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11348 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11349 esac
11352 if test "x$with_dbus" != "xno"
11353 then
11354 if ${DBUS_CFLAGS:+false} :; then :
11355 if ${PKG_CONFIG+:} false; then :
11356 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11360 if ${DBUS_LIBS:+false} :; then :
11361 if ${PKG_CONFIG+:} false; then :
11362 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11367 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11368 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11369 ac_save_CPPFLAGS=$CPPFLAGS
11370 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11371 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11372 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11374 $as_echo_n "checking for -ldbus-1... " >&6; }
11375 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11376 $as_echo_n "(cached) " >&6
11377 else
11378 ac_check_soname_save_LIBS=$LIBS
11379 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11381 /* end confdefs.h. */
11383 /* Override any GCC internal prototype to avoid an error.
11384 Use char because int might match the return type of a GCC
11385 builtin and then its argument prototype would still apply. */
11386 #ifdef __cplusplus
11387 extern "C"
11388 #endif
11389 char dbus_connection_close ();
11391 main ()
11393 return dbus_connection_close ();
11395 return 0;
11397 _ACEOF
11398 if ac_fn_c_try_link "$LINENO"; then :
11399 case "$LIBEXT" in
11400 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11401 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'` ;;
11402 *) 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'`
11403 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11404 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11405 fi ;;
11406 esac
11408 rm -f core conftest.err conftest.$ac_objext \
11409 conftest$ac_exeext conftest.$ac_ext
11410 LIBS=$ac_check_soname_save_LIBS
11412 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11414 $as_echo "not found" >&6; }
11415 DBUS_CFLAGS=""
11416 else
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11418 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11420 cat >>confdefs.h <<_ACEOF
11421 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11422 _ACEOF
11426 else
11427 DBUS_CFLAGS=""
11431 CPPFLAGS=$ac_save_CPPFLAGS
11432 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11433 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11436 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11437 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11438 case "x$with_dbus" in
11439 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11440 xno) ;;
11441 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11442 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11443 esac
11446 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11447 then
11448 if ${HAL_CFLAGS:+false} :; then :
11449 if ${PKG_CONFIG+:} false; then :
11450 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11454 if ${HAL_LIBS:+false} :; then :
11455 if ${PKG_CONFIG+:} false; then :
11456 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11460 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11461 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11462 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11463 ac_save_CPPFLAGS=$CPPFLAGS
11464 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11465 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11466 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11468 $as_echo_n "checking for -lhal... " >&6; }
11469 if ${ac_cv_lib_soname_hal+:} false; then :
11470 $as_echo_n "(cached) " >&6
11471 else
11472 ac_check_soname_save_LIBS=$LIBS
11473 LIBS="-lhal $HAL_LIBS $LIBS"
11474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11475 /* end confdefs.h. */
11477 /* Override any GCC internal prototype to avoid an error.
11478 Use char because int might match the return type of a GCC
11479 builtin and then its argument prototype would still apply. */
11480 #ifdef __cplusplus
11481 extern "C"
11482 #endif
11483 char libhal_ctx_new ();
11485 main ()
11487 return libhal_ctx_new ();
11489 return 0;
11491 _ACEOF
11492 if ac_fn_c_try_link "$LINENO"; then :
11493 case "$LIBEXT" in
11494 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11495 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'` ;;
11496 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11497 if ${ac_cv_lib_soname_hal:+false} :; then :
11498 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11499 fi ;;
11500 esac
11502 rm -f core conftest.err conftest.$ac_objext \
11503 conftest$ac_exeext conftest.$ac_ext
11504 LIBS=$ac_check_soname_save_LIBS
11506 if ${ac_cv_lib_soname_hal:+false} :; then :
11507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11508 $as_echo "not found" >&6; }
11509 HAL_CFLAGS=""
11510 else
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11512 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11514 cat >>confdefs.h <<_ACEOF
11515 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11516 _ACEOF
11520 else
11521 HAL_CFLAGS=""
11525 CPPFLAGS=$ac_save_CPPFLAGS
11526 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11527 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11529 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11530 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11531 case "x$with_hal" in
11532 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11533 xno) ;;
11534 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11535 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11536 esac
11540 if test "x$with_gnutls" != "xno"
11541 then
11542 if ${GNUTLS_CFLAGS:+false} :; then :
11543 if ${PKG_CONFIG+:} false; then :
11544 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11548 if ${GNUTLS_LIBS:+false} :; then :
11549 if ${PKG_CONFIG+:} false; then :
11550 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11555 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11556 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11557 ac_save_CPPFLAGS=$CPPFLAGS
11558 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11559 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11560 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11562 /* end confdefs.h. */
11563 #include <gnutls/gnutls.h>
11564 #include <gnutls/crypto.h>
11566 main ()
11568 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11570 return 0;
11572 _ACEOF
11573 if ac_fn_c_try_compile "$LINENO"; then :
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11575 $as_echo_n "checking for -lgnutls... " >&6; }
11576 if ${ac_cv_lib_soname_gnutls+:} false; then :
11577 $as_echo_n "(cached) " >&6
11578 else
11579 ac_check_soname_save_LIBS=$LIBS
11580 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11582 /* end confdefs.h. */
11584 /* Override any GCC internal prototype to avoid an error.
11585 Use char because int might match the return type of a GCC
11586 builtin and then its argument prototype would still apply. */
11587 #ifdef __cplusplus
11588 extern "C"
11589 #endif
11590 char gnutls_global_init ();
11592 main ()
11594 return gnutls_global_init ();
11596 return 0;
11598 _ACEOF
11599 if ac_fn_c_try_link "$LINENO"; then :
11600 case "$LIBEXT" in
11601 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11602 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'` ;;
11603 *) 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'`
11604 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11605 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'`
11606 fi ;;
11607 esac
11609 rm -f core conftest.err conftest.$ac_objext \
11610 conftest$ac_exeext conftest.$ac_ext
11611 LIBS=$ac_check_soname_save_LIBS
11613 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11615 $as_echo "not found" >&6; }
11616 GNUTLS_CFLAGS=""
11617 else
11618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11619 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11621 cat >>confdefs.h <<_ACEOF
11622 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11623 _ACEOF
11628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11629 else
11630 GNUTLS_CFLAGS=""
11634 CPPFLAGS=$ac_save_CPPFLAGS
11635 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11636 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11639 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11640 case "x$with_gnutls" in
11641 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11642 xno) ;;
11643 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11644 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11645 esac
11648 CURSES_LIBS=""
11649 if test "$ac_cv_header_ncurses_h" = "yes"
11650 then
11651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11652 $as_echo_n "checking for -lncurses... " >&6; }
11653 if ${ac_cv_lib_soname_ncurses+:} false; then :
11654 $as_echo_n "(cached) " >&6
11655 else
11656 ac_check_soname_save_LIBS=$LIBS
11657 LIBS="-lncurses $LIBS"
11658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11659 /* end confdefs.h. */
11661 /* Override any GCC internal prototype to avoid an error.
11662 Use char because int might match the return type of a GCC
11663 builtin and then its argument prototype would still apply. */
11664 #ifdef __cplusplus
11665 extern "C"
11666 #endif
11667 char waddch ();
11669 main ()
11671 return waddch ();
11673 return 0;
11675 _ACEOF
11676 if ac_fn_c_try_link "$LINENO"; then :
11677 case "$LIBEXT" in
11678 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11679 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'` ;;
11680 *) 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'`
11681 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11682 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11683 fi ;;
11684 esac
11686 rm -f core conftest.err conftest.$ac_objext \
11687 conftest$ac_exeext conftest.$ac_ext
11688 LIBS=$ac_check_soname_save_LIBS
11690 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11692 $as_echo "not found" >&6; }
11694 else
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11696 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11698 cat >>confdefs.h <<_ACEOF
11699 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11700 _ACEOF
11702 CURSES_LIBS="-lncurses"
11704 elif test "$ac_cv_header_curses_h" = "yes"
11705 then
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11707 $as_echo_n "checking for -lcurses... " >&6; }
11708 if ${ac_cv_lib_soname_curses+:} false; then :
11709 $as_echo_n "(cached) " >&6
11710 else
11711 ac_check_soname_save_LIBS=$LIBS
11712 LIBS="-lcurses $LIBS"
11713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11714 /* end confdefs.h. */
11716 /* Override any GCC internal prototype to avoid an error.
11717 Use char because int might match the return type of a GCC
11718 builtin and then its argument prototype would still apply. */
11719 #ifdef __cplusplus
11720 extern "C"
11721 #endif
11722 char waddch ();
11724 main ()
11726 return waddch ();
11728 return 0;
11730 _ACEOF
11731 if ac_fn_c_try_link "$LINENO"; then :
11732 case "$LIBEXT" in
11733 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11734 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'` ;;
11735 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11736 if ${ac_cv_lib_soname_curses:+false} :; then :
11737 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11738 fi ;;
11739 esac
11741 rm -f core conftest.err conftest.$ac_objext \
11742 conftest$ac_exeext conftest.$ac_ext
11743 LIBS=$ac_check_soname_save_LIBS
11745 if ${ac_cv_lib_soname_curses:+false} :; then :
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11747 $as_echo "not found" >&6; }
11749 else
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11751 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11753 cat >>confdefs.h <<_ACEOF
11754 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11755 _ACEOF
11757 CURSES_LIBS="-lcurses"
11760 ac_save_LIBS="$LIBS"
11761 LIBS="$LIBS $CURSES_LIBS"
11762 for ac_func in mousemask
11763 do :
11764 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11765 if test "x$ac_cv_func_mousemask" = xyes; then :
11766 cat >>confdefs.h <<_ACEOF
11767 #define HAVE_MOUSEMASK 1
11768 _ACEOF
11771 done
11773 LIBS="$ac_save_LIBS"
11774 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11775 case "x$with_curses" in
11776 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11777 xno) ;;
11778 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11779 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11780 esac
11783 if test "x$with_sane" != "xno"
11784 then
11785 if ${SANE_CFLAGS:+false} :; then :
11786 if ${PKG_CONFIG+:} false; then :
11787 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11790 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11791 if ${SANE_LIBS:+false} :; then :
11792 if ${PKG_CONFIG+:} false; then :
11793 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11796 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11798 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11799 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11800 ac_save_CPPFLAGS=$CPPFLAGS
11801 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11802 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11803 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11805 $as_echo_n "checking for -lsane... " >&6; }
11806 if ${ac_cv_lib_soname_sane+:} false; then :
11807 $as_echo_n "(cached) " >&6
11808 else
11809 ac_check_soname_save_LIBS=$LIBS
11810 LIBS="-lsane $SANE_LIBS $LIBS"
11811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11812 /* end confdefs.h. */
11814 /* Override any GCC internal prototype to avoid an error.
11815 Use char because int might match the return type of a GCC
11816 builtin and then its argument prototype would still apply. */
11817 #ifdef __cplusplus
11818 extern "C"
11819 #endif
11820 char sane_init ();
11822 main ()
11824 return sane_init ();
11826 return 0;
11828 _ACEOF
11829 if ac_fn_c_try_link "$LINENO"; then :
11830 case "$LIBEXT" in
11831 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11832 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'` ;;
11833 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11834 if ${ac_cv_lib_soname_sane:+false} :; then :
11835 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11836 fi ;;
11837 esac
11839 rm -f core conftest.err conftest.$ac_objext \
11840 conftest$ac_exeext conftest.$ac_ext
11841 LIBS=$ac_check_soname_save_LIBS
11843 if ${ac_cv_lib_soname_sane:+false} :; then :
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11845 $as_echo "not found" >&6; }
11846 SANE_CFLAGS=""
11847 else
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11849 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11851 cat >>confdefs.h <<_ACEOF
11852 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11853 _ACEOF
11857 else
11858 SANE_CFLAGS=""
11862 CPPFLAGS=$ac_save_CPPFLAGS
11863 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11864 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11867 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11868 case "x$with_sane" in
11869 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11870 xno) ;;
11871 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11872 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11873 esac
11876 if test "x$with_v4l" != "xno"
11877 then
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11879 $as_echo_n "checking for -lv4l1... " >&6; }
11880 if ${ac_cv_lib_soname_v4l1+:} false; then :
11881 $as_echo_n "(cached) " >&6
11882 else
11883 ac_check_soname_save_LIBS=$LIBS
11884 LIBS="-lv4l1 $LIBS"
11885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11886 /* end confdefs.h. */
11888 /* Override any GCC internal prototype to avoid an error.
11889 Use char because int might match the return type of a GCC
11890 builtin and then its argument prototype would still apply. */
11891 #ifdef __cplusplus
11892 extern "C"
11893 #endif
11894 char v4l1_open ();
11896 main ()
11898 return v4l1_open ();
11900 return 0;
11902 _ACEOF
11903 if ac_fn_c_try_link "$LINENO"; then :
11904 case "$LIBEXT" in
11905 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11906 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'` ;;
11907 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11908 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11909 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11910 fi ;;
11911 esac
11913 rm -f core conftest.err conftest.$ac_objext \
11914 conftest$ac_exeext conftest.$ac_ext
11915 LIBS=$ac_check_soname_save_LIBS
11917 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11919 $as_echo "not found" >&6; }
11921 else
11922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11923 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11925 cat >>confdefs.h <<_ACEOF
11926 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11927 _ACEOF
11932 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11933 case "x$with_v4l" in
11934 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11935 xno) ;;
11936 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11937 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11938 esac
11941 if test "x$with_gphoto" != "xno"
11942 then
11943 if ${GPHOTO2_CFLAGS:+false} :; then :
11944 if ${PKG_CONFIG+:} false; then :
11945 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11948 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11949 if ${GPHOTO2_LIBS:+false} :; then :
11950 if ${PKG_CONFIG+:} false; then :
11951 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11954 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11955 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11956 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11957 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11958 ac_save_CPPFLAGS=$CPPFLAGS
11959 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11960 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11961 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11963 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11964 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11965 $as_echo_n "(cached) " >&6
11966 else
11967 ac_check_lib_save_LIBS=$LIBS
11968 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11970 /* end confdefs.h. */
11972 /* Override any GCC internal prototype to avoid an error.
11973 Use char because int might match the return type of a GCC
11974 builtin and then its argument prototype would still apply. */
11975 #ifdef __cplusplus
11976 extern "C"
11977 #endif
11978 char gp_camera_new ();
11980 main ()
11982 return gp_camera_new ();
11984 return 0;
11986 _ACEOF
11987 if ac_fn_c_try_link "$LINENO"; then :
11988 ac_cv_lib_gphoto2_gp_camera_new=yes
11989 else
11990 ac_cv_lib_gphoto2_gp_camera_new=no
11992 rm -f core conftest.err conftest.$ac_objext \
11993 conftest$ac_exeext conftest.$ac_ext
11994 LIBS=$ac_check_lib_save_LIBS
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11997 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11998 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12000 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12002 else
12003 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12006 else
12007 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12011 CPPFLAGS=$ac_save_CPPFLAGS
12012 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12013 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12015 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12016 if ${PKG_CONFIG+:} false; then :
12017 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12020 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
12021 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12022 if ${PKG_CONFIG+:} false; then :
12023 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12026 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
12027 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12028 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12029 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12030 ac_save_CPPFLAGS=$CPPFLAGS
12031 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12032 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12033 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12035 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12036 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12037 $as_echo_n "(cached) " >&6
12038 else
12039 ac_check_lib_save_LIBS=$LIBS
12040 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12042 /* end confdefs.h. */
12044 /* Override any GCC internal prototype to avoid an error.
12045 Use char because int might match the return type of a GCC
12046 builtin and then its argument prototype would still apply. */
12047 #ifdef __cplusplus
12048 extern "C"
12049 #endif
12050 char gp_port_info_list_new ();
12052 main ()
12054 return gp_port_info_list_new ();
12056 return 0;
12058 _ACEOF
12059 if ac_fn_c_try_link "$LINENO"; then :
12060 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12061 else
12062 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12064 rm -f core conftest.err conftest.$ac_objext \
12065 conftest$ac_exeext conftest.$ac_ext
12066 LIBS=$ac_check_lib_save_LIBS
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12069 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12070 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12072 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12074 else
12075 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12078 else
12079 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12083 CPPFLAGS=$ac_save_CPPFLAGS
12084 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12085 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12088 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12089 case "x$with_gphoto" in
12090 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12091 xno) ;;
12092 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12093 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12094 esac
12096 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12097 case "x$with_gphoto" in
12098 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12099 xno) ;;
12100 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12101 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12102 esac
12106 if test "$ac_cv_header_resolv_h" = "yes"
12107 then
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12109 $as_echo_n "checking for resolver library... " >&6; }
12110 if ${ac_cv_have_resolv+:} false; then :
12111 $as_echo_n "(cached) " >&6
12112 else
12113 ac_save_LIBS="$LIBS"
12114 for lib in '' -lresolv
12116 LIBS="$lib $ac_save_LIBS"
12117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12118 /* end confdefs.h. */
12119 #ifdef HAVE_NETINET_IN_H
12120 #include <netinet/in.h>
12121 #endif
12122 #include <resolv.h>
12124 main ()
12126 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12128 return 0;
12130 _ACEOF
12131 if ac_fn_c_try_link "$LINENO"; then :
12132 ac_cv_have_resolv=${lib:-"none required"}
12133 else
12134 ac_cv_have_resolv="not found"
12136 rm -f core conftest.err conftest.$ac_objext \
12137 conftest$ac_exeext conftest.$ac_ext
12138 test "x$ac_cv_have_resolv" = "xnot found" || break
12139 done
12140 LIBS="$ac_save_LIBS"
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12143 $as_echo "$ac_cv_have_resolv" >&6; }
12145 case "$ac_cv_have_resolv" in
12146 "not found") ;;
12147 "none required")
12149 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12152 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12154 RESOLV_LIBS=$ac_cv_have_resolv
12156 esac
12159 if test "x$with_cms" != "xno"
12160 then
12161 if ${LCMS2_CFLAGS:+false} :; then :
12162 if ${PKG_CONFIG+:} false; then :
12163 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12167 if ${LCMS2_LIBS:+false} :; then :
12168 if ${PKG_CONFIG+:} false; then :
12169 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12173 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12174 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12175 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12176 ac_save_CPPFLAGS=$CPPFLAGS
12177 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12178 for ac_header in lcms2.h
12179 do :
12180 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12181 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12182 cat >>confdefs.h <<_ACEOF
12183 #define HAVE_LCMS2_H 1
12184 _ACEOF
12188 done
12190 if test "$ac_cv_header_lcms2_h" = "yes"
12191 then
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12193 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12194 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12195 $as_echo_n "(cached) " >&6
12196 else
12197 ac_check_lib_save_LIBS=$LIBS
12198 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12200 /* end confdefs.h. */
12202 /* Override any GCC internal prototype to avoid an error.
12203 Use char because int might match the return type of a GCC
12204 builtin and then its argument prototype would still apply. */
12205 #ifdef __cplusplus
12206 extern "C"
12207 #endif
12208 char cmsOpenProfileFromFile ();
12210 main ()
12212 return cmsOpenProfileFromFile ();
12214 return 0;
12216 _ACEOF
12217 if ac_fn_c_try_link "$LINENO"; then :
12218 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12219 else
12220 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12222 rm -f core conftest.err conftest.$ac_objext \
12223 conftest$ac_exeext conftest.$ac_ext
12224 LIBS=$ac_check_lib_save_LIBS
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12227 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12228 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12230 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12232 else
12233 LCMS2_LIBS=""
12236 else
12237 LCMS2_CFLAGS=""
12238 LCMS2_LIBS=""
12240 CPPFLAGS=$ac_save_CPPFLAGS
12241 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12242 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12245 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12246 case "x$with_cms" in
12247 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12248 xno) ;;
12249 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12250 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12251 esac
12254 if test "x$with_freetype" != "xno"
12255 then
12256 if ${FREETYPE_CFLAGS:+false} :; then :
12257 if ${PKG_CONFIG+:} false; then :
12258 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12261 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12262 if ${FREETYPE_LIBS:+false} :; then :
12263 if ${PKG_CONFIG+:} false; then :
12264 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12267 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12268 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12269 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12270 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12271 ac_save_CPPFLAGS=$CPPFLAGS
12272 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12273 for ac_header in ft2build.h
12274 do :
12275 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12276 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12277 cat >>confdefs.h <<_ACEOF
12278 #define HAVE_FT2BUILD_H 1
12279 _ACEOF
12283 done
12285 if test "$ac_cv_header_ft2build_h" = "yes"
12286 then
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12288 $as_echo_n "checking for -lfreetype... " >&6; }
12289 if ${ac_cv_lib_soname_freetype+:} false; then :
12290 $as_echo_n "(cached) " >&6
12291 else
12292 ac_check_soname_save_LIBS=$LIBS
12293 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12295 /* end confdefs.h. */
12297 /* Override any GCC internal prototype to avoid an error.
12298 Use char because int might match the return type of a GCC
12299 builtin and then its argument prototype would still apply. */
12300 #ifdef __cplusplus
12301 extern "C"
12302 #endif
12303 char FT_Init_FreeType ();
12305 main ()
12307 return FT_Init_FreeType ();
12309 return 0;
12311 _ACEOF
12312 if ac_fn_c_try_link "$LINENO"; then :
12313 case "$LIBEXT" in
12314 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12315 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'` ;;
12316 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12317 if ${ac_cv_lib_soname_freetype:+false} :; then :
12318 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12319 fi ;;
12320 esac
12322 rm -f core conftest.err conftest.$ac_objext \
12323 conftest$ac_exeext conftest.$ac_ext
12324 LIBS=$ac_check_soname_save_LIBS
12326 if ${ac_cv_lib_soname_freetype:+false} :; then :
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12328 $as_echo "not found" >&6; }
12329 FREETYPE_LIBS=""
12330 else
12331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12332 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12334 cat >>confdefs.h <<_ACEOF
12335 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12336 _ACEOF
12339 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12341 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12342 #include FT_MODULE_H
12344 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12346 cat >>confdefs.h <<_ACEOF
12347 #define HAVE_FT_TRUETYPEENGINETYPE 1
12348 _ACEOF
12354 else
12355 FREETYPE_CFLAGS=""
12356 FREETYPE_LIBS=""
12358 CPPFLAGS=$ac_save_CPPFLAGS
12359 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12360 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12363 if test "x$ac_cv_lib_soname_freetype" = x; then :
12364 case "x$with_freetype" in
12365 xno) ;;
12366 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12367 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12368 esac
12370 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12373 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12374 if ${ac_cv_c_ppdev+:} false; then :
12375 $as_echo_n "(cached) " >&6
12376 else
12377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12378 /* end confdefs.h. */
12379 #ifdef HAVE_SYS_IOCTL_H
12380 # include <sys/ioctl.h>
12381 #endif
12382 #include <linux/ppdev.h>
12384 main ()
12386 ioctl (1,PPCLAIM,0)
12388 return 0;
12390 _ACEOF
12391 if ac_fn_c_try_compile "$LINENO"; then :
12392 ac_cv_c_ppdev="yes"
12393 else
12394 ac_cv_c_ppdev="no"
12396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12399 $as_echo "$ac_cv_c_ppdev" >&6; }
12400 if test "$ac_cv_c_ppdev" = "yes"
12401 then
12403 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12407 ac_wine_check_funcs_save_LIBS="$LIBS"
12408 LIBS="$LIBS $PTHREAD_LIBS"
12409 for ac_func in \
12410 pthread_attr_get_np \
12411 pthread_getattr_np \
12412 pthread_getthreadid_np \
12413 pthread_get_stackaddr_np \
12414 pthread_get_stacksize_np
12415 do :
12416 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12417 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12418 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12419 cat >>confdefs.h <<_ACEOF
12420 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12421 _ACEOF
12424 done
12426 LIBS="$ac_wine_check_funcs_save_LIBS"
12428 if test "$ac_cv_header_zlib_h" = "yes"
12429 then
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12431 $as_echo_n "checking for inflate in -lz... " >&6; }
12432 if ${ac_cv_lib_z_inflate+:} false; then :
12433 $as_echo_n "(cached) " >&6
12434 else
12435 ac_check_lib_save_LIBS=$LIBS
12436 LIBS="-lz $LIBS"
12437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12438 /* end confdefs.h. */
12440 /* Override any GCC internal prototype to avoid an error.
12441 Use char because int might match the return type of a GCC
12442 builtin and then its argument prototype would still apply. */
12443 #ifdef __cplusplus
12444 extern "C"
12445 #endif
12446 char inflate ();
12448 main ()
12450 return inflate ();
12452 return 0;
12454 _ACEOF
12455 if ac_fn_c_try_link "$LINENO"; then :
12456 ac_cv_lib_z_inflate=yes
12457 else
12458 ac_cv_lib_z_inflate=no
12460 rm -f core conftest.err conftest.$ac_objext \
12461 conftest$ac_exeext conftest.$ac_ext
12462 LIBS=$ac_check_lib_save_LIBS
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12465 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12466 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12468 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12470 Z_LIBS="-lz"
12475 if test "x$Z_LIBS" = "x"; then :
12476 case "x$with_zlib" in
12477 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12478 xno) ;;
12479 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12480 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12481 esac
12484 if test "x$enable_tools" != xno
12485 then
12486 if test "$ac_cv_header_gettext_po_h" = "yes"
12487 then
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12489 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12490 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12491 $as_echo_n "(cached) " >&6
12492 else
12493 ac_check_lib_save_LIBS=$LIBS
12494 LIBS="-lgettextpo $LIBS"
12495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12496 /* end confdefs.h. */
12498 /* Override any GCC internal prototype to avoid an error.
12499 Use char because int might match the return type of a GCC
12500 builtin and then its argument prototype would still apply. */
12501 #ifdef __cplusplus
12502 extern "C"
12503 #endif
12504 char po_message_msgctxt ();
12506 main ()
12508 return po_message_msgctxt ();
12510 return 0;
12512 _ACEOF
12513 if ac_fn_c_try_link "$LINENO"; then :
12514 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12515 else
12516 ac_cv_lib_gettextpo_po_message_msgctxt=no
12518 rm -f core conftest.err conftest.$ac_objext \
12519 conftest$ac_exeext conftest.$ac_ext
12520 LIBS=$ac_check_lib_save_LIBS
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12523 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12524 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12526 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12528 GETTEXTPO_LIBS="-lgettextpo"
12533 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12534 case "x$with_gettextpo" in
12535 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12536 xno) ;;
12537 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12538 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12539 esac
12543 if test "x$with_gstreamer" != "xno"
12544 then
12545 if ${GSTREAMER_CFLAGS:+false} :; then :
12546 if ${PKG_CONFIG+:} false; then :
12547 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12551 if ${GSTREAMER_LIBS:+false} :; then :
12552 if ${PKG_CONFIG+:} false; then :
12553 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12558 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12559 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12560 ac_save_CPPFLAGS=$CPPFLAGS
12561 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12562 ac_gst_incl=""
12563 for i in $GSTREAMER_CFLAGS
12565 case "$i" in
12566 -I*) ac_gst_incl="$ac_gst_incl $i";;
12567 esac
12568 done
12569 GSTREAMER_CFLAGS=$ac_gst_incl
12570 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12571 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12572 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12573 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12574 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12576 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12578 /* end confdefs.h. */
12579 #include <gst/app/gstappsink.h>
12581 main ()
12583 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12585 return 0;
12587 _ACEOF
12588 if ac_fn_c_try_compile "$LINENO"; then :
12589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12590 $as_echo "yes" >&6; }
12591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12592 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12593 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12594 $as_echo_n "(cached) " >&6
12595 else
12596 ac_check_lib_save_LIBS=$LIBS
12597 LIBS="-lgstreamer-0.10 $LIBS"
12598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12599 /* end confdefs.h. */
12601 /* Override any GCC internal prototype to avoid an error.
12602 Use char because int might match the return type of a GCC
12603 builtin and then its argument prototype would still apply. */
12604 #ifdef __cplusplus
12605 extern "C"
12606 #endif
12607 char gst_pad_get_caps_reffed ();
12609 main ()
12611 return gst_pad_get_caps_reffed ();
12613 return 0;
12615 _ACEOF
12616 if ac_fn_c_try_link "$LINENO"; then :
12617 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12618 else
12619 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12621 rm -f core conftest.err conftest.$ac_objext \
12622 conftest$ac_exeext conftest.$ac_ext
12623 LIBS=$ac_check_lib_save_LIBS
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12626 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12627 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12629 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12630 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12631 $as_echo_n "(cached) " >&6
12632 else
12633 ac_check_lib_save_LIBS=$LIBS
12634 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12636 /* end confdefs.h. */
12638 /* Override any GCC internal prototype to avoid an error.
12639 Use char because int might match the return type of a GCC
12640 builtin and then its argument prototype would still apply. */
12641 #ifdef __cplusplus
12642 extern "C"
12643 #endif
12644 char gst_app_buffer_new ();
12646 main ()
12648 return gst_app_buffer_new ();
12650 return 0;
12652 _ACEOF
12653 if ac_fn_c_try_link "$LINENO"; then :
12654 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12655 else
12656 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12658 rm -f core conftest.err conftest.$ac_objext \
12659 conftest$ac_exeext conftest.$ac_ext
12660 LIBS=$ac_check_lib_save_LIBS
12662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12663 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12664 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12670 else
12671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12672 $as_echo "no" >&6; }
12674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12678 else
12679 GSTREAMER_CFLAGS=""
12683 CPPFLAGS=$ac_save_CPPFLAGS
12684 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12685 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12688 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12689 case "x$with_gstreamer" in
12690 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12691 xno) ;;
12692 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12693 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12694 esac
12696 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12698 ALSA_LIBS=""
12700 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12701 then
12702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12703 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12704 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12705 $as_echo_n "(cached) " >&6
12706 else
12707 ac_check_lib_save_LIBS=$LIBS
12708 LIBS="-lasound $LIBS"
12709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12710 /* end confdefs.h. */
12712 /* Override any GCC internal prototype to avoid an error.
12713 Use char because int might match the return type of a GCC
12714 builtin and then its argument prototype would still apply. */
12715 #ifdef __cplusplus
12716 extern "C"
12717 #endif
12718 char snd_pcm_hw_params_get_access_mask ();
12720 main ()
12722 return snd_pcm_hw_params_get_access_mask ();
12724 return 0;
12726 _ACEOF
12727 if ac_fn_c_try_link "$LINENO"; then :
12728 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12729 else
12730 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12732 rm -f core conftest.err conftest.$ac_objext \
12733 conftest$ac_exeext conftest.$ac_ext
12734 LIBS=$ac_check_lib_save_LIBS
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12737 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12738 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12740 /* end confdefs.h. */
12741 #ifdef HAVE_ALSA_ASOUNDLIB_H
12742 #include <alsa/asoundlib.h>
12743 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12744 #include <sys/asoundlib.h>
12745 #endif
12747 main ()
12749 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12751 return 0;
12753 _ACEOF
12754 if ac_fn_c_try_compile "$LINENO"; then :
12755 ALSA_LIBS="-lasound"
12757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12762 if test "x$with_oss" != xno
12763 then
12764 ac_save_CPPFLAGS="$CPPFLAGS"
12765 if test -f /etc/oss.conf
12766 then
12767 . /etc/oss.conf
12769 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12770 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12771 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12772 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12773 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12775 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12777 cat >>confdefs.h <<_ACEOF
12778 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12779 _ACEOF
12781 OSS4_CFLAGS="$ac_oss_incl"
12788 CPPFLAGS="$ac_save_CPPFLAGS"
12789 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12790 then
12791 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12795 if test "x$with_capi" != "xno"
12796 then
12797 if ${CAPI20_CFLAGS:+false} :; then :
12798 if ${PKG_CONFIG+:} false; then :
12799 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12803 if ${CAPI20_LIBS:+false} :; then :
12804 if ${PKG_CONFIG+:} false; then :
12805 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12810 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12811 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12812 ac_save_CPPFLAGS=$CPPFLAGS
12813 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12814 for ac_header in capi20.h linux/capi.h
12815 do :
12816 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12817 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12819 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12820 cat >>confdefs.h <<_ACEOF
12821 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12822 _ACEOF
12826 done
12828 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12829 then
12830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12831 $as_echo_n "checking for -lcapi20... " >&6; }
12832 if ${ac_cv_lib_soname_capi20+:} false; then :
12833 $as_echo_n "(cached) " >&6
12834 else
12835 ac_check_soname_save_LIBS=$LIBS
12836 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12838 /* end confdefs.h. */
12840 /* Override any GCC internal prototype to avoid an error.
12841 Use char because int might match the return type of a GCC
12842 builtin and then its argument prototype would still apply. */
12843 #ifdef __cplusplus
12844 extern "C"
12845 #endif
12846 char capi20_register ();
12848 main ()
12850 return capi20_register ();
12852 return 0;
12854 _ACEOF
12855 if ac_fn_c_try_link "$LINENO"; then :
12856 case "$LIBEXT" in
12857 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12858 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'` ;;
12859 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12860 if ${ac_cv_lib_soname_capi20:+false} :; then :
12861 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12862 fi ;;
12863 esac
12865 rm -f core conftest.err conftest.$ac_objext \
12866 conftest$ac_exeext conftest.$ac_ext
12867 LIBS=$ac_check_soname_save_LIBS
12869 if ${ac_cv_lib_soname_capi20:+false} :; then :
12870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12871 $as_echo "not found" >&6; }
12873 else
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12875 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12877 cat >>confdefs.h <<_ACEOF
12878 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12879 _ACEOF
12884 CPPFLAGS=$ac_save_CPPFLAGS
12885 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12886 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12889 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12890 case "x$with_capi" in
12891 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12892 xno) ;;
12893 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12894 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12895 esac
12898 CUPS_CFLAGS=""
12900 if test "x$with_cups" != "xno"
12901 then
12902 ac_save_CPPFLAGS="$CPPFLAGS"
12903 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12904 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12905 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12906 for ac_header in cups/cups.h
12907 do :
12908 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12909 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12910 cat >>confdefs.h <<_ACEOF
12911 #define HAVE_CUPS_CUPS_H 1
12912 _ACEOF
12913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12914 $as_echo_n "checking for -lcups... " >&6; }
12915 if ${ac_cv_lib_soname_cups+:} false; then :
12916 $as_echo_n "(cached) " >&6
12917 else
12918 ac_check_soname_save_LIBS=$LIBS
12919 LIBS="-lcups $ac_cups_libs $LIBS"
12920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12921 /* end confdefs.h. */
12923 /* Override any GCC internal prototype to avoid an error.
12924 Use char because int might match the return type of a GCC
12925 builtin and then its argument prototype would still apply. */
12926 #ifdef __cplusplus
12927 extern "C"
12928 #endif
12929 char cupsGetDefault ();
12931 main ()
12933 return cupsGetDefault ();
12935 return 0;
12937 _ACEOF
12938 if ac_fn_c_try_link "$LINENO"; then :
12939 case "$LIBEXT" in
12940 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12941 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'` ;;
12942 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12943 if ${ac_cv_lib_soname_cups:+false} :; then :
12944 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12945 fi ;;
12946 esac
12948 rm -f core conftest.err conftest.$ac_objext \
12949 conftest$ac_exeext conftest.$ac_ext
12950 LIBS=$ac_check_soname_save_LIBS
12952 if ${ac_cv_lib_soname_cups:+false} :; then :
12953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12954 $as_echo "not found" >&6; }
12956 else
12957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12958 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12960 cat >>confdefs.h <<_ACEOF
12961 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12962 _ACEOF
12964 CUPS_CFLAGS="$ac_cups_cflags"
12968 done
12970 CPPFLAGS="$ac_save_CPPFLAGS"
12972 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12973 case "x$with_cups" in
12974 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12975 xno) ;;
12976 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12977 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12978 esac
12981 if test "x$with_fontconfig" != "xno"
12982 then
12983 if ${FONTCONFIG_CFLAGS:+false} :; then :
12984 if ${PKG_CONFIG+:} false; then :
12985 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12988 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12989 if ${FONTCONFIG_LIBS:+false} :; then :
12990 if ${PKG_CONFIG+:} false; then :
12991 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12994 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12996 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12997 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12998 ac_save_CPPFLAGS=$CPPFLAGS
12999 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13000 for ac_header in fontconfig/fontconfig.h
13001 do :
13002 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13003 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13004 cat >>confdefs.h <<_ACEOF
13005 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13006 _ACEOF
13010 done
13012 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13013 then
13014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13015 $as_echo_n "checking for -lfontconfig... " >&6; }
13016 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13017 $as_echo_n "(cached) " >&6
13018 else
13019 ac_check_soname_save_LIBS=$LIBS
13020 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13022 /* end confdefs.h. */
13024 /* Override any GCC internal prototype to avoid an error.
13025 Use char because int might match the return type of a GCC
13026 builtin and then its argument prototype would still apply. */
13027 #ifdef __cplusplus
13028 extern "C"
13029 #endif
13030 char FcInit ();
13032 main ()
13034 return FcInit ();
13036 return 0;
13038 _ACEOF
13039 if ac_fn_c_try_link "$LINENO"; then :
13040 case "$LIBEXT" in
13041 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13042 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'` ;;
13043 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13044 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13045 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13046 fi ;;
13047 esac
13049 rm -f core conftest.err conftest.$ac_objext \
13050 conftest$ac_exeext conftest.$ac_ext
13051 LIBS=$ac_check_soname_save_LIBS
13053 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13055 $as_echo "not found" >&6; }
13056 FONTCONFIG_CFLAGS=""
13057 else
13058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13059 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13061 cat >>confdefs.h <<_ACEOF
13062 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13063 _ACEOF
13067 else
13068 FONTCONFIG_CFLAGS=""
13070 CPPFLAGS=$ac_save_CPPFLAGS
13071 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13072 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13075 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13076 case "x$with_fontconfig" in
13077 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13078 xno) ;;
13079 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13080 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13081 esac
13084 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13085 then
13086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13087 $as_echo_n "checking for -lgsm... " >&6; }
13088 if ${ac_cv_lib_soname_gsm+:} false; then :
13089 $as_echo_n "(cached) " >&6
13090 else
13091 ac_check_soname_save_LIBS=$LIBS
13092 LIBS="-lgsm $LIBS"
13093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13094 /* end confdefs.h. */
13096 /* Override any GCC internal prototype to avoid an error.
13097 Use char because int might match the return type of a GCC
13098 builtin and then its argument prototype would still apply. */
13099 #ifdef __cplusplus
13100 extern "C"
13101 #endif
13102 char gsm_create ();
13104 main ()
13106 return gsm_create ();
13108 return 0;
13110 _ACEOF
13111 if ac_fn_c_try_link "$LINENO"; then :
13112 case "$LIBEXT" in
13113 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13114 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'` ;;
13115 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13116 if ${ac_cv_lib_soname_gsm:+false} :; then :
13117 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13118 fi ;;
13119 esac
13121 rm -f core conftest.err conftest.$ac_objext \
13122 conftest$ac_exeext conftest.$ac_ext
13123 LIBS=$ac_check_soname_save_LIBS
13125 if ${ac_cv_lib_soname_gsm:+false} :; then :
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13127 $as_echo "not found" >&6; }
13129 else
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13131 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13133 cat >>confdefs.h <<_ACEOF
13134 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13135 _ACEOF
13140 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13141 case "x$with_gsm" in
13142 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13143 xno) ;;
13144 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13145 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13146 esac
13149 if test "x$with_jpeg" != "xno"
13150 then
13151 if ${JPEG_CFLAGS:+false} :; then :
13152 if ${PKG_CONFIG+:} false; then :
13153 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13157 if ${JPEG_LIBS:+false} :; then :
13158 if ${PKG_CONFIG+:} false; then :
13159 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13164 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13165 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13166 ac_save_CPPFLAGS=$CPPFLAGS
13167 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13168 for ac_header in jpeglib.h
13169 do :
13170 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13171 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13172 cat >>confdefs.h <<_ACEOF
13173 #define HAVE_JPEGLIB_H 1
13174 _ACEOF
13178 done
13180 if test "$ac_cv_header_jpeglib_h" = "yes"
13181 then
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13183 $as_echo_n "checking for -ljpeg... " >&6; }
13184 if ${ac_cv_lib_soname_jpeg+:} false; then :
13185 $as_echo_n "(cached) " >&6
13186 else
13187 ac_check_soname_save_LIBS=$LIBS
13188 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13190 /* end confdefs.h. */
13192 /* Override any GCC internal prototype to avoid an error.
13193 Use char because int might match the return type of a GCC
13194 builtin and then its argument prototype would still apply. */
13195 #ifdef __cplusplus
13196 extern "C"
13197 #endif
13198 char jpeg_start_decompress ();
13200 main ()
13202 return jpeg_start_decompress ();
13204 return 0;
13206 _ACEOF
13207 if ac_fn_c_try_link "$LINENO"; then :
13208 case "$LIBEXT" in
13209 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13210 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'` ;;
13211 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13212 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13213 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13214 fi ;;
13215 esac
13217 rm -f core conftest.err conftest.$ac_objext \
13218 conftest$ac_exeext conftest.$ac_ext
13219 LIBS=$ac_check_soname_save_LIBS
13221 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13223 $as_echo "not found" >&6; }
13224 JPEG_CFLAGS=""
13225 else
13226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13227 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13229 cat >>confdefs.h <<_ACEOF
13230 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13231 _ACEOF
13235 else
13236 JPEG_CFLAGS=""
13238 CPPFLAGS=$ac_save_CPPFLAGS
13239 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13240 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13243 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13244 case "x$with_jpeg" in
13245 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13246 xno) ;;
13247 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13248 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13249 esac
13252 if test "x$with_png" != "xno"
13253 then
13254 if ${PNG_CFLAGS:+false} :; then :
13255 if ${PKG_CONFIG+:} false; then :
13256 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13259 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13260 if ${PNG_LIBS:+false} :; then :
13261 if ${PKG_CONFIG+:} false; then :
13262 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13265 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13267 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13268 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13269 ac_save_CPPFLAGS=$CPPFLAGS
13270 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13271 for ac_header in png.h
13272 do :
13273 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13274 if test "x$ac_cv_header_png_h" = xyes; then :
13275 cat >>confdefs.h <<_ACEOF
13276 #define HAVE_PNG_H 1
13277 _ACEOF
13281 done
13283 if test "$ac_cv_header_png_h" = "yes"
13284 then
13285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13286 $as_echo_n "checking for -lpng... " >&6; }
13287 if ${ac_cv_lib_soname_png+:} false; then :
13288 $as_echo_n "(cached) " >&6
13289 else
13290 ac_check_soname_save_LIBS=$LIBS
13291 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13293 /* end confdefs.h. */
13295 /* Override any GCC internal prototype to avoid an error.
13296 Use char because int might match the return type of a GCC
13297 builtin and then its argument prototype would still apply. */
13298 #ifdef __cplusplus
13299 extern "C"
13300 #endif
13301 char png_create_read_struct ();
13303 main ()
13305 return png_create_read_struct ();
13307 return 0;
13309 _ACEOF
13310 if ac_fn_c_try_link "$LINENO"; then :
13311 case "$LIBEXT" in
13312 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13313 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'` ;;
13314 *) 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'`
13315 if ${ac_cv_lib_soname_png:+false} :; then :
13316 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13317 fi ;;
13318 esac
13320 rm -f core conftest.err conftest.$ac_objext \
13321 conftest$ac_exeext conftest.$ac_ext
13322 LIBS=$ac_check_soname_save_LIBS
13324 if ${ac_cv_lib_soname_png:+false} :; then :
13325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13326 $as_echo "not found" >&6; }
13327 PNG_CFLAGS=""
13328 else
13329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13330 $as_echo "$ac_cv_lib_soname_png" >&6; }
13332 cat >>confdefs.h <<_ACEOF
13333 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13334 _ACEOF
13336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13337 /* end confdefs.h. */
13338 #include <png.h>
13340 main ()
13342 typeof(png_set_expand_gray_1_2_4_to_8) *p
13344 return 0;
13346 _ACEOF
13347 if ac_fn_c_try_compile "$LINENO"; then :
13349 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13354 else
13355 PNG_CFLAGS=""
13357 CPPFLAGS=$ac_save_CPPFLAGS
13358 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13359 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13362 if test "x$ac_cv_lib_soname_png" = "x"; then :
13363 case "x$with_png" in
13364 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13365 xno) ;;
13366 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13367 This is an error since --with-png was requested." "$LINENO" 5 ;;
13368 esac
13371 if test "x$with_tiff" != "xno"
13372 then
13373 if ${TIFF_CFLAGS:+false} :; then :
13374 if ${PKG_CONFIG+:} false; then :
13375 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13379 if ${TIFF_LIBS:+false} :; then :
13380 if ${PKG_CONFIG+:} false; then :
13381 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13386 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13387 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13388 ac_save_CPPFLAGS=$CPPFLAGS
13389 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13390 for ac_header in tiffio.h
13391 do :
13392 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13393 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13394 cat >>confdefs.h <<_ACEOF
13395 #define HAVE_TIFFIO_H 1
13396 _ACEOF
13400 done
13402 if test "$ac_cv_header_tiffio_h" = "yes"
13403 then
13404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13405 $as_echo_n "checking for -ltiff... " >&6; }
13406 if ${ac_cv_lib_soname_tiff+:} false; then :
13407 $as_echo_n "(cached) " >&6
13408 else
13409 ac_check_soname_save_LIBS=$LIBS
13410 LIBS="-ltiff $TIFF_LIBS $LIBS"
13411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13412 /* end confdefs.h. */
13414 /* Override any GCC internal prototype to avoid an error.
13415 Use char because int might match the return type of a GCC
13416 builtin and then its argument prototype would still apply. */
13417 #ifdef __cplusplus
13418 extern "C"
13419 #endif
13420 char TIFFClientOpen ();
13422 main ()
13424 return TIFFClientOpen ();
13426 return 0;
13428 _ACEOF
13429 if ac_fn_c_try_link "$LINENO"; then :
13430 case "$LIBEXT" in
13431 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13432 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'` ;;
13433 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13434 if ${ac_cv_lib_soname_tiff:+false} :; then :
13435 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13436 fi ;;
13437 esac
13439 rm -f core conftest.err conftest.$ac_objext \
13440 conftest$ac_exeext conftest.$ac_ext
13441 LIBS=$ac_check_soname_save_LIBS
13443 if ${ac_cv_lib_soname_tiff:+false} :; then :
13444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13445 $as_echo "not found" >&6; }
13447 else
13448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13449 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13451 cat >>confdefs.h <<_ACEOF
13452 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13453 _ACEOF
13458 CPPFLAGS=$ac_save_CPPFLAGS
13459 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13460 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13463 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13464 case "x$with_tiff" in
13465 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13466 xno) ;;
13467 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13468 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13469 esac
13472 if test "x$with_mpg123" != "xno"
13473 then
13474 if ${MPG123_CFLAGS:+false} :; then :
13475 if ${PKG_CONFIG+:} false; then :
13476 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13480 if ${MPG123_LIBS:+false} :; then :
13481 if ${PKG_CONFIG+:} false; then :
13482 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13486 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13487 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13488 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13489 ac_save_CPPFLAGS=$CPPFLAGS
13490 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13491 for ac_header in mpg123.h
13492 do :
13493 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13494 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13495 cat >>confdefs.h <<_ACEOF
13496 #define HAVE_MPG123_H 1
13497 _ACEOF
13501 done
13503 if test "$ac_cv_header_mpg123_h" = "yes"
13504 then
13505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13506 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13507 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13508 $as_echo_n "(cached) " >&6
13509 else
13510 ac_check_lib_save_LIBS=$LIBS
13511 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13513 /* end confdefs.h. */
13515 /* Override any GCC internal prototype to avoid an error.
13516 Use char because int might match the return type of a GCC
13517 builtin and then its argument prototype would still apply. */
13518 #ifdef __cplusplus
13519 extern "C"
13520 #endif
13521 char mpg123_feed ();
13523 main ()
13525 return mpg123_feed ();
13527 return 0;
13529 _ACEOF
13530 if ac_fn_c_try_link "$LINENO"; then :
13531 ac_cv_lib_mpg123_mpg123_feed=yes
13532 else
13533 ac_cv_lib_mpg123_mpg123_feed=no
13535 rm -f core conftest.err conftest.$ac_objext \
13536 conftest$ac_exeext conftest.$ac_ext
13537 LIBS=$ac_check_lib_save_LIBS
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13540 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13541 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13543 else
13544 MPG123_LIBS=""
13547 else
13548 MPG123_CFLAGS=""
13549 MPG123_LIBS=""
13551 CPPFLAGS=$ac_save_CPPFLAGS
13552 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13553 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13556 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13557 case "x$with_mpg123" in
13558 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13559 xno) ;;
13560 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13561 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13562 esac
13564 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}
13566 if test "$ac_cv_header_AL_al_h" = "yes"
13567 then
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13569 $as_echo_n "checking for -lopenal... " >&6; }
13570 if ${ac_cv_lib_soname_openal+:} false; then :
13571 $as_echo_n "(cached) " >&6
13572 else
13573 ac_check_soname_save_LIBS=$LIBS
13574 LIBS="-lopenal $LIBS"
13575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13576 /* end confdefs.h. */
13578 /* Override any GCC internal prototype to avoid an error.
13579 Use char because int might match the return type of a GCC
13580 builtin and then its argument prototype would still apply. */
13581 #ifdef __cplusplus
13582 extern "C"
13583 #endif
13584 char alGetSource3i ();
13586 main ()
13588 return alGetSource3i ();
13590 return 0;
13592 _ACEOF
13593 if ac_fn_c_try_link "$LINENO"; then :
13594 case "$LIBEXT" in
13595 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13596 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'` ;;
13597 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13598 if ${ac_cv_lib_soname_openal:+false} :; then :
13599 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13600 fi ;;
13601 esac
13603 rm -f core conftest.err conftest.$ac_objext \
13604 conftest$ac_exeext conftest.$ac_ext
13605 LIBS=$ac_check_soname_save_LIBS
13607 if ${ac_cv_lib_soname_openal:+false} :; then :
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13609 $as_echo "not found" >&6; }
13611 else
13612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13613 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13615 cat >>confdefs.h <<_ACEOF
13616 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13617 _ACEOF
13619 OPENAL_LIBS="-lopenal"
13621 ac_cv_lib_openal=yes
13623 cat >>confdefs.h <<_ACEOF
13624 #define HAVE_OPENAL 1
13625 _ACEOF
13629 if test "x$ac_cv_lib_openal" != xyes; then :
13630 case "x$with_openal" in
13631 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13632 xno) ;;
13633 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13634 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13635 esac
13637 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13639 if test "x$ac_cv_lib_openal" = xyes
13640 then
13641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13642 $as_echo_n "checking for openal-soft... " >&6; }
13643 if ${ac_cv_have_openalsoft+:} false; then :
13644 $as_echo_n "(cached) " >&6
13645 else
13646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13647 /* end confdefs.h. */
13648 #include <AL/alext.h>
13649 LPALCRENDERSAMPLESSOFT x;
13651 main ()
13655 return 0;
13657 _ACEOF
13658 if ac_fn_c_try_compile "$LINENO"; then :
13659 ac_cv_have_openalsoft=yes
13660 else
13661 ac_cv_have_openalsoft=no
13663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13666 $as_echo "$ac_cv_have_openalsoft" >&6; }
13668 if test "x$ac_cv_have_openalsoft" != xyes
13669 then
13670 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13671 enable_xaudio2_7=${enable_xaudio2_7:-no}
13674 if test "$ac_cv_header_kstat_h" = "yes"
13675 then
13676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13677 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13678 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13679 $as_echo_n "(cached) " >&6
13680 else
13681 ac_check_lib_save_LIBS=$LIBS
13682 LIBS="-lkstat $LIBS"
13683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13684 /* end confdefs.h. */
13686 /* Override any GCC internal prototype to avoid an error.
13687 Use char because int might match the return type of a GCC
13688 builtin and then its argument prototype would still apply. */
13689 #ifdef __cplusplus
13690 extern "C"
13691 #endif
13692 char kstat_open ();
13694 main ()
13696 return kstat_open ();
13698 return 0;
13700 _ACEOF
13701 if ac_fn_c_try_link "$LINENO"; then :
13702 ac_cv_lib_kstat_kstat_open=yes
13703 else
13704 ac_cv_lib_kstat_kstat_open=no
13706 rm -f core conftest.err conftest.$ac_objext \
13707 conftest$ac_exeext conftest.$ac_ext
13708 LIBS=$ac_check_lib_save_LIBS
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13711 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13712 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13714 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13716 KSTAT_LIBS="-lkstat"
13722 if test "$ac_cv_header_libprocstat_h" = "yes"
13723 then
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13725 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13726 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13727 $as_echo_n "(cached) " >&6
13728 else
13729 ac_check_lib_save_LIBS=$LIBS
13730 LIBS="-lprocstat $LIBS"
13731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13732 /* end confdefs.h. */
13734 /* Override any GCC internal prototype to avoid an error.
13735 Use char because int might match the return type of a GCC
13736 builtin and then its argument prototype would still apply. */
13737 #ifdef __cplusplus
13738 extern "C"
13739 #endif
13740 char procstat_open_sysctl ();
13742 main ()
13744 return procstat_open_sysctl ();
13746 return 0;
13748 _ACEOF
13749 if ac_fn_c_try_link "$LINENO"; then :
13750 ac_cv_lib_procstat_procstat_open_sysctl=yes
13751 else
13752 ac_cv_lib_procstat_procstat_open_sysctl=no
13754 rm -f core conftest.err conftest.$ac_objext \
13755 conftest$ac_exeext conftest.$ac_ext
13756 LIBS=$ac_check_lib_save_LIBS
13758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13759 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13760 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13762 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13764 PROCSTAT_LIBS="-lprocstat"
13770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13771 $as_echo_n "checking for -lodbc... " >&6; }
13772 if ${ac_cv_lib_soname_odbc+:} false; then :
13773 $as_echo_n "(cached) " >&6
13774 else
13775 ac_check_soname_save_LIBS=$LIBS
13776 LIBS="-lodbc $LIBS"
13777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13778 /* end confdefs.h. */
13780 /* Override any GCC internal prototype to avoid an error.
13781 Use char because int might match the return type of a GCC
13782 builtin and then its argument prototype would still apply. */
13783 #ifdef __cplusplus
13784 extern "C"
13785 #endif
13786 char SQLConnect ();
13788 main ()
13790 return SQLConnect ();
13792 return 0;
13794 _ACEOF
13795 if ac_fn_c_try_link "$LINENO"; then :
13796 case "$LIBEXT" in
13797 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13798 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'` ;;
13799 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13800 if ${ac_cv_lib_soname_odbc:+false} :; then :
13801 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13802 fi ;;
13803 esac
13805 rm -f core conftest.err conftest.$ac_objext \
13806 conftest$ac_exeext conftest.$ac_ext
13807 LIBS=$ac_check_soname_save_LIBS
13809 if ${ac_cv_lib_soname_odbc:+false} :; then :
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13811 $as_echo "not found" >&6; }
13812 cat >>confdefs.h <<_ACEOF
13813 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13814 _ACEOF
13816 else
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13818 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13820 cat >>confdefs.h <<_ACEOF
13821 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13822 _ACEOF
13827 if test "x$with_netapi" != "xno"
13828 then
13829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13830 $as_echo_n "checking for -lnetapi... " >&6; }
13831 if ${ac_cv_lib_soname_netapi+:} false; then :
13832 $as_echo_n "(cached) " >&6
13833 else
13834 ac_check_soname_save_LIBS=$LIBS
13835 LIBS="-lnetapi $LIBS"
13836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13837 /* end confdefs.h. */
13839 /* Override any GCC internal prototype to avoid an error.
13840 Use char because int might match the return type of a GCC
13841 builtin and then its argument prototype would still apply. */
13842 #ifdef __cplusplus
13843 extern "C"
13844 #endif
13845 char libnetapi_init ();
13847 main ()
13849 return libnetapi_init ();
13851 return 0;
13853 _ACEOF
13854 if ac_fn_c_try_link "$LINENO"; then :
13855 case "$LIBEXT" in
13856 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13857 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'` ;;
13858 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13859 if ${ac_cv_lib_soname_netapi:+false} :; then :
13860 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13861 fi ;;
13862 esac
13864 rm -f core conftest.err conftest.$ac_objext \
13865 conftest$ac_exeext conftest.$ac_ext
13866 LIBS=$ac_check_soname_save_LIBS
13868 if ${ac_cv_lib_soname_netapi:+false} :; then :
13869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13870 $as_echo "not found" >&6; }
13871 cat >>confdefs.h <<_ACEOF
13872 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13873 _ACEOF
13875 else
13876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13877 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13879 cat >>confdefs.h <<_ACEOF
13880 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13881 _ACEOF
13887 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13888 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13889 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13890 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13892 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13893 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13894 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13895 then
13896 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13900 EXTRACFLAGS=""
13902 if test "x${GCC}" = "xyes"
13903 then
13904 EXTRACFLAGS="-Wall -pipe"
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13907 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13908 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13909 $as_echo_n "(cached) " >&6
13910 else
13911 if test "$cross_compiling" = yes; then :
13912 ac_cv_c_gcc_strength_bug="no"
13913 else
13914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13915 /* end confdefs.h. */
13916 int L[4] = {0,1,2,3};
13918 main ()
13920 static int Array[3];
13921 unsigned int B = 3;
13922 int i;
13923 for(i=0; i<B; i++) Array[i] = i - 3;
13924 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13925 L[i] = 4;
13926 return (Array[1] != -2 || L[2] != 3)
13928 return 0;
13930 _ACEOF
13931 if ac_fn_c_try_run "$LINENO"; then :
13932 ac_cv_c_gcc_strength_bug="no"
13933 else
13934 ac_cv_c_gcc_strength_bug="yes"
13936 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13937 conftest.$ac_objext conftest.beam conftest.$ac_ext
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13942 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13943 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13944 then
13945 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13949 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13950 if ${ac_cv_cflags__fno_builtin+:} false; then :
13951 $as_echo_n "(cached) " >&6
13952 else
13953 ac_wine_try_cflags_saved=$CFLAGS
13954 CFLAGS="$CFLAGS -fno-builtin"
13955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13956 /* end confdefs.h. */
13957 int main(int argc, char **argv) { return 0; }
13958 _ACEOF
13959 if ac_fn_c_try_link "$LINENO"; then :
13960 ac_cv_cflags__fno_builtin=yes
13961 else
13962 ac_cv_cflags__fno_builtin=no
13964 rm -f core conftest.err conftest.$ac_objext \
13965 conftest$ac_exeext conftest.$ac_ext
13966 CFLAGS=$ac_wine_try_cflags_saved
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13969 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13970 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13971 BUILTINFLAG="-fno-builtin"
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13975 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13976 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13977 $as_echo_n "(cached) " >&6
13978 else
13979 ac_wine_try_cflags_saved=$CFLAGS
13980 CFLAGS="$CFLAGS -fno-strict-aliasing"
13981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13982 /* end confdefs.h. */
13983 int main(int argc, char **argv) { return 0; }
13984 _ACEOF
13985 if ac_fn_c_try_link "$LINENO"; then :
13986 ac_cv_cflags__fno_strict_aliasing=yes
13987 else
13988 ac_cv_cflags__fno_strict_aliasing=no
13990 rm -f core conftest.err conftest.$ac_objext \
13991 conftest$ac_exeext conftest.$ac_ext
13992 CFLAGS=$ac_wine_try_cflags_saved
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13995 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13996 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13997 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14000 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14001 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14002 $as_echo_n "(cached) " >&6
14003 else
14004 ac_wine_try_cflags_saved=$CFLAGS
14005 CFLAGS="$CFLAGS -fexcess-precision=standard"
14006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14007 /* end confdefs.h. */
14008 int main(int argc, char **argv) { return 0; }
14009 _ACEOF
14010 if ac_fn_c_try_link "$LINENO"; then :
14011 ac_cv_cflags__fexcess_precision_standard=yes
14012 else
14013 ac_cv_cflags__fexcess_precision_standard=no
14015 rm -f core conftest.err conftest.$ac_objext \
14016 conftest$ac_exeext conftest.$ac_ext
14017 CFLAGS=$ac_wine_try_cflags_saved
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14020 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14021 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14022 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14025 saved_CFLAGS=$CFLAGS
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14027 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14028 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14029 $as_echo_n "(cached) " >&6
14030 else
14031 ac_wine_try_cflags_saved=$CFLAGS
14032 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14034 /* end confdefs.h. */
14035 int main(int argc, char **argv) { return 0; }
14036 _ACEOF
14037 if ac_fn_c_try_link "$LINENO"; then :
14038 ac_cv_cflags__Werror_unknown_warning_option=yes
14039 else
14040 ac_cv_cflags__Werror_unknown_warning_option=no
14042 rm -f core conftest.err conftest.$ac_objext \
14043 conftest$ac_exeext conftest.$ac_ext
14044 CFLAGS=$ac_wine_try_cflags_saved
14046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14047 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14048 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14049 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14052 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14053 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14054 $as_echo_n "(cached) " >&6
14055 else
14056 ac_wine_try_cflags_saved=$CFLAGS
14057 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14059 /* end confdefs.h. */
14060 int main(int argc, char **argv) { return 0; }
14061 _ACEOF
14062 if ac_fn_c_try_link "$LINENO"; then :
14063 ac_cv_cflags__Wdeclaration_after_statement=yes
14064 else
14065 ac_cv_cflags__Wdeclaration_after_statement=no
14067 rm -f core conftest.err conftest.$ac_objext \
14068 conftest$ac_exeext conftest.$ac_ext
14069 CFLAGS=$ac_wine_try_cflags_saved
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14072 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14073 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14074 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14077 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14078 if ${ac_cv_cflags__Wempty_body+:} false; then :
14079 $as_echo_n "(cached) " >&6
14080 else
14081 ac_wine_try_cflags_saved=$CFLAGS
14082 CFLAGS="$CFLAGS -Wempty-body"
14083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14084 /* end confdefs.h. */
14085 int main(int argc, char **argv) { return 0; }
14086 _ACEOF
14087 if ac_fn_c_try_link "$LINENO"; then :
14088 ac_cv_cflags__Wempty_body=yes
14089 else
14090 ac_cv_cflags__Wempty_body=no
14092 rm -f core conftest.err conftest.$ac_objext \
14093 conftest$ac_exeext conftest.$ac_ext
14094 CFLAGS=$ac_wine_try_cflags_saved
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14097 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14098 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14099 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14102 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14103 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14104 $as_echo_n "(cached) " >&6
14105 else
14106 ac_wine_try_cflags_saved=$CFLAGS
14107 CFLAGS="$CFLAGS -Wignored-qualifiers"
14108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14109 /* end confdefs.h. */
14110 int main(int argc, char **argv) { return 0; }
14111 _ACEOF
14112 if ac_fn_c_try_link "$LINENO"; then :
14113 ac_cv_cflags__Wignored_qualifiers=yes
14114 else
14115 ac_cv_cflags__Wignored_qualifiers=no
14117 rm -f core conftest.err conftest.$ac_objext \
14118 conftest$ac_exeext conftest.$ac_ext
14119 CFLAGS=$ac_wine_try_cflags_saved
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14122 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14123 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14124 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14127 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14128 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14129 $as_echo_n "(cached) " >&6
14130 else
14131 ac_wine_try_cflags_saved=$CFLAGS
14132 CFLAGS="$CFLAGS -Wstrict-prototypes"
14133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14134 /* end confdefs.h. */
14135 int main(int argc, char **argv) { return 0; }
14136 _ACEOF
14137 if ac_fn_c_try_link "$LINENO"; then :
14138 ac_cv_cflags__Wstrict_prototypes=yes
14139 else
14140 ac_cv_cflags__Wstrict_prototypes=no
14142 rm -f core conftest.err conftest.$ac_objext \
14143 conftest$ac_exeext conftest.$ac_ext
14144 CFLAGS=$ac_wine_try_cflags_saved
14146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14147 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14148 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14149 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14152 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14153 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14154 $as_echo_n "(cached) " >&6
14155 else
14156 ac_wine_try_cflags_saved=$CFLAGS
14157 CFLAGS="$CFLAGS -Wtype-limits"
14158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14159 /* end confdefs.h. */
14160 int main(int argc, char **argv) { return 0; }
14161 _ACEOF
14162 if ac_fn_c_try_link "$LINENO"; then :
14163 ac_cv_cflags__Wtype_limits=yes
14164 else
14165 ac_cv_cflags__Wtype_limits=no
14167 rm -f core conftest.err conftest.$ac_objext \
14168 conftest$ac_exeext conftest.$ac_ext
14169 CFLAGS=$ac_wine_try_cflags_saved
14171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14172 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14173 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14174 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14177 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14178 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14179 $as_echo_n "(cached) " >&6
14180 else
14181 ac_wine_try_cflags_saved=$CFLAGS
14182 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14184 /* end confdefs.h. */
14185 int main(int argc, char **argv) { return 0; }
14186 _ACEOF
14187 if ac_fn_c_try_link "$LINENO"; then :
14188 ac_cv_cflags__Wunused_but_set_parameter=yes
14189 else
14190 ac_cv_cflags__Wunused_but_set_parameter=no
14192 rm -f core conftest.err conftest.$ac_objext \
14193 conftest$ac_exeext conftest.$ac_ext
14194 CFLAGS=$ac_wine_try_cflags_saved
14196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14197 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14198 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14199 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14202 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14203 if ${ac_cv_cflags__Wvla+:} false; then :
14204 $as_echo_n "(cached) " >&6
14205 else
14206 ac_wine_try_cflags_saved=$CFLAGS
14207 CFLAGS="$CFLAGS -Wvla"
14208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14209 /* end confdefs.h. */
14210 int main(int argc, char **argv) { return 0; }
14211 _ACEOF
14212 if ac_fn_c_try_link "$LINENO"; then :
14213 ac_cv_cflags__Wvla=yes
14214 else
14215 ac_cv_cflags__Wvla=no
14217 rm -f core conftest.err conftest.$ac_objext \
14218 conftest$ac_exeext conftest.$ac_ext
14219 CFLAGS=$ac_wine_try_cflags_saved
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14222 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14223 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14224 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14227 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14228 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14229 $as_echo_n "(cached) " >&6
14230 else
14231 ac_wine_try_cflags_saved=$CFLAGS
14232 CFLAGS="$CFLAGS -Wwrite-strings"
14233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14234 /* end confdefs.h. */
14235 int main(int argc, char **argv) { return 0; }
14236 _ACEOF
14237 if ac_fn_c_try_link "$LINENO"; then :
14238 ac_cv_cflags__Wwrite_strings=yes
14239 else
14240 ac_cv_cflags__Wwrite_strings=no
14242 rm -f core conftest.err conftest.$ac_objext \
14243 conftest$ac_exeext conftest.$ac_ext
14244 CFLAGS=$ac_wine_try_cflags_saved
14246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14247 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14248 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14249 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14253 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14254 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14255 $as_echo_n "(cached) " >&6
14256 else
14257 ac_wine_try_cflags_saved=$CFLAGS
14258 CFLAGS="$CFLAGS -Wpointer-arith"
14259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14260 /* end confdefs.h. */
14261 int main(int argc, char **argv) { return 0; }
14262 _ACEOF
14263 if ac_fn_c_try_link "$LINENO"; then :
14264 ac_cv_cflags__Wpointer_arith=yes
14265 else
14266 ac_cv_cflags__Wpointer_arith=no
14268 rm -f core conftest.err conftest.$ac_objext \
14269 conftest$ac_exeext conftest.$ac_ext
14270 CFLAGS=$ac_wine_try_cflags_saved
14272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14273 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14274 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14275 saved_string_h_CFLAGS=$CFLAGS
14276 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14278 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14279 if ${ac_cv_c_string_h_warnings+:} false; then :
14280 $as_echo_n "(cached) " >&6
14281 else
14282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14283 /* end confdefs.h. */
14284 #include <string.h>
14286 main ()
14290 return 0;
14292 _ACEOF
14293 if ac_fn_c_try_compile "$LINENO"; then :
14294 ac_cv_c_string_h_warnings=no
14295 else
14296 ac_cv_c_string_h_warnings=yes
14298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14301 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14302 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14303 CFLAGS=$saved_string_h_CFLAGS
14306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14307 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14308 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14309 $as_echo_n "(cached) " >&6
14310 else
14311 ac_wine_try_cflags_saved=$CFLAGS
14312 CFLAGS="$CFLAGS -Wlogical-op"
14313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14314 /* end confdefs.h. */
14315 int main(int argc, char **argv) { return 0; }
14316 _ACEOF
14317 if ac_fn_c_try_link "$LINENO"; then :
14318 ac_cv_cflags__Wlogical_op=yes
14319 else
14320 ac_cv_cflags__Wlogical_op=no
14322 rm -f core conftest.err conftest.$ac_objext \
14323 conftest$ac_exeext conftest.$ac_ext
14324 CFLAGS=$ac_wine_try_cflags_saved
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14327 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14328 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14329 saved_string_h_CFLAGS=$CFLAGS
14330 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14332 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14333 if ${ac_cv_c_logicalop_noisy+:} false; then :
14334 $as_echo_n "(cached) " >&6
14335 else
14336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14337 /* end confdefs.h. */
14338 #include <string.h>
14339 char*f(const char *h,char n) {return strchr(h,n);}
14341 main ()
14345 return 0;
14347 _ACEOF
14348 if ac_fn_c_try_compile "$LINENO"; then :
14349 ac_cv_c_logicalop_noisy=no
14350 else
14351 ac_cv_c_logicalop_noisy=yes
14353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14356 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14357 CFLAGS=$saved_string_h_CFLAGS
14358 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14361 CFLAGS=$saved_CFLAGS
14363 for ac_flag in $CFLAGS; do
14364 case $ac_flag in
14365 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14366 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14367 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14368 $as_echo_n "(cached) " >&6
14369 else
14370 ac_wine_try_cflags_saved=$CFLAGS
14371 CFLAGS="$CFLAGS -gdwarf-2"
14372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14373 /* end confdefs.h. */
14374 int main(int argc, char **argv) { return 0; }
14375 _ACEOF
14376 if ac_fn_c_try_link "$LINENO"; then :
14377 ac_cv_cflags__gdwarf_2=yes
14378 else
14379 ac_cv_cflags__gdwarf_2=no
14381 rm -f core conftest.err conftest.$ac_objext \
14382 conftest$ac_exeext conftest.$ac_ext
14383 CFLAGS=$ac_wine_try_cflags_saved
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14386 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14387 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14388 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14391 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14392 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14393 $as_echo_n "(cached) " >&6
14394 else
14395 ac_wine_try_cflags_saved=$CFLAGS
14396 CFLAGS="$CFLAGS -gstrict-dwarf"
14397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14398 /* end confdefs.h. */
14399 int main(int argc, char **argv) { return 0; }
14400 _ACEOF
14401 if ac_fn_c_try_link "$LINENO"; then :
14402 ac_cv_cflags__gstrict_dwarf=yes
14403 else
14404 ac_cv_cflags__gstrict_dwarf=no
14406 rm -f core conftest.err conftest.$ac_objext \
14407 conftest$ac_exeext conftest.$ac_ext
14408 CFLAGS=$ac_wine_try_cflags_saved
14410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14411 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14412 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14413 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14414 fi ;;
14415 esac
14416 done
14418 case $host_cpu in
14419 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14420 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14421 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14422 $as_echo_n "(cached) " >&6
14423 else
14424 ac_wine_try_cflags_saved=$CFLAGS
14425 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14427 /* end confdefs.h. */
14428 int main(int argc, char **argv) { return 0; }
14429 _ACEOF
14430 if ac_fn_c_try_link "$LINENO"; then :
14431 ac_cv_cflags__fno_omit_frame_pointer=yes
14432 else
14433 ac_cv_cflags__fno_omit_frame_pointer=no
14435 rm -f core conftest.err conftest.$ac_objext \
14436 conftest$ac_exeext conftest.$ac_ext
14437 CFLAGS=$ac_wine_try_cflags_saved
14439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14440 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14441 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14442 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14443 fi ;;
14444 esac
14446 case $host in
14447 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14448 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14449 if ${ac_cv_cflags__Wno_format+:} false; then :
14450 $as_echo_n "(cached) " >&6
14451 else
14452 ac_wine_try_cflags_saved=$CFLAGS
14453 CFLAGS="$CFLAGS -Wno-format"
14454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14455 /* end confdefs.h. */
14456 int main(int argc, char **argv) { return 0; }
14457 _ACEOF
14458 if ac_fn_c_try_link "$LINENO"; then :
14459 ac_cv_cflags__Wno_format=yes
14460 else
14461 ac_cv_cflags__Wno_format=no
14463 rm -f core conftest.err conftest.$ac_objext \
14464 conftest$ac_exeext conftest.$ac_ext
14465 CFLAGS=$ac_wine_try_cflags_saved
14467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14468 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14469 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14470 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14471 fi ;;
14472 esac
14474 if test "x$enable_maintainer_mode" = "xyes"
14475 then
14476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14477 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14478 if ${ac_cv_cflags__Werror+:} false; then :
14479 $as_echo_n "(cached) " >&6
14480 else
14481 ac_wine_try_cflags_saved=$CFLAGS
14482 CFLAGS="$CFLAGS -Werror"
14483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14484 /* end confdefs.h. */
14485 int main(int argc, char **argv) { return 0; }
14486 _ACEOF
14487 if ac_fn_c_try_link "$LINENO"; then :
14488 ac_cv_cflags__Werror=yes
14489 else
14490 ac_cv_cflags__Werror=no
14492 rm -f core conftest.err conftest.$ac_objext \
14493 conftest$ac_exeext conftest.$ac_ext
14494 CFLAGS=$ac_wine_try_cflags_saved
14496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14497 $as_echo "$ac_cv_cflags__Werror" >&6; }
14498 if test "x$ac_cv_cflags__Werror" = xyes; then :
14499 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14503 saved_CFLAGS="$CFLAGS"
14504 CFLAGS="$CFLAGS -Werror"
14505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14506 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14507 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14508 $as_echo_n "(cached) " >&6
14509 else
14510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14511 /* end confdefs.h. */
14512 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14514 main ()
14518 return 0;
14520 _ACEOF
14521 if ac_fn_c_try_compile "$LINENO"; then :
14522 ac_cv_have_ms_hook_prologue="yes"
14523 else
14524 ac_cv_have_ms_hook_prologue="no"
14526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14529 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14530 CFLAGS="$saved_CFLAGS"
14531 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14532 then
14534 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14536 else
14537 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14544 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14545 if ${ac_cv_c_fortify_enabled+:} false; then :
14546 $as_echo_n "(cached) " >&6
14547 else
14548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14549 /* end confdefs.h. */
14550 #include <string.h>
14552 main ()
14554 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14555 #error Fortify enabled
14556 #endif
14558 return 0;
14560 _ACEOF
14561 if ac_fn_c_try_compile "$LINENO"; then :
14562 ac_cv_c_fortify_enabled=no
14563 else
14564 ac_cv_c_fortify_enabled=yes
14566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14569 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14570 if test "$ac_cv_c_fortify_enabled" = yes
14571 then
14572 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14577 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14578 if ${ac_cv_c_extern_prefix+:} false; then :
14579 $as_echo_n "(cached) " >&6
14580 else
14581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14582 /* end confdefs.h. */
14583 extern int ac_test;
14585 main ()
14587 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14589 return 0;
14591 _ACEOF
14592 if ac_fn_c_try_link "$LINENO"; then :
14593 ac_cv_c_extern_prefix="yes"
14594 else
14595 ac_cv_c_extern_prefix="no"
14597 rm -f core conftest.err conftest.$ac_objext \
14598 conftest$ac_exeext conftest.$ac_ext
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14601 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14603 case $host_cpu in
14604 *i[3456789]86*)
14605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14606 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14607 if ${ac_cv_c_stdcall_suffix+:} false; then :
14608 $as_echo_n "(cached) " >&6
14609 else
14610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14611 /* end confdefs.h. */
14612 #ifndef _MSC_VER
14613 #define __stdcall __attribute__((__stdcall__))
14614 #endif
14615 int __stdcall ac_test(int i) { return i; }
14617 main ()
14619 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14621 return 0;
14623 _ACEOF
14624 if ac_fn_c_try_link "$LINENO"; then :
14625 ac_cv_c_stdcall_suffix="yes"
14626 else
14627 ac_cv_c_stdcall_suffix="no"
14629 rm -f core conftest.err conftest.$ac_objext \
14630 conftest$ac_exeext conftest.$ac_ext
14632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14633 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14634 *) ac_cv_c_stdcall_suffix="no" ;;
14635 esac
14638 if test "$ac_cv_c_extern_prefix" = "yes"
14639 then
14640 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14642 asm_name_prefix="_"
14643 else
14644 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14646 asm_name_prefix=""
14650 if test "$ac_cv_c_stdcall_suffix" = "yes"
14651 then
14652 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14654 else
14655 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14661 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14662 if ${ac_cv_asm_func_def+:} false; then :
14663 $as_echo_n "(cached) " >&6
14664 else
14665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14666 /* end confdefs.h. */
14669 main ()
14671 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14673 return 0;
14675 _ACEOF
14676 if ac_fn_c_try_link "$LINENO"; then :
14677 ac_cv_asm_func_def=".def"
14678 else
14679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14680 /* end confdefs.h. */
14683 main ()
14685 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14687 return 0;
14689 _ACEOF
14690 if ac_fn_c_try_link "$LINENO"; then :
14691 ac_cv_asm_func_def=".type @function"
14692 else
14693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14694 /* end confdefs.h. */
14697 main ()
14699 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14701 return 0;
14703 _ACEOF
14704 if ac_fn_c_try_link "$LINENO"; then :
14705 ac_cv_asm_func_def=".type 2"
14706 else
14707 ac_cv_asm_func_def="unknown"
14709 rm -f core conftest.err conftest.$ac_objext \
14710 conftest$ac_exeext conftest.$ac_ext
14712 rm -f core conftest.err conftest.$ac_objext \
14713 conftest$ac_exeext conftest.$ac_ext
14715 rm -f core conftest.err conftest.$ac_objext \
14716 conftest$ac_exeext conftest.$ac_ext
14718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14719 $as_echo "$ac_cv_asm_func_def" >&6; }
14722 case "$ac_cv_asm_func_def" in
14723 ".def")
14724 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14726 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14727 ".type @function")
14728 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14730 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14731 ".type 2")
14732 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14734 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14736 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14738 asm_func_header="" ;;
14739 esac
14741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14742 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14743 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14744 $as_echo_n "(cached) " >&6
14745 else
14746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14747 /* end confdefs.h. */
14748 asm(".text\n\t.long 0");
14750 main ()
14754 return 0;
14756 _ACEOF
14757 if ac_fn_c_try_compile "$LINENO"; then :
14758 ac_cv_c_asm_outside_funcs="yes"
14759 else
14760 ac_cv_c_asm_outside_funcs="no"
14762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14765 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14768 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14769 if ${ac_cv_c_dot_previous+:} false; then :
14770 $as_echo_n "(cached) " >&6
14771 else
14772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14773 /* end confdefs.h. */
14776 main ()
14778 asm(".text\nac_test:\t.long 0\n\t.previous");
14780 return 0;
14782 _ACEOF
14783 if ac_fn_c_try_link "$LINENO"; then :
14784 ac_cv_c_dot_previous="yes"
14785 else
14786 ac_cv_c_dot_previous="no"
14788 rm -f core conftest.err conftest.$ac_objext \
14789 conftest$ac_exeext conftest.$ac_ext
14791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14792 $as_echo "$ac_cv_c_dot_previous" >&6; }
14794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14795 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14796 if ${ac_cv_c_cfi_support+:} false; then :
14797 $as_echo_n "(cached) " >&6
14798 else
14799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14800 /* end confdefs.h. */
14801 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14803 main ()
14807 return 0;
14809 _ACEOF
14810 if ac_fn_c_try_compile "$LINENO"; then :
14811 ac_cv_c_cfi_support="yes"
14812 else
14813 ac_cv_c_cfi_support="no"
14815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14818 $as_echo "$ac_cv_c_cfi_support" >&6; }
14820 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14821 asm_func_trailer=""
14822 if test "$ac_cv_c_dot_previous" = "yes"
14823 then
14824 asm_func_trailer="\\n\\t.previous"
14826 if test "$ac_cv_c_cfi_support" = "yes"
14827 then
14828 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14829 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14831 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14833 UNWINDFLAGS=-fasynchronous-unwind-tables
14835 else
14836 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14838 if test "x$enable_win64" = "xyes"
14839 then
14840 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
14844 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14847 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14848 then
14849 cat >>confdefs.h <<_ACEOF
14850 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14851 _ACEOF
14853 else
14854 cat >>confdefs.h <<_ACEOF
14855 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14856 _ACEOF
14860 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14863 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14867 case $build_os in
14868 cygwin*|mingw32*) TOOLSEXT=".exe"
14870 esac
14872 case $host_os in
14873 linux*)
14874 case $host_cpu in
14875 *i[3456789]86*|x86_64*)
14876 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14877 loader_programs="$loader_programs $wine_binary-preloader"
14878 as_fn_append LOADER_RULES "
14879 $wine_binary-preloader: preloader.o
14880 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14882 install install-lib:: $wine_binary-preloader
14883 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14885 uninstall::
14886 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14888 preloader_EXTRADEFS = $BUILTINFLAG
14889 " ;;
14890 esac
14892 esac
14893 as_fn_append LOADER_RULES "
14894 PROGRAMS = $loader_programs
14898 ac_save_CFLAGS="$CFLAGS"
14899 CFLAGS="$CFLAGS $BUILTINFLAG"
14900 for ac_func in \
14901 __res_get_state \
14902 __res_getservers \
14903 _finite \
14904 _isnan \
14905 _pclose \
14906 _popen \
14907 _snprintf \
14908 _spawnvp \
14909 _strdup \
14910 _stricmp \
14911 _strnicmp \
14912 _strtoi64 \
14913 _strtoui64 \
14914 _vsnprintf \
14915 asctime_r \
14916 chsize \
14917 dlopen \
14918 epoll_create \
14919 ffs \
14920 finitef \
14921 fnmatch \
14922 fork \
14923 fpclass \
14924 fstatfs \
14925 fstatvfs \
14926 ftruncate \
14927 futimens \
14928 futimes \
14929 futimesat \
14930 getattrlist \
14931 getdirentries \
14932 getopt_long_only \
14933 getpwuid \
14934 gettimeofday \
14935 getuid \
14936 if_nameindex \
14937 isnanf \
14938 kqueue \
14939 lstat \
14940 memmove \
14941 mmap \
14942 pclose \
14943 pipe2 \
14944 poll \
14945 popen \
14946 port_create \
14947 prctl \
14948 pread \
14949 proc_pidinfo \
14950 pwrite \
14951 readdir \
14952 readlink \
14953 sched_yield \
14954 select \
14955 setproctitle \
14956 setrlimit \
14957 settimeofday \
14958 sigaltstack \
14959 sigprocmask \
14960 snprintf \
14961 statfs \
14962 statvfs \
14963 strcasecmp \
14964 strdup \
14965 strerror \
14966 strncasecmp \
14967 strtold \
14968 strtoll \
14969 strtoull \
14970 symlink \
14971 tcdrain \
14972 thr_kill2 \
14973 timegm \
14974 usleep \
14975 vsnprintf
14977 do :
14978 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14979 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14980 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14981 cat >>confdefs.h <<_ACEOF
14982 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14983 _ACEOF
14986 done
14988 CFLAGS="$ac_save_CFLAGS"
14990 if test "$ac_cv_func_dlopen" = no
14991 then
14992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14993 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14994 if ${ac_cv_lib_dl_dlopen+:} false; then :
14995 $as_echo_n "(cached) " >&6
14996 else
14997 ac_check_lib_save_LIBS=$LIBS
14998 LIBS="-ldl $LIBS"
14999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15000 /* end confdefs.h. */
15002 /* Override any GCC internal prototype to avoid an error.
15003 Use char because int might match the return type of a GCC
15004 builtin and then its argument prototype would still apply. */
15005 #ifdef __cplusplus
15006 extern "C"
15007 #endif
15008 char dlopen ();
15010 main ()
15012 return dlopen ();
15014 return 0;
15016 _ACEOF
15017 if ac_fn_c_try_link "$LINENO"; then :
15018 ac_cv_lib_dl_dlopen=yes
15019 else
15020 ac_cv_lib_dl_dlopen=no
15022 rm -f core conftest.err conftest.$ac_objext \
15023 conftest$ac_exeext conftest.$ac_ext
15024 LIBS=$ac_check_lib_save_LIBS
15026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15027 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15028 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15029 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15030 DL_LIBS="-ldl"
15035 ac_wine_check_funcs_save_LIBS="$LIBS"
15036 LIBS="$LIBS $DL_LIBS"
15037 for ac_func in dladdr
15038 do :
15039 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15040 if test "x$ac_cv_func_dladdr" = xyes; then :
15041 cat >>confdefs.h <<_ACEOF
15042 #define HAVE_DLADDR 1
15043 _ACEOF
15046 done
15048 LIBS="$ac_wine_check_funcs_save_LIBS"
15050 if test "$ac_cv_func_poll" = no
15051 then
15052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15053 $as_echo_n "checking for poll in -lpoll... " >&6; }
15054 if ${ac_cv_lib_poll_poll+:} false; then :
15055 $as_echo_n "(cached) " >&6
15056 else
15057 ac_check_lib_save_LIBS=$LIBS
15058 LIBS="-lpoll $LIBS"
15059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15060 /* end confdefs.h. */
15062 /* Override any GCC internal prototype to avoid an error.
15063 Use char because int might match the return type of a GCC
15064 builtin and then its argument prototype would still apply. */
15065 #ifdef __cplusplus
15066 extern "C"
15067 #endif
15068 char poll ();
15070 main ()
15072 return poll ();
15074 return 0;
15076 _ACEOF
15077 if ac_fn_c_try_link "$LINENO"; then :
15078 ac_cv_lib_poll_poll=yes
15079 else
15080 ac_cv_lib_poll_poll=no
15082 rm -f core conftest.err conftest.$ac_objext \
15083 conftest$ac_exeext conftest.$ac_ext
15084 LIBS=$ac_check_lib_save_LIBS
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15087 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15088 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15089 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15090 POLL_LIBS="-lpoll"
15096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15097 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15098 if ${ac_cv_search_gethostbyname+:} false; then :
15099 $as_echo_n "(cached) " >&6
15100 else
15101 ac_func_search_save_LIBS=$LIBS
15102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15103 /* end confdefs.h. */
15105 /* Override any GCC internal prototype to avoid an error.
15106 Use char because int might match the return type of a GCC
15107 builtin and then its argument prototype would still apply. */
15108 #ifdef __cplusplus
15109 extern "C"
15110 #endif
15111 char gethostbyname ();
15113 main ()
15115 return gethostbyname ();
15117 return 0;
15119 _ACEOF
15120 for ac_lib in '' nsl; do
15121 if test -z "$ac_lib"; then
15122 ac_res="none required"
15123 else
15124 ac_res=-l$ac_lib
15125 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15127 if ac_fn_c_try_link "$LINENO"; then :
15128 ac_cv_search_gethostbyname=$ac_res
15130 rm -f core conftest.err conftest.$ac_objext \
15131 conftest$ac_exeext
15132 if ${ac_cv_search_gethostbyname+:} false; then :
15133 break
15135 done
15136 if ${ac_cv_search_gethostbyname+:} false; then :
15138 else
15139 ac_cv_search_gethostbyname=no
15141 rm conftest.$ac_ext
15142 LIBS=$ac_func_search_save_LIBS
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15145 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15146 ac_res=$ac_cv_search_gethostbyname
15147 if test "$ac_res" != no; then :
15148 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15154 $as_echo_n "checking for library containing connect... " >&6; }
15155 if ${ac_cv_search_connect+:} false; then :
15156 $as_echo_n "(cached) " >&6
15157 else
15158 ac_func_search_save_LIBS=$LIBS
15159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15160 /* end confdefs.h. */
15162 /* Override any GCC internal prototype to avoid an error.
15163 Use char because int might match the return type of a GCC
15164 builtin and then its argument prototype would still apply. */
15165 #ifdef __cplusplus
15166 extern "C"
15167 #endif
15168 char connect ();
15170 main ()
15172 return connect ();
15174 return 0;
15176 _ACEOF
15177 for ac_lib in '' socket; do
15178 if test -z "$ac_lib"; then
15179 ac_res="none required"
15180 else
15181 ac_res=-l$ac_lib
15182 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15184 if ac_fn_c_try_link "$LINENO"; then :
15185 ac_cv_search_connect=$ac_res
15187 rm -f core conftest.err conftest.$ac_objext \
15188 conftest$ac_exeext
15189 if ${ac_cv_search_connect+:} false; then :
15190 break
15192 done
15193 if ${ac_cv_search_connect+:} false; then :
15195 else
15196 ac_cv_search_connect=no
15198 rm conftest.$ac_ext
15199 LIBS=$ac_func_search_save_LIBS
15201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15202 $as_echo "$ac_cv_search_connect" >&6; }
15203 ac_res=$ac_cv_search_connect
15204 if test "$ac_res" != no; then :
15205 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15211 $as_echo_n "checking for library containing inet_aton... " >&6; }
15212 if ${ac_cv_search_inet_aton+:} false; then :
15213 $as_echo_n "(cached) " >&6
15214 else
15215 ac_func_search_save_LIBS=$LIBS
15216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15217 /* end confdefs.h. */
15219 /* Override any GCC internal prototype to avoid an error.
15220 Use char because int might match the return type of a GCC
15221 builtin and then its argument prototype would still apply. */
15222 #ifdef __cplusplus
15223 extern "C"
15224 #endif
15225 char inet_aton ();
15227 main ()
15229 return inet_aton ();
15231 return 0;
15233 _ACEOF
15234 for ac_lib in '' resolv; do
15235 if test -z "$ac_lib"; then
15236 ac_res="none required"
15237 else
15238 ac_res=-l$ac_lib
15239 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15241 if ac_fn_c_try_link "$LINENO"; then :
15242 ac_cv_search_inet_aton=$ac_res
15244 rm -f core conftest.err conftest.$ac_objext \
15245 conftest$ac_exeext
15246 if ${ac_cv_search_inet_aton+:} false; then :
15247 break
15249 done
15250 if ${ac_cv_search_inet_aton+:} false; then :
15252 else
15253 ac_cv_search_inet_aton=no
15255 rm conftest.$ac_ext
15256 LIBS=$ac_func_search_save_LIBS
15258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15259 $as_echo "$ac_cv_search_inet_aton" >&6; }
15260 ac_res=$ac_cv_search_inet_aton
15261 if test "$ac_res" != no; then :
15262 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15267 for ac_func in \
15268 getaddrinfo \
15269 getnameinfo \
15270 getnetbyname \
15271 getprotobyname \
15272 getprotobynumber \
15273 getservbyport \
15274 inet_addr \
15275 inet_network \
15276 inet_ntop \
15277 inet_pton \
15278 sendmsg \
15279 socketpair \
15281 do :
15282 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15283 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15284 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15285 cat >>confdefs.h <<_ACEOF
15286 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15287 _ACEOF
15290 done
15293 ac_save_LIBS=$LIBS
15294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15295 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15296 if ${ac_cv_search_clock_gettime+:} false; then :
15297 $as_echo_n "(cached) " >&6
15298 else
15299 ac_func_search_save_LIBS=$LIBS
15300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15301 /* end confdefs.h. */
15303 /* Override any GCC internal prototype to avoid an error.
15304 Use char because int might match the return type of a GCC
15305 builtin and then its argument prototype would still apply. */
15306 #ifdef __cplusplus
15307 extern "C"
15308 #endif
15309 char clock_gettime ();
15311 main ()
15313 return clock_gettime ();
15315 return 0;
15317 _ACEOF
15318 for ac_lib in '' rt; do
15319 if test -z "$ac_lib"; then
15320 ac_res="none required"
15321 else
15322 ac_res=-l$ac_lib
15323 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15325 if ac_fn_c_try_link "$LINENO"; then :
15326 ac_cv_search_clock_gettime=$ac_res
15328 rm -f core conftest.err conftest.$ac_objext \
15329 conftest$ac_exeext
15330 if ${ac_cv_search_clock_gettime+:} false; then :
15331 break
15333 done
15334 if ${ac_cv_search_clock_gettime+:} false; then :
15336 else
15337 ac_cv_search_clock_gettime=no
15339 rm conftest.$ac_ext
15340 LIBS=$ac_func_search_save_LIBS
15342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15343 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15344 ac_res=$ac_cv_search_clock_gettime
15345 if test "$ac_res" != no; then :
15346 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15348 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15350 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15354 LIBS=$ac_save_LIBS
15356 LDAP_LIBS=""
15358 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15359 then
15360 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15362 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15364 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15365 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15366 $as_echo_n "(cached) " >&6
15367 else
15368 ac_check_lib_save_LIBS=$LIBS
15369 LIBS="-lldap_r $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 ldap_initialize ();
15381 main ()
15383 return ldap_initialize ();
15385 return 0;
15387 _ACEOF
15388 if ac_fn_c_try_link "$LINENO"; then :
15389 ac_cv_lib_ldap_r_ldap_initialize=yes
15390 else
15391 ac_cv_lib_ldap_r_ldap_initialize=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_ldap_r_ldap_initialize" >&5
15398 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15399 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15401 $as_echo_n "checking for ber_init in -llber... " >&6; }
15402 if ${ac_cv_lib_lber_ber_init+:} false; then :
15403 $as_echo_n "(cached) " >&6
15404 else
15405 ac_check_lib_save_LIBS=$LIBS
15406 LIBS="-llber $PTHREAD_LIBS $LIBS"
15407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15408 /* end confdefs.h. */
15410 /* Override any GCC internal prototype to avoid an error.
15411 Use char because int might match the return type of a GCC
15412 builtin and then its argument prototype would still apply. */
15413 #ifdef __cplusplus
15414 extern "C"
15415 #endif
15416 char ber_init ();
15418 main ()
15420 return ber_init ();
15422 return 0;
15424 _ACEOF
15425 if ac_fn_c_try_link "$LINENO"; then :
15426 ac_cv_lib_lber_ber_init=yes
15427 else
15428 ac_cv_lib_lber_ber_init=no
15430 rm -f core conftest.err conftest.$ac_objext \
15431 conftest$ac_exeext conftest.$ac_ext
15432 LIBS=$ac_check_lib_save_LIBS
15434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15435 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15436 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15438 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15440 LDAP_LIBS="-lldap_r -llber"
15447 ac_wine_check_funcs_save_LIBS="$LIBS"
15448 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15449 for ac_func in \
15450 ldap_count_references \
15451 ldap_first_reference \
15452 ldap_next_reference \
15453 ldap_parse_reference \
15454 ldap_parse_sort_control \
15455 ldap_parse_sortresponse_control \
15456 ldap_parse_vlv_control \
15457 ldap_parse_vlvresponse_control
15458 do :
15459 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15460 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15461 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15462 cat >>confdefs.h <<_ACEOF
15463 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15464 _ACEOF
15467 done
15469 LIBS="$ac_wine_check_funcs_save_LIBS"
15471 if test "x$LDAP_LIBS" = "x"; then :
15472 case "x$with_ldap" in
15473 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15474 xno) ;;
15475 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15476 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15477 esac
15480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15481 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15482 if ${wine_cv_one_arg_mkdir+:} false; then :
15483 $as_echo_n "(cached) " >&6
15484 else
15485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15486 /* end confdefs.h. */
15487 #include <sys/stat.h>
15489 main ()
15491 mkdir("foo");
15493 return 0;
15495 _ACEOF
15496 if ac_fn_c_try_compile "$LINENO"; then :
15497 wine_cv_one_arg_mkdir=yes
15498 else
15499 wine_cv_one_arg_mkdir=no
15501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15504 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15505 if test "$wine_cv_one_arg_mkdir" = "yes"
15506 then
15508 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15513 $as_echo_n "checking for sched_setaffinity... " >&6; }
15514 if ${wine_cv_have_sched_setaffinity+:} false; then :
15515 $as_echo_n "(cached) " >&6
15516 else
15517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15518 /* end confdefs.h. */
15519 #define _GNU_SOURCE
15520 #include <sched.h>
15522 main ()
15524 sched_setaffinity(0, 0, 0);
15526 return 0;
15528 _ACEOF
15529 if ac_fn_c_try_link "$LINENO"; then :
15530 wine_cv_have_sched_setaffinity=yes
15531 else
15532 wine_cv_have_sched_setaffinity=no
15534 rm -f core conftest.err conftest.$ac_objext \
15535 conftest$ac_exeext conftest.$ac_ext
15537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15538 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15539 if test "$wine_cv_have_sched_setaffinity" = "yes"
15540 then
15542 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15547 $as_echo_n "checking for fallocate... " >&6; }
15548 if ${wine_cv_have_fallocate+:} false; then :
15549 $as_echo_n "(cached) " >&6
15550 else
15551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15552 /* end confdefs.h. */
15553 #define _GNU_SOURCE
15554 #include <fcntl.h>
15556 main ()
15558 fallocate(-1, 0, 0, 0);
15560 return 0;
15562 _ACEOF
15563 if ac_fn_c_try_link "$LINENO"; then :
15564 wine_cv_have_fallocate=yes
15565 else
15566 wine_cv_have_fallocate=no
15568 rm -f core conftest.err conftest.$ac_objext \
15569 conftest$ac_exeext conftest.$ac_ext
15571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15572 $as_echo "$wine_cv_have_fallocate" >&6; }
15573 if test "$wine_cv_have_fallocate" = "yes"
15574 then
15576 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15582 $as_echo_n "checking for inline... " >&6; }
15583 if ${ac_cv_c_inline+:} false; then :
15584 $as_echo_n "(cached) " >&6
15585 else
15586 ac_cv_c_inline=no
15587 for ac_kw in inline __inline__ __inline; do
15588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15589 /* end confdefs.h. */
15590 #ifndef __cplusplus
15591 typedef int foo_t;
15592 static $ac_kw foo_t static_foo () {return 0; }
15593 $ac_kw foo_t foo () {return 0; }
15594 #endif
15596 _ACEOF
15597 if ac_fn_c_try_compile "$LINENO"; then :
15598 ac_cv_c_inline=$ac_kw
15600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15601 test "$ac_cv_c_inline" != no && break
15602 done
15605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15606 $as_echo "$ac_cv_c_inline" >&6; }
15608 case $ac_cv_c_inline in
15609 inline | yes) ;;
15611 case $ac_cv_c_inline in
15612 no) ac_val=;;
15613 *) ac_val=$ac_cv_c_inline;;
15614 esac
15615 cat >>confdefs.h <<_ACEOF
15616 #ifndef __cplusplus
15617 #define inline $ac_val
15618 #endif
15619 _ACEOF
15621 esac
15623 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15624 if test "x$ac_cv_type_mode_t" = xyes; then :
15626 cat >>confdefs.h <<_ACEOF
15627 #define HAVE_MODE_T 1
15628 _ACEOF
15632 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15633 if test "x$ac_cv_type_off_t" = xyes; then :
15635 cat >>confdefs.h <<_ACEOF
15636 #define HAVE_OFF_T 1
15637 _ACEOF
15641 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15642 if test "x$ac_cv_type_pid_t" = xyes; then :
15644 cat >>confdefs.h <<_ACEOF
15645 #define HAVE_PID_T 1
15646 _ACEOF
15650 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15651 if test "x$ac_cv_type_size_t" = xyes; then :
15653 cat >>confdefs.h <<_ACEOF
15654 #define HAVE_SIZE_T 1
15655 _ACEOF
15659 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15660 if test "x$ac_cv_type_ssize_t" = xyes; then :
15662 cat >>confdefs.h <<_ACEOF
15663 #define HAVE_SSIZE_T 1
15664 _ACEOF
15668 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15669 if test "x$ac_cv_type_long_long" = xyes; then :
15671 cat >>confdefs.h <<_ACEOF
15672 #define HAVE_LONG_LONG 1
15673 _ACEOF
15677 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15678 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15680 cat >>confdefs.h <<_ACEOF
15681 #define HAVE_FSBLKCNT_T 1
15682 _ACEOF
15686 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15687 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15689 cat >>confdefs.h <<_ACEOF
15690 #define HAVE_FSFILCNT_T 1
15691 _ACEOF
15696 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15697 #include <signal.h>
15699 if test "x$ac_cv_type_sigset_t" = xyes; then :
15701 cat >>confdefs.h <<_ACEOF
15702 #define HAVE_SIGSET_T 1
15703 _ACEOF
15708 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15710 if test "x$ac_cv_type_request_sense" = xyes; then :
15712 cat >>confdefs.h <<_ACEOF
15713 #define HAVE_REQUEST_SENSE 1
15714 _ACEOF
15720 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15721 #ifdef HAVE_SYS_SOCKET_H
15722 #include <sys/socket.h>
15723 #endif
15724 #ifdef HAVE_SYS_SOCKETVAR_H
15725 #include <sys/socketvar.h>
15726 #endif
15727 #ifdef HAVE_NET_ROUTE_H
15728 #include <net/route.h>
15729 #endif
15730 #ifdef HAVE_NETINET_IN_H
15731 #include <netinet/in.h>
15732 #endif
15733 #ifdef HAVE_NETINET_IN_SYSTM_H
15734 #include <netinet/in_systm.h>
15735 #endif
15736 #ifdef HAVE_NETINET_IP_H
15737 #include <netinet/ip.h>
15738 #endif
15739 #ifdef HAVE_NETINET_IN_PCB_H
15740 #include <netinet/in_pcb.h>
15741 #endif
15743 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15745 cat >>confdefs.h <<_ACEOF
15746 #define HAVE_STRUCT_XINPGEN 1
15747 _ACEOF
15753 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15754 #include <link.h>
15755 #endif
15756 #ifdef HAVE_SYS_LINK_H
15757 #include <sys/link.h>
15758 #endif
15760 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15762 cat >>confdefs.h <<_ACEOF
15763 #define HAVE_STRUCT_R_DEBUG 1
15764 _ACEOF
15768 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15769 #include <link.h>
15770 #endif
15771 #ifdef HAVE_SYS_LINK_H
15772 #include <sys/link.h>
15773 #endif
15775 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15777 cat >>confdefs.h <<_ACEOF
15778 #define HAVE_STRUCT_LINK_MAP 1
15779 _ACEOF
15785 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15786 #include <linux/input.h>
15787 #endif
15789 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15791 cat >>confdefs.h <<_ACEOF
15792 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15793 _ACEOF
15799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15800 $as_echo_n "checking for sigaddset... " >&6; }
15801 if ${wine_cv_have_sigaddset+:} false; then :
15802 $as_echo_n "(cached) " >&6
15803 else
15804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15805 /* end confdefs.h. */
15806 #include <signal.h>
15808 main ()
15810 sigset_t set; sigaddset(&set,SIGTERM);
15812 return 0;
15814 _ACEOF
15815 if ac_fn_c_try_link "$LINENO"; then :
15816 wine_cv_have_sigaddset=yes
15817 else
15818 wine_cv_have_sigaddset=no
15820 rm -f core conftest.err conftest.$ac_objext \
15821 conftest$ac_exeext conftest.$ac_ext
15823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15824 $as_echo "$wine_cv_have_sigaddset" >&6; }
15825 if test "$wine_cv_have_sigaddset" = "yes"
15826 then
15828 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15834 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15835 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15836 $as_echo_n "(cached) " >&6
15837 else
15838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15839 /* end confdefs.h. */
15840 #include <netdb.h>
15842 main ()
15845 char *name=0;
15846 struct hostent he;
15847 struct hostent *result;
15848 char *buf=0;
15849 int bufsize=0;
15850 int errnr;
15851 char *addr=0;
15852 int addrlen=0;
15853 int addrtype=0;
15854 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15855 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15858 return 0;
15860 _ACEOF
15861 if ac_fn_c_try_link "$LINENO"; then :
15862 wine_cv_linux_gethostbyname_r_6=yes
15863 else
15864 wine_cv_linux_gethostbyname_r_6=no
15867 rm -f core conftest.err conftest.$ac_objext \
15868 conftest$ac_exeext conftest.$ac_ext
15871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15872 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15873 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15874 then
15876 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15880 if test "$ac_cv_header_linux_joystick_h" = "yes"
15881 then
15882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15883 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15884 if ${wine_cv_linux_joystick_22_api+:} false; then :
15885 $as_echo_n "(cached) " >&6
15886 else
15887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15888 /* end confdefs.h. */
15890 #include <sys/ioctl.h>
15891 #include <sys/types.h>
15892 #include <linux/joystick.h>
15894 struct js_event blub;
15895 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15896 #error "no 2.2 header"
15897 #endif
15900 main ()
15902 /*empty*/
15904 return 0;
15906 _ACEOF
15907 if ac_fn_c_try_compile "$LINENO"; then :
15908 wine_cv_linux_joystick_22_api=yes
15909 else
15910 wine_cv_linux_joystick_22_api=no
15912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15916 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15917 if test "$wine_cv_linux_joystick_22_api" = "yes"
15918 then
15920 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15926 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15927 #ifdef HAVE_SYS_PARAM_H
15928 # include <sys/param.h>
15929 #endif
15930 #ifdef HAVE_SYS_MOUNT_H
15931 # include <sys/mount.h>
15932 #endif
15933 #ifdef HAVE_SYS_VFS_H
15934 # include <sys/vfs.h>
15935 #endif
15936 #ifdef HAVE_SYS_STATFS_H
15937 # include <sys/statfs.h>
15938 #endif
15940 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15942 cat >>confdefs.h <<_ACEOF
15943 #define HAVE_STRUCT_STATFS_F_BFREE 1
15944 _ACEOF
15948 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15949 #ifdef HAVE_SYS_PARAM_H
15950 # include <sys/param.h>
15951 #endif
15952 #ifdef HAVE_SYS_MOUNT_H
15953 # include <sys/mount.h>
15954 #endif
15955 #ifdef HAVE_SYS_VFS_H
15956 # include <sys/vfs.h>
15957 #endif
15958 #ifdef HAVE_SYS_STATFS_H
15959 # include <sys/statfs.h>
15960 #endif
15962 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15964 cat >>confdefs.h <<_ACEOF
15965 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15966 _ACEOF
15970 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15971 #ifdef HAVE_SYS_PARAM_H
15972 # include <sys/param.h>
15973 #endif
15974 #ifdef HAVE_SYS_MOUNT_H
15975 # include <sys/mount.h>
15976 #endif
15977 #ifdef HAVE_SYS_VFS_H
15978 # include <sys/vfs.h>
15979 #endif
15980 #ifdef HAVE_SYS_STATFS_H
15981 # include <sys/statfs.h>
15982 #endif
15984 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15986 cat >>confdefs.h <<_ACEOF
15987 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15988 _ACEOF
15992 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15993 #ifdef HAVE_SYS_PARAM_H
15994 # include <sys/param.h>
15995 #endif
15996 #ifdef HAVE_SYS_MOUNT_H
15997 # include <sys/mount.h>
15998 #endif
15999 #ifdef HAVE_SYS_VFS_H
16000 # include <sys/vfs.h>
16001 #endif
16002 #ifdef HAVE_SYS_STATFS_H
16003 # include <sys/statfs.h>
16004 #endif
16006 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16008 cat >>confdefs.h <<_ACEOF
16009 #define HAVE_STRUCT_STATFS_F_FFREE 1
16010 _ACEOF
16014 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16015 #ifdef HAVE_SYS_PARAM_H
16016 # include <sys/param.h>
16017 #endif
16018 #ifdef HAVE_SYS_MOUNT_H
16019 # include <sys/mount.h>
16020 #endif
16021 #ifdef HAVE_SYS_VFS_H
16022 # include <sys/vfs.h>
16023 #endif
16024 #ifdef HAVE_SYS_STATFS_H
16025 # include <sys/statfs.h>
16026 #endif
16028 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16030 cat >>confdefs.h <<_ACEOF
16031 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16032 _ACEOF
16036 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16037 #ifdef HAVE_SYS_PARAM_H
16038 # include <sys/param.h>
16039 #endif
16040 #ifdef HAVE_SYS_MOUNT_H
16041 # include <sys/mount.h>
16042 #endif
16043 #ifdef HAVE_SYS_VFS_H
16044 # include <sys/vfs.h>
16045 #endif
16046 #ifdef HAVE_SYS_STATFS_H
16047 # include <sys/statfs.h>
16048 #endif
16050 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16052 cat >>confdefs.h <<_ACEOF
16053 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16054 _ACEOF
16060 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16061 #include <sys/statvfs.h>
16062 #endif
16064 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16066 cat >>confdefs.h <<_ACEOF
16067 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16068 _ACEOF
16074 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16075 #include <dirent.h>
16076 #endif
16078 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16080 cat >>confdefs.h <<_ACEOF
16081 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16082 _ACEOF
16088 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16089 #ifdef HAVE_SYS_SOCKET_H
16090 # include <sys/socket.h>
16091 #endif
16092 #ifdef HAVE_SYS_UN_H
16093 # include <sys/un.h>
16094 #endif
16096 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16098 cat >>confdefs.h <<_ACEOF
16099 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16100 _ACEOF
16104 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16105 #ifdef HAVE_SYS_SOCKET_H
16106 # include <sys/socket.h>
16107 #endif
16108 #ifdef HAVE_SYS_UN_H
16109 # include <sys/un.h>
16110 #endif
16112 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16114 cat >>confdefs.h <<_ACEOF
16115 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16116 _ACEOF
16120 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16121 #ifdef HAVE_SYS_SOCKET_H
16122 # include <sys/socket.h>
16123 #endif
16124 #ifdef HAVE_SYS_UN_H
16125 # include <sys/un.h>
16126 #endif
16128 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16130 cat >>confdefs.h <<_ACEOF
16131 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16132 _ACEOF
16138 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16139 #ifdef HAVE_SCSI_SG_H
16140 #include <scsi/sg.h>
16141 #endif
16143 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16145 cat >>confdefs.h <<_ACEOF
16146 #define HAVE_SCSIREQ_T_CMD 1
16147 _ACEOF
16151 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>
16152 #ifdef HAVE_SCSI_SG_H
16153 #include <scsi/sg.h>
16154 #endif
16156 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16158 cat >>confdefs.h <<_ACEOF
16159 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16160 _ACEOF
16166 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16168 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16170 cat >>confdefs.h <<_ACEOF
16171 #define HAVE_SIGINFO_T_SI_FD 1
16172 _ACEOF
16178 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16179 #ifdef HAVE_SYS_MTIO_H
16180 #include <sys/mtio.h>
16181 #endif
16183 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16185 cat >>confdefs.h <<_ACEOF
16186 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16187 _ACEOF
16191 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16192 #ifdef HAVE_SYS_MTIO_H
16193 #include <sys/mtio.h>
16194 #endif
16196 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16198 cat >>confdefs.h <<_ACEOF
16199 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16200 _ACEOF
16204 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16205 #ifdef HAVE_SYS_MTIO_H
16206 #include <sys/mtio.h>
16207 #endif
16209 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16211 cat >>confdefs.h <<_ACEOF
16212 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16213 _ACEOF
16219 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16220 #include <getopt.h>
16221 #endif
16223 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16225 cat >>confdefs.h <<_ACEOF
16226 #define HAVE_STRUCT_OPTION_NAME 1
16227 _ACEOF
16233 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16234 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16236 cat >>confdefs.h <<_ACEOF
16237 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16238 _ACEOF
16242 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16243 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16245 cat >>confdefs.h <<_ACEOF
16246 #define HAVE_STRUCT_STAT_ST_MTIM 1
16247 _ACEOF
16251 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16252 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16254 cat >>confdefs.h <<_ACEOF
16255 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16256 _ACEOF
16260 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16261 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16263 cat >>confdefs.h <<_ACEOF
16264 #define HAVE_STRUCT_STAT_ST_CTIM 1
16265 _ACEOF
16269 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16270 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16272 cat >>confdefs.h <<_ACEOF
16273 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16274 _ACEOF
16278 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16279 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16281 cat >>confdefs.h <<_ACEOF
16282 #define HAVE_STRUCT_STAT_ST_ATIM 1
16283 _ACEOF
16287 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16288 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16290 cat >>confdefs.h <<_ACEOF
16291 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16292 _ACEOF
16296 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16297 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16299 cat >>confdefs.h <<_ACEOF
16300 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16301 _ACEOF
16305 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16306 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16308 cat >>confdefs.h <<_ACEOF
16309 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16310 _ACEOF
16314 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16315 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16317 cat >>confdefs.h <<_ACEOF
16318 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16319 _ACEOF
16323 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16324 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16326 cat >>confdefs.h <<_ACEOF
16327 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16328 _ACEOF
16332 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16333 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16335 cat >>confdefs.h <<_ACEOF
16336 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16337 _ACEOF
16343 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
16344 #include <sys/types.h>
16345 #endif
16346 #ifdef HAVE_NETINET_IN_H
16347 #include <netinet/in.h>
16348 #endif
16350 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16352 cat >>confdefs.h <<_ACEOF
16353 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16354 _ACEOF
16360 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16361 #include <resolv.h>
16362 #endif
16364 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16366 cat >>confdefs.h <<_ACEOF
16367 #define HAVE_STRUCT___RES_STATE 1
16368 _ACEOF
16374 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
16375 #include <resolv.h>
16376 #endif
16378 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16380 cat >>confdefs.h <<_ACEOF
16381 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16382 _ACEOF
16388 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16389 #include <sys/types.h>
16390 #endif
16391 #ifdef HAVE_NETINET_IN_H
16392 # include <netinet/in.h>
16393 #endif
16394 #ifdef HAVE_ARPA_NAMESER_H
16395 # include <arpa/nameser.h>
16396 #endif
16398 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16400 cat >>confdefs.h <<_ACEOF
16401 #define HAVE_NS_MSG__MSG_PTR 1
16402 _ACEOF
16408 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16409 #include <sys/types.h>
16410 #endif
16411 #ifdef HAVE_NETINET_IP_H
16412 #include <netinet/ip.h>
16413 #endif
16414 #ifdef HAVE_NETINET_IP_ICMP_H
16415 #include <netinet/ip_icmp.h>
16416 #endif
16417 #ifdef HAVE_NETINET_ICMP_VAR_H
16418 #include <netinet/icmp_var.h>
16419 #endif
16421 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16423 cat >>confdefs.h <<_ACEOF
16424 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16425 _ACEOF
16431 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16432 #include <sys/types.h>
16433 #endif
16434 #ifdef HAVE_ALIAS_H
16435 #include <alias.h>
16436 #endif
16437 #ifdef HAVE_SYS_SOCKET_H
16438 #include <sys/socket.h>
16439 #endif
16440 #ifdef HAVE_SYS_SOCKETVAR_H
16441 #include <sys/socketvar.h>
16442 #endif
16443 #ifdef HAVE_SYS_TIMEOUT_H
16444 #include <sys/timeout.h>
16445 #endif
16446 #ifdef HAVE_NETINET_IN_H
16447 #include <netinet/in.h>
16448 #endif
16449 #ifdef HAVE_NETINET_IN_SYSTM_H
16450 #include <netinet/in_systm.h>
16451 #endif
16452 #ifdef HAVE_NETINET_IP_H
16453 #include <netinet/ip.h>
16454 #endif
16455 #ifdef HAVE_NETINET_IP_VAR_H
16456 #include <netinet/ip_var.h>
16457 #endif
16458 #ifdef HAVE_NETINET_IP_ICMP_H
16459 #include <netinet/ip_icmp.h>
16460 #endif
16461 #ifdef HAVE_NETINET_ICMP_VAR_H
16462 #include <netinet/icmp_var.h>
16463 #endif
16465 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16467 cat >>confdefs.h <<_ACEOF
16468 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16469 _ACEOF
16475 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#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_IP_VAR_H
16485 #include <netinet/ip_var.h>
16486 #endif
16488 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16490 cat >>confdefs.h <<_ACEOF
16491 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16492 _ACEOF
16498 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
16499 #include <netinet/ip_var.h>
16500 #endif
16502 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16504 cat >>confdefs.h <<_ACEOF
16505 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16506 _ACEOF
16512 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16513 #include <sys/types.h>
16514 #endif
16515 #ifdef HAVE_SYS_SOCKETVAR_H
16516 #include <sys/socketvar.h>
16517 #endif
16518 #ifdef HAVE_NETINET_IN_H
16519 #include <netinet/in.h>
16520 #endif
16521 #ifdef HAVE_NETINET_TCP_H
16522 #include <netinet/tcp.h>
16523 #endif
16524 #ifdef HAVE_NETINET_TCP_VAR_H
16525 #include <netinet/tcp_var.h>
16526 #endif
16528 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16530 cat >>confdefs.h <<_ACEOF
16531 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16532 _ACEOF
16538 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
16539 #include <netinet/tcp_var.h>
16540 #endif
16542 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16544 cat >>confdefs.h <<_ACEOF
16545 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16546 _ACEOF
16552 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16553 #include <sys/types.h>
16554 #endif
16555 #ifdef HAVE_NETINET_IN_H
16556 #include <netinet/in.h>
16557 #endif
16558 #ifdef HAVE_NETINET_IP_VAR_H
16559 #include <netinet/ip_var.h>
16560 #endif
16561 #ifdef HAVE_NETINET_UDP_H
16562 #include <netinet/udp.h>
16563 #endif
16564 #ifdef HAVE_NETINET_UDP_VAR_H
16565 #include <netinet/udp_var.h>
16566 #endif
16568 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16570 cat >>confdefs.h <<_ACEOF
16571 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16572 _ACEOF
16578 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16579 #include <sys/types.h>
16580 #endif
16581 #ifdef HAVE_NET_IF_H
16582 # include <net/if.h>
16583 #endif
16585 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16587 cat >>confdefs.h <<_ACEOF
16588 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16589 _ACEOF
16595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16596 $as_echo_n "checking for timezone variable... " >&6; }
16597 if ${ac_cv_have_timezone+:} false; then :
16598 $as_echo_n "(cached) " >&6
16599 else
16600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16601 /* end confdefs.h. */
16602 #include <time.h>
16604 main ()
16606 timezone = 1
16608 return 0;
16610 _ACEOF
16611 if ac_fn_c_try_link "$LINENO"; then :
16612 ac_cv_have_timezone="yes"
16613 else
16614 ac_cv_have_timezone="no"
16616 rm -f core conftest.err conftest.$ac_objext \
16617 conftest$ac_exeext conftest.$ac_ext
16619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16620 $as_echo "$ac_cv_have_timezone" >&6; }
16621 if test "$ac_cv_have_timezone" = "yes"
16622 then
16624 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16628 $as_echo_n "checking for daylight variable... " >&6; }
16629 if ${ac_cv_have_daylight+:} false; then :
16630 $as_echo_n "(cached) " >&6
16631 else
16632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16633 /* end confdefs.h. */
16634 #include <time.h>
16636 main ()
16638 daylight = 1
16640 return 0;
16642 _ACEOF
16643 if ac_fn_c_try_link "$LINENO"; then :
16644 ac_cv_have_daylight="yes"
16645 else
16646 ac_cv_have_daylight="no"
16648 rm -f core conftest.err conftest.$ac_objext \
16649 conftest$ac_exeext conftest.$ac_ext
16651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16652 $as_echo "$ac_cv_have_daylight" >&6; }
16653 if test "$ac_cv_have_daylight" = "yes"
16654 then
16656 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16660 ac_save_LIBS="$LIBS"
16661 LIBS="$LIBS -lm"
16662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16663 $as_echo_n "checking for isfinite... " >&6; }
16664 if ${ac_cv_have_isfinite+:} false; then :
16665 $as_echo_n "(cached) " >&6
16666 else
16667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16668 /* end confdefs.h. */
16669 #define _GNU_SOURCE
16670 #include <math.h>
16672 main ()
16674 float f = 0.0; return isfinite(f)
16676 return 0;
16678 _ACEOF
16679 if ac_fn_c_try_link "$LINENO"; then :
16680 ac_cv_have_isfinite="yes"
16681 else
16682 ac_cv_have_isfinite="no"
16684 rm -f core conftest.err conftest.$ac_objext \
16685 conftest$ac_exeext conftest.$ac_ext
16687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16688 $as_echo "$ac_cv_have_isfinite" >&6; }
16689 if test "$ac_cv_have_isfinite" = "yes"
16690 then
16692 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16697 $as_echo_n "checking for isinf... " >&6; }
16698 if ${ac_cv_have_isinf+:} false; then :
16699 $as_echo_n "(cached) " >&6
16700 else
16701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16702 /* end confdefs.h. */
16703 #include <math.h>
16705 main ()
16707 float f = 0.0; return isinf(f)
16709 return 0;
16711 _ACEOF
16712 if ac_fn_c_try_link "$LINENO"; then :
16713 ac_cv_have_isinf="yes"
16714 else
16715 ac_cv_have_isinf="no"
16717 rm -f core conftest.err conftest.$ac_objext \
16718 conftest$ac_exeext conftest.$ac_ext
16720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16721 $as_echo "$ac_cv_have_isinf" >&6; }
16722 if test "$ac_cv_have_isinf" = "yes"
16723 then
16725 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16730 $as_echo_n "checking for isnan... " >&6; }
16731 if ${ac_cv_have_isnan+:} false; then :
16732 $as_echo_n "(cached) " >&6
16733 else
16734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16735 /* end confdefs.h. */
16736 #include <math.h>
16738 main ()
16740 float f = 0.0; return isnan(f)
16742 return 0;
16744 _ACEOF
16745 if ac_fn_c_try_link "$LINENO"; then :
16746 ac_cv_have_isnan="yes"
16747 else
16748 ac_cv_have_isnan="no"
16750 rm -f core conftest.err conftest.$ac_objext \
16751 conftest$ac_exeext conftest.$ac_ext
16753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16754 $as_echo "$ac_cv_have_isnan" >&6; }
16755 if test "$ac_cv_have_isnan" = "yes"
16756 then
16758 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16762 for ac_func in \
16763 cbrt \
16764 cbrtf \
16765 erf \
16766 erff \
16767 exp2 \
16768 exp2f \
16769 llrint \
16770 llrintf \
16771 llround \
16772 llroundf \
16773 log2 \
16774 log2f \
16775 lrint \
16776 lrintf \
16777 lround \
16778 lroundf \
16779 rint \
16780 rintf \
16781 round \
16782 roundf \
16783 trunc \
16784 truncf
16786 do :
16787 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16788 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16789 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16790 cat >>confdefs.h <<_ACEOF
16791 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16792 _ACEOF
16795 done
16797 LIBS="$ac_save_LIBS"
16799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16800 $as_echo_n "checking for __builtin_clz... " >&6; }
16801 if ${ac_cv_have___builtin_clz+:} false; then :
16802 $as_echo_n "(cached) " >&6
16803 else
16804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16805 /* end confdefs.h. */
16808 main ()
16810 return __builtin_clz(1)
16812 return 0;
16814 _ACEOF
16815 if ac_fn_c_try_link "$LINENO"; then :
16816 ac_cv_have___builtin_clz="yes"
16817 else
16818 ac_cv_have___builtin_clz="no"
16820 rm -f core conftest.err conftest.$ac_objext \
16821 conftest$ac_exeext conftest.$ac_ext
16823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16824 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16825 if test "$ac_cv_have___builtin_clz" = "yes"
16826 then
16828 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16833 case $host_cpu in
16834 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16835 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16836 if ${ac_cv_cpp_def___i386__+:} false; then :
16837 $as_echo_n "(cached) " >&6
16838 else
16839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16840 /* end confdefs.h. */
16841 #ifndef __i386__
16843 #endif
16844 _ACEOF
16845 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16846 $EGREP "yes" >/dev/null 2>&1; then :
16847 ac_cv_cpp_def___i386__=yes
16848 else
16849 ac_cv_cpp_def___i386__=no
16851 rm -f conftest*
16854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16855 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16856 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16857 CFLAGS="$CFLAGS -D__i386__"
16858 LINTFLAGS="$LINTFLAGS -D__i386__"
16859 fi ;;
16860 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16861 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16862 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16863 $as_echo_n "(cached) " >&6
16864 else
16865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16866 /* end confdefs.h. */
16867 #ifndef __x86_64__
16869 #endif
16870 _ACEOF
16871 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16872 $EGREP "yes" >/dev/null 2>&1; then :
16873 ac_cv_cpp_def___x86_64__=yes
16874 else
16875 ac_cv_cpp_def___x86_64__=no
16877 rm -f conftest*
16880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16881 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16882 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16883 CFLAGS="$CFLAGS -D__x86_64__"
16884 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16885 fi ;;
16886 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16887 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16888 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16889 $as_echo_n "(cached) " >&6
16890 else
16891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16892 /* end confdefs.h. */
16893 #ifndef __sparc64__
16895 #endif
16896 _ACEOF
16897 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16898 $EGREP "yes" >/dev/null 2>&1; then :
16899 ac_cv_cpp_def___sparc64__=yes
16900 else
16901 ac_cv_cpp_def___sparc64__=no
16903 rm -f conftest*
16906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16907 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16908 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16909 CFLAGS="$CFLAGS -D__sparc64__"
16910 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16911 fi ;;
16912 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16913 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16914 if ${ac_cv_cpp_def___sparc__+:} false; then :
16915 $as_echo_n "(cached) " >&6
16916 else
16917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16918 /* end confdefs.h. */
16919 #ifndef __sparc__
16921 #endif
16922 _ACEOF
16923 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16924 $EGREP "yes" >/dev/null 2>&1; then :
16925 ac_cv_cpp_def___sparc__=yes
16926 else
16927 ac_cv_cpp_def___sparc__=no
16929 rm -f conftest*
16932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16933 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16934 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16935 CFLAGS="$CFLAGS -D__sparc__"
16936 LINTFLAGS="$LINTFLAGS -D__sparc__"
16937 fi ;;
16938 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16939 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16940 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16941 $as_echo_n "(cached) " >&6
16942 else
16943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16944 /* end confdefs.h. */
16945 #ifndef __powerpc64__
16947 #endif
16948 _ACEOF
16949 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16950 $EGREP "yes" >/dev/null 2>&1; then :
16951 ac_cv_cpp_def___powerpc64__=yes
16952 else
16953 ac_cv_cpp_def___powerpc64__=no
16955 rm -f conftest*
16958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16959 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16960 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16961 CFLAGS="$CFLAGS -D__powerpc64__"
16962 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16963 fi ;;
16964 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16965 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16966 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16967 $as_echo_n "(cached) " >&6
16968 else
16969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16970 /* end confdefs.h. */
16971 #ifndef __powerpc__
16973 #endif
16974 _ACEOF
16975 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16976 $EGREP "yes" >/dev/null 2>&1; then :
16977 ac_cv_cpp_def___powerpc__=yes
16978 else
16979 ac_cv_cpp_def___powerpc__=no
16981 rm -f conftest*
16984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16985 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16986 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16987 CFLAGS="$CFLAGS -D__powerpc__"
16988 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16989 fi ;;
16990 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16991 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16992 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16993 $as_echo_n "(cached) " >&6
16994 else
16995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16996 /* end confdefs.h. */
16997 #ifndef __aarch64__
16999 #endif
17000 _ACEOF
17001 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17002 $EGREP "yes" >/dev/null 2>&1; then :
17003 ac_cv_cpp_def___aarch64__=yes
17004 else
17005 ac_cv_cpp_def___aarch64__=no
17007 rm -f conftest*
17010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17011 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17012 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17013 CFLAGS="$CFLAGS -D__aarch64__"
17014 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17015 fi ;;
17016 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17017 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17018 if ${ac_cv_cpp_def___arm__+:} false; then :
17019 $as_echo_n "(cached) " >&6
17020 else
17021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17022 /* end confdefs.h. */
17023 #ifndef __arm__
17025 #endif
17026 _ACEOF
17027 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17028 $EGREP "yes" >/dev/null 2>&1; then :
17029 ac_cv_cpp_def___arm__=yes
17030 else
17031 ac_cv_cpp_def___arm__=no
17033 rm -f conftest*
17036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17037 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17038 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17039 CFLAGS="$CFLAGS -D__arm__"
17040 LINTFLAGS="$LINTFLAGS -D__arm__"
17041 fi ;;
17042 esac
17044 case $host_vendor in
17045 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17046 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17047 if ${ac_cv_cpp_def___sun__+:} false; then :
17048 $as_echo_n "(cached) " >&6
17049 else
17050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17051 /* end confdefs.h. */
17052 #ifndef __sun__
17054 #endif
17055 _ACEOF
17056 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17057 $EGREP "yes" >/dev/null 2>&1; then :
17058 ac_cv_cpp_def___sun__=yes
17059 else
17060 ac_cv_cpp_def___sun__=no
17062 rm -f conftest*
17065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17066 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17067 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17068 CFLAGS="$CFLAGS -D__sun__"
17069 LINTFLAGS="$LINTFLAGS -D__sun__"
17070 fi ;;
17071 esac
17077 ac_config_commands="$ac_config_commands include/stamp-h"
17079 $as_echo_n "creating Makefile rules..." >&6
17081 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17082 SOCKET_LIBS = $SOCKET_LIBS
17083 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17084 IOKIT_LIBS = $IOKIT_LIBS
17085 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17086 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17087 CORESERVICES_LIBS = $CORESERVICES_LIBS
17088 APPKIT_LIBS = $APPKIT_LIBS
17089 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17090 SECURITY_LIBS = $SECURITY_LIBS
17091 COREAUDIO_LIBS = $COREAUDIO_LIBS
17092 OPENAL_LIBS = $OPENAL_LIBS
17093 OPENCL_LIBS = $OPENCL_LIBS
17094 QUICKTIME_LIBS = $QUICKTIME_LIBS
17095 CARBON_LIBS = $CARBON_LIBS
17096 PTHREAD_LIBS = $PTHREAD_LIBS
17097 X_CFLAGS = $X_CFLAGS
17098 X_PRE_LIBS = $X_PRE_LIBS
17099 X_LIBS = $X_LIBS
17100 X_EXTRA_LIBS = $X_EXTRA_LIBS
17101 XML2_CFLAGS = $XML2_CFLAGS
17102 XML2_LIBS = $XML2_LIBS
17103 XSLT_CFLAGS = $XSLT_CFLAGS
17104 XSLT_LIBS = $XSLT_LIBS
17105 DBUS_CFLAGS = $DBUS_CFLAGS
17106 DBUS_LIBS = $DBUS_LIBS
17107 HAL_CFLAGS = $HAL_CFLAGS
17108 HAL_LIBS = $HAL_LIBS
17109 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17110 GNUTLS_LIBS = $GNUTLS_LIBS
17111 SANE_CFLAGS = $SANE_CFLAGS
17112 SANE_LIBS = $SANE_LIBS
17113 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17114 GPHOTO2_LIBS = $GPHOTO2_LIBS
17115 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17116 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17117 RESOLV_LIBS = $RESOLV_LIBS
17118 LCMS2_CFLAGS = $LCMS2_CFLAGS
17119 LCMS2_LIBS = $LCMS2_LIBS
17120 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17121 FREETYPE_LIBS = $FREETYPE_LIBS
17122 Z_LIBS = $Z_LIBS
17123 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17124 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17125 GSTREAMER_LIBS = $GSTREAMER_LIBS
17126 ALSA_LIBS = $ALSA_LIBS
17127 OSS4_CFLAGS = $OSS4_CFLAGS
17128 CAPI20_CFLAGS = $CAPI20_CFLAGS
17129 CAPI20_LIBS = $CAPI20_LIBS
17130 CUPS_CFLAGS = $CUPS_CFLAGS
17131 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17132 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17133 JPEG_CFLAGS = $JPEG_CFLAGS
17134 JPEG_LIBS = $JPEG_LIBS
17135 PNG_CFLAGS = $PNG_CFLAGS
17136 PNG_LIBS = $PNG_LIBS
17137 TIFF_CFLAGS = $TIFF_CFLAGS
17138 TIFF_LIBS = $TIFF_LIBS
17139 MPG123_CFLAGS = $MPG123_CFLAGS
17140 MPG123_LIBS = $MPG123_LIBS
17141 KSTAT_LIBS = $KSTAT_LIBS
17142 PROCSTAT_LIBS = $PROCSTAT_LIBS
17143 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17144 DL_LIBS = $DL_LIBS
17145 POLL_LIBS = $POLL_LIBS
17146 RT_LIBS = $RT_LIBS
17147 LDAP_LIBS = $LDAP_LIBS
17152 wine_fn_append_rule "
17153 # Rules automatically generated by configure
17155 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17157 .INIT: Makefile
17158 .MAKEFILEDEPS:
17159 all: Makefile
17160 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
17161 @./config.status Make.tmp Makefile"
17163 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
17164 .gitignore: config.status
17165 @./config.status .gitignore"
17167 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17168 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17170 if test "x$enable_fonts" != xno; then
17171 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17172 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17173 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17174 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17175 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17176 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17178 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17179 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17180 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
17181 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
17182 ac_config_links="$ac_config_links wine:tools/winewrapper"
17183 wine_fn_config_symlink wine
17184 if test "x$enable_win64" != xno; then
17185 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17186 wine_fn_config_symlink wine64
17189 wine_fn_config_dll acledit enable_acledit
17190 wine_fn_config_dll aclui enable_aclui implib
17191 wine_fn_config_dll activeds enable_activeds implib
17192 wine_fn_config_dll actxprxy enable_actxprxy clean
17193 wine_fn_config_lib adsiid
17194 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17195 wine_fn_config_test dlls/advapi32/tests advapi32_test
17196 wine_fn_config_dll advpack enable_advpack implib
17197 wine_fn_config_test dlls/advpack/tests advpack_test
17198 wine_fn_config_dll amstream enable_amstream clean
17199 wine_fn_config_test dlls/amstream/tests amstream_test
17200 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17201 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17202 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17203 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17204 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17205 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17206 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17207 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17208 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17209 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17210 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17211 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17212 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17213 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17214 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17215 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17216 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17217 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17218 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17219 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17220 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17221 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17222 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17223 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17224 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17225 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17226 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17227 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17228 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17229 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17230 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17231 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17232 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17233 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17234 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17235 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17236 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17237 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17238 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17239 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17240 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17241 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17242 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17243 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17244 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17245 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17246 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17247 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17248 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17249 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17250 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17251 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17252 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17253 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17254 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17255 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17256 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17257 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17258 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17259 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17260 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17261 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17262 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17263 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17264 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17265 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17266 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17267 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17268 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17269 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17270 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17271 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17272 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17273 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17274 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17275 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17276 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17277 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17278 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17279 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17280 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17281 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17282 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17283 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17284 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17285 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17286 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17287 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17288 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17289 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17290 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17291 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17292 wine_fn_config_dll apphelp enable_apphelp
17293 wine_fn_config_test dlls/apphelp/tests apphelp_test
17294 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17295 wine_fn_config_dll atl enable_atl clean,implib
17296 wine_fn_config_test dlls/atl/tests atl_test
17297 wine_fn_config_dll atl100 enable_atl100 clean,implib
17298 wine_fn_config_test dlls/atl100/tests atl100_test
17299 wine_fn_config_dll atl110 enable_atl110 clean
17300 wine_fn_config_dll atl80 enable_atl80 clean,implib
17301 wine_fn_config_test dlls/atl80/tests atl80_test
17302 wine_fn_config_dll atl90 enable_atl90 clean
17303 wine_fn_config_dll authz enable_authz
17304 wine_fn_config_dll avicap32 enable_avicap32 implib
17305 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
17306 wine_fn_config_test dlls/avifil32/tests avifil32_test
17307 wine_fn_config_dll avifile.dll16 enable_win16
17308 wine_fn_config_dll avrt enable_avrt implib
17309 wine_fn_config_dll bcrypt enable_bcrypt
17310 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17311 wine_fn_config_dll browseui enable_browseui clean,po
17312 wine_fn_config_test dlls/browseui/tests browseui_test
17313 wine_fn_config_dll cabinet enable_cabinet implib
17314 wine_fn_config_test dlls/cabinet/tests cabinet_test
17315 wine_fn_config_dll capi2032 enable_capi2032 implib
17316 wine_fn_config_dll cards enable_cards implib
17317 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17318 wine_fn_config_dll clusapi enable_clusapi implib
17319 wine_fn_config_dll combase enable_combase
17320 wine_fn_config_test dlls/combase/tests combase_test
17321 wine_fn_config_dll comcat enable_comcat
17322 wine_fn_config_test dlls/comcat/tests comcat_test
17323 wine_fn_config_dll comctl32 enable_comctl32 implib,po
17324 wine_fn_config_test dlls/comctl32/tests comctl32_test
17325 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
17326 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17327 wine_fn_config_dll comm.drv16 enable_win16
17328 wine_fn_config_dll commdlg.dll16 enable_win16
17329 wine_fn_config_dll compobj.dll16 enable_win16
17330 wine_fn_config_dll compstui enable_compstui implib
17331 wine_fn_config_dll comsvcs enable_comsvcs implib
17332 wine_fn_config_dll connect enable_connect
17333 wine_fn_config_dll credui enable_credui implib,po
17334 wine_fn_config_test dlls/credui/tests credui_test
17335 wine_fn_config_dll crtdll enable_crtdll implib
17336 wine_fn_config_dll crypt32 enable_crypt32 implib,po
17337 wine_fn_config_test dlls/crypt32/tests crypt32_test
17338 wine_fn_config_dll cryptdlg enable_cryptdlg po
17339 wine_fn_config_dll cryptdll enable_cryptdll implib
17340 wine_fn_config_dll cryptext enable_cryptext
17341 wine_fn_config_dll cryptnet enable_cryptnet implib
17342 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17343 wine_fn_config_dll cryptui enable_cryptui implib,po
17344 wine_fn_config_test dlls/cryptui/tests cryptui_test
17345 wine_fn_config_dll ctapi32 enable_ctapi32
17346 wine_fn_config_dll ctl3d.dll16 enable_win16
17347 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17348 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17349 wine_fn_config_dll d2d1 enable_d2d1 implib
17350 wine_fn_config_test dlls/d2d1/tests d2d1_test
17351 wine_fn_config_dll d3d10 enable_d3d10 implib
17352 wine_fn_config_test dlls/d3d10/tests d3d10_test
17353 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17354 wine_fn_config_dll d3d10core enable_d3d10core implib
17355 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17356 wine_fn_config_dll d3d11 enable_d3d11 implib
17357 wine_fn_config_test dlls/d3d11/tests d3d11_test
17358 wine_fn_config_dll d3d8 enable_d3d8 implib
17359 wine_fn_config_test dlls/d3d8/tests d3d8_test
17360 wine_fn_config_dll d3d9 enable_d3d9 implib
17361 wine_fn_config_test dlls/d3d9/tests d3d9_test
17362 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17363 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17364 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17365 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17366 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17367 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17368 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17369 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17370 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17371 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17372 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17373 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17374 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17375 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17376 wine_fn_config_dll d3dim enable_d3dim implib
17377 wine_fn_config_dll d3drm enable_d3drm implib
17378 wine_fn_config_test dlls/d3drm/tests d3drm_test
17379 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17380 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17381 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17382 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17383 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17384 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17385 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17386 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17387 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17388 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17389 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17390 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17391 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17392 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17393 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17394 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17395 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17396 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17397 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17398 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17399 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17400 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17401 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17402 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17403 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17404 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17405 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17406 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17407 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17408 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17409 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17410 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17411 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17412 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17413 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17414 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17415 wine_fn_config_dll davclnt enable_davclnt
17416 wine_fn_config_dll dbgeng enable_dbgeng implib
17417 wine_fn_config_dll dbghelp enable_dbghelp implib
17418 wine_fn_config_dll dciman32 enable_dciman32 implib
17419 wine_fn_config_dll ddeml.dll16 enable_win16
17420 wine_fn_config_dll ddraw enable_ddraw clean,implib
17421 wine_fn_config_test dlls/ddraw/tests ddraw_test
17422 wine_fn_config_dll ddrawex enable_ddrawex clean
17423 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17424 wine_fn_config_dll devenum enable_devenum clean,po
17425 wine_fn_config_test dlls/devenum/tests devenum_test
17426 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17427 wine_fn_config_dll difxapi enable_difxapi
17428 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
17429 wine_fn_config_test dlls/dinput/tests dinput_test
17430 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17431 wine_fn_config_test dlls/dinput8/tests dinput8_test
17432 wine_fn_config_dll dispdib.dll16 enable_win16
17433 wine_fn_config_dll dispex enable_dispex clean
17434 wine_fn_config_test dlls/dispex/tests dispex_test
17435 wine_fn_config_dll display.drv16 enable_win16
17436 wine_fn_config_dll dmband enable_dmband clean
17437 wine_fn_config_test dlls/dmband/tests dmband_test
17438 wine_fn_config_dll dmcompos enable_dmcompos clean
17439 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17440 wine_fn_config_dll dmime enable_dmime clean
17441 wine_fn_config_test dlls/dmime/tests dmime_test
17442 wine_fn_config_dll dmloader enable_dmloader clean
17443 wine_fn_config_test dlls/dmloader/tests dmloader_test
17444 wine_fn_config_dll dmscript enable_dmscript clean
17445 wine_fn_config_test dlls/dmscript/tests dmscript_test
17446 wine_fn_config_dll dmstyle enable_dmstyle clean
17447 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17448 wine_fn_config_dll dmsynth enable_dmsynth clean
17449 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17450 wine_fn_config_dll dmusic enable_dmusic clean
17451 wine_fn_config_test dlls/dmusic/tests dmusic_test
17452 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17453 wine_fn_config_dll dnsapi enable_dnsapi implib
17454 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17455 wine_fn_config_dll dplay enable_dplay implib
17456 wine_fn_config_dll dplayx enable_dplayx clean,implib
17457 wine_fn_config_test dlls/dplayx/tests dplayx_test
17458 wine_fn_config_dll dpnaddr enable_dpnaddr
17459 wine_fn_config_dll dpnet enable_dpnet clean,implib
17460 wine_fn_config_test dlls/dpnet/tests dpnet_test
17461 wine_fn_config_dll dpnhpast enable_dpnhpast
17462 wine_fn_config_dll dpnlobby enable_dpnlobby
17463 wine_fn_config_dll dpvoice enable_dpvoice clean
17464 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17465 wine_fn_config_dll dpwsockx enable_dpwsockx
17466 wine_fn_config_dll drmclien enable_drmclien
17467 wine_fn_config_dll dsound enable_dsound clean,implib
17468 wine_fn_config_test dlls/dsound/tests dsound_test
17469 wine_fn_config_dll dssenh enable_dssenh
17470 wine_fn_config_test dlls/dssenh/tests dssenh_test
17471 wine_fn_config_dll dswave enable_dswave clean
17472 wine_fn_config_test dlls/dswave/tests dswave_test
17473 wine_fn_config_dll dwmapi enable_dwmapi implib
17474 wine_fn_config_dll dwrite enable_dwrite implib
17475 wine_fn_config_test dlls/dwrite/tests dwrite_test
17476 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17477 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17478 wine_fn_config_lib dxerr8
17479 wine_fn_config_lib dxerr9
17480 wine_fn_config_dll dxgi enable_dxgi implib
17481 wine_fn_config_test dlls/dxgi/tests dxgi_test
17482 wine_fn_config_lib dxguid
17483 wine_fn_config_dll dxva2 enable_dxva2
17484 wine_fn_config_dll esent enable_esent
17485 wine_fn_config_dll evr enable_evr
17486 wine_fn_config_dll explorerframe enable_explorerframe clean
17487 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17488 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17489 wine_fn_config_dll faultrep enable_faultrep implib
17490 wine_fn_config_test dlls/faultrep/tests faultrep_test
17491 wine_fn_config_dll fltlib enable_fltlib
17492 wine_fn_config_dll fntcache enable_fntcache
17493 wine_fn_config_dll fontsub enable_fontsub
17494 wine_fn_config_dll fusion enable_fusion
17495 wine_fn_config_test dlls/fusion/tests fusion_test
17496 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17497 wine_fn_config_dll gameux enable_gameux clean
17498 wine_fn_config_test dlls/gameux/tests gameux_test
17499 wine_fn_config_dll gdi.exe16 enable_win16
17500 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17501 wine_fn_config_test dlls/gdi32/tests gdi32_test
17502 wine_fn_config_dll gdiplus enable_gdiplus implib
17503 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17504 wine_fn_config_dll glu32 enable_glu32 implib
17505 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17506 wine_fn_config_dll gpkcsp enable_gpkcsp
17507 wine_fn_config_dll hal enable_hal
17508 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17509 wine_fn_config_dll hid enable_hid implib
17510 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17511 wine_fn_config_dll hlink enable_hlink clean,implib
17512 wine_fn_config_test dlls/hlink/tests hlink_test
17513 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17514 wine_fn_config_dll httpapi enable_httpapi
17515 wine_fn_config_dll iccvid enable_iccvid po
17516 wine_fn_config_dll icmp enable_icmp
17517 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17518 wine_fn_config_test dlls/ieframe/tests ieframe_test
17519 wine_fn_config_dll ifsmgr.vxd enable_win16
17520 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17521 wine_fn_config_dll imagehlp enable_imagehlp implib
17522 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17523 wine_fn_config_dll imm.dll16 enable_win16
17524 wine_fn_config_dll imm32 enable_imm32 implib
17525 wine_fn_config_test dlls/imm32/tests imm32_test
17526 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17527 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17528 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17529 wine_fn_config_dll inetmib1 enable_inetmib1
17530 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17531 wine_fn_config_dll infosoft enable_infosoft clean
17532 wine_fn_config_test dlls/infosoft/tests infosoft_test
17533 wine_fn_config_dll initpki enable_initpki
17534 wine_fn_config_dll inkobj enable_inkobj
17535 wine_fn_config_dll inseng enable_inseng clean
17536 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17537 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17538 wine_fn_config_dll itircl enable_itircl
17539 wine_fn_config_dll itss enable_itss clean
17540 wine_fn_config_test dlls/itss/tests itss_test
17541 wine_fn_config_dll joy.cpl enable_joy_cpl po
17542 wine_fn_config_dll jscript enable_jscript clean,po
17543 wine_fn_config_test dlls/jscript/tests jscript_test
17544 wine_fn_config_dll jsproxy enable_jsproxy implib
17545 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17546 wine_fn_config_test dlls/kernel32/tests kernel32_test
17547 wine_fn_config_dll keyboard.drv16 enable_win16
17548 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17549 wine_fn_config_dll ksuser enable_ksuser
17550 wine_fn_config_dll ktmw32 enable_ktmw32
17551 wine_fn_config_dll loadperf enable_loadperf implib
17552 wine_fn_config_dll localspl enable_localspl po
17553 wine_fn_config_test dlls/localspl/tests localspl_test
17554 wine_fn_config_dll localui enable_localui po
17555 wine_fn_config_test dlls/localui/tests localui_test
17556 wine_fn_config_dll lz32 enable_lz32 implib
17557 wine_fn_config_test dlls/lz32/tests lz32_test
17558 wine_fn_config_dll lzexpand.dll16 enable_win16
17559 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17560 wine_fn_config_test dlls/mapi32/tests mapi32_test
17561 wine_fn_config_dll mapistub enable_mapistub
17562 wine_fn_config_dll mciavi32 enable_mciavi32
17563 wine_fn_config_dll mcicda enable_mcicda
17564 wine_fn_config_dll mciqtz32 enable_mciqtz32
17565 wine_fn_config_dll mciseq enable_mciseq
17566 wine_fn_config_dll mciwave enable_mciwave
17567 wine_fn_config_dll mf enable_mf
17568 wine_fn_config_dll mfplat enable_mfplat
17569 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17570 wine_fn_config_dll mgmtapi enable_mgmtapi
17571 wine_fn_config_dll midimap enable_midimap
17572 wine_fn_config_dll mlang enable_mlang clean,implib
17573 wine_fn_config_test dlls/mlang/tests mlang_test
17574 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17575 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17576 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17577 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17578 wine_fn_config_dll mmdevldr.vxd enable_win16
17579 wine_fn_config_dll mmsystem.dll16 enable_win16
17580 wine_fn_config_dll monodebg.vxd enable_win16
17581 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17582 wine_fn_config_dll mouse.drv16 enable_win16
17583 wine_fn_config_dll mpr enable_mpr implib,po
17584 wine_fn_config_test dlls/mpr/tests mpr_test
17585 wine_fn_config_dll mprapi enable_mprapi implib
17586 wine_fn_config_dll msacm.dll16 enable_win16
17587 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17588 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17589 wine_fn_config_test dlls/msacm32/tests msacm32_test
17590 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17591 wine_fn_config_dll msasn1 enable_msasn1 implib
17592 wine_fn_config_dll mscat32 enable_mscat32
17593 wine_fn_config_dll mscms enable_mscms implib
17594 wine_fn_config_test dlls/mscms/tests mscms_test
17595 wine_fn_config_dll mscoree enable_mscoree clean
17596 wine_fn_config_test dlls/mscoree/tests mscoree_test
17597 wine_fn_config_dll msctf enable_msctf clean
17598 wine_fn_config_test dlls/msctf/tests msctf_test
17599 wine_fn_config_dll msctfp enable_msctfp clean
17600 wine_fn_config_dll msdaps enable_msdaps clean
17601 wine_fn_config_dll msdelta enable_msdelta
17602 wine_fn_config_dll msdmo enable_msdmo implib
17603 wine_fn_config_test dlls/msdmo/tests msdmo_test
17604 wine_fn_config_dll msftedit enable_msftedit
17605 wine_fn_config_dll msg711.acm enable_msg711_acm
17606 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17607 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17608 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17609 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17610 wine_fn_config_dll msi enable_msi clean,implib,po
17611 wine_fn_config_test dlls/msi/tests msi_test
17612 wine_fn_config_dll msident enable_msident clean
17613 wine_fn_config_dll msimg32 enable_msimg32 implib
17614 wine_fn_config_dll msimsg enable_msimsg
17615 wine_fn_config_dll msimtf enable_msimtf clean
17616 wine_fn_config_dll msisip enable_msisip
17617 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17618 wine_fn_config_dll msls31 enable_msls31
17619 wine_fn_config_dll msnet32 enable_msnet32
17620 wine_fn_config_dll mspatcha enable_mspatcha implib
17621 wine_fn_config_dll msrle32 enable_msrle32 po
17622 wine_fn_config_test dlls/msrle32/tests msrle32_test
17623 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17624 wine_fn_config_dll mssign32 enable_mssign32
17625 wine_fn_config_dll mssip32 enable_mssip32
17626 wine_fn_config_dll mstask enable_mstask clean
17627 wine_fn_config_test dlls/mstask/tests mstask_test
17628 wine_fn_config_dll msvcirt enable_msvcirt
17629 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17630 wine_fn_config_dll msvcm80 enable_msvcm80
17631 wine_fn_config_dll msvcm90 enable_msvcm90
17632 wine_fn_config_dll msvcp100 enable_msvcp100
17633 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17634 wine_fn_config_dll msvcp110 enable_msvcp110
17635 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
17636 wine_fn_config_dll msvcp120 enable_msvcp120
17637 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17638 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17639 wine_fn_config_dll msvcp60 enable_msvcp60
17640 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17641 wine_fn_config_dll msvcp70 enable_msvcp70
17642 wine_fn_config_dll msvcp71 enable_msvcp71
17643 wine_fn_config_dll msvcp80 enable_msvcp80
17644 wine_fn_config_dll msvcp90 enable_msvcp90
17645 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17646 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17647 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17648 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17649 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17650 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17651 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17652 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17653 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17654 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17655 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17656 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17657 wine_fn_config_dll msvcrt enable_msvcrt implib
17658 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17659 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17660 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17661 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17662 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17663 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17664 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17665 wine_fn_config_dll msvidc32 enable_msvidc32 po
17666 wine_fn_config_dll msvideo.dll16 enable_win16
17667 wine_fn_config_dll mswsock enable_mswsock implib
17668 wine_fn_config_dll msxml enable_msxml clean
17669 wine_fn_config_dll msxml2 enable_msxml2 clean
17670 wine_fn_config_dll msxml3 enable_msxml3 clean
17671 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17672 wine_fn_config_dll msxml4 enable_msxml4 clean
17673 wine_fn_config_dll msxml6 enable_msxml6 clean
17674 wine_fn_config_dll nddeapi enable_nddeapi implib
17675 wine_fn_config_dll ndis.sys enable_ndis_sys
17676 wine_fn_config_dll netapi32 enable_netapi32 implib
17677 wine_fn_config_test dlls/netapi32/tests netapi32_test
17678 wine_fn_config_dll netcfgx enable_netcfgx clean
17679 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17680 wine_fn_config_dll netprofm enable_netprofm clean
17681 wine_fn_config_test dlls/netprofm/tests netprofm_test
17682 wine_fn_config_dll newdev enable_newdev implib
17683 wine_fn_config_dll normaliz enable_normaliz implib
17684 wine_fn_config_dll npmshtml enable_npmshtml
17685 wine_fn_config_dll npptools enable_npptools
17686 wine_fn_config_dll ntdll enable_ntdll implib
17687 wine_fn_config_test dlls/ntdll/tests ntdll_test
17688 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17689 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17690 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17691 wine_fn_config_dll ntprint enable_ntprint
17692 wine_fn_config_test dlls/ntprint/tests ntprint_test
17693 wine_fn_config_dll objsel enable_objsel clean
17694 wine_fn_config_dll odbc32 enable_odbc32 implib
17695 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17696 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17697 wine_fn_config_dll odbccu32 enable_odbccu32
17698 wine_fn_config_dll ole2.dll16 enable_win16
17699 wine_fn_config_dll ole2conv.dll16 enable_win16
17700 wine_fn_config_dll ole2disp.dll16 enable_win16
17701 wine_fn_config_dll ole2nls.dll16 enable_win16
17702 wine_fn_config_dll ole2prox.dll16 enable_win16
17703 wine_fn_config_dll ole2thk.dll16 enable_win16
17704 wine_fn_config_dll ole32 enable_ole32 clean,implib
17705 wine_fn_config_test dlls/ole32/tests ole32_test
17706 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17707 wine_fn_config_test dlls/oleacc/tests oleacc_test
17708 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17709 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17710 wine_fn_config_dll olecli.dll16 enable_win16
17711 wine_fn_config_dll olecli32 enable_olecli32 implib
17712 wine_fn_config_dll oledb32 enable_oledb32 clean
17713 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17714 wine_fn_config_dll oledlg enable_oledlg implib,po
17715 wine_fn_config_test dlls/oledlg/tests oledlg_test
17716 wine_fn_config_dll olepro32 enable_olepro32 implib
17717 wine_fn_config_dll olesvr.dll16 enable_win16
17718 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17719 wine_fn_config_dll olethk32 enable_olethk32
17720 wine_fn_config_dll openal32 enable_openal32
17721 wine_fn_config_dll opencl enable_opencl
17722 wine_fn_config_dll opengl32 enable_opengl32 implib
17723 wine_fn_config_test dlls/opengl32/tests opengl32_test
17724 wine_fn_config_dll packager enable_packager clean
17725 wine_fn_config_test dlls/packager/tests packager_test
17726 wine_fn_config_dll pdh enable_pdh implib
17727 wine_fn_config_test dlls/pdh/tests pdh_test
17728 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17729 wine_fn_config_dll pidgen enable_pidgen
17730 wine_fn_config_dll powrprof enable_powrprof implib
17731 wine_fn_config_dll printui enable_printui
17732 wine_fn_config_dll prntvpt enable_prntvpt
17733 wine_fn_config_dll propsys enable_propsys clean,implib
17734 wine_fn_config_test dlls/propsys/tests propsys_test
17735 wine_fn_config_dll psapi enable_psapi implib
17736 wine_fn_config_test dlls/psapi/tests psapi_test
17737 wine_fn_config_dll pstorec enable_pstorec clean
17738 wine_fn_config_dll qcap enable_qcap
17739 wine_fn_config_test dlls/qcap/tests qcap_test
17740 wine_fn_config_dll qedit enable_qedit clean
17741 wine_fn_config_test dlls/qedit/tests qedit_test
17742 wine_fn_config_dll qmgr enable_qmgr clean
17743 wine_fn_config_test dlls/qmgr/tests qmgr_test
17744 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17745 wine_fn_config_dll quartz enable_quartz clean,implib
17746 wine_fn_config_test dlls/quartz/tests quartz_test clean
17747 wine_fn_config_dll query enable_query
17748 wine_fn_config_dll rasapi16.dll16 enable_win16
17749 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17750 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17751 wine_fn_config_dll rasdlg enable_rasdlg implib
17752 wine_fn_config_dll regapi enable_regapi
17753 wine_fn_config_dll resutils enable_resutils implib
17754 wine_fn_config_dll riched20 enable_riched20 clean,implib
17755 wine_fn_config_test dlls/riched20/tests riched20_test
17756 wine_fn_config_dll riched32 enable_riched32
17757 wine_fn_config_test dlls/riched32/tests riched32_test
17758 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17759 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17760 wine_fn_config_dll rsabase enable_rsabase
17761 wine_fn_config_dll rsaenh enable_rsaenh implib
17762 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17763 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17764 wine_fn_config_dll rtutils enable_rtutils implib
17765 wine_fn_config_dll samlib enable_samlib
17766 wine_fn_config_dll sane.ds enable_sane_ds po
17767 wine_fn_config_dll scarddlg enable_scarddlg
17768 wine_fn_config_dll sccbase enable_sccbase
17769 wine_fn_config_dll schannel enable_schannel
17770 wine_fn_config_test dlls/schannel/tests schannel_test
17771 wine_fn_config_dll schedsvc enable_schedsvc clean
17772 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17773 wine_fn_config_dll scrrun enable_scrrun clean
17774 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17775 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17776 wine_fn_config_dll secur32 enable_secur32 implib
17777 wine_fn_config_test dlls/secur32/tests secur32_test
17778 wine_fn_config_dll security enable_security
17779 wine_fn_config_dll sensapi enable_sensapi implib
17780 wine_fn_config_dll serialui enable_serialui implib,po
17781 wine_fn_config_test dlls/serialui/tests serialui_test
17782 wine_fn_config_dll setupapi enable_setupapi implib,po
17783 wine_fn_config_test dlls/setupapi/tests setupapi_test
17784 wine_fn_config_dll setupx.dll16 enable_win16
17785 wine_fn_config_dll sfc enable_sfc implib
17786 wine_fn_config_dll sfc_os enable_sfc_os implib
17787 wine_fn_config_dll shdoclc enable_shdoclc po
17788 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17789 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17790 wine_fn_config_dll shell.dll16 enable_win16
17791 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17792 wine_fn_config_test dlls/shell32/tests shell32_test
17793 wine_fn_config_dll shfolder enable_shfolder implib
17794 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17795 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17796 wine_fn_config_dll slbcsp enable_slbcsp
17797 wine_fn_config_dll slc enable_slc implib
17798 wine_fn_config_test dlls/slc/tests slc_test
17799 wine_fn_config_dll snmpapi enable_snmpapi implib
17800 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17801 wine_fn_config_dll softpub enable_softpub
17802 wine_fn_config_dll sound.drv16 enable_win16
17803 wine_fn_config_dll spoolss enable_spoolss implib
17804 wine_fn_config_test dlls/spoolss/tests spoolss_test
17805 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17806 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17807 wine_fn_config_dll sti enable_sti clean,implib
17808 wine_fn_config_test dlls/sti/tests sti_test
17809 wine_fn_config_dll storage.dll16 enable_win16
17810 wine_fn_config_dll stress.dll16 enable_win16
17811 wine_fn_config_lib strmbase
17812 wine_fn_config_lib strmiids
17813 wine_fn_config_dll svrapi enable_svrapi
17814 wine_fn_config_dll sxs enable_sxs implib
17815 wine_fn_config_test dlls/sxs/tests sxs_test
17816 wine_fn_config_dll system.drv16 enable_win16
17817 wine_fn_config_dll t2embed enable_t2embed
17818 wine_fn_config_dll tapi32 enable_tapi32 implib
17819 wine_fn_config_dll taskschd enable_taskschd clean
17820 wine_fn_config_test dlls/taskschd/tests taskschd_test
17821 wine_fn_config_dll toolhelp.dll16 enable_win16
17822 wine_fn_config_dll traffic enable_traffic
17823 wine_fn_config_dll twain.dll16 enable_win16
17824 wine_fn_config_dll twain_32 enable_twain_32
17825 wine_fn_config_test dlls/twain_32/tests twain_32_test
17826 wine_fn_config_dll typelib.dll16 enable_win16
17827 wine_fn_config_dll ucrtbase enable_ucrtbase
17828 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
17829 wine_fn_config_dll unicows enable_unicows implib
17830 wine_fn_config_dll updspapi enable_updspapi
17831 wine_fn_config_dll url enable_url implib
17832 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17833 wine_fn_config_test dlls/urlmon/tests urlmon_test
17834 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17835 wine_fn_config_dll user.exe16 enable_win16
17836 wine_fn_config_dll user32 enable_user32 clean,implib,po
17837 wine_fn_config_test dlls/user32/tests user32_test
17838 wine_fn_config_dll userenv enable_userenv implib
17839 wine_fn_config_test dlls/userenv/tests userenv_test
17840 wine_fn_config_dll usp10 enable_usp10 implib
17841 wine_fn_config_test dlls/usp10/tests usp10_test
17842 wine_fn_config_lib uuid
17843 wine_fn_config_dll uxtheme enable_uxtheme implib
17844 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17845 wine_fn_config_dll vbscript enable_vbscript clean
17846 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17847 wine_fn_config_dll vcomp enable_vcomp
17848 wine_fn_config_test dlls/vcomp/tests vcomp_test
17849 wine_fn_config_dll vcomp100 enable_vcomp100
17850 wine_fn_config_dll vcomp110 enable_vcomp110
17851 wine_fn_config_dll vcomp90 enable_vcomp90
17852 wine_fn_config_dll vdhcp.vxd enable_win16
17853 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17854 wine_fn_config_dll ver.dll16 enable_win16
17855 wine_fn_config_dll version enable_version implib
17856 wine_fn_config_test dlls/version/tests version_test
17857 wine_fn_config_dll vmm.vxd enable_win16
17858 wine_fn_config_dll vnbt.vxd enable_win16
17859 wine_fn_config_dll vnetbios.vxd enable_win16
17860 wine_fn_config_dll vssapi enable_vssapi
17861 wine_fn_config_dll vtdapi.vxd enable_win16
17862 wine_fn_config_dll vwin32.vxd enable_win16
17863 wine_fn_config_dll w32skrnl enable_win16
17864 wine_fn_config_dll w32sys.dll16 enable_win16
17865 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17866 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
17867 wine_fn_config_dll wbemprox enable_wbemprox clean
17868 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17869 wine_fn_config_dll webservices enable_webservices implib
17870 wine_fn_config_test dlls/webservices/tests webservices_test
17871 wine_fn_config_dll wer enable_wer implib
17872 wine_fn_config_test dlls/wer/tests wer_test
17873 wine_fn_config_dll wevtapi enable_wevtapi
17874 wine_fn_config_dll wiaservc enable_wiaservc clean
17875 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
17876 wine_fn_config_dll win32s16.dll16 enable_win16
17877 wine_fn_config_dll win87em.dll16 enable_win16
17878 wine_fn_config_dll winaspi.dll16 enable_win16
17879 wine_fn_config_dll windebug.dll16 enable_win16
17880 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17881 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17882 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17883 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17884 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17885 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17886 wine_fn_config_lib winecrt0
17887 wine_fn_config_dll wined3d enable_wined3d implib
17888 wine_fn_config_dll winegstreamer enable_winegstreamer
17889 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17890 wine_fn_config_dll winemac.drv enable_winemac_drv
17891 wine_fn_config_dll winemapi enable_winemapi
17892 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17893 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17894 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17895 wine_fn_config_dll wineps16.drv16 enable_win16
17896 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17897 wine_fn_config_dll winex11.drv enable_winex11_drv
17898 wine_fn_config_dll wing.dll16 enable_win16
17899 wine_fn_config_dll wing32 enable_wing32
17900 wine_fn_config_dll winhttp enable_winhttp clean,implib
17901 wine_fn_config_test dlls/winhttp/tests winhttp_test
17902 wine_fn_config_dll wininet enable_wininet implib,po
17903 wine_fn_config_test dlls/wininet/tests wininet_test
17904 wine_fn_config_dll winmm enable_winmm implib,po
17905 wine_fn_config_test dlls/winmm/tests winmm_test
17906 wine_fn_config_dll winnls.dll16 enable_win16
17907 wine_fn_config_dll winnls32 enable_winnls32 implib
17908 wine_fn_config_dll winscard enable_winscard implib
17909 wine_fn_config_dll winsock.dll16 enable_win16
17910 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17911 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17912 wine_fn_config_dll winsta enable_winsta
17913 wine_fn_config_dll wintab.dll16 enable_win16
17914 wine_fn_config_dll wintab32 enable_wintab32 implib
17915 wine_fn_config_test dlls/wintab32/tests wintab32_test
17916 wine_fn_config_dll wintrust enable_wintrust implib
17917 wine_fn_config_test dlls/wintrust/tests wintrust_test
17918 wine_fn_config_dll wlanapi enable_wlanapi
17919 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17920 wine_fn_config_test dlls/wldap32/tests wldap32_test
17921 wine_fn_config_dll wmi enable_wmi
17922 wine_fn_config_dll wmiutils enable_wmiutils clean
17923 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17924 wine_fn_config_dll wmp enable_wmp clean
17925 wine_fn_config_test dlls/wmp/tests wmp_test
17926 wine_fn_config_dll wmvcore enable_wmvcore
17927 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17928 wine_fn_config_dll wow32 enable_win16 implib
17929 wine_fn_config_dll wpcap enable_wpcap
17930 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17931 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17932 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17933 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17934 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17935 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17936 wine_fn_config_dll wsock32 enable_wsock32 implib
17937 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17938 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17939 wine_fn_config_dll wuapi enable_wuapi clean
17940 wine_fn_config_dll wuaueng enable_wuaueng
17941 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
17942 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
17943 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
17944 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
17945 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
17946 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
17947 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
17948 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7 implib
17949 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17950 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
17951 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
17952 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
17953 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
17954 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
17955 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
17956 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
17957 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
17958 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
17959 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
17960 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
17961 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
17962 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
17963 wine_fn_config_dll xaudio2_8 enable_xaudio2_8
17964 wine_fn_config_dll xinput1_1 enable_xinput1_1
17965 wine_fn_config_dll xinput1_2 enable_xinput1_2
17966 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17967 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17968 wine_fn_config_dll xinput1_4 enable_xinput1_4
17969 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17970 wine_fn_config_dll xmllite enable_xmllite implib
17971 wine_fn_config_test dlls/xmllite/tests xmllite_test
17972 wine_fn_config_dll xolehlp enable_xolehlp
17973 wine_fn_config_dll xpsprint enable_xpsprint
17974 wine_fn_config_dll xpssvcs enable_xpssvcs
17975 wine_fn_config_makefile documentation enable_documentation clean
17976 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17977 wine_fn_config_makefile include enable_include clean,install-dev
17978 wine_fn_config_makefile libs/port enable_libs_port
17979 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17980 wine_fn_config_makefile libs/wpp enable_libs_wpp
17981 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17982 wine_fn_config_program arp enable_arp install
17983 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17984 wine_fn_config_program attrib enable_attrib install,po
17985 wine_fn_config_program cabarc enable_cabarc install
17986 wine_fn_config_program cacls enable_cacls install
17987 wine_fn_config_program clock enable_clock install,po
17988 wine_fn_config_program cmd enable_cmd install,po
17989 wine_fn_config_test programs/cmd/tests cmd.exe_test
17990 wine_fn_config_program conhost enable_conhost install
17991 wine_fn_config_program control enable_control install
17992 wine_fn_config_program cscript enable_cscript clean,install
17993 wine_fn_config_program dpnsvr enable_dpnsvr install
17994 wine_fn_config_program dxdiag enable_dxdiag install,po
17995 wine_fn_config_program eject enable_eject install
17996 wine_fn_config_program expand enable_expand install
17997 wine_fn_config_program explorer enable_explorer install,po
17998 wine_fn_config_program extrac32 enable_extrac32 install
17999 wine_fn_config_program findstr enable_findstr install
18000 wine_fn_config_program hh enable_hh install
18001 wine_fn_config_program hostname enable_hostname install,po
18002 wine_fn_config_program icinfo enable_icinfo install
18003 wine_fn_config_program iexplore enable_iexplore install
18004 wine_fn_config_program ipconfig enable_ipconfig install,po
18005 wine_fn_config_program lodctr enable_lodctr install
18006 wine_fn_config_program mofcomp enable_mofcomp install
18007 wine_fn_config_program mshta enable_mshta install
18008 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18009 wine_fn_config_program net enable_net install,po
18010 wine_fn_config_program netsh enable_netsh install
18011 wine_fn_config_program netstat enable_netstat install,po
18012 wine_fn_config_program ngen enable_ngen install
18013 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
18014 wine_fn_config_program oleview enable_oleview install,po
18015 wine_fn_config_program ping enable_ping install
18016 wine_fn_config_program plugplay enable_plugplay install
18017 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18018 wine_fn_config_program progman enable_progman install,po
18019 wine_fn_config_program reg enable_reg install,po
18020 wine_fn_config_test programs/reg/tests reg.exe_test
18021 wine_fn_config_program regasm enable_regasm install
18022 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
18023 wine_fn_config_test programs/regedit/tests regedit.exe_test
18024 wine_fn_config_program regsvcs enable_regsvcs install
18025 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
18026 wine_fn_config_program rpcss enable_rpcss clean,install
18027 wine_fn_config_program rundll.exe16 enable_win16 install
18028 wine_fn_config_program rundll32 enable_rundll32 install
18029 wine_fn_config_program sc enable_sc install
18030 wine_fn_config_program schtasks enable_schtasks install
18031 wine_fn_config_program sdbinst enable_sdbinst install
18032 wine_fn_config_program secedit enable_secedit install
18033 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18034 wine_fn_config_program services enable_services clean,install
18035 wine_fn_config_test programs/services/tests services.exe_test
18036 wine_fn_config_program spoolsv enable_spoolsv install
18037 wine_fn_config_program start enable_start install,po
18038 wine_fn_config_program svchost enable_svchost install
18039 wine_fn_config_program systeminfo enable_systeminfo install
18040 wine_fn_config_program taskkill enable_taskkill install,po
18041 wine_fn_config_program tasklist enable_tasklist install
18042 wine_fn_config_program taskmgr enable_taskmgr install,po
18043 wine_fn_config_program termsv enable_termsv install
18044 wine_fn_config_program uninstaller enable_uninstaller install,po
18045 wine_fn_config_program unlodctr enable_unlodctr install
18046 wine_fn_config_program view enable_view install,po
18047 wine_fn_config_program wevtutil enable_wevtutil install
18048 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
18049 wine_fn_config_program winebrowser enable_winebrowser install
18050 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
18051 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
18052 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
18053 wine_fn_config_program winedevice enable_winedevice install
18054 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
18055 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18056 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
18057 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18058 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18059 wine_fn_config_program winetest enable_winetest clean
18060 wine_fn_config_program winevdm enable_win16 install
18061 wine_fn_config_program winhelp.exe16 enable_win16 install
18062 wine_fn_config_program winhlp32 enable_winhlp32 install,po
18063 wine_fn_config_program winoldap.mod16 enable_win16 install
18064 wine_fn_config_program winver enable_winver install
18065 wine_fn_config_program wmic enable_wmic install,po
18066 wine_fn_config_program wordpad enable_wordpad install,po
18067 wine_fn_config_program write enable_write install,po
18068 wine_fn_config_program wscript enable_wscript clean,install
18069 wine_fn_config_test programs/wscript/tests wscript.exe_test
18070 wine_fn_config_program wusa enable_wusa install
18071 wine_fn_config_program xcopy enable_xcopy install,po
18072 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18073 wine_fn_config_makefile server enable_server clean,install-lib,manpage
18074 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
18075 wine_fn_config_tool tools/sfnt2fon clean
18076 wine_fn_config_tool tools/widl clean,install-dev,manpage
18077 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
18078 wine_fn_config_tool tools/winedump clean,install-dev,manpage
18079 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
18080 wine_fn_config_tool tools/wmc clean,install-dev,manpage
18081 wine_fn_config_tool tools/wrc clean,install-dev,manpage
18083 LINGUAS="\
18084 ar \
18085 bg \
18086 ca \
18087 cs \
18088 da \
18089 de \
18090 el \
18091 en \
18092 en_US \
18093 eo \
18094 es \
18095 fa \
18096 fi \
18097 fr \
18098 he \
18099 hi \
18100 hr \
18101 hu \
18102 it \
18103 ja \
18104 ko \
18105 lt \
18106 ml \
18107 nb_NO \
18108 nl \
18109 or \
18110 pa \
18111 pl \
18112 pt_BR \
18113 pt_PT \
18114 rm \
18115 ro \
18116 ru \
18117 sk \
18118 sl \
18119 sr_RS@cyrillic \
18120 sr_RS@latin \
18121 sv \
18122 te \
18123 th \
18124 tr \
18125 uk \
18126 wa \
18127 zh_CN \
18128 zh_TW"
18133 wine_fn_ignore_file ".gitignore"
18134 wine_fn_ignore_file "Makefile"
18135 wine_fn_ignore_file "TAGS"
18136 wine_fn_ignore_file "tags"
18137 wine_fn_ignore_file "autom4te.cache"
18138 wine_fn_ignore_file "config.cache"
18139 wine_fn_ignore_file "config.log"
18140 wine_fn_ignore_file "config.status"
18141 wine_fn_ignore_file "configure.lineno"
18142 wine_fn_ignore_file "include/config.h"
18143 wine_fn_ignore_file "include/stamp-h"
18144 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
18146 if test "x$enable_tools" != xno
18147 then
18148 wine_fn_ignore_file "tools/makedep$ac_exeext"
18149 ac_config_commands="$ac_config_commands tools/makedep"
18153 ac_config_commands="$ac_config_commands Makefile"
18156 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
18160 if test "x$enable_maintainer_mode" = xyes
18161 then
18162 wine_fn_append_rule "configure: configure.ac aclocal.m4
18163 autoconf --warnings=all
18164 include/config.h.in: include/stamp-h.in
18165 include/stamp-h.in: configure.ac aclocal.m4
18166 autoheader --warnings=all
18167 @echo timestamp > \$@"
18170 if test "x$with_gettextpo" = xyes
18171 then
18172 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
18173 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
18174 \$(LINGUAS:%=po/%.po): po/wine.pot
18175 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
18176 po/wine.pot: \$(ALL_POT_FILES)
18177 msgcat -o \$@ \$(ALL_POT_FILES)"
18180 if test "$MSGFMT" != false
18181 then
18182 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
18183 clean::
18184 \$(RM) \$(LINGUAS:%=po/%.mo)"
18186 posrc="po"
18187 test "$srcdir" = . || posrc="$srcdir/po"
18188 for i in $LINGUAS
18190 wine_fn_ignore_file "po/$i.mo"
18191 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
18192 \$(MSGFMT) -o \$@ $posrc/$i.po"
18193 done
18194 else
18195 LINGUAS=
18198 if test "x$enable_tools" != xno
18199 then
18200 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18201 @./config.status tools/makedep
18202 Makefile: tools/makedep$ac_exeext
18203 distclean:: clean
18204 \$(RM) tools/makedep$ac_exeext"
18205 else
18206 wine_fn_append_rule "\$(MAKEDEP):
18207 @echo \"You need to run make in $TOOLSDIR first\" && false"
18210 if test -n "$with_wine64"
18211 then
18212 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18213 fonts server tools:
18214 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18215 $with_wine64/loader/wine:
18216 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18217 $with_wine64/loader/wine-preloader:
18218 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18219 clean::
18220 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18221 else
18222 as_fn_append LOADER_RULES "
18223 install install-lib:: wine.inf install-man-pages
18224 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
18225 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18227 uninstall::
18228 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18232 if test "$srcdir" = .
18233 then
18234 ac_config_commands="$ac_config_commands .gitignore"
18238 $as_echo " done" >&6
18239 cat >confcache <<\_ACEOF
18240 # This file is a shell script that caches the results of configure
18241 # tests run on this system so they can be shared between configure
18242 # scripts and configure runs, see configure's option --config-cache.
18243 # It is not useful on other systems. If it contains results you don't
18244 # want to keep, you may remove or edit it.
18246 # config.status only pays attention to the cache file if you give it
18247 # the --recheck option to rerun configure.
18249 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18250 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18251 # following values.
18253 _ACEOF
18255 # The following way of writing the cache mishandles newlines in values,
18256 # but we know of no workaround that is simple, portable, and efficient.
18257 # So, we kill variables containing newlines.
18258 # Ultrix sh set writes to stderr and can't be redirected directly,
18259 # and sets the high bit in the cache file unless we assign to the vars.
18261 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18262 eval ac_val=\$$ac_var
18263 case $ac_val in #(
18264 *${as_nl}*)
18265 case $ac_var in #(
18266 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18267 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18268 esac
18269 case $ac_var in #(
18270 _ | IFS | as_nl) ;; #(
18271 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18272 *) { eval $ac_var=; unset $ac_var;} ;;
18273 esac ;;
18274 esac
18275 done
18277 (set) 2>&1 |
18278 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18279 *${as_nl}ac_space=\ *)
18280 # `set' does not quote correctly, so add quotes: double-quote
18281 # substitution turns \\\\ into \\, and sed turns \\ into \.
18282 sed -n \
18283 "s/'/'\\\\''/g;
18284 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18285 ;; #(
18287 # `set' quotes correctly as required by POSIX, so do not add quotes.
18288 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18290 esac |
18291 sort
18293 sed '
18294 /^ac_cv_env_/b end
18295 t clear
18296 :clear
18297 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18298 t end
18299 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18300 :end' >>confcache
18301 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18302 if test -w "$cache_file"; then
18303 if test "x$cache_file" != "x/dev/null"; then
18304 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18305 $as_echo "$as_me: updating cache $cache_file" >&6;}
18306 if test ! -f "$cache_file" || test -h "$cache_file"; then
18307 cat confcache >"$cache_file"
18308 else
18309 case $cache_file in #(
18310 */* | ?:*)
18311 mv -f confcache "$cache_file"$$ &&
18312 mv -f "$cache_file"$$ "$cache_file" ;; #(
18314 mv -f confcache "$cache_file" ;;
18315 esac
18318 else
18319 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18320 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18323 rm -f confcache
18325 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18326 # Let make expand exec_prefix.
18327 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18329 DEFS=-DHAVE_CONFIG_H
18331 ac_libobjs=
18332 ac_ltlibobjs=
18334 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18335 # 1. Remove the extension, and $U if already installed.
18336 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18337 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18338 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18339 # will be set to the directory where LIBOBJS objects are built.
18340 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18341 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18342 done
18343 LIBOBJS=$ac_libobjs
18345 LTLIBOBJS=$ac_ltlibobjs
18349 : "${CONFIG_STATUS=./config.status}"
18350 ac_write_fail=0
18351 ac_clean_files_save=$ac_clean_files
18352 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18353 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18354 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18355 as_write_fail=0
18356 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18357 #! $SHELL
18358 # Generated by $as_me.
18359 # Run this file to recreate the current configuration.
18360 # Compiler output produced by configure, useful for debugging
18361 # configure, is in config.log if it exists.
18363 debug=false
18364 ac_cs_recheck=false
18365 ac_cs_silent=false
18367 SHELL=\${CONFIG_SHELL-$SHELL}
18368 export SHELL
18369 _ASEOF
18370 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18371 ## -------------------- ##
18372 ## M4sh Initialization. ##
18373 ## -------------------- ##
18375 # Be more Bourne compatible
18376 DUALCASE=1; export DUALCASE # for MKS sh
18377 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18378 emulate sh
18379 NULLCMD=:
18380 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18381 # is contrary to our usage. Disable this feature.
18382 alias -g '${1+"$@"}'='"$@"'
18383 setopt NO_GLOB_SUBST
18384 else
18385 case `(set -o) 2>/dev/null` in #(
18386 *posix*) :
18387 set -o posix ;; #(
18388 *) :
18390 esac
18394 as_nl='
18396 export as_nl
18397 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18398 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18399 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18400 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18401 # Prefer a ksh shell builtin over an external printf program on Solaris,
18402 # but without wasting forks for bash or zsh.
18403 if test -z "$BASH_VERSION$ZSH_VERSION" \
18404 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18405 as_echo='print -r --'
18406 as_echo_n='print -rn --'
18407 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18408 as_echo='printf %s\n'
18409 as_echo_n='printf %s'
18410 else
18411 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18412 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18413 as_echo_n='/usr/ucb/echo -n'
18414 else
18415 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18416 as_echo_n_body='eval
18417 arg=$1;
18418 case $arg in #(
18419 *"$as_nl"*)
18420 expr "X$arg" : "X\\(.*\\)$as_nl";
18421 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18422 esac;
18423 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18425 export as_echo_n_body
18426 as_echo_n='sh -c $as_echo_n_body as_echo'
18428 export as_echo_body
18429 as_echo='sh -c $as_echo_body as_echo'
18432 # The user is always right.
18433 if test "${PATH_SEPARATOR+set}" != set; then
18434 PATH_SEPARATOR=:
18435 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18436 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18437 PATH_SEPARATOR=';'
18442 # IFS
18443 # We need space, tab and new line, in precisely that order. Quoting is
18444 # there to prevent editors from complaining about space-tab.
18445 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18446 # splitting by setting IFS to empty value.)
18447 IFS=" "" $as_nl"
18449 # Find who we are. Look in the path if we contain no directory separator.
18450 as_myself=
18451 case $0 in #((
18452 *[\\/]* ) as_myself=$0 ;;
18453 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18454 for as_dir in $PATH
18456 IFS=$as_save_IFS
18457 test -z "$as_dir" && as_dir=.
18458 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18459 done
18460 IFS=$as_save_IFS
18463 esac
18464 # We did not find ourselves, most probably we were run as `sh COMMAND'
18465 # in which case we are not to be found in the path.
18466 if test "x$as_myself" = x; then
18467 as_myself=$0
18469 if test ! -f "$as_myself"; then
18470 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18471 exit 1
18474 # Unset variables that we do not need and which cause bugs (e.g. in
18475 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18476 # suppresses any "Segmentation fault" message there. '((' could
18477 # trigger a bug in pdksh 5.2.14.
18478 for as_var in BASH_ENV ENV MAIL MAILPATH
18479 do eval test x\${$as_var+set} = xset \
18480 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18481 done
18482 PS1='$ '
18483 PS2='> '
18484 PS4='+ '
18486 # NLS nuisances.
18487 LC_ALL=C
18488 export LC_ALL
18489 LANGUAGE=C
18490 export LANGUAGE
18492 # CDPATH.
18493 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18496 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18497 # ----------------------------------------
18498 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18499 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18500 # script with STATUS, using 1 if that was 0.
18501 as_fn_error ()
18503 as_status=$1; test $as_status -eq 0 && as_status=1
18504 if test "$4"; then
18505 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18506 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18508 $as_echo "$as_me: error: $2" >&2
18509 as_fn_exit $as_status
18510 } # as_fn_error
18513 # as_fn_set_status STATUS
18514 # -----------------------
18515 # Set $? to STATUS, without forking.
18516 as_fn_set_status ()
18518 return $1
18519 } # as_fn_set_status
18521 # as_fn_exit STATUS
18522 # -----------------
18523 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18524 as_fn_exit ()
18526 set +e
18527 as_fn_set_status $1
18528 exit $1
18529 } # as_fn_exit
18531 # as_fn_unset VAR
18532 # ---------------
18533 # Portably unset VAR.
18534 as_fn_unset ()
18536 { eval $1=; unset $1;}
18538 as_unset=as_fn_unset
18539 # as_fn_append VAR VALUE
18540 # ----------------------
18541 # Append the text in VALUE to the end of the definition contained in VAR. Take
18542 # advantage of any shell optimizations that allow amortized linear growth over
18543 # repeated appends, instead of the typical quadratic growth present in naive
18544 # implementations.
18545 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18546 eval 'as_fn_append ()
18548 eval $1+=\$2
18550 else
18551 as_fn_append ()
18553 eval $1=\$$1\$2
18555 fi # as_fn_append
18557 # as_fn_arith ARG...
18558 # ------------------
18559 # Perform arithmetic evaluation on the ARGs, and store the result in the
18560 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18561 # must be portable across $(()) and expr.
18562 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18563 eval 'as_fn_arith ()
18565 as_val=$(( $* ))
18567 else
18568 as_fn_arith ()
18570 as_val=`expr "$@" || test $? -eq 1`
18572 fi # as_fn_arith
18575 if expr a : '\(a\)' >/dev/null 2>&1 &&
18576 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18577 as_expr=expr
18578 else
18579 as_expr=false
18582 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18583 as_basename=basename
18584 else
18585 as_basename=false
18588 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18589 as_dirname=dirname
18590 else
18591 as_dirname=false
18594 as_me=`$as_basename -- "$0" ||
18595 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18596 X"$0" : 'X\(//\)$' \| \
18597 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18598 $as_echo X/"$0" |
18599 sed '/^.*\/\([^/][^/]*\)\/*$/{
18600 s//\1/
18603 /^X\/\(\/\/\)$/{
18604 s//\1/
18607 /^X\/\(\/\).*/{
18608 s//\1/
18611 s/.*/./; q'`
18613 # Avoid depending upon Character Ranges.
18614 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18615 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18616 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18617 as_cr_digits='0123456789'
18618 as_cr_alnum=$as_cr_Letters$as_cr_digits
18620 ECHO_C= ECHO_N= ECHO_T=
18621 case `echo -n x` in #(((((
18622 -n*)
18623 case `echo 'xy\c'` in
18624 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18625 xy) ECHO_C='\c';;
18626 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18627 ECHO_T=' ';;
18628 esac;;
18630 ECHO_N='-n';;
18631 esac
18633 rm -f conf$$ conf$$.exe conf$$.file
18634 if test -d conf$$.dir; then
18635 rm -f conf$$.dir/conf$$.file
18636 else
18637 rm -f conf$$.dir
18638 mkdir conf$$.dir 2>/dev/null
18640 if (echo >conf$$.file) 2>/dev/null; then
18641 if ln -s conf$$.file conf$$ 2>/dev/null; then
18642 as_ln_s='ln -s'
18643 # ... but there are two gotchas:
18644 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18645 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18646 # In both cases, we have to default to `cp -pR'.
18647 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18648 as_ln_s='cp -pR'
18649 elif ln conf$$.file conf$$ 2>/dev/null; then
18650 as_ln_s=ln
18651 else
18652 as_ln_s='cp -pR'
18654 else
18655 as_ln_s='cp -pR'
18657 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18658 rmdir conf$$.dir 2>/dev/null
18661 # as_fn_mkdir_p
18662 # -------------
18663 # Create "$as_dir" as a directory, including parents if necessary.
18664 as_fn_mkdir_p ()
18667 case $as_dir in #(
18668 -*) as_dir=./$as_dir;;
18669 esac
18670 test -d "$as_dir" || eval $as_mkdir_p || {
18671 as_dirs=
18672 while :; do
18673 case $as_dir in #(
18674 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18675 *) as_qdir=$as_dir;;
18676 esac
18677 as_dirs="'$as_qdir' $as_dirs"
18678 as_dir=`$as_dirname -- "$as_dir" ||
18679 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18680 X"$as_dir" : 'X\(//\)[^/]' \| \
18681 X"$as_dir" : 'X\(//\)$' \| \
18682 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18683 $as_echo X"$as_dir" |
18684 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18685 s//\1/
18688 /^X\(\/\/\)[^/].*/{
18689 s//\1/
18692 /^X\(\/\/\)$/{
18693 s//\1/
18696 /^X\(\/\).*/{
18697 s//\1/
18700 s/.*/./; q'`
18701 test -d "$as_dir" && break
18702 done
18703 test -z "$as_dirs" || eval "mkdir $as_dirs"
18704 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18707 } # as_fn_mkdir_p
18708 if mkdir -p . 2>/dev/null; then
18709 as_mkdir_p='mkdir -p "$as_dir"'
18710 else
18711 test -d ./-p && rmdir ./-p
18712 as_mkdir_p=false
18716 # as_fn_executable_p FILE
18717 # -----------------------
18718 # Test if FILE is an executable regular file.
18719 as_fn_executable_p ()
18721 test -f "$1" && test -x "$1"
18722 } # as_fn_executable_p
18723 as_test_x='test -x'
18724 as_executable_p=as_fn_executable_p
18726 # Sed expression to map a string onto a valid CPP name.
18727 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18729 # Sed expression to map a string onto a valid variable name.
18730 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18733 exec 6>&1
18734 ## ----------------------------------- ##
18735 ## Main body of $CONFIG_STATUS script. ##
18736 ## ----------------------------------- ##
18737 _ASEOF
18738 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18740 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18741 # Save the log message, to keep $0 and so on meaningful, and to
18742 # report actual input values of CONFIG_FILES etc. instead of their
18743 # values after options handling.
18744 ac_log="
18745 This file was extended by Wine $as_me 1.7.52, which was
18746 generated by GNU Autoconf 2.69. Invocation command line was
18748 CONFIG_FILES = $CONFIG_FILES
18749 CONFIG_HEADERS = $CONFIG_HEADERS
18750 CONFIG_LINKS = $CONFIG_LINKS
18751 CONFIG_COMMANDS = $CONFIG_COMMANDS
18752 $ $0 $@
18754 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18757 _ACEOF
18759 case $ac_config_files in *"
18760 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18761 esac
18763 case $ac_config_headers in *"
18764 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18765 esac
18768 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18769 # Files that config.status was made for.
18770 config_files="$ac_config_files"
18771 config_headers="$ac_config_headers"
18772 config_links="$ac_config_links"
18773 config_commands="$ac_config_commands"
18775 _ACEOF
18777 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18778 ac_cs_usage="\
18779 \`$as_me' instantiates files and other configuration actions
18780 from templates according to the current configuration. Unless the files
18781 and actions are specified as TAGs, all are instantiated by default.
18783 Usage: $0 [OPTION]... [TAG]...
18785 -h, --help print this help, then exit
18786 -V, --version print version number and configuration settings, then exit
18787 --config print configuration, then exit
18788 -q, --quiet, --silent
18789 do not print progress messages
18790 -d, --debug don't remove temporary files
18791 --recheck update $as_me by reconfiguring in the same conditions
18792 --file=FILE[:TEMPLATE]
18793 instantiate the configuration file FILE
18794 --header=FILE[:TEMPLATE]
18795 instantiate the configuration header FILE
18797 Configuration files:
18798 $config_files
18800 Configuration headers:
18801 $config_headers
18803 Configuration links:
18804 $config_links
18806 Configuration commands:
18807 $config_commands
18809 Report bugs to <wine-devel@winehq.org>.
18810 Wine home page: <http://www.winehq.org>."
18812 _ACEOF
18813 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18814 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18815 ac_cs_version="\\
18816 Wine config.status 1.7.52
18817 configured by $0, generated by GNU Autoconf 2.69,
18818 with options \\"\$ac_cs_config\\"
18820 Copyright (C) 2012 Free Software Foundation, Inc.
18821 This config.status script is free software; the Free Software Foundation
18822 gives unlimited permission to copy, distribute and modify it."
18824 ac_pwd='$ac_pwd'
18825 srcdir='$srcdir'
18826 test -n "\$AWK" || AWK=awk
18827 _ACEOF
18829 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18830 # The default lists apply if the user does not specify any file.
18831 ac_need_defaults=:
18832 while test $# != 0
18834 case $1 in
18835 --*=?*)
18836 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18837 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18838 ac_shift=:
18840 --*=)
18841 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18842 ac_optarg=
18843 ac_shift=:
18846 ac_option=$1
18847 ac_optarg=$2
18848 ac_shift=shift
18850 esac
18852 case $ac_option in
18853 # Handling of the options.
18854 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18855 ac_cs_recheck=: ;;
18856 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18857 $as_echo "$ac_cs_version"; exit ;;
18858 --config | --confi | --conf | --con | --co | --c )
18859 $as_echo "$ac_cs_config"; exit ;;
18860 --debug | --debu | --deb | --de | --d | -d )
18861 debug=: ;;
18862 --file | --fil | --fi | --f )
18863 $ac_shift
18864 case $ac_optarg in
18865 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18866 '') as_fn_error $? "missing file argument" ;;
18867 esac
18868 as_fn_append CONFIG_FILES " '$ac_optarg'"
18869 ac_need_defaults=false;;
18870 --header | --heade | --head | --hea )
18871 $ac_shift
18872 case $ac_optarg in
18873 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18874 esac
18875 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18876 ac_need_defaults=false;;
18877 --he | --h)
18878 # Conflict between --help and --header
18879 as_fn_error $? "ambiguous option: \`$1'
18880 Try \`$0 --help' for more information.";;
18881 --help | --hel | -h )
18882 $as_echo "$ac_cs_usage"; exit ;;
18883 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18884 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18885 ac_cs_silent=: ;;
18887 # This is an error.
18888 -*) as_fn_error $? "unrecognized option: \`$1'
18889 Try \`$0 --help' for more information." ;;
18891 *) as_fn_append ac_config_targets " $1"
18892 ac_need_defaults=false ;;
18894 esac
18895 shift
18896 done
18898 ac_configure_extra_args=
18900 if $ac_cs_silent; then
18901 exec 6>/dev/null
18902 ac_configure_extra_args="$ac_configure_extra_args --silent"
18905 _ACEOF
18906 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18907 if \$ac_cs_recheck; then
18908 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18909 shift
18910 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18911 CONFIG_SHELL='$SHELL'
18912 export CONFIG_SHELL
18913 exec "\$@"
18916 _ACEOF
18917 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18918 exec 5>>config.log
18920 echo
18921 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18922 ## Running $as_me. ##
18923 _ASBOX
18924 $as_echo "$ac_log"
18925 } >&5
18927 _ACEOF
18928 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18930 # INIT-COMMANDS
18932 wine_fn_output_makedep ()
18934 as_dir=tools; as_fn_mkdir_p
18935 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18937 wine_fn_output_makefile ()
18939 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18940 `cat $wine_rules_file`
18941 _WINE_EOF
18942 as_fn_error $? "could not create Makefile" "$LINENO" 5
18944 wine_fn_output_gitignore ()
18946 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18947 $GITIGNORE
18948 _WINE_EOF
18949 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18952 _ACEOF
18954 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18956 # Handling of arguments.
18957 for ac_config_target in $ac_config_targets
18959 case $ac_config_target in
18960 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18961 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18962 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18963 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18964 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18965 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18966 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
18967 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18968 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18969 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18970 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18971 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18972 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18973 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18974 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18976 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18977 esac
18978 done
18981 # If the user did not use the arguments to specify the items to instantiate,
18982 # then the envvar interface is used. Set only those that are not.
18983 # We use the long form for the default assignment because of an extremely
18984 # bizarre bug on SunOS 4.1.3.
18985 if $ac_need_defaults; then
18986 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18987 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18988 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18989 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18992 # Have a temporary directory for convenience. Make it in the build tree
18993 # simply because there is no reason against having it here, and in addition,
18994 # creating and moving files from /tmp can sometimes cause problems.
18995 # Hook for its removal unless debugging.
18996 # Note that there is a small window in which the directory will not be cleaned:
18997 # after its creation but before its name has been assigned to `$tmp'.
18998 $debug ||
19000 tmp= ac_tmp=
19001 trap 'exit_status=$?
19002 : "${ac_tmp:=$tmp}"
19003 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19005 trap 'as_fn_exit 1' 1 2 13 15
19007 # Create a (secure) tmp directory for tmp files.
19010 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19011 test -d "$tmp"
19012 } ||
19014 tmp=./conf$$-$RANDOM
19015 (umask 077 && mkdir "$tmp")
19016 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19017 ac_tmp=$tmp
19019 # Set up the scripts for CONFIG_FILES section.
19020 # No need to generate them if there are no CONFIG_FILES.
19021 # This happens for instance with `./config.status config.h'.
19022 if test -n "$CONFIG_FILES"; then
19025 ac_cr=`echo X | tr X '\015'`
19026 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19027 # But we know of no other shell where ac_cr would be empty at this
19028 # point, so we can use a bashism as a fallback.
19029 if test "x$ac_cr" = x; then
19030 eval ac_cr=\$\'\\r\'
19032 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19033 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19034 ac_cs_awk_cr='\\r'
19035 else
19036 ac_cs_awk_cr=$ac_cr
19039 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19040 _ACEOF
19044 echo "cat >conf$$subs.awk <<_ACEOF" &&
19045 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19046 echo "_ACEOF"
19047 } >conf$$subs.sh ||
19048 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19049 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19050 ac_delim='%!_!# '
19051 for ac_last_try in false false false false false :; do
19052 . ./conf$$subs.sh ||
19053 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19055 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19056 if test $ac_delim_n = $ac_delim_num; then
19057 break
19058 elif $ac_last_try; then
19059 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19060 else
19061 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19063 done
19064 rm -f conf$$subs.sh
19066 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19067 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19068 _ACEOF
19069 sed -n '
19071 s/^/S["/; s/!.*/"]=/
19074 s/^[^!]*!//
19075 :repl
19076 t repl
19077 s/'"$ac_delim"'$//
19078 t delim
19081 s/\(.\{148\}\)..*/\1/
19082 t more1
19083 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19086 b repl
19087 :more1
19088 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19091 s/.\{148\}//
19092 t nl
19093 :delim
19095 s/\(.\{148\}\)..*/\1/
19096 t more2
19097 s/["\\]/\\&/g; s/^/"/; s/$/"/
19100 :more2
19101 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19104 s/.\{148\}//
19105 t delim
19106 ' <conf$$subs.awk | sed '
19107 /^[^""]/{
19109 s/\n//
19111 ' >>$CONFIG_STATUS || ac_write_fail=1
19112 rm -f conf$$subs.awk
19113 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19114 _ACAWK
19115 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19116 for (key in S) S_is_set[key] = 1
19117 FS = "\a"
19121 line = $ 0
19122 nfields = split(line, field, "@")
19123 substed = 0
19124 len = length(field[1])
19125 for (i = 2; i < nfields; i++) {
19126 key = field[i]
19127 keylen = length(key)
19128 if (S_is_set[key]) {
19129 value = S[key]
19130 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19131 len += length(value) + length(field[++i])
19132 substed = 1
19133 } else
19134 len += 1 + keylen
19137 print line
19140 _ACAWK
19141 _ACEOF
19142 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19143 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19144 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19145 else
19147 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19148 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19149 _ACEOF
19151 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19152 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19153 # trailing colons and then remove the whole line if VPATH becomes empty
19154 # (actually we leave an empty line to preserve line numbers).
19155 if test "x$srcdir" = x.; then
19156 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19158 s///
19159 s/^/:/
19160 s/[ ]*$/:/
19161 s/:\$(srcdir):/:/g
19162 s/:\${srcdir}:/:/g
19163 s/:@srcdir@:/:/g
19164 s/^:*//
19165 s/:*$//
19167 s/\(=[ ]*\).*/\1/
19169 s/\n//
19170 s/^[^=]*=[ ]*$//
19174 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19175 fi # test -n "$CONFIG_FILES"
19177 # Set up the scripts for CONFIG_HEADERS section.
19178 # No need to generate them if there are no CONFIG_HEADERS.
19179 # This happens for instance with `./config.status Makefile'.
19180 if test -n "$CONFIG_HEADERS"; then
19181 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19182 BEGIN {
19183 _ACEOF
19185 # Transform confdefs.h into an awk script `defines.awk', embedded as
19186 # here-document in config.status, that substitutes the proper values into
19187 # config.h.in to produce config.h.
19189 # Create a delimiter string that does not exist in confdefs.h, to ease
19190 # handling of long lines.
19191 ac_delim='%!_!# '
19192 for ac_last_try in false false :; do
19193 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19194 if test -z "$ac_tt"; then
19195 break
19196 elif $ac_last_try; then
19197 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19198 else
19199 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19201 done
19203 # For the awk script, D is an array of macro values keyed by name,
19204 # likewise P contains macro parameters if any. Preserve backslash
19205 # newline sequences.
19207 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19208 sed -n '
19209 s/.\{148\}/&'"$ac_delim"'/g
19210 t rset
19211 :rset
19212 s/^[ ]*#[ ]*define[ ][ ]*/ /
19213 t def
19215 :def
19216 s/\\$//
19217 t bsnl
19218 s/["\\]/\\&/g
19219 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19220 D["\1"]=" \3"/p
19221 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19223 :bsnl
19224 s/["\\]/\\&/g
19225 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19226 D["\1"]=" \3\\\\\\n"\\/p
19227 t cont
19228 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19229 t cont
19231 :cont
19233 s/.\{148\}/&'"$ac_delim"'/g
19234 t clear
19235 :clear
19236 s/\\$//
19237 t bsnlc
19238 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19240 :bsnlc
19241 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19242 b cont
19243 ' <confdefs.h | sed '
19244 s/'"$ac_delim"'/"\\\
19245 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19247 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19248 for (key in D) D_is_set[key] = 1
19249 FS = "\a"
19251 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19252 line = \$ 0
19253 split(line, arg, " ")
19254 if (arg[1] == "#") {
19255 defundef = arg[2]
19256 mac1 = arg[3]
19257 } else {
19258 defundef = substr(arg[1], 2)
19259 mac1 = arg[2]
19261 split(mac1, mac2, "(") #)
19262 macro = mac2[1]
19263 prefix = substr(line, 1, index(line, defundef) - 1)
19264 if (D_is_set[macro]) {
19265 # Preserve the white space surrounding the "#".
19266 print prefix "define", macro P[macro] D[macro]
19267 next
19268 } else {
19269 # Replace #undef with comments. This is necessary, for example,
19270 # in the case of _POSIX_SOURCE, which is predefined and required
19271 # on some systems where configure will not decide to define it.
19272 if (defundef == "undef") {
19273 print "/*", prefix defundef, macro, "*/"
19274 next
19278 { print }
19279 _ACAWK
19280 _ACEOF
19281 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19282 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19283 fi # test -n "$CONFIG_HEADERS"
19286 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19287 shift
19288 for ac_tag
19290 case $ac_tag in
19291 :[FHLC]) ac_mode=$ac_tag; continue;;
19292 esac
19293 case $ac_mode$ac_tag in
19294 :[FHL]*:*);;
19295 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19296 :[FH]-) ac_tag=-:-;;
19297 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19298 esac
19299 ac_save_IFS=$IFS
19300 IFS=:
19301 set x $ac_tag
19302 IFS=$ac_save_IFS
19303 shift
19304 ac_file=$1
19305 shift
19307 case $ac_mode in
19308 :L) ac_source=$1;;
19309 :[FH])
19310 ac_file_inputs=
19311 for ac_f
19313 case $ac_f in
19314 -) ac_f="$ac_tmp/stdin";;
19315 *) # Look for the file first in the build tree, then in the source tree
19316 # (if the path is not absolute). The absolute path cannot be DOS-style,
19317 # because $ac_f cannot contain `:'.
19318 test -f "$ac_f" ||
19319 case $ac_f in
19320 [\\/$]*) false;;
19321 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19322 esac ||
19323 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19324 esac
19325 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19326 as_fn_append ac_file_inputs " '$ac_f'"
19327 done
19329 # Let's still pretend it is `configure' which instantiates (i.e., don't
19330 # use $as_me), people would be surprised to read:
19331 # /* config.h. Generated by config.status. */
19332 configure_input='Generated from '`
19333 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19334 `' by configure.'
19335 if test x"$ac_file" != x-; then
19336 configure_input="$ac_file. $configure_input"
19337 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19338 $as_echo "$as_me: creating $ac_file" >&6;}
19340 # Neutralize special characters interpreted by sed in replacement strings.
19341 case $configure_input in #(
19342 *\&* | *\|* | *\\* )
19343 ac_sed_conf_input=`$as_echo "$configure_input" |
19344 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19345 *) ac_sed_conf_input=$configure_input;;
19346 esac
19348 case $ac_tag in
19349 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19350 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19351 esac
19353 esac
19355 ac_dir=`$as_dirname -- "$ac_file" ||
19356 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19357 X"$ac_file" : 'X\(//\)[^/]' \| \
19358 X"$ac_file" : 'X\(//\)$' \| \
19359 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19360 $as_echo X"$ac_file" |
19361 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19362 s//\1/
19365 /^X\(\/\/\)[^/].*/{
19366 s//\1/
19369 /^X\(\/\/\)$/{
19370 s//\1/
19373 /^X\(\/\).*/{
19374 s//\1/
19377 s/.*/./; q'`
19378 as_dir="$ac_dir"; as_fn_mkdir_p
19379 ac_builddir=.
19381 case "$ac_dir" in
19382 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19384 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19385 # A ".." for each directory in $ac_dir_suffix.
19386 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19387 case $ac_top_builddir_sub in
19388 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19389 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19390 esac ;;
19391 esac
19392 ac_abs_top_builddir=$ac_pwd
19393 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19394 # for backward compatibility:
19395 ac_top_builddir=$ac_top_build_prefix
19397 case $srcdir in
19398 .) # We are building in place.
19399 ac_srcdir=.
19400 ac_top_srcdir=$ac_top_builddir_sub
19401 ac_abs_top_srcdir=$ac_pwd ;;
19402 [\\/]* | ?:[\\/]* ) # Absolute name.
19403 ac_srcdir=$srcdir$ac_dir_suffix;
19404 ac_top_srcdir=$srcdir
19405 ac_abs_top_srcdir=$srcdir ;;
19406 *) # Relative name.
19407 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19408 ac_top_srcdir=$ac_top_build_prefix$srcdir
19409 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19410 esac
19411 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19414 case $ac_mode in
19417 # CONFIG_FILE
19420 _ACEOF
19422 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19423 # If the template does not know about datarootdir, expand it.
19424 # FIXME: This hack should be removed a few years after 2.60.
19425 ac_datarootdir_hack=; ac_datarootdir_seen=
19426 ac_sed_dataroot='
19427 /datarootdir/ {
19431 /@datadir@/p
19432 /@docdir@/p
19433 /@infodir@/p
19434 /@localedir@/p
19435 /@mandir@/p'
19436 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19437 *datarootdir*) ac_datarootdir_seen=yes;;
19438 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19440 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19441 _ACEOF
19442 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19443 ac_datarootdir_hack='
19444 s&@datadir@&$datadir&g
19445 s&@docdir@&$docdir&g
19446 s&@infodir@&$infodir&g
19447 s&@localedir@&$localedir&g
19448 s&@mandir@&$mandir&g
19449 s&\\\${datarootdir}&$datarootdir&g' ;;
19450 esac
19451 _ACEOF
19453 # Neutralize VPATH when `$srcdir' = `.'.
19454 # Shell code in configure.ac might set extrasub.
19455 # FIXME: do we really want to maintain this feature?
19456 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19457 ac_sed_extra="$ac_vpsub
19458 $extrasub
19459 _ACEOF
19460 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19462 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19463 s|@configure_input@|$ac_sed_conf_input|;t t
19464 s&@top_builddir@&$ac_top_builddir_sub&;t t
19465 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19466 s&@srcdir@&$ac_srcdir&;t t
19467 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19468 s&@top_srcdir@&$ac_top_srcdir&;t t
19469 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19470 s&@builddir@&$ac_builddir&;t t
19471 s&@abs_builddir@&$ac_abs_builddir&;t t
19472 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19473 $ac_datarootdir_hack
19475 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19476 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19478 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19479 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19480 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19481 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19483 which seems to be undefined. Please make sure it is defined" >&5
19484 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19485 which seems to be undefined. Please make sure it is defined" >&2;}
19487 rm -f "$ac_tmp/stdin"
19488 case $ac_file in
19489 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19490 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19491 esac \
19492 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19496 # CONFIG_HEADER
19498 if test x"$ac_file" != x-; then
19500 $as_echo "/* $configure_input */" \
19501 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19502 } >"$ac_tmp/config.h" \
19503 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19504 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19505 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19506 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19507 else
19508 rm -f "$ac_file"
19509 mv "$ac_tmp/config.h" "$ac_file" \
19510 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19512 else
19513 $as_echo "/* $configure_input */" \
19514 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19515 || as_fn_error $? "could not create -" "$LINENO" 5
19520 # CONFIG_LINK
19523 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19525 else
19526 # Prefer the file from the source tree if names are identical.
19527 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19528 ac_source=$srcdir/$ac_source
19531 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19532 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19534 if test ! -r "$ac_source"; then
19535 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19537 rm -f "$ac_file"
19539 # Try a relative symlink, then a hard link, then a copy.
19540 case $ac_source in
19541 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19542 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19543 esac
19544 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19545 ln "$ac_source" "$ac_file" 2>/dev/null ||
19546 cp -p "$ac_source" "$ac_file" ||
19547 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19550 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19551 $as_echo "$as_me: executing $ac_file commands" >&6;}
19553 esac
19556 case $ac_file$ac_mode in
19557 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19558 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19559 "Makefile":C) wine_fn_output_makefile Makefile ;;
19560 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19562 esac
19563 done # for ac_tag
19566 as_fn_exit 0
19567 _ACEOF
19568 ac_clean_files=$ac_clean_files_save
19570 test $ac_write_fail = 0 ||
19571 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19574 # configure is writing to config.log, and then calls config.status.
19575 # config.status does its own redirection, appending to config.log.
19576 # Unfortunately, on DOS this fails, as config.log is still kept open
19577 # by configure, so config.status won't be able to write to it; its
19578 # output is simply discarded. So we exec the FD to /dev/null,
19579 # effectively closing config.log, so it can be properly (re)opened and
19580 # appended to by config.status. When coming back to configure, we
19581 # need to make the FD available again.
19582 if test "$no_create" != yes; then
19583 ac_cs_success=:
19584 ac_config_status_args=
19585 test "$silent" = yes &&
19586 ac_config_status_args="$ac_config_status_args --quiet"
19587 exec 5>/dev/null
19588 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19589 exec 5>>config.log
19590 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19591 # would make configure fail if this is the last instruction.
19592 $ac_cs_success || as_fn_exit 1
19594 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19596 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19600 if test "$no_create" = "yes"
19601 then
19602 exit 0
19605 ac_save_IFS="$IFS"
19606 if test "x$wine_notices != "x; then
19607 echo >&6
19608 IFS="|"
19609 for msg in $wine_notices; do
19610 IFS="$ac_save_IFS"
19611 if ${msg:+false} :; then :
19613 else
19614 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19615 $as_echo "$as_me: $msg" >&6;}
19617 done
19619 IFS="|"
19620 for msg in $wine_warnings; do
19621 IFS="$ac_save_IFS"
19622 if ${msg:+false} :; then :
19624 else
19625 echo >&2
19626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19627 $as_echo "$as_me: WARNING: $msg" >&2;}
19629 done
19630 IFS="$ac_save_IFS"
19632 $as_echo "
19633 $as_me: Finished. Do '${ac_make}' to compile Wine.
19634 " >&6