psapi/tests: Remove bad test.
[wine/multimedia.git] / configure
blobcc39d2025d2b6cbf497ba63daf74550f7f3385e9
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 BUILTINFLAG
636 EXTRACFLAGS
637 PROCSTAT_LIBS
638 KSTAT_LIBS
639 MPG123_LIBS
640 MPG123_CFLAGS
641 TIFF_LIBS
642 TIFF_CFLAGS
643 PNG_LIBS
644 PNG_CFLAGS
645 JPEG_LIBS
646 JPEG_CFLAGS
647 FONTCONFIG_LIBS
648 FONTCONFIG_CFLAGS
649 CUPS_CFLAGS
650 CAPI20_LIBS
651 CAPI20_CFLAGS
652 OSS4_CFLAGS
653 ALSA_LIBS
654 GSTREAMER_LIBS
655 GSTREAMER_CFLAGS
656 GETTEXTPO_LIBS
657 Z_LIBS
658 FREETYPE_LIBS
659 FREETYPE_CFLAGS
660 LCMS2_LIBS
661 LCMS2_CFLAGS
662 RESOLV_LIBS
663 GPHOTO2_PORT_LIBS
664 GPHOTO2_PORT_CFLAGS
665 GPHOTO2_LIBS
666 GPHOTO2_CFLAGS
667 SANE_LIBS
668 SANE_CFLAGS
669 GNUTLS_LIBS
670 GNUTLS_CFLAGS
671 HAL_LIBS
672 HAL_CFLAGS
673 DBUS_LIBS
674 DBUS_CFLAGS
675 XSLT_LIBS
676 XSLT_CFLAGS
677 XML2_LIBS
678 XML2_CFLAGS
679 LIBPCAP
680 X_EXTRA_LIBS
681 X_LIBS
682 X_PRE_LIBS
683 X_CFLAGS
684 XMKMF
685 PTHREAD_LIBS
686 CROSSCC
687 CROSSTARGET
688 PRELINK
689 CARBON_LIBS
690 QUICKTIME_LIBS
691 OPENCL_LIBS
692 OPENAL_LIBS
693 COREAUDIO_LIBS
694 SECURITY_LIBS
695 DISKARBITRATION_LIBS
696 APPKIT_LIBS
697 CORESERVICES_LIBS
698 APPLICATIONSERVICES_LIBS
699 FORCEFEEDBACK_LIBS
700 IOKIT_LIBS
701 COREFOUNDATION_LIBS
702 LIBWINE_RULES
703 SOCKET_LIBS
704 DLLTOOL
705 LOADER_RULES
706 ALL_TEST_RESOURCES
707 READELF
708 OTOOL
710 LDRPATH_LOCAL
711 LDRPATH_INSTALL
712 DLLFLAGS
713 DLLPREFIX
714 dlldir
716 OPENGL_LIBS
717 ICOTOOL
718 CONVERT
719 RSVG
720 FONTFORGE
721 PKG_CONFIG
722 MSGFMT
723 LDCONFIG
724 EGREP
725 GREP
726 LN_S
727 RANLIB
728 ARFLAGS
729 STRIP
730 ac_ct_AR
732 BISON
733 FLEX
734 TOOLSDIR
735 TARGETFLAGS
737 CPPBIN
738 ac_ct_CXX
739 CXXFLAGS
741 OBJEXT
742 EXEEXT
743 ac_ct_CC
744 CPPFLAGS
745 LDFLAGS
746 CFLAGS
748 SET_MAKE
749 host_os
750 host_vendor
751 host_cpu
752 host
753 build_os
754 build_vendor
755 build_cpu
756 build
757 target_alias
758 host_alias
759 build_alias
760 LIBS
761 ECHO_T
762 ECHO_N
763 ECHO_C
764 DEFS
765 mandir
766 localedir
767 libdir
768 psdir
769 pdfdir
770 dvidir
771 htmldir
772 infodir
773 docdir
774 oldincludedir
775 includedir
776 runstatedir
777 localstatedir
778 sharedstatedir
779 sysconfdir
780 datadir
781 datarootdir
782 libexecdir
783 sbindir
784 bindir
785 program_transform_name
786 prefix
787 exec_prefix
788 PACKAGE_URL
789 PACKAGE_BUGREPORT
790 PACKAGE_STRING
791 PACKAGE_VERSION
792 PACKAGE_TARNAME
793 PACKAGE_NAME
794 PATH_SEPARATOR
795 SHELL'
796 ac_subst_files=''
797 ac_user_opts='
798 enable_option_checking
799 enable_win16
800 enable_win64
801 enable_tests
802 enable_maintainer_mode
803 with_alsa
804 with_capi
805 with_cms
806 with_coreaudio
807 with_cups
808 with_curses
809 with_dbus
810 with_fontconfig
811 with_freetype
812 with_gettext
813 with_gettextpo
814 with_gphoto
815 with_glu
816 with_gnutls
817 with_gsm
818 with_gstreamer
819 with_hal
820 with_jpeg
821 with_ldap
822 with_mpg123
823 with_netapi
824 with_openal
825 with_opencl
826 with_opengl
827 with_osmesa
828 with_oss
829 with_pcap
830 with_png
831 with_pthread
832 with_sane
833 with_tiff
834 with_v4l
835 with_xcomposite
836 with_xcursor
837 with_xinerama
838 with_xinput
839 with_xinput2
840 with_xml
841 with_xrandr
842 with_xrender
843 with_xshape
844 with_xshm
845 with_xslt
846 with_xxf86vm
847 with_zlib
848 with_wine_tools
849 with_wine64
850 enable_largefile
851 with_x
852 enable_acledit
853 enable_aclui
854 enable_activeds
855 enable_actxprxy
856 enable_advapi32
857 enable_advpack
858 enable_amstream
859 enable_api_ms_win_core_com_l1_1_0
860 enable_api_ms_win_core_console_l1_1_0
861 enable_api_ms_win_core_datetime_l1_1_0
862 enable_api_ms_win_core_datetime_l1_1_1
863 enable_api_ms_win_core_debug_l1_1_0
864 enable_api_ms_win_core_debug_l1_1_1
865 enable_api_ms_win_core_errorhandling_l1_1_0
866 enable_api_ms_win_core_errorhandling_l1_1_1
867 enable_api_ms_win_core_errorhandling_l1_1_2
868 enable_api_ms_win_core_fibers_l1_1_0
869 enable_api_ms_win_core_fibers_l1_1_1
870 enable_api_ms_win_core_file_l1_1_0
871 enable_api_ms_win_core_file_l1_2_0
872 enable_api_ms_win_core_file_l2_1_0
873 enable_api_ms_win_core_file_l2_1_1
874 enable_api_ms_win_core_handle_l1_1_0
875 enable_api_ms_win_core_heap_l1_1_0
876 enable_api_ms_win_core_heap_l1_2_0
877 enable_api_ms_win_core_heap_obsolete_l1_1_0
878 enable_api_ms_win_core_interlocked_l1_1_0
879 enable_api_ms_win_core_interlocked_l1_2_0
880 enable_api_ms_win_core_io_l1_1_1
881 enable_api_ms_win_core_kernel32_legacy_l1_1_0
882 enable_api_ms_win_core_libraryloader_l1_1_0
883 enable_api_ms_win_core_libraryloader_l1_1_1
884 enable_api_ms_win_core_localization_l1_2_0
885 enable_api_ms_win_core_localization_l1_2_1
886 enable_api_ms_win_core_localization_obsolete_l1_1_0
887 enable_api_ms_win_core_localregistry_l1_1_0
888 enable_api_ms_win_core_memory_l1_1_0
889 enable_api_ms_win_core_memory_l1_1_1
890 enable_api_ms_win_core_misc_l1_1_0
891 enable_api_ms_win_core_namedpipe_l1_1_0
892 enable_api_ms_win_core_namedpipe_l1_2_0
893 enable_api_ms_win_core_processenvironment_l1_1_0
894 enable_api_ms_win_core_processenvironment_l1_2_0
895 enable_api_ms_win_core_processthreads_l1_1_0
896 enable_api_ms_win_core_processthreads_l1_1_1
897 enable_api_ms_win_core_processthreads_l1_1_2
898 enable_api_ms_win_core_profile_l1_1_0
899 enable_api_ms_win_core_psapi_l1_1_0
900 enable_api_ms_win_core_registry_l1_1_0
901 enable_api_ms_win_core_rtlsupport_l1_1_0
902 enable_api_ms_win_core_rtlsupport_l1_2_0
903 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
904 enable_api_ms_win_core_string_l1_1_0
905 enable_api_ms_win_core_synch_l1_1_0
906 enable_api_ms_win_core_synch_l1_2_0
907 enable_api_ms_win_core_sysinfo_l1_1_0
908 enable_api_ms_win_core_sysinfo_l1_2_0
909 enable_api_ms_win_core_sysinfo_l1_2_1
910 enable_api_ms_win_core_threadpool_legacy_l1_1_0
911 enable_api_ms_win_core_timezone_l1_1_0
912 enable_api_ms_win_core_url_l1_1_0
913 enable_api_ms_win_core_util_l1_1_0
914 enable_api_ms_win_core_winrt_error_l1_1_0
915 enable_api_ms_win_core_winrt_error_l1_1_1
916 enable_api_ms_win_core_winrt_l1_1_0
917 enable_api_ms_win_core_winrt_string_l1_1_0
918 enable_api_ms_win_core_xstate_l2_1_0
919 enable_api_ms_win_crt_conio_l1_1_0
920 enable_api_ms_win_crt_convert_l1_1_0
921 enable_api_ms_win_crt_environment_l1_1_0
922 enable_api_ms_win_crt_filesystem_l1_1_0
923 enable_api_ms_win_crt_heap_l1_1_0
924 enable_api_ms_win_crt_locale_l1_1_0
925 enable_api_ms_win_crt_math_l1_1_0
926 enable_api_ms_win_crt_multibyte_l1_1_0
927 enable_api_ms_win_crt_private_l1_1_0
928 enable_api_ms_win_crt_process_l1_1_0
929 enable_api_ms_win_crt_runtime_l1_1_0
930 enable_api_ms_win_crt_stdio_l1_1_0
931 enable_api_ms_win_crt_string_l1_1_0
932 enable_api_ms_win_crt_time_l1_1_0
933 enable_api_ms_win_crt_utility_l1_1_0
934 enable_api_ms_win_downlevel_advapi32_l1_1_0
935 enable_api_ms_win_downlevel_advapi32_l2_1_0
936 enable_api_ms_win_downlevel_normaliz_l1_1_0
937 enable_api_ms_win_downlevel_ole32_l1_1_0
938 enable_api_ms_win_downlevel_shell32_l1_1_0
939 enable_api_ms_win_downlevel_shlwapi_l1_1_0
940 enable_api_ms_win_downlevel_shlwapi_l2_1_0
941 enable_api_ms_win_downlevel_user32_l1_1_0
942 enable_api_ms_win_downlevel_version_l1_1_0
943 enable_api_ms_win_eventing_provider_l1_1_0
944 enable_api_ms_win_ntuser_dc_access_l1_1_0
945 enable_api_ms_win_security_base_l1_1_0
946 enable_api_ms_win_security_base_l1_2_0
947 enable_api_ms_win_security_sddl_l1_1_0
948 enable_api_ms_win_service_core_l1_1_1
949 enable_api_ms_win_service_management_l1_1_0
950 enable_api_ms_win_service_winsvc_l1_2_0
951 enable_apphelp
952 enable_appwiz_cpl
953 enable_atl
954 enable_atl100
955 enable_atl110
956 enable_atl80
957 enable_atl90
958 enable_authz
959 enable_avicap32
960 enable_avifil32
961 enable_avrt
962 enable_bcrypt
963 enable_browseui
964 enable_cabinet
965 enable_capi2032
966 enable_cards
967 enable_cfgmgr32
968 enable_clusapi
969 enable_combase
970 enable_comcat
971 enable_comctl32
972 enable_comdlg32
973 enable_compstui
974 enable_comsvcs
975 enable_connect
976 enable_credui
977 enable_crtdll
978 enable_crypt32
979 enable_cryptdlg
980 enable_cryptdll
981 enable_cryptext
982 enable_cryptnet
983 enable_cryptui
984 enable_ctapi32
985 enable_ctl3d32
986 enable_d2d1
987 enable_d3d10
988 enable_d3d10_1
989 enable_d3d10core
990 enable_d3d11
991 enable_d3d8
992 enable_d3d9
993 enable_d3dcompiler_33
994 enable_d3dcompiler_34
995 enable_d3dcompiler_35
996 enable_d3dcompiler_36
997 enable_d3dcompiler_37
998 enable_d3dcompiler_38
999 enable_d3dcompiler_39
1000 enable_d3dcompiler_40
1001 enable_d3dcompiler_41
1002 enable_d3dcompiler_42
1003 enable_d3dcompiler_43
1004 enable_d3dcompiler_46
1005 enable_d3dcompiler_47
1006 enable_d3dim
1007 enable_d3drm
1008 enable_d3dx10_33
1009 enable_d3dx10_34
1010 enable_d3dx10_35
1011 enable_d3dx10_36
1012 enable_d3dx10_37
1013 enable_d3dx10_38
1014 enable_d3dx10_39
1015 enable_d3dx10_40
1016 enable_d3dx10_41
1017 enable_d3dx10_42
1018 enable_d3dx10_43
1019 enable_d3dx11_42
1020 enable_d3dx11_43
1021 enable_d3dx9_24
1022 enable_d3dx9_25
1023 enable_d3dx9_26
1024 enable_d3dx9_27
1025 enable_d3dx9_28
1026 enable_d3dx9_29
1027 enable_d3dx9_30
1028 enable_d3dx9_31
1029 enable_d3dx9_32
1030 enable_d3dx9_33
1031 enable_d3dx9_34
1032 enable_d3dx9_35
1033 enable_d3dx9_36
1034 enable_d3dx9_37
1035 enable_d3dx9_38
1036 enable_d3dx9_39
1037 enable_d3dx9_40
1038 enable_d3dx9_41
1039 enable_d3dx9_42
1040 enable_d3dx9_43
1041 enable_d3dxof
1042 enable_davclnt
1043 enable_dbgeng
1044 enable_dbghelp
1045 enable_dciman32
1046 enable_ddraw
1047 enable_ddrawex
1048 enable_devenum
1049 enable_dhcpcsvc
1050 enable_difxapi
1051 enable_dinput
1052 enable_dinput8
1053 enable_dispex
1054 enable_dmband
1055 enable_dmcompos
1056 enable_dmime
1057 enable_dmloader
1058 enable_dmscript
1059 enable_dmstyle
1060 enable_dmsynth
1061 enable_dmusic
1062 enable_dmusic32
1063 enable_dnsapi
1064 enable_dplay
1065 enable_dplayx
1066 enable_dpnaddr
1067 enable_dpnet
1068 enable_dpnhpast
1069 enable_dpnlobby
1070 enable_dpvoice
1071 enable_dpwsockx
1072 enable_drmclien
1073 enable_dsound
1074 enable_dssenh
1075 enable_dswave
1076 enable_dwmapi
1077 enable_dwrite
1078 enable_dxdiagn
1079 enable_dxgi
1080 enable_dxva2
1081 enable_esent
1082 enable_evr
1083 enable_explorerframe
1084 enable_ext_ms_win_gdi_devcaps_l1_1_0
1085 enable_faultrep
1086 enable_fltlib
1087 enable_fntcache
1088 enable_fontsub
1089 enable_fusion
1090 enable_fwpuclnt
1091 enable_gameux
1092 enable_gdi32
1093 enable_gdiplus
1094 enable_glu32
1095 enable_gphoto2_ds
1096 enable_gpkcsp
1097 enable_hal
1098 enable_hhctrl_ocx
1099 enable_hid
1100 enable_hidclass_sys
1101 enable_hlink
1102 enable_hnetcfg
1103 enable_httpapi
1104 enable_iccvid
1105 enable_icmp
1106 enable_ieframe
1107 enable_imaadp32_acm
1108 enable_imagehlp
1109 enable_imm32
1110 enable_inetcomm
1111 enable_inetcpl_cpl
1112 enable_inetmib1
1113 enable_infosoft
1114 enable_initpki
1115 enable_inkobj
1116 enable_inseng
1117 enable_iphlpapi
1118 enable_itircl
1119 enable_itss
1120 enable_joy_cpl
1121 enable_jscript
1122 enable_jsproxy
1123 enable_kernel32
1124 enable_ksuser
1125 enable_ktmw32
1126 enable_loadperf
1127 enable_localspl
1128 enable_localui
1129 enable_lz32
1130 enable_mapi32
1131 enable_mapistub
1132 enable_mciavi32
1133 enable_mcicda
1134 enable_mciqtz32
1135 enable_mciseq
1136 enable_mciwave
1137 enable_mf
1138 enable_mfplat
1139 enable_mfreadwrite
1140 enable_mgmtapi
1141 enable_midimap
1142 enable_mlang
1143 enable_mmcndmgr
1144 enable_mmdevapi
1145 enable_mountmgr_sys
1146 enable_mpr
1147 enable_mprapi
1148 enable_msacm32_drv
1149 enable_msacm32
1150 enable_msadp32_acm
1151 enable_msasn1
1152 enable_mscat32
1153 enable_mscms
1154 enable_mscoree
1155 enable_msctf
1156 enable_msctfp
1157 enable_msdaps
1158 enable_msdelta
1159 enable_msdmo
1160 enable_msftedit
1161 enable_msg711_acm
1162 enable_msgsm32_acm
1163 enable_mshtml_tlb
1164 enable_mshtml
1165 enable_msi
1166 enable_msident
1167 enable_msimg32
1168 enable_msimsg
1169 enable_msimtf
1170 enable_msisip
1171 enable_msisys_ocx
1172 enable_msls31
1173 enable_msnet32
1174 enable_mspatcha
1175 enable_msrle32
1176 enable_msscript_ocx
1177 enable_mssign32
1178 enable_mssip32
1179 enable_mstask
1180 enable_msvcirt
1181 enable_msvcm80
1182 enable_msvcm90
1183 enable_msvcp100
1184 enable_msvcp110
1185 enable_msvcp120
1186 enable_msvcp120_app
1187 enable_msvcp60
1188 enable_msvcp70
1189 enable_msvcp71
1190 enable_msvcp80
1191 enable_msvcp90
1192 enable_msvcr100
1193 enable_msvcr110
1194 enable_msvcr120
1195 enable_msvcr120_app
1196 enable_msvcr70
1197 enable_msvcr71
1198 enable_msvcr80
1199 enable_msvcr90
1200 enable_msvcrt
1201 enable_msvcrt20
1202 enable_msvcrt40
1203 enable_msvcrtd
1204 enable_msvfw32
1205 enable_msvidc32
1206 enable_mswsock
1207 enable_msxml
1208 enable_msxml2
1209 enable_msxml3
1210 enable_msxml4
1211 enable_msxml6
1212 enable_nddeapi
1213 enable_ndis_sys
1214 enable_netapi32
1215 enable_netcfgx
1216 enable_netprofm
1217 enable_newdev
1218 enable_normaliz
1219 enable_npmshtml
1220 enable_npptools
1221 enable_ntdll
1222 enable_ntdsapi
1223 enable_ntoskrnl_exe
1224 enable_ntprint
1225 enable_objsel
1226 enable_odbc32
1227 enable_odbccp32
1228 enable_odbccu32
1229 enable_ole32
1230 enable_oleacc
1231 enable_oleaut32
1232 enable_olecli32
1233 enable_oledb32
1234 enable_oledlg
1235 enable_olepro32
1236 enable_olesvr32
1237 enable_olethk32
1238 enable_openal32
1239 enable_opencl
1240 enable_opengl32
1241 enable_packager
1242 enable_pdh
1243 enable_photometadatahandler
1244 enable_pidgen
1245 enable_powrprof
1246 enable_printui
1247 enable_prntvpt
1248 enable_propsys
1249 enable_psapi
1250 enable_pstorec
1251 enable_qcap
1252 enable_qedit
1253 enable_qmgr
1254 enable_qmgrprxy
1255 enable_quartz
1256 enable_query
1257 enable_rasapi32
1258 enable_rasdlg
1259 enable_regapi
1260 enable_resutils
1261 enable_riched20
1262 enable_riched32
1263 enable_rpcrt4
1264 enable_rsabase
1265 enable_rsaenh
1266 enable_rstrtmgr
1267 enable_rtutils
1268 enable_samlib
1269 enable_sane_ds
1270 enable_scarddlg
1271 enable_sccbase
1272 enable_schannel
1273 enable_schedsvc
1274 enable_scrrun
1275 enable_scsiport_sys
1276 enable_secur32
1277 enable_security
1278 enable_sensapi
1279 enable_serialui
1280 enable_setupapi
1281 enable_sfc
1282 enable_sfc_os
1283 enable_shdoclc
1284 enable_shdocvw
1285 enable_shell32
1286 enable_shfolder
1287 enable_shlwapi
1288 enable_slbcsp
1289 enable_slc
1290 enable_snmpapi
1291 enable_softpub
1292 enable_spoolss
1293 enable_stdole2_tlb
1294 enable_stdole32_tlb
1295 enable_sti
1296 enable_svrapi
1297 enable_sxs
1298 enable_t2embed
1299 enable_tapi32
1300 enable_taskschd
1301 enable_traffic
1302 enable_twain_32
1303 enable_ucrtbase
1304 enable_unicows
1305 enable_updspapi
1306 enable_url
1307 enable_urlmon
1308 enable_usbd_sys
1309 enable_user32
1310 enable_userenv
1311 enable_usp10
1312 enable_uxtheme
1313 enable_vbscript
1314 enable_vcomp
1315 enable_vcomp100
1316 enable_vcomp110
1317 enable_vcomp90
1318 enable_vdmdbg
1319 enable_version
1320 enable_vssapi
1321 enable_wbemdisp
1322 enable_wbemprox
1323 enable_webservices
1324 enable_wer
1325 enable_wevtapi
1326 enable_wiaservc
1327 enable_windowscodecs
1328 enable_windowscodecsext
1329 enable_winealsa_drv
1330 enable_winecoreaudio_drv
1331 enable_wined3d
1332 enable_winegstreamer
1333 enable_winejoystick_drv
1334 enable_winemac_drv
1335 enable_winemapi
1336 enable_winemp3_acm
1337 enable_wineoss_drv
1338 enable_wineps_drv
1339 enable_wineqtdecoder
1340 enable_winex11_drv
1341 enable_wing32
1342 enable_winhttp
1343 enable_wininet
1344 enable_winmm
1345 enable_winnls32
1346 enable_winscard
1347 enable_winspool_drv
1348 enable_winsta
1349 enable_wintab32
1350 enable_wintrust
1351 enable_wlanapi
1352 enable_wldap32
1353 enable_wmi
1354 enable_wmiutils
1355 enable_wmp
1356 enable_wmvcore
1357 enable_wnaspi32
1358 enable_wpcap
1359 enable_ws2_32
1360 enable_wshom_ocx
1361 enable_wsnmp32
1362 enable_wsock32
1363 enable_wtsapi32
1364 enable_wuapi
1365 enable_wuaueng
1366 enable_x3daudio1_1
1367 enable_x3daudio1_2
1368 enable_x3daudio1_3
1369 enable_x3daudio1_4
1370 enable_x3daudio1_5
1371 enable_x3daudio1_6
1372 enable_x3daudio1_7
1373 enable_xapofx1_1
1374 enable_xapofx1_3
1375 enable_xapofx1_4
1376 enable_xapofx1_5
1377 enable_xaudio2_7
1378 enable_xaudio2_8
1379 enable_xinput1_1
1380 enable_xinput1_2
1381 enable_xinput1_3
1382 enable_xinput1_4
1383 enable_xinput9_1_0
1384 enable_xmllite
1385 enable_xolehlp
1386 enable_xpsprint
1387 enable_xpssvcs
1388 enable_documentation
1389 enable_fonts
1390 enable_include
1391 enable_libs_port
1392 enable_libs_wine
1393 enable_libs_wpp
1394 enable_loader
1395 enable_arp
1396 enable_aspnet_regiis
1397 enable_attrib
1398 enable_cabarc
1399 enable_cacls
1400 enable_clock
1401 enable_cmd
1402 enable_conhost
1403 enable_control
1404 enable_cscript
1405 enable_dpnsvr
1406 enable_dxdiag
1407 enable_eject
1408 enable_expand
1409 enable_explorer
1410 enable_extrac32
1411 enable_findstr
1412 enable_hh
1413 enable_hostname
1414 enable_icinfo
1415 enable_iexplore
1416 enable_ipconfig
1417 enable_lodctr
1418 enable_mofcomp
1419 enable_mshta
1420 enable_msiexec
1421 enable_net
1422 enable_netsh
1423 enable_netstat
1424 enable_ngen
1425 enable_notepad
1426 enable_oleview
1427 enable_ping
1428 enable_plugplay
1429 enable_presentationfontcache
1430 enable_progman
1431 enable_reg
1432 enable_regasm
1433 enable_regedit
1434 enable_regsvcs
1435 enable_regsvr32
1436 enable_rpcss
1437 enable_rundll32
1438 enable_sc
1439 enable_schtasks
1440 enable_sdbinst
1441 enable_secedit
1442 enable_servicemodelreg
1443 enable_services
1444 enable_spoolsv
1445 enable_start
1446 enable_svchost
1447 enable_systeminfo
1448 enable_taskkill
1449 enable_tasklist
1450 enable_taskmgr
1451 enable_termsv
1452 enable_uninstaller
1453 enable_unlodctr
1454 enable_view
1455 enable_wevtutil
1456 enable_wineboot
1457 enable_winebrowser
1458 enable_winecfg
1459 enable_wineconsole
1460 enable_winedbg
1461 enable_winedevice
1462 enable_winefile
1463 enable_winemenubuilder
1464 enable_winemine
1465 enable_winemsibuilder
1466 enable_winepath
1467 enable_winetest
1468 enable_winhlp32
1469 enable_winver
1470 enable_wmic
1471 enable_wordpad
1472 enable_write
1473 enable_wscript
1474 enable_wusa
1475 enable_xcopy
1476 enable_server
1477 enable_tools
1479 ac_precious_vars='build_alias
1480 host_alias
1481 target_alias
1483 CFLAGS
1484 LDFLAGS
1485 LIBS
1486 CPPFLAGS
1488 CXXFLAGS
1491 XMKMF
1492 XML2_CFLAGS
1493 XML2_LIBS
1494 XSLT_CFLAGS
1495 XSLT_LIBS
1496 DBUS_CFLAGS
1497 DBUS_LIBS
1498 HAL_CFLAGS
1499 HAL_LIBS
1500 GNUTLS_CFLAGS
1501 GNUTLS_LIBS
1502 SANE_CFLAGS
1503 SANE_LIBS
1504 GPHOTO2_CFLAGS
1505 GPHOTO2_LIBS
1506 GPHOTO2_PORT_CFLAGS
1507 GPHOTO2_PORT_LIBS
1508 LCMS2_CFLAGS
1509 LCMS2_LIBS
1510 FREETYPE_CFLAGS
1511 FREETYPE_LIBS
1512 GSTREAMER_CFLAGS
1513 GSTREAMER_LIBS
1514 CAPI20_CFLAGS
1515 CAPI20_LIBS
1516 FONTCONFIG_CFLAGS
1517 FONTCONFIG_LIBS
1518 JPEG_CFLAGS
1519 JPEG_LIBS
1520 PNG_CFLAGS
1521 PNG_LIBS
1522 TIFF_CFLAGS
1523 TIFF_LIBS
1524 MPG123_CFLAGS
1525 MPG123_LIBS'
1528 # Initialize some variables set by options.
1529 ac_init_help=
1530 ac_init_version=false
1531 ac_unrecognized_opts=
1532 ac_unrecognized_sep=
1533 # The variables have the same names as the options, with
1534 # dashes changed to underlines.
1535 cache_file=/dev/null
1536 exec_prefix=NONE
1537 no_create=
1538 no_recursion=
1539 prefix=NONE
1540 program_prefix=NONE
1541 program_suffix=NONE
1542 program_transform_name=s,x,x,
1543 silent=
1544 site=
1545 srcdir=
1546 verbose=
1547 x_includes=NONE
1548 x_libraries=NONE
1550 # Installation directory options.
1551 # These are left unexpanded so users can "make install exec_prefix=/foo"
1552 # and all the variables that are supposed to be based on exec_prefix
1553 # by default will actually change.
1554 # Use braces instead of parens because sh, perl, etc. also accept them.
1555 # (The list follows the same order as the GNU Coding Standards.)
1556 bindir='${exec_prefix}/bin'
1557 sbindir='${exec_prefix}/sbin'
1558 libexecdir='${exec_prefix}/libexec'
1559 datarootdir='${prefix}/share'
1560 datadir='${datarootdir}'
1561 sysconfdir='${prefix}/etc'
1562 sharedstatedir='${prefix}/com'
1563 localstatedir='${prefix}/var'
1564 runstatedir='${localstatedir}/run'
1565 includedir='${prefix}/include'
1566 oldincludedir='/usr/include'
1567 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1568 infodir='${datarootdir}/info'
1569 htmldir='${docdir}'
1570 dvidir='${docdir}'
1571 pdfdir='${docdir}'
1572 psdir='${docdir}'
1573 libdir='${exec_prefix}/lib'
1574 localedir='${datarootdir}/locale'
1575 mandir='${datarootdir}/man'
1577 ac_prev=
1578 ac_dashdash=
1579 for ac_option
1581 # If the previous option needs an argument, assign it.
1582 if test -n "$ac_prev"; then
1583 eval $ac_prev=\$ac_option
1584 ac_prev=
1585 continue
1588 case $ac_option in
1589 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1590 *=) ac_optarg= ;;
1591 *) ac_optarg=yes ;;
1592 esac
1594 # Accept the important Cygnus configure options, so we can diagnose typos.
1596 case $ac_dashdash$ac_option in
1598 ac_dashdash=yes ;;
1600 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1601 ac_prev=bindir ;;
1602 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1603 bindir=$ac_optarg ;;
1605 -build | --build | --buil | --bui | --bu)
1606 ac_prev=build_alias ;;
1607 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1608 build_alias=$ac_optarg ;;
1610 -cache-file | --cache-file | --cache-fil | --cache-fi \
1611 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1612 ac_prev=cache_file ;;
1613 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1614 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1615 cache_file=$ac_optarg ;;
1617 --config-cache | -C)
1618 cache_file=config.cache ;;
1620 -datadir | --datadir | --datadi | --datad)
1621 ac_prev=datadir ;;
1622 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1623 datadir=$ac_optarg ;;
1625 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1626 | --dataroo | --dataro | --datar)
1627 ac_prev=datarootdir ;;
1628 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1629 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1630 datarootdir=$ac_optarg ;;
1632 -disable-* | --disable-*)
1633 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1634 # Reject names that are not valid shell variable names.
1635 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1636 as_fn_error $? "invalid feature name: $ac_useropt"
1637 ac_useropt_orig=$ac_useropt
1638 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1639 case $ac_user_opts in
1641 "enable_$ac_useropt"
1642 "*) ;;
1643 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1644 ac_unrecognized_sep=', ';;
1645 esac
1646 eval enable_$ac_useropt=no ;;
1648 -docdir | --docdir | --docdi | --doc | --do)
1649 ac_prev=docdir ;;
1650 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1651 docdir=$ac_optarg ;;
1653 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1654 ac_prev=dvidir ;;
1655 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1656 dvidir=$ac_optarg ;;
1658 -enable-* | --enable-*)
1659 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1660 # Reject names that are not valid shell variable names.
1661 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1662 as_fn_error $? "invalid feature name: $ac_useropt"
1663 ac_useropt_orig=$ac_useropt
1664 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1665 case $ac_user_opts in
1667 "enable_$ac_useropt"
1668 "*) ;;
1669 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1670 ac_unrecognized_sep=', ';;
1671 esac
1672 eval enable_$ac_useropt=\$ac_optarg ;;
1674 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1675 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1676 | --exec | --exe | --ex)
1677 ac_prev=exec_prefix ;;
1678 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1679 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1680 | --exec=* | --exe=* | --ex=*)
1681 exec_prefix=$ac_optarg ;;
1683 -gas | --gas | --ga | --g)
1684 # Obsolete; use --with-gas.
1685 with_gas=yes ;;
1687 -help | --help | --hel | --he | -h)
1688 ac_init_help=long ;;
1689 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1690 ac_init_help=recursive ;;
1691 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1692 ac_init_help=short ;;
1694 -host | --host | --hos | --ho)
1695 ac_prev=host_alias ;;
1696 -host=* | --host=* | --hos=* | --ho=*)
1697 host_alias=$ac_optarg ;;
1699 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1700 ac_prev=htmldir ;;
1701 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1702 | --ht=*)
1703 htmldir=$ac_optarg ;;
1705 -includedir | --includedir | --includedi | --included | --include \
1706 | --includ | --inclu | --incl | --inc)
1707 ac_prev=includedir ;;
1708 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1709 | --includ=* | --inclu=* | --incl=* | --inc=*)
1710 includedir=$ac_optarg ;;
1712 -infodir | --infodir | --infodi | --infod | --info | --inf)
1713 ac_prev=infodir ;;
1714 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1715 infodir=$ac_optarg ;;
1717 -libdir | --libdir | --libdi | --libd)
1718 ac_prev=libdir ;;
1719 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1720 libdir=$ac_optarg ;;
1722 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1723 | --libexe | --libex | --libe)
1724 ac_prev=libexecdir ;;
1725 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1726 | --libexe=* | --libex=* | --libe=*)
1727 libexecdir=$ac_optarg ;;
1729 -localedir | --localedir | --localedi | --localed | --locale)
1730 ac_prev=localedir ;;
1731 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1732 localedir=$ac_optarg ;;
1734 -localstatedir | --localstatedir | --localstatedi | --localstated \
1735 | --localstate | --localstat | --localsta | --localst | --locals)
1736 ac_prev=localstatedir ;;
1737 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1738 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1739 localstatedir=$ac_optarg ;;
1741 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1742 ac_prev=mandir ;;
1743 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1744 mandir=$ac_optarg ;;
1746 -nfp | --nfp | --nf)
1747 # Obsolete; use --without-fp.
1748 with_fp=no ;;
1750 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1751 | --no-cr | --no-c | -n)
1752 no_create=yes ;;
1754 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1755 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1756 no_recursion=yes ;;
1758 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1759 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1760 | --oldin | --oldi | --old | --ol | --o)
1761 ac_prev=oldincludedir ;;
1762 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1763 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1764 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1765 oldincludedir=$ac_optarg ;;
1767 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1768 ac_prev=prefix ;;
1769 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1770 prefix=$ac_optarg ;;
1772 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1773 | --program-pre | --program-pr | --program-p)
1774 ac_prev=program_prefix ;;
1775 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1776 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1777 program_prefix=$ac_optarg ;;
1779 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1780 | --program-suf | --program-su | --program-s)
1781 ac_prev=program_suffix ;;
1782 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1783 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1784 program_suffix=$ac_optarg ;;
1786 -program-transform-name | --program-transform-name \
1787 | --program-transform-nam | --program-transform-na \
1788 | --program-transform-n | --program-transform- \
1789 | --program-transform | --program-transfor \
1790 | --program-transfo | --program-transf \
1791 | --program-trans | --program-tran \
1792 | --progr-tra | --program-tr | --program-t)
1793 ac_prev=program_transform_name ;;
1794 -program-transform-name=* | --program-transform-name=* \
1795 | --program-transform-nam=* | --program-transform-na=* \
1796 | --program-transform-n=* | --program-transform-=* \
1797 | --program-transform=* | --program-transfor=* \
1798 | --program-transfo=* | --program-transf=* \
1799 | --program-trans=* | --program-tran=* \
1800 | --progr-tra=* | --program-tr=* | --program-t=*)
1801 program_transform_name=$ac_optarg ;;
1803 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1804 ac_prev=pdfdir ;;
1805 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1806 pdfdir=$ac_optarg ;;
1808 -psdir | --psdir | --psdi | --psd | --ps)
1809 ac_prev=psdir ;;
1810 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1811 psdir=$ac_optarg ;;
1813 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1814 | -silent | --silent | --silen | --sile | --sil)
1815 silent=yes ;;
1817 -runstatedir | --runstatedir | --runstatedi | --runstated \
1818 | --runstate | --runstat | --runsta | --runst | --runs \
1819 | --run | --ru | --r)
1820 ac_prev=runstatedir ;;
1821 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1822 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1823 | --run=* | --ru=* | --r=*)
1824 runstatedir=$ac_optarg ;;
1826 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1827 ac_prev=sbindir ;;
1828 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1829 | --sbi=* | --sb=*)
1830 sbindir=$ac_optarg ;;
1832 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1833 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1834 | --sharedst | --shareds | --shared | --share | --shar \
1835 | --sha | --sh)
1836 ac_prev=sharedstatedir ;;
1837 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1838 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1839 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1840 | --sha=* | --sh=*)
1841 sharedstatedir=$ac_optarg ;;
1843 -site | --site | --sit)
1844 ac_prev=site ;;
1845 -site=* | --site=* | --sit=*)
1846 site=$ac_optarg ;;
1848 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1849 ac_prev=srcdir ;;
1850 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1851 srcdir=$ac_optarg ;;
1853 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1854 | --syscon | --sysco | --sysc | --sys | --sy)
1855 ac_prev=sysconfdir ;;
1856 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1857 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1858 sysconfdir=$ac_optarg ;;
1860 -target | --target | --targe | --targ | --tar | --ta | --t)
1861 ac_prev=target_alias ;;
1862 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1863 target_alias=$ac_optarg ;;
1865 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1866 verbose=yes ;;
1868 -version | --version | --versio | --versi | --vers | -V)
1869 ac_init_version=: ;;
1871 -with-* | --with-*)
1872 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1873 # Reject names that are not valid shell variable names.
1874 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1875 as_fn_error $? "invalid package name: $ac_useropt"
1876 ac_useropt_orig=$ac_useropt
1877 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1878 case $ac_user_opts in
1880 "with_$ac_useropt"
1881 "*) ;;
1882 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1883 ac_unrecognized_sep=', ';;
1884 esac
1885 eval with_$ac_useropt=\$ac_optarg ;;
1887 -without-* | --without-*)
1888 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1889 # Reject names that are not valid shell variable names.
1890 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1891 as_fn_error $? "invalid package name: $ac_useropt"
1892 ac_useropt_orig=$ac_useropt
1893 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1894 case $ac_user_opts in
1896 "with_$ac_useropt"
1897 "*) ;;
1898 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1899 ac_unrecognized_sep=', ';;
1900 esac
1901 eval with_$ac_useropt=no ;;
1903 --x)
1904 # Obsolete; use --with-x.
1905 with_x=yes ;;
1907 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1908 | --x-incl | --x-inc | --x-in | --x-i)
1909 ac_prev=x_includes ;;
1910 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1911 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1912 x_includes=$ac_optarg ;;
1914 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1915 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1916 ac_prev=x_libraries ;;
1917 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1918 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1919 x_libraries=$ac_optarg ;;
1921 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1922 Try \`$0 --help' for more information"
1925 *=*)
1926 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1927 # Reject names that are not valid shell variable names.
1928 case $ac_envvar in #(
1929 '' | [0-9]* | *[!_$as_cr_alnum]* )
1930 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1931 esac
1932 eval $ac_envvar=\$ac_optarg
1933 export $ac_envvar ;;
1936 # FIXME: should be removed in autoconf 3.0.
1937 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1938 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1939 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1940 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1943 esac
1944 done
1946 if test -n "$ac_prev"; then
1947 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1948 as_fn_error $? "missing argument to $ac_option"
1951 if test -n "$ac_unrecognized_opts"; then
1952 case $enable_option_checking in
1953 no) ;;
1954 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1955 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1956 esac
1959 # Check all directory arguments for consistency.
1960 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1961 datadir sysconfdir sharedstatedir localstatedir includedir \
1962 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1963 libdir localedir mandir runstatedir
1965 eval ac_val=\$$ac_var
1966 # Remove trailing slashes.
1967 case $ac_val in
1968 */ )
1969 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1970 eval $ac_var=\$ac_val;;
1971 esac
1972 # Be sure to have absolute directory names.
1973 case $ac_val in
1974 [\\/$]* | ?:[\\/]* ) continue;;
1975 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1976 esac
1977 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1978 done
1980 # There might be people who depend on the old broken behavior: `$host'
1981 # used to hold the argument of --host etc.
1982 # FIXME: To remove some day.
1983 build=$build_alias
1984 host=$host_alias
1985 target=$target_alias
1987 # FIXME: To remove some day.
1988 if test "x$host_alias" != x; then
1989 if test "x$build_alias" = x; then
1990 cross_compiling=maybe
1991 elif test "x$build_alias" != "x$host_alias"; then
1992 cross_compiling=yes
1996 ac_tool_prefix=
1997 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1999 test "$silent" = yes && exec 6>/dev/null
2002 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2003 ac_ls_di=`ls -di .` &&
2004 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2005 as_fn_error $? "working directory cannot be determined"
2006 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2007 as_fn_error $? "pwd does not report name of working directory"
2010 # Find the source files, if location was not specified.
2011 if test -z "$srcdir"; then
2012 ac_srcdir_defaulted=yes
2013 # Try the directory containing this script, then the parent directory.
2014 ac_confdir=`$as_dirname -- "$as_myself" ||
2015 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2016 X"$as_myself" : 'X\(//\)[^/]' \| \
2017 X"$as_myself" : 'X\(//\)$' \| \
2018 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2019 $as_echo X"$as_myself" |
2020 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2021 s//\1/
2024 /^X\(\/\/\)[^/].*/{
2025 s//\1/
2028 /^X\(\/\/\)$/{
2029 s//\1/
2032 /^X\(\/\).*/{
2033 s//\1/
2036 s/.*/./; q'`
2037 srcdir=$ac_confdir
2038 if test ! -r "$srcdir/$ac_unique_file"; then
2039 srcdir=..
2041 else
2042 ac_srcdir_defaulted=no
2044 if test ! -r "$srcdir/$ac_unique_file"; then
2045 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2046 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2048 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2049 ac_abs_confdir=`(
2050 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2051 pwd)`
2052 # When building in place, set srcdir=.
2053 if test "$ac_abs_confdir" = "$ac_pwd"; then
2054 srcdir=.
2056 # Remove unnecessary trailing slashes from srcdir.
2057 # Double slashes in file names in object file debugging info
2058 # mess up M-x gdb in Emacs.
2059 case $srcdir in
2060 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2061 esac
2062 for ac_var in $ac_precious_vars; do
2063 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2064 eval ac_env_${ac_var}_value=\$${ac_var}
2065 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2066 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2067 done
2070 # Report the --help message.
2072 if test "$ac_init_help" = "long"; then
2073 # Omit some internal or obsolete options to make the list less imposing.
2074 # This message is too long to be a string in the A/UX 3.1 sh.
2075 cat <<_ACEOF
2076 \`configure' configures Wine 1.7.52 to adapt to many kinds of systems.
2078 Usage: $0 [OPTION]... [VAR=VALUE]...
2080 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2081 VAR=VALUE. See below for descriptions of some of the useful variables.
2083 Defaults for the options are specified in brackets.
2085 Configuration:
2086 -h, --help display this help and exit
2087 --help=short display options specific to this package
2088 --help=recursive display the short help of all the included packages
2089 -V, --version display version information and exit
2090 -q, --quiet, --silent do not print \`checking ...' messages
2091 --cache-file=FILE cache test results in FILE [disabled]
2092 -C, --config-cache alias for \`--cache-file=config.cache'
2093 -n, --no-create do not create output files
2094 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2096 Installation directories:
2097 --prefix=PREFIX install architecture-independent files in PREFIX
2098 [$ac_default_prefix]
2099 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2100 [PREFIX]
2102 By default, \`make install' will install all the files in
2103 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2104 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2105 for instance \`--prefix=\$HOME'.
2107 For better control, use the options below.
2109 Fine tuning of the installation directories:
2110 --bindir=DIR user executables [EPREFIX/bin]
2111 --sbindir=DIR system admin executables [EPREFIX/sbin]
2112 --libexecdir=DIR program executables [EPREFIX/libexec]
2113 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2114 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2115 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2116 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2117 --libdir=DIR object code libraries [EPREFIX/lib]
2118 --includedir=DIR C header files [PREFIX/include]
2119 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2120 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2121 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2122 --infodir=DIR info documentation [DATAROOTDIR/info]
2123 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2124 --mandir=DIR man documentation [DATAROOTDIR/man]
2125 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2126 --htmldir=DIR html documentation [DOCDIR]
2127 --dvidir=DIR dvi documentation [DOCDIR]
2128 --pdfdir=DIR pdf documentation [DOCDIR]
2129 --psdir=DIR ps documentation [DOCDIR]
2130 _ACEOF
2132 cat <<\_ACEOF
2134 X features:
2135 --x-includes=DIR X include files are in DIR
2136 --x-libraries=DIR X library files are in DIR
2138 System types:
2139 --build=BUILD configure for building on BUILD [guessed]
2140 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2141 _ACEOF
2144 if test -n "$ac_init_help"; then
2145 case $ac_init_help in
2146 short | recursive ) echo "Configuration of Wine 1.7.52:";;
2147 esac
2148 cat <<\_ACEOF
2150 Optional Features:
2151 --disable-option-checking ignore unrecognized --enable/--with options
2152 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2153 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2154 --disable-win16 do not include Win16 support
2155 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2156 binaries)
2157 --disable-tests do not build the regression tests
2158 --enable-maintainer-mode
2159 enable maintainer-specific build rules
2160 --disable-largefile omit support for large files
2162 Optional Packages:
2163 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2164 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2165 --without-alsa do not use the Alsa sound support
2166 --without-capi do not use CAPI (ISDN support)
2167 --without-cms do not use CMS (color management support)
2168 --without-coreaudio do not use the CoreAudio sound support
2169 --without-cups do not use CUPS
2170 --without-curses do not use (n)curses
2171 --without-dbus do not use DBus (dynamic device support)
2172 --without-fontconfig do not use fontconfig
2173 --without-freetype do not use the FreeType library
2174 --without-gettext do not use gettext
2175 --with-gettextpo use the GetTextPO library to rebuild po files
2176 --without-gphoto do not use gphoto (Digital Camera support)
2177 --without-glu do not use the GLU library
2178 --without-gnutls do not use GnuTLS (schannel support)
2179 --without-gsm do not use libgsm (GSM 06.10 codec support)
2180 --without-gstreamer do not use GStreamer (codecs support)
2181 --without-hal do not use HAL (dynamic device support)
2182 --without-jpeg do not use JPEG
2183 --without-ldap do not use LDAP
2184 --without-mpg123 do not use the mpg123 library
2185 --without-netapi do not use the Samba NetAPI library
2186 --without-openal do not use OpenAL
2187 --without-opencl do not use OpenCL
2188 --without-opengl do not use OpenGL
2189 --without-osmesa do not use the OSMesa library
2190 --without-oss do not use the OSS sound support
2191 --without-pcap do not use the Packet Capture library
2192 --without-png do not use PNG
2193 --without-pthread do not use the pthread library
2194 --without-sane do not use SANE (scanner support)
2195 --without-tiff do not use TIFF
2196 --without-v4l do not use v4l1 (v4l support)
2197 --without-xcomposite do not use the Xcomposite extension
2198 --without-xcursor do not use the Xcursor extension
2199 --without-xinerama do not use Xinerama (multi-monitor support)
2200 --without-xinput do not use the Xinput extension
2201 --without-xinput2 do not use the Xinput 2 extension
2202 --without-xml do not use XML
2203 --without-xrandr do not use Xrandr (resolution changes)
2204 --without-xrender do not use the Xrender extension
2205 --without-xshape do not use the Xshape extension
2206 --without-xshm do not use XShm (shared memory extension)
2207 --without-xslt do not use XSLT
2208 --without-xxf86vm do not use XFree video mode extension
2209 --without-zlib do not use Zlib (data compression)
2210 --with-wine-tools=DIR use Wine tools from directory DIR
2211 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2212 --with-x use the X Window System
2214 Some influential environment variables:
2215 CC C compiler command
2216 CFLAGS C compiler flags
2217 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2218 nonstandard directory <lib dir>
2219 LIBS libraries to pass to the linker, e.g. -l<library>
2220 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2221 you have headers in a nonstandard directory <include dir>
2222 CXX C++ compiler command
2223 CXXFLAGS C++ compiler flags
2224 CPP C preprocessor
2225 XMKMF Path to xmkmf, Makefile generator for X Window System
2226 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2227 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2228 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2229 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2230 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2231 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2232 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2233 HAL_LIBS Linker flags for hal, overriding pkg-config
2234 GNUTLS_CFLAGS
2235 C compiler flags for gnutls, overriding pkg-config
2236 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2237 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2238 SANE_LIBS Linker flags for libsane, overriding pkg-config
2239 GPHOTO2_CFLAGS
2240 C compiler flags for libgphoto2, overriding pkg-config
2241 GPHOTO2_LIBS
2242 Linker flags for libgphoto2, overriding pkg-config
2243 GPHOTO2_PORT_CFLAGS
2244 C compiler flags for libgphoto2_port, overriding pkg-config
2245 GPHOTO2_PORT_LIBS
2246 Linker flags for libgphoto2_port, overriding pkg-config
2247 LCMS2_CFLAGS
2248 C compiler flags for lcms2, overriding pkg-config
2249 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2250 FREETYPE_CFLAGS
2251 C compiler flags for freetype2, overriding pkg-config
2252 FREETYPE_LIBS
2253 Linker flags for freetype2, overriding pkg-config
2254 GSTREAMER_CFLAGS
2255 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2256 GSTREAMER_LIBS
2257 Linker flags for gstreamer-app-0.10, overriding pkg-config
2258 CAPI20_CFLAGS
2259 C compiler flags for capi20, overriding pkg-config
2260 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2261 FONTCONFIG_CFLAGS
2262 C compiler flags for fontconfig, overriding pkg-config
2263 FONTCONFIG_LIBS
2264 Linker flags for fontconfig, overriding pkg-config
2265 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2266 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2267 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2268 PNG_LIBS Linker flags for libpng, overriding pkg-config
2269 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2270 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2271 MPG123_CFLAGS
2272 C compiler flags for libmpg123, overriding pkg-config
2273 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2275 Use these variables to override the choices made by `configure' or to help
2276 it to find libraries and programs with nonstandard names/locations.
2278 Report bugs to <wine-devel@winehq.org>.
2279 Wine home page: <http://www.winehq.org>.
2280 _ACEOF
2281 ac_status=$?
2284 if test "$ac_init_help" = "recursive"; then
2285 # If there are subdirs, report their specific --help.
2286 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2287 test -d "$ac_dir" ||
2288 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2289 continue
2290 ac_builddir=.
2292 case "$ac_dir" in
2293 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2295 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2296 # A ".." for each directory in $ac_dir_suffix.
2297 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2298 case $ac_top_builddir_sub in
2299 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2300 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2301 esac ;;
2302 esac
2303 ac_abs_top_builddir=$ac_pwd
2304 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2305 # for backward compatibility:
2306 ac_top_builddir=$ac_top_build_prefix
2308 case $srcdir in
2309 .) # We are building in place.
2310 ac_srcdir=.
2311 ac_top_srcdir=$ac_top_builddir_sub
2312 ac_abs_top_srcdir=$ac_pwd ;;
2313 [\\/]* | ?:[\\/]* ) # Absolute name.
2314 ac_srcdir=$srcdir$ac_dir_suffix;
2315 ac_top_srcdir=$srcdir
2316 ac_abs_top_srcdir=$srcdir ;;
2317 *) # Relative name.
2318 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2319 ac_top_srcdir=$ac_top_build_prefix$srcdir
2320 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2321 esac
2322 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2324 cd "$ac_dir" || { ac_status=$?; continue; }
2325 # Check for guested configure.
2326 if test -f "$ac_srcdir/configure.gnu"; then
2327 echo &&
2328 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2329 elif test -f "$ac_srcdir/configure"; then
2330 echo &&
2331 $SHELL "$ac_srcdir/configure" --help=recursive
2332 else
2333 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2334 fi || ac_status=$?
2335 cd "$ac_pwd" || { ac_status=$?; break; }
2336 done
2339 test -n "$ac_init_help" && exit $ac_status
2340 if $ac_init_version; then
2341 cat <<\_ACEOF
2342 Wine configure 1.7.52
2343 generated by GNU Autoconf 2.69
2345 Copyright (C) 2012 Free Software Foundation, Inc.
2346 This configure script is free software; the Free Software Foundation
2347 gives unlimited permission to copy, distribute and modify it.
2348 _ACEOF
2349 exit
2352 ## ------------------------ ##
2353 ## Autoconf initialization. ##
2354 ## ------------------------ ##
2356 # ac_fn_c_try_compile LINENO
2357 # --------------------------
2358 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2359 ac_fn_c_try_compile ()
2361 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2362 rm -f conftest.$ac_objext
2363 if { { ac_try="$ac_compile"
2364 case "(($ac_try" in
2365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2366 *) ac_try_echo=$ac_try;;
2367 esac
2368 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2369 $as_echo "$ac_try_echo"; } >&5
2370 (eval "$ac_compile") 2>conftest.err
2371 ac_status=$?
2372 if test -s conftest.err; then
2373 grep -v '^ *+' conftest.err >conftest.er1
2374 cat conftest.er1 >&5
2375 mv -f conftest.er1 conftest.err
2377 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2378 test $ac_status = 0; } && {
2379 test -z "$ac_c_werror_flag" ||
2380 test ! -s conftest.err
2381 } && test -s conftest.$ac_objext; then :
2382 ac_retval=0
2383 else
2384 $as_echo "$as_me: failed program was:" >&5
2385 sed 's/^/| /' conftest.$ac_ext >&5
2387 ac_retval=1
2389 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2390 as_fn_set_status $ac_retval
2392 } # ac_fn_c_try_compile
2394 # ac_fn_cxx_try_compile LINENO
2395 # ----------------------------
2396 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2397 ac_fn_cxx_try_compile ()
2399 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2400 rm -f conftest.$ac_objext
2401 if { { ac_try="$ac_compile"
2402 case "(($ac_try" in
2403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2404 *) ac_try_echo=$ac_try;;
2405 esac
2406 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2407 $as_echo "$ac_try_echo"; } >&5
2408 (eval "$ac_compile") 2>conftest.err
2409 ac_status=$?
2410 if test -s conftest.err; then
2411 grep -v '^ *+' conftest.err >conftest.er1
2412 cat conftest.er1 >&5
2413 mv -f conftest.er1 conftest.err
2415 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2416 test $ac_status = 0; } && {
2417 test -z "$ac_cxx_werror_flag" ||
2418 test ! -s conftest.err
2419 } && test -s conftest.$ac_objext; then :
2420 ac_retval=0
2421 else
2422 $as_echo "$as_me: failed program was:" >&5
2423 sed 's/^/| /' conftest.$ac_ext >&5
2425 ac_retval=1
2427 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2428 as_fn_set_status $ac_retval
2430 } # ac_fn_cxx_try_compile
2432 # ac_fn_c_try_link LINENO
2433 # -----------------------
2434 # Try to link conftest.$ac_ext, and return whether this succeeded.
2435 ac_fn_c_try_link ()
2437 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2438 rm -f conftest.$ac_objext conftest$ac_exeext
2439 if { { ac_try="$ac_link"
2440 case "(($ac_try" in
2441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2442 *) ac_try_echo=$ac_try;;
2443 esac
2444 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2445 $as_echo "$ac_try_echo"; } >&5
2446 (eval "$ac_link") 2>conftest.err
2447 ac_status=$?
2448 if test -s conftest.err; then
2449 grep -v '^ *+' conftest.err >conftest.er1
2450 cat conftest.er1 >&5
2451 mv -f conftest.er1 conftest.err
2453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2454 test $ac_status = 0; } && {
2455 test -z "$ac_c_werror_flag" ||
2456 test ! -s conftest.err
2457 } && test -s conftest$ac_exeext && {
2458 test "$cross_compiling" = yes ||
2459 test -x conftest$ac_exeext
2460 }; then :
2461 ac_retval=0
2462 else
2463 $as_echo "$as_me: failed program was:" >&5
2464 sed 's/^/| /' conftest.$ac_ext >&5
2466 ac_retval=1
2468 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2469 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2470 # interfere with the next link command; also delete a directory that is
2471 # left behind by Apple's compiler. We do this before executing the actions.
2472 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2473 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2474 as_fn_set_status $ac_retval
2476 } # ac_fn_c_try_link
2478 # ac_fn_c_try_cpp LINENO
2479 # ----------------------
2480 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2481 ac_fn_c_try_cpp ()
2483 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2484 if { { ac_try="$ac_cpp conftest.$ac_ext"
2485 case "(($ac_try" in
2486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2487 *) ac_try_echo=$ac_try;;
2488 esac
2489 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2490 $as_echo "$ac_try_echo"; } >&5
2491 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2492 ac_status=$?
2493 if test -s conftest.err; then
2494 grep -v '^ *+' conftest.err >conftest.er1
2495 cat conftest.er1 >&5
2496 mv -f conftest.er1 conftest.err
2498 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2499 test $ac_status = 0; } > conftest.i && {
2500 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2501 test ! -s conftest.err
2502 }; then :
2503 ac_retval=0
2504 else
2505 $as_echo "$as_me: failed program was:" >&5
2506 sed 's/^/| /' conftest.$ac_ext >&5
2508 ac_retval=1
2510 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2511 as_fn_set_status $ac_retval
2513 } # ac_fn_c_try_cpp
2515 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2516 # -------------------------------------------------------
2517 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2518 # the include files in INCLUDES and setting the cache variable VAR
2519 # accordingly.
2520 ac_fn_c_check_header_mongrel ()
2522 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2523 if eval \${$3+:} false; then :
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2525 $as_echo_n "checking for $2... " >&6; }
2526 if eval \${$3+:} false; then :
2527 $as_echo_n "(cached) " >&6
2529 eval ac_res=\$$3
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2531 $as_echo "$ac_res" >&6; }
2532 else
2533 # Is the header compilable?
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2535 $as_echo_n "checking $2 usability... " >&6; }
2536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2537 /* end confdefs.h. */
2539 #include <$2>
2540 _ACEOF
2541 if ac_fn_c_try_compile "$LINENO"; then :
2542 ac_header_compiler=yes
2543 else
2544 ac_header_compiler=no
2546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2548 $as_echo "$ac_header_compiler" >&6; }
2550 # Is the header present?
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2552 $as_echo_n "checking $2 presence... " >&6; }
2553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2554 /* end confdefs.h. */
2555 #include <$2>
2556 _ACEOF
2557 if ac_fn_c_try_cpp "$LINENO"; then :
2558 ac_header_preproc=yes
2559 else
2560 ac_header_preproc=no
2562 rm -f conftest.err conftest.i conftest.$ac_ext
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2564 $as_echo "$ac_header_preproc" >&6; }
2566 # So? What about this header?
2567 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2568 yes:no: )
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2570 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2572 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2574 no:yes:* )
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2576 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2578 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2580 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2582 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2584 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2585 ( $as_echo "## ------------------------------------ ##
2586 ## Report this to wine-devel@winehq.org ##
2587 ## ------------------------------------ ##"
2588 ) | sed "s/^/$as_me: WARNING: /" >&2
2590 esac
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2592 $as_echo_n "checking for $2... " >&6; }
2593 if eval \${$3+:} false; then :
2594 $as_echo_n "(cached) " >&6
2595 else
2596 eval "$3=\$ac_header_compiler"
2598 eval ac_res=\$$3
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2600 $as_echo "$ac_res" >&6; }
2602 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2604 } # ac_fn_c_check_header_mongrel
2606 # ac_fn_c_try_run LINENO
2607 # ----------------------
2608 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2609 # that executables *can* be run.
2610 ac_fn_c_try_run ()
2612 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2613 if { { ac_try="$ac_link"
2614 case "(($ac_try" in
2615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2616 *) ac_try_echo=$ac_try;;
2617 esac
2618 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2619 $as_echo "$ac_try_echo"; } >&5
2620 (eval "$ac_link") 2>&5
2621 ac_status=$?
2622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2623 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
2631 ac_status=$?
2632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2633 test $ac_status = 0; }; }; then :
2634 ac_retval=0
2635 else
2636 $as_echo "$as_me: program exited with status $ac_status" >&5
2637 $as_echo "$as_me: failed program was:" >&5
2638 sed 's/^/| /' conftest.$ac_ext >&5
2640 ac_retval=$ac_status
2642 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2643 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2644 as_fn_set_status $ac_retval
2646 } # ac_fn_c_try_run
2648 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2649 # -------------------------------------------------------
2650 # Tests whether HEADER exists and can be compiled using the include files in
2651 # INCLUDES, setting the cache variable VAR accordingly.
2652 ac_fn_c_check_header_compile ()
2654 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2656 $as_echo_n "checking for $2... " >&6; }
2657 if eval \${$3+:} false; then :
2658 $as_echo_n "(cached) " >&6
2659 else
2660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2661 /* end confdefs.h. */
2663 #include <$2>
2664 _ACEOF
2665 if ac_fn_c_try_compile "$LINENO"; then :
2666 eval "$3=yes"
2667 else
2668 eval "$3=no"
2670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2672 eval ac_res=\$$3
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2674 $as_echo "$ac_res" >&6; }
2675 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2677 } # ac_fn_c_check_header_compile
2679 # ac_fn_c_check_func LINENO FUNC VAR
2680 # ----------------------------------
2681 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2682 ac_fn_c_check_func ()
2684 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2686 $as_echo_n "checking for $2... " >&6; }
2687 if eval \${$3+:} false; then :
2688 $as_echo_n "(cached) " >&6
2689 else
2690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2691 /* end confdefs.h. */
2692 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2694 #define $2 innocuous_$2
2696 /* System header to define __stub macros and hopefully few prototypes,
2697 which can conflict with char $2 (); below.
2698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2699 <limits.h> exists even on freestanding compilers. */
2701 #ifdef __STDC__
2702 # include <limits.h>
2703 #else
2704 # include <assert.h>
2705 #endif
2707 #undef $2
2709 /* Override any GCC internal prototype to avoid an error.
2710 Use char because int might match the return type of a GCC
2711 builtin and then its argument prototype would still apply. */
2712 #ifdef __cplusplus
2713 extern "C"
2714 #endif
2715 char $2 ();
2716 /* The GNU C library defines this for functions which it implements
2717 to always fail with ENOSYS. Some functions are actually named
2718 something starting with __ and the normal name is an alias. */
2719 #if defined __stub_$2 || defined __stub___$2
2720 choke me
2721 #endif
2724 main ()
2726 return $2 ();
2728 return 0;
2730 _ACEOF
2731 if ac_fn_c_try_link "$LINENO"; then :
2732 eval "$3=yes"
2733 else
2734 eval "$3=no"
2736 rm -f core conftest.err conftest.$ac_objext \
2737 conftest$ac_exeext conftest.$ac_ext
2739 eval ac_res=\$$3
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2741 $as_echo "$ac_res" >&6; }
2742 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2744 } # ac_fn_c_check_func
2746 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2747 # ----------------------------------------------------
2748 # Tries to find if the field MEMBER exists in type AGGR, after including
2749 # INCLUDES, setting cache variable VAR accordingly.
2750 ac_fn_c_check_member ()
2752 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2754 $as_echo_n "checking for $2.$3... " >&6; }
2755 if eval \${$4+:} false; then :
2756 $as_echo_n "(cached) " >&6
2757 else
2758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2759 /* end confdefs.h. */
2762 main ()
2764 static $2 ac_aggr;
2765 if (ac_aggr.$3)
2766 return 0;
2768 return 0;
2770 _ACEOF
2771 if ac_fn_c_try_compile "$LINENO"; then :
2772 eval "$4=yes"
2773 else
2774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2775 /* end confdefs.h. */
2778 main ()
2780 static $2 ac_aggr;
2781 if (sizeof ac_aggr.$3)
2782 return 0;
2784 return 0;
2786 _ACEOF
2787 if ac_fn_c_try_compile "$LINENO"; then :
2788 eval "$4=yes"
2789 else
2790 eval "$4=no"
2792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2796 eval ac_res=\$$4
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2798 $as_echo "$ac_res" >&6; }
2799 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2801 } # ac_fn_c_check_member
2803 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2804 # -------------------------------------------
2805 # Tests whether TYPE exists after having included INCLUDES, setting cache
2806 # variable VAR accordingly.
2807 ac_fn_c_check_type ()
2809 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2811 $as_echo_n "checking for $2... " >&6; }
2812 if eval \${$3+:} false; then :
2813 $as_echo_n "(cached) " >&6
2814 else
2815 eval "$3=no"
2816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2817 /* end confdefs.h. */
2820 main ()
2822 if (sizeof ($2))
2823 return 0;
2825 return 0;
2827 _ACEOF
2828 if ac_fn_c_try_compile "$LINENO"; then :
2829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2830 /* end confdefs.h. */
2833 main ()
2835 if (sizeof (($2)))
2836 return 0;
2838 return 0;
2840 _ACEOF
2841 if ac_fn_c_try_compile "$LINENO"; then :
2843 else
2844 eval "$3=yes"
2846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2850 eval ac_res=\$$3
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2852 $as_echo "$ac_res" >&6; }
2853 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2855 } # ac_fn_c_check_type
2856 cat >config.log <<_ACEOF
2857 This file contains any messages produced by compilers while
2858 running configure, to aid debugging if configure makes a mistake.
2860 It was created by Wine $as_me 1.7.52, which was
2861 generated by GNU Autoconf 2.69. Invocation command line was
2863 $ $0 $@
2865 _ACEOF
2866 exec 5>>config.log
2868 cat <<_ASUNAME
2869 ## --------- ##
2870 ## Platform. ##
2871 ## --------- ##
2873 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2874 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2875 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2876 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2877 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2879 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2880 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2882 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2883 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2884 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2885 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2886 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2887 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2888 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2890 _ASUNAME
2892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2893 for as_dir in $PATH
2895 IFS=$as_save_IFS
2896 test -z "$as_dir" && as_dir=.
2897 $as_echo "PATH: $as_dir"
2898 done
2899 IFS=$as_save_IFS
2901 } >&5
2903 cat >&5 <<_ACEOF
2906 ## ----------- ##
2907 ## Core tests. ##
2908 ## ----------- ##
2910 _ACEOF
2913 # Keep a trace of the command line.
2914 # Strip out --no-create and --no-recursion so they do not pile up.
2915 # Strip out --silent because we don't want to record it for future runs.
2916 # Also quote any args containing shell meta-characters.
2917 # Make two passes to allow for proper duplicate-argument suppression.
2918 ac_configure_args=
2919 ac_configure_args0=
2920 ac_configure_args1=
2921 ac_must_keep_next=false
2922 for ac_pass in 1 2
2924 for ac_arg
2926 case $ac_arg in
2927 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2928 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2929 | -silent | --silent | --silen | --sile | --sil)
2930 continue ;;
2931 *\'*)
2932 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2933 esac
2934 case $ac_pass in
2935 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2937 as_fn_append ac_configure_args1 " '$ac_arg'"
2938 if test $ac_must_keep_next = true; then
2939 ac_must_keep_next=false # Got value, back to normal.
2940 else
2941 case $ac_arg in
2942 *=* | --config-cache | -C | -disable-* | --disable-* \
2943 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2944 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2945 | -with-* | --with-* | -without-* | --without-* | --x)
2946 case "$ac_configure_args0 " in
2947 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2948 esac
2950 -* ) ac_must_keep_next=true ;;
2951 esac
2953 as_fn_append ac_configure_args " '$ac_arg'"
2955 esac
2956 done
2957 done
2958 { ac_configure_args0=; unset ac_configure_args0;}
2959 { ac_configure_args1=; unset ac_configure_args1;}
2961 # When interrupted or exit'd, cleanup temporary files, and complete
2962 # config.log. We remove comments because anyway the quotes in there
2963 # would cause problems or look ugly.
2964 # WARNING: Use '\'' to represent an apostrophe within the trap.
2965 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2966 trap 'exit_status=$?
2967 # Save into config.log some information that might help in debugging.
2969 echo
2971 $as_echo "## ---------------- ##
2972 ## Cache variables. ##
2973 ## ---------------- ##"
2974 echo
2975 # The following way of writing the cache mishandles newlines in values,
2977 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2978 eval ac_val=\$$ac_var
2979 case $ac_val in #(
2980 *${as_nl}*)
2981 case $ac_var in #(
2982 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2983 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2984 esac
2985 case $ac_var in #(
2986 _ | IFS | as_nl) ;; #(
2987 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2988 *) { eval $ac_var=; unset $ac_var;} ;;
2989 esac ;;
2990 esac
2991 done
2992 (set) 2>&1 |
2993 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2994 *${as_nl}ac_space=\ *)
2995 sed -n \
2996 "s/'\''/'\''\\\\'\'''\''/g;
2997 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2998 ;; #(
3000 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3002 esac |
3003 sort
3005 echo
3007 $as_echo "## ----------------- ##
3008 ## Output variables. ##
3009 ## ----------------- ##"
3010 echo
3011 for ac_var in $ac_subst_vars
3013 eval ac_val=\$$ac_var
3014 case $ac_val in
3015 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3016 esac
3017 $as_echo "$ac_var='\''$ac_val'\''"
3018 done | sort
3019 echo
3021 if test -n "$ac_subst_files"; then
3022 $as_echo "## ------------------- ##
3023 ## File substitutions. ##
3024 ## ------------------- ##"
3025 echo
3026 for ac_var in $ac_subst_files
3028 eval ac_val=\$$ac_var
3029 case $ac_val in
3030 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3031 esac
3032 $as_echo "$ac_var='\''$ac_val'\''"
3033 done | sort
3034 echo
3037 if test -s confdefs.h; then
3038 $as_echo "## ----------- ##
3039 ## confdefs.h. ##
3040 ## ----------- ##"
3041 echo
3042 cat confdefs.h
3043 echo
3045 test "$ac_signal" != 0 &&
3046 $as_echo "$as_me: caught signal $ac_signal"
3047 $as_echo "$as_me: exit $exit_status"
3048 } >&5
3049 rm -f core *.core core.conftest.* &&
3050 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3051 exit $exit_status
3053 for ac_signal in 1 2 13 15; do
3054 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3055 done
3056 ac_signal=0
3058 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3059 rm -f -r conftest* confdefs.h
3061 $as_echo "/* confdefs.h */" > confdefs.h
3063 # Predefined preprocessor variables.
3065 cat >>confdefs.h <<_ACEOF
3066 #define PACKAGE_NAME "$PACKAGE_NAME"
3067 _ACEOF
3069 cat >>confdefs.h <<_ACEOF
3070 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3071 _ACEOF
3073 cat >>confdefs.h <<_ACEOF
3074 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3075 _ACEOF
3077 cat >>confdefs.h <<_ACEOF
3078 #define PACKAGE_STRING "$PACKAGE_STRING"
3079 _ACEOF
3081 cat >>confdefs.h <<_ACEOF
3082 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3083 _ACEOF
3085 cat >>confdefs.h <<_ACEOF
3086 #define PACKAGE_URL "$PACKAGE_URL"
3087 _ACEOF
3090 # Let the site file select an alternate cache file if it wants to.
3091 # Prefer an explicitly selected file to automatically selected ones.
3092 ac_site_file1=NONE
3093 ac_site_file2=NONE
3094 if test -n "$CONFIG_SITE"; then
3095 # We do not want a PATH search for config.site.
3096 case $CONFIG_SITE in #((
3097 -*) ac_site_file1=./$CONFIG_SITE;;
3098 */*) ac_site_file1=$CONFIG_SITE;;
3099 *) ac_site_file1=./$CONFIG_SITE;;
3100 esac
3101 elif test "x$prefix" != xNONE; then
3102 ac_site_file1=$prefix/share/config.site
3103 ac_site_file2=$prefix/etc/config.site
3104 else
3105 ac_site_file1=$ac_default_prefix/share/config.site
3106 ac_site_file2=$ac_default_prefix/etc/config.site
3108 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3110 test "x$ac_site_file" = xNONE && continue
3111 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3113 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3114 sed 's/^/| /' "$ac_site_file" >&5
3115 . "$ac_site_file" \
3116 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3117 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3118 as_fn_error $? "failed to load site script $ac_site_file
3119 See \`config.log' for more details" "$LINENO" 5; }
3121 done
3123 if test -r "$cache_file"; then
3124 # Some versions of bash will fail to source /dev/null (special files
3125 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3126 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3128 $as_echo "$as_me: loading cache $cache_file" >&6;}
3129 case $cache_file in
3130 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3131 *) . "./$cache_file";;
3132 esac
3134 else
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3136 $as_echo "$as_me: creating cache $cache_file" >&6;}
3137 >$cache_file
3140 # Check that the precious variables saved in the cache have kept the same
3141 # value.
3142 ac_cache_corrupted=false
3143 for ac_var in $ac_precious_vars; do
3144 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3145 eval ac_new_set=\$ac_env_${ac_var}_set
3146 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3147 eval ac_new_val=\$ac_env_${ac_var}_value
3148 case $ac_old_set,$ac_new_set in
3149 set,)
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3151 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3152 ac_cache_corrupted=: ;;
3153 ,set)
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3155 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3156 ac_cache_corrupted=: ;;
3157 ,);;
3159 if test "x$ac_old_val" != "x$ac_new_val"; then
3160 # differences in whitespace do not lead to failure.
3161 ac_old_val_w=`echo x $ac_old_val`
3162 ac_new_val_w=`echo x $ac_new_val`
3163 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3165 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3166 ac_cache_corrupted=:
3167 else
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3169 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3170 eval $ac_var=\$ac_old_val
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3173 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3175 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3176 fi;;
3177 esac
3178 # Pass precious variables to config.status.
3179 if test "$ac_new_set" = set; then
3180 case $ac_new_val in
3181 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3182 *) ac_arg=$ac_var=$ac_new_val ;;
3183 esac
3184 case " $ac_configure_args " in
3185 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3186 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3187 esac
3189 done
3190 if $ac_cache_corrupted; then
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3192 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3194 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3195 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3197 ## -------------------- ##
3198 ## Main body of script. ##
3199 ## -------------------- ##
3201 ac_ext=c
3202 ac_cpp='$CPP $CPPFLAGS'
3203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3209 ac_config_headers="$ac_config_headers include/config.h"
3211 ac_aux_dir=
3212 for ac_dir in tools "$srcdir"/tools; do
3213 if test -f "$ac_dir/install-sh"; then
3214 ac_aux_dir=$ac_dir
3215 ac_install_sh="$ac_aux_dir/install-sh -c"
3216 break
3217 elif test -f "$ac_dir/install.sh"; then
3218 ac_aux_dir=$ac_dir
3219 ac_install_sh="$ac_aux_dir/install.sh -c"
3220 break
3221 elif test -f "$ac_dir/shtool"; then
3222 ac_aux_dir=$ac_dir
3223 ac_install_sh="$ac_aux_dir/shtool install -c"
3224 break
3226 done
3227 if test -z "$ac_aux_dir"; then
3228 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3231 # These three variables are undocumented and unsupported,
3232 # and are intended to be withdrawn in a future Autoconf release.
3233 # They can cause serious problems if a builder's source tree is in a directory
3234 # whose full name contains unusual characters.
3235 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3236 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3237 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3241 libwine_version="1.0"
3245 # Check whether --enable-win16 was given.
3246 if test "${enable_win16+set}" = set; then :
3247 enableval=$enable_win16;
3250 # Check whether --enable-win64 was given.
3251 if test "${enable_win64+set}" = set; then :
3252 enableval=$enable_win64;
3255 # Check whether --enable-tests was given.
3256 if test "${enable_tests+set}" = set; then :
3257 enableval=$enable_tests;
3260 # Check whether --enable-maintainer-mode was given.
3261 if test "${enable_maintainer_mode+set}" = set; then :
3262 enableval=$enable_maintainer_mode;
3267 # Check whether --with-alsa was given.
3268 if test "${with_alsa+set}" = set; then :
3269 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3273 # Check whether --with-capi was given.
3274 if test "${with_capi+set}" = set; then :
3275 withval=$with_capi;
3279 # Check whether --with-cms was given.
3280 if test "${with_cms+set}" = set; then :
3281 withval=$with_cms;
3285 # Check whether --with-coreaudio was given.
3286 if test "${with_coreaudio+set}" = set; then :
3287 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3291 # Check whether --with-cups was given.
3292 if test "${with_cups+set}" = set; then :
3293 withval=$with_cups;
3297 # Check whether --with-curses was given.
3298 if test "${with_curses+set}" = set; then :
3299 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3303 # Check whether --with-dbus was given.
3304 if test "${with_dbus+set}" = set; then :
3305 withval=$with_dbus;
3309 # Check whether --with-fontconfig was given.
3310 if test "${with_fontconfig+set}" = set; then :
3311 withval=$with_fontconfig;
3315 # Check whether --with-freetype was given.
3316 if test "${with_freetype+set}" = set; then :
3317 withval=$with_freetype;
3321 # Check whether --with-gettext was given.
3322 if test "${with_gettext+set}" = set; then :
3323 withval=$with_gettext;
3327 # Check whether --with-gettextpo was given.
3328 if test "${with_gettextpo+set}" = set; then :
3329 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3333 # Check whether --with-gphoto was given.
3334 if test "${with_gphoto+set}" = set; then :
3335 withval=$with_gphoto;
3339 # Check whether --with-glu was given.
3340 if test "${with_glu+set}" = set; then :
3341 withval=$with_glu;
3345 # Check whether --with-gnutls was given.
3346 if test "${with_gnutls+set}" = set; then :
3347 withval=$with_gnutls;
3351 # Check whether --with-gsm was given.
3352 if test "${with_gsm+set}" = set; then :
3353 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3357 # Check whether --with-gstreamer was given.
3358 if test "${with_gstreamer+set}" = set; then :
3359 withval=$with_gstreamer;
3363 # Check whether --with-hal was given.
3364 if test "${with_hal+set}" = set; then :
3365 withval=$with_hal;
3369 # Check whether --with-jpeg was given.
3370 if test "${with_jpeg+set}" = set; then :
3371 withval=$with_jpeg;
3375 # Check whether --with-ldap was given.
3376 if test "${with_ldap+set}" = set; then :
3377 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3381 # Check whether --with-mpg123 was given.
3382 if test "${with_mpg123+set}" = set; then :
3383 withval=$with_mpg123;
3387 # Check whether --with-netapi was given.
3388 if test "${with_netapi+set}" = set; then :
3389 withval=$with_netapi;
3393 # Check whether --with-openal was given.
3394 if test "${with_openal+set}" = set; then :
3395 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3399 # Check whether --with-opencl was given.
3400 if test "${with_opencl+set}" = set; then :
3401 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3405 # Check whether --with-opengl was given.
3406 if test "${with_opengl+set}" = set; then :
3407 withval=$with_opengl;
3411 # Check whether --with-osmesa was given.
3412 if test "${with_osmesa+set}" = set; then :
3413 withval=$with_osmesa;
3417 # Check whether --with-oss was given.
3418 if test "${with_oss+set}" = set; then :
3419 withval=$with_oss;
3423 # Check whether --with-pcap was given.
3424 if test "${with_pcap+set}" = set; then :
3425 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3429 # Check whether --with-png was given.
3430 if test "${with_png+set}" = set; then :
3431 withval=$with_png;
3435 # Check whether --with-pthread was given.
3436 if test "${with_pthread+set}" = set; then :
3437 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3441 # Check whether --with-sane was given.
3442 if test "${with_sane+set}" = set; then :
3443 withval=$with_sane;
3447 # Check whether --with-tiff was given.
3448 if test "${with_tiff+set}" = set; then :
3449 withval=$with_tiff;
3453 # Check whether --with-v4l was given.
3454 if test "${with_v4l+set}" = set; then :
3455 withval=$with_v4l;
3459 # Check whether --with-xcomposite was given.
3460 if test "${with_xcomposite+set}" = set; then :
3461 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3465 # Check whether --with-xcursor was given.
3466 if test "${with_xcursor+set}" = set; then :
3467 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3471 # Check whether --with-xinerama was given.
3472 if test "${with_xinerama+set}" = set; then :
3473 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3477 # Check whether --with-xinput was given.
3478 if test "${with_xinput+set}" = set; then :
3479 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3483 # Check whether --with-xinput2 was given.
3484 if test "${with_xinput2+set}" = set; then :
3485 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3489 # Check whether --with-xml was given.
3490 if test "${with_xml+set}" = set; then :
3491 withval=$with_xml;
3495 # Check whether --with-xrandr was given.
3496 if test "${with_xrandr+set}" = set; then :
3497 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3501 # Check whether --with-xrender was given.
3502 if test "${with_xrender+set}" = set; then :
3503 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3507 # Check whether --with-xshape was given.
3508 if test "${with_xshape+set}" = set; then :
3509 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3513 # Check whether --with-xshm was given.
3514 if test "${with_xshm+set}" = set; then :
3515 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3519 # Check whether --with-xslt was given.
3520 if test "${with_xslt+set}" = set; then :
3521 withval=$with_xslt;
3525 # Check whether --with-xxf86vm was given.
3526 if test "${with_xxf86vm+set}" = set; then :
3527 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
3531 # Check whether --with-zlib was given.
3532 if test "${with_zlib+set}" = set; then :
3533 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3538 # Check whether --with-wine-tools was given.
3539 if test "${with_wine_tools+set}" = set; then :
3540 withval=$with_wine_tools;
3544 # Check whether --with-wine64 was given.
3545 if test "${with_wine64+set}" = set; then :
3546 withval=$with_wine64;
3550 # Make sure we can run config.sub.
3551 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3552 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3555 $as_echo_n "checking build system type... " >&6; }
3556 if ${ac_cv_build+:} false; then :
3557 $as_echo_n "(cached) " >&6
3558 else
3559 ac_build_alias=$build_alias
3560 test "x$ac_build_alias" = x &&
3561 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3562 test "x$ac_build_alias" = x &&
3563 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3564 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3565 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3569 $as_echo "$ac_cv_build" >&6; }
3570 case $ac_cv_build in
3571 *-*-*) ;;
3572 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3573 esac
3574 build=$ac_cv_build
3575 ac_save_IFS=$IFS; IFS='-'
3576 set x $ac_cv_build
3577 shift
3578 build_cpu=$1
3579 build_vendor=$2
3580 shift; shift
3581 # Remember, the first character of IFS is used to create $*,
3582 # except with old shells:
3583 build_os=$*
3584 IFS=$ac_save_IFS
3585 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3589 $as_echo_n "checking host system type... " >&6; }
3590 if ${ac_cv_host+:} false; then :
3591 $as_echo_n "(cached) " >&6
3592 else
3593 if test "x$host_alias" = x; then
3594 ac_cv_host=$ac_cv_build
3595 else
3596 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3597 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3602 $as_echo "$ac_cv_host" >&6; }
3603 case $ac_cv_host in
3604 *-*-*) ;;
3605 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3606 esac
3607 host=$ac_cv_host
3608 ac_save_IFS=$IFS; IFS='-'
3609 set x $ac_cv_host
3610 shift
3611 host_cpu=$1
3612 host_vendor=$2
3613 shift; shift
3614 # Remember, the first character of IFS is used to create $*,
3615 # except with old shells:
3616 host_os=$*
3617 IFS=$ac_save_IFS
3618 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3622 case "$srcdir" in
3623 .) ;;
3624 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3625 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3626 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3627 fi ;;
3628 esac
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3632 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3633 set x ${MAKE-make}
3634 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3635 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3636 $as_echo_n "(cached) " >&6
3637 else
3638 cat >conftest.make <<\_ACEOF
3639 SHELL = /bin/sh
3640 all:
3641 @echo '@@@%%%=$(MAKE)=@@@%%%'
3642 _ACEOF
3643 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3644 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3645 *@@@%%%=?*=@@@%%%*)
3646 eval ac_cv_prog_make_${ac_make}_set=yes;;
3648 eval ac_cv_prog_make_${ac_make}_set=no;;
3649 esac
3650 rm -f conftest.make
3652 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3654 $as_echo "yes" >&6; }
3655 SET_MAKE=
3656 else
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3658 $as_echo "no" >&6; }
3659 SET_MAKE="MAKE=${MAKE-make}"
3662 ac_ext=c
3663 ac_cpp='$CPP $CPPFLAGS'
3664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3667 if test -n "$ac_tool_prefix"; then
3668 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3669 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3671 $as_echo_n "checking for $ac_word... " >&6; }
3672 if ${ac_cv_prog_CC+:} false; then :
3673 $as_echo_n "(cached) " >&6
3674 else
3675 if test -n "$CC"; then
3676 ac_cv_prog_CC="$CC" # Let the user override the test.
3677 else
3678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3679 for as_dir in $PATH
3681 IFS=$as_save_IFS
3682 test -z "$as_dir" && as_dir=.
3683 for ac_exec_ext in '' $ac_executable_extensions; do
3684 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3685 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3687 break 2
3689 done
3690 done
3691 IFS=$as_save_IFS
3695 CC=$ac_cv_prog_CC
3696 if test -n "$CC"; then
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3698 $as_echo "$CC" >&6; }
3699 else
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3701 $as_echo "no" >&6; }
3706 if test -z "$ac_cv_prog_CC"; then
3707 ac_ct_CC=$CC
3708 # Extract the first word of "gcc", so it can be a program name with args.
3709 set dummy gcc; ac_word=$2
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3711 $as_echo_n "checking for $ac_word... " >&6; }
3712 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3713 $as_echo_n "(cached) " >&6
3714 else
3715 if test -n "$ac_ct_CC"; then
3716 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3717 else
3718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3719 for as_dir in $PATH
3721 IFS=$as_save_IFS
3722 test -z "$as_dir" && as_dir=.
3723 for ac_exec_ext in '' $ac_executable_extensions; do
3724 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3725 ac_cv_prog_ac_ct_CC="gcc"
3726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3727 break 2
3729 done
3730 done
3731 IFS=$as_save_IFS
3735 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3736 if test -n "$ac_ct_CC"; then
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3738 $as_echo "$ac_ct_CC" >&6; }
3739 else
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3741 $as_echo "no" >&6; }
3744 if test "x$ac_ct_CC" = x; then
3745 CC=""
3746 else
3747 case $cross_compiling:$ac_tool_warned in
3748 yes:)
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3750 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3751 ac_tool_warned=yes ;;
3752 esac
3753 CC=$ac_ct_CC
3755 else
3756 CC="$ac_cv_prog_CC"
3759 if test -z "$CC"; then
3760 if test -n "$ac_tool_prefix"; then
3761 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3762 set dummy ${ac_tool_prefix}cc; ac_word=$2
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3764 $as_echo_n "checking for $ac_word... " >&6; }
3765 if ${ac_cv_prog_CC+:} false; then :
3766 $as_echo_n "(cached) " >&6
3767 else
3768 if test -n "$CC"; then
3769 ac_cv_prog_CC="$CC" # Let the user override the test.
3770 else
3771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3772 for as_dir in $PATH
3774 IFS=$as_save_IFS
3775 test -z "$as_dir" && as_dir=.
3776 for ac_exec_ext in '' $ac_executable_extensions; do
3777 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3778 ac_cv_prog_CC="${ac_tool_prefix}cc"
3779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3780 break 2
3782 done
3783 done
3784 IFS=$as_save_IFS
3788 CC=$ac_cv_prog_CC
3789 if test -n "$CC"; then
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3791 $as_echo "$CC" >&6; }
3792 else
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3794 $as_echo "no" >&6; }
3800 if test -z "$CC"; then
3801 # Extract the first word of "cc", so it can be a program name with args.
3802 set dummy cc; ac_word=$2
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3804 $as_echo_n "checking for $ac_word... " >&6; }
3805 if ${ac_cv_prog_CC+:} false; then :
3806 $as_echo_n "(cached) " >&6
3807 else
3808 if test -n "$CC"; then
3809 ac_cv_prog_CC="$CC" # Let the user override the test.
3810 else
3811 ac_prog_rejected=no
3812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3813 for as_dir in $PATH
3815 IFS=$as_save_IFS
3816 test -z "$as_dir" && as_dir=.
3817 for ac_exec_ext in '' $ac_executable_extensions; do
3818 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3819 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3820 ac_prog_rejected=yes
3821 continue
3823 ac_cv_prog_CC="cc"
3824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3825 break 2
3827 done
3828 done
3829 IFS=$as_save_IFS
3831 if test $ac_prog_rejected = yes; then
3832 # We found a bogon in the path, so make sure we never use it.
3833 set dummy $ac_cv_prog_CC
3834 shift
3835 if test $# != 0; then
3836 # We chose a different compiler from the bogus one.
3837 # However, it has the same basename, so the bogon will be chosen
3838 # first if we set CC to just the basename; use the full file name.
3839 shift
3840 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3845 CC=$ac_cv_prog_CC
3846 if test -n "$CC"; then
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3848 $as_echo "$CC" >&6; }
3849 else
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3851 $as_echo "no" >&6; }
3856 if test -z "$CC"; then
3857 if test -n "$ac_tool_prefix"; then
3858 for ac_prog in cl.exe
3860 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3861 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3863 $as_echo_n "checking for $ac_word... " >&6; }
3864 if ${ac_cv_prog_CC+:} false; then :
3865 $as_echo_n "(cached) " >&6
3866 else
3867 if test -n "$CC"; then
3868 ac_cv_prog_CC="$CC" # Let the user override the test.
3869 else
3870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3871 for as_dir in $PATH
3873 IFS=$as_save_IFS
3874 test -z "$as_dir" && as_dir=.
3875 for ac_exec_ext in '' $ac_executable_extensions; do
3876 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3877 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3879 break 2
3881 done
3882 done
3883 IFS=$as_save_IFS
3887 CC=$ac_cv_prog_CC
3888 if test -n "$CC"; then
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3890 $as_echo "$CC" >&6; }
3891 else
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3893 $as_echo "no" >&6; }
3897 test -n "$CC" && break
3898 done
3900 if test -z "$CC"; then
3901 ac_ct_CC=$CC
3902 for ac_prog in cl.exe
3904 # Extract the first word of "$ac_prog", so it can be a program name with args.
3905 set dummy $ac_prog; ac_word=$2
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3907 $as_echo_n "checking for $ac_word... " >&6; }
3908 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3909 $as_echo_n "(cached) " >&6
3910 else
3911 if test -n "$ac_ct_CC"; then
3912 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3913 else
3914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3915 for as_dir in $PATH
3917 IFS=$as_save_IFS
3918 test -z "$as_dir" && as_dir=.
3919 for ac_exec_ext in '' $ac_executable_extensions; do
3920 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3921 ac_cv_prog_ac_ct_CC="$ac_prog"
3922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3923 break 2
3925 done
3926 done
3927 IFS=$as_save_IFS
3931 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3932 if test -n "$ac_ct_CC"; then
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3934 $as_echo "$ac_ct_CC" >&6; }
3935 else
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3937 $as_echo "no" >&6; }
3941 test -n "$ac_ct_CC" && break
3942 done
3944 if test "x$ac_ct_CC" = x; then
3945 CC=""
3946 else
3947 case $cross_compiling:$ac_tool_warned in
3948 yes:)
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3950 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3951 ac_tool_warned=yes ;;
3952 esac
3953 CC=$ac_ct_CC
3960 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3961 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3962 as_fn_error $? "no acceptable C compiler found in \$PATH
3963 See \`config.log' for more details" "$LINENO" 5; }
3965 # Provide some information about the compiler.
3966 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3967 set X $ac_compile
3968 ac_compiler=$2
3969 for ac_option in --version -v -V -qversion; do
3970 { { ac_try="$ac_compiler $ac_option >&5"
3971 case "(($ac_try" in
3972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3973 *) ac_try_echo=$ac_try;;
3974 esac
3975 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3976 $as_echo "$ac_try_echo"; } >&5
3977 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3978 ac_status=$?
3979 if test -s conftest.err; then
3980 sed '10a\
3981 ... rest of stderr output deleted ...
3982 10q' conftest.err >conftest.er1
3983 cat conftest.er1 >&5
3985 rm -f conftest.er1 conftest.err
3986 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3987 test $ac_status = 0; }
3988 done
3990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3991 /* end confdefs.h. */
3994 main ()
3998 return 0;
4000 _ACEOF
4001 ac_clean_files_save=$ac_clean_files
4002 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4003 # Try to create an executable without -o first, disregard a.out.
4004 # It will help us diagnose broken compilers, and finding out an intuition
4005 # of exeext.
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4007 $as_echo_n "checking whether the C compiler works... " >&6; }
4008 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4010 # The possible output files:
4011 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4013 ac_rmfiles=
4014 for ac_file in $ac_files
4016 case $ac_file in
4017 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4018 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4019 esac
4020 done
4021 rm -f $ac_rmfiles
4023 if { { ac_try="$ac_link_default"
4024 case "(($ac_try" in
4025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4026 *) ac_try_echo=$ac_try;;
4027 esac
4028 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4029 $as_echo "$ac_try_echo"; } >&5
4030 (eval "$ac_link_default") 2>&5
4031 ac_status=$?
4032 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4033 test $ac_status = 0; }; then :
4034 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4035 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4036 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4037 # so that the user can short-circuit this test for compilers unknown to
4038 # Autoconf.
4039 for ac_file in $ac_files ''
4041 test -f "$ac_file" || continue
4042 case $ac_file in
4043 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4045 [ab].out )
4046 # We found the default executable, but exeext='' is most
4047 # certainly right.
4048 break;;
4049 *.* )
4050 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4051 then :; else
4052 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4054 # We set ac_cv_exeext here because the later test for it is not
4055 # safe: cross compilers may not add the suffix if given an `-o'
4056 # argument, so we may need to know it at that point already.
4057 # Even if this section looks crufty: it has the advantage of
4058 # actually working.
4059 break;;
4061 break;;
4062 esac
4063 done
4064 test "$ac_cv_exeext" = no && ac_cv_exeext=
4066 else
4067 ac_file=''
4069 if test -z "$ac_file"; then :
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4071 $as_echo "no" >&6; }
4072 $as_echo "$as_me: failed program was:" >&5
4073 sed 's/^/| /' conftest.$ac_ext >&5
4075 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4076 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4077 as_fn_error 77 "C compiler cannot create executables
4078 See \`config.log' for more details" "$LINENO" 5; }
4079 else
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4081 $as_echo "yes" >&6; }
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4084 $as_echo_n "checking for C compiler default output file name... " >&6; }
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4086 $as_echo "$ac_file" >&6; }
4087 ac_exeext=$ac_cv_exeext
4089 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4090 ac_clean_files=$ac_clean_files_save
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4092 $as_echo_n "checking for suffix of executables... " >&6; }
4093 if { { ac_try="$ac_link"
4094 case "(($ac_try" in
4095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4096 *) ac_try_echo=$ac_try;;
4097 esac
4098 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4099 $as_echo "$ac_try_echo"; } >&5
4100 (eval "$ac_link") 2>&5
4101 ac_status=$?
4102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4103 test $ac_status = 0; }; then :
4104 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4105 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4106 # work properly (i.e., refer to `conftest.exe'), while it won't with
4107 # `rm'.
4108 for ac_file in conftest.exe conftest conftest.*; do
4109 test -f "$ac_file" || continue
4110 case $ac_file in
4111 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4112 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4113 break;;
4114 * ) break;;
4115 esac
4116 done
4117 else
4118 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4119 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4120 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4121 See \`config.log' for more details" "$LINENO" 5; }
4123 rm -f conftest conftest$ac_cv_exeext
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4125 $as_echo "$ac_cv_exeext" >&6; }
4127 rm -f conftest.$ac_ext
4128 EXEEXT=$ac_cv_exeext
4129 ac_exeext=$EXEEXT
4130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4131 /* end confdefs.h. */
4132 #include <stdio.h>
4134 main ()
4136 FILE *f = fopen ("conftest.out", "w");
4137 return ferror (f) || fclose (f) != 0;
4140 return 0;
4142 _ACEOF
4143 ac_clean_files="$ac_clean_files conftest.out"
4144 # Check that the compiler produces executables we can run. If not, either
4145 # the compiler is broken, or we cross compile.
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4147 $as_echo_n "checking whether we are cross compiling... " >&6; }
4148 if test "$cross_compiling" != yes; then
4149 { { ac_try="$ac_link"
4150 case "(($ac_try" in
4151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4152 *) ac_try_echo=$ac_try;;
4153 esac
4154 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4155 $as_echo "$ac_try_echo"; } >&5
4156 (eval "$ac_link") 2>&5
4157 ac_status=$?
4158 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4159 test $ac_status = 0; }
4160 if { ac_try='./conftest$ac_cv_exeext'
4161 { { case "(($ac_try" in
4162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4163 *) ac_try_echo=$ac_try;;
4164 esac
4165 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4166 $as_echo "$ac_try_echo"; } >&5
4167 (eval "$ac_try") 2>&5
4168 ac_status=$?
4169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4170 test $ac_status = 0; }; }; then
4171 cross_compiling=no
4172 else
4173 if test "$cross_compiling" = maybe; then
4174 cross_compiling=yes
4175 else
4176 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4177 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4178 as_fn_error $? "cannot run C compiled programs.
4179 If you meant to cross compile, use \`--host'.
4180 See \`config.log' for more details" "$LINENO" 5; }
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4185 $as_echo "$cross_compiling" >&6; }
4187 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4188 ac_clean_files=$ac_clean_files_save
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4190 $as_echo_n "checking for suffix of object files... " >&6; }
4191 if ${ac_cv_objext+:} false; then :
4192 $as_echo_n "(cached) " >&6
4193 else
4194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4195 /* end confdefs.h. */
4198 main ()
4202 return 0;
4204 _ACEOF
4205 rm -f conftest.o conftest.obj
4206 if { { ac_try="$ac_compile"
4207 case "(($ac_try" in
4208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4209 *) ac_try_echo=$ac_try;;
4210 esac
4211 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4212 $as_echo "$ac_try_echo"; } >&5
4213 (eval "$ac_compile") 2>&5
4214 ac_status=$?
4215 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4216 test $ac_status = 0; }; then :
4217 for ac_file in conftest.o conftest.obj conftest.*; do
4218 test -f "$ac_file" || continue;
4219 case $ac_file in
4220 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4221 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4222 break;;
4223 esac
4224 done
4225 else
4226 $as_echo "$as_me: failed program was:" >&5
4227 sed 's/^/| /' conftest.$ac_ext >&5
4229 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4230 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4231 as_fn_error $? "cannot compute suffix of object files: cannot compile
4232 See \`config.log' for more details" "$LINENO" 5; }
4234 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4237 $as_echo "$ac_cv_objext" >&6; }
4238 OBJEXT=$ac_cv_objext
4239 ac_objext=$OBJEXT
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4241 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4242 if ${ac_cv_c_compiler_gnu+:} false; then :
4243 $as_echo_n "(cached) " >&6
4244 else
4245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4246 /* end confdefs.h. */
4249 main ()
4251 #ifndef __GNUC__
4252 choke me
4253 #endif
4256 return 0;
4258 _ACEOF
4259 if ac_fn_c_try_compile "$LINENO"; then :
4260 ac_compiler_gnu=yes
4261 else
4262 ac_compiler_gnu=no
4264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4265 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4269 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4270 if test $ac_compiler_gnu = yes; then
4271 GCC=yes
4272 else
4273 GCC=
4275 ac_test_CFLAGS=${CFLAGS+set}
4276 ac_save_CFLAGS=$CFLAGS
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4278 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4279 if ${ac_cv_prog_cc_g+:} false; then :
4280 $as_echo_n "(cached) " >&6
4281 else
4282 ac_save_c_werror_flag=$ac_c_werror_flag
4283 ac_c_werror_flag=yes
4284 ac_cv_prog_cc_g=no
4285 CFLAGS="-g"
4286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4287 /* end confdefs.h. */
4290 main ()
4294 return 0;
4296 _ACEOF
4297 if ac_fn_c_try_compile "$LINENO"; then :
4298 ac_cv_prog_cc_g=yes
4299 else
4300 CFLAGS=""
4301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4302 /* end confdefs.h. */
4305 main ()
4309 return 0;
4311 _ACEOF
4312 if ac_fn_c_try_compile "$LINENO"; then :
4314 else
4315 ac_c_werror_flag=$ac_save_c_werror_flag
4316 CFLAGS="-g"
4317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4318 /* end confdefs.h. */
4321 main ()
4325 return 0;
4327 _ACEOF
4328 if ac_fn_c_try_compile "$LINENO"; then :
4329 ac_cv_prog_cc_g=yes
4331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4336 ac_c_werror_flag=$ac_save_c_werror_flag
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4339 $as_echo "$ac_cv_prog_cc_g" >&6; }
4340 if test "$ac_test_CFLAGS" = set; then
4341 CFLAGS=$ac_save_CFLAGS
4342 elif test $ac_cv_prog_cc_g = yes; then
4343 if test "$GCC" = yes; then
4344 CFLAGS="-g -O2"
4345 else
4346 CFLAGS="-g"
4348 else
4349 if test "$GCC" = yes; then
4350 CFLAGS="-O2"
4351 else
4352 CFLAGS=
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4356 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4357 if ${ac_cv_prog_cc_c89+:} false; then :
4358 $as_echo_n "(cached) " >&6
4359 else
4360 ac_cv_prog_cc_c89=no
4361 ac_save_CC=$CC
4362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4363 /* end confdefs.h. */
4364 #include <stdarg.h>
4365 #include <stdio.h>
4366 struct stat;
4367 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4368 struct buf { int x; };
4369 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4370 static char *e (p, i)
4371 char **p;
4372 int i;
4374 return p[i];
4376 static char *f (char * (*g) (char **, int), char **p, ...)
4378 char *s;
4379 va_list v;
4380 va_start (v,p);
4381 s = g (p, va_arg (v,int));
4382 va_end (v);
4383 return s;
4386 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4387 function prototypes and stuff, but not '\xHH' hex character constants.
4388 These don't provoke an error unfortunately, instead are silently treated
4389 as 'x'. The following induces an error, until -std is added to get
4390 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4391 array size at least. It's necessary to write '\x00'==0 to get something
4392 that's true only with -std. */
4393 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4395 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4396 inside strings and character constants. */
4397 #define FOO(x) 'x'
4398 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4400 int test (int i, double x);
4401 struct s1 {int (*f) (int a);};
4402 struct s2 {int (*f) (double a);};
4403 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4404 int argc;
4405 char **argv;
4407 main ()
4409 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4411 return 0;
4413 _ACEOF
4414 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4415 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4417 CC="$ac_save_CC $ac_arg"
4418 if ac_fn_c_try_compile "$LINENO"; then :
4419 ac_cv_prog_cc_c89=$ac_arg
4421 rm -f core conftest.err conftest.$ac_objext
4422 test "x$ac_cv_prog_cc_c89" != "xno" && break
4423 done
4424 rm -f conftest.$ac_ext
4425 CC=$ac_save_CC
4428 # AC_CACHE_VAL
4429 case "x$ac_cv_prog_cc_c89" in
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4432 $as_echo "none needed" >&6; } ;;
4433 xno)
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4435 $as_echo "unsupported" >&6; } ;;
4437 CC="$CC $ac_cv_prog_cc_c89"
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4439 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4440 esac
4441 if test "x$ac_cv_prog_cc_c89" != xno; then :
4445 ac_ext=c
4446 ac_cpp='$CPP $CPPFLAGS'
4447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4451 ac_ext=cpp
4452 ac_cpp='$CXXCPP $CPPFLAGS'
4453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4456 if test -z "$CXX"; then
4457 if test -n "$CCC"; then
4458 CXX=$CCC
4459 else
4460 if test -n "$ac_tool_prefix"; then
4461 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4463 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4464 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4466 $as_echo_n "checking for $ac_word... " >&6; }
4467 if ${ac_cv_prog_CXX+:} false; then :
4468 $as_echo_n "(cached) " >&6
4469 else
4470 if test -n "$CXX"; then
4471 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4472 else
4473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4474 for as_dir in $PATH
4476 IFS=$as_save_IFS
4477 test -z "$as_dir" && as_dir=.
4478 for ac_exec_ext in '' $ac_executable_extensions; do
4479 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4480 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4482 break 2
4484 done
4485 done
4486 IFS=$as_save_IFS
4490 CXX=$ac_cv_prog_CXX
4491 if test -n "$CXX"; then
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4493 $as_echo "$CXX" >&6; }
4494 else
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4496 $as_echo "no" >&6; }
4500 test -n "$CXX" && break
4501 done
4503 if test -z "$CXX"; then
4504 ac_ct_CXX=$CXX
4505 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4507 # Extract the first word of "$ac_prog", so it can be a program name with args.
4508 set dummy $ac_prog; ac_word=$2
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4510 $as_echo_n "checking for $ac_word... " >&6; }
4511 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4512 $as_echo_n "(cached) " >&6
4513 else
4514 if test -n "$ac_ct_CXX"; then
4515 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4516 else
4517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4518 for as_dir in $PATH
4520 IFS=$as_save_IFS
4521 test -z "$as_dir" && as_dir=.
4522 for ac_exec_ext in '' $ac_executable_extensions; do
4523 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4524 ac_cv_prog_ac_ct_CXX="$ac_prog"
4525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4526 break 2
4528 done
4529 done
4530 IFS=$as_save_IFS
4534 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4535 if test -n "$ac_ct_CXX"; then
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4537 $as_echo "$ac_ct_CXX" >&6; }
4538 else
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4540 $as_echo "no" >&6; }
4544 test -n "$ac_ct_CXX" && break
4545 done
4547 if test "x$ac_ct_CXX" = x; then
4548 CXX="g++"
4549 else
4550 case $cross_compiling:$ac_tool_warned in
4551 yes:)
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4553 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4554 ac_tool_warned=yes ;;
4555 esac
4556 CXX=$ac_ct_CXX
4562 # Provide some information about the compiler.
4563 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4564 set X $ac_compile
4565 ac_compiler=$2
4566 for ac_option in --version -v -V -qversion; do
4567 { { ac_try="$ac_compiler $ac_option >&5"
4568 case "(($ac_try" in
4569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4570 *) ac_try_echo=$ac_try;;
4571 esac
4572 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4573 $as_echo "$ac_try_echo"; } >&5
4574 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4575 ac_status=$?
4576 if test -s conftest.err; then
4577 sed '10a\
4578 ... rest of stderr output deleted ...
4579 10q' conftest.err >conftest.er1
4580 cat conftest.er1 >&5
4582 rm -f conftest.er1 conftest.err
4583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4584 test $ac_status = 0; }
4585 done
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4588 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4589 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4590 $as_echo_n "(cached) " >&6
4591 else
4592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4593 /* end confdefs.h. */
4596 main ()
4598 #ifndef __GNUC__
4599 choke me
4600 #endif
4603 return 0;
4605 _ACEOF
4606 if ac_fn_cxx_try_compile "$LINENO"; then :
4607 ac_compiler_gnu=yes
4608 else
4609 ac_compiler_gnu=no
4611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4612 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4616 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4617 if test $ac_compiler_gnu = yes; then
4618 GXX=yes
4619 else
4620 GXX=
4622 ac_test_CXXFLAGS=${CXXFLAGS+set}
4623 ac_save_CXXFLAGS=$CXXFLAGS
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4625 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4626 if ${ac_cv_prog_cxx_g+:} false; then :
4627 $as_echo_n "(cached) " >&6
4628 else
4629 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4630 ac_cxx_werror_flag=yes
4631 ac_cv_prog_cxx_g=no
4632 CXXFLAGS="-g"
4633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4634 /* end confdefs.h. */
4637 main ()
4641 return 0;
4643 _ACEOF
4644 if ac_fn_cxx_try_compile "$LINENO"; then :
4645 ac_cv_prog_cxx_g=yes
4646 else
4647 CXXFLAGS=""
4648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4649 /* end confdefs.h. */
4652 main ()
4656 return 0;
4658 _ACEOF
4659 if ac_fn_cxx_try_compile "$LINENO"; then :
4661 else
4662 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4663 CXXFLAGS="-g"
4664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4665 /* end confdefs.h. */
4668 main ()
4672 return 0;
4674 _ACEOF
4675 if ac_fn_cxx_try_compile "$LINENO"; then :
4676 ac_cv_prog_cxx_g=yes
4678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4683 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4686 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4687 if test "$ac_test_CXXFLAGS" = set; then
4688 CXXFLAGS=$ac_save_CXXFLAGS
4689 elif test $ac_cv_prog_cxx_g = yes; then
4690 if test "$GXX" = yes; then
4691 CXXFLAGS="-g -O2"
4692 else
4693 CXXFLAGS="-g"
4695 else
4696 if test "$GXX" = yes; then
4697 CXXFLAGS="-O2"
4698 else
4699 CXXFLAGS=
4702 ac_ext=c
4703 ac_cpp='$CPP $CPPFLAGS'
4704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4708 if test -n "$ac_tool_prefix"; then
4709 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4710 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4712 $as_echo_n "checking for $ac_word... " >&6; }
4713 if ${ac_cv_prog_CPPBIN+:} false; then :
4714 $as_echo_n "(cached) " >&6
4715 else
4716 if test -n "$CPPBIN"; then
4717 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4718 else
4719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4720 for as_dir in $PATH
4722 IFS=$as_save_IFS
4723 test -z "$as_dir" && as_dir=.
4724 for ac_exec_ext in '' $ac_executable_extensions; do
4725 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4726 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4728 break 2
4730 done
4731 done
4732 IFS=$as_save_IFS
4736 CPPBIN=$ac_cv_prog_CPPBIN
4737 if test -n "$CPPBIN"; then
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4739 $as_echo "$CPPBIN" >&6; }
4740 else
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4742 $as_echo "no" >&6; }
4747 if test -z "$ac_cv_prog_CPPBIN"; then
4748 ac_ct_CPPBIN=$CPPBIN
4749 # Extract the first word of "cpp", so it can be a program name with args.
4750 set dummy cpp; ac_word=$2
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4752 $as_echo_n "checking for $ac_word... " >&6; }
4753 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4754 $as_echo_n "(cached) " >&6
4755 else
4756 if test -n "$ac_ct_CPPBIN"; then
4757 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4758 else
4759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4760 for as_dir in $PATH
4762 IFS=$as_save_IFS
4763 test -z "$as_dir" && as_dir=.
4764 for ac_exec_ext in '' $ac_executable_extensions; do
4765 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4766 ac_cv_prog_ac_ct_CPPBIN="cpp"
4767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4768 break 2
4770 done
4771 done
4772 IFS=$as_save_IFS
4776 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4777 if test -n "$ac_ct_CPPBIN"; then
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4779 $as_echo "$ac_ct_CPPBIN" >&6; }
4780 else
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4782 $as_echo "no" >&6; }
4785 if test "x$ac_ct_CPPBIN" = x; then
4786 CPPBIN="cpp"
4787 else
4788 case $cross_compiling:$ac_tool_warned in
4789 yes:)
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4791 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4792 ac_tool_warned=yes ;;
4793 esac
4794 CPPBIN=$ac_ct_CPPBIN
4796 else
4797 CPPBIN="$ac_cv_prog_CPPBIN"
4801 cat >>confdefs.h <<_ACEOF
4802 #define EXEEXT "$ac_exeext"
4803 _ACEOF
4805 if test -n "$ac_tool_prefix"; then
4806 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4807 set dummy ${ac_tool_prefix}ld; ac_word=$2
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4809 $as_echo_n "checking for $ac_word... " >&6; }
4810 if ${ac_cv_prog_LD+:} false; then :
4811 $as_echo_n "(cached) " >&6
4812 else
4813 if test -n "$LD"; then
4814 ac_cv_prog_LD="$LD" # Let the user override the test.
4815 else
4816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4817 for as_dir in $PATH
4819 IFS=$as_save_IFS
4820 test -z "$as_dir" && as_dir=.
4821 for ac_exec_ext in '' $ac_executable_extensions; do
4822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4823 ac_cv_prog_LD="${ac_tool_prefix}ld"
4824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4825 break 2
4827 done
4828 done
4829 IFS=$as_save_IFS
4833 LD=$ac_cv_prog_LD
4834 if test -n "$LD"; then
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4836 $as_echo "$LD" >&6; }
4837 else
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4839 $as_echo "no" >&6; }
4844 if test -z "$ac_cv_prog_LD"; then
4845 ac_ct_LD=$LD
4846 # Extract the first word of "ld", so it can be a program name with args.
4847 set dummy ld; ac_word=$2
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4849 $as_echo_n "checking for $ac_word... " >&6; }
4850 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4851 $as_echo_n "(cached) " >&6
4852 else
4853 if test -n "$ac_ct_LD"; then
4854 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4855 else
4856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4857 for as_dir in $PATH
4859 IFS=$as_save_IFS
4860 test -z "$as_dir" && as_dir=.
4861 for ac_exec_ext in '' $ac_executable_extensions; do
4862 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4863 ac_cv_prog_ac_ct_LD="ld"
4864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4865 break 2
4867 done
4868 done
4869 IFS=$as_save_IFS
4873 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4874 if test -n "$ac_ct_LD"; then
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4876 $as_echo "$ac_ct_LD" >&6; }
4877 else
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4879 $as_echo "no" >&6; }
4882 if test "x$ac_ct_LD" = x; then
4883 LD=""
4884 else
4885 case $cross_compiling:$ac_tool_warned in
4886 yes:)
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4888 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4889 ac_tool_warned=yes ;;
4890 esac
4891 LD=$ac_ct_LD
4893 else
4894 LD="$ac_cv_prog_LD"
4898 case $host in
4899 *-darwin*)
4900 if test "x$enable_win64" = "xyes"
4901 then
4902 CC="$CC -m64"
4903 CXX="$CXX -m64"
4904 host_cpu="x86_64"
4905 notice_platform="64-bit "
4906 TARGETFLAGS="-m64"
4908 else
4909 CC="$CC -m32"
4910 CXX="$CXX -m32"
4911 host_cpu="i386"
4912 notice_platform="32-bit "
4913 TARGETFLAGS="-m32"
4915 enable_win16=${enable_win16:-yes}
4917 with_fontconfig=${with_fontconfig:-no}
4919 x86_64*|amd64*)
4920 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4921 then
4922 CC="$CC -m32"
4923 CXX="$CXX -m32"
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4925 $as_echo_n "checking whether $CC works... " >&6; }
4927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4928 /* end confdefs.h. */
4931 main ()
4935 return 0;
4937 _ACEOF
4938 if ac_fn_c_try_link "$LINENO"; then :
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4940 $as_echo "yes" >&6; }
4941 else
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4943 $as_echo "no" >&6; }
4944 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4946 rm -f core conftest.err conftest.$ac_objext \
4947 conftest$ac_exeext conftest.$ac_ext
4948 host_cpu="i386"
4949 notice_platform="32-bit "
4950 TARGETFLAGS="-m32"
4952 enable_win16=${enable_win16:-yes}
4953 else
4954 if test "x${GCC}" = "xyes"
4955 then
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4957 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4959 /* end confdefs.h. */
4960 #include <stdarg.h>
4962 main ()
4964 void func(__builtin_ms_va_list *args);
4966 return 0;
4968 _ACEOF
4969 if ac_fn_c_try_compile "$LINENO"; then :
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4971 $as_echo "yes" >&6; }
4972 else
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4974 $as_echo "no" >&6; }
4975 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4979 host_cpu="x86_64"
4980 TARGETFLAGS="-m64"
4984 arm*)
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4986 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4988 /* end confdefs.h. */
4989 int ac_test(int i) { return i; }
4991 main ()
4993 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4995 return 0;
4997 _ACEOF
4998 if ac_fn_c_try_link "$LINENO"; then :
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5000 $as_echo "yes" >&6; }
5001 else
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5003 $as_echo "no" >&6; }
5004 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5006 rm -f core conftest.err conftest.$ac_objext \
5007 conftest$ac_exeext conftest.$ac_ext
5008 CFLAGS="$CFLAGS -marm"
5009 TARGETFLAGS="-marm"
5012 *-mingw32*|*-cygwin*)
5013 enable_win16=${enable_win16:-no}
5014 CFLAGS="$CFLAGS -D_WIN32"
5016 i[3456789]86*)
5017 enable_win16=${enable_win16:-yes}
5019 esac
5021 enable_win16=${enable_win16:-no}
5022 enable_win64=${enable_win64:-no}
5024 enable_winetest=${enable_winetest:-$enable_tests}
5026 if test -n "$with_wine64"
5027 then
5028 if test "x$enable_win64" = "xyes"
5029 then
5030 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5031 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5033 enable_fonts=${enable_fonts:-no}
5034 enable_server=${enable_server:-no}
5035 elif test "x$enable_win64" = "xyes"
5036 then
5037 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5041 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5042 if ${wine_cv_toolsdir+:} false; then :
5043 $as_echo_n "(cached) " >&6
5044 else
5045 wine_cv_toolsdir="$with_wine_tools"
5046 if test -z "$with_wine_tools"; then
5047 if test "$cross_compiling" = "yes"; then
5048 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5049 elif test -n "$with_wine64"; then
5050 wine_cv_toolsdir="$with_wine64"
5053 if test -z "$wine_cv_toolsdir"; then
5054 wine_makedep=tools/makedep
5055 wine_cv_toolsdir="\$(top_builddir)"
5056 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5057 wine_makedep=$wine_cv_toolsdir/tools/makedep
5058 case "$wine_cv_toolsdir" in
5059 /*) ;;
5060 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5061 esac
5062 enable_tools=${enable_tools:-no}
5063 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5064 else
5065 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5069 $as_echo "$wine_cv_toolsdir" >&6; }
5070 TOOLSDIR=$wine_cv_toolsdir
5072 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5073 then
5074 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5078 for ac_prog in flex
5080 # Extract the first word of "$ac_prog", so it can be a program name with args.
5081 set dummy $ac_prog; ac_word=$2
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5083 $as_echo_n "checking for $ac_word... " >&6; }
5084 if ${ac_cv_prog_FLEX+:} false; then :
5085 $as_echo_n "(cached) " >&6
5086 else
5087 if test -n "$FLEX"; then
5088 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5089 else
5090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5091 for as_dir in $PATH
5093 IFS=$as_save_IFS
5094 test -z "$as_dir" && as_dir=.
5095 for ac_exec_ext in '' $ac_executable_extensions; do
5096 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5097 ac_cv_prog_FLEX="$ac_prog"
5098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5099 break 2
5101 done
5102 done
5103 IFS=$as_save_IFS
5107 FLEX=$ac_cv_prog_FLEX
5108 if test -n "$FLEX"; then
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5110 $as_echo "$FLEX" >&6; }
5111 else
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5113 $as_echo "no" >&6; }
5117 test -n "$FLEX" && break
5118 done
5119 test -n "$FLEX" || FLEX="none"
5121 if test "$FLEX" = "none"
5122 then
5123 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5126 $as_echo_n "checking whether flex is recent enough... " >&6; }
5127 cat >conftest.l <<EOF
5128 %top{
5129 #include "prediluvian.h"
5133 if $FLEX -t conftest.l >/dev/null 2>&5
5134 then
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5136 $as_echo "yes" >&6; }
5137 else
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5139 $as_echo "no" >&6; }
5140 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5143 for ac_prog in bison
5145 # Extract the first word of "$ac_prog", so it can be a program name with args.
5146 set dummy $ac_prog; ac_word=$2
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5148 $as_echo_n "checking for $ac_word... " >&6; }
5149 if ${ac_cv_prog_BISON+:} false; then :
5150 $as_echo_n "(cached) " >&6
5151 else
5152 if test -n "$BISON"; then
5153 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5154 else
5155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5156 for as_dir in $PATH
5158 IFS=$as_save_IFS
5159 test -z "$as_dir" && as_dir=.
5160 for ac_exec_ext in '' $ac_executable_extensions; do
5161 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5162 ac_cv_prog_BISON="$ac_prog"
5163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5164 break 2
5166 done
5167 done
5168 IFS=$as_save_IFS
5172 BISON=$ac_cv_prog_BISON
5173 if test -n "$BISON"; then
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5175 $as_echo "$BISON" >&6; }
5176 else
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5178 $as_echo "no" >&6; }
5182 test -n "$BISON" && break
5183 done
5184 test -n "$BISON" || BISON="none"
5186 if test "$BISON" = "none"
5187 then
5188 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5191 if test -n "$ac_tool_prefix"; then
5192 for ac_prog in ar gar
5194 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5195 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5197 $as_echo_n "checking for $ac_word... " >&6; }
5198 if ${ac_cv_prog_AR+:} false; then :
5199 $as_echo_n "(cached) " >&6
5200 else
5201 if test -n "$AR"; then
5202 ac_cv_prog_AR="$AR" # Let the user override the test.
5203 else
5204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5205 for as_dir in $PATH
5207 IFS=$as_save_IFS
5208 test -z "$as_dir" && as_dir=.
5209 for ac_exec_ext in '' $ac_executable_extensions; do
5210 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5211 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5213 break 2
5215 done
5216 done
5217 IFS=$as_save_IFS
5221 AR=$ac_cv_prog_AR
5222 if test -n "$AR"; then
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5224 $as_echo "$AR" >&6; }
5225 else
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5227 $as_echo "no" >&6; }
5231 test -n "$AR" && break
5232 done
5234 if test -z "$AR"; then
5235 ac_ct_AR=$AR
5236 for ac_prog in ar gar
5238 # Extract the first word of "$ac_prog", so it can be a program name with args.
5239 set dummy $ac_prog; ac_word=$2
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5241 $as_echo_n "checking for $ac_word... " >&6; }
5242 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5243 $as_echo_n "(cached) " >&6
5244 else
5245 if test -n "$ac_ct_AR"; then
5246 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5247 else
5248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5249 for as_dir in $PATH
5251 IFS=$as_save_IFS
5252 test -z "$as_dir" && as_dir=.
5253 for ac_exec_ext in '' $ac_executable_extensions; do
5254 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5255 ac_cv_prog_ac_ct_AR="$ac_prog"
5256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5257 break 2
5259 done
5260 done
5261 IFS=$as_save_IFS
5265 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5266 if test -n "$ac_ct_AR"; then
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5268 $as_echo "$ac_ct_AR" >&6; }
5269 else
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5271 $as_echo "no" >&6; }
5275 test -n "$ac_ct_AR" && break
5276 done
5278 if test "x$ac_ct_AR" = x; then
5279 AR="ar"
5280 else
5281 case $cross_compiling:$ac_tool_warned in
5282 yes:)
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5284 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5285 ac_tool_warned=yes ;;
5286 esac
5287 AR=$ac_ct_AR
5291 if test -n "$ac_tool_prefix"; then
5292 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5293 set dummy ${ac_tool_prefix}strip; ac_word=$2
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5295 $as_echo_n "checking for $ac_word... " >&6; }
5296 if ${ac_cv_prog_STRIP+:} false; then :
5297 $as_echo_n "(cached) " >&6
5298 else
5299 if test -n "$STRIP"; then
5300 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5301 else
5302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5303 for as_dir in $PATH
5305 IFS=$as_save_IFS
5306 test -z "$as_dir" && as_dir=.
5307 for ac_exec_ext in '' $ac_executable_extensions; do
5308 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5309 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5311 break 2
5313 done
5314 done
5315 IFS=$as_save_IFS
5319 STRIP=$ac_cv_prog_STRIP
5320 if test -n "$STRIP"; then
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5322 $as_echo "$STRIP" >&6; }
5323 else
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5325 $as_echo "no" >&6; }
5330 if test -z "$ac_cv_prog_STRIP"; then
5331 ac_ct_STRIP=$STRIP
5332 # Extract the first word of "strip", so it can be a program name with args.
5333 set dummy strip; ac_word=$2
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5335 $as_echo_n "checking for $ac_word... " >&6; }
5336 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5337 $as_echo_n "(cached) " >&6
5338 else
5339 if test -n "$ac_ct_STRIP"; then
5340 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5341 else
5342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5343 for as_dir in $PATH
5345 IFS=$as_save_IFS
5346 test -z "$as_dir" && as_dir=.
5347 for ac_exec_ext in '' $ac_executable_extensions; do
5348 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5349 ac_cv_prog_ac_ct_STRIP="strip"
5350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5351 break 2
5353 done
5354 done
5355 IFS=$as_save_IFS
5359 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5360 if test -n "$ac_ct_STRIP"; then
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5362 $as_echo "$ac_ct_STRIP" >&6; }
5363 else
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5365 $as_echo "no" >&6; }
5368 if test "x$ac_ct_STRIP" = x; then
5369 STRIP="strip"
5370 else
5371 case $cross_compiling:$ac_tool_warned in
5372 yes:)
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5374 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5375 ac_tool_warned=yes ;;
5376 esac
5377 STRIP=$ac_ct_STRIP
5379 else
5380 STRIP="$ac_cv_prog_STRIP"
5383 ARFLAGS=rc
5385 if test -n "$ac_tool_prefix"; then
5386 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5387 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5389 $as_echo_n "checking for $ac_word... " >&6; }
5390 if ${ac_cv_prog_RANLIB+:} false; then :
5391 $as_echo_n "(cached) " >&6
5392 else
5393 if test -n "$RANLIB"; then
5394 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5395 else
5396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5397 for as_dir in $PATH
5399 IFS=$as_save_IFS
5400 test -z "$as_dir" && as_dir=.
5401 for ac_exec_ext in '' $ac_executable_extensions; do
5402 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5403 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5405 break 2
5407 done
5408 done
5409 IFS=$as_save_IFS
5413 RANLIB=$ac_cv_prog_RANLIB
5414 if test -n "$RANLIB"; then
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5416 $as_echo "$RANLIB" >&6; }
5417 else
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5419 $as_echo "no" >&6; }
5424 if test -z "$ac_cv_prog_RANLIB"; then
5425 ac_ct_RANLIB=$RANLIB
5426 # Extract the first word of "ranlib", so it can be a program name with args.
5427 set dummy ranlib; ac_word=$2
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5429 $as_echo_n "checking for $ac_word... " >&6; }
5430 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5431 $as_echo_n "(cached) " >&6
5432 else
5433 if test -n "$ac_ct_RANLIB"; then
5434 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5435 else
5436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5437 for as_dir in $PATH
5439 IFS=$as_save_IFS
5440 test -z "$as_dir" && as_dir=.
5441 for ac_exec_ext in '' $ac_executable_extensions; do
5442 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5443 ac_cv_prog_ac_ct_RANLIB="ranlib"
5444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5445 break 2
5447 done
5448 done
5449 IFS=$as_save_IFS
5453 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5454 if test -n "$ac_ct_RANLIB"; then
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5456 $as_echo "$ac_ct_RANLIB" >&6; }
5457 else
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5459 $as_echo "no" >&6; }
5462 if test "x$ac_ct_RANLIB" = x; then
5463 RANLIB=":"
5464 else
5465 case $cross_compiling:$ac_tool_warned in
5466 yes:)
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5468 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5469 ac_tool_warned=yes ;;
5470 esac
5471 RANLIB=$ac_ct_RANLIB
5473 else
5474 RANLIB="$ac_cv_prog_RANLIB"
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5478 $as_echo_n "checking whether ln -s works... " >&6; }
5479 LN_S=$as_ln_s
5480 if test "$LN_S" = "ln -s"; then
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5482 $as_echo "yes" >&6; }
5483 else
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5485 $as_echo "no, using $LN_S" >&6; }
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5489 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5490 if ${ac_cv_path_GREP+:} false; then :
5491 $as_echo_n "(cached) " >&6
5492 else
5493 if test -z "$GREP"; then
5494 ac_path_GREP_found=false
5495 # Loop through the user's path and test for each of PROGNAME-LIST
5496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5497 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5499 IFS=$as_save_IFS
5500 test -z "$as_dir" && as_dir=.
5501 for ac_prog in grep ggrep; do
5502 for ac_exec_ext in '' $ac_executable_extensions; do
5503 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5504 as_fn_executable_p "$ac_path_GREP" || continue
5505 # Check for GNU ac_path_GREP and select it if it is found.
5506 # Check for GNU $ac_path_GREP
5507 case `"$ac_path_GREP" --version 2>&1` in
5508 *GNU*)
5509 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5511 ac_count=0
5512 $as_echo_n 0123456789 >"conftest.in"
5513 while :
5515 cat "conftest.in" "conftest.in" >"conftest.tmp"
5516 mv "conftest.tmp" "conftest.in"
5517 cp "conftest.in" "conftest.nl"
5518 $as_echo 'GREP' >> "conftest.nl"
5519 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5520 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5521 as_fn_arith $ac_count + 1 && ac_count=$as_val
5522 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5523 # Best one so far, save it but keep looking for a better one
5524 ac_cv_path_GREP="$ac_path_GREP"
5525 ac_path_GREP_max=$ac_count
5527 # 10*(2^10) chars as input seems more than enough
5528 test $ac_count -gt 10 && break
5529 done
5530 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5531 esac
5533 $ac_path_GREP_found && break 3
5534 done
5535 done
5536 done
5537 IFS=$as_save_IFS
5538 if test -z "$ac_cv_path_GREP"; then
5539 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5541 else
5542 ac_cv_path_GREP=$GREP
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5547 $as_echo "$ac_cv_path_GREP" >&6; }
5548 GREP="$ac_cv_path_GREP"
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5552 $as_echo_n "checking for egrep... " >&6; }
5553 if ${ac_cv_path_EGREP+:} false; then :
5554 $as_echo_n "(cached) " >&6
5555 else
5556 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5557 then ac_cv_path_EGREP="$GREP -E"
5558 else
5559 if test -z "$EGREP"; then
5560 ac_path_EGREP_found=false
5561 # Loop through the user's path and test for each of PROGNAME-LIST
5562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5563 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5565 IFS=$as_save_IFS
5566 test -z "$as_dir" && as_dir=.
5567 for ac_prog in egrep; do
5568 for ac_exec_ext in '' $ac_executable_extensions; do
5569 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5570 as_fn_executable_p "$ac_path_EGREP" || continue
5571 # Check for GNU ac_path_EGREP and select it if it is found.
5572 # Check for GNU $ac_path_EGREP
5573 case `"$ac_path_EGREP" --version 2>&1` in
5574 *GNU*)
5575 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5577 ac_count=0
5578 $as_echo_n 0123456789 >"conftest.in"
5579 while :
5581 cat "conftest.in" "conftest.in" >"conftest.tmp"
5582 mv "conftest.tmp" "conftest.in"
5583 cp "conftest.in" "conftest.nl"
5584 $as_echo 'EGREP' >> "conftest.nl"
5585 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5586 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5587 as_fn_arith $ac_count + 1 && ac_count=$as_val
5588 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5589 # Best one so far, save it but keep looking for a better one
5590 ac_cv_path_EGREP="$ac_path_EGREP"
5591 ac_path_EGREP_max=$ac_count
5593 # 10*(2^10) chars as input seems more than enough
5594 test $ac_count -gt 10 && break
5595 done
5596 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5597 esac
5599 $ac_path_EGREP_found && break 3
5600 done
5601 done
5602 done
5603 IFS=$as_save_IFS
5604 if test -z "$ac_cv_path_EGREP"; then
5605 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5607 else
5608 ac_cv_path_EGREP=$EGREP
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5614 $as_echo "$ac_cv_path_EGREP" >&6; }
5615 EGREP="$ac_cv_path_EGREP"
5618 # Extract the first word of "ldconfig", so it can be a program name with args.
5619 set dummy ldconfig; ac_word=$2
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5621 $as_echo_n "checking for $ac_word... " >&6; }
5622 if ${ac_cv_path_LDCONFIG+:} false; then :
5623 $as_echo_n "(cached) " >&6
5624 else
5625 case $LDCONFIG in
5626 [\\/]* | ?:[\\/]*)
5627 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5631 for as_dir in /sbin /usr/sbin $PATH
5633 IFS=$as_save_IFS
5634 test -z "$as_dir" && as_dir=.
5635 for ac_exec_ext in '' $ac_executable_extensions; do
5636 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5637 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5639 break 2
5641 done
5642 done
5643 IFS=$as_save_IFS
5645 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5647 esac
5649 LDCONFIG=$ac_cv_path_LDCONFIG
5650 if test -n "$LDCONFIG"; then
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5652 $as_echo "$LDCONFIG" >&6; }
5653 else
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5655 $as_echo "no" >&6; }
5659 for ac_prog in msgfmt
5661 # Extract the first word of "$ac_prog", so it can be a program name with args.
5662 set dummy $ac_prog; ac_word=$2
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5664 $as_echo_n "checking for $ac_word... " >&6; }
5665 if ${ac_cv_prog_MSGFMT+:} false; then :
5666 $as_echo_n "(cached) " >&6
5667 else
5668 if test -n "$MSGFMT"; then
5669 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5670 else
5671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5672 for as_dir in $PATH
5674 IFS=$as_save_IFS
5675 test -z "$as_dir" && as_dir=.
5676 for ac_exec_ext in '' $ac_executable_extensions; do
5677 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5678 ac_cv_prog_MSGFMT="$ac_prog"
5679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5680 break 2
5682 done
5683 done
5684 IFS=$as_save_IFS
5688 MSGFMT=$ac_cv_prog_MSGFMT
5689 if test -n "$MSGFMT"; then
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5691 $as_echo "$MSGFMT" >&6; }
5692 else
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5694 $as_echo "no" >&6; }
5698 test -n "$MSGFMT" && break
5699 done
5700 test -n "$MSGFMT" || MSGFMT="false"
5702 if ${ac_tool_prefix+:} false; then :
5703 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5704 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5706 $as_echo_n "checking for $ac_word... " >&6; }
5707 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5708 $as_echo_n "(cached) " >&6
5709 else
5710 if test -n "$PKG_CONFIG"; then
5711 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5712 else
5713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5714 for as_dir in $PATH
5716 IFS=$as_save_IFS
5717 test -z "$as_dir" && as_dir=.
5718 for ac_exec_ext in '' $ac_executable_extensions; do
5719 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5720 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5722 break 2
5724 done
5725 done
5726 IFS=$as_save_IFS
5730 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5731 if test -n "$PKG_CONFIG"; then
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5733 $as_echo "$PKG_CONFIG" >&6; }
5734 else
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5736 $as_echo "no" >&6; }
5741 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5742 if test "x$cross_compiling" = xyes; then :
5744 else
5745 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5746 # Extract the first word of "pkg-config", so it can be a program name with args.
5747 set dummy pkg-config; ac_word=$2
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5749 $as_echo_n "checking for $ac_word... " >&6; }
5750 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5751 $as_echo_n "(cached) " >&6
5752 else
5753 if test -n "$PKG_CONFIG"; then
5754 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5755 else
5756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5757 for as_dir in $PATH
5759 IFS=$as_save_IFS
5760 test -z "$as_dir" && as_dir=.
5761 for ac_exec_ext in '' $ac_executable_extensions; do
5762 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5763 ac_cv_prog_PKG_CONFIG="pkg-config"
5764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5765 break 2
5767 done
5768 done
5769 IFS=$as_save_IFS
5773 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5774 if test -n "$PKG_CONFIG"; then
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5776 $as_echo "$PKG_CONFIG" >&6; }
5777 else
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5779 $as_echo "no" >&6; }
5784 else
5785 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5788 if test "x$enable_maintainer_mode" != "xyes"
5789 then
5790 FONTFORGE=""
5791 RSVG=""
5792 CONVERT=""
5793 ICOTOOL=""
5794 else
5795 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5796 for ac_prog in fontforge
5798 # Extract the first word of "$ac_prog", so it can be a program name with args.
5799 set dummy $ac_prog; ac_word=$2
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5801 $as_echo_n "checking for $ac_word... " >&6; }
5802 if ${ac_cv_prog_FONTFORGE+:} false; then :
5803 $as_echo_n "(cached) " >&6
5804 else
5805 if test -n "$FONTFORGE"; then
5806 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5807 else
5808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5809 for as_dir in $PATH
5811 IFS=$as_save_IFS
5812 test -z "$as_dir" && as_dir=.
5813 for ac_exec_ext in '' $ac_executable_extensions; do
5814 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5815 ac_cv_prog_FONTFORGE="$ac_prog"
5816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5817 break 2
5819 done
5820 done
5821 IFS=$as_save_IFS
5825 FONTFORGE=$ac_cv_prog_FONTFORGE
5826 if test -n "$FONTFORGE"; then
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5828 $as_echo "$FONTFORGE" >&6; }
5829 else
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5831 $as_echo "no" >&6; }
5835 test -n "$FONTFORGE" && break
5836 done
5837 test -n "$FONTFORGE" || FONTFORGE="false"
5839 for ac_prog in rsvg-convert rsvg
5841 # Extract the first word of "$ac_prog", so it can be a program name with args.
5842 set dummy $ac_prog; ac_word=$2
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5844 $as_echo_n "checking for $ac_word... " >&6; }
5845 if ${ac_cv_prog_RSVG+:} false; then :
5846 $as_echo_n "(cached) " >&6
5847 else
5848 if test -n "$RSVG"; then
5849 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5850 else
5851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5852 for as_dir in $PATH
5854 IFS=$as_save_IFS
5855 test -z "$as_dir" && as_dir=.
5856 for ac_exec_ext in '' $ac_executable_extensions; do
5857 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5858 ac_cv_prog_RSVG="$ac_prog"
5859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5860 break 2
5862 done
5863 done
5864 IFS=$as_save_IFS
5868 RSVG=$ac_cv_prog_RSVG
5869 if test -n "$RSVG"; then
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5871 $as_echo "$RSVG" >&6; }
5872 else
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5874 $as_echo "no" >&6; }
5878 test -n "$RSVG" && break
5879 done
5880 test -n "$RSVG" || RSVG="false"
5882 for ac_prog in convert
5884 # Extract the first word of "$ac_prog", so it can be a program name with args.
5885 set dummy $ac_prog; ac_word=$2
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5887 $as_echo_n "checking for $ac_word... " >&6; }
5888 if ${ac_cv_prog_CONVERT+:} false; then :
5889 $as_echo_n "(cached) " >&6
5890 else
5891 if test -n "$CONVERT"; then
5892 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5893 else
5894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5895 for as_dir in $PATH
5897 IFS=$as_save_IFS
5898 test -z "$as_dir" && as_dir=.
5899 for ac_exec_ext in '' $ac_executable_extensions; do
5900 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5901 ac_cv_prog_CONVERT="$ac_prog"
5902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5903 break 2
5905 done
5906 done
5907 IFS=$as_save_IFS
5911 CONVERT=$ac_cv_prog_CONVERT
5912 if test -n "$CONVERT"; then
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5914 $as_echo "$CONVERT" >&6; }
5915 else
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5917 $as_echo "no" >&6; }
5921 test -n "$CONVERT" && break
5922 done
5923 test -n "$CONVERT" || CONVERT="false"
5925 for ac_prog in icotool
5927 # Extract the first word of "$ac_prog", so it can be a program name with args.
5928 set dummy $ac_prog; ac_word=$2
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5930 $as_echo_n "checking for $ac_word... " >&6; }
5931 if ${ac_cv_prog_ICOTOOL+:} false; then :
5932 $as_echo_n "(cached) " >&6
5933 else
5934 if test -n "$ICOTOOL"; then
5935 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5936 else
5937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5938 for as_dir in $PATH
5940 IFS=$as_save_IFS
5941 test -z "$as_dir" && as_dir=.
5942 for ac_exec_ext in '' $ac_executable_extensions; do
5943 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5944 ac_cv_prog_ICOTOOL="$ac_prog"
5945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5946 break 2
5948 done
5949 done
5950 IFS=$as_save_IFS
5954 ICOTOOL=$ac_cv_prog_ICOTOOL
5955 if test -n "$ICOTOOL"; then
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5957 $as_echo "$ICOTOOL" >&6; }
5958 else
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5960 $as_echo "no" >&6; }
5964 test -n "$ICOTOOL" && break
5965 done
5966 test -n "$ICOTOOL" || ICOTOOL="false"
5968 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5969 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5971 if test "$CONVERT" = false
5972 then
5973 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5974 else
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5976 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5977 convert_version=`convert --version | head -n1`
5978 if test "x$convert_version" != "x"
5979 then
5980 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5981 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5982 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5983 then
5984 CONVERT=false
5987 if test "$CONVERT" = false
5988 then
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5990 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5991 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5992 else
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5994 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5998 if test "$ICOTOOL" = false
5999 then
6000 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6001 else
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6003 $as_echo_n "checking for recent enough icotool... " >&6; }
6004 icotool_version=`icotool --version | head -n1`
6005 if test "x$icotool_version" != "x"
6006 then
6007 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6008 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6009 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6010 then
6011 ICOTOOL=false
6012 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6015 if test "$ICOTOOL" = false
6016 then
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6018 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6019 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6020 else
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6022 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6026 with_gettext=yes
6027 with_gettextpo=yes
6028 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6031 test "x$with_gettext" != xno || MSGFMT=false
6032 if test "$MSGFMT" != "false"
6033 then
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6035 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6036 cat >conftest.po <<EOF
6037 # comment
6038 msgctxt "ctxt"
6039 msgid "id"
6040 msgstr "str"
6042 if $MSGFMT -o /dev/null conftest.po 2>&5
6043 then
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6045 $as_echo "yes" >&6; }
6046 else
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6048 $as_echo "no" >&6; }
6049 MSGFMT=false
6052 if test "$MSGFMT" = false; then :
6053 case "x$with_gettext" in
6054 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6055 xno) ;;
6056 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6057 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6058 esac
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6063 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6064 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6065 $as_echo_n "(cached) " >&6
6066 else
6067 ac_check_lib_save_LIBS=$LIBS
6068 LIBS="-li386 $LIBS"
6069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6070 /* end confdefs.h. */
6072 /* Override any GCC internal prototype to avoid an error.
6073 Use char because int might match the return type of a GCC
6074 builtin and then its argument prototype would still apply. */
6075 #ifdef __cplusplus
6076 extern "C"
6077 #endif
6078 char i386_set_ldt ();
6080 main ()
6082 return i386_set_ldt ();
6084 return 0;
6086 _ACEOF
6087 if ac_fn_c_try_link "$LINENO"; then :
6088 ac_cv_lib_i386_i386_set_ldt=yes
6089 else
6090 ac_cv_lib_i386_i386_set_ldt=no
6092 rm -f core conftest.err conftest.$ac_objext \
6093 conftest$ac_exeext conftest.$ac_ext
6094 LIBS=$ac_check_lib_save_LIBS
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6097 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6098 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6099 cat >>confdefs.h <<_ACEOF
6100 #define HAVE_LIBI386 1
6101 _ACEOF
6103 LIBS="-li386 $LIBS"
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6108 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6109 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6110 $as_echo_n "(cached) " >&6
6111 else
6112 ac_check_lib_save_LIBS=$LIBS
6113 LIBS="-lossaudio $LIBS"
6114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6115 /* end confdefs.h. */
6117 /* Override any GCC internal prototype to avoid an error.
6118 Use char because int might match the return type of a GCC
6119 builtin and then its argument prototype would still apply. */
6120 #ifdef __cplusplus
6121 extern "C"
6122 #endif
6123 char _oss_ioctl ();
6125 main ()
6127 return _oss_ioctl ();
6129 return 0;
6131 _ACEOF
6132 if ac_fn_c_try_link "$LINENO"; then :
6133 ac_cv_lib_ossaudio__oss_ioctl=yes
6134 else
6135 ac_cv_lib_ossaudio__oss_ioctl=no
6137 rm -f core conftest.err conftest.$ac_objext \
6138 conftest$ac_exeext conftest.$ac_ext
6139 LIBS=$ac_check_lib_save_LIBS
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6142 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6143 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6144 cat >>confdefs.h <<_ACEOF
6145 #define HAVE_LIBOSSAUDIO 1
6146 _ACEOF
6148 LIBS="-lossaudio $LIBS"
6153 OPENGL_LIBS=""
6157 # Check whether --enable-largefile was given.
6158 if test "${enable_largefile+set}" = set; then :
6159 enableval=$enable_largefile;
6162 if test "$enable_largefile" != no; then
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6165 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6166 if ${ac_cv_sys_largefile_CC+:} false; then :
6167 $as_echo_n "(cached) " >&6
6168 else
6169 ac_cv_sys_largefile_CC=no
6170 if test "$GCC" != yes; then
6171 ac_save_CC=$CC
6172 while :; do
6173 # IRIX 6.2 and later do not support large files by default,
6174 # so use the C compiler's -n32 option if that helps.
6175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6176 /* end confdefs.h. */
6177 #include <sys/types.h>
6178 /* Check that off_t can represent 2**63 - 1 correctly.
6179 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6180 since some C++ compilers masquerading as C compilers
6181 incorrectly reject 9223372036854775807. */
6182 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6183 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6184 && LARGE_OFF_T % 2147483647 == 1)
6185 ? 1 : -1];
6187 main ()
6191 return 0;
6193 _ACEOF
6194 if ac_fn_c_try_compile "$LINENO"; then :
6195 break
6197 rm -f core conftest.err conftest.$ac_objext
6198 CC="$CC -n32"
6199 if ac_fn_c_try_compile "$LINENO"; then :
6200 ac_cv_sys_largefile_CC=' -n32'; break
6202 rm -f core conftest.err conftest.$ac_objext
6203 break
6204 done
6205 CC=$ac_save_CC
6206 rm -f conftest.$ac_ext
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6210 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6211 if test "$ac_cv_sys_largefile_CC" != no; then
6212 CC=$CC$ac_cv_sys_largefile_CC
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6216 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6217 if ${ac_cv_sys_file_offset_bits+:} false; then :
6218 $as_echo_n "(cached) " >&6
6219 else
6220 while :; do
6221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6222 /* end confdefs.h. */
6223 #include <sys/types.h>
6224 /* Check that off_t can represent 2**63 - 1 correctly.
6225 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6226 since some C++ compilers masquerading as C compilers
6227 incorrectly reject 9223372036854775807. */
6228 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6229 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6230 && LARGE_OFF_T % 2147483647 == 1)
6231 ? 1 : -1];
6233 main ()
6237 return 0;
6239 _ACEOF
6240 if ac_fn_c_try_compile "$LINENO"; then :
6241 ac_cv_sys_file_offset_bits=no; break
6243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6245 /* end confdefs.h. */
6246 #define _FILE_OFFSET_BITS 64
6247 #include <sys/types.h>
6248 /* Check that off_t can represent 2**63 - 1 correctly.
6249 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6250 since some C++ compilers masquerading as C compilers
6251 incorrectly reject 9223372036854775807. */
6252 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6253 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6254 && LARGE_OFF_T % 2147483647 == 1)
6255 ? 1 : -1];
6257 main ()
6261 return 0;
6263 _ACEOF
6264 if ac_fn_c_try_compile "$LINENO"; then :
6265 ac_cv_sys_file_offset_bits=64; break
6267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6268 ac_cv_sys_file_offset_bits=unknown
6269 break
6270 done
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6273 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6274 case $ac_cv_sys_file_offset_bits in #(
6275 no | unknown) ;;
6277 cat >>confdefs.h <<_ACEOF
6278 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6279 _ACEOF
6281 esac
6282 rm -rf conftest*
6283 if test $ac_cv_sys_file_offset_bits = unknown; then
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6285 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6286 if ${ac_cv_sys_large_files+:} false; then :
6287 $as_echo_n "(cached) " >&6
6288 else
6289 while :; do
6290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6291 /* end confdefs.h. */
6292 #include <sys/types.h>
6293 /* Check that off_t can represent 2**63 - 1 correctly.
6294 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6295 since some C++ compilers masquerading as C compilers
6296 incorrectly reject 9223372036854775807. */
6297 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6298 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6299 && LARGE_OFF_T % 2147483647 == 1)
6300 ? 1 : -1];
6302 main ()
6306 return 0;
6308 _ACEOF
6309 if ac_fn_c_try_compile "$LINENO"; then :
6310 ac_cv_sys_large_files=no; break
6312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6314 /* end confdefs.h. */
6315 #define _LARGE_FILES 1
6316 #include <sys/types.h>
6317 /* Check that off_t can represent 2**63 - 1 correctly.
6318 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6319 since some C++ compilers masquerading as C compilers
6320 incorrectly reject 9223372036854775807. */
6321 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6322 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6323 && LARGE_OFF_T % 2147483647 == 1)
6324 ? 1 : -1];
6326 main ()
6330 return 0;
6332 _ACEOF
6333 if ac_fn_c_try_compile "$LINENO"; then :
6334 ac_cv_sys_large_files=1; break
6336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6337 ac_cv_sys_large_files=unknown
6338 break
6339 done
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6342 $as_echo "$ac_cv_sys_large_files" >&6; }
6343 case $ac_cv_sys_large_files in #(
6344 no | unknown) ;;
6346 cat >>confdefs.h <<_ACEOF
6347 #define _LARGE_FILES $ac_cv_sys_large_files
6348 _ACEOF
6350 esac
6351 rm -rf conftest*
6358 ac_ext=c
6359 ac_cpp='$CPP $CPPFLAGS'
6360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6364 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6365 # On Suns, sometimes $CPP names a directory.
6366 if test -n "$CPP" && test -d "$CPP"; then
6367 CPP=
6369 if test -z "$CPP"; then
6370 if ${ac_cv_prog_CPP+:} false; then :
6371 $as_echo_n "(cached) " >&6
6372 else
6373 # Double quotes because CPP needs to be expanded
6374 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6376 ac_preproc_ok=false
6377 for ac_c_preproc_warn_flag in '' yes
6379 # Use a header file that comes with gcc, so configuring glibc
6380 # with a fresh cross-compiler works.
6381 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6382 # <limits.h> exists even on freestanding compilers.
6383 # On the NeXT, cc -E runs the code through the compiler's parser,
6384 # not just through cpp. "Syntax error" is here to catch this case.
6385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6386 /* end confdefs.h. */
6387 #ifdef __STDC__
6388 # include <limits.h>
6389 #else
6390 # include <assert.h>
6391 #endif
6392 Syntax error
6393 _ACEOF
6394 if ac_fn_c_try_cpp "$LINENO"; then :
6396 else
6397 # Broken: fails on valid input.
6398 continue
6400 rm -f conftest.err conftest.i conftest.$ac_ext
6402 # OK, works on sane cases. Now check whether nonexistent headers
6403 # can be detected and how.
6404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6405 /* end confdefs.h. */
6406 #include <ac_nonexistent.h>
6407 _ACEOF
6408 if ac_fn_c_try_cpp "$LINENO"; then :
6409 # Broken: success on invalid input.
6410 continue
6411 else
6412 # Passes both tests.
6413 ac_preproc_ok=:
6414 break
6416 rm -f conftest.err conftest.i conftest.$ac_ext
6418 done
6419 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6420 rm -f conftest.i conftest.err conftest.$ac_ext
6421 if $ac_preproc_ok; then :
6422 break
6425 done
6426 ac_cv_prog_CPP=$CPP
6429 CPP=$ac_cv_prog_CPP
6430 else
6431 ac_cv_prog_CPP=$CPP
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6434 $as_echo "$CPP" >&6; }
6435 ac_preproc_ok=false
6436 for ac_c_preproc_warn_flag in '' yes
6438 # Use a header file that comes with gcc, so configuring glibc
6439 # with a fresh cross-compiler works.
6440 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6441 # <limits.h> exists even on freestanding compilers.
6442 # On the NeXT, cc -E runs the code through the compiler's parser,
6443 # not just through cpp. "Syntax error" is here to catch this case.
6444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6445 /* end confdefs.h. */
6446 #ifdef __STDC__
6447 # include <limits.h>
6448 #else
6449 # include <assert.h>
6450 #endif
6451 Syntax error
6452 _ACEOF
6453 if ac_fn_c_try_cpp "$LINENO"; then :
6455 else
6456 # Broken: fails on valid input.
6457 continue
6459 rm -f conftest.err conftest.i conftest.$ac_ext
6461 # OK, works on sane cases. Now check whether nonexistent headers
6462 # can be detected and how.
6463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6464 /* end confdefs.h. */
6465 #include <ac_nonexistent.h>
6466 _ACEOF
6467 if ac_fn_c_try_cpp "$LINENO"; then :
6468 # Broken: success on invalid input.
6469 continue
6470 else
6471 # Passes both tests.
6472 ac_preproc_ok=:
6473 break
6475 rm -f conftest.err conftest.i conftest.$ac_ext
6477 done
6478 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6479 rm -f conftest.i conftest.err conftest.$ac_ext
6480 if $ac_preproc_ok; then :
6482 else
6483 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6484 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6485 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6486 See \`config.log' for more details" "$LINENO" 5; }
6489 ac_ext=c
6490 ac_cpp='$CPP $CPPFLAGS'
6491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6497 $as_echo_n "checking for ANSI C header files... " >&6; }
6498 if ${ac_cv_header_stdc+:} false; then :
6499 $as_echo_n "(cached) " >&6
6500 else
6501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6502 /* end confdefs.h. */
6503 #include <stdlib.h>
6504 #include <stdarg.h>
6505 #include <string.h>
6506 #include <float.h>
6509 main ()
6513 return 0;
6515 _ACEOF
6516 if ac_fn_c_try_compile "$LINENO"; then :
6517 ac_cv_header_stdc=yes
6518 else
6519 ac_cv_header_stdc=no
6521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6523 if test $ac_cv_header_stdc = yes; then
6524 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6526 /* end confdefs.h. */
6527 #include <string.h>
6529 _ACEOF
6530 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6531 $EGREP "memchr" >/dev/null 2>&1; then :
6533 else
6534 ac_cv_header_stdc=no
6536 rm -f conftest*
6540 if test $ac_cv_header_stdc = yes; then
6541 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6543 /* end confdefs.h. */
6544 #include <stdlib.h>
6546 _ACEOF
6547 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6548 $EGREP "free" >/dev/null 2>&1; then :
6550 else
6551 ac_cv_header_stdc=no
6553 rm -f conftest*
6557 if test $ac_cv_header_stdc = yes; then
6558 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6559 if test "$cross_compiling" = yes; then :
6561 else
6562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6563 /* end confdefs.h. */
6564 #include <ctype.h>
6565 #include <stdlib.h>
6566 #if ((' ' & 0x0FF) == 0x020)
6567 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6568 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6569 #else
6570 # define ISLOWER(c) \
6571 (('a' <= (c) && (c) <= 'i') \
6572 || ('j' <= (c) && (c) <= 'r') \
6573 || ('s' <= (c) && (c) <= 'z'))
6574 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6575 #endif
6577 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6579 main ()
6581 int i;
6582 for (i = 0; i < 256; i++)
6583 if (XOR (islower (i), ISLOWER (i))
6584 || toupper (i) != TOUPPER (i))
6585 return 2;
6586 return 0;
6588 _ACEOF
6589 if ac_fn_c_try_run "$LINENO"; then :
6591 else
6592 ac_cv_header_stdc=no
6594 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6595 conftest.$ac_objext conftest.beam conftest.$ac_ext
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6601 $as_echo "$ac_cv_header_stdc" >&6; }
6602 if test $ac_cv_header_stdc = yes; then
6604 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6608 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6609 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6610 inttypes.h stdint.h unistd.h
6611 do :
6612 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6613 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6615 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6616 cat >>confdefs.h <<_ACEOF
6617 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6618 _ACEOF
6622 done
6625 for ac_header in \
6626 AL/al.h \
6627 ApplicationServices/ApplicationServices.h \
6628 AudioToolbox/AudioConverter.h \
6629 AudioUnit/AudioUnit.h \
6630 AudioUnit/AudioComponent.h \
6631 CL/cl.h \
6632 Carbon/Carbon.h \
6633 CoreAudio/CoreAudio.h \
6634 CoreServices/CoreServices.h \
6635 DiskArbitration/DiskArbitration.h \
6636 IOKit/IOKitLib.h \
6637 IOKit/hid/IOHIDLib.h \
6638 OpenAL/al.h \
6639 OpenCL/opencl.h \
6640 QuickTime/ImageCompression.h \
6641 Security/Security.h \
6642 alias.h \
6643 alsa/asoundlib.h \
6644 arpa/inet.h \
6645 arpa/nameser.h \
6646 asm/types.h \
6647 asm/user.h \
6648 curses.h \
6649 direct.h \
6650 dirent.h \
6651 dlfcn.h \
6652 elf.h \
6653 float.h \
6654 fnmatch.h \
6655 getopt.h \
6656 gettext-po.h \
6657 grp.h \
6658 gsm.h \
6659 gsm/gsm.h \
6660 ieeefp.h \
6661 inet/mib2.h \
6662 io.h \
6663 kstat.h \
6664 lber.h \
6665 ldap.h \
6666 libproc.h \
6667 link.h \
6668 linux/cdrom.h \
6669 linux/compiler.h \
6670 linux/filter.h \
6671 linux/hdreg.h \
6672 linux/input.h \
6673 linux/ioctl.h \
6674 linux/joystick.h \
6675 linux/major.h \
6676 linux/param.h \
6677 linux/serial.h \
6678 linux/types.h \
6679 linux/ucdrom.h \
6680 lwp.h \
6681 mach-o/nlist.h \
6682 mach-o/loader.h \
6683 mach/mach.h \
6684 mach/machine.h \
6685 machine/cpu.h \
6686 machine/limits.h \
6687 machine/sysarch.h \
6688 mntent.h \
6689 ncurses.h \
6690 netdb.h \
6691 netinet/in.h \
6692 netinet/in_systm.h \
6693 netinet/tcp.h \
6694 netinet/tcp_fsm.h \
6695 pcap/pcap.h \
6696 poll.h \
6697 port.h \
6698 process.h \
6699 pthread.h \
6700 pwd.h \
6701 sched.h \
6702 scsi/scsi.h \
6703 scsi/scsi_ioctl.h \
6704 scsi/sg.h \
6705 stdbool.h \
6706 stdint.h \
6707 stropts.h \
6708 sys/asoundlib.h \
6709 sys/attr.h \
6710 sys/cdio.h \
6711 sys/elf32.h \
6712 sys/epoll.h \
6713 sys/event.h \
6714 sys/exec_elf.h \
6715 sys/filio.h \
6716 sys/inotify.h \
6717 sys/ioctl.h \
6718 sys/ipc.h \
6719 sys/limits.h \
6720 sys/link.h \
6721 sys/mman.h \
6722 sys/modem.h \
6723 sys/msg.h \
6724 sys/mtio.h \
6725 sys/param.h \
6726 sys/poll.h \
6727 sys/prctl.h \
6728 sys/protosw.h \
6729 sys/ptrace.h \
6730 sys/queue.h \
6731 sys/resource.h \
6732 sys/scsiio.h \
6733 sys/shm.h \
6734 sys/signal.h \
6735 sys/socket.h \
6736 sys/socketvar.h \
6737 sys/sockio.h \
6738 sys/statvfs.h \
6739 sys/strtio.h \
6740 sys/syscall.h \
6741 sys/tihdr.h \
6742 sys/time.h \
6743 sys/timeout.h \
6744 sys/times.h \
6745 sys/uio.h \
6746 sys/user.h \
6747 sys/utsname.h \
6748 sys/vm86.h \
6749 sys/vnode.h \
6750 sys/wait.h \
6751 syscall.h \
6752 termios.h \
6753 unistd.h \
6754 utime.h \
6755 valgrind/memcheck.h \
6756 valgrind/valgrind.h \
6757 zlib.h
6759 do :
6760 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6761 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6762 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6763 cat >>confdefs.h <<_ACEOF
6764 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6765 _ACEOF
6769 done
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6772 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6773 if ${ac_cv_header_stat_broken+:} false; then :
6774 $as_echo_n "(cached) " >&6
6775 else
6776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6777 /* end confdefs.h. */
6778 #include <sys/types.h>
6779 #include <sys/stat.h>
6781 #if defined S_ISBLK && defined S_IFDIR
6782 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6783 #endif
6785 #if defined S_ISBLK && defined S_IFCHR
6786 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6787 #endif
6789 #if defined S_ISLNK && defined S_IFREG
6790 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6791 #endif
6793 #if defined S_ISSOCK && defined S_IFREG
6794 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6795 #endif
6797 _ACEOF
6798 if ac_fn_c_try_compile "$LINENO"; then :
6799 ac_cv_header_stat_broken=no
6800 else
6801 ac_cv_header_stat_broken=yes
6803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6806 $as_echo "$ac_cv_header_stat_broken" >&6; }
6807 if test $ac_cv_header_stat_broken = yes; then
6809 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6815 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6816 do :
6817 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6818 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6819 #ifdef HAVE_SYS_PARAM_H
6820 # include <sys/param.h>
6821 #endif
6823 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6824 cat >>confdefs.h <<_ACEOF
6825 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6826 _ACEOF
6830 done
6833 for ac_header in \
6834 netinet/ip.h \
6835 net/if.h \
6836 net/if_arp.h \
6837 net/if_dl.h \
6838 net/if_types.h \
6839 net/route.h \
6840 netinet/if_ether.h \
6841 netinet/if_inarp.h \
6842 netinet/in_pcb.h \
6843 netinet/ip_icmp.h \
6844 netinet/ip_var.h \
6845 netinet/udp.h \
6846 netipx/ipx.h \
6847 sys/un.h \
6849 do :
6850 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6851 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6852 #ifdef HAVE_SYS_SOCKET_H
6853 # include <sys/socket.h>
6854 #endif
6855 #ifdef HAVE_SYS_SOCKETVAR_H
6856 # include <sys/socketvar.h>
6857 #endif
6858 #ifdef HAVE_NET_ROUTE_H
6859 # include <net/route.h>
6860 #endif
6861 #ifdef HAVE_NETINET_IN_H
6862 # include <netinet/in.h>
6863 #endif
6864 #ifdef HAVE_NETINET_IN_SYSTM_H
6865 # include <netinet/in_systm.h>
6866 #endif
6867 #ifdef HAVE_NET_IF_H
6868 # include <net/if.h>
6869 #endif
6870 #ifdef HAVE_NETINET_IP_H
6871 # include <netinet/ip.h>
6872 #endif
6874 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6875 cat >>confdefs.h <<_ACEOF
6876 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6877 _ACEOF
6881 done
6884 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6885 do :
6886 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6887 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6888 #ifdef HAVE_ALIAS_H
6889 # include <alias.h>
6890 #endif
6891 #ifdef HAVE_SYS_SOCKET_H
6892 # include <sys/socket.h>
6893 #endif
6894 #ifdef HAVE_SYS_SOCKETVAR_H
6895 # include <sys/socketvar.h>
6896 #endif
6897 #ifdef HAVE_SYS_TIMEOUT_H
6898 # include <sys/timeout.h>
6899 #endif
6900 #ifdef HAVE_NETINET_IN_H
6901 # include <netinet/in.h>
6902 #endif
6903 #ifdef HAVE_NETINET_IN_SYSTM_H
6904 # include <netinet/in_systm.h>
6905 #endif
6906 #ifdef HAVE_NETINET_IP_H
6907 # include <netinet/ip.h>
6908 #endif
6909 #ifdef HAVE_NETINET_IP_VAR_H
6910 # include <netinet/ip_var.h>
6911 #endif
6912 #ifdef HAVE_NETINET_IP_ICMP_H
6913 # include <netinet/ip_icmp.h>
6914 #endif
6915 #ifdef HAVE_NETINET_UDP_H
6916 # include <netinet/udp.h>
6917 #endif
6918 #ifdef HAVE_NETINET_TCP_H
6919 # include <netinet/tcp.h>
6920 #endif
6921 #ifdef HAVE_NETINET_TCP_TIMER_H
6922 #include <netinet/tcp_timer.h>
6923 #endif
6925 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6926 cat >>confdefs.h <<_ACEOF
6927 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6928 _ACEOF
6932 done
6935 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6936 do :
6937 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6938 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6939 #ifdef HAVE_ASM_TYPES_H
6940 # include <asm/types.h>
6941 #endif
6942 #ifdef HAVE_SYS_SOCKET_H
6943 # include <sys/socket.h>
6944 #endif
6945 #ifdef HAVE_LINUX_TYPES_H
6946 # include <linux/types.h>
6947 #endif
6949 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6950 cat >>confdefs.h <<_ACEOF
6951 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6952 _ACEOF
6956 done
6959 for ac_header in mach-o/dyld_images.h
6960 do :
6961 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6962 # include <stdbool.h>
6963 #endif
6964 #ifdef HAVE_STDINT_H
6965 # include <stdint.h>
6966 #endif
6968 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6969 cat >>confdefs.h <<_ACEOF
6970 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6971 _ACEOF
6975 done
6978 for ac_header in resolv.h
6979 do :
6980 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6981 #ifdef HAVE_SYS_SOCKET_H
6982 # include <sys/socket.h>
6983 #endif
6984 #ifdef HAVE_NETINET_IN_H
6985 # include <netinet/in.h>
6986 #endif
6987 #ifdef HAVE_ARPA_NAMESER_H
6988 # include <arpa/nameser.h>
6989 #endif
6991 if test "x$ac_cv_header_resolv_h" = xyes; then :
6992 cat >>confdefs.h <<_ACEOF
6993 #define HAVE_RESOLV_H 1
6994 _ACEOF
6998 done
7001 for ac_header in ifaddrs.h
7002 do :
7003 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7005 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7006 cat >>confdefs.h <<_ACEOF
7007 #define HAVE_IFADDRS_H 1
7008 _ACEOF
7012 done
7015 for ac_header in sys/ucontext.h
7016 do :
7017 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7019 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7020 cat >>confdefs.h <<_ACEOF
7021 #define HAVE_SYS_UCONTEXT_H 1
7022 _ACEOF
7026 done
7029 for ac_header in sys/thr.h
7030 do :
7031 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7032 #ifdef HAVE_SYS_UCONTEXT_H
7033 #include <sys/ucontext.h>
7034 #endif
7036 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7037 cat >>confdefs.h <<_ACEOF
7038 #define HAVE_SYS_THR_H 1
7039 _ACEOF
7043 done
7046 for ac_header in pthread_np.h
7047 do :
7048 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7049 #include <pthread.h>
7050 #endif
7052 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7053 cat >>confdefs.h <<_ACEOF
7054 #define HAVE_PTHREAD_NP_H 1
7055 _ACEOF
7059 done
7062 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7063 do :
7064 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7065 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7066 #include <sys/time.h>
7067 #endif
7068 #include <sys/types.h>
7069 #ifdef HAVE_ASM_TYPES_H
7070 #include <asm/types.h>
7071 #endif
7073 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7074 cat >>confdefs.h <<_ACEOF
7075 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7076 _ACEOF
7080 done
7083 for ac_header in libprocstat.h
7084 do :
7085 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7086 #include <sys/param.h>
7087 #endif
7088 #ifdef HAVE_SYS_QUEUE_H
7089 #include <sys/queue.h>
7090 #endif
7091 #ifdef HAVE_SYS_SOCKET_H
7092 #include <sys/socket.h>
7093 #endif
7095 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7096 cat >>confdefs.h <<_ACEOF
7097 #define HAVE_LIBPROCSTAT_H 1
7098 _ACEOF
7102 done
7106 dlldir="\${libdir}/wine"
7108 DLLPREFIX=""
7110 DLLFLAGS="-D_REENTRANT"
7112 LDRPATH_INSTALL=""
7114 LDRPATH_LOCAL=""
7116 LIBEXT="so"
7117 DLLEXT=".so"
7118 IMPLIBEXT="def"
7119 STATIC_IMPLIBEXT="def.a"
7120 # Extract the first word of "ldd", so it can be a program name with args.
7121 set dummy ldd; ac_word=$2
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7123 $as_echo_n "checking for $ac_word... " >&6; }
7124 if ${ac_cv_path_LDD+:} false; then :
7125 $as_echo_n "(cached) " >&6
7126 else
7127 case $LDD in
7128 [\\/]* | ?:[\\/]*)
7129 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7133 as_dummy="/sbin:/usr/sbin:$PATH"
7134 for as_dir in $as_dummy
7136 IFS=$as_save_IFS
7137 test -z "$as_dir" && as_dir=.
7138 for ac_exec_ext in '' $ac_executable_extensions; do
7139 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7140 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7142 break 2
7144 done
7145 done
7146 IFS=$as_save_IFS
7148 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7150 esac
7152 LDD=$ac_cv_path_LDD
7153 if test -n "$LDD"; then
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7155 $as_echo "$LDD" >&6; }
7156 else
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7158 $as_echo "no" >&6; }
7162 if test -n "$ac_tool_prefix"; then
7163 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7164 set dummy ${ac_tool_prefix}otool; ac_word=$2
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7166 $as_echo_n "checking for $ac_word... " >&6; }
7167 if ${ac_cv_prog_OTOOL+:} false; then :
7168 $as_echo_n "(cached) " >&6
7169 else
7170 if test -n "$OTOOL"; then
7171 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7172 else
7173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7174 for as_dir in $PATH
7176 IFS=$as_save_IFS
7177 test -z "$as_dir" && as_dir=.
7178 for ac_exec_ext in '' $ac_executable_extensions; do
7179 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7180 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7182 break 2
7184 done
7185 done
7186 IFS=$as_save_IFS
7190 OTOOL=$ac_cv_prog_OTOOL
7191 if test -n "$OTOOL"; then
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7193 $as_echo "$OTOOL" >&6; }
7194 else
7195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7196 $as_echo "no" >&6; }
7201 if test -z "$ac_cv_prog_OTOOL"; then
7202 ac_ct_OTOOL=$OTOOL
7203 # Extract the first word of "otool", so it can be a program name with args.
7204 set dummy otool; ac_word=$2
7205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7206 $as_echo_n "checking for $ac_word... " >&6; }
7207 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7208 $as_echo_n "(cached) " >&6
7209 else
7210 if test -n "$ac_ct_OTOOL"; then
7211 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7212 else
7213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7214 for as_dir in $PATH
7216 IFS=$as_save_IFS
7217 test -z "$as_dir" && as_dir=.
7218 for ac_exec_ext in '' $ac_executable_extensions; do
7219 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7220 ac_cv_prog_ac_ct_OTOOL="otool"
7221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7222 break 2
7224 done
7225 done
7226 IFS=$as_save_IFS
7230 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7231 if test -n "$ac_ct_OTOOL"; then
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7233 $as_echo "$ac_ct_OTOOL" >&6; }
7234 else
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7236 $as_echo "no" >&6; }
7239 if test "x$ac_ct_OTOOL" = x; then
7240 OTOOL="otool"
7241 else
7242 case $cross_compiling:$ac_tool_warned in
7243 yes:)
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7245 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7246 ac_tool_warned=yes ;;
7247 esac
7248 OTOOL=$ac_ct_OTOOL
7250 else
7251 OTOOL="$ac_cv_prog_OTOOL"
7254 if test -n "$ac_tool_prefix"; then
7255 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7256 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7258 $as_echo_n "checking for $ac_word... " >&6; }
7259 if ${ac_cv_prog_READELF+:} false; then :
7260 $as_echo_n "(cached) " >&6
7261 else
7262 if test -n "$READELF"; then
7263 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7264 else
7265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7266 for as_dir in $PATH
7268 IFS=$as_save_IFS
7269 test -z "$as_dir" && as_dir=.
7270 for ac_exec_ext in '' $ac_executable_extensions; do
7271 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7272 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7274 break 2
7276 done
7277 done
7278 IFS=$as_save_IFS
7282 READELF=$ac_cv_prog_READELF
7283 if test -n "$READELF"; then
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7285 $as_echo "$READELF" >&6; }
7286 else
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7288 $as_echo "no" >&6; }
7293 if test -z "$ac_cv_prog_READELF"; then
7294 ac_ct_READELF=$READELF
7295 # Extract the first word of "readelf", so it can be a program name with args.
7296 set dummy readelf; ac_word=$2
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7298 $as_echo_n "checking for $ac_word... " >&6; }
7299 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7300 $as_echo_n "(cached) " >&6
7301 else
7302 if test -n "$ac_ct_READELF"; then
7303 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7304 else
7305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7306 for as_dir in $PATH
7308 IFS=$as_save_IFS
7309 test -z "$as_dir" && as_dir=.
7310 for ac_exec_ext in '' $ac_executable_extensions; do
7311 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7312 ac_cv_prog_ac_ct_READELF="readelf"
7313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7314 break 2
7316 done
7317 done
7318 IFS=$as_save_IFS
7322 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7323 if test -n "$ac_ct_READELF"; then
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7325 $as_echo "$ac_ct_READELF" >&6; }
7326 else
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7328 $as_echo "no" >&6; }
7331 if test "x$ac_ct_READELF" = x; then
7332 READELF="true"
7333 else
7334 case $cross_compiling:$ac_tool_warned in
7335 yes:)
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7337 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7338 ac_tool_warned=yes ;;
7339 esac
7340 READELF=$ac_ct_READELF
7342 else
7343 READELF="$ac_cv_prog_READELF"
7346 wine_rules_file=conf$$rules.make
7347 rm -f $wine_rules_file
7348 ALL_POT_FILES=""
7349 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7350 ALL_TEST_RESOURCES=""
7353 wine_fn_append_file ()
7355 as_fn_append $1 " \\$as_nl $2"
7358 wine_fn_ignore_file ()
7360 case "$1" in
7361 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7362 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7363 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7364 esac
7367 wine_fn_append_rule ()
7369 $as_echo "$1" >>$wine_rules_file
7372 wine_fn_has_flag ()
7374 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7377 wine_fn_depend_rules ()
7379 wine_fn_append_rule \
7380 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7381 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7382 depend: $ac_dir/depend
7383 .PHONY: $ac_dir/depend
7384 $ac_dir/depend: \$(MAKEDEP) dummy
7385 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7388 wine_fn_pot_rules ()
7390 test "x$with_gettextpo" = xyes || return
7392 if wine_fn_has_flag mc
7393 then
7394 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7395 wine_fn_append_rule \
7396 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7397 @cd $ac_dir && \$(MAKE) msg.pot
7398 $ac_dir/msg.pot: tools/wmc include"
7400 if wine_fn_has_flag po
7401 then
7402 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7403 wine_fn_append_rule \
7404 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7405 @cd $ac_dir && \$(MAKE) rsrc.pot
7406 $ac_dir/rsrc.pot: tools/wrc include"
7410 wine_fn_all_rules ()
7412 wine_fn_depend_rules
7413 wine_fn_append_rule \
7414 "all: $ac_dir
7415 .PHONY: $ac_dir
7416 $ac_dir: $ac_dir/Makefile dummy
7417 @cd $ac_dir && \$(MAKE)"
7420 wine_fn_install_rules ()
7422 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7424 wine_fn_append_rule \
7425 ".PHONY: $ac_dir/install $ac_dir/uninstall
7426 $ac_dir/install:: $ac_dir
7427 @cd $ac_dir && \$(MAKE) install
7428 $ac_dir/uninstall:: $ac_dir/Makefile
7429 @cd $ac_dir && \$(MAKE) uninstall
7430 install:: $ac_dir/install
7431 __uninstall__: $ac_dir/uninstall"
7433 if wine_fn_has_flag install-lib
7434 then
7435 wine_fn_append_rule \
7436 ".PHONY: $ac_dir/install-lib
7437 $ac_dir/install-lib:: $ac_dir
7438 @cd $ac_dir && \$(MAKE) install-lib
7439 install-lib:: $ac_dir/install-lib"
7442 if wine_fn_has_flag install-dev
7443 then
7444 wine_fn_append_rule \
7445 ".PHONY: $ac_dir/install-dev
7446 $ac_dir/install-dev:: $ac_dir
7447 @cd $ac_dir && \$(MAKE) install-dev
7448 install-dev:: $ac_dir/install-dev"
7452 wine_fn_clean_rules ()
7454 ac_clean=$@
7455 ac_extraclean="$ac_dir/Makefile"
7456 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7457 case $ac_dir in
7458 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7459 esac
7461 if wine_fn_has_flag clean
7462 then
7463 wine_fn_append_rule \
7464 "__clean__: $ac_dir/clean
7465 .PHONY: $ac_dir/clean
7466 $ac_dir/clean: $ac_dir/Makefile
7467 @cd $ac_dir && \$(MAKE) clean
7468 \$(RM) $ac_extraclean"
7469 else
7470 wine_fn_append_rule \
7471 "__clean__: $ac_dir/clean
7472 .PHONY: $ac_dir/clean
7473 $ac_dir/clean: dummy
7474 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7478 wine_fn_disabled_rules ()
7480 ac_clean=$@
7481 ac_extraclean="$ac_dir/Makefile"
7482 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7484 wine_fn_append_rule \
7485 "__clean__: $ac_dir/clean
7486 .PHONY: $ac_dir/clean
7487 $ac_dir/clean: dummy
7488 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7491 wine_fn_config_makefile ()
7493 ac_dir=$1
7494 ac_enable=$2
7495 ac_flags=$3
7497 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7498 wine_fn_disabled_rules; return
7500 wine_fn_all_rules
7501 wine_fn_install_rules
7502 wine_fn_clean_rules
7505 wine_fn_config_lib ()
7507 ac_name=$1
7508 ac_flags=$2
7509 ac_dir=dlls/$ac_name
7510 ac_deps="include"
7512 if test "x$enable_tools" = xno; then :
7514 else
7515 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7517 wine_fn_all_rules
7518 wine_fn_clean_rules
7520 wine_fn_append_rule \
7521 ".PHONY: $ac_dir/install $ac_dir/uninstall
7522 $ac_dir/install:: $ac_dir
7523 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7524 $ac_dir/uninstall::
7525 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7526 install install-dev:: $ac_dir/install
7527 __uninstall__: $ac_dir/uninstall
7528 __builddeps__: $ac_dir
7529 $ac_dir: $ac_deps"
7532 wine_fn_config_dll ()
7534 ac_name=$1
7535 ac_dir=dlls/$ac_name
7536 ac_enable=$2
7537 ac_flags=$3
7538 ac_implib=${4:-$ac_name}
7539 ac_file=$ac_dir/lib$ac_implib
7540 ac_dll=$ac_name
7541 ac_deps="include"
7542 ac_implibflags=""
7544 if test "x$enable_tools" = xno; then :
7546 else
7547 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7549 case $ac_name in
7550 *16) ac_implibflags=" -m16" ;;
7551 *.*) ;;
7552 *) ac_dll=$ac_dll.dll ;;
7553 esac
7555 ac_clean=
7556 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7557 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7558 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7559 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7561 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7562 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7563 then
7564 wine_fn_depend_rules
7565 wine_fn_clean_rules $ac_clean
7566 else
7567 wine_fn_disabled_rules $ac_clean
7568 return
7570 else
7571 wine_fn_all_rules
7572 wine_fn_clean_rules $ac_clean
7573 wine_fn_append_rule \
7574 "$ac_dir: __builddeps__
7575 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7576 @cd $ac_dir && \$(MAKE) \$@
7577 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7578 install install-lib:: $ac_dir/install-lib
7579 __uninstall__: $ac_dir/uninstall"
7580 if test -n "$DLLEXT"
7581 then
7582 wine_fn_append_rule \
7583 "$ac_dir/install-lib:: $ac_dir
7584 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7585 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7586 $ac_dir/uninstall::
7587 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7588 else
7589 wine_fn_append_rule \
7590 "$ac_dir/install-lib:: $ac_dir
7591 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7592 $ac_dir/uninstall::
7593 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7596 wine_fn_pot_rules
7599 if wine_fn_has_flag staticimplib
7600 then
7601 wine_fn_append_rule \
7602 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7603 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7604 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7605 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7606 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7607 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7608 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7609 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7610 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7611 $ac_dir/uninstall::
7612 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7613 install install-dev:: $ac_dir/install-dev
7614 __uninstall__: $ac_dir/uninstall"
7616 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7617 then
7618 wine_fn_append_rule \
7619 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7620 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7621 $ac_dir/uninstall::
7622 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7625 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7626 then
7627 wine_fn_append_rule \
7628 "__builddeps__: $ac_file.cross.a
7629 $ac_file.cross.a: $ac_dir/Makefile dummy
7630 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7633 elif wine_fn_has_flag implib
7634 then
7635 wine_fn_append_rule \
7636 "__builddeps__: $ac_file.$IMPLIBEXT
7637 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7638 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7639 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7640 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7641 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7642 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7643 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7644 $ac_dir/uninstall::
7645 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7646 install install-dev:: $ac_dir/install-dev
7647 __uninstall__: $ac_dir/uninstall"
7648 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7649 then
7650 wine_fn_append_rule \
7651 "__builddeps__: $ac_file.cross.a
7652 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7653 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7656 if test "$ac_name" != "$ac_implib"
7657 then
7658 wine_fn_append_rule \
7659 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7660 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7661 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7662 clean::
7663 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7664 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7665 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7666 then
7667 wine_fn_append_rule \
7668 "__builddeps__: dlls/lib$ac_implib.cross.a
7669 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7670 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7671 clean::
7672 \$(RM) dlls/lib$ac_implib.cross.a"
7673 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7679 wine_fn_config_program ()
7681 ac_name=$1
7682 ac_dir=programs/$ac_name
7683 ac_enable=$2
7684 ac_flags=$3
7685 ac_program=$ac_name
7687 case $ac_name in
7688 *.*) ;;
7689 *) ac_program=$ac_program.exe ;;
7690 esac
7692 ac_clean=
7693 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7694 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7695 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7696 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7698 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7699 wine_fn_disabled_rules $ac_clean; return
7702 wine_fn_all_rules
7703 wine_fn_clean_rules $ac_clean
7704 wine_fn_append_rule "$ac_dir: __builddeps__"
7705 wine_fn_pot_rules
7707 wine_fn_has_flag install || return
7708 wine_fn_append_rule \
7709 ".PHONY: $ac_dir/install $ac_dir/uninstall
7710 install install-lib:: $ac_dir/install
7711 __uninstall__: $ac_dir/uninstall"
7713 if test -n "$DLLEXT"
7714 then
7715 wine_fn_append_rule \
7716 "$ac_dir/install:: $ac_dir
7717 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7718 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7719 $ac_dir/uninstall::
7720 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7722 if test -z "$with_wine64" && wine_fn_has_flag installbin
7723 then
7724 wine_fn_append_rule \
7725 "$ac_dir/install:: __tooldeps__
7726 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7727 $ac_dir/uninstall::
7728 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7730 else
7731 wine_fn_append_rule \
7732 "$ac_dir/install:: $ac_dir
7733 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7734 $ac_dir/uninstall::
7735 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7738 if test -z "$with_wine64" && wine_fn_has_flag manpage
7739 then
7740 wine_fn_append_rule \
7741 "$ac_dir/install:: $ac_dir
7742 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7743 $ac_dir/uninstall::
7744 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7748 wine_fn_config_test ()
7750 ac_dir=$1
7751 ac_name=$2
7752 ac_flags=$3
7754 ac_clean=
7755 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7756 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7758 if test "x$enable_tests" = xno; then :
7759 wine_fn_disabled_rules $ac_clean; return
7762 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7763 wine_fn_all_rules
7764 wine_fn_clean_rules $ac_clean
7766 wine_fn_append_rule \
7767 "$ac_dir: programs/winetest/Makefile __builddeps__
7768 programs/winetest: $ac_dir
7769 check test: $ac_dir/test
7770 .PHONY: $ac_dir/test
7771 $ac_dir/test: dummy
7772 @cd $ac_dir && \$(MAKE) test
7773 testclean::
7774 \$(RM) $ac_dir/*.ok"
7776 if test -n "$CROSSTARGET"
7777 then
7778 wine_fn_append_rule \
7779 "crosstest: $ac_dir/crosstest
7780 .PHONY: $ac_dir/crosstest
7781 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7782 @cd $ac_dir && \$(MAKE) crosstest"
7786 wine_fn_config_tool ()
7788 ac_dir=$1
7789 ac_flags=$2
7790 if test "x$enable_tools" = xno; then :
7791 return
7794 wine_fn_all_rules
7795 wine_fn_install_rules
7796 wine_fn_clean_rules
7798 wine_fn_append_rule "__tooldeps__: $ac_dir"
7799 wine_fn_append_rule "$ac_dir: libs/port"
7800 case $ac_dir in
7801 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7802 esac
7805 wine_fn_config_symlink ()
7807 ac_linkdir=
7808 if test "x$1" = "x-d"
7809 then
7810 ac_linkdir=$2
7811 shift; shift
7813 ac_links=$@
7814 wine_fn_append_rule \
7815 "$ac_links:
7816 @./config.status \$@
7817 distclean::
7818 \$(RM) $ac_links"
7819 for f in $ac_links; do wine_fn_ignore_file $f; done
7820 test -n "$ac_linkdir" || return
7821 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7824 wine_binary="wine"
7825 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7826 loader_programs="$wine_binary wine-installed"
7827 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7829 LOADER_RULES="
7830 all: wine.inf
7832 install install-lib:: wine-installed
7833 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7835 uninstall::
7836 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7840 case $host_os in
7841 cygwin*|mingw32*)
7842 if test -n "$ac_tool_prefix"; then
7843 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7844 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7846 $as_echo_n "checking for $ac_word... " >&6; }
7847 if ${ac_cv_prog_DLLTOOL+:} false; then :
7848 $as_echo_n "(cached) " >&6
7849 else
7850 if test -n "$DLLTOOL"; then
7851 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7852 else
7853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7854 for as_dir in $PATH
7856 IFS=$as_save_IFS
7857 test -z "$as_dir" && as_dir=.
7858 for ac_exec_ext in '' $ac_executable_extensions; do
7859 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7860 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7862 break 2
7864 done
7865 done
7866 IFS=$as_save_IFS
7870 DLLTOOL=$ac_cv_prog_DLLTOOL
7871 if test -n "$DLLTOOL"; then
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7873 $as_echo "$DLLTOOL" >&6; }
7874 else
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7876 $as_echo "no" >&6; }
7881 if test -z "$ac_cv_prog_DLLTOOL"; then
7882 ac_ct_DLLTOOL=$DLLTOOL
7883 # Extract the first word of "dlltool", so it can be a program name with args.
7884 set dummy dlltool; ac_word=$2
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7886 $as_echo_n "checking for $ac_word... " >&6; }
7887 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7888 $as_echo_n "(cached) " >&6
7889 else
7890 if test -n "$ac_ct_DLLTOOL"; then
7891 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7892 else
7893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7894 for as_dir in $PATH
7896 IFS=$as_save_IFS
7897 test -z "$as_dir" && as_dir=.
7898 for ac_exec_ext in '' $ac_executable_extensions; do
7899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7900 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7902 break 2
7904 done
7905 done
7906 IFS=$as_save_IFS
7910 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7911 if test -n "$ac_ct_DLLTOOL"; then
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7913 $as_echo "$ac_ct_DLLTOOL" >&6; }
7914 else
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7916 $as_echo "no" >&6; }
7919 if test "x$ac_ct_DLLTOOL" = x; then
7920 DLLTOOL="false"
7921 else
7922 case $cross_compiling:$ac_tool_warned in
7923 yes:)
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7925 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7926 ac_tool_warned=yes ;;
7927 esac
7928 DLLTOOL=$ac_ct_DLLTOOL
7930 else
7931 DLLTOOL="$ac_cv_prog_DLLTOOL"
7934 LIBEXT="dll"
7935 DLLEXT=""
7936 IMPLIBEXT="a"
7937 STATIC_IMPLIBEXT="a"
7938 enable_iphlpapi=${enable_iphlpapi:-no}
7939 enable_kernel32=${enable_kernel32:-no}
7940 enable_msvcrt=${enable_msvcrt:-no}
7941 enable_ntdll=${enable_ntdll:-no}
7942 enable_ws2_32=${enable_ws2_32:-no}
7943 enable_loader=${enable_loader:-no}
7944 enable_server=${enable_server:-no}
7945 with_x=${with_x:-no}
7946 with_pthread=${with_pthread:-no}
7948 crtlibs=""
7949 case $host_os in
7950 mingw32*)
7951 crtlibs="-lmsvcrt"
7952 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7954 esac
7956 libwine_targets="libwine.dll libwine.a"
7957 LIBWINE_RULES="
7958 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7960 all: libwine.dll libwine.a
7962 libwine.a: \$(srcdir)/wine.def
7963 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7965 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7966 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7968 install install-lib:: libwine.dll
7969 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7971 install install-dev:: libwine.a
7972 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7974 uninstall::
7975 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7980 darwin*|macosx*)
7981 for ac_header in libunwind.h
7982 do :
7983 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7984 if test "x$ac_cv_header_libunwind_h" = xyes; then :
7985 cat >>confdefs.h <<_ACEOF
7986 #define HAVE_LIBUNWIND_H 1
7987 _ACEOF
7991 done
7993 LIBEXT="dylib"
7994 DLLFLAGS="$DLLFLAGS -fPIC"
7995 LIBWINE_LDFLAGS="-multiply_defined suppress"
7996 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7997 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7998 COREFOUNDATION_LIBS="-framework CoreFoundation"
8000 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8002 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8004 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8006 CORESERVICES_LIBS="-framework CoreServices"
8008 APPKIT_LIBS="-framework AppKit"
8010 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8012 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8013 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8014 $as_echo_n "(cached) " >&6
8015 else
8016 ac_wine_try_cflags_saved=$CFLAGS
8017 CFLAGS="$CFLAGS -Wl,-no_pie"
8018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8019 /* end confdefs.h. */
8020 int main(int argc, char **argv) { return 0; }
8021 _ACEOF
8022 if ac_fn_c_try_link "$LINENO"; then :
8023 ac_cv_cflags__Wl__no_pie=yes
8024 else
8025 ac_cv_cflags__Wl__no_pie=no
8027 rm -f core conftest.err conftest.$ac_objext \
8028 conftest$ac_exeext conftest.$ac_ext
8029 CFLAGS=$ac_wine_try_cflags_saved
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8032 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8033 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8034 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8036 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8037 then
8038 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8041 if test "$ac_cv_header_Security_Security_h" = "yes"
8042 then
8043 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8045 ac_save_LIBS="$LIBS"
8046 LIBS="$LIBS $SECURITY_LIBS"
8047 for ac_func in SSLCopyPeerCertificates
8048 do :
8049 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8050 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8051 cat >>confdefs.h <<_ACEOF
8052 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8053 _ACEOF
8056 done
8058 LIBS="$ac_save_LIBS"
8059 with_gnutls=${with_gnutls:-no}
8061 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8062 then
8063 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8064 then
8065 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8067 else
8068 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8071 ac_save_LIBS="$LIBS"
8072 LIBS="$LIBS $COREAUDIO_LIBS"
8073 for ac_func in AUGraphAddNode
8074 do :
8075 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8076 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8077 cat >>confdefs.h <<_ACEOF
8078 #define HAVE_AUGRAPHADDNODE 1
8079 _ACEOF
8082 done
8084 LIBS="$ac_save_LIBS"
8086 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8087 then
8088 OPENAL_LIBS="-framework OpenAL"
8091 cat >>confdefs.h <<_ACEOF
8092 #define HAVE_OPENAL 1
8093 _ACEOF
8095 ac_cv_lib_openal=yes
8097 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8098 then
8099 OPENCL_LIBS="-framework OpenCL"
8101 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8103 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8104 then
8105 ac_save_LIBS="$LIBS"
8106 LIBS="$LIBS $IOKIT_LIBS"
8107 for ac_func in IOHIDManagerCreate
8108 do :
8109 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8110 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8111 cat >>confdefs.h <<_ACEOF
8112 #define HAVE_IOHIDMANAGERCREATE 1
8113 _ACEOF
8116 done
8118 LIBS="$ac_save_LIBS"
8120 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8121 then
8122 ac_save_LIBS="$LIBS"
8123 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8125 $as_echo_n "checking for the QuickTime framework... " >&6; }
8126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8127 /* end confdefs.h. */
8128 #include <QuickTime/ImageCompression.h>
8130 main ()
8132 CodecManagerVersion(NULL);
8134 return 0;
8136 _ACEOF
8137 if ac_fn_c_try_link "$LINENO"; then :
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8139 $as_echo "yes" >&6; }
8140 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8142 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8143 else
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8145 $as_echo "no" >&6; }
8146 ac_cv_header_QuickTime_ImageCompression_h=no
8148 rm -f core conftest.err conftest.$ac_objext \
8149 conftest$ac_exeext conftest.$ac_ext
8150 LIBS="$ac_save_LIBS"
8152 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8153 then
8154 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8156 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8157 then
8158 CARBON_LIBS="-framework Carbon"
8162 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8163 then
8164 ac_save_LIBS="$LIBS"
8165 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8166 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8167 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8168 enable_winemac_drv=${enable_winemac_drv:-yes}
8171 LIBS="$ac_save_LIBS"
8174 if test "x$enable_win16" = "xyes"
8175 then
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8177 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8178 if test "$cross_compiling" = yes; then :
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8180 $as_echo "cross-compiling, assuming yes" >&6; }
8181 else
8182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8183 /* end confdefs.h. */
8184 asm(".text\n"
8185 "bad:\tnop;nop\n"
8186 "good:\tnop;nop\n\t"
8187 ".globl _testfunc\n"
8188 "_testfunc:\tcallw good");
8189 extern void testfunc();
8191 main ()
8193 unsigned short *p = (unsigned short *)testfunc;
8194 return p[0] != 0xe866 || p[1] != 0xfffa
8196 return 0;
8198 _ACEOF
8199 if ac_fn_c_try_run "$LINENO"; then :
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8201 $as_echo "yes" >&6; }
8202 else
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8204 $as_echo "no" >&6; }
8205 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
8207 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8208 conftest.$ac_objext conftest.beam conftest.$ac_ext
8213 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8214 LIBWINE_RULES="
8215 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8217 all: libwine.dylib
8219 libwine.$libwine_version.dylib: \$(OBJS)
8220 \$(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 \$@
8222 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8223 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8225 libwine.dylib: libwine.$libwine_soversion.dylib
8226 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8228 install install-lib:: libwine.$libwine_version.dylib
8229 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8230 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8232 install install-dev::
8233 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8235 uninstall::
8236 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8240 as_fn_append LOADER_RULES "
8241 $wine_binary: main.o wine_info.plist
8242 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8244 wine-installed: main.o wine_info.plist
8245 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8249 linux-android*)
8250 DLLFLAGS="$DLLFLAGS -fPIC"
8251 DLLPREFIX="lib"
8252 LDEXECFLAGS=""
8253 dlldir="\${libdir}"
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8255 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8256 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8257 $as_echo_n "(cached) " >&6
8258 else
8259 ac_wine_try_cflags_saved=$CFLAGS
8260 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8262 /* end confdefs.h. */
8263 int main(int argc, char **argv) { return 0; }
8264 _ACEOF
8265 if ac_fn_c_try_link "$LINENO"; then :
8266 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8267 else
8268 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8270 rm -f core conftest.err conftest.$ac_objext \
8271 conftest$ac_exeext conftest.$ac_ext
8272 CFLAGS=$ac_wine_try_cflags_saved
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8275 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8276 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8277 LDEXECFLAGS="-Wl,--export-dynamic"
8279 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8281 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8282 if eval \${$as_ac_var+:} false; then :
8283 $as_echo_n "(cached) " >&6
8284 else
8285 ac_wine_try_cflags_saved=$CFLAGS
8286 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8288 /* end confdefs.h. */
8289 int main(int argc, char **argv) { return 0; }
8290 _ACEOF
8291 if ac_fn_c_try_link "$LINENO"; then :
8292 eval "$as_ac_var=yes"
8293 else
8294 eval "$as_ac_var=no"
8296 rm -f core conftest.err conftest.$ac_objext \
8297 conftest$ac_exeext conftest.$ac_ext
8298 CFLAGS=$ac_wine_try_cflags_saved
8300 eval ac_res=\$$as_ac_var
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8302 $as_echo "$ac_res" >&6; }
8303 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8304 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8305 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8306 else
8307 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8309 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8310 if eval \${$as_ac_var+:} false; then :
8311 $as_echo_n "(cached) " >&6
8312 else
8313 ac_wine_try_cflags_saved=$CFLAGS
8314 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8316 /* end confdefs.h. */
8317 int main(int argc, char **argv) { return 0; }
8318 _ACEOF
8319 if ac_fn_c_try_link "$LINENO"; then :
8320 eval "$as_ac_var=yes"
8321 else
8322 eval "$as_ac_var=no"
8324 rm -f core conftest.err conftest.$ac_objext \
8325 conftest$ac_exeext conftest.$ac_ext
8326 CFLAGS=$ac_wine_try_cflags_saved
8328 eval ac_res=\$$as_ac_var
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8330 $as_echo "$ac_res" >&6; }
8331 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8332 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8333 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8338 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8339 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8340 $as_echo_n "(cached) " >&6
8341 else
8342 ac_wine_try_cflags_saved=$CFLAGS
8343 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8345 /* end confdefs.h. */
8346 int main(int argc, char **argv) { return 0; }
8347 _ACEOF
8348 if ac_fn_c_try_link "$LINENO"; then :
8349 ac_cv_cflags__Wl___enable_new_dtags=yes
8350 else
8351 ac_cv_cflags__Wl___enable_new_dtags=no
8353 rm -f core conftest.err conftest.$ac_objext \
8354 conftest$ac_exeext conftest.$ac_ext
8355 CFLAGS=$ac_wine_try_cflags_saved
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8358 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8359 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8360 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8363 case $host_cpu in
8364 *i[3456789]86* | x86_64)
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8366 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8367 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8368 $as_echo_n "(cached) " >&6
8369 else
8370 ac_wine_try_cflags_saved=$CFLAGS
8371 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8373 /* end confdefs.h. */
8374 int main(int argc, char **argv) { return 0; }
8375 _ACEOF
8376 if ac_fn_c_try_link "$LINENO"; then :
8377 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8378 else
8379 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8381 rm -f core conftest.err conftest.$ac_objext \
8382 conftest$ac_exeext conftest.$ac_ext
8383 CFLAGS=$ac_wine_try_cflags_saved
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8386 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8387 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8388 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8391 esac
8393 libwine_targets="libwine.so"
8394 LIBWINE_RULES="
8395 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8397 all: libwine.so
8399 libwine.so: \$(OBJS)
8400 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8402 install install-lib:: libwine.so
8403 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8405 uninstall::
8406 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8410 as_fn_append LOADER_RULES "
8411 $wine_binary: main.o
8412 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8414 wine-installed: main.o
8415 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8420 DLLFLAGS="$DLLFLAGS -fPIC"
8421 LDEXECFLAGS=""
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8423 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8424 if ${ac_cv_c_dll_gnuelf+:} false; then :
8425 $as_echo_n "(cached) " >&6
8426 else
8427 ac_wine_try_cflags_saved=$CFLAGS
8428 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8430 /* end confdefs.h. */
8431 void myfunc() {}
8432 _ACEOF
8433 if ac_fn_c_try_link "$LINENO"; then :
8434 ac_cv_c_dll_gnuelf="yes"
8435 else
8436 ac_cv_c_dll_gnuelf="no"
8438 rm -f core conftest.err conftest.$ac_objext \
8439 conftest$ac_exeext conftest.$ac_ext
8440 CFLAGS=$ac_wine_try_cflags_saved
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8443 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8444 if test "$ac_cv_c_dll_gnuelf" = "yes"
8445 then
8446 LDSHARED="\$(CC) -shared"
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8448 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8449 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8450 $as_echo_n "(cached) " >&6
8451 else
8452 ac_wine_try_cflags_saved=$CFLAGS
8453 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8455 /* end confdefs.h. */
8456 int main(int argc, char **argv) { return 0; }
8457 _ACEOF
8458 if ac_fn_c_try_link "$LINENO"; then :
8459 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8460 else
8461 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8463 rm -f core conftest.err conftest.$ac_objext \
8464 conftest$ac_exeext conftest.$ac_ext
8465 CFLAGS=$ac_wine_try_cflags_saved
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8468 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8469 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8470 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8471 else
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8473 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8474 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8475 $as_echo_n "(cached) " >&6
8476 else
8477 ac_wine_try_cflags_saved=$CFLAGS
8478 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8480 /* end confdefs.h. */
8481 int main(int argc, char **argv) { return 0; }
8482 _ACEOF
8483 if ac_fn_c_try_link "$LINENO"; then :
8484 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8485 else
8486 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8488 rm -f core conftest.err conftest.$ac_objext \
8489 conftest$ac_exeext conftest.$ac_ext
8490 CFLAGS=$ac_wine_try_cflags_saved
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8493 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8494 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8495 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8499 echo '{ global: *; };' >conftest.map
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8501 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8502 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8503 $as_echo_n "(cached) " >&6
8504 else
8505 ac_wine_try_cflags_saved=$CFLAGS
8506 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8508 /* end confdefs.h. */
8509 int main(int argc, char **argv) { return 0; }
8510 _ACEOF
8511 if ac_fn_c_try_link "$LINENO"; then :
8512 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8513 else
8514 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8516 rm -f core conftest.err conftest.$ac_objext \
8517 conftest$ac_exeext conftest.$ac_ext
8518 CFLAGS=$ac_wine_try_cflags_saved
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8521 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8522 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8523 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8525 rm -f conftest.map
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8528 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8529 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8530 $as_echo_n "(cached) " >&6
8531 else
8532 ac_wine_try_cflags_saved=$CFLAGS
8533 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8535 /* end confdefs.h. */
8536 int main(int argc, char **argv) { return 0; }
8537 _ACEOF
8538 if ac_fn_c_try_link "$LINENO"; then :
8539 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8540 else
8541 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8543 rm -f core conftest.err conftest.$ac_objext \
8544 conftest$ac_exeext conftest.$ac_ext
8545 CFLAGS=$ac_wine_try_cflags_saved
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8548 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8549 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8550 LDEXECFLAGS="-Wl,--export-dynamic"
8553 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8555 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8556 if eval \${$as_ac_var+:} false; then :
8557 $as_echo_n "(cached) " >&6
8558 else
8559 ac_wine_try_cflags_saved=$CFLAGS
8560 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8562 /* end confdefs.h. */
8563 int main(int argc, char **argv) { return 0; }
8564 _ACEOF
8565 if ac_fn_c_try_link "$LINENO"; then :
8566 eval "$as_ac_var=yes"
8567 else
8568 eval "$as_ac_var=no"
8570 rm -f core conftest.err conftest.$ac_objext \
8571 conftest$ac_exeext conftest.$ac_ext
8572 CFLAGS=$ac_wine_try_cflags_saved
8574 eval ac_res=\$$as_ac_var
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8576 $as_echo "$ac_res" >&6; }
8577 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8578 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8579 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8580 else
8581 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8583 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8584 if eval \${$as_ac_var+:} false; then :
8585 $as_echo_n "(cached) " >&6
8586 else
8587 ac_wine_try_cflags_saved=$CFLAGS
8588 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8590 /* end confdefs.h. */
8591 int main(int argc, char **argv) { return 0; }
8592 _ACEOF
8593 if ac_fn_c_try_link "$LINENO"; then :
8594 eval "$as_ac_var=yes"
8595 else
8596 eval "$as_ac_var=no"
8598 rm -f core conftest.err conftest.$ac_objext \
8599 conftest$ac_exeext conftest.$ac_ext
8600 CFLAGS=$ac_wine_try_cflags_saved
8602 eval ac_res=\$$as_ac_var
8603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8604 $as_echo "$ac_res" >&6; }
8605 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8606 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8607 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8612 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8613 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8614 $as_echo_n "(cached) " >&6
8615 else
8616 ac_wine_try_cflags_saved=$CFLAGS
8617 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8619 /* end confdefs.h. */
8620 int main(int argc, char **argv) { return 0; }
8621 _ACEOF
8622 if ac_fn_c_try_link "$LINENO"; then :
8623 ac_cv_cflags__Wl___enable_new_dtags=yes
8624 else
8625 ac_cv_cflags__Wl___enable_new_dtags=no
8627 rm -f core conftest.err conftest.$ac_objext \
8628 conftest$ac_exeext conftest.$ac_ext
8629 CFLAGS=$ac_wine_try_cflags_saved
8631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8632 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8633 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8634 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8637 case $host_cpu in
8638 *i[3456789]86* | x86_64)
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8640 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8641 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8642 $as_echo_n "(cached) " >&6
8643 else
8644 ac_wine_try_cflags_saved=$CFLAGS
8645 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8647 /* end confdefs.h. */
8648 int main(int argc, char **argv) { return 0; }
8649 _ACEOF
8650 if ac_fn_c_try_link "$LINENO"; then :
8651 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8652 else
8653 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8655 rm -f core conftest.err conftest.$ac_objext \
8656 conftest$ac_exeext conftest.$ac_ext
8657 CFLAGS=$ac_wine_try_cflags_saved
8659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8660 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8661 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8662 case $host_os in
8663 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8664 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8665 esac
8668 # Extract the first word of "prelink", so it can be a program name with args.
8669 set dummy prelink; ac_word=$2
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8671 $as_echo_n "checking for $ac_word... " >&6; }
8672 if ${ac_cv_path_PRELINK+:} false; then :
8673 $as_echo_n "(cached) " >&6
8674 else
8675 case $PRELINK in
8676 [\\/]* | ?:[\\/]*)
8677 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8681 for as_dir in /sbin /usr/sbin $PATH
8683 IFS=$as_save_IFS
8684 test -z "$as_dir" && as_dir=.
8685 for ac_exec_ext in '' $ac_executable_extensions; do
8686 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8687 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8689 break 2
8691 done
8692 done
8693 IFS=$as_save_IFS
8695 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8697 esac
8699 PRELINK=$ac_cv_path_PRELINK
8700 if test -n "$PRELINK"; then
8701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8702 $as_echo "$PRELINK" >&6; }
8703 else
8704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8705 $as_echo "no" >&6; }
8709 if test "x$PRELINK" = xfalse
8710 then
8711 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8714 esac
8716 else
8717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8718 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8719 if ${ac_cv_c_dll_unixware+:} false; then :
8720 $as_echo_n "(cached) " >&6
8721 else
8722 ac_wine_try_cflags_saved=$CFLAGS
8723 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8725 /* end confdefs.h. */
8726 void myfunc() {}
8727 _ACEOF
8728 if ac_fn_c_try_link "$LINENO"; then :
8729 ac_cv_c_dll_unixware="yes"
8730 else
8731 ac_cv_c_dll_unixware="no"
8733 rm -f core conftest.err conftest.$ac_objext \
8734 conftest$ac_exeext conftest.$ac_ext
8735 CFLAGS=$ac_wine_try_cflags_saved
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8738 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8739 if test "$ac_cv_c_dll_unixware" = "yes"
8740 then
8741 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8744 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8745 LIBWINE_RULES="
8746 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8748 all: libwine.so
8750 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8751 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8753 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8754 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8756 libwine.so: libwine.so.$libwine_soversion
8757 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8759 install install-lib:: libwine.so.$libwine_version
8760 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8761 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8763 install install-dev::
8764 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8766 uninstall::
8767 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8771 as_fn_append LOADER_RULES "
8772 $wine_binary: main.o
8773 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8775 wine-installed: main.o
8776 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8779 esac
8781 as_fn_append LIBWINE_RULES "
8782 EXTRA_TARGETS = $libwine_targets
8785 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8786 enable_winemac_drv=${enable_winemac_drv:-no}
8788 CROSSTARGET=""
8790 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8791 then
8792 case "$host_cpu" in
8793 i[3456789]86*)
8794 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
8795 mingw32-gcc" ;;
8796 x86_64)
8797 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 " ;;
8799 ac_prefix_list="" ;;
8800 esac
8801 for ac_prog in $ac_prefix_list
8803 # Extract the first word of "$ac_prog", so it can be a program name with args.
8804 set dummy $ac_prog; ac_word=$2
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8806 $as_echo_n "checking for $ac_word... " >&6; }
8807 if ${ac_cv_prog_CROSSCC+:} false; then :
8808 $as_echo_n "(cached) " >&6
8809 else
8810 if test -n "$CROSSCC"; then
8811 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8812 else
8813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8814 for as_dir in $PATH
8816 IFS=$as_save_IFS
8817 test -z "$as_dir" && as_dir=.
8818 for ac_exec_ext in '' $ac_executable_extensions; do
8819 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8820 ac_cv_prog_CROSSCC="$ac_prog"
8821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8822 break 2
8824 done
8825 done
8826 IFS=$as_save_IFS
8830 CROSSCC=$ac_cv_prog_CROSSCC
8831 if test -n "$CROSSCC"; then
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8833 $as_echo "$CROSSCC" >&6; }
8834 else
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8836 $as_echo "no" >&6; }
8840 test -n "$CROSSCC" && break
8841 done
8842 test -n "$CROSSCC" || CROSSCC="false"
8844 if test "$CROSSCC" != "false"
8845 then
8846 ac_save_CC="$CC"
8847 CC="$CROSSCC"
8848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8849 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8851 /* end confdefs.h. */
8854 main ()
8858 return 0;
8860 _ACEOF
8861 if ac_fn_c_try_compile "$LINENO"; then :
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8863 $as_echo "yes" >&6; }
8864 set x $CROSSCC
8865 shift
8866 while test $# -ge 1
8868 case "$1" in
8869 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8870 esac
8871 shift
8872 done
8873 else
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8875 $as_echo "no" >&6; }
8877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8878 CC="$ac_save_CC"
8883 if test "$ac_cv_header_pthread_h" = "yes"
8884 then
8885 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8886 if test "x$ac_cv_func_pthread_create" = xyes; then :
8888 else
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8890 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8891 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8892 $as_echo_n "(cached) " >&6
8893 else
8894 ac_check_lib_save_LIBS=$LIBS
8895 LIBS="-lpthread $LIBS"
8896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8897 /* end confdefs.h. */
8899 /* Override any GCC internal prototype to avoid an error.
8900 Use char because int might match the return type of a GCC
8901 builtin and then its argument prototype would still apply. */
8902 #ifdef __cplusplus
8903 extern "C"
8904 #endif
8905 char pthread_create ();
8907 main ()
8909 return pthread_create ();
8911 return 0;
8913 _ACEOF
8914 if ac_fn_c_try_link "$LINENO"; then :
8915 ac_cv_lib_pthread_pthread_create=yes
8916 else
8917 ac_cv_lib_pthread_pthread_create=no
8919 rm -f core conftest.err conftest.$ac_objext \
8920 conftest$ac_exeext conftest.$ac_ext
8921 LIBS=$ac_check_lib_save_LIBS
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8924 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8925 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8926 PTHREAD_LIBS="-lpthread"
8933 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8934 case "x$with_pthread" in
8935 xno) ;;
8936 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8937 Wine cannot support threads without libpthread.
8938 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8939 esac
8943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8944 $as_echo_n "checking for X... " >&6; }
8947 # Check whether --with-x was given.
8948 if test "${with_x+set}" = set; then :
8949 withval=$with_x;
8952 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8953 if test "x$with_x" = xno; then
8954 # The user explicitly disabled X.
8955 have_x=disabled
8956 else
8957 case $x_includes,$x_libraries in #(
8958 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8959 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8960 $as_echo_n "(cached) " >&6
8961 else
8962 # One or both of the vars are not set, and there is no cached value.
8963 ac_x_includes=no ac_x_libraries=no
8964 rm -f -r conftest.dir
8965 if mkdir conftest.dir; then
8966 cd conftest.dir
8967 cat >Imakefile <<'_ACEOF'
8968 incroot:
8969 @echo incroot='${INCROOT}'
8970 usrlibdir:
8971 @echo usrlibdir='${USRLIBDIR}'
8972 libdir:
8973 @echo libdir='${LIBDIR}'
8974 _ACEOF
8975 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8976 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8977 for ac_var in incroot usrlibdir libdir; do
8978 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8979 done
8980 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8981 for ac_extension in a so sl dylib la dll; do
8982 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8983 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8984 ac_im_usrlibdir=$ac_im_libdir; break
8986 done
8987 # Screen out bogus values from the imake configuration. They are
8988 # bogus both because they are the default anyway, and because
8989 # using them would break gcc on systems where it needs fixed includes.
8990 case $ac_im_incroot in
8991 /usr/include) ac_x_includes= ;;
8992 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8993 esac
8994 case $ac_im_usrlibdir in
8995 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8996 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8997 esac
8999 cd ..
9000 rm -f -r conftest.dir
9003 # Standard set of common directories for X headers.
9004 # Check X11 before X11Rn because it is often a symlink to the current release.
9005 ac_x_header_dirs='
9006 /usr/X11/include
9007 /usr/X11R7/include
9008 /usr/X11R6/include
9009 /usr/X11R5/include
9010 /usr/X11R4/include
9012 /usr/include/X11
9013 /usr/include/X11R7
9014 /usr/include/X11R6
9015 /usr/include/X11R5
9016 /usr/include/X11R4
9018 /usr/local/X11/include
9019 /usr/local/X11R7/include
9020 /usr/local/X11R6/include
9021 /usr/local/X11R5/include
9022 /usr/local/X11R4/include
9024 /usr/local/include/X11
9025 /usr/local/include/X11R7
9026 /usr/local/include/X11R6
9027 /usr/local/include/X11R5
9028 /usr/local/include/X11R4
9030 /usr/X386/include
9031 /usr/x386/include
9032 /usr/XFree86/include/X11
9034 /usr/include
9035 /usr/local/include
9036 /usr/unsupported/include
9037 /usr/athena/include
9038 /usr/local/x11r5/include
9039 /usr/lpp/Xamples/include
9041 /usr/openwin/include
9042 /usr/openwin/share/include'
9044 if test "$ac_x_includes" = no; then
9045 # Guess where to find include files, by looking for Xlib.h.
9046 # First, try using that file with no special directory specified.
9047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9048 /* end confdefs.h. */
9049 #include <X11/Xlib.h>
9050 _ACEOF
9051 if ac_fn_c_try_cpp "$LINENO"; then :
9052 # We can compile using X headers with no special include directory.
9053 ac_x_includes=
9054 else
9055 for ac_dir in $ac_x_header_dirs; do
9056 if test -r "$ac_dir/X11/Xlib.h"; then
9057 ac_x_includes=$ac_dir
9058 break
9060 done
9062 rm -f conftest.err conftest.i conftest.$ac_ext
9063 fi # $ac_x_includes = no
9065 if test "$ac_x_libraries" = no; then
9066 # Check for the libraries.
9067 # See if we find them without any special options.
9068 # Don't add to $LIBS permanently.
9069 ac_save_LIBS=$LIBS
9070 LIBS="-lX11 $LIBS"
9071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9072 /* end confdefs.h. */
9073 #include <X11/Xlib.h>
9075 main ()
9077 XrmInitialize ()
9079 return 0;
9081 _ACEOF
9082 if ac_fn_c_try_link "$LINENO"; then :
9083 LIBS=$ac_save_LIBS
9084 # We can link X programs with no special library path.
9085 ac_x_libraries=
9086 else
9087 LIBS=$ac_save_LIBS
9088 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9090 # Don't even attempt the hair of trying to link an X program!
9091 for ac_extension in a so sl dylib la dll; do
9092 if test -r "$ac_dir/libX11.$ac_extension"; then
9093 ac_x_libraries=$ac_dir
9094 break 2
9096 done
9097 done
9099 rm -f core conftest.err conftest.$ac_objext \
9100 conftest$ac_exeext conftest.$ac_ext
9101 fi # $ac_x_libraries = no
9103 case $ac_x_includes,$ac_x_libraries in #(
9104 no,* | *,no | *\'*)
9105 # Didn't find X, or a directory has "'" in its name.
9106 ac_cv_have_x="have_x=no";; #(
9108 # Record where we found X for the cache.
9109 ac_cv_have_x="have_x=yes\
9110 ac_x_includes='$ac_x_includes'\
9111 ac_x_libraries='$ac_x_libraries'"
9112 esac
9114 ;; #(
9115 *) have_x=yes;;
9116 esac
9117 eval "$ac_cv_have_x"
9118 fi # $with_x != no
9120 if test "$have_x" != yes; then
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9122 $as_echo "$have_x" >&6; }
9123 no_x=yes
9124 else
9125 # If each of the values was on the command line, it overrides each guess.
9126 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9127 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9128 # Update the cache value to reflect the command line values.
9129 ac_cv_have_x="have_x=yes\
9130 ac_x_includes='$x_includes'\
9131 ac_x_libraries='$x_libraries'"
9132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9133 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9136 if test "$no_x" = yes; then
9137 # Not all programs may use this symbol, but it does not hurt to define it.
9139 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9141 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9142 else
9143 if test -n "$x_includes"; then
9144 X_CFLAGS="$X_CFLAGS -I$x_includes"
9147 # It would also be nice to do this for all -L options, not just this one.
9148 if test -n "$x_libraries"; then
9149 X_LIBS="$X_LIBS -L$x_libraries"
9150 # For Solaris; some versions of Sun CC require a space after -R and
9151 # others require no space. Words are not sufficient . . . .
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9153 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9154 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9155 ac_xsave_c_werror_flag=$ac_c_werror_flag
9156 ac_c_werror_flag=yes
9157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9158 /* end confdefs.h. */
9161 main ()
9165 return 0;
9167 _ACEOF
9168 if ac_fn_c_try_link "$LINENO"; then :
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9170 $as_echo "no" >&6; }
9171 X_LIBS="$X_LIBS -R$x_libraries"
9172 else
9173 LIBS="$ac_xsave_LIBS -R $x_libraries"
9174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9175 /* end confdefs.h. */
9178 main ()
9182 return 0;
9184 _ACEOF
9185 if ac_fn_c_try_link "$LINENO"; then :
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9187 $as_echo "yes" >&6; }
9188 X_LIBS="$X_LIBS -R $x_libraries"
9189 else
9190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9191 $as_echo "neither works" >&6; }
9193 rm -f core conftest.err conftest.$ac_objext \
9194 conftest$ac_exeext conftest.$ac_ext
9196 rm -f core conftest.err conftest.$ac_objext \
9197 conftest$ac_exeext conftest.$ac_ext
9198 ac_c_werror_flag=$ac_xsave_c_werror_flag
9199 LIBS=$ac_xsave_LIBS
9202 # Check for system-dependent libraries X programs must link with.
9203 # Do this before checking for the system-independent R6 libraries
9204 # (-lICE), since we may need -lsocket or whatever for X linking.
9206 if test "$ISC" = yes; then
9207 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9208 else
9209 # Martyn Johnson says this is needed for Ultrix, if the X
9210 # libraries were built with DECnet support. And Karl Berry says
9211 # the Alpha needs dnet_stub (dnet does not exist).
9212 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9214 /* end confdefs.h. */
9216 /* Override any GCC internal prototype to avoid an error.
9217 Use char because int might match the return type of a GCC
9218 builtin and then its argument prototype would still apply. */
9219 #ifdef __cplusplus
9220 extern "C"
9221 #endif
9222 char XOpenDisplay ();
9224 main ()
9226 return XOpenDisplay ();
9228 return 0;
9230 _ACEOF
9231 if ac_fn_c_try_link "$LINENO"; then :
9233 else
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9235 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9236 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9237 $as_echo_n "(cached) " >&6
9238 else
9239 ac_check_lib_save_LIBS=$LIBS
9240 LIBS="-ldnet $LIBS"
9241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9242 /* end confdefs.h. */
9244 /* Override any GCC internal prototype to avoid an error.
9245 Use char because int might match the return type of a GCC
9246 builtin and then its argument prototype would still apply. */
9247 #ifdef __cplusplus
9248 extern "C"
9249 #endif
9250 char dnet_ntoa ();
9252 main ()
9254 return dnet_ntoa ();
9256 return 0;
9258 _ACEOF
9259 if ac_fn_c_try_link "$LINENO"; then :
9260 ac_cv_lib_dnet_dnet_ntoa=yes
9261 else
9262 ac_cv_lib_dnet_dnet_ntoa=no
9264 rm -f core conftest.err conftest.$ac_objext \
9265 conftest$ac_exeext conftest.$ac_ext
9266 LIBS=$ac_check_lib_save_LIBS
9268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9269 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9270 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9271 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9274 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9276 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9277 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9278 $as_echo_n "(cached) " >&6
9279 else
9280 ac_check_lib_save_LIBS=$LIBS
9281 LIBS="-ldnet_stub $LIBS"
9282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9283 /* end confdefs.h. */
9285 /* Override any GCC internal prototype to avoid an error.
9286 Use char because int might match the return type of a GCC
9287 builtin and then its argument prototype would still apply. */
9288 #ifdef __cplusplus
9289 extern "C"
9290 #endif
9291 char dnet_ntoa ();
9293 main ()
9295 return dnet_ntoa ();
9297 return 0;
9299 _ACEOF
9300 if ac_fn_c_try_link "$LINENO"; then :
9301 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9302 else
9303 ac_cv_lib_dnet_stub_dnet_ntoa=no
9305 rm -f core conftest.err conftest.$ac_objext \
9306 conftest$ac_exeext conftest.$ac_ext
9307 LIBS=$ac_check_lib_save_LIBS
9309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9310 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9311 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9312 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9317 rm -f core conftest.err conftest.$ac_objext \
9318 conftest$ac_exeext conftest.$ac_ext
9319 LIBS="$ac_xsave_LIBS"
9321 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9322 # to get the SysV transport functions.
9323 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9324 # needs -lnsl.
9325 # The nsl library prevents programs from opening the X display
9326 # on Irix 5.2, according to T.E. Dickey.
9327 # The functions gethostbyname, getservbyname, and inet_addr are
9328 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9329 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9330 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9334 if test $ac_cv_func_gethostbyname = no; then
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9336 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9337 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9338 $as_echo_n "(cached) " >&6
9339 else
9340 ac_check_lib_save_LIBS=$LIBS
9341 LIBS="-lnsl $LIBS"
9342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9343 /* end confdefs.h. */
9345 /* Override any GCC internal prototype to avoid an error.
9346 Use char because int might match the return type of a GCC
9347 builtin and then its argument prototype would still apply. */
9348 #ifdef __cplusplus
9349 extern "C"
9350 #endif
9351 char gethostbyname ();
9353 main ()
9355 return gethostbyname ();
9357 return 0;
9359 _ACEOF
9360 if ac_fn_c_try_link "$LINENO"; then :
9361 ac_cv_lib_nsl_gethostbyname=yes
9362 else
9363 ac_cv_lib_nsl_gethostbyname=no
9365 rm -f core conftest.err conftest.$ac_objext \
9366 conftest$ac_exeext conftest.$ac_ext
9367 LIBS=$ac_check_lib_save_LIBS
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9370 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9371 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9372 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9375 if test $ac_cv_lib_nsl_gethostbyname = no; then
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9377 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9378 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9379 $as_echo_n "(cached) " >&6
9380 else
9381 ac_check_lib_save_LIBS=$LIBS
9382 LIBS="-lbsd $LIBS"
9383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9384 /* end confdefs.h. */
9386 /* Override any GCC internal prototype to avoid an error.
9387 Use char because int might match the return type of a GCC
9388 builtin and then its argument prototype would still apply. */
9389 #ifdef __cplusplus
9390 extern "C"
9391 #endif
9392 char gethostbyname ();
9394 main ()
9396 return gethostbyname ();
9398 return 0;
9400 _ACEOF
9401 if ac_fn_c_try_link "$LINENO"; then :
9402 ac_cv_lib_bsd_gethostbyname=yes
9403 else
9404 ac_cv_lib_bsd_gethostbyname=no
9406 rm -f core conftest.err conftest.$ac_objext \
9407 conftest$ac_exeext conftest.$ac_ext
9408 LIBS=$ac_check_lib_save_LIBS
9410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9411 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9412 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9413 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9419 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9420 # socket/setsockopt and other routines are undefined under SCO ODT
9421 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9422 # on later versions), says Simon Leinen: it contains gethostby*
9423 # variants that don't use the name server (or something). -lsocket
9424 # must be given before -lnsl if both are needed. We assume that
9425 # if connect needs -lnsl, so does gethostbyname.
9426 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9427 if test "x$ac_cv_func_connect" = xyes; then :
9431 if test $ac_cv_func_connect = no; then
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9433 $as_echo_n "checking for connect in -lsocket... " >&6; }
9434 if ${ac_cv_lib_socket_connect+:} false; then :
9435 $as_echo_n "(cached) " >&6
9436 else
9437 ac_check_lib_save_LIBS=$LIBS
9438 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9440 /* end confdefs.h. */
9442 /* Override any GCC internal prototype to avoid an error.
9443 Use char because int might match the return type of a GCC
9444 builtin and then its argument prototype would still apply. */
9445 #ifdef __cplusplus
9446 extern "C"
9447 #endif
9448 char connect ();
9450 main ()
9452 return connect ();
9454 return 0;
9456 _ACEOF
9457 if ac_fn_c_try_link "$LINENO"; then :
9458 ac_cv_lib_socket_connect=yes
9459 else
9460 ac_cv_lib_socket_connect=no
9462 rm -f core conftest.err conftest.$ac_objext \
9463 conftest$ac_exeext conftest.$ac_ext
9464 LIBS=$ac_check_lib_save_LIBS
9466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9467 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9468 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9469 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9474 # Guillermo Gomez says -lposix is necessary on A/UX.
9475 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9476 if test "x$ac_cv_func_remove" = xyes; then :
9480 if test $ac_cv_func_remove = no; then
9481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9482 $as_echo_n "checking for remove in -lposix... " >&6; }
9483 if ${ac_cv_lib_posix_remove+:} false; then :
9484 $as_echo_n "(cached) " >&6
9485 else
9486 ac_check_lib_save_LIBS=$LIBS
9487 LIBS="-lposix $LIBS"
9488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9489 /* end confdefs.h. */
9491 /* Override any GCC internal prototype to avoid an error.
9492 Use char because int might match the return type of a GCC
9493 builtin and then its argument prototype would still apply. */
9494 #ifdef __cplusplus
9495 extern "C"
9496 #endif
9497 char remove ();
9499 main ()
9501 return remove ();
9503 return 0;
9505 _ACEOF
9506 if ac_fn_c_try_link "$LINENO"; then :
9507 ac_cv_lib_posix_remove=yes
9508 else
9509 ac_cv_lib_posix_remove=no
9511 rm -f core conftest.err conftest.$ac_objext \
9512 conftest$ac_exeext conftest.$ac_ext
9513 LIBS=$ac_check_lib_save_LIBS
9515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9516 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9517 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9518 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9523 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9524 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9525 if test "x$ac_cv_func_shmat" = xyes; then :
9529 if test $ac_cv_func_shmat = no; then
9530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9531 $as_echo_n "checking for shmat in -lipc... " >&6; }
9532 if ${ac_cv_lib_ipc_shmat+:} false; then :
9533 $as_echo_n "(cached) " >&6
9534 else
9535 ac_check_lib_save_LIBS=$LIBS
9536 LIBS="-lipc $LIBS"
9537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9538 /* end confdefs.h. */
9540 /* Override any GCC internal prototype to avoid an error.
9541 Use char because int might match the return type of a GCC
9542 builtin and then its argument prototype would still apply. */
9543 #ifdef __cplusplus
9544 extern "C"
9545 #endif
9546 char shmat ();
9548 main ()
9550 return shmat ();
9552 return 0;
9554 _ACEOF
9555 if ac_fn_c_try_link "$LINENO"; then :
9556 ac_cv_lib_ipc_shmat=yes
9557 else
9558 ac_cv_lib_ipc_shmat=no
9560 rm -f core conftest.err conftest.$ac_objext \
9561 conftest$ac_exeext conftest.$ac_ext
9562 LIBS=$ac_check_lib_save_LIBS
9564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9565 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9566 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9567 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9573 # Check for libraries that X11R6 Xt/Xaw programs need.
9574 ac_save_LDFLAGS=$LDFLAGS
9575 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9576 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9577 # check for ICE first), but we must link in the order -lSM -lICE or
9578 # we get undefined symbols. So assume we have SM if we have ICE.
9579 # These have to be linked with before -lX11, unlike the other
9580 # libraries we check for below, so use a different variable.
9581 # John Interrante, Karl Berry
9582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9583 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9584 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9585 $as_echo_n "(cached) " >&6
9586 else
9587 ac_check_lib_save_LIBS=$LIBS
9588 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9590 /* end confdefs.h. */
9592 /* Override any GCC internal prototype to avoid an error.
9593 Use char because int might match the return type of a GCC
9594 builtin and then its argument prototype would still apply. */
9595 #ifdef __cplusplus
9596 extern "C"
9597 #endif
9598 char IceConnectionNumber ();
9600 main ()
9602 return IceConnectionNumber ();
9604 return 0;
9606 _ACEOF
9607 if ac_fn_c_try_link "$LINENO"; then :
9608 ac_cv_lib_ICE_IceConnectionNumber=yes
9609 else
9610 ac_cv_lib_ICE_IceConnectionNumber=no
9612 rm -f core conftest.err conftest.$ac_objext \
9613 conftest$ac_exeext conftest.$ac_ext
9614 LIBS=$ac_check_lib_save_LIBS
9616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9617 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9618 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9619 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9622 LDFLAGS=$ac_save_LDFLAGS
9627 if test "$have_x" = "yes"
9628 then
9629 ac_save_CPPFLAGS="$CPPFLAGS"
9630 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9633 $as_echo_n "checking for -lX11... " >&6; }
9634 if ${ac_cv_lib_soname_X11+:} false; then :
9635 $as_echo_n "(cached) " >&6
9636 else
9637 ac_check_soname_save_LIBS=$LIBS
9638 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9640 /* end confdefs.h. */
9642 /* Override any GCC internal prototype to avoid an error.
9643 Use char because int might match the return type of a GCC
9644 builtin and then its argument prototype would still apply. */
9645 #ifdef __cplusplus
9646 extern "C"
9647 #endif
9648 char XCreateWindow ();
9650 main ()
9652 return XCreateWindow ();
9654 return 0;
9656 _ACEOF
9657 if ac_fn_c_try_link "$LINENO"; then :
9658 case "$LIBEXT" in
9659 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9660 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'` ;;
9661 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9662 if ${ac_cv_lib_soname_X11:+false} :; then :
9663 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9664 fi ;;
9665 esac
9667 rm -f core conftest.err conftest.$ac_objext \
9668 conftest$ac_exeext conftest.$ac_ext
9669 LIBS=$ac_check_soname_save_LIBS
9671 if ${ac_cv_lib_soname_X11:+false} :; then :
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9673 $as_echo "not found" >&6; }
9675 else
9676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9677 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9679 cat >>confdefs.h <<_ACEOF
9680 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9681 _ACEOF
9685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9686 $as_echo_n "checking for -lXext... " >&6; }
9687 if ${ac_cv_lib_soname_Xext+:} false; then :
9688 $as_echo_n "(cached) " >&6
9689 else
9690 ac_check_soname_save_LIBS=$LIBS
9691 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9693 /* end confdefs.h. */
9695 /* Override any GCC internal prototype to avoid an error.
9696 Use char because int might match the return type of a GCC
9697 builtin and then its argument prototype would still apply. */
9698 #ifdef __cplusplus
9699 extern "C"
9700 #endif
9701 char XextCreateExtension ();
9703 main ()
9705 return XextCreateExtension ();
9707 return 0;
9709 _ACEOF
9710 if ac_fn_c_try_link "$LINENO"; then :
9711 case "$LIBEXT" in
9712 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9713 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'` ;;
9714 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9715 if ${ac_cv_lib_soname_Xext:+false} :; then :
9716 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9717 fi ;;
9718 esac
9720 rm -f core conftest.err conftest.$ac_objext \
9721 conftest$ac_exeext conftest.$ac_ext
9722 LIBS=$ac_check_soname_save_LIBS
9724 if ${ac_cv_lib_soname_Xext:+false} :; then :
9725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9726 $as_echo "not found" >&6; }
9728 else
9729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9730 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9732 cat >>confdefs.h <<_ACEOF
9733 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9734 _ACEOF
9736 X_LIBS="$X_LIBS -lXext"
9738 X_LIBS="$X_LIBS -lX11"
9740 for ac_header in X11/Xlib.h \
9741 X11/XKBlib.h \
9742 X11/Xutil.h \
9743 X11/Xcursor/Xcursor.h \
9744 X11/extensions/shape.h \
9745 X11/extensions/XInput.h \
9746 X11/extensions/XInput2.h \
9747 X11/extensions/XShm.h \
9748 X11/extensions/Xcomposite.h \
9749 X11/extensions/Xinerama.h \
9750 X11/extensions/Xrandr.h \
9751 X11/extensions/Xrender.h \
9752 X11/extensions/xf86vmode.h \
9753 X11/extensions/xf86vmproto.h
9754 do :
9755 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9756 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9757 # include <X11/Xlib.h>
9758 #endif
9759 #ifdef HAVE_X11_XUTIL_H
9760 # include <X11/Xutil.h>
9761 #endif
9763 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9764 cat >>confdefs.h <<_ACEOF
9765 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9766 _ACEOF
9770 done
9773 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9774 then
9775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9776 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9777 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9778 $as_echo_n "(cached) " >&6
9779 else
9780 ac_check_lib_save_LIBS=$LIBS
9781 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9783 /* end confdefs.h. */
9785 /* Override any GCC internal prototype to avoid an error.
9786 Use char because int might match the return type of a GCC
9787 builtin and then its argument prototype would still apply. */
9788 #ifdef __cplusplus
9789 extern "C"
9790 #endif
9791 char XkbQueryExtension ();
9793 main ()
9795 return XkbQueryExtension ();
9797 return 0;
9799 _ACEOF
9800 if ac_fn_c_try_link "$LINENO"; then :
9801 ac_cv_lib_X11_XkbQueryExtension=yes
9802 else
9803 ac_cv_lib_X11_XkbQueryExtension=no
9805 rm -f core conftest.err conftest.$ac_objext \
9806 conftest$ac_exeext conftest.$ac_ext
9807 LIBS=$ac_check_lib_save_LIBS
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9810 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9811 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9813 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9819 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9820 then
9821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9822 $as_echo_n "checking for -lXcursor... " >&6; }
9823 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9824 $as_echo_n "(cached) " >&6
9825 else
9826 ac_check_soname_save_LIBS=$LIBS
9827 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9829 /* end confdefs.h. */
9831 /* Override any GCC internal prototype to avoid an error.
9832 Use char because int might match the return type of a GCC
9833 builtin and then its argument prototype would still apply. */
9834 #ifdef __cplusplus
9835 extern "C"
9836 #endif
9837 char XcursorImageLoadCursor ();
9839 main ()
9841 return XcursorImageLoadCursor ();
9843 return 0;
9845 _ACEOF
9846 if ac_fn_c_try_link "$LINENO"; then :
9847 case "$LIBEXT" in
9848 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9849 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'` ;;
9850 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9851 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9852 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9853 fi ;;
9854 esac
9856 rm -f core conftest.err conftest.$ac_objext \
9857 conftest$ac_exeext conftest.$ac_ext
9858 LIBS=$ac_check_soname_save_LIBS
9860 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9862 $as_echo "not found" >&6; }
9864 else
9865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9866 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9868 cat >>confdefs.h <<_ACEOF
9869 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9870 _ACEOF
9875 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9876 case "x$with_xcursor" in
9877 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9878 xno) ;;
9879 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9880 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9881 esac
9884 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9885 then
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9887 $as_echo_n "checking for -lXi... " >&6; }
9888 if ${ac_cv_lib_soname_Xi+:} false; then :
9889 $as_echo_n "(cached) " >&6
9890 else
9891 ac_check_soname_save_LIBS=$LIBS
9892 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9894 /* end confdefs.h. */
9896 /* Override any GCC internal prototype to avoid an error.
9897 Use char because int might match the return type of a GCC
9898 builtin and then its argument prototype would still apply. */
9899 #ifdef __cplusplus
9900 extern "C"
9901 #endif
9902 char XOpenDevice ();
9904 main ()
9906 return XOpenDevice ();
9908 return 0;
9910 _ACEOF
9911 if ac_fn_c_try_link "$LINENO"; then :
9912 case "$LIBEXT" in
9913 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9914 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'` ;;
9915 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9916 if ${ac_cv_lib_soname_Xi:+false} :; then :
9917 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9918 fi ;;
9919 esac
9921 rm -f core conftest.err conftest.$ac_objext \
9922 conftest$ac_exeext conftest.$ac_ext
9923 LIBS=$ac_check_soname_save_LIBS
9925 if ${ac_cv_lib_soname_Xi:+false} :; then :
9926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9927 $as_echo "not found" >&6; }
9929 else
9930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9931 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9933 cat >>confdefs.h <<_ACEOF
9934 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9935 _ACEOF
9940 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9941 case "x$with_xinput" in
9942 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9943 xno) ;;
9944 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9945 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9946 esac
9949 if test "x$ac_cv_lib_soname_Xi" != x
9950 then
9951 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9952 case "x$with_xinput2" in
9953 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9954 xno) ;;
9955 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9956 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9957 esac
9961 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9962 then
9963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9964 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9965 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9966 $as_echo_n "(cached) " >&6
9967 else
9968 ac_check_lib_save_LIBS=$LIBS
9969 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9971 /* end confdefs.h. */
9973 /* Override any GCC internal prototype to avoid an error.
9974 Use char because int might match the return type of a GCC
9975 builtin and then its argument prototype would still apply. */
9976 #ifdef __cplusplus
9977 extern "C"
9978 #endif
9979 char XShmQueryExtension ();
9981 main ()
9983 return XShmQueryExtension ();
9985 return 0;
9987 _ACEOF
9988 if ac_fn_c_try_link "$LINENO"; then :
9989 ac_cv_lib_Xext_XShmQueryExtension=yes
9990 else
9991 ac_cv_lib_Xext_XShmQueryExtension=no
9993 rm -f core conftest.err conftest.$ac_objext \
9994 conftest$ac_exeext conftest.$ac_ext
9995 LIBS=$ac_check_lib_save_LIBS
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9998 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9999 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10001 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10006 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10007 case "x$with_xshm" in
10008 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10009 xno) ;;
10010 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10011 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10012 esac
10015 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10016 then
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10018 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10019 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10020 $as_echo_n "(cached) " >&6
10021 else
10022 ac_check_lib_save_LIBS=$LIBS
10023 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10025 /* end confdefs.h. */
10027 /* Override any GCC internal prototype to avoid an error.
10028 Use char because int might match the return type of a GCC
10029 builtin and then its argument prototype would still apply. */
10030 #ifdef __cplusplus
10031 extern "C"
10032 #endif
10033 char XShapeQueryExtension ();
10035 main ()
10037 return XShapeQueryExtension ();
10039 return 0;
10041 _ACEOF
10042 if ac_fn_c_try_link "$LINENO"; then :
10043 ac_cv_lib_Xext_XShapeQueryExtension=yes
10044 else
10045 ac_cv_lib_Xext_XShapeQueryExtension=no
10047 rm -f core conftest.err conftest.$ac_objext \
10048 conftest$ac_exeext conftest.$ac_ext
10049 LIBS=$ac_check_lib_save_LIBS
10051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10052 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10053 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10055 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10060 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10061 case "x$with_xshape" in
10062 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10063 xno) ;;
10064 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10065 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10066 esac
10069 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10070 then
10071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10072 $as_echo_n "checking for -lXxf86vm... " >&6; }
10073 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10074 $as_echo_n "(cached) " >&6
10075 else
10076 ac_check_soname_save_LIBS=$LIBS
10077 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10079 /* end confdefs.h. */
10081 /* Override any GCC internal prototype to avoid an error.
10082 Use char because int might match the return type of a GCC
10083 builtin and then its argument prototype would still apply. */
10084 #ifdef __cplusplus
10085 extern "C"
10086 #endif
10087 char XF86VidModeQueryExtension ();
10089 main ()
10091 return XF86VidModeQueryExtension ();
10093 return 0;
10095 _ACEOF
10096 if ac_fn_c_try_link "$LINENO"; then :
10097 case "$LIBEXT" in
10098 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10099 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'` ;;
10100 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10101 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10102 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10103 fi ;;
10104 esac
10106 rm -f core conftest.err conftest.$ac_objext \
10107 conftest$ac_exeext conftest.$ac_ext
10108 LIBS=$ac_check_soname_save_LIBS
10110 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10112 $as_echo "not found" >&6; }
10114 else
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10116 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10118 cat >>confdefs.h <<_ACEOF
10119 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10120 _ACEOF
10125 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10126 case "x$with_xxf86vm" in
10127 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10128 xno) ;;
10129 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10130 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10131 esac
10134 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10135 then
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10137 $as_echo_n "checking for -lXrender... " >&6; }
10138 if ${ac_cv_lib_soname_Xrender+:} false; then :
10139 $as_echo_n "(cached) " >&6
10140 else
10141 ac_check_soname_save_LIBS=$LIBS
10142 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10144 /* end confdefs.h. */
10146 /* Override any GCC internal prototype to avoid an error.
10147 Use char because int might match the return type of a GCC
10148 builtin and then its argument prototype would still apply. */
10149 #ifdef __cplusplus
10150 extern "C"
10151 #endif
10152 char XRenderQueryExtension ();
10154 main ()
10156 return XRenderQueryExtension ();
10158 return 0;
10160 _ACEOF
10161 if ac_fn_c_try_link "$LINENO"; then :
10162 case "$LIBEXT" in
10163 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10164 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'` ;;
10165 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10166 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10167 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10168 fi ;;
10169 esac
10171 rm -f core conftest.err conftest.$ac_objext \
10172 conftest$ac_exeext conftest.$ac_ext
10173 LIBS=$ac_check_soname_save_LIBS
10175 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10177 $as_echo "not found" >&6; }
10179 else
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10181 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10183 cat >>confdefs.h <<_ACEOF
10184 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10185 _ACEOF
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10188 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10189 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10190 $as_echo_n "(cached) " >&6
10191 else
10192 ac_check_lib_save_LIBS=$LIBS
10193 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10195 /* end confdefs.h. */
10197 /* Override any GCC internal prototype to avoid an error.
10198 Use char because int might match the return type of a GCC
10199 builtin and then its argument prototype would still apply. */
10200 #ifdef __cplusplus
10201 extern "C"
10202 #endif
10203 char XRenderSetPictureTransform ();
10205 main ()
10207 return XRenderSetPictureTransform ();
10209 return 0;
10211 _ACEOF
10212 if ac_fn_c_try_link "$LINENO"; then :
10213 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10214 else
10215 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10217 rm -f core conftest.err conftest.$ac_objext \
10218 conftest$ac_exeext conftest.$ac_ext
10219 LIBS=$ac_check_lib_save_LIBS
10221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10222 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10223 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10225 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10230 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10231 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10232 $as_echo_n "(cached) " >&6
10233 else
10234 ac_check_lib_save_LIBS=$LIBS
10235 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10237 /* end confdefs.h. */
10239 /* Override any GCC internal prototype to avoid an error.
10240 Use char because int might match the return type of a GCC
10241 builtin and then its argument prototype would still apply. */
10242 #ifdef __cplusplus
10243 extern "C"
10244 #endif
10245 char XRenderCreateLinearGradient ();
10247 main ()
10249 return XRenderCreateLinearGradient ();
10251 return 0;
10253 _ACEOF
10254 if ac_fn_c_try_link "$LINENO"; then :
10255 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10256 else
10257 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10259 rm -f core conftest.err conftest.$ac_objext \
10260 conftest$ac_exeext conftest.$ac_ext
10261 LIBS=$ac_check_lib_save_LIBS
10263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10264 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10265 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10267 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10274 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10275 case "x$with_xrender" in
10276 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10277 xno) ;;
10278 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10279 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10280 esac
10283 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10284 then
10285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10286 /* end confdefs.h. */
10287 #include <X11/Xlib.h>
10288 #include <X11/extensions/Xrandr.h>
10290 main ()
10292 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10294 return 0;
10296 _ACEOF
10297 if ac_fn_c_try_compile "$LINENO"; then :
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10299 $as_echo_n "checking for -lXrandr... " >&6; }
10300 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10301 $as_echo_n "(cached) " >&6
10302 else
10303 ac_check_soname_save_LIBS=$LIBS
10304 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10306 /* end confdefs.h. */
10308 /* Override any GCC internal prototype to avoid an error.
10309 Use char because int might match the return type of a GCC
10310 builtin and then its argument prototype would still apply. */
10311 #ifdef __cplusplus
10312 extern "C"
10313 #endif
10314 char XRRQueryExtension ();
10316 main ()
10318 return XRRQueryExtension ();
10320 return 0;
10322 _ACEOF
10323 if ac_fn_c_try_link "$LINENO"; then :
10324 case "$LIBEXT" in
10325 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10326 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'` ;;
10327 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10328 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10329 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10330 fi ;;
10331 esac
10333 rm -f core conftest.err conftest.$ac_objext \
10334 conftest$ac_exeext conftest.$ac_ext
10335 LIBS=$ac_check_soname_save_LIBS
10337 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10339 $as_echo "not found" >&6; }
10341 else
10342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10343 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10345 cat >>confdefs.h <<_ACEOF
10346 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10347 _ACEOF
10349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10350 /* end confdefs.h. */
10351 #include <X11/Xlib.h>
10352 #include <X11/extensions/Xrandr.h>
10354 main ()
10356 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10358 return 0;
10360 _ACEOF
10361 if ac_fn_c_try_compile "$LINENO"; then :
10363 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10371 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10372 case "x$with_xrandr" in
10373 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10374 xno) ;;
10375 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10376 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10377 esac
10380 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10381 then
10382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10383 /* end confdefs.h. */
10384 #include <X11/Xlib.h>
10385 #include <X11/extensions/Xinerama.h>
10387 main ()
10389 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10391 return 0;
10393 _ACEOF
10394 if ac_fn_c_try_compile "$LINENO"; then :
10395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10396 $as_echo_n "checking for -lXinerama... " >&6; }
10397 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10398 $as_echo_n "(cached) " >&6
10399 else
10400 ac_check_soname_save_LIBS=$LIBS
10401 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10403 /* end confdefs.h. */
10405 /* Override any GCC internal prototype to avoid an error.
10406 Use char because int might match the return type of a GCC
10407 builtin and then its argument prototype would still apply. */
10408 #ifdef __cplusplus
10409 extern "C"
10410 #endif
10411 char XineramaQueryScreens ();
10413 main ()
10415 return XineramaQueryScreens ();
10417 return 0;
10419 _ACEOF
10420 if ac_fn_c_try_link "$LINENO"; then :
10421 case "$LIBEXT" in
10422 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10423 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'` ;;
10424 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10425 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10426 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10427 fi ;;
10428 esac
10430 rm -f core conftest.err conftest.$ac_objext \
10431 conftest$ac_exeext conftest.$ac_ext
10432 LIBS=$ac_check_soname_save_LIBS
10434 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10436 $as_echo "not found" >&6; }
10438 else
10439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10440 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10442 cat >>confdefs.h <<_ACEOF
10443 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10444 _ACEOF
10449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10451 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10452 case "x$with_xinerama" in
10453 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10454 xno) ;;
10455 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10456 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10457 esac
10460 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10461 then
10462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10463 $as_echo_n "checking for -lXcomposite... " >&6; }
10464 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10465 $as_echo_n "(cached) " >&6
10466 else
10467 ac_check_soname_save_LIBS=$LIBS
10468 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10470 /* end confdefs.h. */
10472 /* Override any GCC internal prototype to avoid an error.
10473 Use char because int might match the return type of a GCC
10474 builtin and then its argument prototype would still apply. */
10475 #ifdef __cplusplus
10476 extern "C"
10477 #endif
10478 char XCompositeRedirectWindow ();
10480 main ()
10482 return XCompositeRedirectWindow ();
10484 return 0;
10486 _ACEOF
10487 if ac_fn_c_try_link "$LINENO"; then :
10488 case "$LIBEXT" in
10489 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10490 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'` ;;
10491 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10492 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10493 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10494 fi ;;
10495 esac
10497 rm -f core conftest.err conftest.$ac_objext \
10498 conftest$ac_exeext conftest.$ac_ext
10499 LIBS=$ac_check_soname_save_LIBS
10501 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10503 $as_echo "not found" >&6; }
10505 else
10506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10507 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10509 cat >>confdefs.h <<_ACEOF
10510 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10511 _ACEOF
10516 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10517 case "x$with_xcomposite" in
10518 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10519 xno) ;;
10520 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10521 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10522 esac
10525 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10526 #include <X11/Xlib.h>
10527 #endif
10529 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10531 cat >>confdefs.h <<_ACEOF
10532 #define HAVE_XICCALLBACK_CALLBACK 1
10533 _ACEOF
10537 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10538 #include <X11/Xlib.h>
10539 #endif
10541 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10543 cat >>confdefs.h <<_ACEOF
10544 #define HAVE_XEVENT_XCOOKIE 1
10545 _ACEOF
10552 opengl_msg=""
10553 if test "x$with_opengl" != "xno"
10554 then
10555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10556 $as_echo_n "checking for -lGL... " >&6; }
10557 if ${ac_cv_lib_soname_GL+:} false; then :
10558 $as_echo_n "(cached) " >&6
10559 else
10560 ac_check_soname_save_LIBS=$LIBS
10561 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10563 /* end confdefs.h. */
10565 /* Override any GCC internal prototype to avoid an error.
10566 Use char because int might match the return type of a GCC
10567 builtin and then its argument prototype would still apply. */
10568 #ifdef __cplusplus
10569 extern "C"
10570 #endif
10571 char glXCreateContext ();
10573 main ()
10575 return glXCreateContext ();
10577 return 0;
10579 _ACEOF
10580 if ac_fn_c_try_link "$LINENO"; then :
10581 case "$LIBEXT" in
10582 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10583 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'` ;;
10584 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10585 if ${ac_cv_lib_soname_GL:+false} :; then :
10586 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10587 fi ;;
10588 esac
10590 rm -f core conftest.err conftest.$ac_objext \
10591 conftest$ac_exeext conftest.$ac_ext
10592 LIBS=$ac_check_soname_save_LIBS
10594 if ${ac_cv_lib_soname_GL:+false} :; then :
10595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10596 $as_echo "not found" >&6; }
10597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10598 $as_echo_n "checking for -lGL... " >&6; }
10599 if ${ac_cv_lib_soname_GL+:} false; then :
10600 $as_echo_n "(cached) " >&6
10601 else
10602 ac_check_soname_save_LIBS=$LIBS
10603 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"
10604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10605 /* end confdefs.h. */
10607 /* Override any GCC internal prototype to avoid an error.
10608 Use char because int might match the return type of a GCC
10609 builtin and then its argument prototype would still apply. */
10610 #ifdef __cplusplus
10611 extern "C"
10612 #endif
10613 char glXCreateContext ();
10615 main ()
10617 return glXCreateContext ();
10619 return 0;
10621 _ACEOF
10622 if ac_fn_c_try_link "$LINENO"; then :
10623 case "$LIBEXT" in
10624 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10625 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'` ;;
10626 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10627 if ${ac_cv_lib_soname_GL:+false} :; then :
10628 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10629 fi ;;
10630 esac
10632 rm -f core conftest.err conftest.$ac_objext \
10633 conftest$ac_exeext conftest.$ac_ext
10634 LIBS=$ac_check_soname_save_LIBS
10636 if ${ac_cv_lib_soname_GL:+false} :; then :
10637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10638 $as_echo "not found" >&6; }
10639 if test -f /usr/X11R6/lib/libGL.a
10640 then
10641 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10642 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10643 else
10644 opengl_msg="No OpenGL library found on this system."
10646 else
10647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10648 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10650 cat >>confdefs.h <<_ACEOF
10651 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10652 _ACEOF
10654 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"
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="-lGL"
10666 if test "x$with_glu" != "xno"
10667 then
10668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10669 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10670 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10671 $as_echo_n "(cached) " >&6
10672 else
10673 ac_check_lib_save_LIBS=$LIBS
10674 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10676 /* end confdefs.h. */
10678 /* Override any GCC internal prototype to avoid an error.
10679 Use char because int might match the return type of a GCC
10680 builtin and then its argument prototype would still apply. */
10681 #ifdef __cplusplus
10682 extern "C"
10683 #endif
10684 char gluLookAt ();
10686 main ()
10688 return gluLookAt ();
10690 return 0;
10692 _ACEOF
10693 if ac_fn_c_try_link "$LINENO"; then :
10694 ac_cv_lib_GLU_gluLookAt=yes
10695 else
10696 ac_cv_lib_GLU_gluLookAt=no
10698 rm -f core conftest.err conftest.$ac_objext \
10699 conftest$ac_exeext conftest.$ac_ext
10700 LIBS=$ac_check_lib_save_LIBS
10702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10703 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10704 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10708 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10709 case "x$with_glu" in
10710 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10711 xno) ;;
10712 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10713 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10714 esac
10718 if test "x$with_osmesa" != "xno"
10719 then
10720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10721 $as_echo_n "checking for -lOSMesa... " >&6; }
10722 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10723 $as_echo_n "(cached) " >&6
10724 else
10725 ac_check_soname_save_LIBS=$LIBS
10726 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10728 /* end confdefs.h. */
10730 /* Override any GCC internal prototype to avoid an error.
10731 Use char because int might match the return type of a GCC
10732 builtin and then its argument prototype would still apply. */
10733 #ifdef __cplusplus
10734 extern "C"
10735 #endif
10736 char glAccum ();
10738 main ()
10740 return glAccum ();
10742 return 0;
10744 _ACEOF
10745 if ac_fn_c_try_link "$LINENO"; then :
10746 case "$LIBEXT" in
10747 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10748 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'` ;;
10749 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10750 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10751 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10752 fi ;;
10753 esac
10755 rm -f core conftest.err conftest.$ac_objext \
10756 conftest$ac_exeext conftest.$ac_ext
10757 LIBS=$ac_check_soname_save_LIBS
10759 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10761 $as_echo "not found" >&6; }
10763 else
10764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10765 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10767 cat >>confdefs.h <<_ACEOF
10768 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10769 _ACEOF
10773 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10774 case "x$with_osmesa" in
10775 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10776 xno) ;;
10777 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10778 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10779 esac
10783 if test -n "$opengl_msg"; then :
10784 case "x$with_opengl" in
10785 x) as_fn_append wine_warnings "|$opengl_msg
10786 OpenGL and Direct3D won't be supported." ;;
10787 xno) ;;
10788 *) as_fn_error $? "$opengl_msg
10789 OpenGL and Direct3D won't be supported.
10790 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10791 esac
10794 CPPFLAGS="$ac_save_CPPFLAGS"
10795 else
10796 X_CFLAGS=""
10797 X_LIBS=""
10798 enable_winex11_drv=${enable_winex11_drv:-no}
10800 if test "x$X_LIBS" = "x"; then :
10801 case "x$with_x" in
10802 xno) ;;
10803 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10804 without X support, which probably isn't what you want. You will need
10805 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10806 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10807 esac
10810 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10812 if test "$ac_cv_header_CL_cl_h" = "yes"
10813 then
10814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10815 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10816 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10817 $as_echo_n "(cached) " >&6
10818 else
10819 ac_check_lib_save_LIBS=$LIBS
10820 LIBS="-lOpenCL $LIBS"
10821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10822 /* end confdefs.h. */
10824 /* Override any GCC internal prototype to avoid an error.
10825 Use char because int might match the return type of a GCC
10826 builtin and then its argument prototype would still apply. */
10827 #ifdef __cplusplus
10828 extern "C"
10829 #endif
10830 char clGetPlatformInfo ();
10832 main ()
10834 return clGetPlatformInfo ();
10836 return 0;
10838 _ACEOF
10839 if ac_fn_c_try_link "$LINENO"; then :
10840 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10841 else
10842 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10844 rm -f core conftest.err conftest.$ac_objext \
10845 conftest$ac_exeext conftest.$ac_ext
10846 LIBS=$ac_check_lib_save_LIBS
10848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10849 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10850 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10851 OPENCL_LIBS="-lOpenCL"
10856 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10857 case "x$with_opencl" in
10858 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10859 xno) ;;
10860 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10861 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10862 esac
10864 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10866 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10867 then
10868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10869 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10870 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10871 $as_echo_n "(cached) " >&6
10872 else
10873 ac_check_lib_save_LIBS=$LIBS
10874 LIBS="-lpcap $LIBS"
10875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10876 /* end confdefs.h. */
10878 /* Override any GCC internal prototype to avoid an error.
10879 Use char because int might match the return type of a GCC
10880 builtin and then its argument prototype would still apply. */
10881 #ifdef __cplusplus
10882 extern "C"
10883 #endif
10884 char pcap_create ();
10886 main ()
10888 return pcap_create ();
10890 return 0;
10892 _ACEOF
10893 if ac_fn_c_try_link "$LINENO"; then :
10894 ac_cv_lib_pcap_pcap_create=yes
10895 else
10896 ac_cv_lib_pcap_pcap_create=no
10898 rm -f core conftest.err conftest.$ac_objext \
10899 conftest$ac_exeext conftest.$ac_ext
10900 LIBS=$ac_check_lib_save_LIBS
10902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10903 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10904 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10905 LIBPCAP="-lpcap"
10910 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10911 case "x$with_pcap" in
10912 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10913 xno) ;;
10914 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10915 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10916 esac
10918 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10921 if test "x$with_xml" != "xno"
10922 then
10923 if ${XML2_CFLAGS:+false} :; then :
10924 if ${PKG_CONFIG+:} false; then :
10925 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10928 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10929 if ${XML2_LIBS:+false} :; then :
10930 if ${PKG_CONFIG+:} false; then :
10931 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10934 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10935 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10936 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10937 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10938 ac_save_CPPFLAGS=$CPPFLAGS
10939 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10940 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10941 do :
10942 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10943 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10944 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10945 cat >>confdefs.h <<_ACEOF
10946 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10947 _ACEOF
10951 done
10953 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"
10954 then
10955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10956 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10957 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10958 $as_echo_n "(cached) " >&6
10959 else
10960 ac_check_lib_save_LIBS=$LIBS
10961 LIBS="-lxml2 $XML2_LIBS $LIBS"
10962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10963 /* end confdefs.h. */
10965 /* Override any GCC internal prototype to avoid an error.
10966 Use char because int might match the return type of a GCC
10967 builtin and then its argument prototype would still apply. */
10968 #ifdef __cplusplus
10969 extern "C"
10970 #endif
10971 char xmlParseMemory ();
10973 main ()
10975 return xmlParseMemory ();
10977 return 0;
10979 _ACEOF
10980 if ac_fn_c_try_link "$LINENO"; then :
10981 ac_cv_lib_xml2_xmlParseMemory=yes
10982 else
10983 ac_cv_lib_xml2_xmlParseMemory=no
10985 rm -f core conftest.err conftest.$ac_objext \
10986 conftest$ac_exeext conftest.$ac_ext
10987 LIBS=$ac_check_lib_save_LIBS
10989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10990 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10991 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10993 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10995 else
10996 XML2_LIBS=""
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11000 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11001 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11002 $as_echo_n "(cached) " >&6
11003 else
11004 ac_check_lib_save_LIBS=$LIBS
11005 LIBS="-lxml2 $XML2_LIBS $LIBS"
11006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11007 /* end confdefs.h. */
11009 /* Override any GCC internal prototype to avoid an error.
11010 Use char because int might match the return type of a GCC
11011 builtin and then its argument prototype would still apply. */
11012 #ifdef __cplusplus
11013 extern "C"
11014 #endif
11015 char xmlReadMemory ();
11017 main ()
11019 return xmlReadMemory ();
11021 return 0;
11023 _ACEOF
11024 if ac_fn_c_try_link "$LINENO"; then :
11025 ac_cv_lib_xml2_xmlReadMemory=yes
11026 else
11027 ac_cv_lib_xml2_xmlReadMemory=no
11029 rm -f core conftest.err conftest.$ac_objext \
11030 conftest$ac_exeext conftest.$ac_ext
11031 LIBS=$ac_check_lib_save_LIBS
11033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11034 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11035 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11037 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11042 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11043 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11044 $as_echo_n "(cached) " >&6
11045 else
11046 ac_check_lib_save_LIBS=$LIBS
11047 LIBS="-lxml2 $XML2_LIBS $LIBS"
11048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11049 /* end confdefs.h. */
11051 /* Override any GCC internal prototype to avoid an error.
11052 Use char because int might match the return type of a GCC
11053 builtin and then its argument prototype would still apply. */
11054 #ifdef __cplusplus
11055 extern "C"
11056 #endif
11057 char xmlNewDocPI ();
11059 main ()
11061 return xmlNewDocPI ();
11063 return 0;
11065 _ACEOF
11066 if ac_fn_c_try_link "$LINENO"; then :
11067 ac_cv_lib_xml2_xmlNewDocPI=yes
11068 else
11069 ac_cv_lib_xml2_xmlNewDocPI=no
11071 rm -f core conftest.err conftest.$ac_objext \
11072 conftest$ac_exeext conftest.$ac_ext
11073 LIBS=$ac_check_lib_save_LIBS
11075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11076 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11077 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11079 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11084 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11085 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11086 $as_echo_n "(cached) " >&6
11087 else
11088 ac_check_lib_save_LIBS=$LIBS
11089 LIBS="-lxml2 $XML2_LIBS $LIBS"
11090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11091 /* end confdefs.h. */
11093 /* Override any GCC internal prototype to avoid an error.
11094 Use char because int might match the return type of a GCC
11095 builtin and then its argument prototype would still apply. */
11096 #ifdef __cplusplus
11097 extern "C"
11098 #endif
11099 char xmlSchemaSetParserStructuredErrors ();
11101 main ()
11103 return xmlSchemaSetParserStructuredErrors ();
11105 return 0;
11107 _ACEOF
11108 if ac_fn_c_try_link "$LINENO"; then :
11109 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11110 else
11111 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11113 rm -f core conftest.err conftest.$ac_objext \
11114 conftest$ac_exeext conftest.$ac_ext
11115 LIBS=$ac_check_lib_save_LIBS
11117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11118 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11119 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11121 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11126 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11127 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11128 $as_echo_n "(cached) " >&6
11129 else
11130 ac_check_lib_save_LIBS=$LIBS
11131 LIBS="-lxml2 $XML2_LIBS $LIBS"
11132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11133 /* end confdefs.h. */
11135 /* Override any GCC internal prototype to avoid an error.
11136 Use char because int might match the return type of a GCC
11137 builtin and then its argument prototype would still apply. */
11138 #ifdef __cplusplus
11139 extern "C"
11140 #endif
11141 char xmlSchemaSetValidStructuredErrors ();
11143 main ()
11145 return xmlSchemaSetValidStructuredErrors ();
11147 return 0;
11149 _ACEOF
11150 if ac_fn_c_try_link "$LINENO"; then :
11151 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11152 else
11153 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11155 rm -f core conftest.err conftest.$ac_objext \
11156 conftest$ac_exeext conftest.$ac_ext
11157 LIBS=$ac_check_lib_save_LIBS
11159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11160 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11161 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11163 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11168 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11169 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11170 $as_echo_n "(cached) " >&6
11171 else
11172 ac_check_lib_save_LIBS=$LIBS
11173 LIBS="-lxml2 $XML2_LIBS $LIBS"
11174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11175 /* end confdefs.h. */
11177 /* Override any GCC internal prototype to avoid an error.
11178 Use char because int might match the return type of a GCC
11179 builtin and then its argument prototype would still apply. */
11180 #ifdef __cplusplus
11181 extern "C"
11182 #endif
11183 char xmlFirstElementChild ();
11185 main ()
11187 return xmlFirstElementChild ();
11189 return 0;
11191 _ACEOF
11192 if ac_fn_c_try_link "$LINENO"; then :
11193 ac_cv_lib_xml2_xmlFirstElementChild=yes
11194 else
11195 ac_cv_lib_xml2_xmlFirstElementChild=no
11197 rm -f core conftest.err conftest.$ac_objext \
11198 conftest$ac_exeext conftest.$ac_ext
11199 LIBS=$ac_check_lib_save_LIBS
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11202 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11203 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11205 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11209 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11211 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11213 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11217 else
11218 XML2_CFLAGS=""
11219 XML2_LIBS=""
11221 CPPFLAGS=$ac_save_CPPFLAGS
11222 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11223 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11226 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11227 case "x$with_xml" in
11228 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11229 xno) ;;
11230 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11231 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11232 esac
11235 if test "x$with_xslt" != "xno"
11236 then
11237 if ${XSLT_CFLAGS:+false} :; then :
11238 if ${PKG_CONFIG+:} false; then :
11239 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11242 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11243 if ${XSLT_LIBS:+false} :; then :
11244 if ${PKG_CONFIG+:} false; then :
11245 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11248 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11249 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11250 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11251 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11252 ac_save_CPPFLAGS=$CPPFLAGS
11253 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11254 for ac_header in libxslt/pattern.h libxslt/transform.h
11255 do :
11256 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11257 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11258 # include <libxslt/pattern.h>
11259 #endif
11261 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11262 cat >>confdefs.h <<_ACEOF
11263 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11264 _ACEOF
11268 done
11270 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11271 then
11272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11273 $as_echo_n "checking for -lxslt... " >&6; }
11274 if ${ac_cv_lib_soname_xslt+:} false; then :
11275 $as_echo_n "(cached) " >&6
11276 else
11277 ac_check_soname_save_LIBS=$LIBS
11278 LIBS="-lxslt $XSLT_LIBS $LIBS"
11279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11280 /* end confdefs.h. */
11282 /* Override any GCC internal prototype to avoid an error.
11283 Use char because int might match the return type of a GCC
11284 builtin and then its argument prototype would still apply. */
11285 #ifdef __cplusplus
11286 extern "C"
11287 #endif
11288 char xsltCompilePattern ();
11290 main ()
11292 return xsltCompilePattern ();
11294 return 0;
11296 _ACEOF
11297 if ac_fn_c_try_link "$LINENO"; then :
11298 case "$LIBEXT" in
11299 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11300 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'` ;;
11301 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11302 if ${ac_cv_lib_soname_xslt:+false} :; then :
11303 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11304 fi ;;
11305 esac
11307 rm -f core conftest.err conftest.$ac_objext \
11308 conftest$ac_exeext conftest.$ac_ext
11309 LIBS=$ac_check_soname_save_LIBS
11311 if ${ac_cv_lib_soname_xslt:+false} :; then :
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11313 $as_echo "not found" >&6; }
11315 else
11316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11317 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11319 cat >>confdefs.h <<_ACEOF
11320 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11321 _ACEOF
11325 else
11326 XSLT_CFLAGS=""
11328 CPPFLAGS=$ac_save_CPPFLAGS
11329 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11330 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11333 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11334 case "x$with_xslt" in
11335 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11336 xno) ;;
11337 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11338 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11339 esac
11342 if test "x$with_dbus" != "xno"
11343 then
11344 if ${DBUS_CFLAGS:+false} :; then :
11345 if ${PKG_CONFIG+:} false; then :
11346 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11350 if ${DBUS_LIBS:+false} :; then :
11351 if ${PKG_CONFIG+:} false; then :
11352 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11357 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11358 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11359 ac_save_CPPFLAGS=$CPPFLAGS
11360 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11361 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11362 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11364 $as_echo_n "checking for -ldbus-1... " >&6; }
11365 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11366 $as_echo_n "(cached) " >&6
11367 else
11368 ac_check_soname_save_LIBS=$LIBS
11369 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11371 /* end confdefs.h. */
11373 /* Override any GCC internal prototype to avoid an error.
11374 Use char because int might match the return type of a GCC
11375 builtin and then its argument prototype would still apply. */
11376 #ifdef __cplusplus
11377 extern "C"
11378 #endif
11379 char dbus_connection_close ();
11381 main ()
11383 return dbus_connection_close ();
11385 return 0;
11387 _ACEOF
11388 if ac_fn_c_try_link "$LINENO"; then :
11389 case "$LIBEXT" in
11390 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11391 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'` ;;
11392 *) 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'`
11393 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11394 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11395 fi ;;
11396 esac
11398 rm -f core conftest.err conftest.$ac_objext \
11399 conftest$ac_exeext conftest.$ac_ext
11400 LIBS=$ac_check_soname_save_LIBS
11402 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11404 $as_echo "not found" >&6; }
11405 DBUS_CFLAGS=""
11406 else
11407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11408 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11410 cat >>confdefs.h <<_ACEOF
11411 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11412 _ACEOF
11416 else
11417 DBUS_CFLAGS=""
11421 CPPFLAGS=$ac_save_CPPFLAGS
11422 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11423 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11426 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11427 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11428 case "x$with_dbus" in
11429 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11430 xno) ;;
11431 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11432 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11433 esac
11436 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11437 then
11438 if ${HAL_CFLAGS:+false} :; then :
11439 if ${PKG_CONFIG+:} false; then :
11440 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11444 if ${HAL_LIBS:+false} :; then :
11445 if ${PKG_CONFIG+:} false; then :
11446 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11450 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11451 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11452 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11453 ac_save_CPPFLAGS=$CPPFLAGS
11454 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11455 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11456 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11458 $as_echo_n "checking for -lhal... " >&6; }
11459 if ${ac_cv_lib_soname_hal+:} false; then :
11460 $as_echo_n "(cached) " >&6
11461 else
11462 ac_check_soname_save_LIBS=$LIBS
11463 LIBS="-lhal $HAL_LIBS $LIBS"
11464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11465 /* end confdefs.h. */
11467 /* Override any GCC internal prototype to avoid an error.
11468 Use char because int might match the return type of a GCC
11469 builtin and then its argument prototype would still apply. */
11470 #ifdef __cplusplus
11471 extern "C"
11472 #endif
11473 char libhal_ctx_new ();
11475 main ()
11477 return libhal_ctx_new ();
11479 return 0;
11481 _ACEOF
11482 if ac_fn_c_try_link "$LINENO"; then :
11483 case "$LIBEXT" in
11484 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11485 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'` ;;
11486 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11487 if ${ac_cv_lib_soname_hal:+false} :; then :
11488 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11489 fi ;;
11490 esac
11492 rm -f core conftest.err conftest.$ac_objext \
11493 conftest$ac_exeext conftest.$ac_ext
11494 LIBS=$ac_check_soname_save_LIBS
11496 if ${ac_cv_lib_soname_hal:+false} :; then :
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11498 $as_echo "not found" >&6; }
11499 HAL_CFLAGS=""
11500 else
11501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11502 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11504 cat >>confdefs.h <<_ACEOF
11505 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11506 _ACEOF
11510 else
11511 HAL_CFLAGS=""
11515 CPPFLAGS=$ac_save_CPPFLAGS
11516 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11517 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11519 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11520 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11521 case "x$with_hal" in
11522 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11523 xno) ;;
11524 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11525 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11526 esac
11530 if test "x$with_gnutls" != "xno"
11531 then
11532 if ${GNUTLS_CFLAGS:+false} :; then :
11533 if ${PKG_CONFIG+:} false; then :
11534 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11538 if ${GNUTLS_LIBS:+false} :; then :
11539 if ${PKG_CONFIG+:} false; then :
11540 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11545 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11546 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11547 ac_save_CPPFLAGS=$CPPFLAGS
11548 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11549 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11550 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11552 /* end confdefs.h. */
11553 #include <gnutls/gnutls.h>
11554 #include <gnutls/crypto.h>
11556 main ()
11558 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11560 return 0;
11562 _ACEOF
11563 if ac_fn_c_try_compile "$LINENO"; then :
11564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11565 $as_echo_n "checking for -lgnutls... " >&6; }
11566 if ${ac_cv_lib_soname_gnutls+:} false; then :
11567 $as_echo_n "(cached) " >&6
11568 else
11569 ac_check_soname_save_LIBS=$LIBS
11570 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11572 /* end confdefs.h. */
11574 /* Override any GCC internal prototype to avoid an error.
11575 Use char because int might match the return type of a GCC
11576 builtin and then its argument prototype would still apply. */
11577 #ifdef __cplusplus
11578 extern "C"
11579 #endif
11580 char gnutls_global_init ();
11582 main ()
11584 return gnutls_global_init ();
11586 return 0;
11588 _ACEOF
11589 if ac_fn_c_try_link "$LINENO"; then :
11590 case "$LIBEXT" in
11591 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11592 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'` ;;
11593 *) 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'`
11594 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11595 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'`
11596 fi ;;
11597 esac
11599 rm -f core conftest.err conftest.$ac_objext \
11600 conftest$ac_exeext conftest.$ac_ext
11601 LIBS=$ac_check_soname_save_LIBS
11603 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11605 $as_echo "not found" >&6; }
11606 GNUTLS_CFLAGS=""
11607 else
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11609 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11611 cat >>confdefs.h <<_ACEOF
11612 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11613 _ACEOF
11618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11619 else
11620 GNUTLS_CFLAGS=""
11624 CPPFLAGS=$ac_save_CPPFLAGS
11625 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11626 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11629 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11630 case "x$with_gnutls" in
11631 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11632 xno) ;;
11633 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11634 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11635 esac
11638 CURSES_LIBS=""
11639 if test "$ac_cv_header_ncurses_h" = "yes"
11640 then
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11642 $as_echo_n "checking for -lncurses... " >&6; }
11643 if ${ac_cv_lib_soname_ncurses+:} false; then :
11644 $as_echo_n "(cached) " >&6
11645 else
11646 ac_check_soname_save_LIBS=$LIBS
11647 LIBS="-lncurses $LIBS"
11648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11649 /* end confdefs.h. */
11651 /* Override any GCC internal prototype to avoid an error.
11652 Use char because int might match the return type of a GCC
11653 builtin and then its argument prototype would still apply. */
11654 #ifdef __cplusplus
11655 extern "C"
11656 #endif
11657 char waddch ();
11659 main ()
11661 return waddch ();
11663 return 0;
11665 _ACEOF
11666 if ac_fn_c_try_link "$LINENO"; then :
11667 case "$LIBEXT" in
11668 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11669 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'` ;;
11670 *) 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'`
11671 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11672 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11673 fi ;;
11674 esac
11676 rm -f core conftest.err conftest.$ac_objext \
11677 conftest$ac_exeext conftest.$ac_ext
11678 LIBS=$ac_check_soname_save_LIBS
11680 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11682 $as_echo "not found" >&6; }
11684 else
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11686 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11688 cat >>confdefs.h <<_ACEOF
11689 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11690 _ACEOF
11692 CURSES_LIBS="-lncurses"
11694 elif test "$ac_cv_header_curses_h" = "yes"
11695 then
11696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11697 $as_echo_n "checking for -lcurses... " >&6; }
11698 if ${ac_cv_lib_soname_curses+:} false; then :
11699 $as_echo_n "(cached) " >&6
11700 else
11701 ac_check_soname_save_LIBS=$LIBS
11702 LIBS="-lcurses $LIBS"
11703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11704 /* end confdefs.h. */
11706 /* Override any GCC internal prototype to avoid an error.
11707 Use char because int might match the return type of a GCC
11708 builtin and then its argument prototype would still apply. */
11709 #ifdef __cplusplus
11710 extern "C"
11711 #endif
11712 char waddch ();
11714 main ()
11716 return waddch ();
11718 return 0;
11720 _ACEOF
11721 if ac_fn_c_try_link "$LINENO"; then :
11722 case "$LIBEXT" in
11723 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11724 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'` ;;
11725 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11726 if ${ac_cv_lib_soname_curses:+false} :; then :
11727 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11728 fi ;;
11729 esac
11731 rm -f core conftest.err conftest.$ac_objext \
11732 conftest$ac_exeext conftest.$ac_ext
11733 LIBS=$ac_check_soname_save_LIBS
11735 if ${ac_cv_lib_soname_curses:+false} :; then :
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11737 $as_echo "not found" >&6; }
11739 else
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11741 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11743 cat >>confdefs.h <<_ACEOF
11744 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11745 _ACEOF
11747 CURSES_LIBS="-lcurses"
11750 ac_save_LIBS="$LIBS"
11751 LIBS="$LIBS $CURSES_LIBS"
11752 for ac_func in mousemask
11753 do :
11754 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11755 if test "x$ac_cv_func_mousemask" = xyes; then :
11756 cat >>confdefs.h <<_ACEOF
11757 #define HAVE_MOUSEMASK 1
11758 _ACEOF
11761 done
11763 LIBS="$ac_save_LIBS"
11764 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11765 case "x$with_curses" in
11766 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11767 xno) ;;
11768 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11769 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11770 esac
11773 if test "x$with_sane" != "xno"
11774 then
11775 if ${SANE_CFLAGS:+false} :; then :
11776 if ${PKG_CONFIG+:} false; then :
11777 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11780 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11781 if ${SANE_LIBS:+false} :; then :
11782 if ${PKG_CONFIG+:} false; then :
11783 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11786 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11788 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11789 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11790 ac_save_CPPFLAGS=$CPPFLAGS
11791 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11792 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11793 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11795 $as_echo_n "checking for -lsane... " >&6; }
11796 if ${ac_cv_lib_soname_sane+:} false; then :
11797 $as_echo_n "(cached) " >&6
11798 else
11799 ac_check_soname_save_LIBS=$LIBS
11800 LIBS="-lsane $SANE_LIBS $LIBS"
11801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11802 /* end confdefs.h. */
11804 /* Override any GCC internal prototype to avoid an error.
11805 Use char because int might match the return type of a GCC
11806 builtin and then its argument prototype would still apply. */
11807 #ifdef __cplusplus
11808 extern "C"
11809 #endif
11810 char sane_init ();
11812 main ()
11814 return sane_init ();
11816 return 0;
11818 _ACEOF
11819 if ac_fn_c_try_link "$LINENO"; then :
11820 case "$LIBEXT" in
11821 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11822 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'` ;;
11823 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11824 if ${ac_cv_lib_soname_sane:+false} :; then :
11825 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11826 fi ;;
11827 esac
11829 rm -f core conftest.err conftest.$ac_objext \
11830 conftest$ac_exeext conftest.$ac_ext
11831 LIBS=$ac_check_soname_save_LIBS
11833 if ${ac_cv_lib_soname_sane:+false} :; then :
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11835 $as_echo "not found" >&6; }
11836 SANE_CFLAGS=""
11837 else
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11839 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11841 cat >>confdefs.h <<_ACEOF
11842 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11843 _ACEOF
11847 else
11848 SANE_CFLAGS=""
11852 CPPFLAGS=$ac_save_CPPFLAGS
11853 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11854 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11857 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11858 case "x$with_sane" in
11859 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11860 xno) ;;
11861 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11862 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11863 esac
11866 if test "x$with_v4l" != "xno"
11867 then
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11869 $as_echo_n "checking for -lv4l1... " >&6; }
11870 if ${ac_cv_lib_soname_v4l1+:} false; then :
11871 $as_echo_n "(cached) " >&6
11872 else
11873 ac_check_soname_save_LIBS=$LIBS
11874 LIBS="-lv4l1 $LIBS"
11875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11876 /* end confdefs.h. */
11878 /* Override any GCC internal prototype to avoid an error.
11879 Use char because int might match the return type of a GCC
11880 builtin and then its argument prototype would still apply. */
11881 #ifdef __cplusplus
11882 extern "C"
11883 #endif
11884 char v4l1_open ();
11886 main ()
11888 return v4l1_open ();
11890 return 0;
11892 _ACEOF
11893 if ac_fn_c_try_link "$LINENO"; then :
11894 case "$LIBEXT" in
11895 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11896 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'` ;;
11897 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11898 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11899 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11900 fi ;;
11901 esac
11903 rm -f core conftest.err conftest.$ac_objext \
11904 conftest$ac_exeext conftest.$ac_ext
11905 LIBS=$ac_check_soname_save_LIBS
11907 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11909 $as_echo "not found" >&6; }
11911 else
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11913 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11915 cat >>confdefs.h <<_ACEOF
11916 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11917 _ACEOF
11922 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11923 case "x$with_v4l" in
11924 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11925 xno) ;;
11926 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11927 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11928 esac
11931 if test "x$with_gphoto" != "xno"
11932 then
11933 if ${GPHOTO2_CFLAGS:+false} :; then :
11934 if ${PKG_CONFIG+:} false; then :
11935 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11938 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11939 if ${GPHOTO2_LIBS:+false} :; then :
11940 if ${PKG_CONFIG+:} false; then :
11941 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11944 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11945 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11946 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11947 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11948 ac_save_CPPFLAGS=$CPPFLAGS
11949 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11950 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11951 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11953 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11954 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11955 $as_echo_n "(cached) " >&6
11956 else
11957 ac_check_lib_save_LIBS=$LIBS
11958 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11960 /* end confdefs.h. */
11962 /* Override any GCC internal prototype to avoid an error.
11963 Use char because int might match the return type of a GCC
11964 builtin and then its argument prototype would still apply. */
11965 #ifdef __cplusplus
11966 extern "C"
11967 #endif
11968 char gp_camera_new ();
11970 main ()
11972 return gp_camera_new ();
11974 return 0;
11976 _ACEOF
11977 if ac_fn_c_try_link "$LINENO"; then :
11978 ac_cv_lib_gphoto2_gp_camera_new=yes
11979 else
11980 ac_cv_lib_gphoto2_gp_camera_new=no
11982 rm -f core conftest.err conftest.$ac_objext \
11983 conftest$ac_exeext conftest.$ac_ext
11984 LIBS=$ac_check_lib_save_LIBS
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11987 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11988 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11990 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11992 else
11993 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11996 else
11997 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12001 CPPFLAGS=$ac_save_CPPFLAGS
12002 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12003 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12005 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12006 if ${PKG_CONFIG+:} false; then :
12007 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12010 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
12011 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12012 if ${PKG_CONFIG+:} false; then :
12013 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12016 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
12017 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12018 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12019 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12020 ac_save_CPPFLAGS=$CPPFLAGS
12021 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12022 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12023 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12025 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12026 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12027 $as_echo_n "(cached) " >&6
12028 else
12029 ac_check_lib_save_LIBS=$LIBS
12030 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12032 /* end confdefs.h. */
12034 /* Override any GCC internal prototype to avoid an error.
12035 Use char because int might match the return type of a GCC
12036 builtin and then its argument prototype would still apply. */
12037 #ifdef __cplusplus
12038 extern "C"
12039 #endif
12040 char gp_port_info_list_new ();
12042 main ()
12044 return gp_port_info_list_new ();
12046 return 0;
12048 _ACEOF
12049 if ac_fn_c_try_link "$LINENO"; then :
12050 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12051 else
12052 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12054 rm -f core conftest.err conftest.$ac_objext \
12055 conftest$ac_exeext conftest.$ac_ext
12056 LIBS=$ac_check_lib_save_LIBS
12058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12059 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12060 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12062 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12064 else
12065 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12068 else
12069 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12073 CPPFLAGS=$ac_save_CPPFLAGS
12074 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12075 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12078 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12079 case "x$with_gphoto" in
12080 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12081 xno) ;;
12082 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12083 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12084 esac
12086 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12087 case "x$with_gphoto" in
12088 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12089 xno) ;;
12090 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12091 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12092 esac
12096 if test "$ac_cv_header_resolv_h" = "yes"
12097 then
12098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12099 $as_echo_n "checking for resolver library... " >&6; }
12100 if ${ac_cv_have_resolv+:} false; then :
12101 $as_echo_n "(cached) " >&6
12102 else
12103 ac_save_LIBS="$LIBS"
12104 for lib in '' -lresolv
12106 LIBS="$lib $ac_save_LIBS"
12107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12108 /* end confdefs.h. */
12109 #ifdef HAVE_NETINET_IN_H
12110 #include <netinet/in.h>
12111 #endif
12112 #include <resolv.h>
12114 main ()
12116 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12118 return 0;
12120 _ACEOF
12121 if ac_fn_c_try_link "$LINENO"; then :
12122 ac_cv_have_resolv=${lib:-"none required"}
12123 else
12124 ac_cv_have_resolv="not found"
12126 rm -f core conftest.err conftest.$ac_objext \
12127 conftest$ac_exeext conftest.$ac_ext
12128 test "x$ac_cv_have_resolv" = "xnot found" || break
12129 done
12130 LIBS="$ac_save_LIBS"
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12133 $as_echo "$ac_cv_have_resolv" >&6; }
12135 case "$ac_cv_have_resolv" in
12136 "not found") ;;
12137 "none required")
12139 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12142 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12144 RESOLV_LIBS=$ac_cv_have_resolv
12146 esac
12149 if test "x$with_cms" != "xno"
12150 then
12151 if ${LCMS2_CFLAGS:+false} :; then :
12152 if ${PKG_CONFIG+:} false; then :
12153 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12157 if ${LCMS2_LIBS:+false} :; then :
12158 if ${PKG_CONFIG+:} false; then :
12159 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12163 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12164 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12165 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12166 ac_save_CPPFLAGS=$CPPFLAGS
12167 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12168 for ac_header in lcms2.h
12169 do :
12170 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12171 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12172 cat >>confdefs.h <<_ACEOF
12173 #define HAVE_LCMS2_H 1
12174 _ACEOF
12178 done
12180 if test "$ac_cv_header_lcms2_h" = "yes"
12181 then
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12183 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12184 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12185 $as_echo_n "(cached) " >&6
12186 else
12187 ac_check_lib_save_LIBS=$LIBS
12188 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12190 /* end confdefs.h. */
12192 /* Override any GCC internal prototype to avoid an error.
12193 Use char because int might match the return type of a GCC
12194 builtin and then its argument prototype would still apply. */
12195 #ifdef __cplusplus
12196 extern "C"
12197 #endif
12198 char cmsOpenProfileFromFile ();
12200 main ()
12202 return cmsOpenProfileFromFile ();
12204 return 0;
12206 _ACEOF
12207 if ac_fn_c_try_link "$LINENO"; then :
12208 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12209 else
12210 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12212 rm -f core conftest.err conftest.$ac_objext \
12213 conftest$ac_exeext conftest.$ac_ext
12214 LIBS=$ac_check_lib_save_LIBS
12216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12217 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12218 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12220 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12222 else
12223 LCMS2_LIBS=""
12226 else
12227 LCMS2_CFLAGS=""
12228 LCMS2_LIBS=""
12230 CPPFLAGS=$ac_save_CPPFLAGS
12231 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12232 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12235 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12236 case "x$with_cms" in
12237 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12238 xno) ;;
12239 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12240 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12241 esac
12244 if test "x$with_freetype" != "xno"
12245 then
12246 if ${FREETYPE_CFLAGS:+false} :; then :
12247 if ${PKG_CONFIG+:} false; then :
12248 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12251 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12252 if ${FREETYPE_LIBS:+false} :; then :
12253 if ${PKG_CONFIG+:} false; then :
12254 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12257 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12258 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12259 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12260 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12261 ac_save_CPPFLAGS=$CPPFLAGS
12262 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12263 for ac_header in ft2build.h
12264 do :
12265 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12266 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12267 cat >>confdefs.h <<_ACEOF
12268 #define HAVE_FT2BUILD_H 1
12269 _ACEOF
12273 done
12275 if test "$ac_cv_header_ft2build_h" = "yes"
12276 then
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12278 $as_echo_n "checking for -lfreetype... " >&6; }
12279 if ${ac_cv_lib_soname_freetype+:} false; then :
12280 $as_echo_n "(cached) " >&6
12281 else
12282 ac_check_soname_save_LIBS=$LIBS
12283 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12285 /* end confdefs.h. */
12287 /* Override any GCC internal prototype to avoid an error.
12288 Use char because int might match the return type of a GCC
12289 builtin and then its argument prototype would still apply. */
12290 #ifdef __cplusplus
12291 extern "C"
12292 #endif
12293 char FT_Init_FreeType ();
12295 main ()
12297 return FT_Init_FreeType ();
12299 return 0;
12301 _ACEOF
12302 if ac_fn_c_try_link "$LINENO"; then :
12303 case "$LIBEXT" in
12304 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12305 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'` ;;
12306 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12307 if ${ac_cv_lib_soname_freetype:+false} :; then :
12308 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12309 fi ;;
12310 esac
12312 rm -f core conftest.err conftest.$ac_objext \
12313 conftest$ac_exeext conftest.$ac_ext
12314 LIBS=$ac_check_soname_save_LIBS
12316 if ${ac_cv_lib_soname_freetype:+false} :; then :
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12318 $as_echo "not found" >&6; }
12319 FREETYPE_LIBS=""
12320 else
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12322 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12324 cat >>confdefs.h <<_ACEOF
12325 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12326 _ACEOF
12329 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12331 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12332 #include FT_MODULE_H
12334 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12336 cat >>confdefs.h <<_ACEOF
12337 #define HAVE_FT_TRUETYPEENGINETYPE 1
12338 _ACEOF
12344 else
12345 FREETYPE_CFLAGS=""
12346 FREETYPE_LIBS=""
12348 CPPFLAGS=$ac_save_CPPFLAGS
12349 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12350 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12353 if test "x$ac_cv_lib_soname_freetype" = x; then :
12354 case "x$with_freetype" in
12355 xno) ;;
12356 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12357 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12358 esac
12360 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12363 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12364 if ${ac_cv_c_ppdev+:} false; then :
12365 $as_echo_n "(cached) " >&6
12366 else
12367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12368 /* end confdefs.h. */
12369 #ifdef HAVE_SYS_IOCTL_H
12370 # include <sys/ioctl.h>
12371 #endif
12372 #include <linux/ppdev.h>
12374 main ()
12376 ioctl (1,PPCLAIM,0)
12378 return 0;
12380 _ACEOF
12381 if ac_fn_c_try_compile "$LINENO"; then :
12382 ac_cv_c_ppdev="yes"
12383 else
12384 ac_cv_c_ppdev="no"
12386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12389 $as_echo "$ac_cv_c_ppdev" >&6; }
12390 if test "$ac_cv_c_ppdev" = "yes"
12391 then
12393 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12397 ac_wine_check_funcs_save_LIBS="$LIBS"
12398 LIBS="$LIBS $PTHREAD_LIBS"
12399 for ac_func in \
12400 pthread_attr_get_np \
12401 pthread_getattr_np \
12402 pthread_getthreadid_np \
12403 pthread_get_stackaddr_np \
12404 pthread_get_stacksize_np
12405 do :
12406 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12407 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12408 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12409 cat >>confdefs.h <<_ACEOF
12410 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12411 _ACEOF
12414 done
12416 LIBS="$ac_wine_check_funcs_save_LIBS"
12418 if test "$ac_cv_header_zlib_h" = "yes"
12419 then
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12421 $as_echo_n "checking for inflate in -lz... " >&6; }
12422 if ${ac_cv_lib_z_inflate+:} false; then :
12423 $as_echo_n "(cached) " >&6
12424 else
12425 ac_check_lib_save_LIBS=$LIBS
12426 LIBS="-lz $LIBS"
12427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12428 /* end confdefs.h. */
12430 /* Override any GCC internal prototype to avoid an error.
12431 Use char because int might match the return type of a GCC
12432 builtin and then its argument prototype would still apply. */
12433 #ifdef __cplusplus
12434 extern "C"
12435 #endif
12436 char inflate ();
12438 main ()
12440 return inflate ();
12442 return 0;
12444 _ACEOF
12445 if ac_fn_c_try_link "$LINENO"; then :
12446 ac_cv_lib_z_inflate=yes
12447 else
12448 ac_cv_lib_z_inflate=no
12450 rm -f core conftest.err conftest.$ac_objext \
12451 conftest$ac_exeext conftest.$ac_ext
12452 LIBS=$ac_check_lib_save_LIBS
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12455 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12456 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12458 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12460 Z_LIBS="-lz"
12465 if test "x$Z_LIBS" = "x"; then :
12466 case "x$with_zlib" in
12467 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12468 xno) ;;
12469 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12470 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12471 esac
12474 if test "x$enable_tools" != xno
12475 then
12476 if test "$ac_cv_header_gettext_po_h" = "yes"
12477 then
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12479 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12480 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12481 $as_echo_n "(cached) " >&6
12482 else
12483 ac_check_lib_save_LIBS=$LIBS
12484 LIBS="-lgettextpo $LIBS"
12485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12486 /* end confdefs.h. */
12488 /* Override any GCC internal prototype to avoid an error.
12489 Use char because int might match the return type of a GCC
12490 builtin and then its argument prototype would still apply. */
12491 #ifdef __cplusplus
12492 extern "C"
12493 #endif
12494 char po_message_msgctxt ();
12496 main ()
12498 return po_message_msgctxt ();
12500 return 0;
12502 _ACEOF
12503 if ac_fn_c_try_link "$LINENO"; then :
12504 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12505 else
12506 ac_cv_lib_gettextpo_po_message_msgctxt=no
12508 rm -f core conftest.err conftest.$ac_objext \
12509 conftest$ac_exeext conftest.$ac_ext
12510 LIBS=$ac_check_lib_save_LIBS
12512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12513 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12514 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12516 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12518 GETTEXTPO_LIBS="-lgettextpo"
12523 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12524 case "x$with_gettextpo" in
12525 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12526 xno) ;;
12527 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12528 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12529 esac
12533 if test "x$with_gstreamer" != "xno"
12534 then
12535 if ${GSTREAMER_CFLAGS:+false} :; then :
12536 if ${PKG_CONFIG+:} false; then :
12537 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12541 if ${GSTREAMER_LIBS:+false} :; then :
12542 if ${PKG_CONFIG+:} false; then :
12543 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12548 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12549 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12550 ac_save_CPPFLAGS=$CPPFLAGS
12551 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12552 ac_gst_incl=""
12553 for i in $GSTREAMER_CFLAGS
12555 case "$i" in
12556 -I*) ac_gst_incl="$ac_gst_incl $i";;
12557 esac
12558 done
12559 GSTREAMER_CFLAGS=$ac_gst_incl
12560 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12561 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12562 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12563 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12564 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12566 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12568 /* end confdefs.h. */
12569 #include <gst/app/gstappsink.h>
12571 main ()
12573 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12575 return 0;
12577 _ACEOF
12578 if ac_fn_c_try_compile "$LINENO"; then :
12579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12580 $as_echo "yes" >&6; }
12581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12582 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12583 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12584 $as_echo_n "(cached) " >&6
12585 else
12586 ac_check_lib_save_LIBS=$LIBS
12587 LIBS="-lgstreamer-0.10 $LIBS"
12588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12589 /* end confdefs.h. */
12591 /* Override any GCC internal prototype to avoid an error.
12592 Use char because int might match the return type of a GCC
12593 builtin and then its argument prototype would still apply. */
12594 #ifdef __cplusplus
12595 extern "C"
12596 #endif
12597 char gst_pad_get_caps_reffed ();
12599 main ()
12601 return gst_pad_get_caps_reffed ();
12603 return 0;
12605 _ACEOF
12606 if ac_fn_c_try_link "$LINENO"; then :
12607 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12608 else
12609 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12611 rm -f core conftest.err conftest.$ac_objext \
12612 conftest$ac_exeext conftest.$ac_ext
12613 LIBS=$ac_check_lib_save_LIBS
12615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12616 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12617 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12619 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12620 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12621 $as_echo_n "(cached) " >&6
12622 else
12623 ac_check_lib_save_LIBS=$LIBS
12624 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12626 /* end confdefs.h. */
12628 /* Override any GCC internal prototype to avoid an error.
12629 Use char because int might match the return type of a GCC
12630 builtin and then its argument prototype would still apply. */
12631 #ifdef __cplusplus
12632 extern "C"
12633 #endif
12634 char gst_app_buffer_new ();
12636 main ()
12638 return gst_app_buffer_new ();
12640 return 0;
12642 _ACEOF
12643 if ac_fn_c_try_link "$LINENO"; then :
12644 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12645 else
12646 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12648 rm -f core conftest.err conftest.$ac_objext \
12649 conftest$ac_exeext conftest.$ac_ext
12650 LIBS=$ac_check_lib_save_LIBS
12652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12653 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12654 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12660 else
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12662 $as_echo "no" >&6; }
12664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12668 else
12669 GSTREAMER_CFLAGS=""
12673 CPPFLAGS=$ac_save_CPPFLAGS
12674 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12675 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12678 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12679 case "x$with_gstreamer" in
12680 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12681 xno) ;;
12682 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12683 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12684 esac
12686 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12688 ALSA_LIBS=""
12690 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12691 then
12692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12693 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12694 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12695 $as_echo_n "(cached) " >&6
12696 else
12697 ac_check_lib_save_LIBS=$LIBS
12698 LIBS="-lasound $LIBS"
12699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12700 /* end confdefs.h. */
12702 /* Override any GCC internal prototype to avoid an error.
12703 Use char because int might match the return type of a GCC
12704 builtin and then its argument prototype would still apply. */
12705 #ifdef __cplusplus
12706 extern "C"
12707 #endif
12708 char snd_pcm_hw_params_get_access_mask ();
12710 main ()
12712 return snd_pcm_hw_params_get_access_mask ();
12714 return 0;
12716 _ACEOF
12717 if ac_fn_c_try_link "$LINENO"; then :
12718 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12719 else
12720 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12722 rm -f core conftest.err conftest.$ac_objext \
12723 conftest$ac_exeext conftest.$ac_ext
12724 LIBS=$ac_check_lib_save_LIBS
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12727 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12728 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12730 /* end confdefs.h. */
12731 #ifdef HAVE_ALSA_ASOUNDLIB_H
12732 #include <alsa/asoundlib.h>
12733 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12734 #include <sys/asoundlib.h>
12735 #endif
12737 main ()
12739 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12741 return 0;
12743 _ACEOF
12744 if ac_fn_c_try_compile "$LINENO"; then :
12745 ALSA_LIBS="-lasound"
12747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12752 if test "x$with_oss" != xno
12753 then
12754 ac_save_CPPFLAGS="$CPPFLAGS"
12755 if test -f /etc/oss.conf
12756 then
12757 . /etc/oss.conf
12759 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12760 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12761 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12762 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12763 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12765 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12767 cat >>confdefs.h <<_ACEOF
12768 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12769 _ACEOF
12771 OSS4_CFLAGS="$ac_oss_incl"
12778 CPPFLAGS="$ac_save_CPPFLAGS"
12779 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12780 then
12781 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12785 if test "x$with_capi" != "xno"
12786 then
12787 if ${CAPI20_CFLAGS:+false} :; then :
12788 if ${PKG_CONFIG+:} false; then :
12789 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12793 if ${CAPI20_LIBS:+false} :; then :
12794 if ${PKG_CONFIG+:} false; then :
12795 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12800 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12801 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12802 ac_save_CPPFLAGS=$CPPFLAGS
12803 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12804 for ac_header in capi20.h linux/capi.h
12805 do :
12806 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12807 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12809 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12810 cat >>confdefs.h <<_ACEOF
12811 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12812 _ACEOF
12816 done
12818 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12819 then
12820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12821 $as_echo_n "checking for -lcapi20... " >&6; }
12822 if ${ac_cv_lib_soname_capi20+:} false; then :
12823 $as_echo_n "(cached) " >&6
12824 else
12825 ac_check_soname_save_LIBS=$LIBS
12826 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12828 /* end confdefs.h. */
12830 /* Override any GCC internal prototype to avoid an error.
12831 Use char because int might match the return type of a GCC
12832 builtin and then its argument prototype would still apply. */
12833 #ifdef __cplusplus
12834 extern "C"
12835 #endif
12836 char capi20_register ();
12838 main ()
12840 return capi20_register ();
12842 return 0;
12844 _ACEOF
12845 if ac_fn_c_try_link "$LINENO"; then :
12846 case "$LIBEXT" in
12847 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12848 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'` ;;
12849 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12850 if ${ac_cv_lib_soname_capi20:+false} :; then :
12851 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12852 fi ;;
12853 esac
12855 rm -f core conftest.err conftest.$ac_objext \
12856 conftest$ac_exeext conftest.$ac_ext
12857 LIBS=$ac_check_soname_save_LIBS
12859 if ${ac_cv_lib_soname_capi20:+false} :; then :
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12861 $as_echo "not found" >&6; }
12863 else
12864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12865 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12867 cat >>confdefs.h <<_ACEOF
12868 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12869 _ACEOF
12874 CPPFLAGS=$ac_save_CPPFLAGS
12875 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12876 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12879 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12880 case "x$with_capi" in
12881 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12882 xno) ;;
12883 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12884 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12885 esac
12888 CUPS_CFLAGS=""
12890 if test "x$with_cups" != "xno"
12891 then
12892 ac_save_CPPFLAGS="$CPPFLAGS"
12893 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12894 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12895 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12896 for ac_header in cups/cups.h
12897 do :
12898 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12899 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12900 cat >>confdefs.h <<_ACEOF
12901 #define HAVE_CUPS_CUPS_H 1
12902 _ACEOF
12903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12904 $as_echo_n "checking for -lcups... " >&6; }
12905 if ${ac_cv_lib_soname_cups+:} false; then :
12906 $as_echo_n "(cached) " >&6
12907 else
12908 ac_check_soname_save_LIBS=$LIBS
12909 LIBS="-lcups $ac_cups_libs $LIBS"
12910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12911 /* end confdefs.h. */
12913 /* Override any GCC internal prototype to avoid an error.
12914 Use char because int might match the return type of a GCC
12915 builtin and then its argument prototype would still apply. */
12916 #ifdef __cplusplus
12917 extern "C"
12918 #endif
12919 char cupsGetDefault ();
12921 main ()
12923 return cupsGetDefault ();
12925 return 0;
12927 _ACEOF
12928 if ac_fn_c_try_link "$LINENO"; then :
12929 case "$LIBEXT" in
12930 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12931 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'` ;;
12932 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12933 if ${ac_cv_lib_soname_cups:+false} :; then :
12934 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12935 fi ;;
12936 esac
12938 rm -f core conftest.err conftest.$ac_objext \
12939 conftest$ac_exeext conftest.$ac_ext
12940 LIBS=$ac_check_soname_save_LIBS
12942 if ${ac_cv_lib_soname_cups:+false} :; then :
12943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12944 $as_echo "not found" >&6; }
12946 else
12947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12948 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12950 cat >>confdefs.h <<_ACEOF
12951 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12952 _ACEOF
12954 CUPS_CFLAGS="$ac_cups_cflags"
12958 done
12960 CPPFLAGS="$ac_save_CPPFLAGS"
12962 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12963 case "x$with_cups" in
12964 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12965 xno) ;;
12966 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12967 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12968 esac
12971 if test "x$with_fontconfig" != "xno"
12972 then
12973 if ${FONTCONFIG_CFLAGS:+false} :; then :
12974 if ${PKG_CONFIG+:} false; then :
12975 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12978 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12979 if ${FONTCONFIG_LIBS:+false} :; then :
12980 if ${PKG_CONFIG+:} false; then :
12981 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12984 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12986 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12987 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12988 ac_save_CPPFLAGS=$CPPFLAGS
12989 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12990 for ac_header in fontconfig/fontconfig.h
12991 do :
12992 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12993 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12994 cat >>confdefs.h <<_ACEOF
12995 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12996 _ACEOF
13000 done
13002 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13003 then
13004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13005 $as_echo_n "checking for -lfontconfig... " >&6; }
13006 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13007 $as_echo_n "(cached) " >&6
13008 else
13009 ac_check_soname_save_LIBS=$LIBS
13010 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13012 /* end confdefs.h. */
13014 /* Override any GCC internal prototype to avoid an error.
13015 Use char because int might match the return type of a GCC
13016 builtin and then its argument prototype would still apply. */
13017 #ifdef __cplusplus
13018 extern "C"
13019 #endif
13020 char FcInit ();
13022 main ()
13024 return FcInit ();
13026 return 0;
13028 _ACEOF
13029 if ac_fn_c_try_link "$LINENO"; then :
13030 case "$LIBEXT" in
13031 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13032 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'` ;;
13033 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13034 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13035 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13036 fi ;;
13037 esac
13039 rm -f core conftest.err conftest.$ac_objext \
13040 conftest$ac_exeext conftest.$ac_ext
13041 LIBS=$ac_check_soname_save_LIBS
13043 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13045 $as_echo "not found" >&6; }
13046 FONTCONFIG_CFLAGS=""
13047 else
13048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13049 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13051 cat >>confdefs.h <<_ACEOF
13052 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13053 _ACEOF
13057 else
13058 FONTCONFIG_CFLAGS=""
13060 CPPFLAGS=$ac_save_CPPFLAGS
13061 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13062 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13065 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13066 case "x$with_fontconfig" in
13067 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13068 xno) ;;
13069 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13070 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13071 esac
13074 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13075 then
13076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13077 $as_echo_n "checking for -lgsm... " >&6; }
13078 if ${ac_cv_lib_soname_gsm+:} false; then :
13079 $as_echo_n "(cached) " >&6
13080 else
13081 ac_check_soname_save_LIBS=$LIBS
13082 LIBS="-lgsm $LIBS"
13083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13084 /* end confdefs.h. */
13086 /* Override any GCC internal prototype to avoid an error.
13087 Use char because int might match the return type of a GCC
13088 builtin and then its argument prototype would still apply. */
13089 #ifdef __cplusplus
13090 extern "C"
13091 #endif
13092 char gsm_create ();
13094 main ()
13096 return gsm_create ();
13098 return 0;
13100 _ACEOF
13101 if ac_fn_c_try_link "$LINENO"; then :
13102 case "$LIBEXT" in
13103 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13104 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'` ;;
13105 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13106 if ${ac_cv_lib_soname_gsm:+false} :; then :
13107 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13108 fi ;;
13109 esac
13111 rm -f core conftest.err conftest.$ac_objext \
13112 conftest$ac_exeext conftest.$ac_ext
13113 LIBS=$ac_check_soname_save_LIBS
13115 if ${ac_cv_lib_soname_gsm:+false} :; then :
13116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13117 $as_echo "not found" >&6; }
13119 else
13120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13121 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13123 cat >>confdefs.h <<_ACEOF
13124 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13125 _ACEOF
13130 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13131 case "x$with_gsm" in
13132 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13133 xno) ;;
13134 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13135 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13136 esac
13139 if test "x$with_jpeg" != "xno"
13140 then
13141 if ${JPEG_CFLAGS:+false} :; then :
13142 if ${PKG_CONFIG+:} false; then :
13143 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13147 if ${JPEG_LIBS:+false} :; then :
13148 if ${PKG_CONFIG+:} false; then :
13149 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13154 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13155 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13156 ac_save_CPPFLAGS=$CPPFLAGS
13157 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13158 for ac_header in jpeglib.h
13159 do :
13160 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13161 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13162 cat >>confdefs.h <<_ACEOF
13163 #define HAVE_JPEGLIB_H 1
13164 _ACEOF
13168 done
13170 if test "$ac_cv_header_jpeglib_h" = "yes"
13171 then
13172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13173 $as_echo_n "checking for -ljpeg... " >&6; }
13174 if ${ac_cv_lib_soname_jpeg+:} false; then :
13175 $as_echo_n "(cached) " >&6
13176 else
13177 ac_check_soname_save_LIBS=$LIBS
13178 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13180 /* end confdefs.h. */
13182 /* Override any GCC internal prototype to avoid an error.
13183 Use char because int might match the return type of a GCC
13184 builtin and then its argument prototype would still apply. */
13185 #ifdef __cplusplus
13186 extern "C"
13187 #endif
13188 char jpeg_start_decompress ();
13190 main ()
13192 return jpeg_start_decompress ();
13194 return 0;
13196 _ACEOF
13197 if ac_fn_c_try_link "$LINENO"; then :
13198 case "$LIBEXT" in
13199 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13200 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'` ;;
13201 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13202 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13203 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13204 fi ;;
13205 esac
13207 rm -f core conftest.err conftest.$ac_objext \
13208 conftest$ac_exeext conftest.$ac_ext
13209 LIBS=$ac_check_soname_save_LIBS
13211 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13213 $as_echo "not found" >&6; }
13214 JPEG_CFLAGS=""
13215 else
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13217 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13219 cat >>confdefs.h <<_ACEOF
13220 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13221 _ACEOF
13225 else
13226 JPEG_CFLAGS=""
13228 CPPFLAGS=$ac_save_CPPFLAGS
13229 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13230 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13233 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13234 case "x$with_jpeg" in
13235 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13236 xno) ;;
13237 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13238 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13239 esac
13242 if test "x$with_png" != "xno"
13243 then
13244 if ${PNG_CFLAGS:+false} :; then :
13245 if ${PKG_CONFIG+:} false; then :
13246 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13249 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13250 if ${PNG_LIBS:+false} :; then :
13251 if ${PKG_CONFIG+:} false; then :
13252 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13255 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13257 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13258 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13259 ac_save_CPPFLAGS=$CPPFLAGS
13260 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13261 for ac_header in png.h
13262 do :
13263 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13264 if test "x$ac_cv_header_png_h" = xyes; then :
13265 cat >>confdefs.h <<_ACEOF
13266 #define HAVE_PNG_H 1
13267 _ACEOF
13271 done
13273 if test "$ac_cv_header_png_h" = "yes"
13274 then
13275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13276 $as_echo_n "checking for -lpng... " >&6; }
13277 if ${ac_cv_lib_soname_png+:} false; then :
13278 $as_echo_n "(cached) " >&6
13279 else
13280 ac_check_soname_save_LIBS=$LIBS
13281 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13283 /* end confdefs.h. */
13285 /* Override any GCC internal prototype to avoid an error.
13286 Use char because int might match the return type of a GCC
13287 builtin and then its argument prototype would still apply. */
13288 #ifdef __cplusplus
13289 extern "C"
13290 #endif
13291 char png_create_read_struct ();
13293 main ()
13295 return png_create_read_struct ();
13297 return 0;
13299 _ACEOF
13300 if ac_fn_c_try_link "$LINENO"; then :
13301 case "$LIBEXT" in
13302 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13303 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'` ;;
13304 *) 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'`
13305 if ${ac_cv_lib_soname_png:+false} :; then :
13306 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13307 fi ;;
13308 esac
13310 rm -f core conftest.err conftest.$ac_objext \
13311 conftest$ac_exeext conftest.$ac_ext
13312 LIBS=$ac_check_soname_save_LIBS
13314 if ${ac_cv_lib_soname_png:+false} :; then :
13315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13316 $as_echo "not found" >&6; }
13317 PNG_CFLAGS=""
13318 else
13319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13320 $as_echo "$ac_cv_lib_soname_png" >&6; }
13322 cat >>confdefs.h <<_ACEOF
13323 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13324 _ACEOF
13326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13327 /* end confdefs.h. */
13328 #include <png.h>
13330 main ()
13332 typeof(png_set_expand_gray_1_2_4_to_8) *p
13334 return 0;
13336 _ACEOF
13337 if ac_fn_c_try_compile "$LINENO"; then :
13339 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13344 else
13345 PNG_CFLAGS=""
13347 CPPFLAGS=$ac_save_CPPFLAGS
13348 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13349 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13352 if test "x$ac_cv_lib_soname_png" = "x"; then :
13353 case "x$with_png" in
13354 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13355 xno) ;;
13356 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13357 This is an error since --with-png was requested." "$LINENO" 5 ;;
13358 esac
13361 if test "x$with_tiff" != "xno"
13362 then
13363 if ${TIFF_CFLAGS:+false} :; then :
13364 if ${PKG_CONFIG+:} false; then :
13365 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13369 if ${TIFF_LIBS:+false} :; then :
13370 if ${PKG_CONFIG+:} false; then :
13371 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13376 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13377 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13378 ac_save_CPPFLAGS=$CPPFLAGS
13379 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13380 for ac_header in tiffio.h
13381 do :
13382 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13383 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13384 cat >>confdefs.h <<_ACEOF
13385 #define HAVE_TIFFIO_H 1
13386 _ACEOF
13390 done
13392 if test "$ac_cv_header_tiffio_h" = "yes"
13393 then
13394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13395 $as_echo_n "checking for -ltiff... " >&6; }
13396 if ${ac_cv_lib_soname_tiff+:} false; then :
13397 $as_echo_n "(cached) " >&6
13398 else
13399 ac_check_soname_save_LIBS=$LIBS
13400 LIBS="-ltiff $TIFF_LIBS $LIBS"
13401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13402 /* end confdefs.h. */
13404 /* Override any GCC internal prototype to avoid an error.
13405 Use char because int might match the return type of a GCC
13406 builtin and then its argument prototype would still apply. */
13407 #ifdef __cplusplus
13408 extern "C"
13409 #endif
13410 char TIFFClientOpen ();
13412 main ()
13414 return TIFFClientOpen ();
13416 return 0;
13418 _ACEOF
13419 if ac_fn_c_try_link "$LINENO"; then :
13420 case "$LIBEXT" in
13421 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13422 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'` ;;
13423 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13424 if ${ac_cv_lib_soname_tiff:+false} :; then :
13425 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13426 fi ;;
13427 esac
13429 rm -f core conftest.err conftest.$ac_objext \
13430 conftest$ac_exeext conftest.$ac_ext
13431 LIBS=$ac_check_soname_save_LIBS
13433 if ${ac_cv_lib_soname_tiff:+false} :; then :
13434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13435 $as_echo "not found" >&6; }
13437 else
13438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13439 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13441 cat >>confdefs.h <<_ACEOF
13442 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13443 _ACEOF
13448 CPPFLAGS=$ac_save_CPPFLAGS
13449 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13450 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13453 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13454 case "x$with_tiff" in
13455 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13456 xno) ;;
13457 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13458 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13459 esac
13462 if test "x$with_mpg123" != "xno"
13463 then
13464 if ${MPG123_CFLAGS:+false} :; then :
13465 if ${PKG_CONFIG+:} false; then :
13466 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13470 if ${MPG123_LIBS:+false} :; then :
13471 if ${PKG_CONFIG+:} false; then :
13472 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13476 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13477 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13478 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13479 ac_save_CPPFLAGS=$CPPFLAGS
13480 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13481 for ac_header in mpg123.h
13482 do :
13483 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13484 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13485 cat >>confdefs.h <<_ACEOF
13486 #define HAVE_MPG123_H 1
13487 _ACEOF
13491 done
13493 if test "$ac_cv_header_mpg123_h" = "yes"
13494 then
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13496 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13497 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13498 $as_echo_n "(cached) " >&6
13499 else
13500 ac_check_lib_save_LIBS=$LIBS
13501 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13503 /* end confdefs.h. */
13505 /* Override any GCC internal prototype to avoid an error.
13506 Use char because int might match the return type of a GCC
13507 builtin and then its argument prototype would still apply. */
13508 #ifdef __cplusplus
13509 extern "C"
13510 #endif
13511 char mpg123_feed ();
13513 main ()
13515 return mpg123_feed ();
13517 return 0;
13519 _ACEOF
13520 if ac_fn_c_try_link "$LINENO"; then :
13521 ac_cv_lib_mpg123_mpg123_feed=yes
13522 else
13523 ac_cv_lib_mpg123_mpg123_feed=no
13525 rm -f core conftest.err conftest.$ac_objext \
13526 conftest$ac_exeext conftest.$ac_ext
13527 LIBS=$ac_check_lib_save_LIBS
13529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13530 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13531 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13533 else
13534 MPG123_LIBS=""
13537 else
13538 MPG123_CFLAGS=""
13539 MPG123_LIBS=""
13541 CPPFLAGS=$ac_save_CPPFLAGS
13542 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13543 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13546 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13547 case "x$with_mpg123" in
13548 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13549 xno) ;;
13550 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13551 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13552 esac
13554 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}
13556 if test "$ac_cv_header_AL_al_h" = "yes"
13557 then
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13559 $as_echo_n "checking for -lopenal... " >&6; }
13560 if ${ac_cv_lib_soname_openal+:} false; then :
13561 $as_echo_n "(cached) " >&6
13562 else
13563 ac_check_soname_save_LIBS=$LIBS
13564 LIBS="-lopenal $LIBS"
13565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13566 /* end confdefs.h. */
13568 /* Override any GCC internal prototype to avoid an error.
13569 Use char because int might match the return type of a GCC
13570 builtin and then its argument prototype would still apply. */
13571 #ifdef __cplusplus
13572 extern "C"
13573 #endif
13574 char alGetSource3i ();
13576 main ()
13578 return alGetSource3i ();
13580 return 0;
13582 _ACEOF
13583 if ac_fn_c_try_link "$LINENO"; then :
13584 case "$LIBEXT" in
13585 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13586 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'` ;;
13587 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13588 if ${ac_cv_lib_soname_openal:+false} :; then :
13589 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13590 fi ;;
13591 esac
13593 rm -f core conftest.err conftest.$ac_objext \
13594 conftest$ac_exeext conftest.$ac_ext
13595 LIBS=$ac_check_soname_save_LIBS
13597 if ${ac_cv_lib_soname_openal:+false} :; then :
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13599 $as_echo "not found" >&6; }
13601 else
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13603 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13605 cat >>confdefs.h <<_ACEOF
13606 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13607 _ACEOF
13609 OPENAL_LIBS="-lopenal"
13611 ac_cv_lib_openal=yes
13613 cat >>confdefs.h <<_ACEOF
13614 #define HAVE_OPENAL 1
13615 _ACEOF
13619 if test "x$ac_cv_lib_openal" != xyes; then :
13620 case "x$with_openal" in
13621 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13622 xno) ;;
13623 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13624 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13625 esac
13627 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13629 if test "x$ac_cv_lib_openal" = xyes
13630 then
13631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13632 $as_echo_n "checking for openal-soft... " >&6; }
13633 if ${ac_cv_have_openalsoft+:} false; then :
13634 $as_echo_n "(cached) " >&6
13635 else
13636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13637 /* end confdefs.h. */
13638 #include <AL/alext.h>
13639 LPALCRENDERSAMPLESSOFT x;
13641 main ()
13645 return 0;
13647 _ACEOF
13648 if ac_fn_c_try_compile "$LINENO"; then :
13649 ac_cv_have_openalsoft=yes
13650 else
13651 ac_cv_have_openalsoft=no
13653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13656 $as_echo "$ac_cv_have_openalsoft" >&6; }
13658 if test "x$ac_cv_have_openalsoft" != xyes
13659 then
13660 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13661 enable_xaudio2_7=${enable_xaudio2_7:-no}
13664 if test "$ac_cv_header_kstat_h" = "yes"
13665 then
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13667 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13668 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13669 $as_echo_n "(cached) " >&6
13670 else
13671 ac_check_lib_save_LIBS=$LIBS
13672 LIBS="-lkstat $LIBS"
13673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13674 /* end confdefs.h. */
13676 /* Override any GCC internal prototype to avoid an error.
13677 Use char because int might match the return type of a GCC
13678 builtin and then its argument prototype would still apply. */
13679 #ifdef __cplusplus
13680 extern "C"
13681 #endif
13682 char kstat_open ();
13684 main ()
13686 return kstat_open ();
13688 return 0;
13690 _ACEOF
13691 if ac_fn_c_try_link "$LINENO"; then :
13692 ac_cv_lib_kstat_kstat_open=yes
13693 else
13694 ac_cv_lib_kstat_kstat_open=no
13696 rm -f core conftest.err conftest.$ac_objext \
13697 conftest$ac_exeext conftest.$ac_ext
13698 LIBS=$ac_check_lib_save_LIBS
13700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13701 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13702 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13704 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13706 KSTAT_LIBS="-lkstat"
13712 if test "$ac_cv_header_libprocstat_h" = "yes"
13713 then
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13715 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13716 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13717 $as_echo_n "(cached) " >&6
13718 else
13719 ac_check_lib_save_LIBS=$LIBS
13720 LIBS="-lprocstat $LIBS"
13721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13722 /* end confdefs.h. */
13724 /* Override any GCC internal prototype to avoid an error.
13725 Use char because int might match the return type of a GCC
13726 builtin and then its argument prototype would still apply. */
13727 #ifdef __cplusplus
13728 extern "C"
13729 #endif
13730 char procstat_open_sysctl ();
13732 main ()
13734 return procstat_open_sysctl ();
13736 return 0;
13738 _ACEOF
13739 if ac_fn_c_try_link "$LINENO"; then :
13740 ac_cv_lib_procstat_procstat_open_sysctl=yes
13741 else
13742 ac_cv_lib_procstat_procstat_open_sysctl=no
13744 rm -f core conftest.err conftest.$ac_objext \
13745 conftest$ac_exeext conftest.$ac_ext
13746 LIBS=$ac_check_lib_save_LIBS
13748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13749 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13750 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13752 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13754 PROCSTAT_LIBS="-lprocstat"
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13761 $as_echo_n "checking for -lodbc... " >&6; }
13762 if ${ac_cv_lib_soname_odbc+:} false; then :
13763 $as_echo_n "(cached) " >&6
13764 else
13765 ac_check_soname_save_LIBS=$LIBS
13766 LIBS="-lodbc $LIBS"
13767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13768 /* end confdefs.h. */
13770 /* Override any GCC internal prototype to avoid an error.
13771 Use char because int might match the return type of a GCC
13772 builtin and then its argument prototype would still apply. */
13773 #ifdef __cplusplus
13774 extern "C"
13775 #endif
13776 char SQLConnect ();
13778 main ()
13780 return SQLConnect ();
13782 return 0;
13784 _ACEOF
13785 if ac_fn_c_try_link "$LINENO"; then :
13786 case "$LIBEXT" in
13787 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13788 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'` ;;
13789 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13790 if ${ac_cv_lib_soname_odbc:+false} :; then :
13791 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13792 fi ;;
13793 esac
13795 rm -f core conftest.err conftest.$ac_objext \
13796 conftest$ac_exeext conftest.$ac_ext
13797 LIBS=$ac_check_soname_save_LIBS
13799 if ${ac_cv_lib_soname_odbc:+false} :; then :
13800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13801 $as_echo "not found" >&6; }
13802 cat >>confdefs.h <<_ACEOF
13803 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13804 _ACEOF
13806 else
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13808 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13810 cat >>confdefs.h <<_ACEOF
13811 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13812 _ACEOF
13817 if test "x$with_netapi" != "xno"
13818 then
13819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13820 $as_echo_n "checking for -lnetapi... " >&6; }
13821 if ${ac_cv_lib_soname_netapi+:} false; then :
13822 $as_echo_n "(cached) " >&6
13823 else
13824 ac_check_soname_save_LIBS=$LIBS
13825 LIBS="-lnetapi $LIBS"
13826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13827 /* end confdefs.h. */
13829 /* Override any GCC internal prototype to avoid an error.
13830 Use char because int might match the return type of a GCC
13831 builtin and then its argument prototype would still apply. */
13832 #ifdef __cplusplus
13833 extern "C"
13834 #endif
13835 char libnetapi_init ();
13837 main ()
13839 return libnetapi_init ();
13841 return 0;
13843 _ACEOF
13844 if ac_fn_c_try_link "$LINENO"; then :
13845 case "$LIBEXT" in
13846 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13847 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'` ;;
13848 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13849 if ${ac_cv_lib_soname_netapi:+false} :; then :
13850 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13851 fi ;;
13852 esac
13854 rm -f core conftest.err conftest.$ac_objext \
13855 conftest$ac_exeext conftest.$ac_ext
13856 LIBS=$ac_check_soname_save_LIBS
13858 if ${ac_cv_lib_soname_netapi:+false} :; then :
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13860 $as_echo "not found" >&6; }
13861 cat >>confdefs.h <<_ACEOF
13862 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13863 _ACEOF
13865 else
13866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13867 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13869 cat >>confdefs.h <<_ACEOF
13870 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13871 _ACEOF
13877 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13878 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13879 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13880 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13882 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13883 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13884 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13885 then
13886 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13890 EXTRACFLAGS=""
13892 if test "x${GCC}" = "xyes"
13893 then
13894 EXTRACFLAGS="-Wall -pipe"
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13897 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13898 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13899 $as_echo_n "(cached) " >&6
13900 else
13901 if test "$cross_compiling" = yes; then :
13902 ac_cv_c_gcc_strength_bug="no"
13903 else
13904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13905 /* end confdefs.h. */
13906 int L[4] = {0,1,2,3};
13908 main ()
13910 static int Array[3];
13911 unsigned int B = 3;
13912 int i;
13913 for(i=0; i<B; i++) Array[i] = i - 3;
13914 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13915 L[i] = 4;
13916 return (Array[1] != -2 || L[2] != 3)
13918 return 0;
13920 _ACEOF
13921 if ac_fn_c_try_run "$LINENO"; then :
13922 ac_cv_c_gcc_strength_bug="no"
13923 else
13924 ac_cv_c_gcc_strength_bug="yes"
13926 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13927 conftest.$ac_objext conftest.beam conftest.$ac_ext
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13932 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13933 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13934 then
13935 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13939 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13940 if ${ac_cv_cflags__fno_builtin+:} false; then :
13941 $as_echo_n "(cached) " >&6
13942 else
13943 ac_wine_try_cflags_saved=$CFLAGS
13944 CFLAGS="$CFLAGS -fno-builtin"
13945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13946 /* end confdefs.h. */
13947 int main(int argc, char **argv) { return 0; }
13948 _ACEOF
13949 if ac_fn_c_try_link "$LINENO"; then :
13950 ac_cv_cflags__fno_builtin=yes
13951 else
13952 ac_cv_cflags__fno_builtin=no
13954 rm -f core conftest.err conftest.$ac_objext \
13955 conftest$ac_exeext conftest.$ac_ext
13956 CFLAGS=$ac_wine_try_cflags_saved
13958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13959 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13960 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13961 BUILTINFLAG="-fno-builtin"
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13965 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13966 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13967 $as_echo_n "(cached) " >&6
13968 else
13969 ac_wine_try_cflags_saved=$CFLAGS
13970 CFLAGS="$CFLAGS -fno-strict-aliasing"
13971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13972 /* end confdefs.h. */
13973 int main(int argc, char **argv) { return 0; }
13974 _ACEOF
13975 if ac_fn_c_try_link "$LINENO"; then :
13976 ac_cv_cflags__fno_strict_aliasing=yes
13977 else
13978 ac_cv_cflags__fno_strict_aliasing=no
13980 rm -f core conftest.err conftest.$ac_objext \
13981 conftest$ac_exeext conftest.$ac_ext
13982 CFLAGS=$ac_wine_try_cflags_saved
13984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13985 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13986 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13987 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13989 saved_CFLAGS=$CFLAGS
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13991 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13992 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13993 $as_echo_n "(cached) " >&6
13994 else
13995 ac_wine_try_cflags_saved=$CFLAGS
13996 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13998 /* end confdefs.h. */
13999 int main(int argc, char **argv) { return 0; }
14000 _ACEOF
14001 if ac_fn_c_try_link "$LINENO"; then :
14002 ac_cv_cflags__Werror_unknown_warning_option=yes
14003 else
14004 ac_cv_cflags__Werror_unknown_warning_option=no
14006 rm -f core conftest.err conftest.$ac_objext \
14007 conftest$ac_exeext conftest.$ac_ext
14008 CFLAGS=$ac_wine_try_cflags_saved
14010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14011 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14012 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14013 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14016 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14017 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14018 $as_echo_n "(cached) " >&6
14019 else
14020 ac_wine_try_cflags_saved=$CFLAGS
14021 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14023 /* end confdefs.h. */
14024 int main(int argc, char **argv) { return 0; }
14025 _ACEOF
14026 if ac_fn_c_try_link "$LINENO"; then :
14027 ac_cv_cflags__Wdeclaration_after_statement=yes
14028 else
14029 ac_cv_cflags__Wdeclaration_after_statement=no
14031 rm -f core conftest.err conftest.$ac_objext \
14032 conftest$ac_exeext conftest.$ac_ext
14033 CFLAGS=$ac_wine_try_cflags_saved
14035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14036 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14037 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14038 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14041 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14042 if ${ac_cv_cflags__Wempty_body+:} false; then :
14043 $as_echo_n "(cached) " >&6
14044 else
14045 ac_wine_try_cflags_saved=$CFLAGS
14046 CFLAGS="$CFLAGS -Wempty-body"
14047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14048 /* end confdefs.h. */
14049 int main(int argc, char **argv) { return 0; }
14050 _ACEOF
14051 if ac_fn_c_try_link "$LINENO"; then :
14052 ac_cv_cflags__Wempty_body=yes
14053 else
14054 ac_cv_cflags__Wempty_body=no
14056 rm -f core conftest.err conftest.$ac_objext \
14057 conftest$ac_exeext conftest.$ac_ext
14058 CFLAGS=$ac_wine_try_cflags_saved
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14061 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14062 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14063 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14066 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14067 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14068 $as_echo_n "(cached) " >&6
14069 else
14070 ac_wine_try_cflags_saved=$CFLAGS
14071 CFLAGS="$CFLAGS -Wignored-qualifiers"
14072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14073 /* end confdefs.h. */
14074 int main(int argc, char **argv) { return 0; }
14075 _ACEOF
14076 if ac_fn_c_try_link "$LINENO"; then :
14077 ac_cv_cflags__Wignored_qualifiers=yes
14078 else
14079 ac_cv_cflags__Wignored_qualifiers=no
14081 rm -f core conftest.err conftest.$ac_objext \
14082 conftest$ac_exeext conftest.$ac_ext
14083 CFLAGS=$ac_wine_try_cflags_saved
14085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14086 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14087 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14088 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14091 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14092 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14093 $as_echo_n "(cached) " >&6
14094 else
14095 ac_wine_try_cflags_saved=$CFLAGS
14096 CFLAGS="$CFLAGS -Wstrict-prototypes"
14097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14098 /* end confdefs.h. */
14099 int main(int argc, char **argv) { return 0; }
14100 _ACEOF
14101 if ac_fn_c_try_link "$LINENO"; then :
14102 ac_cv_cflags__Wstrict_prototypes=yes
14103 else
14104 ac_cv_cflags__Wstrict_prototypes=no
14106 rm -f core conftest.err conftest.$ac_objext \
14107 conftest$ac_exeext conftest.$ac_ext
14108 CFLAGS=$ac_wine_try_cflags_saved
14110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14111 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14112 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14113 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14116 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14117 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14118 $as_echo_n "(cached) " >&6
14119 else
14120 ac_wine_try_cflags_saved=$CFLAGS
14121 CFLAGS="$CFLAGS -Wtype-limits"
14122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14123 /* end confdefs.h. */
14124 int main(int argc, char **argv) { return 0; }
14125 _ACEOF
14126 if ac_fn_c_try_link "$LINENO"; then :
14127 ac_cv_cflags__Wtype_limits=yes
14128 else
14129 ac_cv_cflags__Wtype_limits=no
14131 rm -f core conftest.err conftest.$ac_objext \
14132 conftest$ac_exeext conftest.$ac_ext
14133 CFLAGS=$ac_wine_try_cflags_saved
14135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14136 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14137 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14138 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14141 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14142 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14143 $as_echo_n "(cached) " >&6
14144 else
14145 ac_wine_try_cflags_saved=$CFLAGS
14146 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14148 /* end confdefs.h. */
14149 int main(int argc, char **argv) { return 0; }
14150 _ACEOF
14151 if ac_fn_c_try_link "$LINENO"; then :
14152 ac_cv_cflags__Wunused_but_set_parameter=yes
14153 else
14154 ac_cv_cflags__Wunused_but_set_parameter=no
14156 rm -f core conftest.err conftest.$ac_objext \
14157 conftest$ac_exeext conftest.$ac_ext
14158 CFLAGS=$ac_wine_try_cflags_saved
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14161 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14162 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14163 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14166 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14167 if ${ac_cv_cflags__Wvla+:} false; then :
14168 $as_echo_n "(cached) " >&6
14169 else
14170 ac_wine_try_cflags_saved=$CFLAGS
14171 CFLAGS="$CFLAGS -Wvla"
14172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14173 /* end confdefs.h. */
14174 int main(int argc, char **argv) { return 0; }
14175 _ACEOF
14176 if ac_fn_c_try_link "$LINENO"; then :
14177 ac_cv_cflags__Wvla=yes
14178 else
14179 ac_cv_cflags__Wvla=no
14181 rm -f core conftest.err conftest.$ac_objext \
14182 conftest$ac_exeext conftest.$ac_ext
14183 CFLAGS=$ac_wine_try_cflags_saved
14185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14186 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14187 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14188 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14191 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14192 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14193 $as_echo_n "(cached) " >&6
14194 else
14195 ac_wine_try_cflags_saved=$CFLAGS
14196 CFLAGS="$CFLAGS -Wwrite-strings"
14197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14198 /* end confdefs.h. */
14199 int main(int argc, char **argv) { return 0; }
14200 _ACEOF
14201 if ac_fn_c_try_link "$LINENO"; then :
14202 ac_cv_cflags__Wwrite_strings=yes
14203 else
14204 ac_cv_cflags__Wwrite_strings=no
14206 rm -f core conftest.err conftest.$ac_objext \
14207 conftest$ac_exeext conftest.$ac_ext
14208 CFLAGS=$ac_wine_try_cflags_saved
14210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14211 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14212 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14213 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14217 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14218 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14219 $as_echo_n "(cached) " >&6
14220 else
14221 ac_wine_try_cflags_saved=$CFLAGS
14222 CFLAGS="$CFLAGS -Wpointer-arith"
14223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14224 /* end confdefs.h. */
14225 int main(int argc, char **argv) { return 0; }
14226 _ACEOF
14227 if ac_fn_c_try_link "$LINENO"; then :
14228 ac_cv_cflags__Wpointer_arith=yes
14229 else
14230 ac_cv_cflags__Wpointer_arith=no
14232 rm -f core conftest.err conftest.$ac_objext \
14233 conftest$ac_exeext conftest.$ac_ext
14234 CFLAGS=$ac_wine_try_cflags_saved
14236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14237 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14238 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14239 saved_string_h_CFLAGS=$CFLAGS
14240 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14242 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14243 if ${ac_cv_c_string_h_warnings+:} false; then :
14244 $as_echo_n "(cached) " >&6
14245 else
14246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14247 /* end confdefs.h. */
14248 #include <string.h>
14250 main ()
14254 return 0;
14256 _ACEOF
14257 if ac_fn_c_try_compile "$LINENO"; then :
14258 ac_cv_c_string_h_warnings=no
14259 else
14260 ac_cv_c_string_h_warnings=yes
14262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14265 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14266 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14267 CFLAGS=$saved_string_h_CFLAGS
14270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14271 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14272 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14273 $as_echo_n "(cached) " >&6
14274 else
14275 ac_wine_try_cflags_saved=$CFLAGS
14276 CFLAGS="$CFLAGS -Wlogical-op"
14277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14278 /* end confdefs.h. */
14279 int main(int argc, char **argv) { return 0; }
14280 _ACEOF
14281 if ac_fn_c_try_link "$LINENO"; then :
14282 ac_cv_cflags__Wlogical_op=yes
14283 else
14284 ac_cv_cflags__Wlogical_op=no
14286 rm -f core conftest.err conftest.$ac_objext \
14287 conftest$ac_exeext conftest.$ac_ext
14288 CFLAGS=$ac_wine_try_cflags_saved
14290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14291 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14292 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14293 saved_string_h_CFLAGS=$CFLAGS
14294 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14296 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14297 if ${ac_cv_c_logicalop_noisy+:} false; then :
14298 $as_echo_n "(cached) " >&6
14299 else
14300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14301 /* end confdefs.h. */
14302 #include <string.h>
14303 char*f(const char *h,char n) {return strchr(h,n);}
14305 main ()
14309 return 0;
14311 _ACEOF
14312 if ac_fn_c_try_compile "$LINENO"; then :
14313 ac_cv_c_logicalop_noisy=no
14314 else
14315 ac_cv_c_logicalop_noisy=yes
14317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14320 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14321 CFLAGS=$saved_string_h_CFLAGS
14322 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14325 CFLAGS=$saved_CFLAGS
14327 for ac_flag in $CFLAGS; do
14328 case $ac_flag in
14329 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14330 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14331 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14332 $as_echo_n "(cached) " >&6
14333 else
14334 ac_wine_try_cflags_saved=$CFLAGS
14335 CFLAGS="$CFLAGS -gdwarf-2"
14336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14337 /* end confdefs.h. */
14338 int main(int argc, char **argv) { return 0; }
14339 _ACEOF
14340 if ac_fn_c_try_link "$LINENO"; then :
14341 ac_cv_cflags__gdwarf_2=yes
14342 else
14343 ac_cv_cflags__gdwarf_2=no
14345 rm -f core conftest.err conftest.$ac_objext \
14346 conftest$ac_exeext conftest.$ac_ext
14347 CFLAGS=$ac_wine_try_cflags_saved
14349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14350 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14351 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14352 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14355 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14356 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14357 $as_echo_n "(cached) " >&6
14358 else
14359 ac_wine_try_cflags_saved=$CFLAGS
14360 CFLAGS="$CFLAGS -gstrict-dwarf"
14361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14362 /* end confdefs.h. */
14363 int main(int argc, char **argv) { return 0; }
14364 _ACEOF
14365 if ac_fn_c_try_link "$LINENO"; then :
14366 ac_cv_cflags__gstrict_dwarf=yes
14367 else
14368 ac_cv_cflags__gstrict_dwarf=no
14370 rm -f core conftest.err conftest.$ac_objext \
14371 conftest$ac_exeext conftest.$ac_ext
14372 CFLAGS=$ac_wine_try_cflags_saved
14374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14375 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14376 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14377 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14378 fi ;;
14379 esac
14380 done
14382 case $host_cpu in
14383 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14384 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14385 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14386 $as_echo_n "(cached) " >&6
14387 else
14388 ac_wine_try_cflags_saved=$CFLAGS
14389 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14391 /* end confdefs.h. */
14392 int main(int argc, char **argv) { return 0; }
14393 _ACEOF
14394 if ac_fn_c_try_link "$LINENO"; then :
14395 ac_cv_cflags__fno_omit_frame_pointer=yes
14396 else
14397 ac_cv_cflags__fno_omit_frame_pointer=no
14399 rm -f core conftest.err conftest.$ac_objext \
14400 conftest$ac_exeext conftest.$ac_ext
14401 CFLAGS=$ac_wine_try_cflags_saved
14403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14404 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14405 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14406 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14407 fi ;;
14408 esac
14410 case $host in
14411 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14412 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14413 if ${ac_cv_cflags__Wno_format+:} false; then :
14414 $as_echo_n "(cached) " >&6
14415 else
14416 ac_wine_try_cflags_saved=$CFLAGS
14417 CFLAGS="$CFLAGS -Wno-format"
14418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14419 /* end confdefs.h. */
14420 int main(int argc, char **argv) { return 0; }
14421 _ACEOF
14422 if ac_fn_c_try_link "$LINENO"; then :
14423 ac_cv_cflags__Wno_format=yes
14424 else
14425 ac_cv_cflags__Wno_format=no
14427 rm -f core conftest.err conftest.$ac_objext \
14428 conftest$ac_exeext conftest.$ac_ext
14429 CFLAGS=$ac_wine_try_cflags_saved
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14432 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14433 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14434 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14435 fi ;;
14436 esac
14438 if test "x$enable_maintainer_mode" = "xyes"
14439 then
14440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14441 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14442 if ${ac_cv_cflags__Werror+:} false; then :
14443 $as_echo_n "(cached) " >&6
14444 else
14445 ac_wine_try_cflags_saved=$CFLAGS
14446 CFLAGS="$CFLAGS -Werror"
14447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14448 /* end confdefs.h. */
14449 int main(int argc, char **argv) { return 0; }
14450 _ACEOF
14451 if ac_fn_c_try_link "$LINENO"; then :
14452 ac_cv_cflags__Werror=yes
14453 else
14454 ac_cv_cflags__Werror=no
14456 rm -f core conftest.err conftest.$ac_objext \
14457 conftest$ac_exeext conftest.$ac_ext
14458 CFLAGS=$ac_wine_try_cflags_saved
14460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14461 $as_echo "$ac_cv_cflags__Werror" >&6; }
14462 if test "x$ac_cv_cflags__Werror" = xyes; then :
14463 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14467 saved_CFLAGS="$CFLAGS"
14468 CFLAGS="$CFLAGS -Werror"
14469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14470 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14471 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14472 $as_echo_n "(cached) " >&6
14473 else
14474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14475 /* end confdefs.h. */
14476 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14478 main ()
14482 return 0;
14484 _ACEOF
14485 if ac_fn_c_try_compile "$LINENO"; then :
14486 ac_cv_have_ms_hook_prologue="yes"
14487 else
14488 ac_cv_have_ms_hook_prologue="no"
14490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14493 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14494 CFLAGS="$saved_CFLAGS"
14495 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14496 then
14498 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14500 else
14501 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14508 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14509 if ${ac_cv_c_fortify_enabled+:} false; then :
14510 $as_echo_n "(cached) " >&6
14511 else
14512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14513 /* end confdefs.h. */
14514 #include <string.h>
14516 main ()
14518 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14519 #error Fortify enabled
14520 #endif
14522 return 0;
14524 _ACEOF
14525 if ac_fn_c_try_compile "$LINENO"; then :
14526 ac_cv_c_fortify_enabled=no
14527 else
14528 ac_cv_c_fortify_enabled=yes
14530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14533 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14534 if test "$ac_cv_c_fortify_enabled" = yes
14535 then
14536 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14541 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14542 if ${ac_cv_c_extern_prefix+:} false; then :
14543 $as_echo_n "(cached) " >&6
14544 else
14545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14546 /* end confdefs.h. */
14547 extern int ac_test;
14549 main ()
14551 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14553 return 0;
14555 _ACEOF
14556 if ac_fn_c_try_link "$LINENO"; then :
14557 ac_cv_c_extern_prefix="yes"
14558 else
14559 ac_cv_c_extern_prefix="no"
14561 rm -f core conftest.err conftest.$ac_objext \
14562 conftest$ac_exeext conftest.$ac_ext
14564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14565 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14567 case $host_cpu in
14568 *i[3456789]86*)
14569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14570 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14571 if ${ac_cv_c_stdcall_suffix+:} false; then :
14572 $as_echo_n "(cached) " >&6
14573 else
14574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14575 /* end confdefs.h. */
14576 #ifndef _MSC_VER
14577 #define __stdcall __attribute__((__stdcall__))
14578 #endif
14579 int __stdcall ac_test(int i) { return i; }
14581 main ()
14583 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14585 return 0;
14587 _ACEOF
14588 if ac_fn_c_try_link "$LINENO"; then :
14589 ac_cv_c_stdcall_suffix="yes"
14590 else
14591 ac_cv_c_stdcall_suffix="no"
14593 rm -f core conftest.err conftest.$ac_objext \
14594 conftest$ac_exeext conftest.$ac_ext
14596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14597 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14598 *) ac_cv_c_stdcall_suffix="no" ;;
14599 esac
14602 if test "$ac_cv_c_extern_prefix" = "yes"
14603 then
14604 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14606 asm_name_prefix="_"
14607 else
14608 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14610 asm_name_prefix=""
14614 if test "$ac_cv_c_stdcall_suffix" = "yes"
14615 then
14616 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14618 else
14619 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14625 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14626 if ${ac_cv_asm_func_def+:} false; then :
14627 $as_echo_n "(cached) " >&6
14628 else
14629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14630 /* end confdefs.h. */
14633 main ()
14635 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14637 return 0;
14639 _ACEOF
14640 if ac_fn_c_try_link "$LINENO"; then :
14641 ac_cv_asm_func_def=".def"
14642 else
14643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14644 /* end confdefs.h. */
14647 main ()
14649 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14651 return 0;
14653 _ACEOF
14654 if ac_fn_c_try_link "$LINENO"; then :
14655 ac_cv_asm_func_def=".type @function"
14656 else
14657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14658 /* end confdefs.h. */
14661 main ()
14663 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14665 return 0;
14667 _ACEOF
14668 if ac_fn_c_try_link "$LINENO"; then :
14669 ac_cv_asm_func_def=".type 2"
14670 else
14671 ac_cv_asm_func_def="unknown"
14673 rm -f core conftest.err conftest.$ac_objext \
14674 conftest$ac_exeext conftest.$ac_ext
14676 rm -f core conftest.err conftest.$ac_objext \
14677 conftest$ac_exeext conftest.$ac_ext
14679 rm -f core conftest.err conftest.$ac_objext \
14680 conftest$ac_exeext conftest.$ac_ext
14682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14683 $as_echo "$ac_cv_asm_func_def" >&6; }
14686 case "$ac_cv_asm_func_def" in
14687 ".def")
14688 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14690 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14691 ".type @function")
14692 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14694 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14695 ".type 2")
14696 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14698 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14700 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14702 asm_func_header="" ;;
14703 esac
14705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14706 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14707 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14708 $as_echo_n "(cached) " >&6
14709 else
14710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14711 /* end confdefs.h. */
14712 asm(".text\n\t.long 0");
14714 main ()
14718 return 0;
14720 _ACEOF
14721 if ac_fn_c_try_compile "$LINENO"; then :
14722 ac_cv_c_asm_outside_funcs="yes"
14723 else
14724 ac_cv_c_asm_outside_funcs="no"
14726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14729 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14732 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14733 if ${ac_cv_c_dot_previous+:} false; then :
14734 $as_echo_n "(cached) " >&6
14735 else
14736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14737 /* end confdefs.h. */
14740 main ()
14742 asm(".text\nac_test:\t.long 0\n\t.previous");
14744 return 0;
14746 _ACEOF
14747 if ac_fn_c_try_link "$LINENO"; then :
14748 ac_cv_c_dot_previous="yes"
14749 else
14750 ac_cv_c_dot_previous="no"
14752 rm -f core conftest.err conftest.$ac_objext \
14753 conftest$ac_exeext conftest.$ac_ext
14755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14756 $as_echo "$ac_cv_c_dot_previous" >&6; }
14758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14759 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14760 if ${ac_cv_c_cfi_support+:} false; then :
14761 $as_echo_n "(cached) " >&6
14762 else
14763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14764 /* end confdefs.h. */
14765 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14767 main ()
14771 return 0;
14773 _ACEOF
14774 if ac_fn_c_try_compile "$LINENO"; then :
14775 ac_cv_c_cfi_support="yes"
14776 else
14777 ac_cv_c_cfi_support="no"
14779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14782 $as_echo "$ac_cv_c_cfi_support" >&6; }
14784 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14785 asm_func_trailer=""
14786 if test "$ac_cv_c_dot_previous" = "yes"
14787 then
14788 asm_func_trailer="\\n\\t.previous"
14790 if test "$ac_cv_c_cfi_support" = "yes"
14791 then
14792 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14793 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14795 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14797 UNWINDFLAGS=-fasynchronous-unwind-tables
14799 else
14800 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14802 if test "x$enable_win64" = "xyes"
14803 then
14804 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
14808 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14811 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14812 then
14813 cat >>confdefs.h <<_ACEOF
14814 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14815 _ACEOF
14817 else
14818 cat >>confdefs.h <<_ACEOF
14819 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14820 _ACEOF
14824 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14827 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14831 case $build_os in
14832 cygwin*|mingw32*) TOOLSEXT=".exe"
14834 esac
14836 case $host_os in
14837 linux*)
14838 case $host_cpu in
14839 *i[3456789]86*|x86_64*)
14840 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14841 loader_programs="$loader_programs $wine_binary-preloader"
14842 as_fn_append LOADER_RULES "
14843 $wine_binary-preloader: preloader.o
14844 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14846 install install-lib:: $wine_binary-preloader
14847 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14849 uninstall::
14850 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14852 preloader_EXTRADEFS = $BUILTINFLAG
14853 " ;;
14854 esac
14856 esac
14857 as_fn_append LOADER_RULES "
14858 PROGRAMS = $loader_programs
14862 ac_save_CFLAGS="$CFLAGS"
14863 CFLAGS="$CFLAGS $BUILTINFLAG"
14864 for ac_func in \
14865 __res_get_state \
14866 __res_getservers \
14867 _finite \
14868 _isnan \
14869 _pclose \
14870 _popen \
14871 _snprintf \
14872 _spawnvp \
14873 _strdup \
14874 _stricmp \
14875 _strnicmp \
14876 _strtoi64 \
14877 _strtoui64 \
14878 _vsnprintf \
14879 asctime_r \
14880 chsize \
14881 dlopen \
14882 epoll_create \
14883 ffs \
14884 finitef \
14885 fnmatch \
14886 fork \
14887 fpclass \
14888 fstatfs \
14889 fstatvfs \
14890 ftruncate \
14891 futimens \
14892 futimes \
14893 futimesat \
14894 getattrlist \
14895 getdirentries \
14896 getopt_long_only \
14897 getpwuid \
14898 gettimeofday \
14899 getuid \
14900 if_nameindex \
14901 isnanf \
14902 kqueue \
14903 lstat \
14904 memmove \
14905 mmap \
14906 pclose \
14907 pipe2 \
14908 poll \
14909 popen \
14910 port_create \
14911 prctl \
14912 pread \
14913 proc_pidinfo \
14914 pwrite \
14915 readdir \
14916 readlink \
14917 sched_yield \
14918 select \
14919 setproctitle \
14920 setrlimit \
14921 settimeofday \
14922 sigaltstack \
14923 sigprocmask \
14924 snprintf \
14925 statfs \
14926 statvfs \
14927 strcasecmp \
14928 strdup \
14929 strerror \
14930 strncasecmp \
14931 strtold \
14932 strtoll \
14933 strtoull \
14934 symlink \
14935 tcdrain \
14936 thr_kill2 \
14937 timegm \
14938 usleep \
14939 vsnprintf
14941 do :
14942 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14943 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14944 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14945 cat >>confdefs.h <<_ACEOF
14946 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14947 _ACEOF
14950 done
14952 CFLAGS="$ac_save_CFLAGS"
14954 if test "$ac_cv_func_dlopen" = no
14955 then
14956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14957 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14958 if ${ac_cv_lib_dl_dlopen+:} false; then :
14959 $as_echo_n "(cached) " >&6
14960 else
14961 ac_check_lib_save_LIBS=$LIBS
14962 LIBS="-ldl $LIBS"
14963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14964 /* end confdefs.h. */
14966 /* Override any GCC internal prototype to avoid an error.
14967 Use char because int might match the return type of a GCC
14968 builtin and then its argument prototype would still apply. */
14969 #ifdef __cplusplus
14970 extern "C"
14971 #endif
14972 char dlopen ();
14974 main ()
14976 return dlopen ();
14978 return 0;
14980 _ACEOF
14981 if ac_fn_c_try_link "$LINENO"; then :
14982 ac_cv_lib_dl_dlopen=yes
14983 else
14984 ac_cv_lib_dl_dlopen=no
14986 rm -f core conftest.err conftest.$ac_objext \
14987 conftest$ac_exeext conftest.$ac_ext
14988 LIBS=$ac_check_lib_save_LIBS
14990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14991 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14992 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14993 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14994 DL_LIBS="-ldl"
14999 ac_wine_check_funcs_save_LIBS="$LIBS"
15000 LIBS="$LIBS $DL_LIBS"
15001 for ac_func in dladdr
15002 do :
15003 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15004 if test "x$ac_cv_func_dladdr" = xyes; then :
15005 cat >>confdefs.h <<_ACEOF
15006 #define HAVE_DLADDR 1
15007 _ACEOF
15010 done
15012 LIBS="$ac_wine_check_funcs_save_LIBS"
15014 if test "$ac_cv_func_poll" = no
15015 then
15016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15017 $as_echo_n "checking for poll in -lpoll... " >&6; }
15018 if ${ac_cv_lib_poll_poll+:} false; then :
15019 $as_echo_n "(cached) " >&6
15020 else
15021 ac_check_lib_save_LIBS=$LIBS
15022 LIBS="-lpoll $LIBS"
15023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15024 /* end confdefs.h. */
15026 /* Override any GCC internal prototype to avoid an error.
15027 Use char because int might match the return type of a GCC
15028 builtin and then its argument prototype would still apply. */
15029 #ifdef __cplusplus
15030 extern "C"
15031 #endif
15032 char poll ();
15034 main ()
15036 return poll ();
15038 return 0;
15040 _ACEOF
15041 if ac_fn_c_try_link "$LINENO"; then :
15042 ac_cv_lib_poll_poll=yes
15043 else
15044 ac_cv_lib_poll_poll=no
15046 rm -f core conftest.err conftest.$ac_objext \
15047 conftest$ac_exeext conftest.$ac_ext
15048 LIBS=$ac_check_lib_save_LIBS
15050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15051 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15052 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15053 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15054 POLL_LIBS="-lpoll"
15060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15061 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15062 if ${ac_cv_search_gethostbyname+:} false; then :
15063 $as_echo_n "(cached) " >&6
15064 else
15065 ac_func_search_save_LIBS=$LIBS
15066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15067 /* end confdefs.h. */
15069 /* Override any GCC internal prototype to avoid an error.
15070 Use char because int might match the return type of a GCC
15071 builtin and then its argument prototype would still apply. */
15072 #ifdef __cplusplus
15073 extern "C"
15074 #endif
15075 char gethostbyname ();
15077 main ()
15079 return gethostbyname ();
15081 return 0;
15083 _ACEOF
15084 for ac_lib in '' nsl; do
15085 if test -z "$ac_lib"; then
15086 ac_res="none required"
15087 else
15088 ac_res=-l$ac_lib
15089 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15091 if ac_fn_c_try_link "$LINENO"; then :
15092 ac_cv_search_gethostbyname=$ac_res
15094 rm -f core conftest.err conftest.$ac_objext \
15095 conftest$ac_exeext
15096 if ${ac_cv_search_gethostbyname+:} false; then :
15097 break
15099 done
15100 if ${ac_cv_search_gethostbyname+:} false; then :
15102 else
15103 ac_cv_search_gethostbyname=no
15105 rm conftest.$ac_ext
15106 LIBS=$ac_func_search_save_LIBS
15108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15109 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15110 ac_res=$ac_cv_search_gethostbyname
15111 if test "$ac_res" != no; then :
15112 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15118 $as_echo_n "checking for library containing connect... " >&6; }
15119 if ${ac_cv_search_connect+:} false; then :
15120 $as_echo_n "(cached) " >&6
15121 else
15122 ac_func_search_save_LIBS=$LIBS
15123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15124 /* end confdefs.h. */
15126 /* Override any GCC internal prototype to avoid an error.
15127 Use char because int might match the return type of a GCC
15128 builtin and then its argument prototype would still apply. */
15129 #ifdef __cplusplus
15130 extern "C"
15131 #endif
15132 char connect ();
15134 main ()
15136 return connect ();
15138 return 0;
15140 _ACEOF
15141 for ac_lib in '' socket; do
15142 if test -z "$ac_lib"; then
15143 ac_res="none required"
15144 else
15145 ac_res=-l$ac_lib
15146 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15148 if ac_fn_c_try_link "$LINENO"; then :
15149 ac_cv_search_connect=$ac_res
15151 rm -f core conftest.err conftest.$ac_objext \
15152 conftest$ac_exeext
15153 if ${ac_cv_search_connect+:} false; then :
15154 break
15156 done
15157 if ${ac_cv_search_connect+:} false; then :
15159 else
15160 ac_cv_search_connect=no
15162 rm conftest.$ac_ext
15163 LIBS=$ac_func_search_save_LIBS
15165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15166 $as_echo "$ac_cv_search_connect" >&6; }
15167 ac_res=$ac_cv_search_connect
15168 if test "$ac_res" != no; then :
15169 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15175 $as_echo_n "checking for library containing inet_aton... " >&6; }
15176 if ${ac_cv_search_inet_aton+:} false; then :
15177 $as_echo_n "(cached) " >&6
15178 else
15179 ac_func_search_save_LIBS=$LIBS
15180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15181 /* end confdefs.h. */
15183 /* Override any GCC internal prototype to avoid an error.
15184 Use char because int might match the return type of a GCC
15185 builtin and then its argument prototype would still apply. */
15186 #ifdef __cplusplus
15187 extern "C"
15188 #endif
15189 char inet_aton ();
15191 main ()
15193 return inet_aton ();
15195 return 0;
15197 _ACEOF
15198 for ac_lib in '' resolv; do
15199 if test -z "$ac_lib"; then
15200 ac_res="none required"
15201 else
15202 ac_res=-l$ac_lib
15203 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15205 if ac_fn_c_try_link "$LINENO"; then :
15206 ac_cv_search_inet_aton=$ac_res
15208 rm -f core conftest.err conftest.$ac_objext \
15209 conftest$ac_exeext
15210 if ${ac_cv_search_inet_aton+:} false; then :
15211 break
15213 done
15214 if ${ac_cv_search_inet_aton+:} false; then :
15216 else
15217 ac_cv_search_inet_aton=no
15219 rm conftest.$ac_ext
15220 LIBS=$ac_func_search_save_LIBS
15222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15223 $as_echo "$ac_cv_search_inet_aton" >&6; }
15224 ac_res=$ac_cv_search_inet_aton
15225 if test "$ac_res" != no; then :
15226 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15231 for ac_func in \
15232 getaddrinfo \
15233 getnameinfo \
15234 getnetbyname \
15235 getprotobyname \
15236 getprotobynumber \
15237 getservbyport \
15238 inet_addr \
15239 inet_network \
15240 inet_ntop \
15241 inet_pton \
15242 sendmsg \
15243 socketpair \
15245 do :
15246 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15247 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15248 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15249 cat >>confdefs.h <<_ACEOF
15250 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15251 _ACEOF
15254 done
15257 ac_save_LIBS=$LIBS
15258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15259 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15260 if ${ac_cv_search_clock_gettime+:} false; then :
15261 $as_echo_n "(cached) " >&6
15262 else
15263 ac_func_search_save_LIBS=$LIBS
15264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15265 /* end confdefs.h. */
15267 /* Override any GCC internal prototype to avoid an error.
15268 Use char because int might match the return type of a GCC
15269 builtin and then its argument prototype would still apply. */
15270 #ifdef __cplusplus
15271 extern "C"
15272 #endif
15273 char clock_gettime ();
15275 main ()
15277 return clock_gettime ();
15279 return 0;
15281 _ACEOF
15282 for ac_lib in '' rt; do
15283 if test -z "$ac_lib"; then
15284 ac_res="none required"
15285 else
15286 ac_res=-l$ac_lib
15287 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15289 if ac_fn_c_try_link "$LINENO"; then :
15290 ac_cv_search_clock_gettime=$ac_res
15292 rm -f core conftest.err conftest.$ac_objext \
15293 conftest$ac_exeext
15294 if ${ac_cv_search_clock_gettime+:} false; then :
15295 break
15297 done
15298 if ${ac_cv_search_clock_gettime+:} false; then :
15300 else
15301 ac_cv_search_clock_gettime=no
15303 rm conftest.$ac_ext
15304 LIBS=$ac_func_search_save_LIBS
15306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15307 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15308 ac_res=$ac_cv_search_clock_gettime
15309 if test "$ac_res" != no; then :
15310 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15312 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15314 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15318 LIBS=$ac_save_LIBS
15320 LDAP_LIBS=""
15322 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15323 then
15324 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15326 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15328 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15329 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15330 $as_echo_n "(cached) " >&6
15331 else
15332 ac_check_lib_save_LIBS=$LIBS
15333 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15335 /* end confdefs.h. */
15337 /* Override any GCC internal prototype to avoid an error.
15338 Use char because int might match the return type of a GCC
15339 builtin and then its argument prototype would still apply. */
15340 #ifdef __cplusplus
15341 extern "C"
15342 #endif
15343 char ldap_initialize ();
15345 main ()
15347 return ldap_initialize ();
15349 return 0;
15351 _ACEOF
15352 if ac_fn_c_try_link "$LINENO"; then :
15353 ac_cv_lib_ldap_r_ldap_initialize=yes
15354 else
15355 ac_cv_lib_ldap_r_ldap_initialize=no
15357 rm -f core conftest.err conftest.$ac_objext \
15358 conftest$ac_exeext conftest.$ac_ext
15359 LIBS=$ac_check_lib_save_LIBS
15361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15362 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15363 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15365 $as_echo_n "checking for ber_init in -llber... " >&6; }
15366 if ${ac_cv_lib_lber_ber_init+:} false; then :
15367 $as_echo_n "(cached) " >&6
15368 else
15369 ac_check_lib_save_LIBS=$LIBS
15370 LIBS="-llber $PTHREAD_LIBS $LIBS"
15371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15372 /* end confdefs.h. */
15374 /* Override any GCC internal prototype to avoid an error.
15375 Use char because int might match the return type of a GCC
15376 builtin and then its argument prototype would still apply. */
15377 #ifdef __cplusplus
15378 extern "C"
15379 #endif
15380 char ber_init ();
15382 main ()
15384 return ber_init ();
15386 return 0;
15388 _ACEOF
15389 if ac_fn_c_try_link "$LINENO"; then :
15390 ac_cv_lib_lber_ber_init=yes
15391 else
15392 ac_cv_lib_lber_ber_init=no
15394 rm -f core conftest.err conftest.$ac_objext \
15395 conftest$ac_exeext conftest.$ac_ext
15396 LIBS=$ac_check_lib_save_LIBS
15398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15399 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15400 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15402 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15404 LDAP_LIBS="-lldap_r -llber"
15411 ac_wine_check_funcs_save_LIBS="$LIBS"
15412 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15413 for ac_func in \
15414 ldap_count_references \
15415 ldap_first_reference \
15416 ldap_next_reference \
15417 ldap_parse_reference \
15418 ldap_parse_sort_control \
15419 ldap_parse_sortresponse_control \
15420 ldap_parse_vlv_control \
15421 ldap_parse_vlvresponse_control
15422 do :
15423 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15424 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15425 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15426 cat >>confdefs.h <<_ACEOF
15427 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15428 _ACEOF
15431 done
15433 LIBS="$ac_wine_check_funcs_save_LIBS"
15435 if test "x$LDAP_LIBS" = "x"; then :
15436 case "x$with_ldap" in
15437 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15438 xno) ;;
15439 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15440 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15441 esac
15444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15445 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15446 if ${wine_cv_one_arg_mkdir+:} false; then :
15447 $as_echo_n "(cached) " >&6
15448 else
15449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15450 /* end confdefs.h. */
15451 #include <sys/stat.h>
15453 main ()
15455 mkdir("foo");
15457 return 0;
15459 _ACEOF
15460 if ac_fn_c_try_compile "$LINENO"; then :
15461 wine_cv_one_arg_mkdir=yes
15462 else
15463 wine_cv_one_arg_mkdir=no
15465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15468 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15469 if test "$wine_cv_one_arg_mkdir" = "yes"
15470 then
15472 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15477 $as_echo_n "checking for sched_setaffinity... " >&6; }
15478 if ${wine_cv_have_sched_setaffinity+:} false; then :
15479 $as_echo_n "(cached) " >&6
15480 else
15481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15482 /* end confdefs.h. */
15483 #define _GNU_SOURCE
15484 #include <sched.h>
15486 main ()
15488 sched_setaffinity(0, 0, 0);
15490 return 0;
15492 _ACEOF
15493 if ac_fn_c_try_link "$LINENO"; then :
15494 wine_cv_have_sched_setaffinity=yes
15495 else
15496 wine_cv_have_sched_setaffinity=no
15498 rm -f core conftest.err conftest.$ac_objext \
15499 conftest$ac_exeext conftest.$ac_ext
15501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15502 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15503 if test "$wine_cv_have_sched_setaffinity" = "yes"
15504 then
15506 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15511 $as_echo_n "checking for fallocate... " >&6; }
15512 if ${wine_cv_have_fallocate+:} false; then :
15513 $as_echo_n "(cached) " >&6
15514 else
15515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15516 /* end confdefs.h. */
15517 #define _GNU_SOURCE
15518 #include <fcntl.h>
15520 main ()
15522 fallocate(-1, 0, 0, 0);
15524 return 0;
15526 _ACEOF
15527 if ac_fn_c_try_link "$LINENO"; then :
15528 wine_cv_have_fallocate=yes
15529 else
15530 wine_cv_have_fallocate=no
15532 rm -f core conftest.err conftest.$ac_objext \
15533 conftest$ac_exeext conftest.$ac_ext
15535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15536 $as_echo "$wine_cv_have_fallocate" >&6; }
15537 if test "$wine_cv_have_fallocate" = "yes"
15538 then
15540 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15546 $as_echo_n "checking for inline... " >&6; }
15547 if ${ac_cv_c_inline+:} false; then :
15548 $as_echo_n "(cached) " >&6
15549 else
15550 ac_cv_c_inline=no
15551 for ac_kw in inline __inline__ __inline; do
15552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15553 /* end confdefs.h. */
15554 #ifndef __cplusplus
15555 typedef int foo_t;
15556 static $ac_kw foo_t static_foo () {return 0; }
15557 $ac_kw foo_t foo () {return 0; }
15558 #endif
15560 _ACEOF
15561 if ac_fn_c_try_compile "$LINENO"; then :
15562 ac_cv_c_inline=$ac_kw
15564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15565 test "$ac_cv_c_inline" != no && break
15566 done
15569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15570 $as_echo "$ac_cv_c_inline" >&6; }
15572 case $ac_cv_c_inline in
15573 inline | yes) ;;
15575 case $ac_cv_c_inline in
15576 no) ac_val=;;
15577 *) ac_val=$ac_cv_c_inline;;
15578 esac
15579 cat >>confdefs.h <<_ACEOF
15580 #ifndef __cplusplus
15581 #define inline $ac_val
15582 #endif
15583 _ACEOF
15585 esac
15587 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15588 if test "x$ac_cv_type_mode_t" = xyes; then :
15590 cat >>confdefs.h <<_ACEOF
15591 #define HAVE_MODE_T 1
15592 _ACEOF
15596 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15597 if test "x$ac_cv_type_off_t" = xyes; then :
15599 cat >>confdefs.h <<_ACEOF
15600 #define HAVE_OFF_T 1
15601 _ACEOF
15605 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15606 if test "x$ac_cv_type_pid_t" = xyes; then :
15608 cat >>confdefs.h <<_ACEOF
15609 #define HAVE_PID_T 1
15610 _ACEOF
15614 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15615 if test "x$ac_cv_type_size_t" = xyes; then :
15617 cat >>confdefs.h <<_ACEOF
15618 #define HAVE_SIZE_T 1
15619 _ACEOF
15623 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15624 if test "x$ac_cv_type_ssize_t" = xyes; then :
15626 cat >>confdefs.h <<_ACEOF
15627 #define HAVE_SSIZE_T 1
15628 _ACEOF
15632 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15633 if test "x$ac_cv_type_long_long" = xyes; then :
15635 cat >>confdefs.h <<_ACEOF
15636 #define HAVE_LONG_LONG 1
15637 _ACEOF
15641 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15642 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15644 cat >>confdefs.h <<_ACEOF
15645 #define HAVE_FSBLKCNT_T 1
15646 _ACEOF
15650 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15651 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15653 cat >>confdefs.h <<_ACEOF
15654 #define HAVE_FSFILCNT_T 1
15655 _ACEOF
15660 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15661 #include <signal.h>
15663 if test "x$ac_cv_type_sigset_t" = xyes; then :
15665 cat >>confdefs.h <<_ACEOF
15666 #define HAVE_SIGSET_T 1
15667 _ACEOF
15672 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15674 if test "x$ac_cv_type_request_sense" = xyes; then :
15676 cat >>confdefs.h <<_ACEOF
15677 #define HAVE_REQUEST_SENSE 1
15678 _ACEOF
15684 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15685 #ifdef HAVE_SYS_SOCKET_H
15686 #include <sys/socket.h>
15687 #endif
15688 #ifdef HAVE_SYS_SOCKETVAR_H
15689 #include <sys/socketvar.h>
15690 #endif
15691 #ifdef HAVE_NET_ROUTE_H
15692 #include <net/route.h>
15693 #endif
15694 #ifdef HAVE_NETINET_IN_H
15695 #include <netinet/in.h>
15696 #endif
15697 #ifdef HAVE_NETINET_IN_SYSTM_H
15698 #include <netinet/in_systm.h>
15699 #endif
15700 #ifdef HAVE_NETINET_IP_H
15701 #include <netinet/ip.h>
15702 #endif
15703 #ifdef HAVE_NETINET_IN_PCB_H
15704 #include <netinet/in_pcb.h>
15705 #endif
15707 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15709 cat >>confdefs.h <<_ACEOF
15710 #define HAVE_STRUCT_XINPGEN 1
15711 _ACEOF
15717 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15718 #include <link.h>
15719 #endif
15720 #ifdef HAVE_SYS_LINK_H
15721 #include <sys/link.h>
15722 #endif
15724 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15726 cat >>confdefs.h <<_ACEOF
15727 #define HAVE_STRUCT_R_DEBUG 1
15728 _ACEOF
15732 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15733 #include <link.h>
15734 #endif
15735 #ifdef HAVE_SYS_LINK_H
15736 #include <sys/link.h>
15737 #endif
15739 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15741 cat >>confdefs.h <<_ACEOF
15742 #define HAVE_STRUCT_LINK_MAP 1
15743 _ACEOF
15749 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15750 #include <linux/input.h>
15751 #endif
15753 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15755 cat >>confdefs.h <<_ACEOF
15756 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15757 _ACEOF
15763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15764 $as_echo_n "checking for sigaddset... " >&6; }
15765 if ${wine_cv_have_sigaddset+:} false; then :
15766 $as_echo_n "(cached) " >&6
15767 else
15768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15769 /* end confdefs.h. */
15770 #include <signal.h>
15772 main ()
15774 sigset_t set; sigaddset(&set,SIGTERM);
15776 return 0;
15778 _ACEOF
15779 if ac_fn_c_try_link "$LINENO"; then :
15780 wine_cv_have_sigaddset=yes
15781 else
15782 wine_cv_have_sigaddset=no
15784 rm -f core conftest.err conftest.$ac_objext \
15785 conftest$ac_exeext conftest.$ac_ext
15787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15788 $as_echo "$wine_cv_have_sigaddset" >&6; }
15789 if test "$wine_cv_have_sigaddset" = "yes"
15790 then
15792 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15798 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15799 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15800 $as_echo_n "(cached) " >&6
15801 else
15802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15803 /* end confdefs.h. */
15804 #include <netdb.h>
15806 main ()
15809 char *name=0;
15810 struct hostent he;
15811 struct hostent *result;
15812 char *buf=0;
15813 int bufsize=0;
15814 int errnr;
15815 char *addr=0;
15816 int addrlen=0;
15817 int addrtype=0;
15818 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15819 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15822 return 0;
15824 _ACEOF
15825 if ac_fn_c_try_link "$LINENO"; then :
15826 wine_cv_linux_gethostbyname_r_6=yes
15827 else
15828 wine_cv_linux_gethostbyname_r_6=no
15831 rm -f core conftest.err conftest.$ac_objext \
15832 conftest$ac_exeext conftest.$ac_ext
15835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15836 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15837 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15838 then
15840 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15844 if test "$ac_cv_header_linux_joystick_h" = "yes"
15845 then
15846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15847 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15848 if ${wine_cv_linux_joystick_22_api+:} false; then :
15849 $as_echo_n "(cached) " >&6
15850 else
15851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15852 /* end confdefs.h. */
15854 #include <sys/ioctl.h>
15855 #include <sys/types.h>
15856 #include <linux/joystick.h>
15858 struct js_event blub;
15859 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15860 #error "no 2.2 header"
15861 #endif
15864 main ()
15866 /*empty*/
15868 return 0;
15870 _ACEOF
15871 if ac_fn_c_try_compile "$LINENO"; then :
15872 wine_cv_linux_joystick_22_api=yes
15873 else
15874 wine_cv_linux_joystick_22_api=no
15876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15880 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15881 if test "$wine_cv_linux_joystick_22_api" = "yes"
15882 then
15884 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15890 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15891 #ifdef HAVE_SYS_PARAM_H
15892 # include <sys/param.h>
15893 #endif
15894 #ifdef HAVE_SYS_MOUNT_H
15895 # include <sys/mount.h>
15896 #endif
15897 #ifdef HAVE_SYS_VFS_H
15898 # include <sys/vfs.h>
15899 #endif
15900 #ifdef HAVE_SYS_STATFS_H
15901 # include <sys/statfs.h>
15902 #endif
15904 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15906 cat >>confdefs.h <<_ACEOF
15907 #define HAVE_STRUCT_STATFS_F_BFREE 1
15908 _ACEOF
15912 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15913 #ifdef HAVE_SYS_PARAM_H
15914 # include <sys/param.h>
15915 #endif
15916 #ifdef HAVE_SYS_MOUNT_H
15917 # include <sys/mount.h>
15918 #endif
15919 #ifdef HAVE_SYS_VFS_H
15920 # include <sys/vfs.h>
15921 #endif
15922 #ifdef HAVE_SYS_STATFS_H
15923 # include <sys/statfs.h>
15924 #endif
15926 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15928 cat >>confdefs.h <<_ACEOF
15929 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15930 _ACEOF
15934 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15935 #ifdef HAVE_SYS_PARAM_H
15936 # include <sys/param.h>
15937 #endif
15938 #ifdef HAVE_SYS_MOUNT_H
15939 # include <sys/mount.h>
15940 #endif
15941 #ifdef HAVE_SYS_VFS_H
15942 # include <sys/vfs.h>
15943 #endif
15944 #ifdef HAVE_SYS_STATFS_H
15945 # include <sys/statfs.h>
15946 #endif
15948 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15950 cat >>confdefs.h <<_ACEOF
15951 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15952 _ACEOF
15956 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15957 #ifdef HAVE_SYS_PARAM_H
15958 # include <sys/param.h>
15959 #endif
15960 #ifdef HAVE_SYS_MOUNT_H
15961 # include <sys/mount.h>
15962 #endif
15963 #ifdef HAVE_SYS_VFS_H
15964 # include <sys/vfs.h>
15965 #endif
15966 #ifdef HAVE_SYS_STATFS_H
15967 # include <sys/statfs.h>
15968 #endif
15970 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15972 cat >>confdefs.h <<_ACEOF
15973 #define HAVE_STRUCT_STATFS_F_FFREE 1
15974 _ACEOF
15978 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15979 #ifdef HAVE_SYS_PARAM_H
15980 # include <sys/param.h>
15981 #endif
15982 #ifdef HAVE_SYS_MOUNT_H
15983 # include <sys/mount.h>
15984 #endif
15985 #ifdef HAVE_SYS_VFS_H
15986 # include <sys/vfs.h>
15987 #endif
15988 #ifdef HAVE_SYS_STATFS_H
15989 # include <sys/statfs.h>
15990 #endif
15992 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15994 cat >>confdefs.h <<_ACEOF
15995 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15996 _ACEOF
16000 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16001 #ifdef HAVE_SYS_PARAM_H
16002 # include <sys/param.h>
16003 #endif
16004 #ifdef HAVE_SYS_MOUNT_H
16005 # include <sys/mount.h>
16006 #endif
16007 #ifdef HAVE_SYS_VFS_H
16008 # include <sys/vfs.h>
16009 #endif
16010 #ifdef HAVE_SYS_STATFS_H
16011 # include <sys/statfs.h>
16012 #endif
16014 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16016 cat >>confdefs.h <<_ACEOF
16017 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16018 _ACEOF
16024 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16025 #include <sys/statvfs.h>
16026 #endif
16028 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16030 cat >>confdefs.h <<_ACEOF
16031 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16032 _ACEOF
16038 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16039 #include <dirent.h>
16040 #endif
16042 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16044 cat >>confdefs.h <<_ACEOF
16045 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16046 _ACEOF
16052 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16053 #ifdef HAVE_SYS_SOCKET_H
16054 # include <sys/socket.h>
16055 #endif
16056 #ifdef HAVE_SYS_UN_H
16057 # include <sys/un.h>
16058 #endif
16060 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16062 cat >>confdefs.h <<_ACEOF
16063 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16064 _ACEOF
16068 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16069 #ifdef HAVE_SYS_SOCKET_H
16070 # include <sys/socket.h>
16071 #endif
16072 #ifdef HAVE_SYS_UN_H
16073 # include <sys/un.h>
16074 #endif
16076 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16078 cat >>confdefs.h <<_ACEOF
16079 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16080 _ACEOF
16084 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16085 #ifdef HAVE_SYS_SOCKET_H
16086 # include <sys/socket.h>
16087 #endif
16088 #ifdef HAVE_SYS_UN_H
16089 # include <sys/un.h>
16090 #endif
16092 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16094 cat >>confdefs.h <<_ACEOF
16095 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16096 _ACEOF
16102 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16103 #ifdef HAVE_SCSI_SG_H
16104 #include <scsi/sg.h>
16105 #endif
16107 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16109 cat >>confdefs.h <<_ACEOF
16110 #define HAVE_SCSIREQ_T_CMD 1
16111 _ACEOF
16115 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>
16116 #ifdef HAVE_SCSI_SG_H
16117 #include <scsi/sg.h>
16118 #endif
16120 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16122 cat >>confdefs.h <<_ACEOF
16123 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16124 _ACEOF
16130 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16132 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16134 cat >>confdefs.h <<_ACEOF
16135 #define HAVE_SIGINFO_T_SI_FD 1
16136 _ACEOF
16142 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16143 #ifdef HAVE_SYS_MTIO_H
16144 #include <sys/mtio.h>
16145 #endif
16147 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16149 cat >>confdefs.h <<_ACEOF
16150 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16151 _ACEOF
16155 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16156 #ifdef HAVE_SYS_MTIO_H
16157 #include <sys/mtio.h>
16158 #endif
16160 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16162 cat >>confdefs.h <<_ACEOF
16163 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16164 _ACEOF
16168 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16169 #ifdef HAVE_SYS_MTIO_H
16170 #include <sys/mtio.h>
16171 #endif
16173 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16175 cat >>confdefs.h <<_ACEOF
16176 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16177 _ACEOF
16183 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16184 #include <getopt.h>
16185 #endif
16187 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16189 cat >>confdefs.h <<_ACEOF
16190 #define HAVE_STRUCT_OPTION_NAME 1
16191 _ACEOF
16197 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16198 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16200 cat >>confdefs.h <<_ACEOF
16201 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16202 _ACEOF
16206 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16207 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16209 cat >>confdefs.h <<_ACEOF
16210 #define HAVE_STRUCT_STAT_ST_MTIM 1
16211 _ACEOF
16215 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16216 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16218 cat >>confdefs.h <<_ACEOF
16219 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16220 _ACEOF
16224 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16225 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16227 cat >>confdefs.h <<_ACEOF
16228 #define HAVE_STRUCT_STAT_ST_CTIM 1
16229 _ACEOF
16233 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16234 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16236 cat >>confdefs.h <<_ACEOF
16237 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16238 _ACEOF
16242 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16243 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16245 cat >>confdefs.h <<_ACEOF
16246 #define HAVE_STRUCT_STAT_ST_ATIM 1
16247 _ACEOF
16251 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16252 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16254 cat >>confdefs.h <<_ACEOF
16255 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16256 _ACEOF
16260 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16261 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16263 cat >>confdefs.h <<_ACEOF
16264 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16265 _ACEOF
16269 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16270 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16272 cat >>confdefs.h <<_ACEOF
16273 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16274 _ACEOF
16278 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16279 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16281 cat >>confdefs.h <<_ACEOF
16282 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16283 _ACEOF
16287 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16288 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16290 cat >>confdefs.h <<_ACEOF
16291 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16292 _ACEOF
16296 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16297 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16299 cat >>confdefs.h <<_ACEOF
16300 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16301 _ACEOF
16307 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
16308 #include <sys/types.h>
16309 #endif
16310 #ifdef HAVE_NETINET_IN_H
16311 #include <netinet/in.h>
16312 #endif
16314 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16316 cat >>confdefs.h <<_ACEOF
16317 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16318 _ACEOF
16324 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16325 #include <resolv.h>
16326 #endif
16328 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16330 cat >>confdefs.h <<_ACEOF
16331 #define HAVE_STRUCT___RES_STATE 1
16332 _ACEOF
16338 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
16339 #include <resolv.h>
16340 #endif
16342 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16344 cat >>confdefs.h <<_ACEOF
16345 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16346 _ACEOF
16352 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16353 #include <sys/types.h>
16354 #endif
16355 #ifdef HAVE_NETINET_IN_H
16356 # include <netinet/in.h>
16357 #endif
16358 #ifdef HAVE_ARPA_NAMESER_H
16359 # include <arpa/nameser.h>
16360 #endif
16362 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16364 cat >>confdefs.h <<_ACEOF
16365 #define HAVE_NS_MSG__MSG_PTR 1
16366 _ACEOF
16372 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16373 #include <sys/types.h>
16374 #endif
16375 #ifdef HAVE_NETINET_IP_H
16376 #include <netinet/ip.h>
16377 #endif
16378 #ifdef HAVE_NETINET_IP_ICMP_H
16379 #include <netinet/ip_icmp.h>
16380 #endif
16381 #ifdef HAVE_NETINET_ICMP_VAR_H
16382 #include <netinet/icmp_var.h>
16383 #endif
16385 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16387 cat >>confdefs.h <<_ACEOF
16388 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16389 _ACEOF
16395 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16396 #include <sys/types.h>
16397 #endif
16398 #ifdef HAVE_ALIAS_H
16399 #include <alias.h>
16400 #endif
16401 #ifdef HAVE_SYS_SOCKET_H
16402 #include <sys/socket.h>
16403 #endif
16404 #ifdef HAVE_SYS_SOCKETVAR_H
16405 #include <sys/socketvar.h>
16406 #endif
16407 #ifdef HAVE_SYS_TIMEOUT_H
16408 #include <sys/timeout.h>
16409 #endif
16410 #ifdef HAVE_NETINET_IN_H
16411 #include <netinet/in.h>
16412 #endif
16413 #ifdef HAVE_NETINET_IN_SYSTM_H
16414 #include <netinet/in_systm.h>
16415 #endif
16416 #ifdef HAVE_NETINET_IP_H
16417 #include <netinet/ip.h>
16418 #endif
16419 #ifdef HAVE_NETINET_IP_VAR_H
16420 #include <netinet/ip_var.h>
16421 #endif
16422 #ifdef HAVE_NETINET_IP_ICMP_H
16423 #include <netinet/ip_icmp.h>
16424 #endif
16425 #ifdef HAVE_NETINET_ICMP_VAR_H
16426 #include <netinet/icmp_var.h>
16427 #endif
16429 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16431 cat >>confdefs.h <<_ACEOF
16432 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16433 _ACEOF
16439 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16440 #include <sys/types.h>
16441 #endif
16442 #ifdef HAVE_SYS_SOCKETVAR_H
16443 #include <sys/socketvar.h>
16444 #endif
16445 #ifdef HAVE_NETINET_IN_H
16446 #include <netinet/in.h>
16447 #endif
16448 #ifdef HAVE_NETINET_IP_VAR_H
16449 #include <netinet/ip_var.h>
16450 #endif
16452 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16454 cat >>confdefs.h <<_ACEOF
16455 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16456 _ACEOF
16462 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
16463 #include <netinet/ip_var.h>
16464 #endif
16466 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16468 cat >>confdefs.h <<_ACEOF
16469 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16470 _ACEOF
16476 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16477 #include <sys/types.h>
16478 #endif
16479 #ifdef HAVE_SYS_SOCKETVAR_H
16480 #include <sys/socketvar.h>
16481 #endif
16482 #ifdef HAVE_NETINET_IN_H
16483 #include <netinet/in.h>
16484 #endif
16485 #ifdef HAVE_NETINET_TCP_H
16486 #include <netinet/tcp.h>
16487 #endif
16488 #ifdef HAVE_NETINET_TCP_VAR_H
16489 #include <netinet/tcp_var.h>
16490 #endif
16492 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16494 cat >>confdefs.h <<_ACEOF
16495 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16496 _ACEOF
16502 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
16503 #include <netinet/tcp_var.h>
16504 #endif
16506 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16508 cat >>confdefs.h <<_ACEOF
16509 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16510 _ACEOF
16516 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16517 #include <sys/types.h>
16518 #endif
16519 #ifdef HAVE_NETINET_IN_H
16520 #include <netinet/in.h>
16521 #endif
16522 #ifdef HAVE_NETINET_IP_VAR_H
16523 #include <netinet/ip_var.h>
16524 #endif
16525 #ifdef HAVE_NETINET_UDP_H
16526 #include <netinet/udp.h>
16527 #endif
16528 #ifdef HAVE_NETINET_UDP_VAR_H
16529 #include <netinet/udp_var.h>
16530 #endif
16532 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16534 cat >>confdefs.h <<_ACEOF
16535 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16536 _ACEOF
16542 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16543 #include <sys/types.h>
16544 #endif
16545 #ifdef HAVE_NET_IF_H
16546 # include <net/if.h>
16547 #endif
16549 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16551 cat >>confdefs.h <<_ACEOF
16552 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16553 _ACEOF
16559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16560 $as_echo_n "checking for timezone variable... " >&6; }
16561 if ${ac_cv_have_timezone+:} false; then :
16562 $as_echo_n "(cached) " >&6
16563 else
16564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16565 /* end confdefs.h. */
16566 #include <time.h>
16568 main ()
16570 timezone = 1
16572 return 0;
16574 _ACEOF
16575 if ac_fn_c_try_link "$LINENO"; then :
16576 ac_cv_have_timezone="yes"
16577 else
16578 ac_cv_have_timezone="no"
16580 rm -f core conftest.err conftest.$ac_objext \
16581 conftest$ac_exeext conftest.$ac_ext
16583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16584 $as_echo "$ac_cv_have_timezone" >&6; }
16585 if test "$ac_cv_have_timezone" = "yes"
16586 then
16588 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16592 $as_echo_n "checking for daylight variable... " >&6; }
16593 if ${ac_cv_have_daylight+:} false; then :
16594 $as_echo_n "(cached) " >&6
16595 else
16596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16597 /* end confdefs.h. */
16598 #include <time.h>
16600 main ()
16602 daylight = 1
16604 return 0;
16606 _ACEOF
16607 if ac_fn_c_try_link "$LINENO"; then :
16608 ac_cv_have_daylight="yes"
16609 else
16610 ac_cv_have_daylight="no"
16612 rm -f core conftest.err conftest.$ac_objext \
16613 conftest$ac_exeext conftest.$ac_ext
16615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16616 $as_echo "$ac_cv_have_daylight" >&6; }
16617 if test "$ac_cv_have_daylight" = "yes"
16618 then
16620 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16624 ac_save_LIBS="$LIBS"
16625 LIBS="$LIBS -lm"
16626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16627 $as_echo_n "checking for isfinite... " >&6; }
16628 if ${ac_cv_have_isfinite+:} false; then :
16629 $as_echo_n "(cached) " >&6
16630 else
16631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16632 /* end confdefs.h. */
16633 #define _GNU_SOURCE
16634 #include <math.h>
16636 main ()
16638 float f = 0.0; return isfinite(f)
16640 return 0;
16642 _ACEOF
16643 if ac_fn_c_try_link "$LINENO"; then :
16644 ac_cv_have_isfinite="yes"
16645 else
16646 ac_cv_have_isfinite="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_isfinite" >&5
16652 $as_echo "$ac_cv_have_isfinite" >&6; }
16653 if test "$ac_cv_have_isfinite" = "yes"
16654 then
16656 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16661 $as_echo_n "checking for isinf... " >&6; }
16662 if ${ac_cv_have_isinf+:} false; then :
16663 $as_echo_n "(cached) " >&6
16664 else
16665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16666 /* end confdefs.h. */
16667 #include <math.h>
16669 main ()
16671 float f = 0.0; return isinf(f)
16673 return 0;
16675 _ACEOF
16676 if ac_fn_c_try_link "$LINENO"; then :
16677 ac_cv_have_isinf="yes"
16678 else
16679 ac_cv_have_isinf="no"
16681 rm -f core conftest.err conftest.$ac_objext \
16682 conftest$ac_exeext conftest.$ac_ext
16684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16685 $as_echo "$ac_cv_have_isinf" >&6; }
16686 if test "$ac_cv_have_isinf" = "yes"
16687 then
16689 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16694 $as_echo_n "checking for isnan... " >&6; }
16695 if ${ac_cv_have_isnan+:} false; then :
16696 $as_echo_n "(cached) " >&6
16697 else
16698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16699 /* end confdefs.h. */
16700 #include <math.h>
16702 main ()
16704 float f = 0.0; return isnan(f)
16706 return 0;
16708 _ACEOF
16709 if ac_fn_c_try_link "$LINENO"; then :
16710 ac_cv_have_isnan="yes"
16711 else
16712 ac_cv_have_isnan="no"
16714 rm -f core conftest.err conftest.$ac_objext \
16715 conftest$ac_exeext conftest.$ac_ext
16717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16718 $as_echo "$ac_cv_have_isnan" >&6; }
16719 if test "$ac_cv_have_isnan" = "yes"
16720 then
16722 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16726 for ac_func in \
16727 cbrt \
16728 cbrtf \
16729 erf \
16730 erff \
16731 exp2 \
16732 exp2f \
16733 llrint \
16734 llrintf \
16735 llround \
16736 llroundf \
16737 log2 \
16738 log2f \
16739 lrint \
16740 lrintf \
16741 lround \
16742 lroundf \
16743 rint \
16744 rintf \
16745 round \
16746 roundf \
16747 trunc \
16748 truncf
16750 do :
16751 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16752 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16753 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16754 cat >>confdefs.h <<_ACEOF
16755 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16756 _ACEOF
16759 done
16761 LIBS="$ac_save_LIBS"
16763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16764 $as_echo_n "checking for __builtin_clz... " >&6; }
16765 if ${ac_cv_have___builtin_clz+:} false; then :
16766 $as_echo_n "(cached) " >&6
16767 else
16768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16769 /* end confdefs.h. */
16772 main ()
16774 return __builtin_clz(1)
16776 return 0;
16778 _ACEOF
16779 if ac_fn_c_try_link "$LINENO"; then :
16780 ac_cv_have___builtin_clz="yes"
16781 else
16782 ac_cv_have___builtin_clz="no"
16784 rm -f core conftest.err conftest.$ac_objext \
16785 conftest$ac_exeext conftest.$ac_ext
16787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16788 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16789 if test "$ac_cv_have___builtin_clz" = "yes"
16790 then
16792 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16797 case $host_cpu in
16798 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16799 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16800 if ${ac_cv_cpp_def___i386__+:} false; then :
16801 $as_echo_n "(cached) " >&6
16802 else
16803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16804 /* end confdefs.h. */
16805 #ifndef __i386__
16807 #endif
16808 _ACEOF
16809 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16810 $EGREP "yes" >/dev/null 2>&1; then :
16811 ac_cv_cpp_def___i386__=yes
16812 else
16813 ac_cv_cpp_def___i386__=no
16815 rm -f conftest*
16818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16819 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16820 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16821 CFLAGS="$CFLAGS -D__i386__"
16822 LINTFLAGS="$LINTFLAGS -D__i386__"
16823 fi ;;
16824 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16825 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16826 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16827 $as_echo_n "(cached) " >&6
16828 else
16829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16830 /* end confdefs.h. */
16831 #ifndef __x86_64__
16833 #endif
16834 _ACEOF
16835 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16836 $EGREP "yes" >/dev/null 2>&1; then :
16837 ac_cv_cpp_def___x86_64__=yes
16838 else
16839 ac_cv_cpp_def___x86_64__=no
16841 rm -f conftest*
16844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16845 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16846 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16847 CFLAGS="$CFLAGS -D__x86_64__"
16848 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16849 fi ;;
16850 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16851 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16852 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16853 $as_echo_n "(cached) " >&6
16854 else
16855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16856 /* end confdefs.h. */
16857 #ifndef __sparc64__
16859 #endif
16860 _ACEOF
16861 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16862 $EGREP "yes" >/dev/null 2>&1; then :
16863 ac_cv_cpp_def___sparc64__=yes
16864 else
16865 ac_cv_cpp_def___sparc64__=no
16867 rm -f conftest*
16870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16871 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16872 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16873 CFLAGS="$CFLAGS -D__sparc64__"
16874 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16875 fi ;;
16876 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16877 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16878 if ${ac_cv_cpp_def___sparc__+:} false; then :
16879 $as_echo_n "(cached) " >&6
16880 else
16881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16882 /* end confdefs.h. */
16883 #ifndef __sparc__
16885 #endif
16886 _ACEOF
16887 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16888 $EGREP "yes" >/dev/null 2>&1; then :
16889 ac_cv_cpp_def___sparc__=yes
16890 else
16891 ac_cv_cpp_def___sparc__=no
16893 rm -f conftest*
16896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16897 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16898 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16899 CFLAGS="$CFLAGS -D__sparc__"
16900 LINTFLAGS="$LINTFLAGS -D__sparc__"
16901 fi ;;
16902 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16903 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16904 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16905 $as_echo_n "(cached) " >&6
16906 else
16907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16908 /* end confdefs.h. */
16909 #ifndef __powerpc64__
16911 #endif
16912 _ACEOF
16913 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16914 $EGREP "yes" >/dev/null 2>&1; then :
16915 ac_cv_cpp_def___powerpc64__=yes
16916 else
16917 ac_cv_cpp_def___powerpc64__=no
16919 rm -f conftest*
16922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16923 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16924 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16925 CFLAGS="$CFLAGS -D__powerpc64__"
16926 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16927 fi ;;
16928 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16929 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16930 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16931 $as_echo_n "(cached) " >&6
16932 else
16933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16934 /* end confdefs.h. */
16935 #ifndef __powerpc__
16937 #endif
16938 _ACEOF
16939 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16940 $EGREP "yes" >/dev/null 2>&1; then :
16941 ac_cv_cpp_def___powerpc__=yes
16942 else
16943 ac_cv_cpp_def___powerpc__=no
16945 rm -f conftest*
16948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16949 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16950 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16951 CFLAGS="$CFLAGS -D__powerpc__"
16952 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16953 fi ;;
16954 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16955 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16956 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16957 $as_echo_n "(cached) " >&6
16958 else
16959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16960 /* end confdefs.h. */
16961 #ifndef __aarch64__
16963 #endif
16964 _ACEOF
16965 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16966 $EGREP "yes" >/dev/null 2>&1; then :
16967 ac_cv_cpp_def___aarch64__=yes
16968 else
16969 ac_cv_cpp_def___aarch64__=no
16971 rm -f conftest*
16974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16975 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16976 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16977 CFLAGS="$CFLAGS -D__aarch64__"
16978 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16979 fi ;;
16980 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16981 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16982 if ${ac_cv_cpp_def___arm__+:} false; then :
16983 $as_echo_n "(cached) " >&6
16984 else
16985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16986 /* end confdefs.h. */
16987 #ifndef __arm__
16989 #endif
16990 _ACEOF
16991 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16992 $EGREP "yes" >/dev/null 2>&1; then :
16993 ac_cv_cpp_def___arm__=yes
16994 else
16995 ac_cv_cpp_def___arm__=no
16997 rm -f conftest*
17000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17001 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17002 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17003 CFLAGS="$CFLAGS -D__arm__"
17004 LINTFLAGS="$LINTFLAGS -D__arm__"
17005 fi ;;
17006 esac
17008 case $host_vendor in
17009 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17010 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17011 if ${ac_cv_cpp_def___sun__+:} false; then :
17012 $as_echo_n "(cached) " >&6
17013 else
17014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17015 /* end confdefs.h. */
17016 #ifndef __sun__
17018 #endif
17019 _ACEOF
17020 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17021 $EGREP "yes" >/dev/null 2>&1; then :
17022 ac_cv_cpp_def___sun__=yes
17023 else
17024 ac_cv_cpp_def___sun__=no
17026 rm -f conftest*
17029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17030 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17031 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17032 CFLAGS="$CFLAGS -D__sun__"
17033 LINTFLAGS="$LINTFLAGS -D__sun__"
17034 fi ;;
17035 esac
17041 ac_config_commands="$ac_config_commands include/stamp-h"
17043 $as_echo_n "creating Makefile rules..." >&6
17045 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17046 SOCKET_LIBS = $SOCKET_LIBS
17047 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17048 IOKIT_LIBS = $IOKIT_LIBS
17049 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17050 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17051 CORESERVICES_LIBS = $CORESERVICES_LIBS
17052 APPKIT_LIBS = $APPKIT_LIBS
17053 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17054 SECURITY_LIBS = $SECURITY_LIBS
17055 COREAUDIO_LIBS = $COREAUDIO_LIBS
17056 OPENAL_LIBS = $OPENAL_LIBS
17057 OPENCL_LIBS = $OPENCL_LIBS
17058 QUICKTIME_LIBS = $QUICKTIME_LIBS
17059 CARBON_LIBS = $CARBON_LIBS
17060 PTHREAD_LIBS = $PTHREAD_LIBS
17061 X_CFLAGS = $X_CFLAGS
17062 X_PRE_LIBS = $X_PRE_LIBS
17063 X_LIBS = $X_LIBS
17064 X_EXTRA_LIBS = $X_EXTRA_LIBS
17065 XML2_CFLAGS = $XML2_CFLAGS
17066 XML2_LIBS = $XML2_LIBS
17067 XSLT_CFLAGS = $XSLT_CFLAGS
17068 XSLT_LIBS = $XSLT_LIBS
17069 DBUS_CFLAGS = $DBUS_CFLAGS
17070 DBUS_LIBS = $DBUS_LIBS
17071 HAL_CFLAGS = $HAL_CFLAGS
17072 HAL_LIBS = $HAL_LIBS
17073 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17074 GNUTLS_LIBS = $GNUTLS_LIBS
17075 SANE_CFLAGS = $SANE_CFLAGS
17076 SANE_LIBS = $SANE_LIBS
17077 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17078 GPHOTO2_LIBS = $GPHOTO2_LIBS
17079 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17080 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17081 RESOLV_LIBS = $RESOLV_LIBS
17082 LCMS2_CFLAGS = $LCMS2_CFLAGS
17083 LCMS2_LIBS = $LCMS2_LIBS
17084 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17085 FREETYPE_LIBS = $FREETYPE_LIBS
17086 Z_LIBS = $Z_LIBS
17087 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17088 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17089 GSTREAMER_LIBS = $GSTREAMER_LIBS
17090 ALSA_LIBS = $ALSA_LIBS
17091 OSS4_CFLAGS = $OSS4_CFLAGS
17092 CAPI20_CFLAGS = $CAPI20_CFLAGS
17093 CAPI20_LIBS = $CAPI20_LIBS
17094 CUPS_CFLAGS = $CUPS_CFLAGS
17095 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17096 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17097 JPEG_CFLAGS = $JPEG_CFLAGS
17098 JPEG_LIBS = $JPEG_LIBS
17099 PNG_CFLAGS = $PNG_CFLAGS
17100 PNG_LIBS = $PNG_LIBS
17101 TIFF_CFLAGS = $TIFF_CFLAGS
17102 TIFF_LIBS = $TIFF_LIBS
17103 MPG123_CFLAGS = $MPG123_CFLAGS
17104 MPG123_LIBS = $MPG123_LIBS
17105 KSTAT_LIBS = $KSTAT_LIBS
17106 PROCSTAT_LIBS = $PROCSTAT_LIBS
17107 DL_LIBS = $DL_LIBS
17108 POLL_LIBS = $POLL_LIBS
17109 RT_LIBS = $RT_LIBS
17110 LDAP_LIBS = $LDAP_LIBS
17115 wine_fn_append_rule "
17116 # Rules automatically generated by configure
17118 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17120 .INIT: Makefile
17121 .MAKEFILEDEPS:
17122 all: Makefile
17123 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
17124 @./config.status Make.tmp Makefile"
17126 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
17127 .gitignore: config.status
17128 @./config.status .gitignore"
17130 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17131 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17133 if test "x$enable_fonts" != xno; then
17134 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17135 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17136 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17137 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17138 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17139 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17141 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17142 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17143 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
17144 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
17145 ac_config_links="$ac_config_links wine:tools/winewrapper"
17146 wine_fn_config_symlink wine
17147 if test "x$enable_win64" != xno; then
17148 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17149 wine_fn_config_symlink wine64
17152 wine_fn_config_dll acledit enable_acledit
17153 wine_fn_config_dll aclui enable_aclui implib
17154 wine_fn_config_dll activeds enable_activeds implib
17155 wine_fn_config_dll actxprxy enable_actxprxy clean
17156 wine_fn_config_lib adsiid
17157 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17158 wine_fn_config_test dlls/advapi32/tests advapi32_test
17159 wine_fn_config_dll advpack enable_advpack implib
17160 wine_fn_config_test dlls/advpack/tests advpack_test
17161 wine_fn_config_dll amstream enable_amstream clean
17162 wine_fn_config_test dlls/amstream/tests amstream_test
17163 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17164 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17165 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17166 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17167 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17168 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17169 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17170 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17171 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17172 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17173 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17174 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17175 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17176 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17177 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17178 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17179 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17180 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17181 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17182 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17183 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17184 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17185 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17186 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17187 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17188 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17189 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17190 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17191 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17192 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17193 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17194 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17195 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17196 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17197 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17198 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17199 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17200 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17201 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17202 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17203 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17204 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17205 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17206 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17207 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17208 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17209 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17210 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17211 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17212 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17213 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17214 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17215 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17216 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17217 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17218 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17219 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17220 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17221 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17222 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17223 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17224 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17225 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17226 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17227 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17228 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17229 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17230 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17231 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17232 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17233 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17234 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17235 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17236 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17237 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17238 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17239 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17240 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17241 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17242 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17243 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17244 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17245 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17246 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17247 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17248 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17249 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17250 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17251 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17252 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17253 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17254 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17255 wine_fn_config_dll apphelp enable_apphelp
17256 wine_fn_config_test dlls/apphelp/tests apphelp_test
17257 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17258 wine_fn_config_dll atl enable_atl clean,implib
17259 wine_fn_config_test dlls/atl/tests atl_test
17260 wine_fn_config_dll atl100 enable_atl100 clean,implib
17261 wine_fn_config_test dlls/atl100/tests atl100_test
17262 wine_fn_config_dll atl110 enable_atl110 clean
17263 wine_fn_config_dll atl80 enable_atl80 clean,implib
17264 wine_fn_config_test dlls/atl80/tests atl80_test
17265 wine_fn_config_dll atl90 enable_atl90 clean
17266 wine_fn_config_dll authz enable_authz
17267 wine_fn_config_dll avicap32 enable_avicap32 implib
17268 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
17269 wine_fn_config_test dlls/avifil32/tests avifil32_test
17270 wine_fn_config_dll avifile.dll16 enable_win16
17271 wine_fn_config_dll avrt enable_avrt implib
17272 wine_fn_config_dll bcrypt enable_bcrypt
17273 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17274 wine_fn_config_dll browseui enable_browseui clean,po
17275 wine_fn_config_test dlls/browseui/tests browseui_test
17276 wine_fn_config_dll cabinet enable_cabinet implib
17277 wine_fn_config_test dlls/cabinet/tests cabinet_test
17278 wine_fn_config_dll capi2032 enable_capi2032 implib
17279 wine_fn_config_dll cards enable_cards implib
17280 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17281 wine_fn_config_dll clusapi enable_clusapi implib
17282 wine_fn_config_dll combase enable_combase
17283 wine_fn_config_test dlls/combase/tests combase_test
17284 wine_fn_config_dll comcat enable_comcat
17285 wine_fn_config_test dlls/comcat/tests comcat_test
17286 wine_fn_config_dll comctl32 enable_comctl32 implib,po
17287 wine_fn_config_test dlls/comctl32/tests comctl32_test
17288 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
17289 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17290 wine_fn_config_dll comm.drv16 enable_win16
17291 wine_fn_config_dll commdlg.dll16 enable_win16
17292 wine_fn_config_dll compobj.dll16 enable_win16
17293 wine_fn_config_dll compstui enable_compstui implib
17294 wine_fn_config_dll comsvcs enable_comsvcs implib
17295 wine_fn_config_dll connect enable_connect
17296 wine_fn_config_dll credui enable_credui implib,po
17297 wine_fn_config_test dlls/credui/tests credui_test
17298 wine_fn_config_dll crtdll enable_crtdll implib
17299 wine_fn_config_dll crypt32 enable_crypt32 implib,po
17300 wine_fn_config_test dlls/crypt32/tests crypt32_test
17301 wine_fn_config_dll cryptdlg enable_cryptdlg po
17302 wine_fn_config_dll cryptdll enable_cryptdll implib
17303 wine_fn_config_dll cryptext enable_cryptext
17304 wine_fn_config_dll cryptnet enable_cryptnet implib
17305 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17306 wine_fn_config_dll cryptui enable_cryptui implib,po
17307 wine_fn_config_test dlls/cryptui/tests cryptui_test
17308 wine_fn_config_dll ctapi32 enable_ctapi32
17309 wine_fn_config_dll ctl3d.dll16 enable_win16
17310 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17311 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17312 wine_fn_config_dll d2d1 enable_d2d1 implib
17313 wine_fn_config_test dlls/d2d1/tests d2d1_test
17314 wine_fn_config_dll d3d10 enable_d3d10 implib
17315 wine_fn_config_test dlls/d3d10/tests d3d10_test
17316 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17317 wine_fn_config_dll d3d10core enable_d3d10core implib
17318 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17319 wine_fn_config_dll d3d11 enable_d3d11 implib
17320 wine_fn_config_test dlls/d3d11/tests d3d11_test
17321 wine_fn_config_dll d3d8 enable_d3d8 implib
17322 wine_fn_config_test dlls/d3d8/tests d3d8_test
17323 wine_fn_config_dll d3d9 enable_d3d9 implib
17324 wine_fn_config_test dlls/d3d9/tests d3d9_test
17325 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17326 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17327 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17328 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17329 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17330 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17331 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17332 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17333 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17334 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17335 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17336 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17337 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17338 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17339 wine_fn_config_dll d3dim enable_d3dim implib
17340 wine_fn_config_dll d3drm enable_d3drm implib
17341 wine_fn_config_test dlls/d3drm/tests d3drm_test
17342 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17343 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17344 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17345 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17346 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17347 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17348 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17349 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17350 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17351 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17352 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17353 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17354 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17355 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17356 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17357 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17358 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17359 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17360 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17361 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17362 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17363 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17364 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17365 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17366 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17367 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17368 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17369 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17370 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17371 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17372 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17373 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17374 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17375 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17376 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17377 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17378 wine_fn_config_dll davclnt enable_davclnt
17379 wine_fn_config_dll dbgeng enable_dbgeng implib
17380 wine_fn_config_dll dbghelp enable_dbghelp implib
17381 wine_fn_config_dll dciman32 enable_dciman32 implib
17382 wine_fn_config_dll ddeml.dll16 enable_win16
17383 wine_fn_config_dll ddraw enable_ddraw clean,implib
17384 wine_fn_config_test dlls/ddraw/tests ddraw_test
17385 wine_fn_config_dll ddrawex enable_ddrawex clean
17386 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17387 wine_fn_config_dll devenum enable_devenum clean,po
17388 wine_fn_config_test dlls/devenum/tests devenum_test
17389 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17390 wine_fn_config_dll difxapi enable_difxapi
17391 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
17392 wine_fn_config_test dlls/dinput/tests dinput_test
17393 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17394 wine_fn_config_test dlls/dinput8/tests dinput8_test
17395 wine_fn_config_dll dispdib.dll16 enable_win16
17396 wine_fn_config_dll dispex enable_dispex clean
17397 wine_fn_config_test dlls/dispex/tests dispex_test
17398 wine_fn_config_dll display.drv16 enable_win16
17399 wine_fn_config_dll dmband enable_dmband clean
17400 wine_fn_config_test dlls/dmband/tests dmband_test
17401 wine_fn_config_dll dmcompos enable_dmcompos clean
17402 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17403 wine_fn_config_dll dmime enable_dmime clean
17404 wine_fn_config_test dlls/dmime/tests dmime_test
17405 wine_fn_config_dll dmloader enable_dmloader clean
17406 wine_fn_config_test dlls/dmloader/tests dmloader_test
17407 wine_fn_config_dll dmscript enable_dmscript clean
17408 wine_fn_config_test dlls/dmscript/tests dmscript_test
17409 wine_fn_config_dll dmstyle enable_dmstyle clean
17410 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17411 wine_fn_config_dll dmsynth enable_dmsynth clean
17412 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17413 wine_fn_config_dll dmusic enable_dmusic clean
17414 wine_fn_config_test dlls/dmusic/tests dmusic_test
17415 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17416 wine_fn_config_dll dnsapi enable_dnsapi implib
17417 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17418 wine_fn_config_dll dplay enable_dplay implib
17419 wine_fn_config_dll dplayx enable_dplayx clean,implib
17420 wine_fn_config_test dlls/dplayx/tests dplayx_test
17421 wine_fn_config_dll dpnaddr enable_dpnaddr
17422 wine_fn_config_dll dpnet enable_dpnet clean,implib
17423 wine_fn_config_test dlls/dpnet/tests dpnet_test
17424 wine_fn_config_dll dpnhpast enable_dpnhpast
17425 wine_fn_config_dll dpnlobby enable_dpnlobby
17426 wine_fn_config_dll dpvoice enable_dpvoice clean
17427 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17428 wine_fn_config_dll dpwsockx enable_dpwsockx
17429 wine_fn_config_dll drmclien enable_drmclien
17430 wine_fn_config_dll dsound enable_dsound clean,implib
17431 wine_fn_config_test dlls/dsound/tests dsound_test
17432 wine_fn_config_dll dssenh enable_dssenh
17433 wine_fn_config_test dlls/dssenh/tests dssenh_test
17434 wine_fn_config_dll dswave enable_dswave clean
17435 wine_fn_config_test dlls/dswave/tests dswave_test
17436 wine_fn_config_dll dwmapi enable_dwmapi implib
17437 wine_fn_config_dll dwrite enable_dwrite implib
17438 wine_fn_config_test dlls/dwrite/tests dwrite_test
17439 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17440 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17441 wine_fn_config_lib dxerr8
17442 wine_fn_config_lib dxerr9
17443 wine_fn_config_dll dxgi enable_dxgi implib
17444 wine_fn_config_test dlls/dxgi/tests dxgi_test
17445 wine_fn_config_lib dxguid
17446 wine_fn_config_dll dxva2 enable_dxva2
17447 wine_fn_config_dll esent enable_esent
17448 wine_fn_config_dll evr enable_evr
17449 wine_fn_config_dll explorerframe enable_explorerframe clean
17450 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17451 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17452 wine_fn_config_dll faultrep enable_faultrep implib
17453 wine_fn_config_test dlls/faultrep/tests faultrep_test
17454 wine_fn_config_dll fltlib enable_fltlib
17455 wine_fn_config_dll fntcache enable_fntcache
17456 wine_fn_config_dll fontsub enable_fontsub
17457 wine_fn_config_dll fusion enable_fusion
17458 wine_fn_config_test dlls/fusion/tests fusion_test
17459 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17460 wine_fn_config_dll gameux enable_gameux clean
17461 wine_fn_config_test dlls/gameux/tests gameux_test
17462 wine_fn_config_dll gdi.exe16 enable_win16
17463 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17464 wine_fn_config_test dlls/gdi32/tests gdi32_test
17465 wine_fn_config_dll gdiplus enable_gdiplus implib
17466 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17467 wine_fn_config_dll glu32 enable_glu32 implib
17468 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17469 wine_fn_config_dll gpkcsp enable_gpkcsp
17470 wine_fn_config_dll hal enable_hal
17471 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17472 wine_fn_config_dll hid enable_hid implib
17473 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17474 wine_fn_config_dll hlink enable_hlink clean,implib
17475 wine_fn_config_test dlls/hlink/tests hlink_test
17476 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17477 wine_fn_config_dll httpapi enable_httpapi
17478 wine_fn_config_dll iccvid enable_iccvid po
17479 wine_fn_config_dll icmp enable_icmp
17480 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17481 wine_fn_config_test dlls/ieframe/tests ieframe_test
17482 wine_fn_config_dll ifsmgr.vxd enable_win16
17483 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17484 wine_fn_config_dll imagehlp enable_imagehlp implib
17485 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17486 wine_fn_config_dll imm.dll16 enable_win16
17487 wine_fn_config_dll imm32 enable_imm32 implib
17488 wine_fn_config_test dlls/imm32/tests imm32_test
17489 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17490 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17491 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17492 wine_fn_config_dll inetmib1 enable_inetmib1
17493 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17494 wine_fn_config_dll infosoft enable_infosoft clean
17495 wine_fn_config_test dlls/infosoft/tests infosoft_test
17496 wine_fn_config_dll initpki enable_initpki
17497 wine_fn_config_dll inkobj enable_inkobj
17498 wine_fn_config_dll inseng enable_inseng clean
17499 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17500 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17501 wine_fn_config_dll itircl enable_itircl
17502 wine_fn_config_dll itss enable_itss clean
17503 wine_fn_config_test dlls/itss/tests itss_test
17504 wine_fn_config_dll joy.cpl enable_joy_cpl po
17505 wine_fn_config_dll jscript enable_jscript clean,po
17506 wine_fn_config_test dlls/jscript/tests jscript_test
17507 wine_fn_config_dll jsproxy enable_jsproxy implib
17508 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17509 wine_fn_config_test dlls/kernel32/tests kernel32_test
17510 wine_fn_config_dll keyboard.drv16 enable_win16
17511 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17512 wine_fn_config_dll ksuser enable_ksuser
17513 wine_fn_config_dll ktmw32 enable_ktmw32
17514 wine_fn_config_dll loadperf enable_loadperf implib
17515 wine_fn_config_dll localspl enable_localspl po
17516 wine_fn_config_test dlls/localspl/tests localspl_test
17517 wine_fn_config_dll localui enable_localui po
17518 wine_fn_config_test dlls/localui/tests localui_test
17519 wine_fn_config_dll lz32 enable_lz32 implib
17520 wine_fn_config_test dlls/lz32/tests lz32_test
17521 wine_fn_config_dll lzexpand.dll16 enable_win16
17522 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17523 wine_fn_config_test dlls/mapi32/tests mapi32_test
17524 wine_fn_config_dll mapistub enable_mapistub
17525 wine_fn_config_dll mciavi32 enable_mciavi32
17526 wine_fn_config_dll mcicda enable_mcicda
17527 wine_fn_config_dll mciqtz32 enable_mciqtz32
17528 wine_fn_config_dll mciseq enable_mciseq
17529 wine_fn_config_dll mciwave enable_mciwave
17530 wine_fn_config_dll mf enable_mf
17531 wine_fn_config_dll mfplat enable_mfplat
17532 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17533 wine_fn_config_dll mgmtapi enable_mgmtapi
17534 wine_fn_config_dll midimap enable_midimap
17535 wine_fn_config_dll mlang enable_mlang clean,implib
17536 wine_fn_config_test dlls/mlang/tests mlang_test
17537 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17538 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17539 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17540 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17541 wine_fn_config_dll mmdevldr.vxd enable_win16
17542 wine_fn_config_dll mmsystem.dll16 enable_win16
17543 wine_fn_config_dll monodebg.vxd enable_win16
17544 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17545 wine_fn_config_dll mouse.drv16 enable_win16
17546 wine_fn_config_dll mpr enable_mpr implib,po
17547 wine_fn_config_test dlls/mpr/tests mpr_test
17548 wine_fn_config_dll mprapi enable_mprapi implib
17549 wine_fn_config_dll msacm.dll16 enable_win16
17550 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17551 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17552 wine_fn_config_test dlls/msacm32/tests msacm32_test
17553 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17554 wine_fn_config_dll msasn1 enable_msasn1 implib
17555 wine_fn_config_dll mscat32 enable_mscat32
17556 wine_fn_config_dll mscms enable_mscms implib
17557 wine_fn_config_test dlls/mscms/tests mscms_test
17558 wine_fn_config_dll mscoree enable_mscoree clean
17559 wine_fn_config_test dlls/mscoree/tests mscoree_test
17560 wine_fn_config_dll msctf enable_msctf clean
17561 wine_fn_config_test dlls/msctf/tests msctf_test
17562 wine_fn_config_dll msctfp enable_msctfp clean
17563 wine_fn_config_dll msdaps enable_msdaps clean
17564 wine_fn_config_dll msdelta enable_msdelta
17565 wine_fn_config_dll msdmo enable_msdmo implib
17566 wine_fn_config_test dlls/msdmo/tests msdmo_test
17567 wine_fn_config_dll msftedit enable_msftedit
17568 wine_fn_config_dll msg711.acm enable_msg711_acm
17569 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17570 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17571 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17572 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17573 wine_fn_config_dll msi enable_msi clean,implib,po
17574 wine_fn_config_test dlls/msi/tests msi_test
17575 wine_fn_config_dll msident enable_msident clean
17576 wine_fn_config_dll msimg32 enable_msimg32 implib
17577 wine_fn_config_dll msimsg enable_msimsg
17578 wine_fn_config_dll msimtf enable_msimtf clean
17579 wine_fn_config_dll msisip enable_msisip
17580 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17581 wine_fn_config_dll msls31 enable_msls31
17582 wine_fn_config_dll msnet32 enable_msnet32
17583 wine_fn_config_dll mspatcha enable_mspatcha implib
17584 wine_fn_config_dll msrle32 enable_msrle32 po
17585 wine_fn_config_test dlls/msrle32/tests msrle32_test
17586 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17587 wine_fn_config_dll mssign32 enable_mssign32
17588 wine_fn_config_dll mssip32 enable_mssip32
17589 wine_fn_config_dll mstask enable_mstask clean
17590 wine_fn_config_test dlls/mstask/tests mstask_test
17591 wine_fn_config_dll msvcirt enable_msvcirt
17592 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17593 wine_fn_config_dll msvcm80 enable_msvcm80
17594 wine_fn_config_dll msvcm90 enable_msvcm90
17595 wine_fn_config_dll msvcp100 enable_msvcp100
17596 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17597 wine_fn_config_dll msvcp110 enable_msvcp110
17598 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
17599 wine_fn_config_dll msvcp120 enable_msvcp120
17600 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17601 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17602 wine_fn_config_dll msvcp60 enable_msvcp60
17603 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17604 wine_fn_config_dll msvcp70 enable_msvcp70
17605 wine_fn_config_dll msvcp71 enable_msvcp71
17606 wine_fn_config_dll msvcp80 enable_msvcp80
17607 wine_fn_config_dll msvcp90 enable_msvcp90
17608 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17609 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17610 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17611 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17612 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17613 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17614 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17615 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17616 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17617 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17618 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17619 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17620 wine_fn_config_dll msvcrt enable_msvcrt implib
17621 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17622 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17623 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17624 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17625 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17626 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17627 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17628 wine_fn_config_dll msvidc32 enable_msvidc32 po
17629 wine_fn_config_dll msvideo.dll16 enable_win16
17630 wine_fn_config_dll mswsock enable_mswsock implib
17631 wine_fn_config_dll msxml enable_msxml clean
17632 wine_fn_config_dll msxml2 enable_msxml2 clean
17633 wine_fn_config_dll msxml3 enable_msxml3 clean
17634 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17635 wine_fn_config_dll msxml4 enable_msxml4 clean
17636 wine_fn_config_dll msxml6 enable_msxml6 clean
17637 wine_fn_config_dll nddeapi enable_nddeapi implib
17638 wine_fn_config_dll ndis.sys enable_ndis_sys
17639 wine_fn_config_dll netapi32 enable_netapi32 implib
17640 wine_fn_config_test dlls/netapi32/tests netapi32_test
17641 wine_fn_config_dll netcfgx enable_netcfgx clean
17642 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17643 wine_fn_config_dll netprofm enable_netprofm clean
17644 wine_fn_config_test dlls/netprofm/tests netprofm_test
17645 wine_fn_config_dll newdev enable_newdev implib
17646 wine_fn_config_dll normaliz enable_normaliz implib
17647 wine_fn_config_dll npmshtml enable_npmshtml
17648 wine_fn_config_dll npptools enable_npptools
17649 wine_fn_config_dll ntdll enable_ntdll implib
17650 wine_fn_config_test dlls/ntdll/tests ntdll_test
17651 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17652 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17653 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17654 wine_fn_config_dll ntprint enable_ntprint
17655 wine_fn_config_test dlls/ntprint/tests ntprint_test
17656 wine_fn_config_dll objsel enable_objsel clean
17657 wine_fn_config_dll odbc32 enable_odbc32 implib
17658 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17659 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17660 wine_fn_config_dll odbccu32 enable_odbccu32
17661 wine_fn_config_dll ole2.dll16 enable_win16
17662 wine_fn_config_dll ole2conv.dll16 enable_win16
17663 wine_fn_config_dll ole2disp.dll16 enable_win16
17664 wine_fn_config_dll ole2nls.dll16 enable_win16
17665 wine_fn_config_dll ole2prox.dll16 enable_win16
17666 wine_fn_config_dll ole2thk.dll16 enable_win16
17667 wine_fn_config_dll ole32 enable_ole32 clean,implib
17668 wine_fn_config_test dlls/ole32/tests ole32_test
17669 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17670 wine_fn_config_test dlls/oleacc/tests oleacc_test
17671 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17672 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17673 wine_fn_config_dll olecli.dll16 enable_win16
17674 wine_fn_config_dll olecli32 enable_olecli32 implib
17675 wine_fn_config_dll oledb32 enable_oledb32 clean
17676 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17677 wine_fn_config_dll oledlg enable_oledlg implib,po
17678 wine_fn_config_test dlls/oledlg/tests oledlg_test
17679 wine_fn_config_dll olepro32 enable_olepro32 implib
17680 wine_fn_config_dll olesvr.dll16 enable_win16
17681 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17682 wine_fn_config_dll olethk32 enable_olethk32
17683 wine_fn_config_dll openal32 enable_openal32
17684 wine_fn_config_dll opencl enable_opencl
17685 wine_fn_config_dll opengl32 enable_opengl32 implib
17686 wine_fn_config_test dlls/opengl32/tests opengl32_test
17687 wine_fn_config_dll packager enable_packager clean
17688 wine_fn_config_test dlls/packager/tests packager_test
17689 wine_fn_config_dll pdh enable_pdh implib
17690 wine_fn_config_test dlls/pdh/tests pdh_test
17691 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17692 wine_fn_config_dll pidgen enable_pidgen
17693 wine_fn_config_dll powrprof enable_powrprof implib
17694 wine_fn_config_dll printui enable_printui
17695 wine_fn_config_dll prntvpt enable_prntvpt
17696 wine_fn_config_dll propsys enable_propsys clean,implib
17697 wine_fn_config_test dlls/propsys/tests propsys_test
17698 wine_fn_config_dll psapi enable_psapi implib
17699 wine_fn_config_test dlls/psapi/tests psapi_test
17700 wine_fn_config_dll pstorec enable_pstorec clean
17701 wine_fn_config_dll qcap enable_qcap
17702 wine_fn_config_test dlls/qcap/tests qcap_test
17703 wine_fn_config_dll qedit enable_qedit clean
17704 wine_fn_config_test dlls/qedit/tests qedit_test
17705 wine_fn_config_dll qmgr enable_qmgr clean
17706 wine_fn_config_test dlls/qmgr/tests qmgr_test
17707 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17708 wine_fn_config_dll quartz enable_quartz clean,implib
17709 wine_fn_config_test dlls/quartz/tests quartz_test clean
17710 wine_fn_config_dll query enable_query
17711 wine_fn_config_dll rasapi16.dll16 enable_win16
17712 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17713 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17714 wine_fn_config_dll rasdlg enable_rasdlg implib
17715 wine_fn_config_dll regapi enable_regapi
17716 wine_fn_config_dll resutils enable_resutils implib
17717 wine_fn_config_dll riched20 enable_riched20 clean,implib
17718 wine_fn_config_test dlls/riched20/tests riched20_test
17719 wine_fn_config_dll riched32 enable_riched32
17720 wine_fn_config_test dlls/riched32/tests riched32_test
17721 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17722 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17723 wine_fn_config_dll rsabase enable_rsabase
17724 wine_fn_config_dll rsaenh enable_rsaenh implib
17725 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17726 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17727 wine_fn_config_dll rtutils enable_rtutils implib
17728 wine_fn_config_dll samlib enable_samlib
17729 wine_fn_config_dll sane.ds enable_sane_ds po
17730 wine_fn_config_dll scarddlg enable_scarddlg
17731 wine_fn_config_dll sccbase enable_sccbase
17732 wine_fn_config_dll schannel enable_schannel
17733 wine_fn_config_test dlls/schannel/tests schannel_test
17734 wine_fn_config_dll schedsvc enable_schedsvc clean
17735 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17736 wine_fn_config_dll scrrun enable_scrrun clean
17737 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17738 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17739 wine_fn_config_dll secur32 enable_secur32 implib
17740 wine_fn_config_test dlls/secur32/tests secur32_test
17741 wine_fn_config_dll security enable_security
17742 wine_fn_config_dll sensapi enable_sensapi implib
17743 wine_fn_config_dll serialui enable_serialui implib,po
17744 wine_fn_config_test dlls/serialui/tests serialui_test
17745 wine_fn_config_dll setupapi enable_setupapi implib,po
17746 wine_fn_config_test dlls/setupapi/tests setupapi_test
17747 wine_fn_config_dll setupx.dll16 enable_win16
17748 wine_fn_config_dll sfc enable_sfc implib
17749 wine_fn_config_dll sfc_os enable_sfc_os implib
17750 wine_fn_config_dll shdoclc enable_shdoclc po
17751 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17752 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17753 wine_fn_config_dll shell.dll16 enable_win16
17754 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17755 wine_fn_config_test dlls/shell32/tests shell32_test
17756 wine_fn_config_dll shfolder enable_shfolder implib
17757 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17758 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17759 wine_fn_config_dll slbcsp enable_slbcsp
17760 wine_fn_config_dll slc enable_slc implib
17761 wine_fn_config_test dlls/slc/tests slc_test
17762 wine_fn_config_dll snmpapi enable_snmpapi implib
17763 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17764 wine_fn_config_dll softpub enable_softpub
17765 wine_fn_config_dll sound.drv16 enable_win16
17766 wine_fn_config_dll spoolss enable_spoolss implib
17767 wine_fn_config_test dlls/spoolss/tests spoolss_test
17768 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17769 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17770 wine_fn_config_dll sti enable_sti clean,implib
17771 wine_fn_config_test dlls/sti/tests sti_test
17772 wine_fn_config_dll storage.dll16 enable_win16
17773 wine_fn_config_dll stress.dll16 enable_win16
17774 wine_fn_config_lib strmbase
17775 wine_fn_config_lib strmiids
17776 wine_fn_config_dll svrapi enable_svrapi
17777 wine_fn_config_dll sxs enable_sxs implib
17778 wine_fn_config_test dlls/sxs/tests sxs_test
17779 wine_fn_config_dll system.drv16 enable_win16
17780 wine_fn_config_dll t2embed enable_t2embed
17781 wine_fn_config_dll tapi32 enable_tapi32 implib
17782 wine_fn_config_dll taskschd enable_taskschd clean
17783 wine_fn_config_test dlls/taskschd/tests taskschd_test
17784 wine_fn_config_dll toolhelp.dll16 enable_win16
17785 wine_fn_config_dll traffic enable_traffic
17786 wine_fn_config_dll twain.dll16 enable_win16
17787 wine_fn_config_dll twain_32 enable_twain_32
17788 wine_fn_config_test dlls/twain_32/tests twain_32_test
17789 wine_fn_config_dll typelib.dll16 enable_win16
17790 wine_fn_config_dll ucrtbase enable_ucrtbase
17791 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
17792 wine_fn_config_dll unicows enable_unicows implib
17793 wine_fn_config_dll updspapi enable_updspapi
17794 wine_fn_config_dll url enable_url implib
17795 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17796 wine_fn_config_test dlls/urlmon/tests urlmon_test
17797 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17798 wine_fn_config_dll user.exe16 enable_win16
17799 wine_fn_config_dll user32 enable_user32 clean,implib,po
17800 wine_fn_config_test dlls/user32/tests user32_test
17801 wine_fn_config_dll userenv enable_userenv implib
17802 wine_fn_config_test dlls/userenv/tests userenv_test
17803 wine_fn_config_dll usp10 enable_usp10 implib
17804 wine_fn_config_test dlls/usp10/tests usp10_test
17805 wine_fn_config_lib uuid
17806 wine_fn_config_dll uxtheme enable_uxtheme implib
17807 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17808 wine_fn_config_dll vbscript enable_vbscript clean
17809 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17810 wine_fn_config_dll vcomp enable_vcomp
17811 wine_fn_config_test dlls/vcomp/tests vcomp_test
17812 wine_fn_config_dll vcomp100 enable_vcomp100
17813 wine_fn_config_dll vcomp110 enable_vcomp110
17814 wine_fn_config_dll vcomp90 enable_vcomp90
17815 wine_fn_config_dll vdhcp.vxd enable_win16
17816 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17817 wine_fn_config_dll ver.dll16 enable_win16
17818 wine_fn_config_dll version enable_version implib
17819 wine_fn_config_test dlls/version/tests version_test
17820 wine_fn_config_dll vmm.vxd enable_win16
17821 wine_fn_config_dll vnbt.vxd enable_win16
17822 wine_fn_config_dll vnetbios.vxd enable_win16
17823 wine_fn_config_dll vssapi enable_vssapi
17824 wine_fn_config_dll vtdapi.vxd enable_win16
17825 wine_fn_config_dll vwin32.vxd enable_win16
17826 wine_fn_config_dll w32skrnl enable_win16
17827 wine_fn_config_dll w32sys.dll16 enable_win16
17828 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17829 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
17830 wine_fn_config_dll wbemprox enable_wbemprox clean
17831 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17832 wine_fn_config_dll webservices enable_webservices implib
17833 wine_fn_config_test dlls/webservices/tests webservices_test
17834 wine_fn_config_dll wer enable_wer implib
17835 wine_fn_config_test dlls/wer/tests wer_test
17836 wine_fn_config_dll wevtapi enable_wevtapi
17837 wine_fn_config_dll wiaservc enable_wiaservc clean
17838 wine_fn_config_dll win32s16.dll16 enable_win16
17839 wine_fn_config_dll win87em.dll16 enable_win16
17840 wine_fn_config_dll winaspi.dll16 enable_win16
17841 wine_fn_config_dll windebug.dll16 enable_win16
17842 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17843 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17844 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17845 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17846 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17847 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17848 wine_fn_config_lib winecrt0
17849 wine_fn_config_dll wined3d enable_wined3d implib
17850 wine_fn_config_dll winegstreamer enable_winegstreamer
17851 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17852 wine_fn_config_dll winemac.drv enable_winemac_drv
17853 wine_fn_config_dll winemapi enable_winemapi
17854 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17855 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17856 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17857 wine_fn_config_dll wineps16.drv16 enable_win16
17858 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17859 wine_fn_config_dll winex11.drv enable_winex11_drv
17860 wine_fn_config_dll wing.dll16 enable_win16
17861 wine_fn_config_dll wing32 enable_wing32
17862 wine_fn_config_dll winhttp enable_winhttp clean,implib
17863 wine_fn_config_test dlls/winhttp/tests winhttp_test
17864 wine_fn_config_dll wininet enable_wininet implib,po
17865 wine_fn_config_test dlls/wininet/tests wininet_test
17866 wine_fn_config_dll winmm enable_winmm implib,po
17867 wine_fn_config_test dlls/winmm/tests winmm_test
17868 wine_fn_config_dll winnls.dll16 enable_win16
17869 wine_fn_config_dll winnls32 enable_winnls32 implib
17870 wine_fn_config_dll winscard enable_winscard implib
17871 wine_fn_config_dll winsock.dll16 enable_win16
17872 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17873 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17874 wine_fn_config_dll winsta enable_winsta
17875 wine_fn_config_dll wintab.dll16 enable_win16
17876 wine_fn_config_dll wintab32 enable_wintab32 implib
17877 wine_fn_config_test dlls/wintab32/tests wintab32_test
17878 wine_fn_config_dll wintrust enable_wintrust implib
17879 wine_fn_config_test dlls/wintrust/tests wintrust_test
17880 wine_fn_config_dll wlanapi enable_wlanapi
17881 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17882 wine_fn_config_test dlls/wldap32/tests wldap32_test
17883 wine_fn_config_dll wmi enable_wmi
17884 wine_fn_config_dll wmiutils enable_wmiutils clean
17885 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17886 wine_fn_config_dll wmp enable_wmp clean
17887 wine_fn_config_test dlls/wmp/tests wmp_test
17888 wine_fn_config_dll wmvcore enable_wmvcore
17889 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17890 wine_fn_config_dll wow32 enable_win16 implib
17891 wine_fn_config_dll wpcap enable_wpcap
17892 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17893 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17894 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17895 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17896 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17897 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17898 wine_fn_config_dll wsock32 enable_wsock32 implib
17899 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17900 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17901 wine_fn_config_dll wuapi enable_wuapi clean
17902 wine_fn_config_dll wuaueng enable_wuaueng
17903 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
17904 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
17905 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
17906 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
17907 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
17908 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
17909 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17910 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17911 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
17912 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
17913 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
17914 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
17915 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
17916 wine_fn_config_dll xaudio2_8 enable_xaudio2_8
17917 wine_fn_config_dll xinput1_1 enable_xinput1_1
17918 wine_fn_config_dll xinput1_2 enable_xinput1_2
17919 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17920 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17921 wine_fn_config_dll xinput1_4 enable_xinput1_4
17922 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17923 wine_fn_config_dll xmllite enable_xmllite implib
17924 wine_fn_config_test dlls/xmllite/tests xmllite_test
17925 wine_fn_config_dll xolehlp enable_xolehlp
17926 wine_fn_config_dll xpsprint enable_xpsprint
17927 wine_fn_config_dll xpssvcs enable_xpssvcs
17928 wine_fn_config_makefile documentation enable_documentation clean
17929 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17930 wine_fn_config_makefile include enable_include clean,install-dev
17931 wine_fn_config_makefile libs/port enable_libs_port
17932 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17933 wine_fn_config_makefile libs/wpp enable_libs_wpp
17934 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17935 wine_fn_config_program arp enable_arp install
17936 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17937 wine_fn_config_program attrib enable_attrib install,po
17938 wine_fn_config_program cabarc enable_cabarc install
17939 wine_fn_config_program cacls enable_cacls install
17940 wine_fn_config_program clock enable_clock install,po
17941 wine_fn_config_program cmd enable_cmd install,po
17942 wine_fn_config_test programs/cmd/tests cmd.exe_test
17943 wine_fn_config_program conhost enable_conhost install
17944 wine_fn_config_program control enable_control install
17945 wine_fn_config_program cscript enable_cscript clean,install
17946 wine_fn_config_program dpnsvr enable_dpnsvr install
17947 wine_fn_config_program dxdiag enable_dxdiag install,po
17948 wine_fn_config_program eject enable_eject install
17949 wine_fn_config_program expand enable_expand install
17950 wine_fn_config_program explorer enable_explorer install,po
17951 wine_fn_config_program extrac32 enable_extrac32 install
17952 wine_fn_config_program findstr enable_findstr install
17953 wine_fn_config_program hh enable_hh install
17954 wine_fn_config_program hostname enable_hostname install,po
17955 wine_fn_config_program icinfo enable_icinfo install
17956 wine_fn_config_program iexplore enable_iexplore install
17957 wine_fn_config_program ipconfig enable_ipconfig install,po
17958 wine_fn_config_program lodctr enable_lodctr install
17959 wine_fn_config_program mofcomp enable_mofcomp install
17960 wine_fn_config_program mshta enable_mshta install
17961 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17962 wine_fn_config_program net enable_net install,po
17963 wine_fn_config_program netsh enable_netsh install
17964 wine_fn_config_program netstat enable_netstat install,po
17965 wine_fn_config_program ngen enable_ngen install
17966 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17967 wine_fn_config_program oleview enable_oleview install,po
17968 wine_fn_config_program ping enable_ping install
17969 wine_fn_config_program plugplay enable_plugplay install
17970 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17971 wine_fn_config_program progman enable_progman install,po
17972 wine_fn_config_program reg enable_reg install,po
17973 wine_fn_config_test programs/reg/tests reg.exe_test
17974 wine_fn_config_program regasm enable_regasm install
17975 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17976 wine_fn_config_test programs/regedit/tests regedit.exe_test
17977 wine_fn_config_program regsvcs enable_regsvcs install
17978 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17979 wine_fn_config_program rpcss enable_rpcss clean,install
17980 wine_fn_config_program rundll.exe16 enable_win16 install
17981 wine_fn_config_program rundll32 enable_rundll32 install
17982 wine_fn_config_program sc enable_sc install
17983 wine_fn_config_program schtasks enable_schtasks install
17984 wine_fn_config_program sdbinst enable_sdbinst install
17985 wine_fn_config_program secedit enable_secedit install
17986 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17987 wine_fn_config_program services enable_services clean,install
17988 wine_fn_config_test programs/services/tests services.exe_test
17989 wine_fn_config_program spoolsv enable_spoolsv install
17990 wine_fn_config_program start enable_start install,po
17991 wine_fn_config_program svchost enable_svchost install
17992 wine_fn_config_program systeminfo enable_systeminfo install
17993 wine_fn_config_program taskkill enable_taskkill install,po
17994 wine_fn_config_program tasklist enable_tasklist install
17995 wine_fn_config_program taskmgr enable_taskmgr install,po
17996 wine_fn_config_program termsv enable_termsv install
17997 wine_fn_config_program uninstaller enable_uninstaller install,po
17998 wine_fn_config_program unlodctr enable_unlodctr install
17999 wine_fn_config_program view enable_view install,po
18000 wine_fn_config_program wevtutil enable_wevtutil install
18001 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
18002 wine_fn_config_program winebrowser enable_winebrowser install
18003 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
18004 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
18005 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
18006 wine_fn_config_program winedevice enable_winedevice install
18007 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
18008 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18009 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
18010 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18011 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18012 wine_fn_config_program winetest enable_winetest clean
18013 wine_fn_config_program winevdm enable_win16 install
18014 wine_fn_config_program winhelp.exe16 enable_win16 install
18015 wine_fn_config_program winhlp32 enable_winhlp32 install,po
18016 wine_fn_config_program winoldap.mod16 enable_win16 install
18017 wine_fn_config_program winver enable_winver install
18018 wine_fn_config_program wmic enable_wmic install,po
18019 wine_fn_config_program wordpad enable_wordpad install,po
18020 wine_fn_config_program write enable_write install,po
18021 wine_fn_config_program wscript enable_wscript clean,install
18022 wine_fn_config_test programs/wscript/tests wscript.exe_test
18023 wine_fn_config_program wusa enable_wusa install
18024 wine_fn_config_program xcopy enable_xcopy install,po
18025 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18026 wine_fn_config_makefile server enable_server clean,install-lib,manpage
18027 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
18028 wine_fn_config_tool tools/sfnt2fon clean
18029 wine_fn_config_tool tools/widl clean,install-dev,manpage
18030 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
18031 wine_fn_config_tool tools/winedump clean,install-dev,manpage
18032 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
18033 wine_fn_config_tool tools/wmc clean,install-dev,manpage
18034 wine_fn_config_tool tools/wrc clean,install-dev,manpage
18036 LINGUAS="\
18037 ar \
18038 bg \
18039 ca \
18040 cs \
18041 da \
18042 de \
18043 el \
18044 en \
18045 en_US \
18046 eo \
18047 es \
18048 fa \
18049 fi \
18050 fr \
18051 he \
18052 hi \
18053 hr \
18054 hu \
18055 it \
18056 ja \
18057 ko \
18058 lt \
18059 ml \
18060 nb_NO \
18061 nl \
18062 or \
18063 pa \
18064 pl \
18065 pt_BR \
18066 pt_PT \
18067 rm \
18068 ro \
18069 ru \
18070 sk \
18071 sl \
18072 sr_RS@cyrillic \
18073 sr_RS@latin \
18074 sv \
18075 te \
18076 th \
18077 tr \
18078 uk \
18079 wa \
18080 zh_CN \
18081 zh_TW"
18086 wine_fn_ignore_file ".gitignore"
18087 wine_fn_ignore_file "Makefile"
18088 wine_fn_ignore_file "TAGS"
18089 wine_fn_ignore_file "tags"
18090 wine_fn_ignore_file "autom4te.cache"
18091 wine_fn_ignore_file "config.cache"
18092 wine_fn_ignore_file "config.log"
18093 wine_fn_ignore_file "config.status"
18094 wine_fn_ignore_file "configure.lineno"
18095 wine_fn_ignore_file "include/config.h"
18096 wine_fn_ignore_file "include/stamp-h"
18097 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
18099 if test "x$enable_tools" != xno
18100 then
18101 wine_fn_ignore_file "tools/makedep$ac_exeext"
18102 ac_config_commands="$ac_config_commands tools/makedep"
18106 ac_config_commands="$ac_config_commands Makefile"
18109 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
18113 if test "x$enable_maintainer_mode" = xyes
18114 then
18115 wine_fn_append_rule "configure: configure.ac aclocal.m4
18116 autoconf --warnings=all
18117 include/config.h.in: include/stamp-h.in
18118 include/stamp-h.in: configure.ac aclocal.m4
18119 autoheader --warnings=all
18120 @echo timestamp > \$@"
18123 if test "x$with_gettextpo" = xyes
18124 then
18125 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
18126 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
18127 \$(LINGUAS:%=po/%.po): po/wine.pot
18128 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
18129 po/wine.pot: \$(ALL_POT_FILES)
18130 msgcat -o \$@ \$(ALL_POT_FILES)"
18133 if test "$MSGFMT" != false
18134 then
18135 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
18136 clean::
18137 \$(RM) \$(LINGUAS:%=po/%.mo)"
18139 posrc="po"
18140 test "$srcdir" = . || posrc="$srcdir/po"
18141 for i in $LINGUAS
18143 wine_fn_ignore_file "po/$i.mo"
18144 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
18145 \$(MSGFMT) -o \$@ $posrc/$i.po"
18146 done
18147 else
18148 LINGUAS=
18151 if test "x$enable_tools" != xno
18152 then
18153 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18154 @./config.status tools/makedep
18155 Makefile: tools/makedep$ac_exeext
18156 distclean:: clean
18157 \$(RM) tools/makedep$ac_exeext"
18158 else
18159 wine_fn_append_rule "\$(MAKEDEP):
18160 @echo \"You need to run make in $TOOLSDIR first\" && false"
18163 if test -n "$with_wine64"
18164 then
18165 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18166 fonts server tools:
18167 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18168 $with_wine64/loader/wine:
18169 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18170 $with_wine64/loader/wine-preloader:
18171 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18172 clean::
18173 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18174 else
18175 as_fn_append LOADER_RULES "
18176 install install-lib:: wine.inf install-man-pages
18177 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
18178 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18180 uninstall::
18181 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18185 if test "$srcdir" = .
18186 then
18187 ac_config_commands="$ac_config_commands .gitignore"
18191 $as_echo " done" >&6
18192 cat >confcache <<\_ACEOF
18193 # This file is a shell script that caches the results of configure
18194 # tests run on this system so they can be shared between configure
18195 # scripts and configure runs, see configure's option --config-cache.
18196 # It is not useful on other systems. If it contains results you don't
18197 # want to keep, you may remove or edit it.
18199 # config.status only pays attention to the cache file if you give it
18200 # the --recheck option to rerun configure.
18202 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18203 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18204 # following values.
18206 _ACEOF
18208 # The following way of writing the cache mishandles newlines in values,
18209 # but we know of no workaround that is simple, portable, and efficient.
18210 # So, we kill variables containing newlines.
18211 # Ultrix sh set writes to stderr and can't be redirected directly,
18212 # and sets the high bit in the cache file unless we assign to the vars.
18214 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18215 eval ac_val=\$$ac_var
18216 case $ac_val in #(
18217 *${as_nl}*)
18218 case $ac_var in #(
18219 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18220 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18221 esac
18222 case $ac_var in #(
18223 _ | IFS | as_nl) ;; #(
18224 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18225 *) { eval $ac_var=; unset $ac_var;} ;;
18226 esac ;;
18227 esac
18228 done
18230 (set) 2>&1 |
18231 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18232 *${as_nl}ac_space=\ *)
18233 # `set' does not quote correctly, so add quotes: double-quote
18234 # substitution turns \\\\ into \\, and sed turns \\ into \.
18235 sed -n \
18236 "s/'/'\\\\''/g;
18237 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18238 ;; #(
18240 # `set' quotes correctly as required by POSIX, so do not add quotes.
18241 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18243 esac |
18244 sort
18246 sed '
18247 /^ac_cv_env_/b end
18248 t clear
18249 :clear
18250 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18251 t end
18252 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18253 :end' >>confcache
18254 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18255 if test -w "$cache_file"; then
18256 if test "x$cache_file" != "x/dev/null"; then
18257 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18258 $as_echo "$as_me: updating cache $cache_file" >&6;}
18259 if test ! -f "$cache_file" || test -h "$cache_file"; then
18260 cat confcache >"$cache_file"
18261 else
18262 case $cache_file in #(
18263 */* | ?:*)
18264 mv -f confcache "$cache_file"$$ &&
18265 mv -f "$cache_file"$$ "$cache_file" ;; #(
18267 mv -f confcache "$cache_file" ;;
18268 esac
18271 else
18272 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18273 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18276 rm -f confcache
18278 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18279 # Let make expand exec_prefix.
18280 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18282 DEFS=-DHAVE_CONFIG_H
18284 ac_libobjs=
18285 ac_ltlibobjs=
18287 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18288 # 1. Remove the extension, and $U if already installed.
18289 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18290 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18291 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18292 # will be set to the directory where LIBOBJS objects are built.
18293 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18294 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18295 done
18296 LIBOBJS=$ac_libobjs
18298 LTLIBOBJS=$ac_ltlibobjs
18302 : "${CONFIG_STATUS=./config.status}"
18303 ac_write_fail=0
18304 ac_clean_files_save=$ac_clean_files
18305 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18306 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18307 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18308 as_write_fail=0
18309 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18310 #! $SHELL
18311 # Generated by $as_me.
18312 # Run this file to recreate the current configuration.
18313 # Compiler output produced by configure, useful for debugging
18314 # configure, is in config.log if it exists.
18316 debug=false
18317 ac_cs_recheck=false
18318 ac_cs_silent=false
18320 SHELL=\${CONFIG_SHELL-$SHELL}
18321 export SHELL
18322 _ASEOF
18323 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18324 ## -------------------- ##
18325 ## M4sh Initialization. ##
18326 ## -------------------- ##
18328 # Be more Bourne compatible
18329 DUALCASE=1; export DUALCASE # for MKS sh
18330 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18331 emulate sh
18332 NULLCMD=:
18333 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18334 # is contrary to our usage. Disable this feature.
18335 alias -g '${1+"$@"}'='"$@"'
18336 setopt NO_GLOB_SUBST
18337 else
18338 case `(set -o) 2>/dev/null` in #(
18339 *posix*) :
18340 set -o posix ;; #(
18341 *) :
18343 esac
18347 as_nl='
18349 export as_nl
18350 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18351 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18352 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18353 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18354 # Prefer a ksh shell builtin over an external printf program on Solaris,
18355 # but without wasting forks for bash or zsh.
18356 if test -z "$BASH_VERSION$ZSH_VERSION" \
18357 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18358 as_echo='print -r --'
18359 as_echo_n='print -rn --'
18360 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18361 as_echo='printf %s\n'
18362 as_echo_n='printf %s'
18363 else
18364 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18365 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18366 as_echo_n='/usr/ucb/echo -n'
18367 else
18368 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18369 as_echo_n_body='eval
18370 arg=$1;
18371 case $arg in #(
18372 *"$as_nl"*)
18373 expr "X$arg" : "X\\(.*\\)$as_nl";
18374 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18375 esac;
18376 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18378 export as_echo_n_body
18379 as_echo_n='sh -c $as_echo_n_body as_echo'
18381 export as_echo_body
18382 as_echo='sh -c $as_echo_body as_echo'
18385 # The user is always right.
18386 if test "${PATH_SEPARATOR+set}" != set; then
18387 PATH_SEPARATOR=:
18388 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18389 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18390 PATH_SEPARATOR=';'
18395 # IFS
18396 # We need space, tab and new line, in precisely that order. Quoting is
18397 # there to prevent editors from complaining about space-tab.
18398 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18399 # splitting by setting IFS to empty value.)
18400 IFS=" "" $as_nl"
18402 # Find who we are. Look in the path if we contain no directory separator.
18403 as_myself=
18404 case $0 in #((
18405 *[\\/]* ) as_myself=$0 ;;
18406 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18407 for as_dir in $PATH
18409 IFS=$as_save_IFS
18410 test -z "$as_dir" && as_dir=.
18411 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18412 done
18413 IFS=$as_save_IFS
18416 esac
18417 # We did not find ourselves, most probably we were run as `sh COMMAND'
18418 # in which case we are not to be found in the path.
18419 if test "x$as_myself" = x; then
18420 as_myself=$0
18422 if test ! -f "$as_myself"; then
18423 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18424 exit 1
18427 # Unset variables that we do not need and which cause bugs (e.g. in
18428 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18429 # suppresses any "Segmentation fault" message there. '((' could
18430 # trigger a bug in pdksh 5.2.14.
18431 for as_var in BASH_ENV ENV MAIL MAILPATH
18432 do eval test x\${$as_var+set} = xset \
18433 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18434 done
18435 PS1='$ '
18436 PS2='> '
18437 PS4='+ '
18439 # NLS nuisances.
18440 LC_ALL=C
18441 export LC_ALL
18442 LANGUAGE=C
18443 export LANGUAGE
18445 # CDPATH.
18446 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18449 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18450 # ----------------------------------------
18451 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18452 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18453 # script with STATUS, using 1 if that was 0.
18454 as_fn_error ()
18456 as_status=$1; test $as_status -eq 0 && as_status=1
18457 if test "$4"; then
18458 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18459 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18461 $as_echo "$as_me: error: $2" >&2
18462 as_fn_exit $as_status
18463 } # as_fn_error
18466 # as_fn_set_status STATUS
18467 # -----------------------
18468 # Set $? to STATUS, without forking.
18469 as_fn_set_status ()
18471 return $1
18472 } # as_fn_set_status
18474 # as_fn_exit STATUS
18475 # -----------------
18476 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18477 as_fn_exit ()
18479 set +e
18480 as_fn_set_status $1
18481 exit $1
18482 } # as_fn_exit
18484 # as_fn_unset VAR
18485 # ---------------
18486 # Portably unset VAR.
18487 as_fn_unset ()
18489 { eval $1=; unset $1;}
18491 as_unset=as_fn_unset
18492 # as_fn_append VAR VALUE
18493 # ----------------------
18494 # Append the text in VALUE to the end of the definition contained in VAR. Take
18495 # advantage of any shell optimizations that allow amortized linear growth over
18496 # repeated appends, instead of the typical quadratic growth present in naive
18497 # implementations.
18498 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18499 eval 'as_fn_append ()
18501 eval $1+=\$2
18503 else
18504 as_fn_append ()
18506 eval $1=\$$1\$2
18508 fi # as_fn_append
18510 # as_fn_arith ARG...
18511 # ------------------
18512 # Perform arithmetic evaluation on the ARGs, and store the result in the
18513 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18514 # must be portable across $(()) and expr.
18515 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18516 eval 'as_fn_arith ()
18518 as_val=$(( $* ))
18520 else
18521 as_fn_arith ()
18523 as_val=`expr "$@" || test $? -eq 1`
18525 fi # as_fn_arith
18528 if expr a : '\(a\)' >/dev/null 2>&1 &&
18529 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18530 as_expr=expr
18531 else
18532 as_expr=false
18535 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18536 as_basename=basename
18537 else
18538 as_basename=false
18541 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18542 as_dirname=dirname
18543 else
18544 as_dirname=false
18547 as_me=`$as_basename -- "$0" ||
18548 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18549 X"$0" : 'X\(//\)$' \| \
18550 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18551 $as_echo X/"$0" |
18552 sed '/^.*\/\([^/][^/]*\)\/*$/{
18553 s//\1/
18556 /^X\/\(\/\/\)$/{
18557 s//\1/
18560 /^X\/\(\/\).*/{
18561 s//\1/
18564 s/.*/./; q'`
18566 # Avoid depending upon Character Ranges.
18567 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18568 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18569 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18570 as_cr_digits='0123456789'
18571 as_cr_alnum=$as_cr_Letters$as_cr_digits
18573 ECHO_C= ECHO_N= ECHO_T=
18574 case `echo -n x` in #(((((
18575 -n*)
18576 case `echo 'xy\c'` in
18577 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18578 xy) ECHO_C='\c';;
18579 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18580 ECHO_T=' ';;
18581 esac;;
18583 ECHO_N='-n';;
18584 esac
18586 rm -f conf$$ conf$$.exe conf$$.file
18587 if test -d conf$$.dir; then
18588 rm -f conf$$.dir/conf$$.file
18589 else
18590 rm -f conf$$.dir
18591 mkdir conf$$.dir 2>/dev/null
18593 if (echo >conf$$.file) 2>/dev/null; then
18594 if ln -s conf$$.file conf$$ 2>/dev/null; then
18595 as_ln_s='ln -s'
18596 # ... but there are two gotchas:
18597 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18598 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18599 # In both cases, we have to default to `cp -pR'.
18600 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18601 as_ln_s='cp -pR'
18602 elif ln conf$$.file conf$$ 2>/dev/null; then
18603 as_ln_s=ln
18604 else
18605 as_ln_s='cp -pR'
18607 else
18608 as_ln_s='cp -pR'
18610 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18611 rmdir conf$$.dir 2>/dev/null
18614 # as_fn_mkdir_p
18615 # -------------
18616 # Create "$as_dir" as a directory, including parents if necessary.
18617 as_fn_mkdir_p ()
18620 case $as_dir in #(
18621 -*) as_dir=./$as_dir;;
18622 esac
18623 test -d "$as_dir" || eval $as_mkdir_p || {
18624 as_dirs=
18625 while :; do
18626 case $as_dir in #(
18627 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18628 *) as_qdir=$as_dir;;
18629 esac
18630 as_dirs="'$as_qdir' $as_dirs"
18631 as_dir=`$as_dirname -- "$as_dir" ||
18632 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18633 X"$as_dir" : 'X\(//\)[^/]' \| \
18634 X"$as_dir" : 'X\(//\)$' \| \
18635 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18636 $as_echo X"$as_dir" |
18637 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18638 s//\1/
18641 /^X\(\/\/\)[^/].*/{
18642 s//\1/
18645 /^X\(\/\/\)$/{
18646 s//\1/
18649 /^X\(\/\).*/{
18650 s//\1/
18653 s/.*/./; q'`
18654 test -d "$as_dir" && break
18655 done
18656 test -z "$as_dirs" || eval "mkdir $as_dirs"
18657 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18660 } # as_fn_mkdir_p
18661 if mkdir -p . 2>/dev/null; then
18662 as_mkdir_p='mkdir -p "$as_dir"'
18663 else
18664 test -d ./-p && rmdir ./-p
18665 as_mkdir_p=false
18669 # as_fn_executable_p FILE
18670 # -----------------------
18671 # Test if FILE is an executable regular file.
18672 as_fn_executable_p ()
18674 test -f "$1" && test -x "$1"
18675 } # as_fn_executable_p
18676 as_test_x='test -x'
18677 as_executable_p=as_fn_executable_p
18679 # Sed expression to map a string onto a valid CPP name.
18680 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18682 # Sed expression to map a string onto a valid variable name.
18683 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18686 exec 6>&1
18687 ## ----------------------------------- ##
18688 ## Main body of $CONFIG_STATUS script. ##
18689 ## ----------------------------------- ##
18690 _ASEOF
18691 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18693 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18694 # Save the log message, to keep $0 and so on meaningful, and to
18695 # report actual input values of CONFIG_FILES etc. instead of their
18696 # values after options handling.
18697 ac_log="
18698 This file was extended by Wine $as_me 1.7.52, which was
18699 generated by GNU Autoconf 2.69. Invocation command line was
18701 CONFIG_FILES = $CONFIG_FILES
18702 CONFIG_HEADERS = $CONFIG_HEADERS
18703 CONFIG_LINKS = $CONFIG_LINKS
18704 CONFIG_COMMANDS = $CONFIG_COMMANDS
18705 $ $0 $@
18707 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18710 _ACEOF
18712 case $ac_config_files in *"
18713 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18714 esac
18716 case $ac_config_headers in *"
18717 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18718 esac
18721 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18722 # Files that config.status was made for.
18723 config_files="$ac_config_files"
18724 config_headers="$ac_config_headers"
18725 config_links="$ac_config_links"
18726 config_commands="$ac_config_commands"
18728 _ACEOF
18730 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18731 ac_cs_usage="\
18732 \`$as_me' instantiates files and other configuration actions
18733 from templates according to the current configuration. Unless the files
18734 and actions are specified as TAGs, all are instantiated by default.
18736 Usage: $0 [OPTION]... [TAG]...
18738 -h, --help print this help, then exit
18739 -V, --version print version number and configuration settings, then exit
18740 --config print configuration, then exit
18741 -q, --quiet, --silent
18742 do not print progress messages
18743 -d, --debug don't remove temporary files
18744 --recheck update $as_me by reconfiguring in the same conditions
18745 --file=FILE[:TEMPLATE]
18746 instantiate the configuration file FILE
18747 --header=FILE[:TEMPLATE]
18748 instantiate the configuration header FILE
18750 Configuration files:
18751 $config_files
18753 Configuration headers:
18754 $config_headers
18756 Configuration links:
18757 $config_links
18759 Configuration commands:
18760 $config_commands
18762 Report bugs to <wine-devel@winehq.org>.
18763 Wine home page: <http://www.winehq.org>."
18765 _ACEOF
18766 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18767 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18768 ac_cs_version="\\
18769 Wine config.status 1.7.52
18770 configured by $0, generated by GNU Autoconf 2.69,
18771 with options \\"\$ac_cs_config\\"
18773 Copyright (C) 2012 Free Software Foundation, Inc.
18774 This config.status script is free software; the Free Software Foundation
18775 gives unlimited permission to copy, distribute and modify it."
18777 ac_pwd='$ac_pwd'
18778 srcdir='$srcdir'
18779 test -n "\$AWK" || AWK=awk
18780 _ACEOF
18782 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18783 # The default lists apply if the user does not specify any file.
18784 ac_need_defaults=:
18785 while test $# != 0
18787 case $1 in
18788 --*=?*)
18789 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18790 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18791 ac_shift=:
18793 --*=)
18794 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18795 ac_optarg=
18796 ac_shift=:
18799 ac_option=$1
18800 ac_optarg=$2
18801 ac_shift=shift
18803 esac
18805 case $ac_option in
18806 # Handling of the options.
18807 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18808 ac_cs_recheck=: ;;
18809 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18810 $as_echo "$ac_cs_version"; exit ;;
18811 --config | --confi | --conf | --con | --co | --c )
18812 $as_echo "$ac_cs_config"; exit ;;
18813 --debug | --debu | --deb | --de | --d | -d )
18814 debug=: ;;
18815 --file | --fil | --fi | --f )
18816 $ac_shift
18817 case $ac_optarg in
18818 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18819 '') as_fn_error $? "missing file argument" ;;
18820 esac
18821 as_fn_append CONFIG_FILES " '$ac_optarg'"
18822 ac_need_defaults=false;;
18823 --header | --heade | --head | --hea )
18824 $ac_shift
18825 case $ac_optarg in
18826 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18827 esac
18828 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18829 ac_need_defaults=false;;
18830 --he | --h)
18831 # Conflict between --help and --header
18832 as_fn_error $? "ambiguous option: \`$1'
18833 Try \`$0 --help' for more information.";;
18834 --help | --hel | -h )
18835 $as_echo "$ac_cs_usage"; exit ;;
18836 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18837 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18838 ac_cs_silent=: ;;
18840 # This is an error.
18841 -*) as_fn_error $? "unrecognized option: \`$1'
18842 Try \`$0 --help' for more information." ;;
18844 *) as_fn_append ac_config_targets " $1"
18845 ac_need_defaults=false ;;
18847 esac
18848 shift
18849 done
18851 ac_configure_extra_args=
18853 if $ac_cs_silent; then
18854 exec 6>/dev/null
18855 ac_configure_extra_args="$ac_configure_extra_args --silent"
18858 _ACEOF
18859 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18860 if \$ac_cs_recheck; then
18861 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18862 shift
18863 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18864 CONFIG_SHELL='$SHELL'
18865 export CONFIG_SHELL
18866 exec "\$@"
18869 _ACEOF
18870 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18871 exec 5>>config.log
18873 echo
18874 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18875 ## Running $as_me. ##
18876 _ASBOX
18877 $as_echo "$ac_log"
18878 } >&5
18880 _ACEOF
18881 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18883 # INIT-COMMANDS
18885 wine_fn_output_makedep ()
18887 as_dir=tools; as_fn_mkdir_p
18888 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18890 wine_fn_output_makefile ()
18892 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18893 `cat $wine_rules_file`
18894 _WINE_EOF
18895 as_fn_error $? "could not create Makefile" "$LINENO" 5
18897 wine_fn_output_gitignore ()
18899 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18900 $GITIGNORE
18901 _WINE_EOF
18902 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18905 _ACEOF
18907 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18909 # Handling of arguments.
18910 for ac_config_target in $ac_config_targets
18912 case $ac_config_target in
18913 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18914 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18915 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18916 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18917 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18918 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18919 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
18920 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18921 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18922 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18923 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18924 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18925 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18926 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18927 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18929 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18930 esac
18931 done
18934 # If the user did not use the arguments to specify the items to instantiate,
18935 # then the envvar interface is used. Set only those that are not.
18936 # We use the long form for the default assignment because of an extremely
18937 # bizarre bug on SunOS 4.1.3.
18938 if $ac_need_defaults; then
18939 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18940 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18941 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18942 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18945 # Have a temporary directory for convenience. Make it in the build tree
18946 # simply because there is no reason against having it here, and in addition,
18947 # creating and moving files from /tmp can sometimes cause problems.
18948 # Hook for its removal unless debugging.
18949 # Note that there is a small window in which the directory will not be cleaned:
18950 # after its creation but before its name has been assigned to `$tmp'.
18951 $debug ||
18953 tmp= ac_tmp=
18954 trap 'exit_status=$?
18955 : "${ac_tmp:=$tmp}"
18956 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18958 trap 'as_fn_exit 1' 1 2 13 15
18960 # Create a (secure) tmp directory for tmp files.
18963 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18964 test -d "$tmp"
18965 } ||
18967 tmp=./conf$$-$RANDOM
18968 (umask 077 && mkdir "$tmp")
18969 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18970 ac_tmp=$tmp
18972 # Set up the scripts for CONFIG_FILES section.
18973 # No need to generate them if there are no CONFIG_FILES.
18974 # This happens for instance with `./config.status config.h'.
18975 if test -n "$CONFIG_FILES"; then
18978 ac_cr=`echo X | tr X '\015'`
18979 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18980 # But we know of no other shell where ac_cr would be empty at this
18981 # point, so we can use a bashism as a fallback.
18982 if test "x$ac_cr" = x; then
18983 eval ac_cr=\$\'\\r\'
18985 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18986 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18987 ac_cs_awk_cr='\\r'
18988 else
18989 ac_cs_awk_cr=$ac_cr
18992 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18993 _ACEOF
18997 echo "cat >conf$$subs.awk <<_ACEOF" &&
18998 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18999 echo "_ACEOF"
19000 } >conf$$subs.sh ||
19001 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19002 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19003 ac_delim='%!_!# '
19004 for ac_last_try in false false false false false :; do
19005 . ./conf$$subs.sh ||
19006 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19008 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19009 if test $ac_delim_n = $ac_delim_num; then
19010 break
19011 elif $ac_last_try; then
19012 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19013 else
19014 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19016 done
19017 rm -f conf$$subs.sh
19019 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19020 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19021 _ACEOF
19022 sed -n '
19024 s/^/S["/; s/!.*/"]=/
19027 s/^[^!]*!//
19028 :repl
19029 t repl
19030 s/'"$ac_delim"'$//
19031 t delim
19034 s/\(.\{148\}\)..*/\1/
19035 t more1
19036 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19039 b repl
19040 :more1
19041 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19044 s/.\{148\}//
19045 t nl
19046 :delim
19048 s/\(.\{148\}\)..*/\1/
19049 t more2
19050 s/["\\]/\\&/g; s/^/"/; s/$/"/
19053 :more2
19054 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19057 s/.\{148\}//
19058 t delim
19059 ' <conf$$subs.awk | sed '
19060 /^[^""]/{
19062 s/\n//
19064 ' >>$CONFIG_STATUS || ac_write_fail=1
19065 rm -f conf$$subs.awk
19066 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19067 _ACAWK
19068 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19069 for (key in S) S_is_set[key] = 1
19070 FS = "\a"
19074 line = $ 0
19075 nfields = split(line, field, "@")
19076 substed = 0
19077 len = length(field[1])
19078 for (i = 2; i < nfields; i++) {
19079 key = field[i]
19080 keylen = length(key)
19081 if (S_is_set[key]) {
19082 value = S[key]
19083 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19084 len += length(value) + length(field[++i])
19085 substed = 1
19086 } else
19087 len += 1 + keylen
19090 print line
19093 _ACAWK
19094 _ACEOF
19095 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19096 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19097 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19098 else
19100 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19101 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19102 _ACEOF
19104 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19105 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19106 # trailing colons and then remove the whole line if VPATH becomes empty
19107 # (actually we leave an empty line to preserve line numbers).
19108 if test "x$srcdir" = x.; then
19109 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19111 s///
19112 s/^/:/
19113 s/[ ]*$/:/
19114 s/:\$(srcdir):/:/g
19115 s/:\${srcdir}:/:/g
19116 s/:@srcdir@:/:/g
19117 s/^:*//
19118 s/:*$//
19120 s/\(=[ ]*\).*/\1/
19122 s/\n//
19123 s/^[^=]*=[ ]*$//
19127 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19128 fi # test -n "$CONFIG_FILES"
19130 # Set up the scripts for CONFIG_HEADERS section.
19131 # No need to generate them if there are no CONFIG_HEADERS.
19132 # This happens for instance with `./config.status Makefile'.
19133 if test -n "$CONFIG_HEADERS"; then
19134 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19135 BEGIN {
19136 _ACEOF
19138 # Transform confdefs.h into an awk script `defines.awk', embedded as
19139 # here-document in config.status, that substitutes the proper values into
19140 # config.h.in to produce config.h.
19142 # Create a delimiter string that does not exist in confdefs.h, to ease
19143 # handling of long lines.
19144 ac_delim='%!_!# '
19145 for ac_last_try in false false :; do
19146 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19147 if test -z "$ac_tt"; then
19148 break
19149 elif $ac_last_try; then
19150 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19151 else
19152 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19154 done
19156 # For the awk script, D is an array of macro values keyed by name,
19157 # likewise P contains macro parameters if any. Preserve backslash
19158 # newline sequences.
19160 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19161 sed -n '
19162 s/.\{148\}/&'"$ac_delim"'/g
19163 t rset
19164 :rset
19165 s/^[ ]*#[ ]*define[ ][ ]*/ /
19166 t def
19168 :def
19169 s/\\$//
19170 t bsnl
19171 s/["\\]/\\&/g
19172 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19173 D["\1"]=" \3"/p
19174 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19176 :bsnl
19177 s/["\\]/\\&/g
19178 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19179 D["\1"]=" \3\\\\\\n"\\/p
19180 t cont
19181 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19182 t cont
19184 :cont
19186 s/.\{148\}/&'"$ac_delim"'/g
19187 t clear
19188 :clear
19189 s/\\$//
19190 t bsnlc
19191 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19193 :bsnlc
19194 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19195 b cont
19196 ' <confdefs.h | sed '
19197 s/'"$ac_delim"'/"\\\
19198 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19200 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19201 for (key in D) D_is_set[key] = 1
19202 FS = "\a"
19204 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19205 line = \$ 0
19206 split(line, arg, " ")
19207 if (arg[1] == "#") {
19208 defundef = arg[2]
19209 mac1 = arg[3]
19210 } else {
19211 defundef = substr(arg[1], 2)
19212 mac1 = arg[2]
19214 split(mac1, mac2, "(") #)
19215 macro = mac2[1]
19216 prefix = substr(line, 1, index(line, defundef) - 1)
19217 if (D_is_set[macro]) {
19218 # Preserve the white space surrounding the "#".
19219 print prefix "define", macro P[macro] D[macro]
19220 next
19221 } else {
19222 # Replace #undef with comments. This is necessary, for example,
19223 # in the case of _POSIX_SOURCE, which is predefined and required
19224 # on some systems where configure will not decide to define it.
19225 if (defundef == "undef") {
19226 print "/*", prefix defundef, macro, "*/"
19227 next
19231 { print }
19232 _ACAWK
19233 _ACEOF
19234 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19235 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19236 fi # test -n "$CONFIG_HEADERS"
19239 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19240 shift
19241 for ac_tag
19243 case $ac_tag in
19244 :[FHLC]) ac_mode=$ac_tag; continue;;
19245 esac
19246 case $ac_mode$ac_tag in
19247 :[FHL]*:*);;
19248 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19249 :[FH]-) ac_tag=-:-;;
19250 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19251 esac
19252 ac_save_IFS=$IFS
19253 IFS=:
19254 set x $ac_tag
19255 IFS=$ac_save_IFS
19256 shift
19257 ac_file=$1
19258 shift
19260 case $ac_mode in
19261 :L) ac_source=$1;;
19262 :[FH])
19263 ac_file_inputs=
19264 for ac_f
19266 case $ac_f in
19267 -) ac_f="$ac_tmp/stdin";;
19268 *) # Look for the file first in the build tree, then in the source tree
19269 # (if the path is not absolute). The absolute path cannot be DOS-style,
19270 # because $ac_f cannot contain `:'.
19271 test -f "$ac_f" ||
19272 case $ac_f in
19273 [\\/$]*) false;;
19274 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19275 esac ||
19276 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19277 esac
19278 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19279 as_fn_append ac_file_inputs " '$ac_f'"
19280 done
19282 # Let's still pretend it is `configure' which instantiates (i.e., don't
19283 # use $as_me), people would be surprised to read:
19284 # /* config.h. Generated by config.status. */
19285 configure_input='Generated from '`
19286 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19287 `' by configure.'
19288 if test x"$ac_file" != x-; then
19289 configure_input="$ac_file. $configure_input"
19290 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19291 $as_echo "$as_me: creating $ac_file" >&6;}
19293 # Neutralize special characters interpreted by sed in replacement strings.
19294 case $configure_input in #(
19295 *\&* | *\|* | *\\* )
19296 ac_sed_conf_input=`$as_echo "$configure_input" |
19297 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19298 *) ac_sed_conf_input=$configure_input;;
19299 esac
19301 case $ac_tag in
19302 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19303 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19304 esac
19306 esac
19308 ac_dir=`$as_dirname -- "$ac_file" ||
19309 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19310 X"$ac_file" : 'X\(//\)[^/]' \| \
19311 X"$ac_file" : 'X\(//\)$' \| \
19312 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19313 $as_echo X"$ac_file" |
19314 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19315 s//\1/
19318 /^X\(\/\/\)[^/].*/{
19319 s//\1/
19322 /^X\(\/\/\)$/{
19323 s//\1/
19326 /^X\(\/\).*/{
19327 s//\1/
19330 s/.*/./; q'`
19331 as_dir="$ac_dir"; as_fn_mkdir_p
19332 ac_builddir=.
19334 case "$ac_dir" in
19335 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19337 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19338 # A ".." for each directory in $ac_dir_suffix.
19339 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19340 case $ac_top_builddir_sub in
19341 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19342 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19343 esac ;;
19344 esac
19345 ac_abs_top_builddir=$ac_pwd
19346 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19347 # for backward compatibility:
19348 ac_top_builddir=$ac_top_build_prefix
19350 case $srcdir in
19351 .) # We are building in place.
19352 ac_srcdir=.
19353 ac_top_srcdir=$ac_top_builddir_sub
19354 ac_abs_top_srcdir=$ac_pwd ;;
19355 [\\/]* | ?:[\\/]* ) # Absolute name.
19356 ac_srcdir=$srcdir$ac_dir_suffix;
19357 ac_top_srcdir=$srcdir
19358 ac_abs_top_srcdir=$srcdir ;;
19359 *) # Relative name.
19360 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19361 ac_top_srcdir=$ac_top_build_prefix$srcdir
19362 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19363 esac
19364 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19367 case $ac_mode in
19370 # CONFIG_FILE
19373 _ACEOF
19375 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19376 # If the template does not know about datarootdir, expand it.
19377 # FIXME: This hack should be removed a few years after 2.60.
19378 ac_datarootdir_hack=; ac_datarootdir_seen=
19379 ac_sed_dataroot='
19380 /datarootdir/ {
19384 /@datadir@/p
19385 /@docdir@/p
19386 /@infodir@/p
19387 /@localedir@/p
19388 /@mandir@/p'
19389 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19390 *datarootdir*) ac_datarootdir_seen=yes;;
19391 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19393 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19394 _ACEOF
19395 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19396 ac_datarootdir_hack='
19397 s&@datadir@&$datadir&g
19398 s&@docdir@&$docdir&g
19399 s&@infodir@&$infodir&g
19400 s&@localedir@&$localedir&g
19401 s&@mandir@&$mandir&g
19402 s&\\\${datarootdir}&$datarootdir&g' ;;
19403 esac
19404 _ACEOF
19406 # Neutralize VPATH when `$srcdir' = `.'.
19407 # Shell code in configure.ac might set extrasub.
19408 # FIXME: do we really want to maintain this feature?
19409 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19410 ac_sed_extra="$ac_vpsub
19411 $extrasub
19412 _ACEOF
19413 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19415 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19416 s|@configure_input@|$ac_sed_conf_input|;t t
19417 s&@top_builddir@&$ac_top_builddir_sub&;t t
19418 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19419 s&@srcdir@&$ac_srcdir&;t t
19420 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19421 s&@top_srcdir@&$ac_top_srcdir&;t t
19422 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19423 s&@builddir@&$ac_builddir&;t t
19424 s&@abs_builddir@&$ac_abs_builddir&;t t
19425 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19426 $ac_datarootdir_hack
19428 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19429 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19431 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19432 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19433 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19434 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19436 which seems to be undefined. Please make sure it is defined" >&5
19437 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19438 which seems to be undefined. Please make sure it is defined" >&2;}
19440 rm -f "$ac_tmp/stdin"
19441 case $ac_file in
19442 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19443 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19444 esac \
19445 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19449 # CONFIG_HEADER
19451 if test x"$ac_file" != x-; then
19453 $as_echo "/* $configure_input */" \
19454 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19455 } >"$ac_tmp/config.h" \
19456 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19457 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19458 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19459 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19460 else
19461 rm -f "$ac_file"
19462 mv "$ac_tmp/config.h" "$ac_file" \
19463 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19465 else
19466 $as_echo "/* $configure_input */" \
19467 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19468 || as_fn_error $? "could not create -" "$LINENO" 5
19473 # CONFIG_LINK
19476 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19478 else
19479 # Prefer the file from the source tree if names are identical.
19480 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19481 ac_source=$srcdir/$ac_source
19484 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19485 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19487 if test ! -r "$ac_source"; then
19488 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19490 rm -f "$ac_file"
19492 # Try a relative symlink, then a hard link, then a copy.
19493 case $ac_source in
19494 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19495 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19496 esac
19497 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19498 ln "$ac_source" "$ac_file" 2>/dev/null ||
19499 cp -p "$ac_source" "$ac_file" ||
19500 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19503 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19504 $as_echo "$as_me: executing $ac_file commands" >&6;}
19506 esac
19509 case $ac_file$ac_mode in
19510 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19511 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19512 "Makefile":C) wine_fn_output_makefile Makefile ;;
19513 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19515 esac
19516 done # for ac_tag
19519 as_fn_exit 0
19520 _ACEOF
19521 ac_clean_files=$ac_clean_files_save
19523 test $ac_write_fail = 0 ||
19524 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19527 # configure is writing to config.log, and then calls config.status.
19528 # config.status does its own redirection, appending to config.log.
19529 # Unfortunately, on DOS this fails, as config.log is still kept open
19530 # by configure, so config.status won't be able to write to it; its
19531 # output is simply discarded. So we exec the FD to /dev/null,
19532 # effectively closing config.log, so it can be properly (re)opened and
19533 # appended to by config.status. When coming back to configure, we
19534 # need to make the FD available again.
19535 if test "$no_create" != yes; then
19536 ac_cs_success=:
19537 ac_config_status_args=
19538 test "$silent" = yes &&
19539 ac_config_status_args="$ac_config_status_args --quiet"
19540 exec 5>/dev/null
19541 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19542 exec 5>>config.log
19543 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19544 # would make configure fail if this is the last instruction.
19545 $ac_cs_success || as_fn_exit 1
19547 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19549 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19553 if test "$no_create" = "yes"
19554 then
19555 exit 0
19558 ac_save_IFS="$IFS"
19559 if test "x$wine_notices != "x; then
19560 echo >&6
19561 IFS="|"
19562 for msg in $wine_notices; do
19563 IFS="$ac_save_IFS"
19564 if ${msg:+false} :; then :
19566 else
19567 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19568 $as_echo "$as_me: $msg" >&6;}
19570 done
19572 IFS="|"
19573 for msg in $wine_warnings; do
19574 IFS="$ac_save_IFS"
19575 if ${msg:+false} :; then :
19577 else
19578 echo >&2
19579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19580 $as_echo "$as_me: WARNING: $msg" >&2;}
19582 done
19583 IFS="$ac_save_IFS"
19585 $as_echo "
19586 $as_me: Finished. Do '${ac_make}' to compile Wine.
19587 " >&6