webservices: Implement WsReadToStartElement.
[wine/multimedia.git] / configure
blob872db314b11974083d8232da3a9816037a4df41e
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.52.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='1.7.52'
584 PACKAGE_STRING='Wine 1.7.52'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 LINGUAS
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 EXCESS_PRECISION_CFLAGS
636 BUILTINFLAG
637 EXTRACFLAGS
638 PROCSTAT_LIBS
639 KSTAT_LIBS
640 MPG123_LIBS
641 MPG123_CFLAGS
642 TIFF_LIBS
643 TIFF_CFLAGS
644 PNG_LIBS
645 PNG_CFLAGS
646 JPEG_LIBS
647 JPEG_CFLAGS
648 FONTCONFIG_LIBS
649 FONTCONFIG_CFLAGS
650 CUPS_CFLAGS
651 CAPI20_LIBS
652 CAPI20_CFLAGS
653 OSS4_CFLAGS
654 ALSA_LIBS
655 GSTREAMER_LIBS
656 GSTREAMER_CFLAGS
657 GETTEXTPO_LIBS
658 Z_LIBS
659 FREETYPE_LIBS
660 FREETYPE_CFLAGS
661 LCMS2_LIBS
662 LCMS2_CFLAGS
663 RESOLV_LIBS
664 GPHOTO2_PORT_LIBS
665 GPHOTO2_PORT_CFLAGS
666 GPHOTO2_LIBS
667 GPHOTO2_CFLAGS
668 SANE_LIBS
669 SANE_CFLAGS
670 GNUTLS_LIBS
671 GNUTLS_CFLAGS
672 HAL_LIBS
673 HAL_CFLAGS
674 DBUS_LIBS
675 DBUS_CFLAGS
676 XSLT_LIBS
677 XSLT_CFLAGS
678 XML2_LIBS
679 XML2_CFLAGS
680 LIBPCAP
681 X_EXTRA_LIBS
682 X_LIBS
683 X_PRE_LIBS
684 X_CFLAGS
685 XMKMF
686 PTHREAD_LIBS
687 CROSSCC
688 CROSSTARGET
689 PRELINK
690 CARBON_LIBS
691 QUICKTIME_LIBS
692 OPENCL_LIBS
693 OPENAL_LIBS
694 COREAUDIO_LIBS
695 SECURITY_LIBS
696 DISKARBITRATION_LIBS
697 APPKIT_LIBS
698 CORESERVICES_LIBS
699 APPLICATIONSERVICES_LIBS
700 FORCEFEEDBACK_LIBS
701 IOKIT_LIBS
702 COREFOUNDATION_LIBS
703 LIBWINE_RULES
704 SOCKET_LIBS
705 DLLTOOL
706 LOADER_RULES
707 ALL_TEST_RESOURCES
708 READELF
709 OTOOL
711 LDRPATH_LOCAL
712 LDRPATH_INSTALL
713 DLLFLAGS
714 DLLPREFIX
715 dlldir
717 OPENGL_LIBS
718 ICOTOOL
719 CONVERT
720 RSVG
721 FONTFORGE
722 PKG_CONFIG
723 MSGFMT
724 LDCONFIG
725 EGREP
726 GREP
727 LN_S
728 RANLIB
729 ARFLAGS
730 STRIP
731 ac_ct_AR
733 BISON
734 FLEX
735 TOOLSDIR
736 TARGETFLAGS
738 CPPBIN
739 ac_ct_CXX
740 CXXFLAGS
742 OBJEXT
743 EXEEXT
744 ac_ct_CC
745 CPPFLAGS
746 LDFLAGS
747 CFLAGS
749 SET_MAKE
750 host_os
751 host_vendor
752 host_cpu
753 host
754 build_os
755 build_vendor
756 build_cpu
757 build
758 target_alias
759 host_alias
760 build_alias
761 LIBS
762 ECHO_T
763 ECHO_N
764 ECHO_C
765 DEFS
766 mandir
767 localedir
768 libdir
769 psdir
770 pdfdir
771 dvidir
772 htmldir
773 infodir
774 docdir
775 oldincludedir
776 includedir
777 runstatedir
778 localstatedir
779 sharedstatedir
780 sysconfdir
781 datadir
782 datarootdir
783 libexecdir
784 sbindir
785 bindir
786 program_transform_name
787 prefix
788 exec_prefix
789 PACKAGE_URL
790 PACKAGE_BUGREPORT
791 PACKAGE_STRING
792 PACKAGE_VERSION
793 PACKAGE_TARNAME
794 PACKAGE_NAME
795 PATH_SEPARATOR
796 SHELL'
797 ac_subst_files=''
798 ac_user_opts='
799 enable_option_checking
800 enable_win16
801 enable_win64
802 enable_tests
803 enable_maintainer_mode
804 with_alsa
805 with_capi
806 with_cms
807 with_coreaudio
808 with_cups
809 with_curses
810 with_dbus
811 with_fontconfig
812 with_freetype
813 with_gettext
814 with_gettextpo
815 with_gphoto
816 with_glu
817 with_gnutls
818 with_gsm
819 with_gstreamer
820 with_hal
821 with_jpeg
822 with_ldap
823 with_mpg123
824 with_netapi
825 with_openal
826 with_opencl
827 with_opengl
828 with_osmesa
829 with_oss
830 with_pcap
831 with_png
832 with_pthread
833 with_sane
834 with_tiff
835 with_v4l
836 with_xcomposite
837 with_xcursor
838 with_xinerama
839 with_xinput
840 with_xinput2
841 with_xml
842 with_xrandr
843 with_xrender
844 with_xshape
845 with_xshm
846 with_xslt
847 with_xxf86vm
848 with_zlib
849 with_wine_tools
850 with_wine64
851 enable_largefile
852 with_x
853 enable_acledit
854 enable_aclui
855 enable_activeds
856 enable_actxprxy
857 enable_advapi32
858 enable_advpack
859 enable_amstream
860 enable_api_ms_win_core_com_l1_1_0
861 enable_api_ms_win_core_console_l1_1_0
862 enable_api_ms_win_core_datetime_l1_1_0
863 enable_api_ms_win_core_datetime_l1_1_1
864 enable_api_ms_win_core_debug_l1_1_0
865 enable_api_ms_win_core_debug_l1_1_1
866 enable_api_ms_win_core_errorhandling_l1_1_0
867 enable_api_ms_win_core_errorhandling_l1_1_1
868 enable_api_ms_win_core_errorhandling_l1_1_2
869 enable_api_ms_win_core_fibers_l1_1_0
870 enable_api_ms_win_core_fibers_l1_1_1
871 enable_api_ms_win_core_file_l1_1_0
872 enable_api_ms_win_core_file_l1_2_0
873 enable_api_ms_win_core_file_l2_1_0
874 enable_api_ms_win_core_file_l2_1_1
875 enable_api_ms_win_core_handle_l1_1_0
876 enable_api_ms_win_core_heap_l1_1_0
877 enable_api_ms_win_core_heap_l1_2_0
878 enable_api_ms_win_core_heap_obsolete_l1_1_0
879 enable_api_ms_win_core_interlocked_l1_1_0
880 enable_api_ms_win_core_interlocked_l1_2_0
881 enable_api_ms_win_core_io_l1_1_1
882 enable_api_ms_win_core_kernel32_legacy_l1_1_0
883 enable_api_ms_win_core_libraryloader_l1_1_0
884 enable_api_ms_win_core_libraryloader_l1_1_1
885 enable_api_ms_win_core_localization_l1_2_0
886 enable_api_ms_win_core_localization_l1_2_1
887 enable_api_ms_win_core_localization_obsolete_l1_1_0
888 enable_api_ms_win_core_localregistry_l1_1_0
889 enable_api_ms_win_core_memory_l1_1_0
890 enable_api_ms_win_core_memory_l1_1_1
891 enable_api_ms_win_core_misc_l1_1_0
892 enable_api_ms_win_core_namedpipe_l1_1_0
893 enable_api_ms_win_core_namedpipe_l1_2_0
894 enable_api_ms_win_core_processenvironment_l1_1_0
895 enable_api_ms_win_core_processenvironment_l1_2_0
896 enable_api_ms_win_core_processthreads_l1_1_0
897 enable_api_ms_win_core_processthreads_l1_1_1
898 enable_api_ms_win_core_processthreads_l1_1_2
899 enable_api_ms_win_core_profile_l1_1_0
900 enable_api_ms_win_core_psapi_l1_1_0
901 enable_api_ms_win_core_registry_l1_1_0
902 enable_api_ms_win_core_rtlsupport_l1_1_0
903 enable_api_ms_win_core_rtlsupport_l1_2_0
904 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
905 enable_api_ms_win_core_string_l1_1_0
906 enable_api_ms_win_core_synch_l1_1_0
907 enable_api_ms_win_core_synch_l1_2_0
908 enable_api_ms_win_core_sysinfo_l1_1_0
909 enable_api_ms_win_core_sysinfo_l1_2_0
910 enable_api_ms_win_core_sysinfo_l1_2_1
911 enable_api_ms_win_core_threadpool_legacy_l1_1_0
912 enable_api_ms_win_core_timezone_l1_1_0
913 enable_api_ms_win_core_url_l1_1_0
914 enable_api_ms_win_core_util_l1_1_0
915 enable_api_ms_win_core_winrt_error_l1_1_0
916 enable_api_ms_win_core_winrt_error_l1_1_1
917 enable_api_ms_win_core_winrt_l1_1_0
918 enable_api_ms_win_core_winrt_string_l1_1_0
919 enable_api_ms_win_core_xstate_l2_1_0
920 enable_api_ms_win_crt_conio_l1_1_0
921 enable_api_ms_win_crt_convert_l1_1_0
922 enable_api_ms_win_crt_environment_l1_1_0
923 enable_api_ms_win_crt_filesystem_l1_1_0
924 enable_api_ms_win_crt_heap_l1_1_0
925 enable_api_ms_win_crt_locale_l1_1_0
926 enable_api_ms_win_crt_math_l1_1_0
927 enable_api_ms_win_crt_multibyte_l1_1_0
928 enable_api_ms_win_crt_private_l1_1_0
929 enable_api_ms_win_crt_process_l1_1_0
930 enable_api_ms_win_crt_runtime_l1_1_0
931 enable_api_ms_win_crt_stdio_l1_1_0
932 enable_api_ms_win_crt_string_l1_1_0
933 enable_api_ms_win_crt_time_l1_1_0
934 enable_api_ms_win_crt_utility_l1_1_0
935 enable_api_ms_win_downlevel_advapi32_l1_1_0
936 enable_api_ms_win_downlevel_advapi32_l2_1_0
937 enable_api_ms_win_downlevel_normaliz_l1_1_0
938 enable_api_ms_win_downlevel_ole32_l1_1_0
939 enable_api_ms_win_downlevel_shell32_l1_1_0
940 enable_api_ms_win_downlevel_shlwapi_l1_1_0
941 enable_api_ms_win_downlevel_shlwapi_l2_1_0
942 enable_api_ms_win_downlevel_user32_l1_1_0
943 enable_api_ms_win_downlevel_version_l1_1_0
944 enable_api_ms_win_eventing_provider_l1_1_0
945 enable_api_ms_win_ntuser_dc_access_l1_1_0
946 enable_api_ms_win_security_base_l1_1_0
947 enable_api_ms_win_security_base_l1_2_0
948 enable_api_ms_win_security_sddl_l1_1_0
949 enable_api_ms_win_service_core_l1_1_1
950 enable_api_ms_win_service_management_l1_1_0
951 enable_api_ms_win_service_winsvc_l1_2_0
952 enable_apphelp
953 enable_appwiz_cpl
954 enable_atl
955 enable_atl100
956 enable_atl110
957 enable_atl80
958 enable_atl90
959 enable_authz
960 enable_avicap32
961 enable_avifil32
962 enable_avrt
963 enable_bcrypt
964 enable_browseui
965 enable_cabinet
966 enable_capi2032
967 enable_cards
968 enable_cfgmgr32
969 enable_clusapi
970 enable_combase
971 enable_comcat
972 enable_comctl32
973 enable_comdlg32
974 enable_compstui
975 enable_comsvcs
976 enable_connect
977 enable_credui
978 enable_crtdll
979 enable_crypt32
980 enable_cryptdlg
981 enable_cryptdll
982 enable_cryptext
983 enable_cryptnet
984 enable_cryptui
985 enable_ctapi32
986 enable_ctl3d32
987 enable_d2d1
988 enable_d3d10
989 enable_d3d10_1
990 enable_d3d10core
991 enable_d3d11
992 enable_d3d8
993 enable_d3d9
994 enable_d3dcompiler_33
995 enable_d3dcompiler_34
996 enable_d3dcompiler_35
997 enable_d3dcompiler_36
998 enable_d3dcompiler_37
999 enable_d3dcompiler_38
1000 enable_d3dcompiler_39
1001 enable_d3dcompiler_40
1002 enable_d3dcompiler_41
1003 enable_d3dcompiler_42
1004 enable_d3dcompiler_43
1005 enable_d3dcompiler_46
1006 enable_d3dcompiler_47
1007 enable_d3dim
1008 enable_d3drm
1009 enable_d3dx10_33
1010 enable_d3dx10_34
1011 enable_d3dx10_35
1012 enable_d3dx10_36
1013 enable_d3dx10_37
1014 enable_d3dx10_38
1015 enable_d3dx10_39
1016 enable_d3dx10_40
1017 enable_d3dx10_41
1018 enable_d3dx10_42
1019 enable_d3dx10_43
1020 enable_d3dx11_42
1021 enable_d3dx11_43
1022 enable_d3dx9_24
1023 enable_d3dx9_25
1024 enable_d3dx9_26
1025 enable_d3dx9_27
1026 enable_d3dx9_28
1027 enable_d3dx9_29
1028 enable_d3dx9_30
1029 enable_d3dx9_31
1030 enable_d3dx9_32
1031 enable_d3dx9_33
1032 enable_d3dx9_34
1033 enable_d3dx9_35
1034 enable_d3dx9_36
1035 enable_d3dx9_37
1036 enable_d3dx9_38
1037 enable_d3dx9_39
1038 enable_d3dx9_40
1039 enable_d3dx9_41
1040 enable_d3dx9_42
1041 enable_d3dx9_43
1042 enable_d3dxof
1043 enable_davclnt
1044 enable_dbgeng
1045 enable_dbghelp
1046 enable_dciman32
1047 enable_ddraw
1048 enable_ddrawex
1049 enable_devenum
1050 enable_dhcpcsvc
1051 enable_difxapi
1052 enable_dinput
1053 enable_dinput8
1054 enable_dispex
1055 enable_dmband
1056 enable_dmcompos
1057 enable_dmime
1058 enable_dmloader
1059 enable_dmscript
1060 enable_dmstyle
1061 enable_dmsynth
1062 enable_dmusic
1063 enable_dmusic32
1064 enable_dnsapi
1065 enable_dplay
1066 enable_dplayx
1067 enable_dpnaddr
1068 enable_dpnet
1069 enable_dpnhpast
1070 enable_dpnlobby
1071 enable_dpvoice
1072 enable_dpwsockx
1073 enable_drmclien
1074 enable_dsound
1075 enable_dssenh
1076 enable_dswave
1077 enable_dwmapi
1078 enable_dwrite
1079 enable_dxdiagn
1080 enable_dxgi
1081 enable_dxva2
1082 enable_esent
1083 enable_evr
1084 enable_explorerframe
1085 enable_ext_ms_win_gdi_devcaps_l1_1_0
1086 enable_faultrep
1087 enable_fltlib
1088 enable_fntcache
1089 enable_fontsub
1090 enable_fusion
1091 enable_fwpuclnt
1092 enable_gameux
1093 enable_gdi32
1094 enable_gdiplus
1095 enable_glu32
1096 enable_gphoto2_ds
1097 enable_gpkcsp
1098 enable_hal
1099 enable_hhctrl_ocx
1100 enable_hid
1101 enable_hidclass_sys
1102 enable_hlink
1103 enable_hnetcfg
1104 enable_httpapi
1105 enable_iccvid
1106 enable_icmp
1107 enable_ieframe
1108 enable_imaadp32_acm
1109 enable_imagehlp
1110 enable_imm32
1111 enable_inetcomm
1112 enable_inetcpl_cpl
1113 enable_inetmib1
1114 enable_infosoft
1115 enable_initpki
1116 enable_inkobj
1117 enable_inseng
1118 enable_iphlpapi
1119 enable_itircl
1120 enable_itss
1121 enable_joy_cpl
1122 enable_jscript
1123 enable_jsproxy
1124 enable_kernel32
1125 enable_ksuser
1126 enable_ktmw32
1127 enable_loadperf
1128 enable_localspl
1129 enable_localui
1130 enable_lz32
1131 enable_mapi32
1132 enable_mapistub
1133 enable_mciavi32
1134 enable_mcicda
1135 enable_mciqtz32
1136 enable_mciseq
1137 enable_mciwave
1138 enable_mf
1139 enable_mfplat
1140 enable_mfreadwrite
1141 enable_mgmtapi
1142 enable_midimap
1143 enable_mlang
1144 enable_mmcndmgr
1145 enable_mmdevapi
1146 enable_mountmgr_sys
1147 enable_mpr
1148 enable_mprapi
1149 enable_msacm32_drv
1150 enable_msacm32
1151 enable_msadp32_acm
1152 enable_msasn1
1153 enable_mscat32
1154 enable_mscms
1155 enable_mscoree
1156 enable_msctf
1157 enable_msctfp
1158 enable_msdaps
1159 enable_msdelta
1160 enable_msdmo
1161 enable_msftedit
1162 enable_msg711_acm
1163 enable_msgsm32_acm
1164 enable_mshtml_tlb
1165 enable_mshtml
1166 enable_msi
1167 enable_msident
1168 enable_msimg32
1169 enable_msimsg
1170 enable_msimtf
1171 enable_msisip
1172 enable_msisys_ocx
1173 enable_msls31
1174 enable_msnet32
1175 enable_mspatcha
1176 enable_msrle32
1177 enable_msscript_ocx
1178 enable_mssign32
1179 enable_mssip32
1180 enable_mstask
1181 enable_msvcirt
1182 enable_msvcm80
1183 enable_msvcm90
1184 enable_msvcp100
1185 enable_msvcp110
1186 enable_msvcp120
1187 enable_msvcp120_app
1188 enable_msvcp60
1189 enable_msvcp70
1190 enable_msvcp71
1191 enable_msvcp80
1192 enable_msvcp90
1193 enable_msvcr100
1194 enable_msvcr110
1195 enable_msvcr120
1196 enable_msvcr120_app
1197 enable_msvcr70
1198 enable_msvcr71
1199 enable_msvcr80
1200 enable_msvcr90
1201 enable_msvcrt
1202 enable_msvcrt20
1203 enable_msvcrt40
1204 enable_msvcrtd
1205 enable_msvfw32
1206 enable_msvidc32
1207 enable_mswsock
1208 enable_msxml
1209 enable_msxml2
1210 enable_msxml3
1211 enable_msxml4
1212 enable_msxml6
1213 enable_nddeapi
1214 enable_ndis_sys
1215 enable_netapi32
1216 enable_netcfgx
1217 enable_netprofm
1218 enable_newdev
1219 enable_normaliz
1220 enable_npmshtml
1221 enable_npptools
1222 enable_ntdll
1223 enable_ntdsapi
1224 enable_ntoskrnl_exe
1225 enable_ntprint
1226 enable_objsel
1227 enable_odbc32
1228 enable_odbccp32
1229 enable_odbccu32
1230 enable_ole32
1231 enable_oleacc
1232 enable_oleaut32
1233 enable_olecli32
1234 enable_oledb32
1235 enable_oledlg
1236 enable_olepro32
1237 enable_olesvr32
1238 enable_olethk32
1239 enable_openal32
1240 enable_opencl
1241 enable_opengl32
1242 enable_packager
1243 enable_pdh
1244 enable_photometadatahandler
1245 enable_pidgen
1246 enable_powrprof
1247 enable_printui
1248 enable_prntvpt
1249 enable_propsys
1250 enable_psapi
1251 enable_pstorec
1252 enable_qcap
1253 enable_qedit
1254 enable_qmgr
1255 enable_qmgrprxy
1256 enable_quartz
1257 enable_query
1258 enable_rasapi32
1259 enable_rasdlg
1260 enable_regapi
1261 enable_resutils
1262 enable_riched20
1263 enable_riched32
1264 enable_rpcrt4
1265 enable_rsabase
1266 enable_rsaenh
1267 enable_rstrtmgr
1268 enable_rtutils
1269 enable_samlib
1270 enable_sane_ds
1271 enable_scarddlg
1272 enable_sccbase
1273 enable_schannel
1274 enable_schedsvc
1275 enable_scrrun
1276 enable_scsiport_sys
1277 enable_secur32
1278 enable_security
1279 enable_sensapi
1280 enable_serialui
1281 enable_setupapi
1282 enable_sfc
1283 enable_sfc_os
1284 enable_shdoclc
1285 enable_shdocvw
1286 enable_shell32
1287 enable_shfolder
1288 enable_shlwapi
1289 enable_slbcsp
1290 enable_slc
1291 enable_snmpapi
1292 enable_softpub
1293 enable_spoolss
1294 enable_stdole2_tlb
1295 enable_stdole32_tlb
1296 enable_sti
1297 enable_svrapi
1298 enable_sxs
1299 enable_t2embed
1300 enable_tapi32
1301 enable_taskschd
1302 enable_traffic
1303 enable_twain_32
1304 enable_ucrtbase
1305 enable_unicows
1306 enable_updspapi
1307 enable_url
1308 enable_urlmon
1309 enable_usbd_sys
1310 enable_user32
1311 enable_userenv
1312 enable_usp10
1313 enable_uxtheme
1314 enable_vbscript
1315 enable_vcomp
1316 enable_vcomp100
1317 enable_vcomp110
1318 enable_vcomp120
1319 enable_vcomp90
1320 enable_vdmdbg
1321 enable_version
1322 enable_vssapi
1323 enable_wbemdisp
1324 enable_wbemprox
1325 enable_webservices
1326 enable_wer
1327 enable_wevtapi
1328 enable_wiaservc
1329 enable_windowscodecs
1330 enable_windowscodecsext
1331 enable_winealsa_drv
1332 enable_winecoreaudio_drv
1333 enable_wined3d
1334 enable_winegstreamer
1335 enable_winejoystick_drv
1336 enable_winemac_drv
1337 enable_winemapi
1338 enable_winemp3_acm
1339 enable_wineoss_drv
1340 enable_wineps_drv
1341 enable_wineqtdecoder
1342 enable_winex11_drv
1343 enable_wing32
1344 enable_winhttp
1345 enable_wininet
1346 enable_winmm
1347 enable_winnls32
1348 enable_winscard
1349 enable_winspool_drv
1350 enable_winsta
1351 enable_wintab32
1352 enable_wintrust
1353 enable_wlanapi
1354 enable_wldap32
1355 enable_wmi
1356 enable_wmiutils
1357 enable_wmp
1358 enable_wmvcore
1359 enable_wnaspi32
1360 enable_wpcap
1361 enable_ws2_32
1362 enable_wshom_ocx
1363 enable_wsnmp32
1364 enable_wsock32
1365 enable_wtsapi32
1366 enable_wuapi
1367 enable_wuaueng
1368 enable_x3daudio1_0
1369 enable_x3daudio1_1
1370 enable_x3daudio1_2
1371 enable_x3daudio1_3
1372 enable_x3daudio1_4
1373 enable_x3daudio1_5
1374 enable_x3daudio1_6
1375 enable_x3daudio1_7
1376 enable_xapofx1_1
1377 enable_xapofx1_2
1378 enable_xapofx1_3
1379 enable_xapofx1_4
1380 enable_xapofx1_5
1381 enable_xaudio2_0
1382 enable_xaudio2_1
1383 enable_xaudio2_2
1384 enable_xaudio2_3
1385 enable_xaudio2_4
1386 enable_xaudio2_5
1387 enable_xaudio2_6
1388 enable_xaudio2_7
1389 enable_xaudio2_8
1390 enable_xinput1_1
1391 enable_xinput1_2
1392 enable_xinput1_3
1393 enable_xinput1_4
1394 enable_xinput9_1_0
1395 enable_xmllite
1396 enable_xolehlp
1397 enable_xpsprint
1398 enable_xpssvcs
1399 enable_documentation
1400 enable_fonts
1401 enable_include
1402 enable_libs_port
1403 enable_libs_wine
1404 enable_libs_wpp
1405 enable_loader
1406 enable_arp
1407 enable_aspnet_regiis
1408 enable_attrib
1409 enable_cabarc
1410 enable_cacls
1411 enable_clock
1412 enable_cmd
1413 enable_conhost
1414 enable_control
1415 enable_cscript
1416 enable_dpnsvr
1417 enable_dxdiag
1418 enable_eject
1419 enable_expand
1420 enable_explorer
1421 enable_extrac32
1422 enable_findstr
1423 enable_hh
1424 enable_hostname
1425 enable_icinfo
1426 enable_iexplore
1427 enable_ipconfig
1428 enable_lodctr
1429 enable_mofcomp
1430 enable_mshta
1431 enable_msiexec
1432 enable_net
1433 enable_netsh
1434 enable_netstat
1435 enable_ngen
1436 enable_notepad
1437 enable_oleview
1438 enable_ping
1439 enable_plugplay
1440 enable_presentationfontcache
1441 enable_progman
1442 enable_reg
1443 enable_regasm
1444 enable_regedit
1445 enable_regsvcs
1446 enable_regsvr32
1447 enable_rpcss
1448 enable_rundll32
1449 enable_sc
1450 enable_schtasks
1451 enable_sdbinst
1452 enable_secedit
1453 enable_servicemodelreg
1454 enable_services
1455 enable_spoolsv
1456 enable_start
1457 enable_svchost
1458 enable_systeminfo
1459 enable_taskkill
1460 enable_tasklist
1461 enable_taskmgr
1462 enable_termsv
1463 enable_uninstaller
1464 enable_unlodctr
1465 enable_view
1466 enable_wevtutil
1467 enable_wineboot
1468 enable_winebrowser
1469 enable_winecfg
1470 enable_wineconsole
1471 enable_winedbg
1472 enable_winedevice
1473 enable_winefile
1474 enable_winemenubuilder
1475 enable_winemine
1476 enable_winemsibuilder
1477 enable_winepath
1478 enable_winetest
1479 enable_winhlp32
1480 enable_winver
1481 enable_wmic
1482 enable_wordpad
1483 enable_write
1484 enable_wscript
1485 enable_wusa
1486 enable_xcopy
1487 enable_server
1488 enable_tools
1490 ac_precious_vars='build_alias
1491 host_alias
1492 target_alias
1494 CFLAGS
1495 LDFLAGS
1496 LIBS
1497 CPPFLAGS
1499 CXXFLAGS
1502 XMKMF
1503 XML2_CFLAGS
1504 XML2_LIBS
1505 XSLT_CFLAGS
1506 XSLT_LIBS
1507 DBUS_CFLAGS
1508 DBUS_LIBS
1509 HAL_CFLAGS
1510 HAL_LIBS
1511 GNUTLS_CFLAGS
1512 GNUTLS_LIBS
1513 SANE_CFLAGS
1514 SANE_LIBS
1515 GPHOTO2_CFLAGS
1516 GPHOTO2_LIBS
1517 GPHOTO2_PORT_CFLAGS
1518 GPHOTO2_PORT_LIBS
1519 LCMS2_CFLAGS
1520 LCMS2_LIBS
1521 FREETYPE_CFLAGS
1522 FREETYPE_LIBS
1523 GSTREAMER_CFLAGS
1524 GSTREAMER_LIBS
1525 CAPI20_CFLAGS
1526 CAPI20_LIBS
1527 FONTCONFIG_CFLAGS
1528 FONTCONFIG_LIBS
1529 JPEG_CFLAGS
1530 JPEG_LIBS
1531 PNG_CFLAGS
1532 PNG_LIBS
1533 TIFF_CFLAGS
1534 TIFF_LIBS
1535 MPG123_CFLAGS
1536 MPG123_LIBS'
1539 # Initialize some variables set by options.
1540 ac_init_help=
1541 ac_init_version=false
1542 ac_unrecognized_opts=
1543 ac_unrecognized_sep=
1544 # The variables have the same names as the options, with
1545 # dashes changed to underlines.
1546 cache_file=/dev/null
1547 exec_prefix=NONE
1548 no_create=
1549 no_recursion=
1550 prefix=NONE
1551 program_prefix=NONE
1552 program_suffix=NONE
1553 program_transform_name=s,x,x,
1554 silent=
1555 site=
1556 srcdir=
1557 verbose=
1558 x_includes=NONE
1559 x_libraries=NONE
1561 # Installation directory options.
1562 # These are left unexpanded so users can "make install exec_prefix=/foo"
1563 # and all the variables that are supposed to be based on exec_prefix
1564 # by default will actually change.
1565 # Use braces instead of parens because sh, perl, etc. also accept them.
1566 # (The list follows the same order as the GNU Coding Standards.)
1567 bindir='${exec_prefix}/bin'
1568 sbindir='${exec_prefix}/sbin'
1569 libexecdir='${exec_prefix}/libexec'
1570 datarootdir='${prefix}/share'
1571 datadir='${datarootdir}'
1572 sysconfdir='${prefix}/etc'
1573 sharedstatedir='${prefix}/com'
1574 localstatedir='${prefix}/var'
1575 runstatedir='${localstatedir}/run'
1576 includedir='${prefix}/include'
1577 oldincludedir='/usr/include'
1578 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1579 infodir='${datarootdir}/info'
1580 htmldir='${docdir}'
1581 dvidir='${docdir}'
1582 pdfdir='${docdir}'
1583 psdir='${docdir}'
1584 libdir='${exec_prefix}/lib'
1585 localedir='${datarootdir}/locale'
1586 mandir='${datarootdir}/man'
1588 ac_prev=
1589 ac_dashdash=
1590 for ac_option
1592 # If the previous option needs an argument, assign it.
1593 if test -n "$ac_prev"; then
1594 eval $ac_prev=\$ac_option
1595 ac_prev=
1596 continue
1599 case $ac_option in
1600 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1601 *=) ac_optarg= ;;
1602 *) ac_optarg=yes ;;
1603 esac
1605 # Accept the important Cygnus configure options, so we can diagnose typos.
1607 case $ac_dashdash$ac_option in
1609 ac_dashdash=yes ;;
1611 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1612 ac_prev=bindir ;;
1613 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1614 bindir=$ac_optarg ;;
1616 -build | --build | --buil | --bui | --bu)
1617 ac_prev=build_alias ;;
1618 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1619 build_alias=$ac_optarg ;;
1621 -cache-file | --cache-file | --cache-fil | --cache-fi \
1622 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1623 ac_prev=cache_file ;;
1624 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1625 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1626 cache_file=$ac_optarg ;;
1628 --config-cache | -C)
1629 cache_file=config.cache ;;
1631 -datadir | --datadir | --datadi | --datad)
1632 ac_prev=datadir ;;
1633 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1634 datadir=$ac_optarg ;;
1636 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1637 | --dataroo | --dataro | --datar)
1638 ac_prev=datarootdir ;;
1639 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1640 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1641 datarootdir=$ac_optarg ;;
1643 -disable-* | --disable-*)
1644 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1645 # Reject names that are not valid shell variable names.
1646 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1647 as_fn_error $? "invalid feature name: $ac_useropt"
1648 ac_useropt_orig=$ac_useropt
1649 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1650 case $ac_user_opts in
1652 "enable_$ac_useropt"
1653 "*) ;;
1654 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1655 ac_unrecognized_sep=', ';;
1656 esac
1657 eval enable_$ac_useropt=no ;;
1659 -docdir | --docdir | --docdi | --doc | --do)
1660 ac_prev=docdir ;;
1661 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1662 docdir=$ac_optarg ;;
1664 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1665 ac_prev=dvidir ;;
1666 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1667 dvidir=$ac_optarg ;;
1669 -enable-* | --enable-*)
1670 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1671 # Reject names that are not valid shell variable names.
1672 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1673 as_fn_error $? "invalid feature name: $ac_useropt"
1674 ac_useropt_orig=$ac_useropt
1675 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1676 case $ac_user_opts in
1678 "enable_$ac_useropt"
1679 "*) ;;
1680 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1681 ac_unrecognized_sep=', ';;
1682 esac
1683 eval enable_$ac_useropt=\$ac_optarg ;;
1685 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1686 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1687 | --exec | --exe | --ex)
1688 ac_prev=exec_prefix ;;
1689 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1690 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1691 | --exec=* | --exe=* | --ex=*)
1692 exec_prefix=$ac_optarg ;;
1694 -gas | --gas | --ga | --g)
1695 # Obsolete; use --with-gas.
1696 with_gas=yes ;;
1698 -help | --help | --hel | --he | -h)
1699 ac_init_help=long ;;
1700 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1701 ac_init_help=recursive ;;
1702 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1703 ac_init_help=short ;;
1705 -host | --host | --hos | --ho)
1706 ac_prev=host_alias ;;
1707 -host=* | --host=* | --hos=* | --ho=*)
1708 host_alias=$ac_optarg ;;
1710 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1711 ac_prev=htmldir ;;
1712 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1713 | --ht=*)
1714 htmldir=$ac_optarg ;;
1716 -includedir | --includedir | --includedi | --included | --include \
1717 | --includ | --inclu | --incl | --inc)
1718 ac_prev=includedir ;;
1719 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1720 | --includ=* | --inclu=* | --incl=* | --inc=*)
1721 includedir=$ac_optarg ;;
1723 -infodir | --infodir | --infodi | --infod | --info | --inf)
1724 ac_prev=infodir ;;
1725 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1726 infodir=$ac_optarg ;;
1728 -libdir | --libdir | --libdi | --libd)
1729 ac_prev=libdir ;;
1730 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1731 libdir=$ac_optarg ;;
1733 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1734 | --libexe | --libex | --libe)
1735 ac_prev=libexecdir ;;
1736 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1737 | --libexe=* | --libex=* | --libe=*)
1738 libexecdir=$ac_optarg ;;
1740 -localedir | --localedir | --localedi | --localed | --locale)
1741 ac_prev=localedir ;;
1742 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1743 localedir=$ac_optarg ;;
1745 -localstatedir | --localstatedir | --localstatedi | --localstated \
1746 | --localstate | --localstat | --localsta | --localst | --locals)
1747 ac_prev=localstatedir ;;
1748 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1749 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1750 localstatedir=$ac_optarg ;;
1752 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1753 ac_prev=mandir ;;
1754 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1755 mandir=$ac_optarg ;;
1757 -nfp | --nfp | --nf)
1758 # Obsolete; use --without-fp.
1759 with_fp=no ;;
1761 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1762 | --no-cr | --no-c | -n)
1763 no_create=yes ;;
1765 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1766 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1767 no_recursion=yes ;;
1769 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1770 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1771 | --oldin | --oldi | --old | --ol | --o)
1772 ac_prev=oldincludedir ;;
1773 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1774 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1775 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1776 oldincludedir=$ac_optarg ;;
1778 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1779 ac_prev=prefix ;;
1780 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1781 prefix=$ac_optarg ;;
1783 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1784 | --program-pre | --program-pr | --program-p)
1785 ac_prev=program_prefix ;;
1786 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1787 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1788 program_prefix=$ac_optarg ;;
1790 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1791 | --program-suf | --program-su | --program-s)
1792 ac_prev=program_suffix ;;
1793 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1794 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1795 program_suffix=$ac_optarg ;;
1797 -program-transform-name | --program-transform-name \
1798 | --program-transform-nam | --program-transform-na \
1799 | --program-transform-n | --program-transform- \
1800 | --program-transform | --program-transfor \
1801 | --program-transfo | --program-transf \
1802 | --program-trans | --program-tran \
1803 | --progr-tra | --program-tr | --program-t)
1804 ac_prev=program_transform_name ;;
1805 -program-transform-name=* | --program-transform-name=* \
1806 | --program-transform-nam=* | --program-transform-na=* \
1807 | --program-transform-n=* | --program-transform-=* \
1808 | --program-transform=* | --program-transfor=* \
1809 | --program-transfo=* | --program-transf=* \
1810 | --program-trans=* | --program-tran=* \
1811 | --progr-tra=* | --program-tr=* | --program-t=*)
1812 program_transform_name=$ac_optarg ;;
1814 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1815 ac_prev=pdfdir ;;
1816 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1817 pdfdir=$ac_optarg ;;
1819 -psdir | --psdir | --psdi | --psd | --ps)
1820 ac_prev=psdir ;;
1821 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1822 psdir=$ac_optarg ;;
1824 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1825 | -silent | --silent | --silen | --sile | --sil)
1826 silent=yes ;;
1828 -runstatedir | --runstatedir | --runstatedi | --runstated \
1829 | --runstate | --runstat | --runsta | --runst | --runs \
1830 | --run | --ru | --r)
1831 ac_prev=runstatedir ;;
1832 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1833 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1834 | --run=* | --ru=* | --r=*)
1835 runstatedir=$ac_optarg ;;
1837 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1838 ac_prev=sbindir ;;
1839 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1840 | --sbi=* | --sb=*)
1841 sbindir=$ac_optarg ;;
1843 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1844 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1845 | --sharedst | --shareds | --shared | --share | --shar \
1846 | --sha | --sh)
1847 ac_prev=sharedstatedir ;;
1848 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1849 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1850 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1851 | --sha=* | --sh=*)
1852 sharedstatedir=$ac_optarg ;;
1854 -site | --site | --sit)
1855 ac_prev=site ;;
1856 -site=* | --site=* | --sit=*)
1857 site=$ac_optarg ;;
1859 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1860 ac_prev=srcdir ;;
1861 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1862 srcdir=$ac_optarg ;;
1864 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1865 | --syscon | --sysco | --sysc | --sys | --sy)
1866 ac_prev=sysconfdir ;;
1867 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1868 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1869 sysconfdir=$ac_optarg ;;
1871 -target | --target | --targe | --targ | --tar | --ta | --t)
1872 ac_prev=target_alias ;;
1873 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1874 target_alias=$ac_optarg ;;
1876 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1877 verbose=yes ;;
1879 -version | --version | --versio | --versi | --vers | -V)
1880 ac_init_version=: ;;
1882 -with-* | --with-*)
1883 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1884 # Reject names that are not valid shell variable names.
1885 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1886 as_fn_error $? "invalid package name: $ac_useropt"
1887 ac_useropt_orig=$ac_useropt
1888 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1889 case $ac_user_opts in
1891 "with_$ac_useropt"
1892 "*) ;;
1893 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1894 ac_unrecognized_sep=', ';;
1895 esac
1896 eval with_$ac_useropt=\$ac_optarg ;;
1898 -without-* | --without-*)
1899 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1900 # Reject names that are not valid shell variable names.
1901 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1902 as_fn_error $? "invalid package name: $ac_useropt"
1903 ac_useropt_orig=$ac_useropt
1904 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1905 case $ac_user_opts in
1907 "with_$ac_useropt"
1908 "*) ;;
1909 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1910 ac_unrecognized_sep=', ';;
1911 esac
1912 eval with_$ac_useropt=no ;;
1914 --x)
1915 # Obsolete; use --with-x.
1916 with_x=yes ;;
1918 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1919 | --x-incl | --x-inc | --x-in | --x-i)
1920 ac_prev=x_includes ;;
1921 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1922 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1923 x_includes=$ac_optarg ;;
1925 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1926 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1927 ac_prev=x_libraries ;;
1928 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1929 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1930 x_libraries=$ac_optarg ;;
1932 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1933 Try \`$0 --help' for more information"
1936 *=*)
1937 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1938 # Reject names that are not valid shell variable names.
1939 case $ac_envvar in #(
1940 '' | [0-9]* | *[!_$as_cr_alnum]* )
1941 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1942 esac
1943 eval $ac_envvar=\$ac_optarg
1944 export $ac_envvar ;;
1947 # FIXME: should be removed in autoconf 3.0.
1948 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1949 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1950 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1951 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1954 esac
1955 done
1957 if test -n "$ac_prev"; then
1958 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1959 as_fn_error $? "missing argument to $ac_option"
1962 if test -n "$ac_unrecognized_opts"; then
1963 case $enable_option_checking in
1964 no) ;;
1965 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1966 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1967 esac
1970 # Check all directory arguments for consistency.
1971 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1972 datadir sysconfdir sharedstatedir localstatedir includedir \
1973 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1974 libdir localedir mandir runstatedir
1976 eval ac_val=\$$ac_var
1977 # Remove trailing slashes.
1978 case $ac_val in
1979 */ )
1980 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1981 eval $ac_var=\$ac_val;;
1982 esac
1983 # Be sure to have absolute directory names.
1984 case $ac_val in
1985 [\\/$]* | ?:[\\/]* ) continue;;
1986 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1987 esac
1988 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1989 done
1991 # There might be people who depend on the old broken behavior: `$host'
1992 # used to hold the argument of --host etc.
1993 # FIXME: To remove some day.
1994 build=$build_alias
1995 host=$host_alias
1996 target=$target_alias
1998 # FIXME: To remove some day.
1999 if test "x$host_alias" != x; then
2000 if test "x$build_alias" = x; then
2001 cross_compiling=maybe
2002 elif test "x$build_alias" != "x$host_alias"; then
2003 cross_compiling=yes
2007 ac_tool_prefix=
2008 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2010 test "$silent" = yes && exec 6>/dev/null
2013 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2014 ac_ls_di=`ls -di .` &&
2015 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2016 as_fn_error $? "working directory cannot be determined"
2017 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2018 as_fn_error $? "pwd does not report name of working directory"
2021 # Find the source files, if location was not specified.
2022 if test -z "$srcdir"; then
2023 ac_srcdir_defaulted=yes
2024 # Try the directory containing this script, then the parent directory.
2025 ac_confdir=`$as_dirname -- "$as_myself" ||
2026 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2027 X"$as_myself" : 'X\(//\)[^/]' \| \
2028 X"$as_myself" : 'X\(//\)$' \| \
2029 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2030 $as_echo X"$as_myself" |
2031 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2032 s//\1/
2035 /^X\(\/\/\)[^/].*/{
2036 s//\1/
2039 /^X\(\/\/\)$/{
2040 s//\1/
2043 /^X\(\/\).*/{
2044 s//\1/
2047 s/.*/./; q'`
2048 srcdir=$ac_confdir
2049 if test ! -r "$srcdir/$ac_unique_file"; then
2050 srcdir=..
2052 else
2053 ac_srcdir_defaulted=no
2055 if test ! -r "$srcdir/$ac_unique_file"; then
2056 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2057 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2059 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2060 ac_abs_confdir=`(
2061 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2062 pwd)`
2063 # When building in place, set srcdir=.
2064 if test "$ac_abs_confdir" = "$ac_pwd"; then
2065 srcdir=.
2067 # Remove unnecessary trailing slashes from srcdir.
2068 # Double slashes in file names in object file debugging info
2069 # mess up M-x gdb in Emacs.
2070 case $srcdir in
2071 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2072 esac
2073 for ac_var in $ac_precious_vars; do
2074 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2075 eval ac_env_${ac_var}_value=\$${ac_var}
2076 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2077 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2078 done
2081 # Report the --help message.
2083 if test "$ac_init_help" = "long"; then
2084 # Omit some internal or obsolete options to make the list less imposing.
2085 # This message is too long to be a string in the A/UX 3.1 sh.
2086 cat <<_ACEOF
2087 \`configure' configures Wine 1.7.52 to adapt to many kinds of systems.
2089 Usage: $0 [OPTION]... [VAR=VALUE]...
2091 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2092 VAR=VALUE. See below for descriptions of some of the useful variables.
2094 Defaults for the options are specified in brackets.
2096 Configuration:
2097 -h, --help display this help and exit
2098 --help=short display options specific to this package
2099 --help=recursive display the short help of all the included packages
2100 -V, --version display version information and exit
2101 -q, --quiet, --silent do not print \`checking ...' messages
2102 --cache-file=FILE cache test results in FILE [disabled]
2103 -C, --config-cache alias for \`--cache-file=config.cache'
2104 -n, --no-create do not create output files
2105 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2107 Installation directories:
2108 --prefix=PREFIX install architecture-independent files in PREFIX
2109 [$ac_default_prefix]
2110 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2111 [PREFIX]
2113 By default, \`make install' will install all the files in
2114 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2115 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2116 for instance \`--prefix=\$HOME'.
2118 For better control, use the options below.
2120 Fine tuning of the installation directories:
2121 --bindir=DIR user executables [EPREFIX/bin]
2122 --sbindir=DIR system admin executables [EPREFIX/sbin]
2123 --libexecdir=DIR program executables [EPREFIX/libexec]
2124 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2125 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2126 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2127 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2128 --libdir=DIR object code libraries [EPREFIX/lib]
2129 --includedir=DIR C header files [PREFIX/include]
2130 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2131 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2132 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2133 --infodir=DIR info documentation [DATAROOTDIR/info]
2134 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2135 --mandir=DIR man documentation [DATAROOTDIR/man]
2136 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2137 --htmldir=DIR html documentation [DOCDIR]
2138 --dvidir=DIR dvi documentation [DOCDIR]
2139 --pdfdir=DIR pdf documentation [DOCDIR]
2140 --psdir=DIR ps documentation [DOCDIR]
2141 _ACEOF
2143 cat <<\_ACEOF
2145 X features:
2146 --x-includes=DIR X include files are in DIR
2147 --x-libraries=DIR X library files are in DIR
2149 System types:
2150 --build=BUILD configure for building on BUILD [guessed]
2151 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2152 _ACEOF
2155 if test -n "$ac_init_help"; then
2156 case $ac_init_help in
2157 short | recursive ) echo "Configuration of Wine 1.7.52:";;
2158 esac
2159 cat <<\_ACEOF
2161 Optional Features:
2162 --disable-option-checking ignore unrecognized --enable/--with options
2163 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2164 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2165 --disable-win16 do not include Win16 support
2166 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2167 binaries)
2168 --disable-tests do not build the regression tests
2169 --enable-maintainer-mode
2170 enable maintainer-specific build rules
2171 --disable-largefile omit support for large files
2173 Optional Packages:
2174 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2175 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2176 --without-alsa do not use the Alsa sound support
2177 --without-capi do not use CAPI (ISDN support)
2178 --without-cms do not use CMS (color management support)
2179 --without-coreaudio do not use the CoreAudio sound support
2180 --without-cups do not use CUPS
2181 --without-curses do not use (n)curses
2182 --without-dbus do not use DBus (dynamic device support)
2183 --without-fontconfig do not use fontconfig
2184 --without-freetype do not use the FreeType library
2185 --without-gettext do not use gettext
2186 --with-gettextpo use the GetTextPO library to rebuild po files
2187 --without-gphoto do not use gphoto (Digital Camera support)
2188 --without-glu do not use the GLU library
2189 --without-gnutls do not use GnuTLS (schannel support)
2190 --without-gsm do not use libgsm (GSM 06.10 codec support)
2191 --without-gstreamer do not use GStreamer (codecs support)
2192 --without-hal do not use HAL (dynamic device support)
2193 --without-jpeg do not use JPEG
2194 --without-ldap do not use LDAP
2195 --without-mpg123 do not use the mpg123 library
2196 --without-netapi do not use the Samba NetAPI library
2197 --without-openal do not use OpenAL
2198 --without-opencl do not use OpenCL
2199 --without-opengl do not use OpenGL
2200 --without-osmesa do not use the OSMesa library
2201 --without-oss do not use the OSS sound support
2202 --without-pcap do not use the Packet Capture library
2203 --without-png do not use PNG
2204 --without-pthread do not use the pthread library
2205 --without-sane do not use SANE (scanner support)
2206 --without-tiff do not use TIFF
2207 --without-v4l do not use v4l1 (v4l support)
2208 --without-xcomposite do not use the Xcomposite extension
2209 --without-xcursor do not use the Xcursor extension
2210 --without-xinerama do not use Xinerama (multi-monitor support)
2211 --without-xinput do not use the Xinput extension
2212 --without-xinput2 do not use the Xinput 2 extension
2213 --without-xml do not use XML
2214 --without-xrandr do not use Xrandr (resolution changes)
2215 --without-xrender do not use the Xrender extension
2216 --without-xshape do not use the Xshape extension
2217 --without-xshm do not use XShm (shared memory extension)
2218 --without-xslt do not use XSLT
2219 --without-xxf86vm do not use XFree video mode extension
2220 --without-zlib do not use Zlib (data compression)
2221 --with-wine-tools=DIR use Wine tools from directory DIR
2222 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2223 --with-x use the X Window System
2225 Some influential environment variables:
2226 CC C compiler command
2227 CFLAGS C compiler flags
2228 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2229 nonstandard directory <lib dir>
2230 LIBS libraries to pass to the linker, e.g. -l<library>
2231 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2232 you have headers in a nonstandard directory <include dir>
2233 CXX C++ compiler command
2234 CXXFLAGS C++ compiler flags
2235 CPP C preprocessor
2236 XMKMF Path to xmkmf, Makefile generator for X Window System
2237 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2238 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2239 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2240 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2241 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2242 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2243 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2244 HAL_LIBS Linker flags for hal, overriding pkg-config
2245 GNUTLS_CFLAGS
2246 C compiler flags for gnutls, overriding pkg-config
2247 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2248 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2249 SANE_LIBS Linker flags for libsane, overriding pkg-config
2250 GPHOTO2_CFLAGS
2251 C compiler flags for libgphoto2, overriding pkg-config
2252 GPHOTO2_LIBS
2253 Linker flags for libgphoto2, overriding pkg-config
2254 GPHOTO2_PORT_CFLAGS
2255 C compiler flags for libgphoto2_port, overriding pkg-config
2256 GPHOTO2_PORT_LIBS
2257 Linker flags for libgphoto2_port, overriding pkg-config
2258 LCMS2_CFLAGS
2259 C compiler flags for lcms2, overriding pkg-config
2260 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2261 FREETYPE_CFLAGS
2262 C compiler flags for freetype2, overriding pkg-config
2263 FREETYPE_LIBS
2264 Linker flags for freetype2, overriding pkg-config
2265 GSTREAMER_CFLAGS
2266 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2267 GSTREAMER_LIBS
2268 Linker flags for gstreamer-app-0.10, overriding pkg-config
2269 CAPI20_CFLAGS
2270 C compiler flags for capi20, overriding pkg-config
2271 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2272 FONTCONFIG_CFLAGS
2273 C compiler flags for fontconfig, overriding pkg-config
2274 FONTCONFIG_LIBS
2275 Linker flags for fontconfig, overriding pkg-config
2276 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2277 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2278 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2279 PNG_LIBS Linker flags for libpng, overriding pkg-config
2280 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2281 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2282 MPG123_CFLAGS
2283 C compiler flags for libmpg123, overriding pkg-config
2284 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2286 Use these variables to override the choices made by `configure' or to help
2287 it to find libraries and programs with nonstandard names/locations.
2289 Report bugs to <wine-devel@winehq.org>.
2290 Wine home page: <http://www.winehq.org>.
2291 _ACEOF
2292 ac_status=$?
2295 if test "$ac_init_help" = "recursive"; then
2296 # If there are subdirs, report their specific --help.
2297 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2298 test -d "$ac_dir" ||
2299 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2300 continue
2301 ac_builddir=.
2303 case "$ac_dir" in
2304 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2306 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2307 # A ".." for each directory in $ac_dir_suffix.
2308 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2309 case $ac_top_builddir_sub in
2310 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2311 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2312 esac ;;
2313 esac
2314 ac_abs_top_builddir=$ac_pwd
2315 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2316 # for backward compatibility:
2317 ac_top_builddir=$ac_top_build_prefix
2319 case $srcdir in
2320 .) # We are building in place.
2321 ac_srcdir=.
2322 ac_top_srcdir=$ac_top_builddir_sub
2323 ac_abs_top_srcdir=$ac_pwd ;;
2324 [\\/]* | ?:[\\/]* ) # Absolute name.
2325 ac_srcdir=$srcdir$ac_dir_suffix;
2326 ac_top_srcdir=$srcdir
2327 ac_abs_top_srcdir=$srcdir ;;
2328 *) # Relative name.
2329 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2330 ac_top_srcdir=$ac_top_build_prefix$srcdir
2331 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2332 esac
2333 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2335 cd "$ac_dir" || { ac_status=$?; continue; }
2336 # Check for guested configure.
2337 if test -f "$ac_srcdir/configure.gnu"; then
2338 echo &&
2339 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2340 elif test -f "$ac_srcdir/configure"; then
2341 echo &&
2342 $SHELL "$ac_srcdir/configure" --help=recursive
2343 else
2344 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2345 fi || ac_status=$?
2346 cd "$ac_pwd" || { ac_status=$?; break; }
2347 done
2350 test -n "$ac_init_help" && exit $ac_status
2351 if $ac_init_version; then
2352 cat <<\_ACEOF
2353 Wine configure 1.7.52
2354 generated by GNU Autoconf 2.69
2356 Copyright (C) 2012 Free Software Foundation, Inc.
2357 This configure script is free software; the Free Software Foundation
2358 gives unlimited permission to copy, distribute and modify it.
2359 _ACEOF
2360 exit
2363 ## ------------------------ ##
2364 ## Autoconf initialization. ##
2365 ## ------------------------ ##
2367 # ac_fn_c_try_compile LINENO
2368 # --------------------------
2369 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2370 ac_fn_c_try_compile ()
2372 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2373 rm -f conftest.$ac_objext
2374 if { { ac_try="$ac_compile"
2375 case "(($ac_try" in
2376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2377 *) ac_try_echo=$ac_try;;
2378 esac
2379 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2380 $as_echo "$ac_try_echo"; } >&5
2381 (eval "$ac_compile") 2>conftest.err
2382 ac_status=$?
2383 if test -s conftest.err; then
2384 grep -v '^ *+' conftest.err >conftest.er1
2385 cat conftest.er1 >&5
2386 mv -f conftest.er1 conftest.err
2388 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2389 test $ac_status = 0; } && {
2390 test -z "$ac_c_werror_flag" ||
2391 test ! -s conftest.err
2392 } && test -s conftest.$ac_objext; then :
2393 ac_retval=0
2394 else
2395 $as_echo "$as_me: failed program was:" >&5
2396 sed 's/^/| /' conftest.$ac_ext >&5
2398 ac_retval=1
2400 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2401 as_fn_set_status $ac_retval
2403 } # ac_fn_c_try_compile
2405 # ac_fn_cxx_try_compile LINENO
2406 # ----------------------------
2407 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2408 ac_fn_cxx_try_compile ()
2410 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2411 rm -f conftest.$ac_objext
2412 if { { ac_try="$ac_compile"
2413 case "(($ac_try" in
2414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2415 *) ac_try_echo=$ac_try;;
2416 esac
2417 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2418 $as_echo "$ac_try_echo"; } >&5
2419 (eval "$ac_compile") 2>conftest.err
2420 ac_status=$?
2421 if test -s conftest.err; then
2422 grep -v '^ *+' conftest.err >conftest.er1
2423 cat conftest.er1 >&5
2424 mv -f conftest.er1 conftest.err
2426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2427 test $ac_status = 0; } && {
2428 test -z "$ac_cxx_werror_flag" ||
2429 test ! -s conftest.err
2430 } && test -s conftest.$ac_objext; then :
2431 ac_retval=0
2432 else
2433 $as_echo "$as_me: failed program was:" >&5
2434 sed 's/^/| /' conftest.$ac_ext >&5
2436 ac_retval=1
2438 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2439 as_fn_set_status $ac_retval
2441 } # ac_fn_cxx_try_compile
2443 # ac_fn_c_try_link LINENO
2444 # -----------------------
2445 # Try to link conftest.$ac_ext, and return whether this succeeded.
2446 ac_fn_c_try_link ()
2448 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2449 rm -f conftest.$ac_objext conftest$ac_exeext
2450 if { { ac_try="$ac_link"
2451 case "(($ac_try" in
2452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2453 *) ac_try_echo=$ac_try;;
2454 esac
2455 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2456 $as_echo "$ac_try_echo"; } >&5
2457 (eval "$ac_link") 2>conftest.err
2458 ac_status=$?
2459 if test -s conftest.err; then
2460 grep -v '^ *+' conftest.err >conftest.er1
2461 cat conftest.er1 >&5
2462 mv -f conftest.er1 conftest.err
2464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2465 test $ac_status = 0; } && {
2466 test -z "$ac_c_werror_flag" ||
2467 test ! -s conftest.err
2468 } && test -s conftest$ac_exeext && {
2469 test "$cross_compiling" = yes ||
2470 test -x conftest$ac_exeext
2471 }; then :
2472 ac_retval=0
2473 else
2474 $as_echo "$as_me: failed program was:" >&5
2475 sed 's/^/| /' conftest.$ac_ext >&5
2477 ac_retval=1
2479 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2480 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2481 # interfere with the next link command; also delete a directory that is
2482 # left behind by Apple's compiler. We do this before executing the actions.
2483 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2484 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2485 as_fn_set_status $ac_retval
2487 } # ac_fn_c_try_link
2489 # ac_fn_c_try_cpp LINENO
2490 # ----------------------
2491 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2492 ac_fn_c_try_cpp ()
2494 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2495 if { { ac_try="$ac_cpp conftest.$ac_ext"
2496 case "(($ac_try" in
2497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2498 *) ac_try_echo=$ac_try;;
2499 esac
2500 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2501 $as_echo "$ac_try_echo"; } >&5
2502 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2503 ac_status=$?
2504 if test -s conftest.err; then
2505 grep -v '^ *+' conftest.err >conftest.er1
2506 cat conftest.er1 >&5
2507 mv -f conftest.er1 conftest.err
2509 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2510 test $ac_status = 0; } > conftest.i && {
2511 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2512 test ! -s conftest.err
2513 }; then :
2514 ac_retval=0
2515 else
2516 $as_echo "$as_me: failed program was:" >&5
2517 sed 's/^/| /' conftest.$ac_ext >&5
2519 ac_retval=1
2521 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2522 as_fn_set_status $ac_retval
2524 } # ac_fn_c_try_cpp
2526 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2527 # -------------------------------------------------------
2528 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2529 # the include files in INCLUDES and setting the cache variable VAR
2530 # accordingly.
2531 ac_fn_c_check_header_mongrel ()
2533 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2534 if eval \${$3+:} false; then :
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2536 $as_echo_n "checking for $2... " >&6; }
2537 if eval \${$3+:} false; then :
2538 $as_echo_n "(cached) " >&6
2540 eval ac_res=\$$3
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2542 $as_echo "$ac_res" >&6; }
2543 else
2544 # Is the header compilable?
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2546 $as_echo_n "checking $2 usability... " >&6; }
2547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2548 /* end confdefs.h. */
2550 #include <$2>
2551 _ACEOF
2552 if ac_fn_c_try_compile "$LINENO"; then :
2553 ac_header_compiler=yes
2554 else
2555 ac_header_compiler=no
2557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2559 $as_echo "$ac_header_compiler" >&6; }
2561 # Is the header present?
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2563 $as_echo_n "checking $2 presence... " >&6; }
2564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2565 /* end confdefs.h. */
2566 #include <$2>
2567 _ACEOF
2568 if ac_fn_c_try_cpp "$LINENO"; then :
2569 ac_header_preproc=yes
2570 else
2571 ac_header_preproc=no
2573 rm -f conftest.err conftest.i conftest.$ac_ext
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2575 $as_echo "$ac_header_preproc" >&6; }
2577 # So? What about this header?
2578 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2579 yes:no: )
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2581 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2583 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2585 no:yes:* )
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2587 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2589 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2591 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2593 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2595 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2596 ( $as_echo "## ------------------------------------ ##
2597 ## Report this to wine-devel@winehq.org ##
2598 ## ------------------------------------ ##"
2599 ) | sed "s/^/$as_me: WARNING: /" >&2
2601 esac
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2603 $as_echo_n "checking for $2... " >&6; }
2604 if eval \${$3+:} false; then :
2605 $as_echo_n "(cached) " >&6
2606 else
2607 eval "$3=\$ac_header_compiler"
2609 eval ac_res=\$$3
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2611 $as_echo "$ac_res" >&6; }
2613 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2615 } # ac_fn_c_check_header_mongrel
2617 # ac_fn_c_try_run LINENO
2618 # ----------------------
2619 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2620 # that executables *can* be run.
2621 ac_fn_c_try_run ()
2623 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2624 if { { ac_try="$ac_link"
2625 case "(($ac_try" in
2626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2627 *) ac_try_echo=$ac_try;;
2628 esac
2629 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2630 $as_echo "$ac_try_echo"; } >&5
2631 (eval "$ac_link") 2>&5
2632 ac_status=$?
2633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2634 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2635 { { case "(($ac_try" in
2636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2637 *) ac_try_echo=$ac_try;;
2638 esac
2639 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2640 $as_echo "$ac_try_echo"; } >&5
2641 (eval "$ac_try") 2>&5
2642 ac_status=$?
2643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2644 test $ac_status = 0; }; }; then :
2645 ac_retval=0
2646 else
2647 $as_echo "$as_me: program exited with status $ac_status" >&5
2648 $as_echo "$as_me: failed program was:" >&5
2649 sed 's/^/| /' conftest.$ac_ext >&5
2651 ac_retval=$ac_status
2653 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2654 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2655 as_fn_set_status $ac_retval
2657 } # ac_fn_c_try_run
2659 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2660 # -------------------------------------------------------
2661 # Tests whether HEADER exists and can be compiled using the include files in
2662 # INCLUDES, setting the cache variable VAR accordingly.
2663 ac_fn_c_check_header_compile ()
2665 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2667 $as_echo_n "checking for $2... " >&6; }
2668 if eval \${$3+:} false; then :
2669 $as_echo_n "(cached) " >&6
2670 else
2671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2672 /* end confdefs.h. */
2674 #include <$2>
2675 _ACEOF
2676 if ac_fn_c_try_compile "$LINENO"; then :
2677 eval "$3=yes"
2678 else
2679 eval "$3=no"
2681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2683 eval ac_res=\$$3
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2685 $as_echo "$ac_res" >&6; }
2686 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2688 } # ac_fn_c_check_header_compile
2690 # ac_fn_c_check_func LINENO FUNC VAR
2691 # ----------------------------------
2692 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2693 ac_fn_c_check_func ()
2695 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2697 $as_echo_n "checking for $2... " >&6; }
2698 if eval \${$3+:} false; then :
2699 $as_echo_n "(cached) " >&6
2700 else
2701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2702 /* end confdefs.h. */
2703 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2705 #define $2 innocuous_$2
2707 /* System header to define __stub macros and hopefully few prototypes,
2708 which can conflict with char $2 (); below.
2709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2710 <limits.h> exists even on freestanding compilers. */
2712 #ifdef __STDC__
2713 # include <limits.h>
2714 #else
2715 # include <assert.h>
2716 #endif
2718 #undef $2
2720 /* Override any GCC internal prototype to avoid an error.
2721 Use char because int might match the return type of a GCC
2722 builtin and then its argument prototype would still apply. */
2723 #ifdef __cplusplus
2724 extern "C"
2725 #endif
2726 char $2 ();
2727 /* The GNU C library defines this for functions which it implements
2728 to always fail with ENOSYS. Some functions are actually named
2729 something starting with __ and the normal name is an alias. */
2730 #if defined __stub_$2 || defined __stub___$2
2731 choke me
2732 #endif
2735 main ()
2737 return $2 ();
2739 return 0;
2741 _ACEOF
2742 if ac_fn_c_try_link "$LINENO"; then :
2743 eval "$3=yes"
2744 else
2745 eval "$3=no"
2747 rm -f core conftest.err conftest.$ac_objext \
2748 conftest$ac_exeext conftest.$ac_ext
2750 eval ac_res=\$$3
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2752 $as_echo "$ac_res" >&6; }
2753 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2755 } # ac_fn_c_check_func
2757 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2758 # ----------------------------------------------------
2759 # Tries to find if the field MEMBER exists in type AGGR, after including
2760 # INCLUDES, setting cache variable VAR accordingly.
2761 ac_fn_c_check_member ()
2763 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2765 $as_echo_n "checking for $2.$3... " >&6; }
2766 if eval \${$4+:} false; then :
2767 $as_echo_n "(cached) " >&6
2768 else
2769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2770 /* end confdefs.h. */
2773 main ()
2775 static $2 ac_aggr;
2776 if (ac_aggr.$3)
2777 return 0;
2779 return 0;
2781 _ACEOF
2782 if ac_fn_c_try_compile "$LINENO"; then :
2783 eval "$4=yes"
2784 else
2785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2786 /* end confdefs.h. */
2789 main ()
2791 static $2 ac_aggr;
2792 if (sizeof ac_aggr.$3)
2793 return 0;
2795 return 0;
2797 _ACEOF
2798 if ac_fn_c_try_compile "$LINENO"; then :
2799 eval "$4=yes"
2800 else
2801 eval "$4=no"
2803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2807 eval ac_res=\$$4
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2809 $as_echo "$ac_res" >&6; }
2810 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2812 } # ac_fn_c_check_member
2814 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2815 # -------------------------------------------
2816 # Tests whether TYPE exists after having included INCLUDES, setting cache
2817 # variable VAR accordingly.
2818 ac_fn_c_check_type ()
2820 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2822 $as_echo_n "checking for $2... " >&6; }
2823 if eval \${$3+:} false; then :
2824 $as_echo_n "(cached) " >&6
2825 else
2826 eval "$3=no"
2827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2828 /* end confdefs.h. */
2831 main ()
2833 if (sizeof ($2))
2834 return 0;
2836 return 0;
2838 _ACEOF
2839 if ac_fn_c_try_compile "$LINENO"; then :
2840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2841 /* end confdefs.h. */
2844 main ()
2846 if (sizeof (($2)))
2847 return 0;
2849 return 0;
2851 _ACEOF
2852 if ac_fn_c_try_compile "$LINENO"; then :
2854 else
2855 eval "$3=yes"
2857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2861 eval ac_res=\$$3
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2863 $as_echo "$ac_res" >&6; }
2864 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2866 } # ac_fn_c_check_type
2867 cat >config.log <<_ACEOF
2868 This file contains any messages produced by compilers while
2869 running configure, to aid debugging if configure makes a mistake.
2871 It was created by Wine $as_me 1.7.52, which was
2872 generated by GNU Autoconf 2.69. Invocation command line was
2874 $ $0 $@
2876 _ACEOF
2877 exec 5>>config.log
2879 cat <<_ASUNAME
2880 ## --------- ##
2881 ## Platform. ##
2882 ## --------- ##
2884 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2885 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2886 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2887 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2888 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2890 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2891 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2893 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2894 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2895 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2896 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2897 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2898 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2899 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2901 _ASUNAME
2903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2904 for as_dir in $PATH
2906 IFS=$as_save_IFS
2907 test -z "$as_dir" && as_dir=.
2908 $as_echo "PATH: $as_dir"
2909 done
2910 IFS=$as_save_IFS
2912 } >&5
2914 cat >&5 <<_ACEOF
2917 ## ----------- ##
2918 ## Core tests. ##
2919 ## ----------- ##
2921 _ACEOF
2924 # Keep a trace of the command line.
2925 # Strip out --no-create and --no-recursion so they do not pile up.
2926 # Strip out --silent because we don't want to record it for future runs.
2927 # Also quote any args containing shell meta-characters.
2928 # Make two passes to allow for proper duplicate-argument suppression.
2929 ac_configure_args=
2930 ac_configure_args0=
2931 ac_configure_args1=
2932 ac_must_keep_next=false
2933 for ac_pass in 1 2
2935 for ac_arg
2937 case $ac_arg in
2938 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2939 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2940 | -silent | --silent | --silen | --sile | --sil)
2941 continue ;;
2942 *\'*)
2943 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2944 esac
2945 case $ac_pass in
2946 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2948 as_fn_append ac_configure_args1 " '$ac_arg'"
2949 if test $ac_must_keep_next = true; then
2950 ac_must_keep_next=false # Got value, back to normal.
2951 else
2952 case $ac_arg in
2953 *=* | --config-cache | -C | -disable-* | --disable-* \
2954 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2955 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2956 | -with-* | --with-* | -without-* | --without-* | --x)
2957 case "$ac_configure_args0 " in
2958 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2959 esac
2961 -* ) ac_must_keep_next=true ;;
2962 esac
2964 as_fn_append ac_configure_args " '$ac_arg'"
2966 esac
2967 done
2968 done
2969 { ac_configure_args0=; unset ac_configure_args0;}
2970 { ac_configure_args1=; unset ac_configure_args1;}
2972 # When interrupted or exit'd, cleanup temporary files, and complete
2973 # config.log. We remove comments because anyway the quotes in there
2974 # would cause problems or look ugly.
2975 # WARNING: Use '\'' to represent an apostrophe within the trap.
2976 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2977 trap 'exit_status=$?
2978 # Save into config.log some information that might help in debugging.
2980 echo
2982 $as_echo "## ---------------- ##
2983 ## Cache variables. ##
2984 ## ---------------- ##"
2985 echo
2986 # The following way of writing the cache mishandles newlines in values,
2988 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2989 eval ac_val=\$$ac_var
2990 case $ac_val in #(
2991 *${as_nl}*)
2992 case $ac_var in #(
2993 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2994 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2995 esac
2996 case $ac_var in #(
2997 _ | IFS | as_nl) ;; #(
2998 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2999 *) { eval $ac_var=; unset $ac_var;} ;;
3000 esac ;;
3001 esac
3002 done
3003 (set) 2>&1 |
3004 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3005 *${as_nl}ac_space=\ *)
3006 sed -n \
3007 "s/'\''/'\''\\\\'\'''\''/g;
3008 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3009 ;; #(
3011 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3013 esac |
3014 sort
3016 echo
3018 $as_echo "## ----------------- ##
3019 ## Output variables. ##
3020 ## ----------------- ##"
3021 echo
3022 for ac_var in $ac_subst_vars
3024 eval ac_val=\$$ac_var
3025 case $ac_val in
3026 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3027 esac
3028 $as_echo "$ac_var='\''$ac_val'\''"
3029 done | sort
3030 echo
3032 if test -n "$ac_subst_files"; then
3033 $as_echo "## ------------------- ##
3034 ## File substitutions. ##
3035 ## ------------------- ##"
3036 echo
3037 for ac_var in $ac_subst_files
3039 eval ac_val=\$$ac_var
3040 case $ac_val in
3041 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3042 esac
3043 $as_echo "$ac_var='\''$ac_val'\''"
3044 done | sort
3045 echo
3048 if test -s confdefs.h; then
3049 $as_echo "## ----------- ##
3050 ## confdefs.h. ##
3051 ## ----------- ##"
3052 echo
3053 cat confdefs.h
3054 echo
3056 test "$ac_signal" != 0 &&
3057 $as_echo "$as_me: caught signal $ac_signal"
3058 $as_echo "$as_me: exit $exit_status"
3059 } >&5
3060 rm -f core *.core core.conftest.* &&
3061 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3062 exit $exit_status
3064 for ac_signal in 1 2 13 15; do
3065 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3066 done
3067 ac_signal=0
3069 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3070 rm -f -r conftest* confdefs.h
3072 $as_echo "/* confdefs.h */" > confdefs.h
3074 # Predefined preprocessor variables.
3076 cat >>confdefs.h <<_ACEOF
3077 #define PACKAGE_NAME "$PACKAGE_NAME"
3078 _ACEOF
3080 cat >>confdefs.h <<_ACEOF
3081 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3082 _ACEOF
3084 cat >>confdefs.h <<_ACEOF
3085 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3086 _ACEOF
3088 cat >>confdefs.h <<_ACEOF
3089 #define PACKAGE_STRING "$PACKAGE_STRING"
3090 _ACEOF
3092 cat >>confdefs.h <<_ACEOF
3093 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3094 _ACEOF
3096 cat >>confdefs.h <<_ACEOF
3097 #define PACKAGE_URL "$PACKAGE_URL"
3098 _ACEOF
3101 # Let the site file select an alternate cache file if it wants to.
3102 # Prefer an explicitly selected file to automatically selected ones.
3103 ac_site_file1=NONE
3104 ac_site_file2=NONE
3105 if test -n "$CONFIG_SITE"; then
3106 # We do not want a PATH search for config.site.
3107 case $CONFIG_SITE in #((
3108 -*) ac_site_file1=./$CONFIG_SITE;;
3109 */*) ac_site_file1=$CONFIG_SITE;;
3110 *) ac_site_file1=./$CONFIG_SITE;;
3111 esac
3112 elif test "x$prefix" != xNONE; then
3113 ac_site_file1=$prefix/share/config.site
3114 ac_site_file2=$prefix/etc/config.site
3115 else
3116 ac_site_file1=$ac_default_prefix/share/config.site
3117 ac_site_file2=$ac_default_prefix/etc/config.site
3119 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3121 test "x$ac_site_file" = xNONE && continue
3122 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3124 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3125 sed 's/^/| /' "$ac_site_file" >&5
3126 . "$ac_site_file" \
3127 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3128 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3129 as_fn_error $? "failed to load site script $ac_site_file
3130 See \`config.log' for more details" "$LINENO" 5; }
3132 done
3134 if test -r "$cache_file"; then
3135 # Some versions of bash will fail to source /dev/null (special files
3136 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3137 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3139 $as_echo "$as_me: loading cache $cache_file" >&6;}
3140 case $cache_file in
3141 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3142 *) . "./$cache_file";;
3143 esac
3145 else
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3147 $as_echo "$as_me: creating cache $cache_file" >&6;}
3148 >$cache_file
3151 # Check that the precious variables saved in the cache have kept the same
3152 # value.
3153 ac_cache_corrupted=false
3154 for ac_var in $ac_precious_vars; do
3155 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3156 eval ac_new_set=\$ac_env_${ac_var}_set
3157 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3158 eval ac_new_val=\$ac_env_${ac_var}_value
3159 case $ac_old_set,$ac_new_set in
3160 set,)
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3162 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3163 ac_cache_corrupted=: ;;
3164 ,set)
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3166 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3167 ac_cache_corrupted=: ;;
3168 ,);;
3170 if test "x$ac_old_val" != "x$ac_new_val"; then
3171 # differences in whitespace do not lead to failure.
3172 ac_old_val_w=`echo x $ac_old_val`
3173 ac_new_val_w=`echo x $ac_new_val`
3174 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3176 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3177 ac_cache_corrupted=:
3178 else
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3180 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3181 eval $ac_var=\$ac_old_val
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3184 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3186 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3187 fi;;
3188 esac
3189 # Pass precious variables to config.status.
3190 if test "$ac_new_set" = set; then
3191 case $ac_new_val in
3192 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3193 *) ac_arg=$ac_var=$ac_new_val ;;
3194 esac
3195 case " $ac_configure_args " in
3196 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3197 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3198 esac
3200 done
3201 if $ac_cache_corrupted; then
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3203 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3205 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3206 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3208 ## -------------------- ##
3209 ## Main body of script. ##
3210 ## -------------------- ##
3212 ac_ext=c
3213 ac_cpp='$CPP $CPPFLAGS'
3214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3220 ac_config_headers="$ac_config_headers include/config.h"
3222 ac_aux_dir=
3223 for ac_dir in tools "$srcdir"/tools; do
3224 if test -f "$ac_dir/install-sh"; then
3225 ac_aux_dir=$ac_dir
3226 ac_install_sh="$ac_aux_dir/install-sh -c"
3227 break
3228 elif test -f "$ac_dir/install.sh"; then
3229 ac_aux_dir=$ac_dir
3230 ac_install_sh="$ac_aux_dir/install.sh -c"
3231 break
3232 elif test -f "$ac_dir/shtool"; then
3233 ac_aux_dir=$ac_dir
3234 ac_install_sh="$ac_aux_dir/shtool install -c"
3235 break
3237 done
3238 if test -z "$ac_aux_dir"; then
3239 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3242 # These three variables are undocumented and unsupported,
3243 # and are intended to be withdrawn in a future Autoconf release.
3244 # They can cause serious problems if a builder's source tree is in a directory
3245 # whose full name contains unusual characters.
3246 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3247 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3248 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3252 libwine_version="1.0"
3256 # Check whether --enable-win16 was given.
3257 if test "${enable_win16+set}" = set; then :
3258 enableval=$enable_win16;
3261 # Check whether --enable-win64 was given.
3262 if test "${enable_win64+set}" = set; then :
3263 enableval=$enable_win64;
3266 # Check whether --enable-tests was given.
3267 if test "${enable_tests+set}" = set; then :
3268 enableval=$enable_tests;
3271 # Check whether --enable-maintainer-mode was given.
3272 if test "${enable_maintainer_mode+set}" = set; then :
3273 enableval=$enable_maintainer_mode;
3278 # Check whether --with-alsa was given.
3279 if test "${with_alsa+set}" = set; then :
3280 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3284 # Check whether --with-capi was given.
3285 if test "${with_capi+set}" = set; then :
3286 withval=$with_capi;
3290 # Check whether --with-cms was given.
3291 if test "${with_cms+set}" = set; then :
3292 withval=$with_cms;
3296 # Check whether --with-coreaudio was given.
3297 if test "${with_coreaudio+set}" = set; then :
3298 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3302 # Check whether --with-cups was given.
3303 if test "${with_cups+set}" = set; then :
3304 withval=$with_cups;
3308 # Check whether --with-curses was given.
3309 if test "${with_curses+set}" = set; then :
3310 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3314 # Check whether --with-dbus was given.
3315 if test "${with_dbus+set}" = set; then :
3316 withval=$with_dbus;
3320 # Check whether --with-fontconfig was given.
3321 if test "${with_fontconfig+set}" = set; then :
3322 withval=$with_fontconfig;
3326 # Check whether --with-freetype was given.
3327 if test "${with_freetype+set}" = set; then :
3328 withval=$with_freetype;
3332 # Check whether --with-gettext was given.
3333 if test "${with_gettext+set}" = set; then :
3334 withval=$with_gettext;
3338 # Check whether --with-gettextpo was given.
3339 if test "${with_gettextpo+set}" = set; then :
3340 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3344 # Check whether --with-gphoto was given.
3345 if test "${with_gphoto+set}" = set; then :
3346 withval=$with_gphoto;
3350 # Check whether --with-glu was given.
3351 if test "${with_glu+set}" = set; then :
3352 withval=$with_glu;
3356 # Check whether --with-gnutls was given.
3357 if test "${with_gnutls+set}" = set; then :
3358 withval=$with_gnutls;
3362 # Check whether --with-gsm was given.
3363 if test "${with_gsm+set}" = set; then :
3364 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3368 # Check whether --with-gstreamer was given.
3369 if test "${with_gstreamer+set}" = set; then :
3370 withval=$with_gstreamer;
3374 # Check whether --with-hal was given.
3375 if test "${with_hal+set}" = set; then :
3376 withval=$with_hal;
3380 # Check whether --with-jpeg was given.
3381 if test "${with_jpeg+set}" = set; then :
3382 withval=$with_jpeg;
3386 # Check whether --with-ldap was given.
3387 if test "${with_ldap+set}" = set; then :
3388 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3392 # Check whether --with-mpg123 was given.
3393 if test "${with_mpg123+set}" = set; then :
3394 withval=$with_mpg123;
3398 # Check whether --with-netapi was given.
3399 if test "${with_netapi+set}" = set; then :
3400 withval=$with_netapi;
3404 # Check whether --with-openal was given.
3405 if test "${with_openal+set}" = set; then :
3406 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3410 # Check whether --with-opencl was given.
3411 if test "${with_opencl+set}" = set; then :
3412 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3416 # Check whether --with-opengl was given.
3417 if test "${with_opengl+set}" = set; then :
3418 withval=$with_opengl;
3422 # Check whether --with-osmesa was given.
3423 if test "${with_osmesa+set}" = set; then :
3424 withval=$with_osmesa;
3428 # Check whether --with-oss was given.
3429 if test "${with_oss+set}" = set; then :
3430 withval=$with_oss;
3434 # Check whether --with-pcap was given.
3435 if test "${with_pcap+set}" = set; then :
3436 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3440 # Check whether --with-png was given.
3441 if test "${with_png+set}" = set; then :
3442 withval=$with_png;
3446 # Check whether --with-pthread was given.
3447 if test "${with_pthread+set}" = set; then :
3448 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3452 # Check whether --with-sane was given.
3453 if test "${with_sane+set}" = set; then :
3454 withval=$with_sane;
3458 # Check whether --with-tiff was given.
3459 if test "${with_tiff+set}" = set; then :
3460 withval=$with_tiff;
3464 # Check whether --with-v4l was given.
3465 if test "${with_v4l+set}" = set; then :
3466 withval=$with_v4l;
3470 # Check whether --with-xcomposite was given.
3471 if test "${with_xcomposite+set}" = set; then :
3472 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3476 # Check whether --with-xcursor was given.
3477 if test "${with_xcursor+set}" = set; then :
3478 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3482 # Check whether --with-xinerama was given.
3483 if test "${with_xinerama+set}" = set; then :
3484 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3488 # Check whether --with-xinput was given.
3489 if test "${with_xinput+set}" = set; then :
3490 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3494 # Check whether --with-xinput2 was given.
3495 if test "${with_xinput2+set}" = set; then :
3496 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3500 # Check whether --with-xml was given.
3501 if test "${with_xml+set}" = set; then :
3502 withval=$with_xml;
3506 # Check whether --with-xrandr was given.
3507 if test "${with_xrandr+set}" = set; then :
3508 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3512 # Check whether --with-xrender was given.
3513 if test "${with_xrender+set}" = set; then :
3514 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3518 # Check whether --with-xshape was given.
3519 if test "${with_xshape+set}" = set; then :
3520 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3524 # Check whether --with-xshm was given.
3525 if test "${with_xshm+set}" = set; then :
3526 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3530 # Check whether --with-xslt was given.
3531 if test "${with_xslt+set}" = set; then :
3532 withval=$with_xslt;
3536 # Check whether --with-xxf86vm was given.
3537 if test "${with_xxf86vm+set}" = set; then :
3538 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
3542 # Check whether --with-zlib was given.
3543 if test "${with_zlib+set}" = set; then :
3544 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3549 # Check whether --with-wine-tools was given.
3550 if test "${with_wine_tools+set}" = set; then :
3551 withval=$with_wine_tools;
3555 # Check whether --with-wine64 was given.
3556 if test "${with_wine64+set}" = set; then :
3557 withval=$with_wine64;
3561 # Make sure we can run config.sub.
3562 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3563 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3566 $as_echo_n "checking build system type... " >&6; }
3567 if ${ac_cv_build+:} false; then :
3568 $as_echo_n "(cached) " >&6
3569 else
3570 ac_build_alias=$build_alias
3571 test "x$ac_build_alias" = x &&
3572 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3573 test "x$ac_build_alias" = x &&
3574 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3575 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3576 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3580 $as_echo "$ac_cv_build" >&6; }
3581 case $ac_cv_build in
3582 *-*-*) ;;
3583 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3584 esac
3585 build=$ac_cv_build
3586 ac_save_IFS=$IFS; IFS='-'
3587 set x $ac_cv_build
3588 shift
3589 build_cpu=$1
3590 build_vendor=$2
3591 shift; shift
3592 # Remember, the first character of IFS is used to create $*,
3593 # except with old shells:
3594 build_os=$*
3595 IFS=$ac_save_IFS
3596 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3600 $as_echo_n "checking host system type... " >&6; }
3601 if ${ac_cv_host+:} false; then :
3602 $as_echo_n "(cached) " >&6
3603 else
3604 if test "x$host_alias" = x; then
3605 ac_cv_host=$ac_cv_build
3606 else
3607 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3608 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3613 $as_echo "$ac_cv_host" >&6; }
3614 case $ac_cv_host in
3615 *-*-*) ;;
3616 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3617 esac
3618 host=$ac_cv_host
3619 ac_save_IFS=$IFS; IFS='-'
3620 set x $ac_cv_host
3621 shift
3622 host_cpu=$1
3623 host_vendor=$2
3624 shift; shift
3625 # Remember, the first character of IFS is used to create $*,
3626 # except with old shells:
3627 host_os=$*
3628 IFS=$ac_save_IFS
3629 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3633 case "$srcdir" in
3634 .) ;;
3635 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3636 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3637 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3638 fi ;;
3639 esac
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3643 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3644 set x ${MAKE-make}
3645 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3646 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3647 $as_echo_n "(cached) " >&6
3648 else
3649 cat >conftest.make <<\_ACEOF
3650 SHELL = /bin/sh
3651 all:
3652 @echo '@@@%%%=$(MAKE)=@@@%%%'
3653 _ACEOF
3654 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3655 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3656 *@@@%%%=?*=@@@%%%*)
3657 eval ac_cv_prog_make_${ac_make}_set=yes;;
3659 eval ac_cv_prog_make_${ac_make}_set=no;;
3660 esac
3661 rm -f conftest.make
3663 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3665 $as_echo "yes" >&6; }
3666 SET_MAKE=
3667 else
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3669 $as_echo "no" >&6; }
3670 SET_MAKE="MAKE=${MAKE-make}"
3673 ac_ext=c
3674 ac_cpp='$CPP $CPPFLAGS'
3675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3678 if test -n "$ac_tool_prefix"; then
3679 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3680 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3682 $as_echo_n "checking for $ac_word... " >&6; }
3683 if ${ac_cv_prog_CC+:} false; then :
3684 $as_echo_n "(cached) " >&6
3685 else
3686 if test -n "$CC"; then
3687 ac_cv_prog_CC="$CC" # Let the user override the test.
3688 else
3689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3690 for as_dir in $PATH
3692 IFS=$as_save_IFS
3693 test -z "$as_dir" && as_dir=.
3694 for ac_exec_ext in '' $ac_executable_extensions; do
3695 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3696 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3698 break 2
3700 done
3701 done
3702 IFS=$as_save_IFS
3706 CC=$ac_cv_prog_CC
3707 if test -n "$CC"; then
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3709 $as_echo "$CC" >&6; }
3710 else
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3712 $as_echo "no" >&6; }
3717 if test -z "$ac_cv_prog_CC"; then
3718 ac_ct_CC=$CC
3719 # Extract the first word of "gcc", so it can be a program name with args.
3720 set dummy gcc; ac_word=$2
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3722 $as_echo_n "checking for $ac_word... " >&6; }
3723 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3724 $as_echo_n "(cached) " >&6
3725 else
3726 if test -n "$ac_ct_CC"; then
3727 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3728 else
3729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3730 for as_dir in $PATH
3732 IFS=$as_save_IFS
3733 test -z "$as_dir" && as_dir=.
3734 for ac_exec_ext in '' $ac_executable_extensions; do
3735 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3736 ac_cv_prog_ac_ct_CC="gcc"
3737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3738 break 2
3740 done
3741 done
3742 IFS=$as_save_IFS
3746 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3747 if test -n "$ac_ct_CC"; then
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3749 $as_echo "$ac_ct_CC" >&6; }
3750 else
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3752 $as_echo "no" >&6; }
3755 if test "x$ac_ct_CC" = x; then
3756 CC=""
3757 else
3758 case $cross_compiling:$ac_tool_warned in
3759 yes:)
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3761 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3762 ac_tool_warned=yes ;;
3763 esac
3764 CC=$ac_ct_CC
3766 else
3767 CC="$ac_cv_prog_CC"
3770 if test -z "$CC"; then
3771 if test -n "$ac_tool_prefix"; then
3772 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3773 set dummy ${ac_tool_prefix}cc; ac_word=$2
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3775 $as_echo_n "checking for $ac_word... " >&6; }
3776 if ${ac_cv_prog_CC+:} false; then :
3777 $as_echo_n "(cached) " >&6
3778 else
3779 if test -n "$CC"; then
3780 ac_cv_prog_CC="$CC" # Let the user override the test.
3781 else
3782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3783 for as_dir in $PATH
3785 IFS=$as_save_IFS
3786 test -z "$as_dir" && as_dir=.
3787 for ac_exec_ext in '' $ac_executable_extensions; do
3788 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3789 ac_cv_prog_CC="${ac_tool_prefix}cc"
3790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3791 break 2
3793 done
3794 done
3795 IFS=$as_save_IFS
3799 CC=$ac_cv_prog_CC
3800 if test -n "$CC"; then
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3802 $as_echo "$CC" >&6; }
3803 else
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3805 $as_echo "no" >&6; }
3811 if test -z "$CC"; then
3812 # Extract the first word of "cc", so it can be a program name with args.
3813 set dummy cc; ac_word=$2
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3815 $as_echo_n "checking for $ac_word... " >&6; }
3816 if ${ac_cv_prog_CC+:} false; then :
3817 $as_echo_n "(cached) " >&6
3818 else
3819 if test -n "$CC"; then
3820 ac_cv_prog_CC="$CC" # Let the user override the test.
3821 else
3822 ac_prog_rejected=no
3823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3824 for as_dir in $PATH
3826 IFS=$as_save_IFS
3827 test -z "$as_dir" && as_dir=.
3828 for ac_exec_ext in '' $ac_executable_extensions; do
3829 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3830 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3831 ac_prog_rejected=yes
3832 continue
3834 ac_cv_prog_CC="cc"
3835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3836 break 2
3838 done
3839 done
3840 IFS=$as_save_IFS
3842 if test $ac_prog_rejected = yes; then
3843 # We found a bogon in the path, so make sure we never use it.
3844 set dummy $ac_cv_prog_CC
3845 shift
3846 if test $# != 0; then
3847 # We chose a different compiler from the bogus one.
3848 # However, it has the same basename, so the bogon will be chosen
3849 # first if we set CC to just the basename; use the full file name.
3850 shift
3851 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3856 CC=$ac_cv_prog_CC
3857 if test -n "$CC"; then
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3859 $as_echo "$CC" >&6; }
3860 else
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3862 $as_echo "no" >&6; }
3867 if test -z "$CC"; then
3868 if test -n "$ac_tool_prefix"; then
3869 for ac_prog in cl.exe
3871 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3872 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3874 $as_echo_n "checking for $ac_word... " >&6; }
3875 if ${ac_cv_prog_CC+:} false; then :
3876 $as_echo_n "(cached) " >&6
3877 else
3878 if test -n "$CC"; then
3879 ac_cv_prog_CC="$CC" # Let the user override the test.
3880 else
3881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3882 for as_dir in $PATH
3884 IFS=$as_save_IFS
3885 test -z "$as_dir" && as_dir=.
3886 for ac_exec_ext in '' $ac_executable_extensions; do
3887 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3888 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3890 break 2
3892 done
3893 done
3894 IFS=$as_save_IFS
3898 CC=$ac_cv_prog_CC
3899 if test -n "$CC"; then
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3901 $as_echo "$CC" >&6; }
3902 else
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3904 $as_echo "no" >&6; }
3908 test -n "$CC" && break
3909 done
3911 if test -z "$CC"; then
3912 ac_ct_CC=$CC
3913 for ac_prog in cl.exe
3915 # Extract the first word of "$ac_prog", so it can be a program name with args.
3916 set dummy $ac_prog; ac_word=$2
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3918 $as_echo_n "checking for $ac_word... " >&6; }
3919 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3920 $as_echo_n "(cached) " >&6
3921 else
3922 if test -n "$ac_ct_CC"; then
3923 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3924 else
3925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3926 for as_dir in $PATH
3928 IFS=$as_save_IFS
3929 test -z "$as_dir" && as_dir=.
3930 for ac_exec_ext in '' $ac_executable_extensions; do
3931 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3932 ac_cv_prog_ac_ct_CC="$ac_prog"
3933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3934 break 2
3936 done
3937 done
3938 IFS=$as_save_IFS
3942 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3943 if test -n "$ac_ct_CC"; then
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3945 $as_echo "$ac_ct_CC" >&6; }
3946 else
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3948 $as_echo "no" >&6; }
3952 test -n "$ac_ct_CC" && break
3953 done
3955 if test "x$ac_ct_CC" = x; then
3956 CC=""
3957 else
3958 case $cross_compiling:$ac_tool_warned in
3959 yes:)
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3961 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3962 ac_tool_warned=yes ;;
3963 esac
3964 CC=$ac_ct_CC
3971 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3972 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3973 as_fn_error $? "no acceptable C compiler found in \$PATH
3974 See \`config.log' for more details" "$LINENO" 5; }
3976 # Provide some information about the compiler.
3977 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3978 set X $ac_compile
3979 ac_compiler=$2
3980 for ac_option in --version -v -V -qversion; do
3981 { { ac_try="$ac_compiler $ac_option >&5"
3982 case "(($ac_try" in
3983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3984 *) ac_try_echo=$ac_try;;
3985 esac
3986 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3987 $as_echo "$ac_try_echo"; } >&5
3988 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3989 ac_status=$?
3990 if test -s conftest.err; then
3991 sed '10a\
3992 ... rest of stderr output deleted ...
3993 10q' conftest.err >conftest.er1
3994 cat conftest.er1 >&5
3996 rm -f conftest.er1 conftest.err
3997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3998 test $ac_status = 0; }
3999 done
4001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4002 /* end confdefs.h. */
4005 main ()
4009 return 0;
4011 _ACEOF
4012 ac_clean_files_save=$ac_clean_files
4013 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4014 # Try to create an executable without -o first, disregard a.out.
4015 # It will help us diagnose broken compilers, and finding out an intuition
4016 # of exeext.
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4018 $as_echo_n "checking whether the C compiler works... " >&6; }
4019 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4021 # The possible output files:
4022 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4024 ac_rmfiles=
4025 for ac_file in $ac_files
4027 case $ac_file in
4028 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4029 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4030 esac
4031 done
4032 rm -f $ac_rmfiles
4034 if { { ac_try="$ac_link_default"
4035 case "(($ac_try" in
4036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4037 *) ac_try_echo=$ac_try;;
4038 esac
4039 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4040 $as_echo "$ac_try_echo"; } >&5
4041 (eval "$ac_link_default") 2>&5
4042 ac_status=$?
4043 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4044 test $ac_status = 0; }; then :
4045 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4046 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4047 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4048 # so that the user can short-circuit this test for compilers unknown to
4049 # Autoconf.
4050 for ac_file in $ac_files ''
4052 test -f "$ac_file" || continue
4053 case $ac_file in
4054 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4056 [ab].out )
4057 # We found the default executable, but exeext='' is most
4058 # certainly right.
4059 break;;
4060 *.* )
4061 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4062 then :; else
4063 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4065 # We set ac_cv_exeext here because the later test for it is not
4066 # safe: cross compilers may not add the suffix if given an `-o'
4067 # argument, so we may need to know it at that point already.
4068 # Even if this section looks crufty: it has the advantage of
4069 # actually working.
4070 break;;
4072 break;;
4073 esac
4074 done
4075 test "$ac_cv_exeext" = no && ac_cv_exeext=
4077 else
4078 ac_file=''
4080 if test -z "$ac_file"; then :
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4082 $as_echo "no" >&6; }
4083 $as_echo "$as_me: failed program was:" >&5
4084 sed 's/^/| /' conftest.$ac_ext >&5
4086 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4087 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4088 as_fn_error 77 "C compiler cannot create executables
4089 See \`config.log' for more details" "$LINENO" 5; }
4090 else
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4092 $as_echo "yes" >&6; }
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4095 $as_echo_n "checking for C compiler default output file name... " >&6; }
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4097 $as_echo "$ac_file" >&6; }
4098 ac_exeext=$ac_cv_exeext
4100 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4101 ac_clean_files=$ac_clean_files_save
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4103 $as_echo_n "checking for suffix of executables... " >&6; }
4104 if { { ac_try="$ac_link"
4105 case "(($ac_try" in
4106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4107 *) ac_try_echo=$ac_try;;
4108 esac
4109 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4110 $as_echo "$ac_try_echo"; } >&5
4111 (eval "$ac_link") 2>&5
4112 ac_status=$?
4113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4114 test $ac_status = 0; }; then :
4115 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4116 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4117 # work properly (i.e., refer to `conftest.exe'), while it won't with
4118 # `rm'.
4119 for ac_file in conftest.exe conftest conftest.*; do
4120 test -f "$ac_file" || continue
4121 case $ac_file in
4122 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4123 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4124 break;;
4125 * ) break;;
4126 esac
4127 done
4128 else
4129 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4130 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4131 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4132 See \`config.log' for more details" "$LINENO" 5; }
4134 rm -f conftest conftest$ac_cv_exeext
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4136 $as_echo "$ac_cv_exeext" >&6; }
4138 rm -f conftest.$ac_ext
4139 EXEEXT=$ac_cv_exeext
4140 ac_exeext=$EXEEXT
4141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4142 /* end confdefs.h. */
4143 #include <stdio.h>
4145 main ()
4147 FILE *f = fopen ("conftest.out", "w");
4148 return ferror (f) || fclose (f) != 0;
4151 return 0;
4153 _ACEOF
4154 ac_clean_files="$ac_clean_files conftest.out"
4155 # Check that the compiler produces executables we can run. If not, either
4156 # the compiler is broken, or we cross compile.
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4158 $as_echo_n "checking whether we are cross compiling... " >&6; }
4159 if test "$cross_compiling" != yes; then
4160 { { ac_try="$ac_link"
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_link") 2>&5
4168 ac_status=$?
4169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4170 test $ac_status = 0; }
4171 if { ac_try='./conftest$ac_cv_exeext'
4172 { { case "(($ac_try" in
4173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4174 *) ac_try_echo=$ac_try;;
4175 esac
4176 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4177 $as_echo "$ac_try_echo"; } >&5
4178 (eval "$ac_try") 2>&5
4179 ac_status=$?
4180 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4181 test $ac_status = 0; }; }; then
4182 cross_compiling=no
4183 else
4184 if test "$cross_compiling" = maybe; then
4185 cross_compiling=yes
4186 else
4187 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4188 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4189 as_fn_error $? "cannot run C compiled programs.
4190 If you meant to cross compile, use \`--host'.
4191 See \`config.log' for more details" "$LINENO" 5; }
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4196 $as_echo "$cross_compiling" >&6; }
4198 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4199 ac_clean_files=$ac_clean_files_save
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4201 $as_echo_n "checking for suffix of object files... " >&6; }
4202 if ${ac_cv_objext+:} false; then :
4203 $as_echo_n "(cached) " >&6
4204 else
4205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4206 /* end confdefs.h. */
4209 main ()
4213 return 0;
4215 _ACEOF
4216 rm -f conftest.o conftest.obj
4217 if { { ac_try="$ac_compile"
4218 case "(($ac_try" in
4219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4220 *) ac_try_echo=$ac_try;;
4221 esac
4222 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4223 $as_echo "$ac_try_echo"; } >&5
4224 (eval "$ac_compile") 2>&5
4225 ac_status=$?
4226 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4227 test $ac_status = 0; }; then :
4228 for ac_file in conftest.o conftest.obj conftest.*; do
4229 test -f "$ac_file" || continue;
4230 case $ac_file in
4231 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4232 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4233 break;;
4234 esac
4235 done
4236 else
4237 $as_echo "$as_me: failed program was:" >&5
4238 sed 's/^/| /' conftest.$ac_ext >&5
4240 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4241 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4242 as_fn_error $? "cannot compute suffix of object files: cannot compile
4243 See \`config.log' for more details" "$LINENO" 5; }
4245 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4248 $as_echo "$ac_cv_objext" >&6; }
4249 OBJEXT=$ac_cv_objext
4250 ac_objext=$OBJEXT
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4252 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4253 if ${ac_cv_c_compiler_gnu+:} false; then :
4254 $as_echo_n "(cached) " >&6
4255 else
4256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4257 /* end confdefs.h. */
4260 main ()
4262 #ifndef __GNUC__
4263 choke me
4264 #endif
4267 return 0;
4269 _ACEOF
4270 if ac_fn_c_try_compile "$LINENO"; then :
4271 ac_compiler_gnu=yes
4272 else
4273 ac_compiler_gnu=no
4275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4276 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4280 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4281 if test $ac_compiler_gnu = yes; then
4282 GCC=yes
4283 else
4284 GCC=
4286 ac_test_CFLAGS=${CFLAGS+set}
4287 ac_save_CFLAGS=$CFLAGS
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4289 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4290 if ${ac_cv_prog_cc_g+:} false; then :
4291 $as_echo_n "(cached) " >&6
4292 else
4293 ac_save_c_werror_flag=$ac_c_werror_flag
4294 ac_c_werror_flag=yes
4295 ac_cv_prog_cc_g=no
4296 CFLAGS="-g"
4297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4298 /* end confdefs.h. */
4301 main ()
4305 return 0;
4307 _ACEOF
4308 if ac_fn_c_try_compile "$LINENO"; then :
4309 ac_cv_prog_cc_g=yes
4310 else
4311 CFLAGS=""
4312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4313 /* end confdefs.h. */
4316 main ()
4320 return 0;
4322 _ACEOF
4323 if ac_fn_c_try_compile "$LINENO"; then :
4325 else
4326 ac_c_werror_flag=$ac_save_c_werror_flag
4327 CFLAGS="-g"
4328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4329 /* end confdefs.h. */
4332 main ()
4336 return 0;
4338 _ACEOF
4339 if ac_fn_c_try_compile "$LINENO"; then :
4340 ac_cv_prog_cc_g=yes
4342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4347 ac_c_werror_flag=$ac_save_c_werror_flag
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4350 $as_echo "$ac_cv_prog_cc_g" >&6; }
4351 if test "$ac_test_CFLAGS" = set; then
4352 CFLAGS=$ac_save_CFLAGS
4353 elif test $ac_cv_prog_cc_g = yes; then
4354 if test "$GCC" = yes; then
4355 CFLAGS="-g -O2"
4356 else
4357 CFLAGS="-g"
4359 else
4360 if test "$GCC" = yes; then
4361 CFLAGS="-O2"
4362 else
4363 CFLAGS=
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4367 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4368 if ${ac_cv_prog_cc_c89+:} false; then :
4369 $as_echo_n "(cached) " >&6
4370 else
4371 ac_cv_prog_cc_c89=no
4372 ac_save_CC=$CC
4373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4374 /* end confdefs.h. */
4375 #include <stdarg.h>
4376 #include <stdio.h>
4377 struct stat;
4378 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4379 struct buf { int x; };
4380 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4381 static char *e (p, i)
4382 char **p;
4383 int i;
4385 return p[i];
4387 static char *f (char * (*g) (char **, int), char **p, ...)
4389 char *s;
4390 va_list v;
4391 va_start (v,p);
4392 s = g (p, va_arg (v,int));
4393 va_end (v);
4394 return s;
4397 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4398 function prototypes and stuff, but not '\xHH' hex character constants.
4399 These don't provoke an error unfortunately, instead are silently treated
4400 as 'x'. The following induces an error, until -std is added to get
4401 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4402 array size at least. It's necessary to write '\x00'==0 to get something
4403 that's true only with -std. */
4404 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4406 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4407 inside strings and character constants. */
4408 #define FOO(x) 'x'
4409 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4411 int test (int i, double x);
4412 struct s1 {int (*f) (int a);};
4413 struct s2 {int (*f) (double a);};
4414 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4415 int argc;
4416 char **argv;
4418 main ()
4420 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4422 return 0;
4424 _ACEOF
4425 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4426 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4428 CC="$ac_save_CC $ac_arg"
4429 if ac_fn_c_try_compile "$LINENO"; then :
4430 ac_cv_prog_cc_c89=$ac_arg
4432 rm -f core conftest.err conftest.$ac_objext
4433 test "x$ac_cv_prog_cc_c89" != "xno" && break
4434 done
4435 rm -f conftest.$ac_ext
4436 CC=$ac_save_CC
4439 # AC_CACHE_VAL
4440 case "x$ac_cv_prog_cc_c89" in
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4443 $as_echo "none needed" >&6; } ;;
4444 xno)
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4446 $as_echo "unsupported" >&6; } ;;
4448 CC="$CC $ac_cv_prog_cc_c89"
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4450 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4451 esac
4452 if test "x$ac_cv_prog_cc_c89" != xno; then :
4456 ac_ext=c
4457 ac_cpp='$CPP $CPPFLAGS'
4458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4462 ac_ext=cpp
4463 ac_cpp='$CXXCPP $CPPFLAGS'
4464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4467 if test -z "$CXX"; then
4468 if test -n "$CCC"; then
4469 CXX=$CCC
4470 else
4471 if test -n "$ac_tool_prefix"; then
4472 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4474 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4475 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4477 $as_echo_n "checking for $ac_word... " >&6; }
4478 if ${ac_cv_prog_CXX+:} false; then :
4479 $as_echo_n "(cached) " >&6
4480 else
4481 if test -n "$CXX"; then
4482 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4483 else
4484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4485 for as_dir in $PATH
4487 IFS=$as_save_IFS
4488 test -z "$as_dir" && as_dir=.
4489 for ac_exec_ext in '' $ac_executable_extensions; do
4490 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4491 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4493 break 2
4495 done
4496 done
4497 IFS=$as_save_IFS
4501 CXX=$ac_cv_prog_CXX
4502 if test -n "$CXX"; then
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4504 $as_echo "$CXX" >&6; }
4505 else
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4507 $as_echo "no" >&6; }
4511 test -n "$CXX" && break
4512 done
4514 if test -z "$CXX"; then
4515 ac_ct_CXX=$CXX
4516 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4518 # Extract the first word of "$ac_prog", so it can be a program name with args.
4519 set dummy $ac_prog; ac_word=$2
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4521 $as_echo_n "checking for $ac_word... " >&6; }
4522 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4523 $as_echo_n "(cached) " >&6
4524 else
4525 if test -n "$ac_ct_CXX"; then
4526 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4527 else
4528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4529 for as_dir in $PATH
4531 IFS=$as_save_IFS
4532 test -z "$as_dir" && as_dir=.
4533 for ac_exec_ext in '' $ac_executable_extensions; do
4534 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4535 ac_cv_prog_ac_ct_CXX="$ac_prog"
4536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4537 break 2
4539 done
4540 done
4541 IFS=$as_save_IFS
4545 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4546 if test -n "$ac_ct_CXX"; then
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4548 $as_echo "$ac_ct_CXX" >&6; }
4549 else
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4551 $as_echo "no" >&6; }
4555 test -n "$ac_ct_CXX" && break
4556 done
4558 if test "x$ac_ct_CXX" = x; then
4559 CXX="g++"
4560 else
4561 case $cross_compiling:$ac_tool_warned in
4562 yes:)
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4564 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4565 ac_tool_warned=yes ;;
4566 esac
4567 CXX=$ac_ct_CXX
4573 # Provide some information about the compiler.
4574 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4575 set X $ac_compile
4576 ac_compiler=$2
4577 for ac_option in --version -v -V -qversion; do
4578 { { ac_try="$ac_compiler $ac_option >&5"
4579 case "(($ac_try" in
4580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4581 *) ac_try_echo=$ac_try;;
4582 esac
4583 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4584 $as_echo "$ac_try_echo"; } >&5
4585 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4586 ac_status=$?
4587 if test -s conftest.err; then
4588 sed '10a\
4589 ... rest of stderr output deleted ...
4590 10q' conftest.err >conftest.er1
4591 cat conftest.er1 >&5
4593 rm -f conftest.er1 conftest.err
4594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4595 test $ac_status = 0; }
4596 done
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4599 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4600 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4601 $as_echo_n "(cached) " >&6
4602 else
4603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4604 /* end confdefs.h. */
4607 main ()
4609 #ifndef __GNUC__
4610 choke me
4611 #endif
4614 return 0;
4616 _ACEOF
4617 if ac_fn_cxx_try_compile "$LINENO"; then :
4618 ac_compiler_gnu=yes
4619 else
4620 ac_compiler_gnu=no
4622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4623 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4627 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4628 if test $ac_compiler_gnu = yes; then
4629 GXX=yes
4630 else
4631 GXX=
4633 ac_test_CXXFLAGS=${CXXFLAGS+set}
4634 ac_save_CXXFLAGS=$CXXFLAGS
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4636 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4637 if ${ac_cv_prog_cxx_g+:} false; then :
4638 $as_echo_n "(cached) " >&6
4639 else
4640 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4641 ac_cxx_werror_flag=yes
4642 ac_cv_prog_cxx_g=no
4643 CXXFLAGS="-g"
4644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4645 /* end confdefs.h. */
4648 main ()
4652 return 0;
4654 _ACEOF
4655 if ac_fn_cxx_try_compile "$LINENO"; then :
4656 ac_cv_prog_cxx_g=yes
4657 else
4658 CXXFLAGS=""
4659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4660 /* end confdefs.h. */
4663 main ()
4667 return 0;
4669 _ACEOF
4670 if ac_fn_cxx_try_compile "$LINENO"; then :
4672 else
4673 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4674 CXXFLAGS="-g"
4675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4676 /* end confdefs.h. */
4679 main ()
4683 return 0;
4685 _ACEOF
4686 if ac_fn_cxx_try_compile "$LINENO"; then :
4687 ac_cv_prog_cxx_g=yes
4689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4694 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4697 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4698 if test "$ac_test_CXXFLAGS" = set; then
4699 CXXFLAGS=$ac_save_CXXFLAGS
4700 elif test $ac_cv_prog_cxx_g = yes; then
4701 if test "$GXX" = yes; then
4702 CXXFLAGS="-g -O2"
4703 else
4704 CXXFLAGS="-g"
4706 else
4707 if test "$GXX" = yes; then
4708 CXXFLAGS="-O2"
4709 else
4710 CXXFLAGS=
4713 ac_ext=c
4714 ac_cpp='$CPP $CPPFLAGS'
4715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4719 if test -n "$ac_tool_prefix"; then
4720 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4721 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4723 $as_echo_n "checking for $ac_word... " >&6; }
4724 if ${ac_cv_prog_CPPBIN+:} false; then :
4725 $as_echo_n "(cached) " >&6
4726 else
4727 if test -n "$CPPBIN"; then
4728 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4729 else
4730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4731 for as_dir in $PATH
4733 IFS=$as_save_IFS
4734 test -z "$as_dir" && as_dir=.
4735 for ac_exec_ext in '' $ac_executable_extensions; do
4736 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4737 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4739 break 2
4741 done
4742 done
4743 IFS=$as_save_IFS
4747 CPPBIN=$ac_cv_prog_CPPBIN
4748 if test -n "$CPPBIN"; then
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4750 $as_echo "$CPPBIN" >&6; }
4751 else
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4753 $as_echo "no" >&6; }
4758 if test -z "$ac_cv_prog_CPPBIN"; then
4759 ac_ct_CPPBIN=$CPPBIN
4760 # Extract the first word of "cpp", so it can be a program name with args.
4761 set dummy cpp; ac_word=$2
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4763 $as_echo_n "checking for $ac_word... " >&6; }
4764 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4765 $as_echo_n "(cached) " >&6
4766 else
4767 if test -n "$ac_ct_CPPBIN"; then
4768 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4769 else
4770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4771 for as_dir in $PATH
4773 IFS=$as_save_IFS
4774 test -z "$as_dir" && as_dir=.
4775 for ac_exec_ext in '' $ac_executable_extensions; do
4776 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4777 ac_cv_prog_ac_ct_CPPBIN="cpp"
4778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4779 break 2
4781 done
4782 done
4783 IFS=$as_save_IFS
4787 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4788 if test -n "$ac_ct_CPPBIN"; then
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4790 $as_echo "$ac_ct_CPPBIN" >&6; }
4791 else
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4793 $as_echo "no" >&6; }
4796 if test "x$ac_ct_CPPBIN" = x; then
4797 CPPBIN="cpp"
4798 else
4799 case $cross_compiling:$ac_tool_warned in
4800 yes:)
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4802 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4803 ac_tool_warned=yes ;;
4804 esac
4805 CPPBIN=$ac_ct_CPPBIN
4807 else
4808 CPPBIN="$ac_cv_prog_CPPBIN"
4812 cat >>confdefs.h <<_ACEOF
4813 #define EXEEXT "$ac_exeext"
4814 _ACEOF
4816 if test -n "$ac_tool_prefix"; then
4817 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4818 set dummy ${ac_tool_prefix}ld; ac_word=$2
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4820 $as_echo_n "checking for $ac_word... " >&6; }
4821 if ${ac_cv_prog_LD+:} false; then :
4822 $as_echo_n "(cached) " >&6
4823 else
4824 if test -n "$LD"; then
4825 ac_cv_prog_LD="$LD" # Let the user override the test.
4826 else
4827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4828 for as_dir in $PATH
4830 IFS=$as_save_IFS
4831 test -z "$as_dir" && as_dir=.
4832 for ac_exec_ext in '' $ac_executable_extensions; do
4833 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4834 ac_cv_prog_LD="${ac_tool_prefix}ld"
4835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4836 break 2
4838 done
4839 done
4840 IFS=$as_save_IFS
4844 LD=$ac_cv_prog_LD
4845 if test -n "$LD"; then
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4847 $as_echo "$LD" >&6; }
4848 else
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4850 $as_echo "no" >&6; }
4855 if test -z "$ac_cv_prog_LD"; then
4856 ac_ct_LD=$LD
4857 # Extract the first word of "ld", so it can be a program name with args.
4858 set dummy ld; ac_word=$2
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4860 $as_echo_n "checking for $ac_word... " >&6; }
4861 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4862 $as_echo_n "(cached) " >&6
4863 else
4864 if test -n "$ac_ct_LD"; then
4865 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4866 else
4867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4868 for as_dir in $PATH
4870 IFS=$as_save_IFS
4871 test -z "$as_dir" && as_dir=.
4872 for ac_exec_ext in '' $ac_executable_extensions; do
4873 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4874 ac_cv_prog_ac_ct_LD="ld"
4875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4876 break 2
4878 done
4879 done
4880 IFS=$as_save_IFS
4884 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4885 if test -n "$ac_ct_LD"; then
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4887 $as_echo "$ac_ct_LD" >&6; }
4888 else
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4890 $as_echo "no" >&6; }
4893 if test "x$ac_ct_LD" = x; then
4894 LD=""
4895 else
4896 case $cross_compiling:$ac_tool_warned in
4897 yes:)
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4899 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4900 ac_tool_warned=yes ;;
4901 esac
4902 LD=$ac_ct_LD
4904 else
4905 LD="$ac_cv_prog_LD"
4909 case $host in
4910 *-darwin*)
4911 if test "x$enable_win64" = "xyes"
4912 then
4913 CC="$CC -m64"
4914 CXX="$CXX -m64"
4915 host_cpu="x86_64"
4916 notice_platform="64-bit "
4917 TARGETFLAGS="-m64"
4919 else
4920 CC="$CC -m32"
4921 CXX="$CXX -m32"
4922 host_cpu="i386"
4923 notice_platform="32-bit "
4924 TARGETFLAGS="-m32"
4926 enable_win16=${enable_win16:-yes}
4928 with_fontconfig=${with_fontconfig:-no}
4930 x86_64*|amd64*)
4931 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4932 then
4933 CC="$CC -m32"
4934 CXX="$CXX -m32"
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4936 $as_echo_n "checking whether $CC works... " >&6; }
4938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4939 /* end confdefs.h. */
4942 main ()
4946 return 0;
4948 _ACEOF
4949 if ac_fn_c_try_link "$LINENO"; then :
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4951 $as_echo "yes" >&6; }
4952 else
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4954 $as_echo "no" >&6; }
4955 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4957 rm -f core conftest.err conftest.$ac_objext \
4958 conftest$ac_exeext conftest.$ac_ext
4959 host_cpu="i386"
4960 notice_platform="32-bit "
4961 TARGETFLAGS="-m32"
4963 enable_win16=${enable_win16:-yes}
4964 else
4965 if test "x${GCC}" = "xyes"
4966 then
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4968 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4970 /* end confdefs.h. */
4971 #include <stdarg.h>
4973 main ()
4975 void func(__builtin_ms_va_list *args);
4977 return 0;
4979 _ACEOF
4980 if ac_fn_c_try_compile "$LINENO"; then :
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4982 $as_echo "yes" >&6; }
4983 else
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4985 $as_echo "no" >&6; }
4986 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4990 host_cpu="x86_64"
4991 TARGETFLAGS="-m64"
4995 arm*)
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4997 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4999 /* end confdefs.h. */
5000 int ac_test(int i) { return i; }
5002 main ()
5004 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5006 return 0;
5008 _ACEOF
5009 if ac_fn_c_try_link "$LINENO"; then :
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5011 $as_echo "yes" >&6; }
5012 else
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5014 $as_echo "no" >&6; }
5015 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5017 rm -f core conftest.err conftest.$ac_objext \
5018 conftest$ac_exeext conftest.$ac_ext
5019 CFLAGS="$CFLAGS -marm"
5020 TARGETFLAGS="-marm"
5023 *-mingw32*|*-cygwin*)
5024 enable_win16=${enable_win16:-no}
5025 CFLAGS="$CFLAGS -D_WIN32"
5027 i[3456789]86*)
5028 enable_win16=${enable_win16:-yes}
5030 esac
5032 enable_win16=${enable_win16:-no}
5033 enable_win64=${enable_win64:-no}
5035 enable_winetest=${enable_winetest:-$enable_tests}
5037 if test -n "$with_wine64"
5038 then
5039 if test "x$enable_win64" = "xyes"
5040 then
5041 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5042 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5044 enable_fonts=${enable_fonts:-no}
5045 enable_server=${enable_server:-no}
5046 elif test "x$enable_win64" = "xyes"
5047 then
5048 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5052 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5053 if ${wine_cv_toolsdir+:} false; then :
5054 $as_echo_n "(cached) " >&6
5055 else
5056 wine_cv_toolsdir="$with_wine_tools"
5057 if test -z "$with_wine_tools"; then
5058 if test "$cross_compiling" = "yes"; then
5059 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5060 elif test -n "$with_wine64"; then
5061 wine_cv_toolsdir="$with_wine64"
5064 if test -z "$wine_cv_toolsdir"; then
5065 wine_makedep=tools/makedep
5066 wine_cv_toolsdir="\$(top_builddir)"
5067 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5068 wine_makedep=$wine_cv_toolsdir/tools/makedep
5069 case "$wine_cv_toolsdir" in
5070 /*) ;;
5071 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5072 esac
5073 enable_tools=${enable_tools:-no}
5074 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5075 else
5076 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5080 $as_echo "$wine_cv_toolsdir" >&6; }
5081 TOOLSDIR=$wine_cv_toolsdir
5083 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5084 then
5085 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5089 for ac_prog in flex
5091 # Extract the first word of "$ac_prog", so it can be a program name with args.
5092 set dummy $ac_prog; ac_word=$2
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5094 $as_echo_n "checking for $ac_word... " >&6; }
5095 if ${ac_cv_prog_FLEX+:} false; then :
5096 $as_echo_n "(cached) " >&6
5097 else
5098 if test -n "$FLEX"; then
5099 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5100 else
5101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5102 for as_dir in $PATH
5104 IFS=$as_save_IFS
5105 test -z "$as_dir" && as_dir=.
5106 for ac_exec_ext in '' $ac_executable_extensions; do
5107 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5108 ac_cv_prog_FLEX="$ac_prog"
5109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5110 break 2
5112 done
5113 done
5114 IFS=$as_save_IFS
5118 FLEX=$ac_cv_prog_FLEX
5119 if test -n "$FLEX"; then
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5121 $as_echo "$FLEX" >&6; }
5122 else
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5124 $as_echo "no" >&6; }
5128 test -n "$FLEX" && break
5129 done
5130 test -n "$FLEX" || FLEX="none"
5132 if test "$FLEX" = "none"
5133 then
5134 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5137 $as_echo_n "checking whether flex is recent enough... " >&6; }
5138 cat >conftest.l <<EOF
5139 %top{
5140 #include "prediluvian.h"
5144 if $FLEX -t conftest.l >/dev/null 2>&5
5145 then
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5147 $as_echo "yes" >&6; }
5148 else
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5150 $as_echo "no" >&6; }
5151 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5154 for ac_prog in bison
5156 # Extract the first word of "$ac_prog", so it can be a program name with args.
5157 set dummy $ac_prog; ac_word=$2
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5159 $as_echo_n "checking for $ac_word... " >&6; }
5160 if ${ac_cv_prog_BISON+:} false; then :
5161 $as_echo_n "(cached) " >&6
5162 else
5163 if test -n "$BISON"; then
5164 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5165 else
5166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5167 for as_dir in $PATH
5169 IFS=$as_save_IFS
5170 test -z "$as_dir" && as_dir=.
5171 for ac_exec_ext in '' $ac_executable_extensions; do
5172 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5173 ac_cv_prog_BISON="$ac_prog"
5174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5175 break 2
5177 done
5178 done
5179 IFS=$as_save_IFS
5183 BISON=$ac_cv_prog_BISON
5184 if test -n "$BISON"; then
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5186 $as_echo "$BISON" >&6; }
5187 else
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5189 $as_echo "no" >&6; }
5193 test -n "$BISON" && break
5194 done
5195 test -n "$BISON" || BISON="none"
5197 if test "$BISON" = "none"
5198 then
5199 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5202 if test -n "$ac_tool_prefix"; then
5203 for ac_prog in ar gar
5205 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5206 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5208 $as_echo_n "checking for $ac_word... " >&6; }
5209 if ${ac_cv_prog_AR+:} false; then :
5210 $as_echo_n "(cached) " >&6
5211 else
5212 if test -n "$AR"; then
5213 ac_cv_prog_AR="$AR" # Let the user override the test.
5214 else
5215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5216 for as_dir in $PATH
5218 IFS=$as_save_IFS
5219 test -z "$as_dir" && as_dir=.
5220 for ac_exec_ext in '' $ac_executable_extensions; do
5221 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5222 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5224 break 2
5226 done
5227 done
5228 IFS=$as_save_IFS
5232 AR=$ac_cv_prog_AR
5233 if test -n "$AR"; then
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5235 $as_echo "$AR" >&6; }
5236 else
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5238 $as_echo "no" >&6; }
5242 test -n "$AR" && break
5243 done
5245 if test -z "$AR"; then
5246 ac_ct_AR=$AR
5247 for ac_prog in ar gar
5249 # Extract the first word of "$ac_prog", so it can be a program name with args.
5250 set dummy $ac_prog; ac_word=$2
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5252 $as_echo_n "checking for $ac_word... " >&6; }
5253 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5254 $as_echo_n "(cached) " >&6
5255 else
5256 if test -n "$ac_ct_AR"; then
5257 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5258 else
5259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5260 for as_dir in $PATH
5262 IFS=$as_save_IFS
5263 test -z "$as_dir" && as_dir=.
5264 for ac_exec_ext in '' $ac_executable_extensions; do
5265 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5266 ac_cv_prog_ac_ct_AR="$ac_prog"
5267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5268 break 2
5270 done
5271 done
5272 IFS=$as_save_IFS
5276 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5277 if test -n "$ac_ct_AR"; then
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5279 $as_echo "$ac_ct_AR" >&6; }
5280 else
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5282 $as_echo "no" >&6; }
5286 test -n "$ac_ct_AR" && break
5287 done
5289 if test "x$ac_ct_AR" = x; then
5290 AR="ar"
5291 else
5292 case $cross_compiling:$ac_tool_warned in
5293 yes:)
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5295 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5296 ac_tool_warned=yes ;;
5297 esac
5298 AR=$ac_ct_AR
5302 if test -n "$ac_tool_prefix"; then
5303 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5304 set dummy ${ac_tool_prefix}strip; ac_word=$2
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5306 $as_echo_n "checking for $ac_word... " >&6; }
5307 if ${ac_cv_prog_STRIP+:} false; then :
5308 $as_echo_n "(cached) " >&6
5309 else
5310 if test -n "$STRIP"; then
5311 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5312 else
5313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5314 for as_dir in $PATH
5316 IFS=$as_save_IFS
5317 test -z "$as_dir" && as_dir=.
5318 for ac_exec_ext in '' $ac_executable_extensions; do
5319 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5320 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5322 break 2
5324 done
5325 done
5326 IFS=$as_save_IFS
5330 STRIP=$ac_cv_prog_STRIP
5331 if test -n "$STRIP"; then
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5333 $as_echo "$STRIP" >&6; }
5334 else
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5336 $as_echo "no" >&6; }
5341 if test -z "$ac_cv_prog_STRIP"; then
5342 ac_ct_STRIP=$STRIP
5343 # Extract the first word of "strip", so it can be a program name with args.
5344 set dummy strip; ac_word=$2
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5346 $as_echo_n "checking for $ac_word... " >&6; }
5347 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5348 $as_echo_n "(cached) " >&6
5349 else
5350 if test -n "$ac_ct_STRIP"; then
5351 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5352 else
5353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5354 for as_dir in $PATH
5356 IFS=$as_save_IFS
5357 test -z "$as_dir" && as_dir=.
5358 for ac_exec_ext in '' $ac_executable_extensions; do
5359 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5360 ac_cv_prog_ac_ct_STRIP="strip"
5361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5362 break 2
5364 done
5365 done
5366 IFS=$as_save_IFS
5370 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5371 if test -n "$ac_ct_STRIP"; then
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5373 $as_echo "$ac_ct_STRIP" >&6; }
5374 else
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5376 $as_echo "no" >&6; }
5379 if test "x$ac_ct_STRIP" = x; then
5380 STRIP="strip"
5381 else
5382 case $cross_compiling:$ac_tool_warned in
5383 yes:)
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5385 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5386 ac_tool_warned=yes ;;
5387 esac
5388 STRIP=$ac_ct_STRIP
5390 else
5391 STRIP="$ac_cv_prog_STRIP"
5394 ARFLAGS=rc
5396 if test -n "$ac_tool_prefix"; then
5397 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5398 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5400 $as_echo_n "checking for $ac_word... " >&6; }
5401 if ${ac_cv_prog_RANLIB+:} false; then :
5402 $as_echo_n "(cached) " >&6
5403 else
5404 if test -n "$RANLIB"; then
5405 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5406 else
5407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5408 for as_dir in $PATH
5410 IFS=$as_save_IFS
5411 test -z "$as_dir" && as_dir=.
5412 for ac_exec_ext in '' $ac_executable_extensions; do
5413 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5414 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5416 break 2
5418 done
5419 done
5420 IFS=$as_save_IFS
5424 RANLIB=$ac_cv_prog_RANLIB
5425 if test -n "$RANLIB"; then
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5427 $as_echo "$RANLIB" >&6; }
5428 else
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5430 $as_echo "no" >&6; }
5435 if test -z "$ac_cv_prog_RANLIB"; then
5436 ac_ct_RANLIB=$RANLIB
5437 # Extract the first word of "ranlib", so it can be a program name with args.
5438 set dummy ranlib; ac_word=$2
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5440 $as_echo_n "checking for $ac_word... " >&6; }
5441 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5442 $as_echo_n "(cached) " >&6
5443 else
5444 if test -n "$ac_ct_RANLIB"; then
5445 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5446 else
5447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5448 for as_dir in $PATH
5450 IFS=$as_save_IFS
5451 test -z "$as_dir" && as_dir=.
5452 for ac_exec_ext in '' $ac_executable_extensions; do
5453 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5454 ac_cv_prog_ac_ct_RANLIB="ranlib"
5455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5456 break 2
5458 done
5459 done
5460 IFS=$as_save_IFS
5464 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5465 if test -n "$ac_ct_RANLIB"; then
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5467 $as_echo "$ac_ct_RANLIB" >&6; }
5468 else
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5470 $as_echo "no" >&6; }
5473 if test "x$ac_ct_RANLIB" = x; then
5474 RANLIB=":"
5475 else
5476 case $cross_compiling:$ac_tool_warned in
5477 yes:)
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5479 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5480 ac_tool_warned=yes ;;
5481 esac
5482 RANLIB=$ac_ct_RANLIB
5484 else
5485 RANLIB="$ac_cv_prog_RANLIB"
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5489 $as_echo_n "checking whether ln -s works... " >&6; }
5490 LN_S=$as_ln_s
5491 if test "$LN_S" = "ln -s"; then
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5493 $as_echo "yes" >&6; }
5494 else
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5496 $as_echo "no, using $LN_S" >&6; }
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5500 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5501 if ${ac_cv_path_GREP+:} false; then :
5502 $as_echo_n "(cached) " >&6
5503 else
5504 if test -z "$GREP"; then
5505 ac_path_GREP_found=false
5506 # Loop through the user's path and test for each of PROGNAME-LIST
5507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5508 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5510 IFS=$as_save_IFS
5511 test -z "$as_dir" && as_dir=.
5512 for ac_prog in grep ggrep; do
5513 for ac_exec_ext in '' $ac_executable_extensions; do
5514 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5515 as_fn_executable_p "$ac_path_GREP" || continue
5516 # Check for GNU ac_path_GREP and select it if it is found.
5517 # Check for GNU $ac_path_GREP
5518 case `"$ac_path_GREP" --version 2>&1` in
5519 *GNU*)
5520 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5522 ac_count=0
5523 $as_echo_n 0123456789 >"conftest.in"
5524 while :
5526 cat "conftest.in" "conftest.in" >"conftest.tmp"
5527 mv "conftest.tmp" "conftest.in"
5528 cp "conftest.in" "conftest.nl"
5529 $as_echo 'GREP' >> "conftest.nl"
5530 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5531 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5532 as_fn_arith $ac_count + 1 && ac_count=$as_val
5533 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5534 # Best one so far, save it but keep looking for a better one
5535 ac_cv_path_GREP="$ac_path_GREP"
5536 ac_path_GREP_max=$ac_count
5538 # 10*(2^10) chars as input seems more than enough
5539 test $ac_count -gt 10 && break
5540 done
5541 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5542 esac
5544 $ac_path_GREP_found && break 3
5545 done
5546 done
5547 done
5548 IFS=$as_save_IFS
5549 if test -z "$ac_cv_path_GREP"; then
5550 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5552 else
5553 ac_cv_path_GREP=$GREP
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5558 $as_echo "$ac_cv_path_GREP" >&6; }
5559 GREP="$ac_cv_path_GREP"
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5563 $as_echo_n "checking for egrep... " >&6; }
5564 if ${ac_cv_path_EGREP+:} false; then :
5565 $as_echo_n "(cached) " >&6
5566 else
5567 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5568 then ac_cv_path_EGREP="$GREP -E"
5569 else
5570 if test -z "$EGREP"; then
5571 ac_path_EGREP_found=false
5572 # Loop through the user's path and test for each of PROGNAME-LIST
5573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5574 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5576 IFS=$as_save_IFS
5577 test -z "$as_dir" && as_dir=.
5578 for ac_prog in egrep; do
5579 for ac_exec_ext in '' $ac_executable_extensions; do
5580 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5581 as_fn_executable_p "$ac_path_EGREP" || continue
5582 # Check for GNU ac_path_EGREP and select it if it is found.
5583 # Check for GNU $ac_path_EGREP
5584 case `"$ac_path_EGREP" --version 2>&1` in
5585 *GNU*)
5586 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5588 ac_count=0
5589 $as_echo_n 0123456789 >"conftest.in"
5590 while :
5592 cat "conftest.in" "conftest.in" >"conftest.tmp"
5593 mv "conftest.tmp" "conftest.in"
5594 cp "conftest.in" "conftest.nl"
5595 $as_echo 'EGREP' >> "conftest.nl"
5596 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5597 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5598 as_fn_arith $ac_count + 1 && ac_count=$as_val
5599 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5600 # Best one so far, save it but keep looking for a better one
5601 ac_cv_path_EGREP="$ac_path_EGREP"
5602 ac_path_EGREP_max=$ac_count
5604 # 10*(2^10) chars as input seems more than enough
5605 test $ac_count -gt 10 && break
5606 done
5607 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5608 esac
5610 $ac_path_EGREP_found && break 3
5611 done
5612 done
5613 done
5614 IFS=$as_save_IFS
5615 if test -z "$ac_cv_path_EGREP"; then
5616 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5618 else
5619 ac_cv_path_EGREP=$EGREP
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5625 $as_echo "$ac_cv_path_EGREP" >&6; }
5626 EGREP="$ac_cv_path_EGREP"
5629 # Extract the first word of "ldconfig", so it can be a program name with args.
5630 set dummy ldconfig; ac_word=$2
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5632 $as_echo_n "checking for $ac_word... " >&6; }
5633 if ${ac_cv_path_LDCONFIG+:} false; then :
5634 $as_echo_n "(cached) " >&6
5635 else
5636 case $LDCONFIG in
5637 [\\/]* | ?:[\\/]*)
5638 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5642 for as_dir in /sbin /usr/sbin $PATH
5644 IFS=$as_save_IFS
5645 test -z "$as_dir" && as_dir=.
5646 for ac_exec_ext in '' $ac_executable_extensions; do
5647 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5648 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5650 break 2
5652 done
5653 done
5654 IFS=$as_save_IFS
5656 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5658 esac
5660 LDCONFIG=$ac_cv_path_LDCONFIG
5661 if test -n "$LDCONFIG"; then
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5663 $as_echo "$LDCONFIG" >&6; }
5664 else
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5666 $as_echo "no" >&6; }
5670 for ac_prog in msgfmt
5672 # Extract the first word of "$ac_prog", so it can be a program name with args.
5673 set dummy $ac_prog; ac_word=$2
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5675 $as_echo_n "checking for $ac_word... " >&6; }
5676 if ${ac_cv_prog_MSGFMT+:} false; then :
5677 $as_echo_n "(cached) " >&6
5678 else
5679 if test -n "$MSGFMT"; then
5680 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5681 else
5682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5683 for as_dir in $PATH
5685 IFS=$as_save_IFS
5686 test -z "$as_dir" && as_dir=.
5687 for ac_exec_ext in '' $ac_executable_extensions; do
5688 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5689 ac_cv_prog_MSGFMT="$ac_prog"
5690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5691 break 2
5693 done
5694 done
5695 IFS=$as_save_IFS
5699 MSGFMT=$ac_cv_prog_MSGFMT
5700 if test -n "$MSGFMT"; then
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5702 $as_echo "$MSGFMT" >&6; }
5703 else
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5705 $as_echo "no" >&6; }
5709 test -n "$MSGFMT" && break
5710 done
5711 test -n "$MSGFMT" || MSGFMT="false"
5713 if ${ac_tool_prefix+:} false; then :
5714 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5715 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5717 $as_echo_n "checking for $ac_word... " >&6; }
5718 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5719 $as_echo_n "(cached) " >&6
5720 else
5721 if test -n "$PKG_CONFIG"; then
5722 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5723 else
5724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5725 for as_dir in $PATH
5727 IFS=$as_save_IFS
5728 test -z "$as_dir" && as_dir=.
5729 for ac_exec_ext in '' $ac_executable_extensions; do
5730 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5731 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5733 break 2
5735 done
5736 done
5737 IFS=$as_save_IFS
5741 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5742 if test -n "$PKG_CONFIG"; then
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5744 $as_echo "$PKG_CONFIG" >&6; }
5745 else
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5747 $as_echo "no" >&6; }
5752 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5753 if test "x$cross_compiling" = xyes; then :
5755 else
5756 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5757 # Extract the first word of "pkg-config", so it can be a program name with args.
5758 set dummy pkg-config; ac_word=$2
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5760 $as_echo_n "checking for $ac_word... " >&6; }
5761 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5762 $as_echo_n "(cached) " >&6
5763 else
5764 if test -n "$PKG_CONFIG"; then
5765 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5766 else
5767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5768 for as_dir in $PATH
5770 IFS=$as_save_IFS
5771 test -z "$as_dir" && as_dir=.
5772 for ac_exec_ext in '' $ac_executable_extensions; do
5773 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5774 ac_cv_prog_PKG_CONFIG="pkg-config"
5775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5776 break 2
5778 done
5779 done
5780 IFS=$as_save_IFS
5784 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5785 if test -n "$PKG_CONFIG"; then
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5787 $as_echo "$PKG_CONFIG" >&6; }
5788 else
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5790 $as_echo "no" >&6; }
5795 else
5796 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5799 if test "x$enable_maintainer_mode" != "xyes"
5800 then
5801 FONTFORGE=""
5802 RSVG=""
5803 CONVERT=""
5804 ICOTOOL=""
5805 else
5806 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5807 for ac_prog in fontforge
5809 # Extract the first word of "$ac_prog", so it can be a program name with args.
5810 set dummy $ac_prog; ac_word=$2
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5812 $as_echo_n "checking for $ac_word... " >&6; }
5813 if ${ac_cv_prog_FONTFORGE+:} false; then :
5814 $as_echo_n "(cached) " >&6
5815 else
5816 if test -n "$FONTFORGE"; then
5817 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5818 else
5819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5820 for as_dir in $PATH
5822 IFS=$as_save_IFS
5823 test -z "$as_dir" && as_dir=.
5824 for ac_exec_ext in '' $ac_executable_extensions; do
5825 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5826 ac_cv_prog_FONTFORGE="$ac_prog"
5827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5828 break 2
5830 done
5831 done
5832 IFS=$as_save_IFS
5836 FONTFORGE=$ac_cv_prog_FONTFORGE
5837 if test -n "$FONTFORGE"; then
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5839 $as_echo "$FONTFORGE" >&6; }
5840 else
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5842 $as_echo "no" >&6; }
5846 test -n "$FONTFORGE" && break
5847 done
5848 test -n "$FONTFORGE" || FONTFORGE="false"
5850 for ac_prog in rsvg-convert rsvg
5852 # Extract the first word of "$ac_prog", so it can be a program name with args.
5853 set dummy $ac_prog; ac_word=$2
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5855 $as_echo_n "checking for $ac_word... " >&6; }
5856 if ${ac_cv_prog_RSVG+:} false; then :
5857 $as_echo_n "(cached) " >&6
5858 else
5859 if test -n "$RSVG"; then
5860 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5861 else
5862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5863 for as_dir in $PATH
5865 IFS=$as_save_IFS
5866 test -z "$as_dir" && as_dir=.
5867 for ac_exec_ext in '' $ac_executable_extensions; do
5868 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5869 ac_cv_prog_RSVG="$ac_prog"
5870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5871 break 2
5873 done
5874 done
5875 IFS=$as_save_IFS
5879 RSVG=$ac_cv_prog_RSVG
5880 if test -n "$RSVG"; then
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5882 $as_echo "$RSVG" >&6; }
5883 else
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5885 $as_echo "no" >&6; }
5889 test -n "$RSVG" && break
5890 done
5891 test -n "$RSVG" || RSVG="false"
5893 for ac_prog in convert
5895 # Extract the first word of "$ac_prog", so it can be a program name with args.
5896 set dummy $ac_prog; ac_word=$2
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5898 $as_echo_n "checking for $ac_word... " >&6; }
5899 if ${ac_cv_prog_CONVERT+:} false; then :
5900 $as_echo_n "(cached) " >&6
5901 else
5902 if test -n "$CONVERT"; then
5903 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5904 else
5905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5906 for as_dir in $PATH
5908 IFS=$as_save_IFS
5909 test -z "$as_dir" && as_dir=.
5910 for ac_exec_ext in '' $ac_executable_extensions; do
5911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5912 ac_cv_prog_CONVERT="$ac_prog"
5913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5914 break 2
5916 done
5917 done
5918 IFS=$as_save_IFS
5922 CONVERT=$ac_cv_prog_CONVERT
5923 if test -n "$CONVERT"; then
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5925 $as_echo "$CONVERT" >&6; }
5926 else
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5928 $as_echo "no" >&6; }
5932 test -n "$CONVERT" && break
5933 done
5934 test -n "$CONVERT" || CONVERT="false"
5936 for ac_prog in icotool
5938 # Extract the first word of "$ac_prog", so it can be a program name with args.
5939 set dummy $ac_prog; ac_word=$2
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5941 $as_echo_n "checking for $ac_word... " >&6; }
5942 if ${ac_cv_prog_ICOTOOL+:} false; then :
5943 $as_echo_n "(cached) " >&6
5944 else
5945 if test -n "$ICOTOOL"; then
5946 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5947 else
5948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5949 for as_dir in $PATH
5951 IFS=$as_save_IFS
5952 test -z "$as_dir" && as_dir=.
5953 for ac_exec_ext in '' $ac_executable_extensions; do
5954 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5955 ac_cv_prog_ICOTOOL="$ac_prog"
5956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5957 break 2
5959 done
5960 done
5961 IFS=$as_save_IFS
5965 ICOTOOL=$ac_cv_prog_ICOTOOL
5966 if test -n "$ICOTOOL"; then
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5968 $as_echo "$ICOTOOL" >&6; }
5969 else
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5971 $as_echo "no" >&6; }
5975 test -n "$ICOTOOL" && break
5976 done
5977 test -n "$ICOTOOL" || ICOTOOL="false"
5979 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5980 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5982 if test "$CONVERT" = false
5983 then
5984 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5985 else
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5987 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5988 convert_version=`convert --version | head -n1`
5989 if test "x$convert_version" != "x"
5990 then
5991 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5992 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5993 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5994 then
5995 CONVERT=false
5998 if test "$CONVERT" = false
5999 then
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6001 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6002 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6003 else
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6005 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6009 if test "$ICOTOOL" = false
6010 then
6011 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6012 else
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6014 $as_echo_n "checking for recent enough icotool... " >&6; }
6015 icotool_version=`icotool --version | head -n1`
6016 if test "x$icotool_version" != "x"
6017 then
6018 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6019 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6020 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6021 then
6022 ICOTOOL=false
6023 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6026 if test "$ICOTOOL" = false
6027 then
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6029 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6030 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6031 else
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6033 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6037 with_gettext=yes
6038 with_gettextpo=yes
6039 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6042 test "x$with_gettext" != xno || MSGFMT=false
6043 if test "$MSGFMT" != "false"
6044 then
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6046 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6047 cat >conftest.po <<EOF
6048 # comment
6049 msgctxt "ctxt"
6050 msgid "id"
6051 msgstr "str"
6053 if $MSGFMT -o /dev/null conftest.po 2>&5
6054 then
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6056 $as_echo "yes" >&6; }
6057 else
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6059 $as_echo "no" >&6; }
6060 MSGFMT=false
6063 if test "$MSGFMT" = false; then :
6064 case "x$with_gettext" in
6065 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6066 xno) ;;
6067 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6068 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6069 esac
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6074 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6075 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6076 $as_echo_n "(cached) " >&6
6077 else
6078 ac_check_lib_save_LIBS=$LIBS
6079 LIBS="-li386 $LIBS"
6080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6081 /* end confdefs.h. */
6083 /* Override any GCC internal prototype to avoid an error.
6084 Use char because int might match the return type of a GCC
6085 builtin and then its argument prototype would still apply. */
6086 #ifdef __cplusplus
6087 extern "C"
6088 #endif
6089 char i386_set_ldt ();
6091 main ()
6093 return i386_set_ldt ();
6095 return 0;
6097 _ACEOF
6098 if ac_fn_c_try_link "$LINENO"; then :
6099 ac_cv_lib_i386_i386_set_ldt=yes
6100 else
6101 ac_cv_lib_i386_i386_set_ldt=no
6103 rm -f core conftest.err conftest.$ac_objext \
6104 conftest$ac_exeext conftest.$ac_ext
6105 LIBS=$ac_check_lib_save_LIBS
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6108 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6109 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6110 cat >>confdefs.h <<_ACEOF
6111 #define HAVE_LIBI386 1
6112 _ACEOF
6114 LIBS="-li386 $LIBS"
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6119 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6120 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6121 $as_echo_n "(cached) " >&6
6122 else
6123 ac_check_lib_save_LIBS=$LIBS
6124 LIBS="-lossaudio $LIBS"
6125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6126 /* end confdefs.h. */
6128 /* Override any GCC internal prototype to avoid an error.
6129 Use char because int might match the return type of a GCC
6130 builtin and then its argument prototype would still apply. */
6131 #ifdef __cplusplus
6132 extern "C"
6133 #endif
6134 char _oss_ioctl ();
6136 main ()
6138 return _oss_ioctl ();
6140 return 0;
6142 _ACEOF
6143 if ac_fn_c_try_link "$LINENO"; then :
6144 ac_cv_lib_ossaudio__oss_ioctl=yes
6145 else
6146 ac_cv_lib_ossaudio__oss_ioctl=no
6148 rm -f core conftest.err conftest.$ac_objext \
6149 conftest$ac_exeext conftest.$ac_ext
6150 LIBS=$ac_check_lib_save_LIBS
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6153 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6154 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6155 cat >>confdefs.h <<_ACEOF
6156 #define HAVE_LIBOSSAUDIO 1
6157 _ACEOF
6159 LIBS="-lossaudio $LIBS"
6164 OPENGL_LIBS=""
6168 # Check whether --enable-largefile was given.
6169 if test "${enable_largefile+set}" = set; then :
6170 enableval=$enable_largefile;
6173 if test "$enable_largefile" != no; then
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6176 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6177 if ${ac_cv_sys_largefile_CC+:} false; then :
6178 $as_echo_n "(cached) " >&6
6179 else
6180 ac_cv_sys_largefile_CC=no
6181 if test "$GCC" != yes; then
6182 ac_save_CC=$CC
6183 while :; do
6184 # IRIX 6.2 and later do not support large files by default,
6185 # so use the C compiler's -n32 option if that helps.
6186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6187 /* end confdefs.h. */
6188 #include <sys/types.h>
6189 /* Check that off_t can represent 2**63 - 1 correctly.
6190 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6191 since some C++ compilers masquerading as C compilers
6192 incorrectly reject 9223372036854775807. */
6193 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6194 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6195 && LARGE_OFF_T % 2147483647 == 1)
6196 ? 1 : -1];
6198 main ()
6202 return 0;
6204 _ACEOF
6205 if ac_fn_c_try_compile "$LINENO"; then :
6206 break
6208 rm -f core conftest.err conftest.$ac_objext
6209 CC="$CC -n32"
6210 if ac_fn_c_try_compile "$LINENO"; then :
6211 ac_cv_sys_largefile_CC=' -n32'; break
6213 rm -f core conftest.err conftest.$ac_objext
6214 break
6215 done
6216 CC=$ac_save_CC
6217 rm -f conftest.$ac_ext
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6221 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6222 if test "$ac_cv_sys_largefile_CC" != no; then
6223 CC=$CC$ac_cv_sys_largefile_CC
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6227 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6228 if ${ac_cv_sys_file_offset_bits+:} false; then :
6229 $as_echo_n "(cached) " >&6
6230 else
6231 while :; do
6232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6233 /* end confdefs.h. */
6234 #include <sys/types.h>
6235 /* Check that off_t can represent 2**63 - 1 correctly.
6236 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6237 since some C++ compilers masquerading as C compilers
6238 incorrectly reject 9223372036854775807. */
6239 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6240 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6241 && LARGE_OFF_T % 2147483647 == 1)
6242 ? 1 : -1];
6244 main ()
6248 return 0;
6250 _ACEOF
6251 if ac_fn_c_try_compile "$LINENO"; then :
6252 ac_cv_sys_file_offset_bits=no; break
6254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6256 /* end confdefs.h. */
6257 #define _FILE_OFFSET_BITS 64
6258 #include <sys/types.h>
6259 /* Check that off_t can represent 2**63 - 1 correctly.
6260 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6261 since some C++ compilers masquerading as C compilers
6262 incorrectly reject 9223372036854775807. */
6263 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6264 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6265 && LARGE_OFF_T % 2147483647 == 1)
6266 ? 1 : -1];
6268 main ()
6272 return 0;
6274 _ACEOF
6275 if ac_fn_c_try_compile "$LINENO"; then :
6276 ac_cv_sys_file_offset_bits=64; break
6278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6279 ac_cv_sys_file_offset_bits=unknown
6280 break
6281 done
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6284 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6285 case $ac_cv_sys_file_offset_bits in #(
6286 no | unknown) ;;
6288 cat >>confdefs.h <<_ACEOF
6289 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6290 _ACEOF
6292 esac
6293 rm -rf conftest*
6294 if test $ac_cv_sys_file_offset_bits = unknown; then
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6296 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6297 if ${ac_cv_sys_large_files+:} false; then :
6298 $as_echo_n "(cached) " >&6
6299 else
6300 while :; do
6301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6302 /* end confdefs.h. */
6303 #include <sys/types.h>
6304 /* Check that off_t can represent 2**63 - 1 correctly.
6305 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6306 since some C++ compilers masquerading as C compilers
6307 incorrectly reject 9223372036854775807. */
6308 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6309 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6310 && LARGE_OFF_T % 2147483647 == 1)
6311 ? 1 : -1];
6313 main ()
6317 return 0;
6319 _ACEOF
6320 if ac_fn_c_try_compile "$LINENO"; then :
6321 ac_cv_sys_large_files=no; break
6323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6325 /* end confdefs.h. */
6326 #define _LARGE_FILES 1
6327 #include <sys/types.h>
6328 /* Check that off_t can represent 2**63 - 1 correctly.
6329 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6330 since some C++ compilers masquerading as C compilers
6331 incorrectly reject 9223372036854775807. */
6332 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6333 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6334 && LARGE_OFF_T % 2147483647 == 1)
6335 ? 1 : -1];
6337 main ()
6341 return 0;
6343 _ACEOF
6344 if ac_fn_c_try_compile "$LINENO"; then :
6345 ac_cv_sys_large_files=1; break
6347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6348 ac_cv_sys_large_files=unknown
6349 break
6350 done
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6353 $as_echo "$ac_cv_sys_large_files" >&6; }
6354 case $ac_cv_sys_large_files in #(
6355 no | unknown) ;;
6357 cat >>confdefs.h <<_ACEOF
6358 #define _LARGE_FILES $ac_cv_sys_large_files
6359 _ACEOF
6361 esac
6362 rm -rf conftest*
6369 ac_ext=c
6370 ac_cpp='$CPP $CPPFLAGS'
6371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6375 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6376 # On Suns, sometimes $CPP names a directory.
6377 if test -n "$CPP" && test -d "$CPP"; then
6378 CPP=
6380 if test -z "$CPP"; then
6381 if ${ac_cv_prog_CPP+:} false; then :
6382 $as_echo_n "(cached) " >&6
6383 else
6384 # Double quotes because CPP needs to be expanded
6385 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6387 ac_preproc_ok=false
6388 for ac_c_preproc_warn_flag in '' yes
6390 # Use a header file that comes with gcc, so configuring glibc
6391 # with a fresh cross-compiler works.
6392 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6393 # <limits.h> exists even on freestanding compilers.
6394 # On the NeXT, cc -E runs the code through the compiler's parser,
6395 # not just through cpp. "Syntax error" is here to catch this case.
6396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6397 /* end confdefs.h. */
6398 #ifdef __STDC__
6399 # include <limits.h>
6400 #else
6401 # include <assert.h>
6402 #endif
6403 Syntax error
6404 _ACEOF
6405 if ac_fn_c_try_cpp "$LINENO"; then :
6407 else
6408 # Broken: fails on valid input.
6409 continue
6411 rm -f conftest.err conftest.i conftest.$ac_ext
6413 # OK, works on sane cases. Now check whether nonexistent headers
6414 # can be detected and how.
6415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6416 /* end confdefs.h. */
6417 #include <ac_nonexistent.h>
6418 _ACEOF
6419 if ac_fn_c_try_cpp "$LINENO"; then :
6420 # Broken: success on invalid input.
6421 continue
6422 else
6423 # Passes both tests.
6424 ac_preproc_ok=:
6425 break
6427 rm -f conftest.err conftest.i conftest.$ac_ext
6429 done
6430 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6431 rm -f conftest.i conftest.err conftest.$ac_ext
6432 if $ac_preproc_ok; then :
6433 break
6436 done
6437 ac_cv_prog_CPP=$CPP
6440 CPP=$ac_cv_prog_CPP
6441 else
6442 ac_cv_prog_CPP=$CPP
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6445 $as_echo "$CPP" >&6; }
6446 ac_preproc_ok=false
6447 for ac_c_preproc_warn_flag in '' yes
6449 # Use a header file that comes with gcc, so configuring glibc
6450 # with a fresh cross-compiler works.
6451 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6452 # <limits.h> exists even on freestanding compilers.
6453 # On the NeXT, cc -E runs the code through the compiler's parser,
6454 # not just through cpp. "Syntax error" is here to catch this case.
6455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6456 /* end confdefs.h. */
6457 #ifdef __STDC__
6458 # include <limits.h>
6459 #else
6460 # include <assert.h>
6461 #endif
6462 Syntax error
6463 _ACEOF
6464 if ac_fn_c_try_cpp "$LINENO"; then :
6466 else
6467 # Broken: fails on valid input.
6468 continue
6470 rm -f conftest.err conftest.i conftest.$ac_ext
6472 # OK, works on sane cases. Now check whether nonexistent headers
6473 # can be detected and how.
6474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6475 /* end confdefs.h. */
6476 #include <ac_nonexistent.h>
6477 _ACEOF
6478 if ac_fn_c_try_cpp "$LINENO"; then :
6479 # Broken: success on invalid input.
6480 continue
6481 else
6482 # Passes both tests.
6483 ac_preproc_ok=:
6484 break
6486 rm -f conftest.err conftest.i conftest.$ac_ext
6488 done
6489 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6490 rm -f conftest.i conftest.err conftest.$ac_ext
6491 if $ac_preproc_ok; then :
6493 else
6494 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6495 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6496 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6497 See \`config.log' for more details" "$LINENO" 5; }
6500 ac_ext=c
6501 ac_cpp='$CPP $CPPFLAGS'
6502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6508 $as_echo_n "checking for ANSI C header files... " >&6; }
6509 if ${ac_cv_header_stdc+:} false; then :
6510 $as_echo_n "(cached) " >&6
6511 else
6512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6513 /* end confdefs.h. */
6514 #include <stdlib.h>
6515 #include <stdarg.h>
6516 #include <string.h>
6517 #include <float.h>
6520 main ()
6524 return 0;
6526 _ACEOF
6527 if ac_fn_c_try_compile "$LINENO"; then :
6528 ac_cv_header_stdc=yes
6529 else
6530 ac_cv_header_stdc=no
6532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6534 if test $ac_cv_header_stdc = yes; then
6535 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6537 /* end confdefs.h. */
6538 #include <string.h>
6540 _ACEOF
6541 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6542 $EGREP "memchr" >/dev/null 2>&1; then :
6544 else
6545 ac_cv_header_stdc=no
6547 rm -f conftest*
6551 if test $ac_cv_header_stdc = yes; then
6552 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6554 /* end confdefs.h. */
6555 #include <stdlib.h>
6557 _ACEOF
6558 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6559 $EGREP "free" >/dev/null 2>&1; then :
6561 else
6562 ac_cv_header_stdc=no
6564 rm -f conftest*
6568 if test $ac_cv_header_stdc = yes; then
6569 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6570 if test "$cross_compiling" = yes; then :
6572 else
6573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6574 /* end confdefs.h. */
6575 #include <ctype.h>
6576 #include <stdlib.h>
6577 #if ((' ' & 0x0FF) == 0x020)
6578 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6579 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6580 #else
6581 # define ISLOWER(c) \
6582 (('a' <= (c) && (c) <= 'i') \
6583 || ('j' <= (c) && (c) <= 'r') \
6584 || ('s' <= (c) && (c) <= 'z'))
6585 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6586 #endif
6588 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6590 main ()
6592 int i;
6593 for (i = 0; i < 256; i++)
6594 if (XOR (islower (i), ISLOWER (i))
6595 || toupper (i) != TOUPPER (i))
6596 return 2;
6597 return 0;
6599 _ACEOF
6600 if ac_fn_c_try_run "$LINENO"; then :
6602 else
6603 ac_cv_header_stdc=no
6605 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6606 conftest.$ac_objext conftest.beam conftest.$ac_ext
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6612 $as_echo "$ac_cv_header_stdc" >&6; }
6613 if test $ac_cv_header_stdc = yes; then
6615 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6619 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6620 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6621 inttypes.h stdint.h unistd.h
6622 do :
6623 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6624 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6626 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6627 cat >>confdefs.h <<_ACEOF
6628 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6629 _ACEOF
6633 done
6636 for ac_header in \
6637 AL/al.h \
6638 ApplicationServices/ApplicationServices.h \
6639 AudioToolbox/AudioConverter.h \
6640 AudioUnit/AudioUnit.h \
6641 AudioUnit/AudioComponent.h \
6642 CL/cl.h \
6643 Carbon/Carbon.h \
6644 CoreAudio/CoreAudio.h \
6645 CoreServices/CoreServices.h \
6646 DiskArbitration/DiskArbitration.h \
6647 IOKit/IOKitLib.h \
6648 IOKit/hid/IOHIDLib.h \
6649 OpenAL/al.h \
6650 OpenCL/opencl.h \
6651 QuickTime/ImageCompression.h \
6652 Security/Security.h \
6653 alias.h \
6654 alsa/asoundlib.h \
6655 arpa/inet.h \
6656 arpa/nameser.h \
6657 asm/types.h \
6658 asm/user.h \
6659 curses.h \
6660 direct.h \
6661 dirent.h \
6662 dlfcn.h \
6663 elf.h \
6664 float.h \
6665 fnmatch.h \
6666 getopt.h \
6667 gettext-po.h \
6668 grp.h \
6669 gsm.h \
6670 gsm/gsm.h \
6671 ieeefp.h \
6672 inet/mib2.h \
6673 io.h \
6674 kstat.h \
6675 lber.h \
6676 ldap.h \
6677 libproc.h \
6678 link.h \
6679 linux/cdrom.h \
6680 linux/compiler.h \
6681 linux/filter.h \
6682 linux/hdreg.h \
6683 linux/input.h \
6684 linux/ioctl.h \
6685 linux/joystick.h \
6686 linux/major.h \
6687 linux/param.h \
6688 linux/serial.h \
6689 linux/types.h \
6690 linux/ucdrom.h \
6691 lwp.h \
6692 mach-o/nlist.h \
6693 mach-o/loader.h \
6694 mach/mach.h \
6695 mach/machine.h \
6696 machine/cpu.h \
6697 machine/limits.h \
6698 machine/sysarch.h \
6699 mntent.h \
6700 ncurses.h \
6701 netdb.h \
6702 netinet/in.h \
6703 netinet/in_systm.h \
6704 netinet/tcp.h \
6705 netinet/tcp_fsm.h \
6706 pcap/pcap.h \
6707 poll.h \
6708 port.h \
6709 process.h \
6710 pthread.h \
6711 pwd.h \
6712 sched.h \
6713 scsi/scsi.h \
6714 scsi/scsi_ioctl.h \
6715 scsi/sg.h \
6716 stdbool.h \
6717 stdint.h \
6718 stropts.h \
6719 sys/asoundlib.h \
6720 sys/attr.h \
6721 sys/cdio.h \
6722 sys/elf32.h \
6723 sys/epoll.h \
6724 sys/event.h \
6725 sys/exec_elf.h \
6726 sys/filio.h \
6727 sys/inotify.h \
6728 sys/ioctl.h \
6729 sys/ipc.h \
6730 sys/limits.h \
6731 sys/link.h \
6732 sys/mman.h \
6733 sys/modem.h \
6734 sys/msg.h \
6735 sys/mtio.h \
6736 sys/param.h \
6737 sys/poll.h \
6738 sys/prctl.h \
6739 sys/protosw.h \
6740 sys/ptrace.h \
6741 sys/queue.h \
6742 sys/resource.h \
6743 sys/scsiio.h \
6744 sys/shm.h \
6745 sys/signal.h \
6746 sys/socket.h \
6747 sys/socketvar.h \
6748 sys/sockio.h \
6749 sys/statvfs.h \
6750 sys/strtio.h \
6751 sys/syscall.h \
6752 sys/tihdr.h \
6753 sys/time.h \
6754 sys/timeout.h \
6755 sys/times.h \
6756 sys/uio.h \
6757 sys/user.h \
6758 sys/utsname.h \
6759 sys/vm86.h \
6760 sys/vnode.h \
6761 sys/wait.h \
6762 syscall.h \
6763 termios.h \
6764 unistd.h \
6765 utime.h \
6766 valgrind/memcheck.h \
6767 valgrind/valgrind.h \
6768 zlib.h
6770 do :
6771 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6772 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6773 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6774 cat >>confdefs.h <<_ACEOF
6775 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6776 _ACEOF
6780 done
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6783 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6784 if ${ac_cv_header_stat_broken+:} false; then :
6785 $as_echo_n "(cached) " >&6
6786 else
6787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6788 /* end confdefs.h. */
6789 #include <sys/types.h>
6790 #include <sys/stat.h>
6792 #if defined S_ISBLK && defined S_IFDIR
6793 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6794 #endif
6796 #if defined S_ISBLK && defined S_IFCHR
6797 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6798 #endif
6800 #if defined S_ISLNK && defined S_IFREG
6801 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6802 #endif
6804 #if defined S_ISSOCK && defined S_IFREG
6805 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6806 #endif
6808 _ACEOF
6809 if ac_fn_c_try_compile "$LINENO"; then :
6810 ac_cv_header_stat_broken=no
6811 else
6812 ac_cv_header_stat_broken=yes
6814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6817 $as_echo "$ac_cv_header_stat_broken" >&6; }
6818 if test $ac_cv_header_stat_broken = yes; then
6820 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6826 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6827 do :
6828 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6829 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6830 #ifdef HAVE_SYS_PARAM_H
6831 # include <sys/param.h>
6832 #endif
6834 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6835 cat >>confdefs.h <<_ACEOF
6836 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6837 _ACEOF
6841 done
6844 for ac_header in \
6845 netinet/ip.h \
6846 net/if.h \
6847 net/if_arp.h \
6848 net/if_dl.h \
6849 net/if_types.h \
6850 net/route.h \
6851 netinet/if_ether.h \
6852 netinet/if_inarp.h \
6853 netinet/in_pcb.h \
6854 netinet/ip_icmp.h \
6855 netinet/ip_var.h \
6856 netinet/udp.h \
6857 netipx/ipx.h \
6858 sys/un.h \
6860 do :
6861 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6862 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6863 #ifdef HAVE_SYS_SOCKET_H
6864 # include <sys/socket.h>
6865 #endif
6866 #ifdef HAVE_SYS_SOCKETVAR_H
6867 # include <sys/socketvar.h>
6868 #endif
6869 #ifdef HAVE_NET_ROUTE_H
6870 # include <net/route.h>
6871 #endif
6872 #ifdef HAVE_NETINET_IN_H
6873 # include <netinet/in.h>
6874 #endif
6875 #ifdef HAVE_NETINET_IN_SYSTM_H
6876 # include <netinet/in_systm.h>
6877 #endif
6878 #ifdef HAVE_NET_IF_H
6879 # include <net/if.h>
6880 #endif
6881 #ifdef HAVE_NETINET_IP_H
6882 # include <netinet/ip.h>
6883 #endif
6885 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6886 cat >>confdefs.h <<_ACEOF
6887 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6888 _ACEOF
6892 done
6895 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6896 do :
6897 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6898 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6899 #ifdef HAVE_ALIAS_H
6900 # include <alias.h>
6901 #endif
6902 #ifdef HAVE_SYS_SOCKET_H
6903 # include <sys/socket.h>
6904 #endif
6905 #ifdef HAVE_SYS_SOCKETVAR_H
6906 # include <sys/socketvar.h>
6907 #endif
6908 #ifdef HAVE_SYS_TIMEOUT_H
6909 # include <sys/timeout.h>
6910 #endif
6911 #ifdef HAVE_NETINET_IN_H
6912 # include <netinet/in.h>
6913 #endif
6914 #ifdef HAVE_NETINET_IN_SYSTM_H
6915 # include <netinet/in_systm.h>
6916 #endif
6917 #ifdef HAVE_NETINET_IP_H
6918 # include <netinet/ip.h>
6919 #endif
6920 #ifdef HAVE_NETINET_IP_VAR_H
6921 # include <netinet/ip_var.h>
6922 #endif
6923 #ifdef HAVE_NETINET_IP_ICMP_H
6924 # include <netinet/ip_icmp.h>
6925 #endif
6926 #ifdef HAVE_NETINET_UDP_H
6927 # include <netinet/udp.h>
6928 #endif
6929 #ifdef HAVE_NETINET_TCP_H
6930 # include <netinet/tcp.h>
6931 #endif
6932 #ifdef HAVE_NETINET_TCP_TIMER_H
6933 #include <netinet/tcp_timer.h>
6934 #endif
6936 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6937 cat >>confdefs.h <<_ACEOF
6938 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6939 _ACEOF
6943 done
6946 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6947 do :
6948 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6949 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6950 #ifdef HAVE_ASM_TYPES_H
6951 # include <asm/types.h>
6952 #endif
6953 #ifdef HAVE_SYS_SOCKET_H
6954 # include <sys/socket.h>
6955 #endif
6956 #ifdef HAVE_LINUX_TYPES_H
6957 # include <linux/types.h>
6958 #endif
6960 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6961 cat >>confdefs.h <<_ACEOF
6962 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6963 _ACEOF
6967 done
6970 for ac_header in mach-o/dyld_images.h
6971 do :
6972 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6973 # include <stdbool.h>
6974 #endif
6975 #ifdef HAVE_STDINT_H
6976 # include <stdint.h>
6977 #endif
6979 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6980 cat >>confdefs.h <<_ACEOF
6981 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6982 _ACEOF
6986 done
6989 for ac_header in resolv.h
6990 do :
6991 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6992 #ifdef HAVE_SYS_SOCKET_H
6993 # include <sys/socket.h>
6994 #endif
6995 #ifdef HAVE_NETINET_IN_H
6996 # include <netinet/in.h>
6997 #endif
6998 #ifdef HAVE_ARPA_NAMESER_H
6999 # include <arpa/nameser.h>
7000 #endif
7002 if test "x$ac_cv_header_resolv_h" = xyes; then :
7003 cat >>confdefs.h <<_ACEOF
7004 #define HAVE_RESOLV_H 1
7005 _ACEOF
7009 done
7012 for ac_header in ifaddrs.h
7013 do :
7014 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7016 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7017 cat >>confdefs.h <<_ACEOF
7018 #define HAVE_IFADDRS_H 1
7019 _ACEOF
7023 done
7026 for ac_header in sys/ucontext.h
7027 do :
7028 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7030 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7031 cat >>confdefs.h <<_ACEOF
7032 #define HAVE_SYS_UCONTEXT_H 1
7033 _ACEOF
7037 done
7040 for ac_header in sys/thr.h
7041 do :
7042 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7043 #ifdef HAVE_SYS_UCONTEXT_H
7044 #include <sys/ucontext.h>
7045 #endif
7047 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7048 cat >>confdefs.h <<_ACEOF
7049 #define HAVE_SYS_THR_H 1
7050 _ACEOF
7054 done
7057 for ac_header in pthread_np.h
7058 do :
7059 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7060 #include <pthread.h>
7061 #endif
7063 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7064 cat >>confdefs.h <<_ACEOF
7065 #define HAVE_PTHREAD_NP_H 1
7066 _ACEOF
7070 done
7073 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7074 do :
7075 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7076 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7077 #include <sys/time.h>
7078 #endif
7079 #include <sys/types.h>
7080 #ifdef HAVE_ASM_TYPES_H
7081 #include <asm/types.h>
7082 #endif
7084 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7085 cat >>confdefs.h <<_ACEOF
7086 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7087 _ACEOF
7091 done
7094 for ac_header in libprocstat.h
7095 do :
7096 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7097 #include <sys/param.h>
7098 #endif
7099 #ifdef HAVE_SYS_QUEUE_H
7100 #include <sys/queue.h>
7101 #endif
7102 #ifdef HAVE_SYS_SOCKET_H
7103 #include <sys/socket.h>
7104 #endif
7106 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7107 cat >>confdefs.h <<_ACEOF
7108 #define HAVE_LIBPROCSTAT_H 1
7109 _ACEOF
7113 done
7117 dlldir="\${libdir}/wine"
7119 DLLPREFIX=""
7121 DLLFLAGS="-D_REENTRANT"
7123 LDRPATH_INSTALL=""
7125 LDRPATH_LOCAL=""
7127 LIBEXT="so"
7128 DLLEXT=".so"
7129 IMPLIBEXT="def"
7130 STATIC_IMPLIBEXT="def.a"
7131 # Extract the first word of "ldd", so it can be a program name with args.
7132 set dummy ldd; ac_word=$2
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7134 $as_echo_n "checking for $ac_word... " >&6; }
7135 if ${ac_cv_path_LDD+:} false; then :
7136 $as_echo_n "(cached) " >&6
7137 else
7138 case $LDD in
7139 [\\/]* | ?:[\\/]*)
7140 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7144 as_dummy="/sbin:/usr/sbin:$PATH"
7145 for as_dir in $as_dummy
7147 IFS=$as_save_IFS
7148 test -z "$as_dir" && as_dir=.
7149 for ac_exec_ext in '' $ac_executable_extensions; do
7150 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7151 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7153 break 2
7155 done
7156 done
7157 IFS=$as_save_IFS
7159 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7161 esac
7163 LDD=$ac_cv_path_LDD
7164 if test -n "$LDD"; then
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7166 $as_echo "$LDD" >&6; }
7167 else
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7169 $as_echo "no" >&6; }
7173 if test -n "$ac_tool_prefix"; then
7174 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7175 set dummy ${ac_tool_prefix}otool; ac_word=$2
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7177 $as_echo_n "checking for $ac_word... " >&6; }
7178 if ${ac_cv_prog_OTOOL+:} false; then :
7179 $as_echo_n "(cached) " >&6
7180 else
7181 if test -n "$OTOOL"; then
7182 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7183 else
7184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7185 for as_dir in $PATH
7187 IFS=$as_save_IFS
7188 test -z "$as_dir" && as_dir=.
7189 for ac_exec_ext in '' $ac_executable_extensions; do
7190 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7191 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7193 break 2
7195 done
7196 done
7197 IFS=$as_save_IFS
7201 OTOOL=$ac_cv_prog_OTOOL
7202 if test -n "$OTOOL"; then
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7204 $as_echo "$OTOOL" >&6; }
7205 else
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7207 $as_echo "no" >&6; }
7212 if test -z "$ac_cv_prog_OTOOL"; then
7213 ac_ct_OTOOL=$OTOOL
7214 # Extract the first word of "otool", so it can be a program name with args.
7215 set dummy otool; ac_word=$2
7216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7217 $as_echo_n "checking for $ac_word... " >&6; }
7218 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7219 $as_echo_n "(cached) " >&6
7220 else
7221 if test -n "$ac_ct_OTOOL"; then
7222 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7223 else
7224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7225 for as_dir in $PATH
7227 IFS=$as_save_IFS
7228 test -z "$as_dir" && as_dir=.
7229 for ac_exec_ext in '' $ac_executable_extensions; do
7230 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7231 ac_cv_prog_ac_ct_OTOOL="otool"
7232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7233 break 2
7235 done
7236 done
7237 IFS=$as_save_IFS
7241 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7242 if test -n "$ac_ct_OTOOL"; then
7243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7244 $as_echo "$ac_ct_OTOOL" >&6; }
7245 else
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7247 $as_echo "no" >&6; }
7250 if test "x$ac_ct_OTOOL" = x; then
7251 OTOOL="otool"
7252 else
7253 case $cross_compiling:$ac_tool_warned in
7254 yes:)
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7256 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7257 ac_tool_warned=yes ;;
7258 esac
7259 OTOOL=$ac_ct_OTOOL
7261 else
7262 OTOOL="$ac_cv_prog_OTOOL"
7265 if test -n "$ac_tool_prefix"; then
7266 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7267 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7269 $as_echo_n "checking for $ac_word... " >&6; }
7270 if ${ac_cv_prog_READELF+:} false; then :
7271 $as_echo_n "(cached) " >&6
7272 else
7273 if test -n "$READELF"; then
7274 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7275 else
7276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7277 for as_dir in $PATH
7279 IFS=$as_save_IFS
7280 test -z "$as_dir" && as_dir=.
7281 for ac_exec_ext in '' $ac_executable_extensions; do
7282 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7283 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7285 break 2
7287 done
7288 done
7289 IFS=$as_save_IFS
7293 READELF=$ac_cv_prog_READELF
7294 if test -n "$READELF"; then
7295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7296 $as_echo "$READELF" >&6; }
7297 else
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7299 $as_echo "no" >&6; }
7304 if test -z "$ac_cv_prog_READELF"; then
7305 ac_ct_READELF=$READELF
7306 # Extract the first word of "readelf", so it can be a program name with args.
7307 set dummy readelf; ac_word=$2
7308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7309 $as_echo_n "checking for $ac_word... " >&6; }
7310 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7311 $as_echo_n "(cached) " >&6
7312 else
7313 if test -n "$ac_ct_READELF"; then
7314 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7315 else
7316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7317 for as_dir in $PATH
7319 IFS=$as_save_IFS
7320 test -z "$as_dir" && as_dir=.
7321 for ac_exec_ext in '' $ac_executable_extensions; do
7322 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7323 ac_cv_prog_ac_ct_READELF="readelf"
7324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7325 break 2
7327 done
7328 done
7329 IFS=$as_save_IFS
7333 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7334 if test -n "$ac_ct_READELF"; then
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7336 $as_echo "$ac_ct_READELF" >&6; }
7337 else
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7339 $as_echo "no" >&6; }
7342 if test "x$ac_ct_READELF" = x; then
7343 READELF="true"
7344 else
7345 case $cross_compiling:$ac_tool_warned in
7346 yes:)
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7348 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7349 ac_tool_warned=yes ;;
7350 esac
7351 READELF=$ac_ct_READELF
7353 else
7354 READELF="$ac_cv_prog_READELF"
7357 wine_rules_file=conf$$rules.make
7358 rm -f $wine_rules_file
7359 ALL_POT_FILES=""
7360 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7361 ALL_TEST_RESOURCES=""
7364 wine_fn_append_file ()
7366 as_fn_append $1 " \\$as_nl $2"
7369 wine_fn_ignore_file ()
7371 case "$1" in
7372 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7373 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7374 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7375 esac
7378 wine_fn_append_rule ()
7380 $as_echo "$1" >>$wine_rules_file
7383 wine_fn_has_flag ()
7385 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7388 wine_fn_depend_rules ()
7390 wine_fn_append_rule \
7391 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7392 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7393 depend: $ac_dir/depend
7394 .PHONY: $ac_dir/depend
7395 $ac_dir/depend: \$(MAKEDEP) dummy
7396 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7399 wine_fn_pot_rules ()
7401 test "x$with_gettextpo" = xyes || return
7403 if wine_fn_has_flag mc
7404 then
7405 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7406 wine_fn_append_rule \
7407 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7408 @cd $ac_dir && \$(MAKE) msg.pot
7409 $ac_dir/msg.pot: tools/wmc include"
7411 if wine_fn_has_flag po
7412 then
7413 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7414 wine_fn_append_rule \
7415 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7416 @cd $ac_dir && \$(MAKE) rsrc.pot
7417 $ac_dir/rsrc.pot: tools/wrc include"
7421 wine_fn_all_rules ()
7423 wine_fn_depend_rules
7424 wine_fn_append_rule \
7425 "all: $ac_dir
7426 .PHONY: $ac_dir
7427 $ac_dir: $ac_dir/Makefile dummy
7428 @cd $ac_dir && \$(MAKE)"
7431 wine_fn_install_rules ()
7433 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7435 wine_fn_append_rule \
7436 ".PHONY: $ac_dir/install $ac_dir/uninstall
7437 $ac_dir/install:: $ac_dir
7438 @cd $ac_dir && \$(MAKE) install
7439 $ac_dir/uninstall:: $ac_dir/Makefile
7440 @cd $ac_dir && \$(MAKE) uninstall
7441 install:: $ac_dir/install
7442 __uninstall__: $ac_dir/uninstall"
7444 if wine_fn_has_flag install-lib
7445 then
7446 wine_fn_append_rule \
7447 ".PHONY: $ac_dir/install-lib
7448 $ac_dir/install-lib:: $ac_dir
7449 @cd $ac_dir && \$(MAKE) install-lib
7450 install-lib:: $ac_dir/install-lib"
7453 if wine_fn_has_flag install-dev
7454 then
7455 wine_fn_append_rule \
7456 ".PHONY: $ac_dir/install-dev
7457 $ac_dir/install-dev:: $ac_dir
7458 @cd $ac_dir && \$(MAKE) install-dev
7459 install-dev:: $ac_dir/install-dev"
7463 wine_fn_clean_rules ()
7465 ac_clean=$@
7466 ac_extraclean="$ac_dir/Makefile"
7467 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7468 case $ac_dir in
7469 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7470 esac
7472 if wine_fn_has_flag clean
7473 then
7474 wine_fn_append_rule \
7475 "__clean__: $ac_dir/clean
7476 .PHONY: $ac_dir/clean
7477 $ac_dir/clean: $ac_dir/Makefile
7478 @cd $ac_dir && \$(MAKE) clean
7479 \$(RM) $ac_extraclean"
7480 else
7481 wine_fn_append_rule \
7482 "__clean__: $ac_dir/clean
7483 .PHONY: $ac_dir/clean
7484 $ac_dir/clean: dummy
7485 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7489 wine_fn_disabled_rules ()
7491 ac_clean=$@
7492 ac_extraclean="$ac_dir/Makefile"
7493 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7495 wine_fn_append_rule \
7496 "__clean__: $ac_dir/clean
7497 .PHONY: $ac_dir/clean
7498 $ac_dir/clean: dummy
7499 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7502 wine_fn_config_makefile ()
7504 ac_dir=$1
7505 ac_enable=$2
7506 ac_flags=$3
7508 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7509 wine_fn_disabled_rules; return
7511 wine_fn_all_rules
7512 wine_fn_install_rules
7513 wine_fn_clean_rules
7516 wine_fn_config_lib ()
7518 ac_name=$1
7519 ac_flags=$2
7520 ac_dir=dlls/$ac_name
7521 ac_deps="include"
7523 if test "x$enable_tools" = xno; then :
7525 else
7526 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7528 wine_fn_all_rules
7529 wine_fn_clean_rules
7531 wine_fn_append_rule \
7532 ".PHONY: $ac_dir/install $ac_dir/uninstall
7533 $ac_dir/install:: $ac_dir
7534 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7535 $ac_dir/uninstall::
7536 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7537 install install-dev:: $ac_dir/install
7538 __uninstall__: $ac_dir/uninstall
7539 __builddeps__: $ac_dir
7540 $ac_dir: $ac_deps"
7543 wine_fn_config_dll ()
7545 ac_name=$1
7546 ac_dir=dlls/$ac_name
7547 ac_enable=$2
7548 ac_flags=$3
7549 ac_implib=${4:-$ac_name}
7550 ac_file=$ac_dir/lib$ac_implib
7551 ac_dll=$ac_name
7552 ac_deps="include"
7553 ac_implibflags=""
7555 if test "x$enable_tools" = xno; then :
7557 else
7558 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7560 case $ac_name in
7561 *16) ac_implibflags=" -m16" ;;
7562 *.*) ;;
7563 *) ac_dll=$ac_dll.dll ;;
7564 esac
7566 ac_clean=
7567 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7568 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7569 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7570 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7572 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7573 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7574 then
7575 wine_fn_depend_rules
7576 wine_fn_clean_rules $ac_clean
7577 else
7578 wine_fn_disabled_rules $ac_clean
7579 return
7581 else
7582 wine_fn_all_rules
7583 wine_fn_clean_rules $ac_clean
7584 wine_fn_append_rule \
7585 "$ac_dir: __builddeps__
7586 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7587 @cd $ac_dir && \$(MAKE) \$@
7588 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7589 install install-lib:: $ac_dir/install-lib
7590 __uninstall__: $ac_dir/uninstall"
7591 if test -n "$DLLEXT"
7592 then
7593 wine_fn_append_rule \
7594 "$ac_dir/install-lib:: $ac_dir
7595 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7596 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7597 $ac_dir/uninstall::
7598 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7599 else
7600 wine_fn_append_rule \
7601 "$ac_dir/install-lib:: $ac_dir
7602 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7603 $ac_dir/uninstall::
7604 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7607 wine_fn_pot_rules
7610 if wine_fn_has_flag staticimplib
7611 then
7612 wine_fn_append_rule \
7613 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7614 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7615 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7616 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7617 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7618 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7619 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7620 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7621 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7622 $ac_dir/uninstall::
7623 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7624 install install-dev:: $ac_dir/install-dev
7625 __uninstall__: $ac_dir/uninstall"
7627 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7628 then
7629 wine_fn_append_rule \
7630 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7631 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7632 $ac_dir/uninstall::
7633 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7636 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7637 then
7638 wine_fn_append_rule \
7639 "__builddeps__: $ac_file.cross.a
7640 $ac_file.cross.a: $ac_dir/Makefile dummy
7641 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7644 elif wine_fn_has_flag implib
7645 then
7646 wine_fn_append_rule \
7647 "__builddeps__: $ac_file.$IMPLIBEXT
7648 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7649 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7650 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7651 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7652 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7653 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7654 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7655 $ac_dir/uninstall::
7656 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7657 install install-dev:: $ac_dir/install-dev
7658 __uninstall__: $ac_dir/uninstall"
7659 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7660 then
7661 wine_fn_append_rule \
7662 "__builddeps__: $ac_file.cross.a
7663 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7664 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7667 if test "$ac_name" != "$ac_implib"
7668 then
7669 wine_fn_append_rule \
7670 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7671 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7672 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7673 clean::
7674 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7675 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7676 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7677 then
7678 wine_fn_append_rule \
7679 "__builddeps__: dlls/lib$ac_implib.cross.a
7680 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7681 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7682 clean::
7683 \$(RM) dlls/lib$ac_implib.cross.a"
7684 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7690 wine_fn_config_program ()
7692 ac_name=$1
7693 ac_dir=programs/$ac_name
7694 ac_enable=$2
7695 ac_flags=$3
7696 ac_program=$ac_name
7698 case $ac_name in
7699 *.*) ;;
7700 *) ac_program=$ac_program.exe ;;
7701 esac
7703 ac_clean=
7704 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7705 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7706 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7707 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7709 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7710 wine_fn_disabled_rules $ac_clean; return
7713 wine_fn_all_rules
7714 wine_fn_clean_rules $ac_clean
7715 wine_fn_append_rule "$ac_dir: __builddeps__"
7716 wine_fn_pot_rules
7718 wine_fn_has_flag install || return
7719 wine_fn_append_rule \
7720 ".PHONY: $ac_dir/install $ac_dir/uninstall
7721 install install-lib:: $ac_dir/install
7722 __uninstall__: $ac_dir/uninstall"
7724 if test -n "$DLLEXT"
7725 then
7726 wine_fn_append_rule \
7727 "$ac_dir/install:: $ac_dir
7728 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7729 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7730 $ac_dir/uninstall::
7731 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7733 if test -z "$with_wine64" && wine_fn_has_flag installbin
7734 then
7735 wine_fn_append_rule \
7736 "$ac_dir/install:: __tooldeps__
7737 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7738 $ac_dir/uninstall::
7739 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7741 else
7742 wine_fn_append_rule \
7743 "$ac_dir/install:: $ac_dir
7744 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7745 $ac_dir/uninstall::
7746 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7749 if test -z "$with_wine64" && wine_fn_has_flag manpage
7750 then
7751 wine_fn_append_rule \
7752 "$ac_dir/install:: $ac_dir
7753 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7754 $ac_dir/uninstall::
7755 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7759 wine_fn_config_test ()
7761 ac_dir=$1
7762 ac_name=$2
7763 ac_flags=$3
7765 ac_clean=
7766 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7767 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7769 if test "x$enable_tests" = xno; then :
7770 wine_fn_disabled_rules $ac_clean; return
7773 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7774 wine_fn_all_rules
7775 wine_fn_clean_rules $ac_clean
7777 wine_fn_append_rule \
7778 "$ac_dir: programs/winetest/Makefile __builddeps__
7779 programs/winetest: $ac_dir
7780 check test: $ac_dir/test
7781 .PHONY: $ac_dir/test
7782 $ac_dir/test: dummy
7783 @cd $ac_dir && \$(MAKE) test
7784 testclean::
7785 \$(RM) $ac_dir/*.ok"
7787 if test -n "$CROSSTARGET"
7788 then
7789 wine_fn_append_rule \
7790 "crosstest: $ac_dir/crosstest
7791 .PHONY: $ac_dir/crosstest
7792 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7793 @cd $ac_dir && \$(MAKE) crosstest"
7797 wine_fn_config_tool ()
7799 ac_dir=$1
7800 ac_flags=$2
7801 if test "x$enable_tools" = xno; then :
7802 return
7805 wine_fn_all_rules
7806 wine_fn_install_rules
7807 wine_fn_clean_rules
7809 wine_fn_append_rule "__tooldeps__: $ac_dir"
7810 wine_fn_append_rule "$ac_dir: libs/port"
7811 case $ac_dir in
7812 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7813 esac
7816 wine_fn_config_symlink ()
7818 ac_linkdir=
7819 if test "x$1" = "x-d"
7820 then
7821 ac_linkdir=$2
7822 shift; shift
7824 ac_links=$@
7825 wine_fn_append_rule \
7826 "$ac_links:
7827 @./config.status \$@
7828 distclean::
7829 \$(RM) $ac_links"
7830 for f in $ac_links; do wine_fn_ignore_file $f; done
7831 test -n "$ac_linkdir" || return
7832 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7835 wine_binary="wine"
7836 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7837 loader_programs="$wine_binary wine-installed"
7838 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7840 LOADER_RULES="
7841 all: wine.inf
7843 install install-lib:: wine-installed
7844 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7846 uninstall::
7847 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7851 case $host_os in
7852 cygwin*|mingw32*)
7853 if test -n "$ac_tool_prefix"; then
7854 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7855 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7857 $as_echo_n "checking for $ac_word... " >&6; }
7858 if ${ac_cv_prog_DLLTOOL+:} false; then :
7859 $as_echo_n "(cached) " >&6
7860 else
7861 if test -n "$DLLTOOL"; then
7862 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7863 else
7864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7865 for as_dir in $PATH
7867 IFS=$as_save_IFS
7868 test -z "$as_dir" && as_dir=.
7869 for ac_exec_ext in '' $ac_executable_extensions; do
7870 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7871 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7873 break 2
7875 done
7876 done
7877 IFS=$as_save_IFS
7881 DLLTOOL=$ac_cv_prog_DLLTOOL
7882 if test -n "$DLLTOOL"; then
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7884 $as_echo "$DLLTOOL" >&6; }
7885 else
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7887 $as_echo "no" >&6; }
7892 if test -z "$ac_cv_prog_DLLTOOL"; then
7893 ac_ct_DLLTOOL=$DLLTOOL
7894 # Extract the first word of "dlltool", so it can be a program name with args.
7895 set dummy dlltool; ac_word=$2
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7897 $as_echo_n "checking for $ac_word... " >&6; }
7898 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7899 $as_echo_n "(cached) " >&6
7900 else
7901 if test -n "$ac_ct_DLLTOOL"; then
7902 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7903 else
7904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7905 for as_dir in $PATH
7907 IFS=$as_save_IFS
7908 test -z "$as_dir" && as_dir=.
7909 for ac_exec_ext in '' $ac_executable_extensions; do
7910 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7911 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7913 break 2
7915 done
7916 done
7917 IFS=$as_save_IFS
7921 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7922 if test -n "$ac_ct_DLLTOOL"; then
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7924 $as_echo "$ac_ct_DLLTOOL" >&6; }
7925 else
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7927 $as_echo "no" >&6; }
7930 if test "x$ac_ct_DLLTOOL" = x; then
7931 DLLTOOL="false"
7932 else
7933 case $cross_compiling:$ac_tool_warned in
7934 yes:)
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7936 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7937 ac_tool_warned=yes ;;
7938 esac
7939 DLLTOOL=$ac_ct_DLLTOOL
7941 else
7942 DLLTOOL="$ac_cv_prog_DLLTOOL"
7945 LIBEXT="dll"
7946 DLLEXT=""
7947 IMPLIBEXT="a"
7948 STATIC_IMPLIBEXT="a"
7949 enable_iphlpapi=${enable_iphlpapi:-no}
7950 enable_kernel32=${enable_kernel32:-no}
7951 enable_msvcrt=${enable_msvcrt:-no}
7952 enable_ntdll=${enable_ntdll:-no}
7953 enable_ws2_32=${enable_ws2_32:-no}
7954 enable_loader=${enable_loader:-no}
7955 enable_server=${enable_server:-no}
7956 with_x=${with_x:-no}
7957 with_pthread=${with_pthread:-no}
7959 crtlibs=""
7960 case $host_os in
7961 mingw32*)
7962 crtlibs="-lmsvcrt"
7963 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7965 esac
7967 libwine_targets="libwine.dll libwine.a"
7968 LIBWINE_RULES="
7969 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7971 all: libwine.dll libwine.a
7973 libwine.a: \$(srcdir)/wine.def
7974 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7976 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7977 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7979 install install-lib:: libwine.dll
7980 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7982 install install-dev:: libwine.a
7983 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7985 uninstall::
7986 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7991 darwin*|macosx*)
7992 for ac_header in libunwind.h
7993 do :
7994 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7995 if test "x$ac_cv_header_libunwind_h" = xyes; then :
7996 cat >>confdefs.h <<_ACEOF
7997 #define HAVE_LIBUNWIND_H 1
7998 _ACEOF
8002 done
8004 LIBEXT="dylib"
8005 DLLFLAGS="$DLLFLAGS -fPIC"
8006 LIBWINE_LDFLAGS="-multiply_defined suppress"
8007 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8008 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8009 COREFOUNDATION_LIBS="-framework CoreFoundation"
8011 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8013 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8015 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8017 CORESERVICES_LIBS="-framework CoreServices"
8019 APPKIT_LIBS="-framework AppKit"
8021 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8023 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8024 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8025 $as_echo_n "(cached) " >&6
8026 else
8027 ac_wine_try_cflags_saved=$CFLAGS
8028 CFLAGS="$CFLAGS -Wl,-no_pie"
8029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8030 /* end confdefs.h. */
8031 int main(int argc, char **argv) { return 0; }
8032 _ACEOF
8033 if ac_fn_c_try_link "$LINENO"; then :
8034 ac_cv_cflags__Wl__no_pie=yes
8035 else
8036 ac_cv_cflags__Wl__no_pie=no
8038 rm -f core conftest.err conftest.$ac_objext \
8039 conftest$ac_exeext conftest.$ac_ext
8040 CFLAGS=$ac_wine_try_cflags_saved
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8043 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8044 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8045 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8047 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8048 then
8049 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8052 if test "$ac_cv_header_Security_Security_h" = "yes"
8053 then
8054 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8056 ac_save_LIBS="$LIBS"
8057 LIBS="$LIBS $SECURITY_LIBS"
8058 for ac_func in SSLCopyPeerCertificates
8059 do :
8060 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8061 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8062 cat >>confdefs.h <<_ACEOF
8063 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8064 _ACEOF
8067 done
8069 LIBS="$ac_save_LIBS"
8070 with_gnutls=${with_gnutls:-no}
8072 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8073 then
8074 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8075 then
8076 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8078 else
8079 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8082 ac_save_LIBS="$LIBS"
8083 LIBS="$LIBS $COREAUDIO_LIBS"
8084 for ac_func in AUGraphAddNode
8085 do :
8086 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8087 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8088 cat >>confdefs.h <<_ACEOF
8089 #define HAVE_AUGRAPHADDNODE 1
8090 _ACEOF
8093 done
8095 LIBS="$ac_save_LIBS"
8097 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8098 then
8099 OPENAL_LIBS="-framework OpenAL"
8102 cat >>confdefs.h <<_ACEOF
8103 #define HAVE_OPENAL 1
8104 _ACEOF
8106 ac_cv_lib_openal=yes
8108 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8109 then
8110 OPENCL_LIBS="-framework OpenCL"
8112 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8114 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8115 then
8116 ac_save_LIBS="$LIBS"
8117 LIBS="$LIBS $IOKIT_LIBS"
8118 for ac_func in IOHIDManagerCreate
8119 do :
8120 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8121 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8122 cat >>confdefs.h <<_ACEOF
8123 #define HAVE_IOHIDMANAGERCREATE 1
8124 _ACEOF
8127 done
8129 LIBS="$ac_save_LIBS"
8131 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8132 then
8133 ac_save_LIBS="$LIBS"
8134 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8136 $as_echo_n "checking for the QuickTime framework... " >&6; }
8137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8138 /* end confdefs.h. */
8139 #include <QuickTime/ImageCompression.h>
8141 main ()
8143 CodecManagerVersion(NULL);
8145 return 0;
8147 _ACEOF
8148 if ac_fn_c_try_link "$LINENO"; then :
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8150 $as_echo "yes" >&6; }
8151 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8153 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8154 else
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8156 $as_echo "no" >&6; }
8157 ac_cv_header_QuickTime_ImageCompression_h=no
8159 rm -f core conftest.err conftest.$ac_objext \
8160 conftest$ac_exeext conftest.$ac_ext
8161 LIBS="$ac_save_LIBS"
8163 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8164 then
8165 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8167 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8168 then
8169 CARBON_LIBS="-framework Carbon"
8173 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8174 then
8175 ac_save_LIBS="$LIBS"
8176 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8177 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8178 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8179 enable_winemac_drv=${enable_winemac_drv:-yes}
8182 LIBS="$ac_save_LIBS"
8185 if test "x$enable_win16" = "xyes"
8186 then
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8188 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8189 if test "$cross_compiling" = yes; then :
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8191 $as_echo "cross-compiling, assuming yes" >&6; }
8192 else
8193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8194 /* end confdefs.h. */
8195 asm(".text\n"
8196 "bad:\tnop;nop\n"
8197 "good:\tnop;nop\n\t"
8198 ".globl _testfunc\n"
8199 "_testfunc:\tcallw good");
8200 extern void testfunc();
8202 main ()
8204 unsigned short *p = (unsigned short *)testfunc;
8205 return p[0] != 0xe866 || p[1] != 0xfffa
8207 return 0;
8209 _ACEOF
8210 if ac_fn_c_try_run "$LINENO"; then :
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8212 $as_echo "yes" >&6; }
8213 else
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8215 $as_echo "no" >&6; }
8216 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
8218 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8219 conftest.$ac_objext conftest.beam conftest.$ac_ext
8224 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8225 LIBWINE_RULES="
8226 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8228 all: libwine.dylib
8230 libwine.$libwine_version.dylib: \$(OBJS)
8231 \$(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 \$@
8233 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8234 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8236 libwine.dylib: libwine.$libwine_soversion.dylib
8237 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8239 install install-lib:: libwine.$libwine_version.dylib
8240 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8241 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8243 install install-dev::
8244 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8246 uninstall::
8247 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8251 as_fn_append LOADER_RULES "
8252 $wine_binary: main.o wine_info.plist
8253 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8255 wine-installed: main.o wine_info.plist
8256 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8260 linux-android*)
8261 DLLFLAGS="$DLLFLAGS -fPIC"
8262 DLLPREFIX="lib"
8263 LDEXECFLAGS=""
8264 dlldir="\${libdir}"
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8266 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8267 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8268 $as_echo_n "(cached) " >&6
8269 else
8270 ac_wine_try_cflags_saved=$CFLAGS
8271 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8273 /* end confdefs.h. */
8274 int main(int argc, char **argv) { return 0; }
8275 _ACEOF
8276 if ac_fn_c_try_link "$LINENO"; then :
8277 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8278 else
8279 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8281 rm -f core conftest.err conftest.$ac_objext \
8282 conftest$ac_exeext conftest.$ac_ext
8283 CFLAGS=$ac_wine_try_cflags_saved
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8286 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8287 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8288 LDEXECFLAGS="-Wl,--export-dynamic"
8290 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8292 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8293 if eval \${$as_ac_var+:} false; then :
8294 $as_echo_n "(cached) " >&6
8295 else
8296 ac_wine_try_cflags_saved=$CFLAGS
8297 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8299 /* end confdefs.h. */
8300 int main(int argc, char **argv) { return 0; }
8301 _ACEOF
8302 if ac_fn_c_try_link "$LINENO"; then :
8303 eval "$as_ac_var=yes"
8304 else
8305 eval "$as_ac_var=no"
8307 rm -f core conftest.err conftest.$ac_objext \
8308 conftest$ac_exeext conftest.$ac_ext
8309 CFLAGS=$ac_wine_try_cflags_saved
8311 eval ac_res=\$$as_ac_var
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8313 $as_echo "$ac_res" >&6; }
8314 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8315 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8316 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8317 else
8318 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8320 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8321 if eval \${$as_ac_var+:} false; then :
8322 $as_echo_n "(cached) " >&6
8323 else
8324 ac_wine_try_cflags_saved=$CFLAGS
8325 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8327 /* end confdefs.h. */
8328 int main(int argc, char **argv) { return 0; }
8329 _ACEOF
8330 if ac_fn_c_try_link "$LINENO"; then :
8331 eval "$as_ac_var=yes"
8332 else
8333 eval "$as_ac_var=no"
8335 rm -f core conftest.err conftest.$ac_objext \
8336 conftest$ac_exeext conftest.$ac_ext
8337 CFLAGS=$ac_wine_try_cflags_saved
8339 eval ac_res=\$$as_ac_var
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8341 $as_echo "$ac_res" >&6; }
8342 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8343 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8344 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8349 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8350 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8351 $as_echo_n "(cached) " >&6
8352 else
8353 ac_wine_try_cflags_saved=$CFLAGS
8354 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8356 /* end confdefs.h. */
8357 int main(int argc, char **argv) { return 0; }
8358 _ACEOF
8359 if ac_fn_c_try_link "$LINENO"; then :
8360 ac_cv_cflags__Wl___enable_new_dtags=yes
8361 else
8362 ac_cv_cflags__Wl___enable_new_dtags=no
8364 rm -f core conftest.err conftest.$ac_objext \
8365 conftest$ac_exeext conftest.$ac_ext
8366 CFLAGS=$ac_wine_try_cflags_saved
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8369 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8370 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8371 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8374 case $host_cpu in
8375 *i[3456789]86* | x86_64)
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8377 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8378 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8379 $as_echo_n "(cached) " >&6
8380 else
8381 ac_wine_try_cflags_saved=$CFLAGS
8382 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8384 /* end confdefs.h. */
8385 int main(int argc, char **argv) { return 0; }
8386 _ACEOF
8387 if ac_fn_c_try_link "$LINENO"; then :
8388 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8389 else
8390 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8392 rm -f core conftest.err conftest.$ac_objext \
8393 conftest$ac_exeext conftest.$ac_ext
8394 CFLAGS=$ac_wine_try_cflags_saved
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8397 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8398 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8399 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8402 esac
8404 libwine_targets="libwine.so"
8405 LIBWINE_RULES="
8406 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8408 all: libwine.so
8410 libwine.so: \$(OBJS)
8411 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8413 install install-lib:: libwine.so
8414 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8416 uninstall::
8417 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8421 as_fn_append LOADER_RULES "
8422 $wine_binary: main.o
8423 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8425 wine-installed: main.o
8426 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8431 DLLFLAGS="$DLLFLAGS -fPIC"
8432 LDEXECFLAGS=""
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8434 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8435 if ${ac_cv_c_dll_gnuelf+:} false; then :
8436 $as_echo_n "(cached) " >&6
8437 else
8438 ac_wine_try_cflags_saved=$CFLAGS
8439 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8441 /* end confdefs.h. */
8442 void myfunc() {}
8443 _ACEOF
8444 if ac_fn_c_try_link "$LINENO"; then :
8445 ac_cv_c_dll_gnuelf="yes"
8446 else
8447 ac_cv_c_dll_gnuelf="no"
8449 rm -f core conftest.err conftest.$ac_objext \
8450 conftest$ac_exeext conftest.$ac_ext
8451 CFLAGS=$ac_wine_try_cflags_saved
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8454 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8455 if test "$ac_cv_c_dll_gnuelf" = "yes"
8456 then
8457 LDSHARED="\$(CC) -shared"
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8459 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8460 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8461 $as_echo_n "(cached) " >&6
8462 else
8463 ac_wine_try_cflags_saved=$CFLAGS
8464 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8466 /* end confdefs.h. */
8467 int main(int argc, char **argv) { return 0; }
8468 _ACEOF
8469 if ac_fn_c_try_link "$LINENO"; then :
8470 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8471 else
8472 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8474 rm -f core conftest.err conftest.$ac_objext \
8475 conftest$ac_exeext conftest.$ac_ext
8476 CFLAGS=$ac_wine_try_cflags_saved
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8479 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8480 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8481 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8482 else
8483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8484 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8485 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8486 $as_echo_n "(cached) " >&6
8487 else
8488 ac_wine_try_cflags_saved=$CFLAGS
8489 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8491 /* end confdefs.h. */
8492 int main(int argc, char **argv) { return 0; }
8493 _ACEOF
8494 if ac_fn_c_try_link "$LINENO"; then :
8495 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8496 else
8497 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8499 rm -f core conftest.err conftest.$ac_objext \
8500 conftest$ac_exeext conftest.$ac_ext
8501 CFLAGS=$ac_wine_try_cflags_saved
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8504 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8505 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8506 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8510 echo '{ global: *; };' >conftest.map
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8512 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8513 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8514 $as_echo_n "(cached) " >&6
8515 else
8516 ac_wine_try_cflags_saved=$CFLAGS
8517 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8519 /* end confdefs.h. */
8520 int main(int argc, char **argv) { return 0; }
8521 _ACEOF
8522 if ac_fn_c_try_link "$LINENO"; then :
8523 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8524 else
8525 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8527 rm -f core conftest.err conftest.$ac_objext \
8528 conftest$ac_exeext conftest.$ac_ext
8529 CFLAGS=$ac_wine_try_cflags_saved
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8532 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8533 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8534 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8536 rm -f conftest.map
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8539 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8540 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8541 $as_echo_n "(cached) " >&6
8542 else
8543 ac_wine_try_cflags_saved=$CFLAGS
8544 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8546 /* end confdefs.h. */
8547 int main(int argc, char **argv) { return 0; }
8548 _ACEOF
8549 if ac_fn_c_try_link "$LINENO"; then :
8550 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8551 else
8552 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8554 rm -f core conftest.err conftest.$ac_objext \
8555 conftest$ac_exeext conftest.$ac_ext
8556 CFLAGS=$ac_wine_try_cflags_saved
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8559 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8560 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8561 LDEXECFLAGS="-Wl,--export-dynamic"
8564 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8566 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8567 if eval \${$as_ac_var+:} false; then :
8568 $as_echo_n "(cached) " >&6
8569 else
8570 ac_wine_try_cflags_saved=$CFLAGS
8571 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8573 /* end confdefs.h. */
8574 int main(int argc, char **argv) { return 0; }
8575 _ACEOF
8576 if ac_fn_c_try_link "$LINENO"; then :
8577 eval "$as_ac_var=yes"
8578 else
8579 eval "$as_ac_var=no"
8581 rm -f core conftest.err conftest.$ac_objext \
8582 conftest$ac_exeext conftest.$ac_ext
8583 CFLAGS=$ac_wine_try_cflags_saved
8585 eval ac_res=\$$as_ac_var
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8587 $as_echo "$ac_res" >&6; }
8588 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8589 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8590 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8591 else
8592 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8594 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8595 if eval \${$as_ac_var+:} false; then :
8596 $as_echo_n "(cached) " >&6
8597 else
8598 ac_wine_try_cflags_saved=$CFLAGS
8599 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8601 /* end confdefs.h. */
8602 int main(int argc, char **argv) { return 0; }
8603 _ACEOF
8604 if ac_fn_c_try_link "$LINENO"; then :
8605 eval "$as_ac_var=yes"
8606 else
8607 eval "$as_ac_var=no"
8609 rm -f core conftest.err conftest.$ac_objext \
8610 conftest$ac_exeext conftest.$ac_ext
8611 CFLAGS=$ac_wine_try_cflags_saved
8613 eval ac_res=\$$as_ac_var
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8615 $as_echo "$ac_res" >&6; }
8616 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8617 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8618 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8623 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8624 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8625 $as_echo_n "(cached) " >&6
8626 else
8627 ac_wine_try_cflags_saved=$CFLAGS
8628 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8630 /* end confdefs.h. */
8631 int main(int argc, char **argv) { return 0; }
8632 _ACEOF
8633 if ac_fn_c_try_link "$LINENO"; then :
8634 ac_cv_cflags__Wl___enable_new_dtags=yes
8635 else
8636 ac_cv_cflags__Wl___enable_new_dtags=no
8638 rm -f core conftest.err conftest.$ac_objext \
8639 conftest$ac_exeext conftest.$ac_ext
8640 CFLAGS=$ac_wine_try_cflags_saved
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8643 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8644 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8645 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8648 case $host_cpu in
8649 *i[3456789]86* | x86_64)
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8651 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8652 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8653 $as_echo_n "(cached) " >&6
8654 else
8655 ac_wine_try_cflags_saved=$CFLAGS
8656 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8658 /* end confdefs.h. */
8659 int main(int argc, char **argv) { return 0; }
8660 _ACEOF
8661 if ac_fn_c_try_link "$LINENO"; then :
8662 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8663 else
8664 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8666 rm -f core conftest.err conftest.$ac_objext \
8667 conftest$ac_exeext conftest.$ac_ext
8668 CFLAGS=$ac_wine_try_cflags_saved
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8671 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8672 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8673 case $host_os in
8674 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8675 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8676 esac
8679 # Extract the first word of "prelink", so it can be a program name with args.
8680 set dummy prelink; ac_word=$2
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8682 $as_echo_n "checking for $ac_word... " >&6; }
8683 if ${ac_cv_path_PRELINK+:} false; then :
8684 $as_echo_n "(cached) " >&6
8685 else
8686 case $PRELINK in
8687 [\\/]* | ?:[\\/]*)
8688 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8692 for as_dir in /sbin /usr/sbin $PATH
8694 IFS=$as_save_IFS
8695 test -z "$as_dir" && as_dir=.
8696 for ac_exec_ext in '' $ac_executable_extensions; do
8697 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8698 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8700 break 2
8702 done
8703 done
8704 IFS=$as_save_IFS
8706 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8708 esac
8710 PRELINK=$ac_cv_path_PRELINK
8711 if test -n "$PRELINK"; then
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8713 $as_echo "$PRELINK" >&6; }
8714 else
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8716 $as_echo "no" >&6; }
8720 if test "x$PRELINK" = xfalse
8721 then
8722 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8725 esac
8727 else
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8729 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8730 if ${ac_cv_c_dll_unixware+:} false; then :
8731 $as_echo_n "(cached) " >&6
8732 else
8733 ac_wine_try_cflags_saved=$CFLAGS
8734 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8736 /* end confdefs.h. */
8737 void myfunc() {}
8738 _ACEOF
8739 if ac_fn_c_try_link "$LINENO"; then :
8740 ac_cv_c_dll_unixware="yes"
8741 else
8742 ac_cv_c_dll_unixware="no"
8744 rm -f core conftest.err conftest.$ac_objext \
8745 conftest$ac_exeext conftest.$ac_ext
8746 CFLAGS=$ac_wine_try_cflags_saved
8748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8749 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8750 if test "$ac_cv_c_dll_unixware" = "yes"
8751 then
8752 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8755 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8756 LIBWINE_RULES="
8757 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8759 all: libwine.so
8761 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8762 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8764 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8765 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8767 libwine.so: libwine.so.$libwine_soversion
8768 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8770 install install-lib:: libwine.so.$libwine_version
8771 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8772 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8774 install install-dev::
8775 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8777 uninstall::
8778 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8782 as_fn_append LOADER_RULES "
8783 $wine_binary: main.o
8784 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8786 wine-installed: main.o
8787 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8790 esac
8792 as_fn_append LIBWINE_RULES "
8793 EXTRA_TARGETS = $libwine_targets
8796 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8797 enable_winemac_drv=${enable_winemac_drv:-no}
8799 CROSSTARGET=""
8801 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8802 then
8803 case "$host_cpu" in
8804 i[3456789]86*)
8805 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
8806 mingw32-gcc" ;;
8807 x86_64)
8808 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 " ;;
8810 ac_prefix_list="" ;;
8811 esac
8812 for ac_prog in $ac_prefix_list
8814 # Extract the first word of "$ac_prog", so it can be a program name with args.
8815 set dummy $ac_prog; ac_word=$2
8816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8817 $as_echo_n "checking for $ac_word... " >&6; }
8818 if ${ac_cv_prog_CROSSCC+:} false; then :
8819 $as_echo_n "(cached) " >&6
8820 else
8821 if test -n "$CROSSCC"; then
8822 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8823 else
8824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8825 for as_dir in $PATH
8827 IFS=$as_save_IFS
8828 test -z "$as_dir" && as_dir=.
8829 for ac_exec_ext in '' $ac_executable_extensions; do
8830 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8831 ac_cv_prog_CROSSCC="$ac_prog"
8832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8833 break 2
8835 done
8836 done
8837 IFS=$as_save_IFS
8841 CROSSCC=$ac_cv_prog_CROSSCC
8842 if test -n "$CROSSCC"; then
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8844 $as_echo "$CROSSCC" >&6; }
8845 else
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8847 $as_echo "no" >&6; }
8851 test -n "$CROSSCC" && break
8852 done
8853 test -n "$CROSSCC" || CROSSCC="false"
8855 if test "$CROSSCC" != "false"
8856 then
8857 ac_save_CC="$CC"
8858 CC="$CROSSCC"
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8860 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8862 /* end confdefs.h. */
8865 main ()
8869 return 0;
8871 _ACEOF
8872 if ac_fn_c_try_compile "$LINENO"; then :
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8874 $as_echo "yes" >&6; }
8875 set x $CROSSCC
8876 shift
8877 while test $# -ge 1
8879 case "$1" in
8880 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8881 esac
8882 shift
8883 done
8884 else
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8886 $as_echo "no" >&6; }
8888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8889 CC="$ac_save_CC"
8894 if test "$ac_cv_header_pthread_h" = "yes"
8895 then
8896 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8897 if test "x$ac_cv_func_pthread_create" = xyes; then :
8899 else
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8901 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8902 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8903 $as_echo_n "(cached) " >&6
8904 else
8905 ac_check_lib_save_LIBS=$LIBS
8906 LIBS="-lpthread $LIBS"
8907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8908 /* end confdefs.h. */
8910 /* Override any GCC internal prototype to avoid an error.
8911 Use char because int might match the return type of a GCC
8912 builtin and then its argument prototype would still apply. */
8913 #ifdef __cplusplus
8914 extern "C"
8915 #endif
8916 char pthread_create ();
8918 main ()
8920 return pthread_create ();
8922 return 0;
8924 _ACEOF
8925 if ac_fn_c_try_link "$LINENO"; then :
8926 ac_cv_lib_pthread_pthread_create=yes
8927 else
8928 ac_cv_lib_pthread_pthread_create=no
8930 rm -f core conftest.err conftest.$ac_objext \
8931 conftest$ac_exeext conftest.$ac_ext
8932 LIBS=$ac_check_lib_save_LIBS
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8935 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8936 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8937 PTHREAD_LIBS="-lpthread"
8944 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8945 case "x$with_pthread" in
8946 xno) ;;
8947 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8948 Wine cannot support threads without libpthread.
8949 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8950 esac
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8955 $as_echo_n "checking for X... " >&6; }
8958 # Check whether --with-x was given.
8959 if test "${with_x+set}" = set; then :
8960 withval=$with_x;
8963 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8964 if test "x$with_x" = xno; then
8965 # The user explicitly disabled X.
8966 have_x=disabled
8967 else
8968 case $x_includes,$x_libraries in #(
8969 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8970 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8971 $as_echo_n "(cached) " >&6
8972 else
8973 # One or both of the vars are not set, and there is no cached value.
8974 ac_x_includes=no ac_x_libraries=no
8975 rm -f -r conftest.dir
8976 if mkdir conftest.dir; then
8977 cd conftest.dir
8978 cat >Imakefile <<'_ACEOF'
8979 incroot:
8980 @echo incroot='${INCROOT}'
8981 usrlibdir:
8982 @echo usrlibdir='${USRLIBDIR}'
8983 libdir:
8984 @echo libdir='${LIBDIR}'
8985 _ACEOF
8986 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8987 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8988 for ac_var in incroot usrlibdir libdir; do
8989 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8990 done
8991 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8992 for ac_extension in a so sl dylib la dll; do
8993 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8994 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8995 ac_im_usrlibdir=$ac_im_libdir; break
8997 done
8998 # Screen out bogus values from the imake configuration. They are
8999 # bogus both because they are the default anyway, and because
9000 # using them would break gcc on systems where it needs fixed includes.
9001 case $ac_im_incroot in
9002 /usr/include) ac_x_includes= ;;
9003 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9004 esac
9005 case $ac_im_usrlibdir in
9006 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9007 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9008 esac
9010 cd ..
9011 rm -f -r conftest.dir
9014 # Standard set of common directories for X headers.
9015 # Check X11 before X11Rn because it is often a symlink to the current release.
9016 ac_x_header_dirs='
9017 /usr/X11/include
9018 /usr/X11R7/include
9019 /usr/X11R6/include
9020 /usr/X11R5/include
9021 /usr/X11R4/include
9023 /usr/include/X11
9024 /usr/include/X11R7
9025 /usr/include/X11R6
9026 /usr/include/X11R5
9027 /usr/include/X11R4
9029 /usr/local/X11/include
9030 /usr/local/X11R7/include
9031 /usr/local/X11R6/include
9032 /usr/local/X11R5/include
9033 /usr/local/X11R4/include
9035 /usr/local/include/X11
9036 /usr/local/include/X11R7
9037 /usr/local/include/X11R6
9038 /usr/local/include/X11R5
9039 /usr/local/include/X11R4
9041 /usr/X386/include
9042 /usr/x386/include
9043 /usr/XFree86/include/X11
9045 /usr/include
9046 /usr/local/include
9047 /usr/unsupported/include
9048 /usr/athena/include
9049 /usr/local/x11r5/include
9050 /usr/lpp/Xamples/include
9052 /usr/openwin/include
9053 /usr/openwin/share/include'
9055 if test "$ac_x_includes" = no; then
9056 # Guess where to find include files, by looking for Xlib.h.
9057 # First, try using that file with no special directory specified.
9058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9059 /* end confdefs.h. */
9060 #include <X11/Xlib.h>
9061 _ACEOF
9062 if ac_fn_c_try_cpp "$LINENO"; then :
9063 # We can compile using X headers with no special include directory.
9064 ac_x_includes=
9065 else
9066 for ac_dir in $ac_x_header_dirs; do
9067 if test -r "$ac_dir/X11/Xlib.h"; then
9068 ac_x_includes=$ac_dir
9069 break
9071 done
9073 rm -f conftest.err conftest.i conftest.$ac_ext
9074 fi # $ac_x_includes = no
9076 if test "$ac_x_libraries" = no; then
9077 # Check for the libraries.
9078 # See if we find them without any special options.
9079 # Don't add to $LIBS permanently.
9080 ac_save_LIBS=$LIBS
9081 LIBS="-lX11 $LIBS"
9082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9083 /* end confdefs.h. */
9084 #include <X11/Xlib.h>
9086 main ()
9088 XrmInitialize ()
9090 return 0;
9092 _ACEOF
9093 if ac_fn_c_try_link "$LINENO"; then :
9094 LIBS=$ac_save_LIBS
9095 # We can link X programs with no special library path.
9096 ac_x_libraries=
9097 else
9098 LIBS=$ac_save_LIBS
9099 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9101 # Don't even attempt the hair of trying to link an X program!
9102 for ac_extension in a so sl dylib la dll; do
9103 if test -r "$ac_dir/libX11.$ac_extension"; then
9104 ac_x_libraries=$ac_dir
9105 break 2
9107 done
9108 done
9110 rm -f core conftest.err conftest.$ac_objext \
9111 conftest$ac_exeext conftest.$ac_ext
9112 fi # $ac_x_libraries = no
9114 case $ac_x_includes,$ac_x_libraries in #(
9115 no,* | *,no | *\'*)
9116 # Didn't find X, or a directory has "'" in its name.
9117 ac_cv_have_x="have_x=no";; #(
9119 # Record where we found X for the cache.
9120 ac_cv_have_x="have_x=yes\
9121 ac_x_includes='$ac_x_includes'\
9122 ac_x_libraries='$ac_x_libraries'"
9123 esac
9125 ;; #(
9126 *) have_x=yes;;
9127 esac
9128 eval "$ac_cv_have_x"
9129 fi # $with_x != no
9131 if test "$have_x" != yes; then
9132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9133 $as_echo "$have_x" >&6; }
9134 no_x=yes
9135 else
9136 # If each of the values was on the command line, it overrides each guess.
9137 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9138 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9139 # Update the cache value to reflect the command line values.
9140 ac_cv_have_x="have_x=yes\
9141 ac_x_includes='$x_includes'\
9142 ac_x_libraries='$x_libraries'"
9143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9144 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9147 if test "$no_x" = yes; then
9148 # Not all programs may use this symbol, but it does not hurt to define it.
9150 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9152 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9153 else
9154 if test -n "$x_includes"; then
9155 X_CFLAGS="$X_CFLAGS -I$x_includes"
9158 # It would also be nice to do this for all -L options, not just this one.
9159 if test -n "$x_libraries"; then
9160 X_LIBS="$X_LIBS -L$x_libraries"
9161 # For Solaris; some versions of Sun CC require a space after -R and
9162 # others require no space. Words are not sufficient . . . .
9163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9164 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9165 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9166 ac_xsave_c_werror_flag=$ac_c_werror_flag
9167 ac_c_werror_flag=yes
9168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9169 /* end confdefs.h. */
9172 main ()
9176 return 0;
9178 _ACEOF
9179 if ac_fn_c_try_link "$LINENO"; then :
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9181 $as_echo "no" >&6; }
9182 X_LIBS="$X_LIBS -R$x_libraries"
9183 else
9184 LIBS="$ac_xsave_LIBS -R $x_libraries"
9185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9186 /* end confdefs.h. */
9189 main ()
9193 return 0;
9195 _ACEOF
9196 if ac_fn_c_try_link "$LINENO"; then :
9197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9198 $as_echo "yes" >&6; }
9199 X_LIBS="$X_LIBS -R $x_libraries"
9200 else
9201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9202 $as_echo "neither works" >&6; }
9204 rm -f core conftest.err conftest.$ac_objext \
9205 conftest$ac_exeext conftest.$ac_ext
9207 rm -f core conftest.err conftest.$ac_objext \
9208 conftest$ac_exeext conftest.$ac_ext
9209 ac_c_werror_flag=$ac_xsave_c_werror_flag
9210 LIBS=$ac_xsave_LIBS
9213 # Check for system-dependent libraries X programs must link with.
9214 # Do this before checking for the system-independent R6 libraries
9215 # (-lICE), since we may need -lsocket or whatever for X linking.
9217 if test "$ISC" = yes; then
9218 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9219 else
9220 # Martyn Johnson says this is needed for Ultrix, if the X
9221 # libraries were built with DECnet support. And Karl Berry says
9222 # the Alpha needs dnet_stub (dnet does not exist).
9223 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9225 /* end confdefs.h. */
9227 /* Override any GCC internal prototype to avoid an error.
9228 Use char because int might match the return type of a GCC
9229 builtin and then its argument prototype would still apply. */
9230 #ifdef __cplusplus
9231 extern "C"
9232 #endif
9233 char XOpenDisplay ();
9235 main ()
9237 return XOpenDisplay ();
9239 return 0;
9241 _ACEOF
9242 if ac_fn_c_try_link "$LINENO"; then :
9244 else
9245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9246 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9247 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9248 $as_echo_n "(cached) " >&6
9249 else
9250 ac_check_lib_save_LIBS=$LIBS
9251 LIBS="-ldnet $LIBS"
9252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9253 /* end confdefs.h. */
9255 /* Override any GCC internal prototype to avoid an error.
9256 Use char because int might match the return type of a GCC
9257 builtin and then its argument prototype would still apply. */
9258 #ifdef __cplusplus
9259 extern "C"
9260 #endif
9261 char dnet_ntoa ();
9263 main ()
9265 return dnet_ntoa ();
9267 return 0;
9269 _ACEOF
9270 if ac_fn_c_try_link "$LINENO"; then :
9271 ac_cv_lib_dnet_dnet_ntoa=yes
9272 else
9273 ac_cv_lib_dnet_dnet_ntoa=no
9275 rm -f core conftest.err conftest.$ac_objext \
9276 conftest$ac_exeext conftest.$ac_ext
9277 LIBS=$ac_check_lib_save_LIBS
9279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9280 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9281 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9282 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9285 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9287 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9288 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9289 $as_echo_n "(cached) " >&6
9290 else
9291 ac_check_lib_save_LIBS=$LIBS
9292 LIBS="-ldnet_stub $LIBS"
9293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9294 /* end confdefs.h. */
9296 /* Override any GCC internal prototype to avoid an error.
9297 Use char because int might match the return type of a GCC
9298 builtin and then its argument prototype would still apply. */
9299 #ifdef __cplusplus
9300 extern "C"
9301 #endif
9302 char dnet_ntoa ();
9304 main ()
9306 return dnet_ntoa ();
9308 return 0;
9310 _ACEOF
9311 if ac_fn_c_try_link "$LINENO"; then :
9312 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9313 else
9314 ac_cv_lib_dnet_stub_dnet_ntoa=no
9316 rm -f core conftest.err conftest.$ac_objext \
9317 conftest$ac_exeext conftest.$ac_ext
9318 LIBS=$ac_check_lib_save_LIBS
9320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9321 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9322 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9323 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9328 rm -f core conftest.err conftest.$ac_objext \
9329 conftest$ac_exeext conftest.$ac_ext
9330 LIBS="$ac_xsave_LIBS"
9332 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9333 # to get the SysV transport functions.
9334 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9335 # needs -lnsl.
9336 # The nsl library prevents programs from opening the X display
9337 # on Irix 5.2, according to T.E. Dickey.
9338 # The functions gethostbyname, getservbyname, and inet_addr are
9339 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9340 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9341 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9345 if test $ac_cv_func_gethostbyname = no; then
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9347 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9348 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9349 $as_echo_n "(cached) " >&6
9350 else
9351 ac_check_lib_save_LIBS=$LIBS
9352 LIBS="-lnsl $LIBS"
9353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9354 /* end confdefs.h. */
9356 /* Override any GCC internal prototype to avoid an error.
9357 Use char because int might match the return type of a GCC
9358 builtin and then its argument prototype would still apply. */
9359 #ifdef __cplusplus
9360 extern "C"
9361 #endif
9362 char gethostbyname ();
9364 main ()
9366 return gethostbyname ();
9368 return 0;
9370 _ACEOF
9371 if ac_fn_c_try_link "$LINENO"; then :
9372 ac_cv_lib_nsl_gethostbyname=yes
9373 else
9374 ac_cv_lib_nsl_gethostbyname=no
9376 rm -f core conftest.err conftest.$ac_objext \
9377 conftest$ac_exeext conftest.$ac_ext
9378 LIBS=$ac_check_lib_save_LIBS
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9381 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9382 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9383 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9386 if test $ac_cv_lib_nsl_gethostbyname = no; then
9387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9388 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9389 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9390 $as_echo_n "(cached) " >&6
9391 else
9392 ac_check_lib_save_LIBS=$LIBS
9393 LIBS="-lbsd $LIBS"
9394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9395 /* end confdefs.h. */
9397 /* Override any GCC internal prototype to avoid an error.
9398 Use char because int might match the return type of a GCC
9399 builtin and then its argument prototype would still apply. */
9400 #ifdef __cplusplus
9401 extern "C"
9402 #endif
9403 char gethostbyname ();
9405 main ()
9407 return gethostbyname ();
9409 return 0;
9411 _ACEOF
9412 if ac_fn_c_try_link "$LINENO"; then :
9413 ac_cv_lib_bsd_gethostbyname=yes
9414 else
9415 ac_cv_lib_bsd_gethostbyname=no
9417 rm -f core conftest.err conftest.$ac_objext \
9418 conftest$ac_exeext conftest.$ac_ext
9419 LIBS=$ac_check_lib_save_LIBS
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9422 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9423 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9424 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9430 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9431 # socket/setsockopt and other routines are undefined under SCO ODT
9432 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9433 # on later versions), says Simon Leinen: it contains gethostby*
9434 # variants that don't use the name server (or something). -lsocket
9435 # must be given before -lnsl if both are needed. We assume that
9436 # if connect needs -lnsl, so does gethostbyname.
9437 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9438 if test "x$ac_cv_func_connect" = xyes; then :
9442 if test $ac_cv_func_connect = no; then
9443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9444 $as_echo_n "checking for connect in -lsocket... " >&6; }
9445 if ${ac_cv_lib_socket_connect+:} false; then :
9446 $as_echo_n "(cached) " >&6
9447 else
9448 ac_check_lib_save_LIBS=$LIBS
9449 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9451 /* end confdefs.h. */
9453 /* Override any GCC internal prototype to avoid an error.
9454 Use char because int might match the return type of a GCC
9455 builtin and then its argument prototype would still apply. */
9456 #ifdef __cplusplus
9457 extern "C"
9458 #endif
9459 char connect ();
9461 main ()
9463 return connect ();
9465 return 0;
9467 _ACEOF
9468 if ac_fn_c_try_link "$LINENO"; then :
9469 ac_cv_lib_socket_connect=yes
9470 else
9471 ac_cv_lib_socket_connect=no
9473 rm -f core conftest.err conftest.$ac_objext \
9474 conftest$ac_exeext conftest.$ac_ext
9475 LIBS=$ac_check_lib_save_LIBS
9477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9478 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9479 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9480 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9485 # Guillermo Gomez says -lposix is necessary on A/UX.
9486 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9487 if test "x$ac_cv_func_remove" = xyes; then :
9491 if test $ac_cv_func_remove = no; then
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9493 $as_echo_n "checking for remove in -lposix... " >&6; }
9494 if ${ac_cv_lib_posix_remove+:} false; then :
9495 $as_echo_n "(cached) " >&6
9496 else
9497 ac_check_lib_save_LIBS=$LIBS
9498 LIBS="-lposix $LIBS"
9499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9500 /* end confdefs.h. */
9502 /* Override any GCC internal prototype to avoid an error.
9503 Use char because int might match the return type of a GCC
9504 builtin and then its argument prototype would still apply. */
9505 #ifdef __cplusplus
9506 extern "C"
9507 #endif
9508 char remove ();
9510 main ()
9512 return remove ();
9514 return 0;
9516 _ACEOF
9517 if ac_fn_c_try_link "$LINENO"; then :
9518 ac_cv_lib_posix_remove=yes
9519 else
9520 ac_cv_lib_posix_remove=no
9522 rm -f core conftest.err conftest.$ac_objext \
9523 conftest$ac_exeext conftest.$ac_ext
9524 LIBS=$ac_check_lib_save_LIBS
9526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9527 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9528 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9529 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9534 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9535 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9536 if test "x$ac_cv_func_shmat" = xyes; then :
9540 if test $ac_cv_func_shmat = no; then
9541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9542 $as_echo_n "checking for shmat in -lipc... " >&6; }
9543 if ${ac_cv_lib_ipc_shmat+:} false; then :
9544 $as_echo_n "(cached) " >&6
9545 else
9546 ac_check_lib_save_LIBS=$LIBS
9547 LIBS="-lipc $LIBS"
9548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9549 /* end confdefs.h. */
9551 /* Override any GCC internal prototype to avoid an error.
9552 Use char because int might match the return type of a GCC
9553 builtin and then its argument prototype would still apply. */
9554 #ifdef __cplusplus
9555 extern "C"
9556 #endif
9557 char shmat ();
9559 main ()
9561 return shmat ();
9563 return 0;
9565 _ACEOF
9566 if ac_fn_c_try_link "$LINENO"; then :
9567 ac_cv_lib_ipc_shmat=yes
9568 else
9569 ac_cv_lib_ipc_shmat=no
9571 rm -f core conftest.err conftest.$ac_objext \
9572 conftest$ac_exeext conftest.$ac_ext
9573 LIBS=$ac_check_lib_save_LIBS
9575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9576 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9577 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9578 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9584 # Check for libraries that X11R6 Xt/Xaw programs need.
9585 ac_save_LDFLAGS=$LDFLAGS
9586 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9587 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9588 # check for ICE first), but we must link in the order -lSM -lICE or
9589 # we get undefined symbols. So assume we have SM if we have ICE.
9590 # These have to be linked with before -lX11, unlike the other
9591 # libraries we check for below, so use a different variable.
9592 # John Interrante, Karl Berry
9593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9594 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9595 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9596 $as_echo_n "(cached) " >&6
9597 else
9598 ac_check_lib_save_LIBS=$LIBS
9599 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9601 /* end confdefs.h. */
9603 /* Override any GCC internal prototype to avoid an error.
9604 Use char because int might match the return type of a GCC
9605 builtin and then its argument prototype would still apply. */
9606 #ifdef __cplusplus
9607 extern "C"
9608 #endif
9609 char IceConnectionNumber ();
9611 main ()
9613 return IceConnectionNumber ();
9615 return 0;
9617 _ACEOF
9618 if ac_fn_c_try_link "$LINENO"; then :
9619 ac_cv_lib_ICE_IceConnectionNumber=yes
9620 else
9621 ac_cv_lib_ICE_IceConnectionNumber=no
9623 rm -f core conftest.err conftest.$ac_objext \
9624 conftest$ac_exeext conftest.$ac_ext
9625 LIBS=$ac_check_lib_save_LIBS
9627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9628 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9629 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9630 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9633 LDFLAGS=$ac_save_LDFLAGS
9638 if test "$have_x" = "yes"
9639 then
9640 ac_save_CPPFLAGS="$CPPFLAGS"
9641 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9644 $as_echo_n "checking for -lX11... " >&6; }
9645 if ${ac_cv_lib_soname_X11+:} false; then :
9646 $as_echo_n "(cached) " >&6
9647 else
9648 ac_check_soname_save_LIBS=$LIBS
9649 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9651 /* end confdefs.h. */
9653 /* Override any GCC internal prototype to avoid an error.
9654 Use char because int might match the return type of a GCC
9655 builtin and then its argument prototype would still apply. */
9656 #ifdef __cplusplus
9657 extern "C"
9658 #endif
9659 char XCreateWindow ();
9661 main ()
9663 return XCreateWindow ();
9665 return 0;
9667 _ACEOF
9668 if ac_fn_c_try_link "$LINENO"; then :
9669 case "$LIBEXT" in
9670 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9671 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'` ;;
9672 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9673 if ${ac_cv_lib_soname_X11:+false} :; then :
9674 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9675 fi ;;
9676 esac
9678 rm -f core conftest.err conftest.$ac_objext \
9679 conftest$ac_exeext conftest.$ac_ext
9680 LIBS=$ac_check_soname_save_LIBS
9682 if ${ac_cv_lib_soname_X11:+false} :; then :
9683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9684 $as_echo "not found" >&6; }
9686 else
9687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9688 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9690 cat >>confdefs.h <<_ACEOF
9691 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9692 _ACEOF
9696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9697 $as_echo_n "checking for -lXext... " >&6; }
9698 if ${ac_cv_lib_soname_Xext+:} false; then :
9699 $as_echo_n "(cached) " >&6
9700 else
9701 ac_check_soname_save_LIBS=$LIBS
9702 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9704 /* end confdefs.h. */
9706 /* Override any GCC internal prototype to avoid an error.
9707 Use char because int might match the return type of a GCC
9708 builtin and then its argument prototype would still apply. */
9709 #ifdef __cplusplus
9710 extern "C"
9711 #endif
9712 char XextCreateExtension ();
9714 main ()
9716 return XextCreateExtension ();
9718 return 0;
9720 _ACEOF
9721 if ac_fn_c_try_link "$LINENO"; then :
9722 case "$LIBEXT" in
9723 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9724 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'` ;;
9725 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9726 if ${ac_cv_lib_soname_Xext:+false} :; then :
9727 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9728 fi ;;
9729 esac
9731 rm -f core conftest.err conftest.$ac_objext \
9732 conftest$ac_exeext conftest.$ac_ext
9733 LIBS=$ac_check_soname_save_LIBS
9735 if ${ac_cv_lib_soname_Xext:+false} :; then :
9736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9737 $as_echo "not found" >&6; }
9739 else
9740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9741 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9743 cat >>confdefs.h <<_ACEOF
9744 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9745 _ACEOF
9747 X_LIBS="$X_LIBS -lXext"
9749 X_LIBS="$X_LIBS -lX11"
9751 for ac_header in X11/Xlib.h \
9752 X11/XKBlib.h \
9753 X11/Xutil.h \
9754 X11/Xcursor/Xcursor.h \
9755 X11/extensions/shape.h \
9756 X11/extensions/XInput.h \
9757 X11/extensions/XInput2.h \
9758 X11/extensions/XShm.h \
9759 X11/extensions/Xcomposite.h \
9760 X11/extensions/Xinerama.h \
9761 X11/extensions/Xrandr.h \
9762 X11/extensions/Xrender.h \
9763 X11/extensions/xf86vmode.h \
9764 X11/extensions/xf86vmproto.h
9765 do :
9766 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9767 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9768 # include <X11/Xlib.h>
9769 #endif
9770 #ifdef HAVE_X11_XUTIL_H
9771 # include <X11/Xutil.h>
9772 #endif
9774 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9775 cat >>confdefs.h <<_ACEOF
9776 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9777 _ACEOF
9781 done
9784 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9785 then
9786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9787 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9788 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9789 $as_echo_n "(cached) " >&6
9790 else
9791 ac_check_lib_save_LIBS=$LIBS
9792 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9794 /* end confdefs.h. */
9796 /* Override any GCC internal prototype to avoid an error.
9797 Use char because int might match the return type of a GCC
9798 builtin and then its argument prototype would still apply. */
9799 #ifdef __cplusplus
9800 extern "C"
9801 #endif
9802 char XkbQueryExtension ();
9804 main ()
9806 return XkbQueryExtension ();
9808 return 0;
9810 _ACEOF
9811 if ac_fn_c_try_link "$LINENO"; then :
9812 ac_cv_lib_X11_XkbQueryExtension=yes
9813 else
9814 ac_cv_lib_X11_XkbQueryExtension=no
9816 rm -f core conftest.err conftest.$ac_objext \
9817 conftest$ac_exeext conftest.$ac_ext
9818 LIBS=$ac_check_lib_save_LIBS
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9821 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9822 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9824 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9830 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9831 then
9832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9833 $as_echo_n "checking for -lXcursor... " >&6; }
9834 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9835 $as_echo_n "(cached) " >&6
9836 else
9837 ac_check_soname_save_LIBS=$LIBS
9838 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9840 /* end confdefs.h. */
9842 /* Override any GCC internal prototype to avoid an error.
9843 Use char because int might match the return type of a GCC
9844 builtin and then its argument prototype would still apply. */
9845 #ifdef __cplusplus
9846 extern "C"
9847 #endif
9848 char XcursorImageLoadCursor ();
9850 main ()
9852 return XcursorImageLoadCursor ();
9854 return 0;
9856 _ACEOF
9857 if ac_fn_c_try_link "$LINENO"; then :
9858 case "$LIBEXT" in
9859 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9860 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'` ;;
9861 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9862 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9863 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9864 fi ;;
9865 esac
9867 rm -f core conftest.err conftest.$ac_objext \
9868 conftest$ac_exeext conftest.$ac_ext
9869 LIBS=$ac_check_soname_save_LIBS
9871 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9873 $as_echo "not found" >&6; }
9875 else
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9877 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9879 cat >>confdefs.h <<_ACEOF
9880 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9881 _ACEOF
9886 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9887 case "x$with_xcursor" in
9888 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9889 xno) ;;
9890 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9891 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9892 esac
9895 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9896 then
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9898 $as_echo_n "checking for -lXi... " >&6; }
9899 if ${ac_cv_lib_soname_Xi+:} false; then :
9900 $as_echo_n "(cached) " >&6
9901 else
9902 ac_check_soname_save_LIBS=$LIBS
9903 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9905 /* end confdefs.h. */
9907 /* Override any GCC internal prototype to avoid an error.
9908 Use char because int might match the return type of a GCC
9909 builtin and then its argument prototype would still apply. */
9910 #ifdef __cplusplus
9911 extern "C"
9912 #endif
9913 char XOpenDevice ();
9915 main ()
9917 return XOpenDevice ();
9919 return 0;
9921 _ACEOF
9922 if ac_fn_c_try_link "$LINENO"; then :
9923 case "$LIBEXT" in
9924 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9925 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'` ;;
9926 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9927 if ${ac_cv_lib_soname_Xi:+false} :; then :
9928 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9929 fi ;;
9930 esac
9932 rm -f core conftest.err conftest.$ac_objext \
9933 conftest$ac_exeext conftest.$ac_ext
9934 LIBS=$ac_check_soname_save_LIBS
9936 if ${ac_cv_lib_soname_Xi:+false} :; then :
9937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9938 $as_echo "not found" >&6; }
9940 else
9941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9942 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9944 cat >>confdefs.h <<_ACEOF
9945 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9946 _ACEOF
9951 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9952 case "x$with_xinput" in
9953 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9954 xno) ;;
9955 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9956 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9957 esac
9960 if test "x$ac_cv_lib_soname_Xi" != x
9961 then
9962 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9963 case "x$with_xinput2" in
9964 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9965 xno) ;;
9966 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9967 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9968 esac
9972 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9973 then
9974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9975 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9976 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9977 $as_echo_n "(cached) " >&6
9978 else
9979 ac_check_lib_save_LIBS=$LIBS
9980 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9982 /* end confdefs.h. */
9984 /* Override any GCC internal prototype to avoid an error.
9985 Use char because int might match the return type of a GCC
9986 builtin and then its argument prototype would still apply. */
9987 #ifdef __cplusplus
9988 extern "C"
9989 #endif
9990 char XShmQueryExtension ();
9992 main ()
9994 return XShmQueryExtension ();
9996 return 0;
9998 _ACEOF
9999 if ac_fn_c_try_link "$LINENO"; then :
10000 ac_cv_lib_Xext_XShmQueryExtension=yes
10001 else
10002 ac_cv_lib_Xext_XShmQueryExtension=no
10004 rm -f core conftest.err conftest.$ac_objext \
10005 conftest$ac_exeext conftest.$ac_ext
10006 LIBS=$ac_check_lib_save_LIBS
10008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10009 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10010 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10012 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10017 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10018 case "x$with_xshm" in
10019 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10020 xno) ;;
10021 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10022 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10023 esac
10026 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10027 then
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10029 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10030 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10031 $as_echo_n "(cached) " >&6
10032 else
10033 ac_check_lib_save_LIBS=$LIBS
10034 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10036 /* end confdefs.h. */
10038 /* Override any GCC internal prototype to avoid an error.
10039 Use char because int might match the return type of a GCC
10040 builtin and then its argument prototype would still apply. */
10041 #ifdef __cplusplus
10042 extern "C"
10043 #endif
10044 char XShapeQueryExtension ();
10046 main ()
10048 return XShapeQueryExtension ();
10050 return 0;
10052 _ACEOF
10053 if ac_fn_c_try_link "$LINENO"; then :
10054 ac_cv_lib_Xext_XShapeQueryExtension=yes
10055 else
10056 ac_cv_lib_Xext_XShapeQueryExtension=no
10058 rm -f core conftest.err conftest.$ac_objext \
10059 conftest$ac_exeext conftest.$ac_ext
10060 LIBS=$ac_check_lib_save_LIBS
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10063 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10064 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10066 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10071 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10072 case "x$with_xshape" in
10073 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10074 xno) ;;
10075 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10076 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10077 esac
10080 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10081 then
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10083 $as_echo_n "checking for -lXxf86vm... " >&6; }
10084 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10085 $as_echo_n "(cached) " >&6
10086 else
10087 ac_check_soname_save_LIBS=$LIBS
10088 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10090 /* end confdefs.h. */
10092 /* Override any GCC internal prototype to avoid an error.
10093 Use char because int might match the return type of a GCC
10094 builtin and then its argument prototype would still apply. */
10095 #ifdef __cplusplus
10096 extern "C"
10097 #endif
10098 char XF86VidModeQueryExtension ();
10100 main ()
10102 return XF86VidModeQueryExtension ();
10104 return 0;
10106 _ACEOF
10107 if ac_fn_c_try_link "$LINENO"; then :
10108 case "$LIBEXT" in
10109 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10110 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'` ;;
10111 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10112 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10113 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10114 fi ;;
10115 esac
10117 rm -f core conftest.err conftest.$ac_objext \
10118 conftest$ac_exeext conftest.$ac_ext
10119 LIBS=$ac_check_soname_save_LIBS
10121 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10123 $as_echo "not found" >&6; }
10125 else
10126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10127 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10129 cat >>confdefs.h <<_ACEOF
10130 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10131 _ACEOF
10136 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10137 case "x$with_xxf86vm" in
10138 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10139 xno) ;;
10140 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10141 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10142 esac
10145 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10146 then
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10148 $as_echo_n "checking for -lXrender... " >&6; }
10149 if ${ac_cv_lib_soname_Xrender+:} false; then :
10150 $as_echo_n "(cached) " >&6
10151 else
10152 ac_check_soname_save_LIBS=$LIBS
10153 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10155 /* end confdefs.h. */
10157 /* Override any GCC internal prototype to avoid an error.
10158 Use char because int might match the return type of a GCC
10159 builtin and then its argument prototype would still apply. */
10160 #ifdef __cplusplus
10161 extern "C"
10162 #endif
10163 char XRenderQueryExtension ();
10165 main ()
10167 return XRenderQueryExtension ();
10169 return 0;
10171 _ACEOF
10172 if ac_fn_c_try_link "$LINENO"; then :
10173 case "$LIBEXT" in
10174 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10175 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'` ;;
10176 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10177 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10178 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10179 fi ;;
10180 esac
10182 rm -f core conftest.err conftest.$ac_objext \
10183 conftest$ac_exeext conftest.$ac_ext
10184 LIBS=$ac_check_soname_save_LIBS
10186 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10188 $as_echo "not found" >&6; }
10190 else
10191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10192 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10194 cat >>confdefs.h <<_ACEOF
10195 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10196 _ACEOF
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10199 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10200 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10201 $as_echo_n "(cached) " >&6
10202 else
10203 ac_check_lib_save_LIBS=$LIBS
10204 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10206 /* end confdefs.h. */
10208 /* Override any GCC internal prototype to avoid an error.
10209 Use char because int might match the return type of a GCC
10210 builtin and then its argument prototype would still apply. */
10211 #ifdef __cplusplus
10212 extern "C"
10213 #endif
10214 char XRenderSetPictureTransform ();
10216 main ()
10218 return XRenderSetPictureTransform ();
10220 return 0;
10222 _ACEOF
10223 if ac_fn_c_try_link "$LINENO"; then :
10224 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10225 else
10226 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10228 rm -f core conftest.err conftest.$ac_objext \
10229 conftest$ac_exeext conftest.$ac_ext
10230 LIBS=$ac_check_lib_save_LIBS
10232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10233 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10234 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10236 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10241 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10242 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10243 $as_echo_n "(cached) " >&6
10244 else
10245 ac_check_lib_save_LIBS=$LIBS
10246 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10248 /* end confdefs.h. */
10250 /* Override any GCC internal prototype to avoid an error.
10251 Use char because int might match the return type of a GCC
10252 builtin and then its argument prototype would still apply. */
10253 #ifdef __cplusplus
10254 extern "C"
10255 #endif
10256 char XRenderCreateLinearGradient ();
10258 main ()
10260 return XRenderCreateLinearGradient ();
10262 return 0;
10264 _ACEOF
10265 if ac_fn_c_try_link "$LINENO"; then :
10266 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10267 else
10268 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10270 rm -f core conftest.err conftest.$ac_objext \
10271 conftest$ac_exeext conftest.$ac_ext
10272 LIBS=$ac_check_lib_save_LIBS
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10275 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10276 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10278 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10285 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10286 case "x$with_xrender" in
10287 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10288 xno) ;;
10289 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10290 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10291 esac
10294 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10295 then
10296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10297 /* end confdefs.h. */
10298 #include <X11/Xlib.h>
10299 #include <X11/extensions/Xrandr.h>
10301 main ()
10303 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10305 return 0;
10307 _ACEOF
10308 if ac_fn_c_try_compile "$LINENO"; then :
10309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10310 $as_echo_n "checking for -lXrandr... " >&6; }
10311 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10312 $as_echo_n "(cached) " >&6
10313 else
10314 ac_check_soname_save_LIBS=$LIBS
10315 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10317 /* end confdefs.h. */
10319 /* Override any GCC internal prototype to avoid an error.
10320 Use char because int might match the return type of a GCC
10321 builtin and then its argument prototype would still apply. */
10322 #ifdef __cplusplus
10323 extern "C"
10324 #endif
10325 char XRRQueryExtension ();
10327 main ()
10329 return XRRQueryExtension ();
10331 return 0;
10333 _ACEOF
10334 if ac_fn_c_try_link "$LINENO"; then :
10335 case "$LIBEXT" in
10336 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10337 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'` ;;
10338 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10339 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10340 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10341 fi ;;
10342 esac
10344 rm -f core conftest.err conftest.$ac_objext \
10345 conftest$ac_exeext conftest.$ac_ext
10346 LIBS=$ac_check_soname_save_LIBS
10348 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10350 $as_echo "not found" >&6; }
10352 else
10353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10354 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10356 cat >>confdefs.h <<_ACEOF
10357 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10358 _ACEOF
10360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10361 /* end confdefs.h. */
10362 #include <X11/Xlib.h>
10363 #include <X11/extensions/Xrandr.h>
10365 main ()
10367 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10369 return 0;
10371 _ACEOF
10372 if ac_fn_c_try_compile "$LINENO"; then :
10374 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10382 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10383 case "x$with_xrandr" in
10384 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10385 xno) ;;
10386 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10387 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10388 esac
10391 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10392 then
10393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10394 /* end confdefs.h. */
10395 #include <X11/Xlib.h>
10396 #include <X11/extensions/Xinerama.h>
10398 main ()
10400 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10402 return 0;
10404 _ACEOF
10405 if ac_fn_c_try_compile "$LINENO"; then :
10406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10407 $as_echo_n "checking for -lXinerama... " >&6; }
10408 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10409 $as_echo_n "(cached) " >&6
10410 else
10411 ac_check_soname_save_LIBS=$LIBS
10412 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10414 /* end confdefs.h. */
10416 /* Override any GCC internal prototype to avoid an error.
10417 Use char because int might match the return type of a GCC
10418 builtin and then its argument prototype would still apply. */
10419 #ifdef __cplusplus
10420 extern "C"
10421 #endif
10422 char XineramaQueryScreens ();
10424 main ()
10426 return XineramaQueryScreens ();
10428 return 0;
10430 _ACEOF
10431 if ac_fn_c_try_link "$LINENO"; then :
10432 case "$LIBEXT" in
10433 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10434 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'` ;;
10435 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10436 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10437 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10438 fi ;;
10439 esac
10441 rm -f core conftest.err conftest.$ac_objext \
10442 conftest$ac_exeext conftest.$ac_ext
10443 LIBS=$ac_check_soname_save_LIBS
10445 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10447 $as_echo "not found" >&6; }
10449 else
10450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10451 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10453 cat >>confdefs.h <<_ACEOF
10454 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10455 _ACEOF
10460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10462 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10463 case "x$with_xinerama" in
10464 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10465 xno) ;;
10466 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10467 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10468 esac
10471 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10472 then
10473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10474 $as_echo_n "checking for -lXcomposite... " >&6; }
10475 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10476 $as_echo_n "(cached) " >&6
10477 else
10478 ac_check_soname_save_LIBS=$LIBS
10479 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10481 /* end confdefs.h. */
10483 /* Override any GCC internal prototype to avoid an error.
10484 Use char because int might match the return type of a GCC
10485 builtin and then its argument prototype would still apply. */
10486 #ifdef __cplusplus
10487 extern "C"
10488 #endif
10489 char XCompositeRedirectWindow ();
10491 main ()
10493 return XCompositeRedirectWindow ();
10495 return 0;
10497 _ACEOF
10498 if ac_fn_c_try_link "$LINENO"; then :
10499 case "$LIBEXT" in
10500 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10501 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'` ;;
10502 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10503 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10504 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10505 fi ;;
10506 esac
10508 rm -f core conftest.err conftest.$ac_objext \
10509 conftest$ac_exeext conftest.$ac_ext
10510 LIBS=$ac_check_soname_save_LIBS
10512 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10514 $as_echo "not found" >&6; }
10516 else
10517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10518 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10520 cat >>confdefs.h <<_ACEOF
10521 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10522 _ACEOF
10527 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10528 case "x$with_xcomposite" in
10529 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10530 xno) ;;
10531 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10532 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10533 esac
10536 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10537 #include <X11/Xlib.h>
10538 #endif
10540 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10542 cat >>confdefs.h <<_ACEOF
10543 #define HAVE_XICCALLBACK_CALLBACK 1
10544 _ACEOF
10548 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10549 #include <X11/Xlib.h>
10550 #endif
10552 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10554 cat >>confdefs.h <<_ACEOF
10555 #define HAVE_XEVENT_XCOOKIE 1
10556 _ACEOF
10563 opengl_msg=""
10564 if test "x$with_opengl" != "xno"
10565 then
10566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10567 $as_echo_n "checking for -lGL... " >&6; }
10568 if ${ac_cv_lib_soname_GL+:} false; then :
10569 $as_echo_n "(cached) " >&6
10570 else
10571 ac_check_soname_save_LIBS=$LIBS
10572 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10574 /* end confdefs.h. */
10576 /* Override any GCC internal prototype to avoid an error.
10577 Use char because int might match the return type of a GCC
10578 builtin and then its argument prototype would still apply. */
10579 #ifdef __cplusplus
10580 extern "C"
10581 #endif
10582 char glXCreateContext ();
10584 main ()
10586 return glXCreateContext ();
10588 return 0;
10590 _ACEOF
10591 if ac_fn_c_try_link "$LINENO"; then :
10592 case "$LIBEXT" in
10593 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10594 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'` ;;
10595 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10596 if ${ac_cv_lib_soname_GL:+false} :; then :
10597 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10598 fi ;;
10599 esac
10601 rm -f core conftest.err conftest.$ac_objext \
10602 conftest$ac_exeext conftest.$ac_ext
10603 LIBS=$ac_check_soname_save_LIBS
10605 if ${ac_cv_lib_soname_GL:+false} :; then :
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10607 $as_echo "not found" >&6; }
10608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10609 $as_echo_n "checking for -lGL... " >&6; }
10610 if ${ac_cv_lib_soname_GL+:} false; then :
10611 $as_echo_n "(cached) " >&6
10612 else
10613 ac_check_soname_save_LIBS=$LIBS
10614 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"
10615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10616 /* end confdefs.h. */
10618 /* Override any GCC internal prototype to avoid an error.
10619 Use char because int might match the return type of a GCC
10620 builtin and then its argument prototype would still apply. */
10621 #ifdef __cplusplus
10622 extern "C"
10623 #endif
10624 char glXCreateContext ();
10626 main ()
10628 return glXCreateContext ();
10630 return 0;
10632 _ACEOF
10633 if ac_fn_c_try_link "$LINENO"; then :
10634 case "$LIBEXT" in
10635 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10636 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'` ;;
10637 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10638 if ${ac_cv_lib_soname_GL:+false} :; then :
10639 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10640 fi ;;
10641 esac
10643 rm -f core conftest.err conftest.$ac_objext \
10644 conftest$ac_exeext conftest.$ac_ext
10645 LIBS=$ac_check_soname_save_LIBS
10647 if ${ac_cv_lib_soname_GL:+false} :; then :
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10649 $as_echo "not found" >&6; }
10650 if test -f /usr/X11R6/lib/libGL.a
10651 then
10652 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10653 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10654 else
10655 opengl_msg="No OpenGL library found on this system."
10657 else
10658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10659 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10661 cat >>confdefs.h <<_ACEOF
10662 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10663 _ACEOF
10665 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"
10667 else
10668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10669 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10671 cat >>confdefs.h <<_ACEOF
10672 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10673 _ACEOF
10675 OPENGL_LIBS="-lGL"
10677 if test "x$with_glu" != "xno"
10678 then
10679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10680 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10681 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10682 $as_echo_n "(cached) " >&6
10683 else
10684 ac_check_lib_save_LIBS=$LIBS
10685 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10687 /* end confdefs.h. */
10689 /* Override any GCC internal prototype to avoid an error.
10690 Use char because int might match the return type of a GCC
10691 builtin and then its argument prototype would still apply. */
10692 #ifdef __cplusplus
10693 extern "C"
10694 #endif
10695 char gluLookAt ();
10697 main ()
10699 return gluLookAt ();
10701 return 0;
10703 _ACEOF
10704 if ac_fn_c_try_link "$LINENO"; then :
10705 ac_cv_lib_GLU_gluLookAt=yes
10706 else
10707 ac_cv_lib_GLU_gluLookAt=no
10709 rm -f core conftest.err conftest.$ac_objext \
10710 conftest$ac_exeext conftest.$ac_ext
10711 LIBS=$ac_check_lib_save_LIBS
10713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10714 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10715 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10719 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10720 case "x$with_glu" in
10721 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10722 xno) ;;
10723 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10724 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10725 esac
10729 if test "x$with_osmesa" != "xno"
10730 then
10731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10732 $as_echo_n "checking for -lOSMesa... " >&6; }
10733 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10734 $as_echo_n "(cached) " >&6
10735 else
10736 ac_check_soname_save_LIBS=$LIBS
10737 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10739 /* end confdefs.h. */
10741 /* Override any GCC internal prototype to avoid an error.
10742 Use char because int might match the return type of a GCC
10743 builtin and then its argument prototype would still apply. */
10744 #ifdef __cplusplus
10745 extern "C"
10746 #endif
10747 char glAccum ();
10749 main ()
10751 return glAccum ();
10753 return 0;
10755 _ACEOF
10756 if ac_fn_c_try_link "$LINENO"; then :
10757 case "$LIBEXT" in
10758 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10759 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'` ;;
10760 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10761 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10762 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10763 fi ;;
10764 esac
10766 rm -f core conftest.err conftest.$ac_objext \
10767 conftest$ac_exeext conftest.$ac_ext
10768 LIBS=$ac_check_soname_save_LIBS
10770 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10772 $as_echo "not found" >&6; }
10774 else
10775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10776 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10778 cat >>confdefs.h <<_ACEOF
10779 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10780 _ACEOF
10784 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10785 case "x$with_osmesa" in
10786 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10787 xno) ;;
10788 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10789 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10790 esac
10794 if test -n "$opengl_msg"; then :
10795 case "x$with_opengl" in
10796 x) as_fn_append wine_warnings "|$opengl_msg
10797 OpenGL and Direct3D won't be supported." ;;
10798 xno) ;;
10799 *) as_fn_error $? "$opengl_msg
10800 OpenGL and Direct3D won't be supported.
10801 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10802 esac
10805 CPPFLAGS="$ac_save_CPPFLAGS"
10806 else
10807 X_CFLAGS=""
10808 X_LIBS=""
10809 enable_winex11_drv=${enable_winex11_drv:-no}
10811 if test "x$X_LIBS" = "x"; then :
10812 case "x$with_x" in
10813 xno) ;;
10814 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10815 without X support, which probably isn't what you want. You will need
10816 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10817 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10818 esac
10821 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10823 if test "$ac_cv_header_CL_cl_h" = "yes"
10824 then
10825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10826 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10827 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10828 $as_echo_n "(cached) " >&6
10829 else
10830 ac_check_lib_save_LIBS=$LIBS
10831 LIBS="-lOpenCL $LIBS"
10832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10833 /* end confdefs.h. */
10835 /* Override any GCC internal prototype to avoid an error.
10836 Use char because int might match the return type of a GCC
10837 builtin and then its argument prototype would still apply. */
10838 #ifdef __cplusplus
10839 extern "C"
10840 #endif
10841 char clGetPlatformInfo ();
10843 main ()
10845 return clGetPlatformInfo ();
10847 return 0;
10849 _ACEOF
10850 if ac_fn_c_try_link "$LINENO"; then :
10851 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10852 else
10853 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10855 rm -f core conftest.err conftest.$ac_objext \
10856 conftest$ac_exeext conftest.$ac_ext
10857 LIBS=$ac_check_lib_save_LIBS
10859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10860 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10861 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10862 OPENCL_LIBS="-lOpenCL"
10867 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10868 case "x$with_opencl" in
10869 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10870 xno) ;;
10871 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10872 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10873 esac
10875 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10877 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10878 then
10879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10880 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10881 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10882 $as_echo_n "(cached) " >&6
10883 else
10884 ac_check_lib_save_LIBS=$LIBS
10885 LIBS="-lpcap $LIBS"
10886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10887 /* end confdefs.h. */
10889 /* Override any GCC internal prototype to avoid an error.
10890 Use char because int might match the return type of a GCC
10891 builtin and then its argument prototype would still apply. */
10892 #ifdef __cplusplus
10893 extern "C"
10894 #endif
10895 char pcap_create ();
10897 main ()
10899 return pcap_create ();
10901 return 0;
10903 _ACEOF
10904 if ac_fn_c_try_link "$LINENO"; then :
10905 ac_cv_lib_pcap_pcap_create=yes
10906 else
10907 ac_cv_lib_pcap_pcap_create=no
10909 rm -f core conftest.err conftest.$ac_objext \
10910 conftest$ac_exeext conftest.$ac_ext
10911 LIBS=$ac_check_lib_save_LIBS
10913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10914 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10915 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10916 LIBPCAP="-lpcap"
10921 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10922 case "x$with_pcap" in
10923 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10924 xno) ;;
10925 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10926 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10927 esac
10929 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10932 if test "x$with_xml" != "xno"
10933 then
10934 if ${XML2_CFLAGS:+false} :; then :
10935 if ${PKG_CONFIG+:} false; then :
10936 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10939 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10940 if ${XML2_LIBS:+false} :; then :
10941 if ${PKG_CONFIG+:} false; then :
10942 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10945 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10946 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10947 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10948 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10949 ac_save_CPPFLAGS=$CPPFLAGS
10950 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10951 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10952 do :
10953 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10954 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10955 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10956 cat >>confdefs.h <<_ACEOF
10957 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10958 _ACEOF
10962 done
10964 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"
10965 then
10966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10967 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10968 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10969 $as_echo_n "(cached) " >&6
10970 else
10971 ac_check_lib_save_LIBS=$LIBS
10972 LIBS="-lxml2 $XML2_LIBS $LIBS"
10973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10974 /* end confdefs.h. */
10976 /* Override any GCC internal prototype to avoid an error.
10977 Use char because int might match the return type of a GCC
10978 builtin and then its argument prototype would still apply. */
10979 #ifdef __cplusplus
10980 extern "C"
10981 #endif
10982 char xmlParseMemory ();
10984 main ()
10986 return xmlParseMemory ();
10988 return 0;
10990 _ACEOF
10991 if ac_fn_c_try_link "$LINENO"; then :
10992 ac_cv_lib_xml2_xmlParseMemory=yes
10993 else
10994 ac_cv_lib_xml2_xmlParseMemory=no
10996 rm -f core conftest.err conftest.$ac_objext \
10997 conftest$ac_exeext conftest.$ac_ext
10998 LIBS=$ac_check_lib_save_LIBS
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11001 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11002 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11004 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11006 else
11007 XML2_LIBS=""
11010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11011 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11012 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11013 $as_echo_n "(cached) " >&6
11014 else
11015 ac_check_lib_save_LIBS=$LIBS
11016 LIBS="-lxml2 $XML2_LIBS $LIBS"
11017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11018 /* end confdefs.h. */
11020 /* Override any GCC internal prototype to avoid an error.
11021 Use char because int might match the return type of a GCC
11022 builtin and then its argument prototype would still apply. */
11023 #ifdef __cplusplus
11024 extern "C"
11025 #endif
11026 char xmlReadMemory ();
11028 main ()
11030 return xmlReadMemory ();
11032 return 0;
11034 _ACEOF
11035 if ac_fn_c_try_link "$LINENO"; then :
11036 ac_cv_lib_xml2_xmlReadMemory=yes
11037 else
11038 ac_cv_lib_xml2_xmlReadMemory=no
11040 rm -f core conftest.err conftest.$ac_objext \
11041 conftest$ac_exeext conftest.$ac_ext
11042 LIBS=$ac_check_lib_save_LIBS
11044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11045 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11046 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11048 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11053 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11054 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11055 $as_echo_n "(cached) " >&6
11056 else
11057 ac_check_lib_save_LIBS=$LIBS
11058 LIBS="-lxml2 $XML2_LIBS $LIBS"
11059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11060 /* end confdefs.h. */
11062 /* Override any GCC internal prototype to avoid an error.
11063 Use char because int might match the return type of a GCC
11064 builtin and then its argument prototype would still apply. */
11065 #ifdef __cplusplus
11066 extern "C"
11067 #endif
11068 char xmlNewDocPI ();
11070 main ()
11072 return xmlNewDocPI ();
11074 return 0;
11076 _ACEOF
11077 if ac_fn_c_try_link "$LINENO"; then :
11078 ac_cv_lib_xml2_xmlNewDocPI=yes
11079 else
11080 ac_cv_lib_xml2_xmlNewDocPI=no
11082 rm -f core conftest.err conftest.$ac_objext \
11083 conftest$ac_exeext conftest.$ac_ext
11084 LIBS=$ac_check_lib_save_LIBS
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11087 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11088 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11090 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11095 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11096 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11097 $as_echo_n "(cached) " >&6
11098 else
11099 ac_check_lib_save_LIBS=$LIBS
11100 LIBS="-lxml2 $XML2_LIBS $LIBS"
11101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11102 /* end confdefs.h. */
11104 /* Override any GCC internal prototype to avoid an error.
11105 Use char because int might match the return type of a GCC
11106 builtin and then its argument prototype would still apply. */
11107 #ifdef __cplusplus
11108 extern "C"
11109 #endif
11110 char xmlSchemaSetParserStructuredErrors ();
11112 main ()
11114 return xmlSchemaSetParserStructuredErrors ();
11116 return 0;
11118 _ACEOF
11119 if ac_fn_c_try_link "$LINENO"; then :
11120 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11121 else
11122 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11124 rm -f core conftest.err conftest.$ac_objext \
11125 conftest$ac_exeext conftest.$ac_ext
11126 LIBS=$ac_check_lib_save_LIBS
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11129 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11130 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11132 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11137 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11138 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11139 $as_echo_n "(cached) " >&6
11140 else
11141 ac_check_lib_save_LIBS=$LIBS
11142 LIBS="-lxml2 $XML2_LIBS $LIBS"
11143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11144 /* end confdefs.h. */
11146 /* Override any GCC internal prototype to avoid an error.
11147 Use char because int might match the return type of a GCC
11148 builtin and then its argument prototype would still apply. */
11149 #ifdef __cplusplus
11150 extern "C"
11151 #endif
11152 char xmlSchemaSetValidStructuredErrors ();
11154 main ()
11156 return xmlSchemaSetValidStructuredErrors ();
11158 return 0;
11160 _ACEOF
11161 if ac_fn_c_try_link "$LINENO"; then :
11162 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11163 else
11164 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11166 rm -f core conftest.err conftest.$ac_objext \
11167 conftest$ac_exeext conftest.$ac_ext
11168 LIBS=$ac_check_lib_save_LIBS
11170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11171 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11172 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11174 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11179 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11180 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11181 $as_echo_n "(cached) " >&6
11182 else
11183 ac_check_lib_save_LIBS=$LIBS
11184 LIBS="-lxml2 $XML2_LIBS $LIBS"
11185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11186 /* end confdefs.h. */
11188 /* Override any GCC internal prototype to avoid an error.
11189 Use char because int might match the return type of a GCC
11190 builtin and then its argument prototype would still apply. */
11191 #ifdef __cplusplus
11192 extern "C"
11193 #endif
11194 char xmlFirstElementChild ();
11196 main ()
11198 return xmlFirstElementChild ();
11200 return 0;
11202 _ACEOF
11203 if ac_fn_c_try_link "$LINENO"; then :
11204 ac_cv_lib_xml2_xmlFirstElementChild=yes
11205 else
11206 ac_cv_lib_xml2_xmlFirstElementChild=no
11208 rm -f core conftest.err conftest.$ac_objext \
11209 conftest$ac_exeext conftest.$ac_ext
11210 LIBS=$ac_check_lib_save_LIBS
11212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11213 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11214 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11216 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11220 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11222 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11224 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11228 else
11229 XML2_CFLAGS=""
11230 XML2_LIBS=""
11232 CPPFLAGS=$ac_save_CPPFLAGS
11233 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11234 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11237 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11238 case "x$with_xml" in
11239 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11240 xno) ;;
11241 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11242 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11243 esac
11246 if test "x$with_xslt" != "xno"
11247 then
11248 if ${XSLT_CFLAGS:+false} :; then :
11249 if ${PKG_CONFIG+:} false; then :
11250 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11253 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11254 if ${XSLT_LIBS:+false} :; then :
11255 if ${PKG_CONFIG+:} false; then :
11256 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11259 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11260 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11261 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11262 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11263 ac_save_CPPFLAGS=$CPPFLAGS
11264 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11265 for ac_header in libxslt/pattern.h libxslt/transform.h
11266 do :
11267 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11268 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11269 # include <libxslt/pattern.h>
11270 #endif
11272 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11273 cat >>confdefs.h <<_ACEOF
11274 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11275 _ACEOF
11279 done
11281 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11282 then
11283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11284 $as_echo_n "checking for -lxslt... " >&6; }
11285 if ${ac_cv_lib_soname_xslt+:} false; then :
11286 $as_echo_n "(cached) " >&6
11287 else
11288 ac_check_soname_save_LIBS=$LIBS
11289 LIBS="-lxslt $XSLT_LIBS $LIBS"
11290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11291 /* end confdefs.h. */
11293 /* Override any GCC internal prototype to avoid an error.
11294 Use char because int might match the return type of a GCC
11295 builtin and then its argument prototype would still apply. */
11296 #ifdef __cplusplus
11297 extern "C"
11298 #endif
11299 char xsltCompilePattern ();
11301 main ()
11303 return xsltCompilePattern ();
11305 return 0;
11307 _ACEOF
11308 if ac_fn_c_try_link "$LINENO"; then :
11309 case "$LIBEXT" in
11310 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11311 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'` ;;
11312 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11313 if ${ac_cv_lib_soname_xslt:+false} :; then :
11314 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11315 fi ;;
11316 esac
11318 rm -f core conftest.err conftest.$ac_objext \
11319 conftest$ac_exeext conftest.$ac_ext
11320 LIBS=$ac_check_soname_save_LIBS
11322 if ${ac_cv_lib_soname_xslt:+false} :; then :
11323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11324 $as_echo "not found" >&6; }
11326 else
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11328 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11330 cat >>confdefs.h <<_ACEOF
11331 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11332 _ACEOF
11336 else
11337 XSLT_CFLAGS=""
11339 CPPFLAGS=$ac_save_CPPFLAGS
11340 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11341 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11344 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11345 case "x$with_xslt" in
11346 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11347 xno) ;;
11348 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11349 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11350 esac
11353 if test "x$with_dbus" != "xno"
11354 then
11355 if ${DBUS_CFLAGS:+false} :; then :
11356 if ${PKG_CONFIG+:} false; then :
11357 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11361 if ${DBUS_LIBS:+false} :; then :
11362 if ${PKG_CONFIG+:} false; then :
11363 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11368 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11369 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11370 ac_save_CPPFLAGS=$CPPFLAGS
11371 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11372 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11373 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11375 $as_echo_n "checking for -ldbus-1... " >&6; }
11376 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11377 $as_echo_n "(cached) " >&6
11378 else
11379 ac_check_soname_save_LIBS=$LIBS
11380 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11382 /* end confdefs.h. */
11384 /* Override any GCC internal prototype to avoid an error.
11385 Use char because int might match the return type of a GCC
11386 builtin and then its argument prototype would still apply. */
11387 #ifdef __cplusplus
11388 extern "C"
11389 #endif
11390 char dbus_connection_close ();
11392 main ()
11394 return dbus_connection_close ();
11396 return 0;
11398 _ACEOF
11399 if ac_fn_c_try_link "$LINENO"; then :
11400 case "$LIBEXT" in
11401 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11402 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'` ;;
11403 *) 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'`
11404 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11405 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11406 fi ;;
11407 esac
11409 rm -f core conftest.err conftest.$ac_objext \
11410 conftest$ac_exeext conftest.$ac_ext
11411 LIBS=$ac_check_soname_save_LIBS
11413 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11415 $as_echo "not found" >&6; }
11416 DBUS_CFLAGS=""
11417 else
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11419 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11421 cat >>confdefs.h <<_ACEOF
11422 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11423 _ACEOF
11427 else
11428 DBUS_CFLAGS=""
11432 CPPFLAGS=$ac_save_CPPFLAGS
11433 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11434 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11437 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11438 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11439 case "x$with_dbus" in
11440 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11441 xno) ;;
11442 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11443 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11444 esac
11447 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11448 then
11449 if ${HAL_CFLAGS:+false} :; then :
11450 if ${PKG_CONFIG+:} false; then :
11451 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11455 if ${HAL_LIBS:+false} :; then :
11456 if ${PKG_CONFIG+:} false; then :
11457 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11461 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11462 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11463 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11464 ac_save_CPPFLAGS=$CPPFLAGS
11465 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11466 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11467 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11469 $as_echo_n "checking for -lhal... " >&6; }
11470 if ${ac_cv_lib_soname_hal+:} false; then :
11471 $as_echo_n "(cached) " >&6
11472 else
11473 ac_check_soname_save_LIBS=$LIBS
11474 LIBS="-lhal $HAL_LIBS $LIBS"
11475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11476 /* end confdefs.h. */
11478 /* Override any GCC internal prototype to avoid an error.
11479 Use char because int might match the return type of a GCC
11480 builtin and then its argument prototype would still apply. */
11481 #ifdef __cplusplus
11482 extern "C"
11483 #endif
11484 char libhal_ctx_new ();
11486 main ()
11488 return libhal_ctx_new ();
11490 return 0;
11492 _ACEOF
11493 if ac_fn_c_try_link "$LINENO"; then :
11494 case "$LIBEXT" in
11495 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11496 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'` ;;
11497 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11498 if ${ac_cv_lib_soname_hal:+false} :; then :
11499 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11500 fi ;;
11501 esac
11503 rm -f core conftest.err conftest.$ac_objext \
11504 conftest$ac_exeext conftest.$ac_ext
11505 LIBS=$ac_check_soname_save_LIBS
11507 if ${ac_cv_lib_soname_hal:+false} :; then :
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11509 $as_echo "not found" >&6; }
11510 HAL_CFLAGS=""
11511 else
11512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11513 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11515 cat >>confdefs.h <<_ACEOF
11516 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11517 _ACEOF
11521 else
11522 HAL_CFLAGS=""
11526 CPPFLAGS=$ac_save_CPPFLAGS
11527 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11528 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11530 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11531 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11532 case "x$with_hal" in
11533 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11534 xno) ;;
11535 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11536 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11537 esac
11541 if test "x$with_gnutls" != "xno"
11542 then
11543 if ${GNUTLS_CFLAGS:+false} :; then :
11544 if ${PKG_CONFIG+:} false; then :
11545 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11549 if ${GNUTLS_LIBS:+false} :; then :
11550 if ${PKG_CONFIG+:} false; then :
11551 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11556 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11557 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11558 ac_save_CPPFLAGS=$CPPFLAGS
11559 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11560 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11561 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11563 /* end confdefs.h. */
11564 #include <gnutls/gnutls.h>
11565 #include <gnutls/crypto.h>
11567 main ()
11569 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11571 return 0;
11573 _ACEOF
11574 if ac_fn_c_try_compile "$LINENO"; then :
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11576 $as_echo_n "checking for -lgnutls... " >&6; }
11577 if ${ac_cv_lib_soname_gnutls+:} false; then :
11578 $as_echo_n "(cached) " >&6
11579 else
11580 ac_check_soname_save_LIBS=$LIBS
11581 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11583 /* end confdefs.h. */
11585 /* Override any GCC internal prototype to avoid an error.
11586 Use char because int might match the return type of a GCC
11587 builtin and then its argument prototype would still apply. */
11588 #ifdef __cplusplus
11589 extern "C"
11590 #endif
11591 char gnutls_global_init ();
11593 main ()
11595 return gnutls_global_init ();
11597 return 0;
11599 _ACEOF
11600 if ac_fn_c_try_link "$LINENO"; then :
11601 case "$LIBEXT" in
11602 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11603 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'` ;;
11604 *) 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'`
11605 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11606 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'`
11607 fi ;;
11608 esac
11610 rm -f core conftest.err conftest.$ac_objext \
11611 conftest$ac_exeext conftest.$ac_ext
11612 LIBS=$ac_check_soname_save_LIBS
11614 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11616 $as_echo "not found" >&6; }
11617 GNUTLS_CFLAGS=""
11618 else
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11620 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11622 cat >>confdefs.h <<_ACEOF
11623 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11624 _ACEOF
11629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11630 else
11631 GNUTLS_CFLAGS=""
11635 CPPFLAGS=$ac_save_CPPFLAGS
11636 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11637 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11640 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11641 case "x$with_gnutls" in
11642 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11643 xno) ;;
11644 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11645 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11646 esac
11649 CURSES_LIBS=""
11650 if test "$ac_cv_header_ncurses_h" = "yes"
11651 then
11652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11653 $as_echo_n "checking for -lncurses... " >&6; }
11654 if ${ac_cv_lib_soname_ncurses+:} false; then :
11655 $as_echo_n "(cached) " >&6
11656 else
11657 ac_check_soname_save_LIBS=$LIBS
11658 LIBS="-lncurses $LIBS"
11659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11660 /* end confdefs.h. */
11662 /* Override any GCC internal prototype to avoid an error.
11663 Use char because int might match the return type of a GCC
11664 builtin and then its argument prototype would still apply. */
11665 #ifdef __cplusplus
11666 extern "C"
11667 #endif
11668 char waddch ();
11670 main ()
11672 return waddch ();
11674 return 0;
11676 _ACEOF
11677 if ac_fn_c_try_link "$LINENO"; then :
11678 case "$LIBEXT" in
11679 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11680 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'` ;;
11681 *) 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'`
11682 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11683 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11684 fi ;;
11685 esac
11687 rm -f core conftest.err conftest.$ac_objext \
11688 conftest$ac_exeext conftest.$ac_ext
11689 LIBS=$ac_check_soname_save_LIBS
11691 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11693 $as_echo "not found" >&6; }
11695 else
11696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11697 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11699 cat >>confdefs.h <<_ACEOF
11700 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11701 _ACEOF
11703 CURSES_LIBS="-lncurses"
11705 elif test "$ac_cv_header_curses_h" = "yes"
11706 then
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11708 $as_echo_n "checking for -lcurses... " >&6; }
11709 if ${ac_cv_lib_soname_curses+:} false; then :
11710 $as_echo_n "(cached) " >&6
11711 else
11712 ac_check_soname_save_LIBS=$LIBS
11713 LIBS="-lcurses $LIBS"
11714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11715 /* end confdefs.h. */
11717 /* Override any GCC internal prototype to avoid an error.
11718 Use char because int might match the return type of a GCC
11719 builtin and then its argument prototype would still apply. */
11720 #ifdef __cplusplus
11721 extern "C"
11722 #endif
11723 char waddch ();
11725 main ()
11727 return waddch ();
11729 return 0;
11731 _ACEOF
11732 if ac_fn_c_try_link "$LINENO"; then :
11733 case "$LIBEXT" in
11734 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11735 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'` ;;
11736 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11737 if ${ac_cv_lib_soname_curses:+false} :; then :
11738 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11739 fi ;;
11740 esac
11742 rm -f core conftest.err conftest.$ac_objext \
11743 conftest$ac_exeext conftest.$ac_ext
11744 LIBS=$ac_check_soname_save_LIBS
11746 if ${ac_cv_lib_soname_curses:+false} :; then :
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11748 $as_echo "not found" >&6; }
11750 else
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11752 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11754 cat >>confdefs.h <<_ACEOF
11755 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11756 _ACEOF
11758 CURSES_LIBS="-lcurses"
11761 ac_save_LIBS="$LIBS"
11762 LIBS="$LIBS $CURSES_LIBS"
11763 for ac_func in mousemask
11764 do :
11765 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11766 if test "x$ac_cv_func_mousemask" = xyes; then :
11767 cat >>confdefs.h <<_ACEOF
11768 #define HAVE_MOUSEMASK 1
11769 _ACEOF
11772 done
11774 LIBS="$ac_save_LIBS"
11775 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11776 case "x$with_curses" in
11777 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11778 xno) ;;
11779 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11780 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11781 esac
11784 if test "x$with_sane" != "xno"
11785 then
11786 if ${SANE_CFLAGS:+false} :; then :
11787 if ${PKG_CONFIG+:} false; then :
11788 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11791 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11792 if ${SANE_LIBS:+false} :; then :
11793 if ${PKG_CONFIG+:} false; then :
11794 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11797 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11799 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11800 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11801 ac_save_CPPFLAGS=$CPPFLAGS
11802 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11803 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11804 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11806 $as_echo_n "checking for -lsane... " >&6; }
11807 if ${ac_cv_lib_soname_sane+:} false; then :
11808 $as_echo_n "(cached) " >&6
11809 else
11810 ac_check_soname_save_LIBS=$LIBS
11811 LIBS="-lsane $SANE_LIBS $LIBS"
11812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11813 /* end confdefs.h. */
11815 /* Override any GCC internal prototype to avoid an error.
11816 Use char because int might match the return type of a GCC
11817 builtin and then its argument prototype would still apply. */
11818 #ifdef __cplusplus
11819 extern "C"
11820 #endif
11821 char sane_init ();
11823 main ()
11825 return sane_init ();
11827 return 0;
11829 _ACEOF
11830 if ac_fn_c_try_link "$LINENO"; then :
11831 case "$LIBEXT" in
11832 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11833 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'` ;;
11834 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11835 if ${ac_cv_lib_soname_sane:+false} :; then :
11836 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11837 fi ;;
11838 esac
11840 rm -f core conftest.err conftest.$ac_objext \
11841 conftest$ac_exeext conftest.$ac_ext
11842 LIBS=$ac_check_soname_save_LIBS
11844 if ${ac_cv_lib_soname_sane:+false} :; then :
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11846 $as_echo "not found" >&6; }
11847 SANE_CFLAGS=""
11848 else
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11850 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11852 cat >>confdefs.h <<_ACEOF
11853 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11854 _ACEOF
11858 else
11859 SANE_CFLAGS=""
11863 CPPFLAGS=$ac_save_CPPFLAGS
11864 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11865 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11868 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11869 case "x$with_sane" in
11870 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11871 xno) ;;
11872 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11873 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11874 esac
11877 if test "x$with_v4l" != "xno"
11878 then
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11880 $as_echo_n "checking for -lv4l1... " >&6; }
11881 if ${ac_cv_lib_soname_v4l1+:} false; then :
11882 $as_echo_n "(cached) " >&6
11883 else
11884 ac_check_soname_save_LIBS=$LIBS
11885 LIBS="-lv4l1 $LIBS"
11886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11887 /* end confdefs.h. */
11889 /* Override any GCC internal prototype to avoid an error.
11890 Use char because int might match the return type of a GCC
11891 builtin and then its argument prototype would still apply. */
11892 #ifdef __cplusplus
11893 extern "C"
11894 #endif
11895 char v4l1_open ();
11897 main ()
11899 return v4l1_open ();
11901 return 0;
11903 _ACEOF
11904 if ac_fn_c_try_link "$LINENO"; then :
11905 case "$LIBEXT" in
11906 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11907 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'` ;;
11908 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11909 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11910 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11911 fi ;;
11912 esac
11914 rm -f core conftest.err conftest.$ac_objext \
11915 conftest$ac_exeext conftest.$ac_ext
11916 LIBS=$ac_check_soname_save_LIBS
11918 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11920 $as_echo "not found" >&6; }
11922 else
11923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11924 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11926 cat >>confdefs.h <<_ACEOF
11927 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11928 _ACEOF
11933 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11934 case "x$with_v4l" in
11935 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11936 xno) ;;
11937 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11938 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11939 esac
11942 if test "x$with_gphoto" != "xno"
11943 then
11944 if ${GPHOTO2_CFLAGS:+false} :; then :
11945 if ${PKG_CONFIG+:} false; then :
11946 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11949 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11950 if ${GPHOTO2_LIBS:+false} :; then :
11951 if ${PKG_CONFIG+:} false; then :
11952 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11955 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11956 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11957 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11958 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11959 ac_save_CPPFLAGS=$CPPFLAGS
11960 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11961 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11962 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11964 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11965 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11966 $as_echo_n "(cached) " >&6
11967 else
11968 ac_check_lib_save_LIBS=$LIBS
11969 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11971 /* end confdefs.h. */
11973 /* Override any GCC internal prototype to avoid an error.
11974 Use char because int might match the return type of a GCC
11975 builtin and then its argument prototype would still apply. */
11976 #ifdef __cplusplus
11977 extern "C"
11978 #endif
11979 char gp_camera_new ();
11981 main ()
11983 return gp_camera_new ();
11985 return 0;
11987 _ACEOF
11988 if ac_fn_c_try_link "$LINENO"; then :
11989 ac_cv_lib_gphoto2_gp_camera_new=yes
11990 else
11991 ac_cv_lib_gphoto2_gp_camera_new=no
11993 rm -f core conftest.err conftest.$ac_objext \
11994 conftest$ac_exeext conftest.$ac_ext
11995 LIBS=$ac_check_lib_save_LIBS
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11998 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11999 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12001 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12003 else
12004 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12007 else
12008 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12012 CPPFLAGS=$ac_save_CPPFLAGS
12013 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12014 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12016 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12017 if ${PKG_CONFIG+:} false; then :
12018 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12021 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
12022 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12023 if ${PKG_CONFIG+:} false; then :
12024 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12027 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
12028 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12029 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12030 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12031 ac_save_CPPFLAGS=$CPPFLAGS
12032 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12033 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12034 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12036 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12037 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12038 $as_echo_n "(cached) " >&6
12039 else
12040 ac_check_lib_save_LIBS=$LIBS
12041 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12043 /* end confdefs.h. */
12045 /* Override any GCC internal prototype to avoid an error.
12046 Use char because int might match the return type of a GCC
12047 builtin and then its argument prototype would still apply. */
12048 #ifdef __cplusplus
12049 extern "C"
12050 #endif
12051 char gp_port_info_list_new ();
12053 main ()
12055 return gp_port_info_list_new ();
12057 return 0;
12059 _ACEOF
12060 if ac_fn_c_try_link "$LINENO"; then :
12061 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12062 else
12063 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12065 rm -f core conftest.err conftest.$ac_objext \
12066 conftest$ac_exeext conftest.$ac_ext
12067 LIBS=$ac_check_lib_save_LIBS
12069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12070 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12071 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12073 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12075 else
12076 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12079 else
12080 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12084 CPPFLAGS=$ac_save_CPPFLAGS
12085 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12086 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12089 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12090 case "x$with_gphoto" in
12091 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12092 xno) ;;
12093 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12094 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12095 esac
12097 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12098 case "x$with_gphoto" in
12099 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12100 xno) ;;
12101 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12102 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12103 esac
12107 if test "$ac_cv_header_resolv_h" = "yes"
12108 then
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12110 $as_echo_n "checking for resolver library... " >&6; }
12111 if ${ac_cv_have_resolv+:} false; then :
12112 $as_echo_n "(cached) " >&6
12113 else
12114 ac_save_LIBS="$LIBS"
12115 for lib in '' -lresolv
12117 LIBS="$lib $ac_save_LIBS"
12118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12119 /* end confdefs.h. */
12120 #ifdef HAVE_NETINET_IN_H
12121 #include <netinet/in.h>
12122 #endif
12123 #include <resolv.h>
12125 main ()
12127 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12129 return 0;
12131 _ACEOF
12132 if ac_fn_c_try_link "$LINENO"; then :
12133 ac_cv_have_resolv=${lib:-"none required"}
12134 else
12135 ac_cv_have_resolv="not found"
12137 rm -f core conftest.err conftest.$ac_objext \
12138 conftest$ac_exeext conftest.$ac_ext
12139 test "x$ac_cv_have_resolv" = "xnot found" || break
12140 done
12141 LIBS="$ac_save_LIBS"
12143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12144 $as_echo "$ac_cv_have_resolv" >&6; }
12146 case "$ac_cv_have_resolv" in
12147 "not found") ;;
12148 "none required")
12150 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12153 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12155 RESOLV_LIBS=$ac_cv_have_resolv
12157 esac
12160 if test "x$with_cms" != "xno"
12161 then
12162 if ${LCMS2_CFLAGS:+false} :; then :
12163 if ${PKG_CONFIG+:} false; then :
12164 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12168 if ${LCMS2_LIBS:+false} :; then :
12169 if ${PKG_CONFIG+:} false; then :
12170 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12174 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12175 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12176 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12177 ac_save_CPPFLAGS=$CPPFLAGS
12178 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12179 for ac_header in lcms2.h
12180 do :
12181 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12182 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12183 cat >>confdefs.h <<_ACEOF
12184 #define HAVE_LCMS2_H 1
12185 _ACEOF
12189 done
12191 if test "$ac_cv_header_lcms2_h" = "yes"
12192 then
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12194 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12195 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12196 $as_echo_n "(cached) " >&6
12197 else
12198 ac_check_lib_save_LIBS=$LIBS
12199 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12201 /* end confdefs.h. */
12203 /* Override any GCC internal prototype to avoid an error.
12204 Use char because int might match the return type of a GCC
12205 builtin and then its argument prototype would still apply. */
12206 #ifdef __cplusplus
12207 extern "C"
12208 #endif
12209 char cmsOpenProfileFromFile ();
12211 main ()
12213 return cmsOpenProfileFromFile ();
12215 return 0;
12217 _ACEOF
12218 if ac_fn_c_try_link "$LINENO"; then :
12219 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12220 else
12221 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12223 rm -f core conftest.err conftest.$ac_objext \
12224 conftest$ac_exeext conftest.$ac_ext
12225 LIBS=$ac_check_lib_save_LIBS
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12228 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12229 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12231 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12233 else
12234 LCMS2_LIBS=""
12237 else
12238 LCMS2_CFLAGS=""
12239 LCMS2_LIBS=""
12241 CPPFLAGS=$ac_save_CPPFLAGS
12242 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12243 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12246 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12247 case "x$with_cms" in
12248 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12249 xno) ;;
12250 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12251 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12252 esac
12255 if test "x$with_freetype" != "xno"
12256 then
12257 if ${FREETYPE_CFLAGS:+false} :; then :
12258 if ${PKG_CONFIG+:} false; then :
12259 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12262 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12263 if ${FREETYPE_LIBS:+false} :; then :
12264 if ${PKG_CONFIG+:} false; then :
12265 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12268 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12269 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12270 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12271 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12272 ac_save_CPPFLAGS=$CPPFLAGS
12273 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12274 for ac_header in ft2build.h
12275 do :
12276 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12277 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12278 cat >>confdefs.h <<_ACEOF
12279 #define HAVE_FT2BUILD_H 1
12280 _ACEOF
12284 done
12286 if test "$ac_cv_header_ft2build_h" = "yes"
12287 then
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12289 $as_echo_n "checking for -lfreetype... " >&6; }
12290 if ${ac_cv_lib_soname_freetype+:} false; then :
12291 $as_echo_n "(cached) " >&6
12292 else
12293 ac_check_soname_save_LIBS=$LIBS
12294 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12296 /* end confdefs.h. */
12298 /* Override any GCC internal prototype to avoid an error.
12299 Use char because int might match the return type of a GCC
12300 builtin and then its argument prototype would still apply. */
12301 #ifdef __cplusplus
12302 extern "C"
12303 #endif
12304 char FT_Init_FreeType ();
12306 main ()
12308 return FT_Init_FreeType ();
12310 return 0;
12312 _ACEOF
12313 if ac_fn_c_try_link "$LINENO"; then :
12314 case "$LIBEXT" in
12315 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12316 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'` ;;
12317 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12318 if ${ac_cv_lib_soname_freetype:+false} :; then :
12319 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12320 fi ;;
12321 esac
12323 rm -f core conftest.err conftest.$ac_objext \
12324 conftest$ac_exeext conftest.$ac_ext
12325 LIBS=$ac_check_soname_save_LIBS
12327 if ${ac_cv_lib_soname_freetype:+false} :; then :
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12329 $as_echo "not found" >&6; }
12330 FREETYPE_LIBS=""
12331 else
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12333 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12335 cat >>confdefs.h <<_ACEOF
12336 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12337 _ACEOF
12340 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12342 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12343 #include FT_MODULE_H
12345 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12347 cat >>confdefs.h <<_ACEOF
12348 #define HAVE_FT_TRUETYPEENGINETYPE 1
12349 _ACEOF
12355 else
12356 FREETYPE_CFLAGS=""
12357 FREETYPE_LIBS=""
12359 CPPFLAGS=$ac_save_CPPFLAGS
12360 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12361 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12364 if test "x$ac_cv_lib_soname_freetype" = x; then :
12365 case "x$with_freetype" in
12366 xno) ;;
12367 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12368 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12369 esac
12371 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12374 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12375 if ${ac_cv_c_ppdev+:} false; then :
12376 $as_echo_n "(cached) " >&6
12377 else
12378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12379 /* end confdefs.h. */
12380 #ifdef HAVE_SYS_IOCTL_H
12381 # include <sys/ioctl.h>
12382 #endif
12383 #include <linux/ppdev.h>
12385 main ()
12387 ioctl (1,PPCLAIM,0)
12389 return 0;
12391 _ACEOF
12392 if ac_fn_c_try_compile "$LINENO"; then :
12393 ac_cv_c_ppdev="yes"
12394 else
12395 ac_cv_c_ppdev="no"
12397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12400 $as_echo "$ac_cv_c_ppdev" >&6; }
12401 if test "$ac_cv_c_ppdev" = "yes"
12402 then
12404 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12408 ac_wine_check_funcs_save_LIBS="$LIBS"
12409 LIBS="$LIBS $PTHREAD_LIBS"
12410 for ac_func in \
12411 pthread_attr_get_np \
12412 pthread_getattr_np \
12413 pthread_getthreadid_np \
12414 pthread_get_stackaddr_np \
12415 pthread_get_stacksize_np
12416 do :
12417 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12418 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12419 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12420 cat >>confdefs.h <<_ACEOF
12421 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12422 _ACEOF
12425 done
12427 LIBS="$ac_wine_check_funcs_save_LIBS"
12429 if test "$ac_cv_header_zlib_h" = "yes"
12430 then
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12432 $as_echo_n "checking for inflate in -lz... " >&6; }
12433 if ${ac_cv_lib_z_inflate+:} false; then :
12434 $as_echo_n "(cached) " >&6
12435 else
12436 ac_check_lib_save_LIBS=$LIBS
12437 LIBS="-lz $LIBS"
12438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12439 /* end confdefs.h. */
12441 /* Override any GCC internal prototype to avoid an error.
12442 Use char because int might match the return type of a GCC
12443 builtin and then its argument prototype would still apply. */
12444 #ifdef __cplusplus
12445 extern "C"
12446 #endif
12447 char inflate ();
12449 main ()
12451 return inflate ();
12453 return 0;
12455 _ACEOF
12456 if ac_fn_c_try_link "$LINENO"; then :
12457 ac_cv_lib_z_inflate=yes
12458 else
12459 ac_cv_lib_z_inflate=no
12461 rm -f core conftest.err conftest.$ac_objext \
12462 conftest$ac_exeext conftest.$ac_ext
12463 LIBS=$ac_check_lib_save_LIBS
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12466 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12467 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12469 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12471 Z_LIBS="-lz"
12476 if test "x$Z_LIBS" = "x"; then :
12477 case "x$with_zlib" in
12478 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12479 xno) ;;
12480 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12481 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12482 esac
12485 if test "x$enable_tools" != xno
12486 then
12487 if test "$ac_cv_header_gettext_po_h" = "yes"
12488 then
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12490 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12491 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12492 $as_echo_n "(cached) " >&6
12493 else
12494 ac_check_lib_save_LIBS=$LIBS
12495 LIBS="-lgettextpo $LIBS"
12496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12497 /* end confdefs.h. */
12499 /* Override any GCC internal prototype to avoid an error.
12500 Use char because int might match the return type of a GCC
12501 builtin and then its argument prototype would still apply. */
12502 #ifdef __cplusplus
12503 extern "C"
12504 #endif
12505 char po_message_msgctxt ();
12507 main ()
12509 return po_message_msgctxt ();
12511 return 0;
12513 _ACEOF
12514 if ac_fn_c_try_link "$LINENO"; then :
12515 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12516 else
12517 ac_cv_lib_gettextpo_po_message_msgctxt=no
12519 rm -f core conftest.err conftest.$ac_objext \
12520 conftest$ac_exeext conftest.$ac_ext
12521 LIBS=$ac_check_lib_save_LIBS
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12524 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12525 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12527 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12529 GETTEXTPO_LIBS="-lgettextpo"
12534 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12535 case "x$with_gettextpo" in
12536 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12537 xno) ;;
12538 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12539 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12540 esac
12544 if test "x$with_gstreamer" != "xno"
12545 then
12546 if ${GSTREAMER_CFLAGS:+false} :; then :
12547 if ${PKG_CONFIG+:} false; then :
12548 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12552 if ${GSTREAMER_LIBS:+false} :; then :
12553 if ${PKG_CONFIG+:} false; then :
12554 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12559 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12560 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12561 ac_save_CPPFLAGS=$CPPFLAGS
12562 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12563 ac_gst_incl=""
12564 for i in $GSTREAMER_CFLAGS
12566 case "$i" in
12567 -I*) ac_gst_incl="$ac_gst_incl $i";;
12568 esac
12569 done
12570 GSTREAMER_CFLAGS=$ac_gst_incl
12571 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12572 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12573 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12574 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12575 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12577 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12579 /* end confdefs.h. */
12580 #include <gst/app/gstappsink.h>
12582 main ()
12584 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12586 return 0;
12588 _ACEOF
12589 if ac_fn_c_try_compile "$LINENO"; then :
12590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12591 $as_echo "yes" >&6; }
12592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12593 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12594 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12595 $as_echo_n "(cached) " >&6
12596 else
12597 ac_check_lib_save_LIBS=$LIBS
12598 LIBS="-lgstreamer-0.10 $LIBS"
12599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12600 /* end confdefs.h. */
12602 /* Override any GCC internal prototype to avoid an error.
12603 Use char because int might match the return type of a GCC
12604 builtin and then its argument prototype would still apply. */
12605 #ifdef __cplusplus
12606 extern "C"
12607 #endif
12608 char gst_pad_get_caps_reffed ();
12610 main ()
12612 return gst_pad_get_caps_reffed ();
12614 return 0;
12616 _ACEOF
12617 if ac_fn_c_try_link "$LINENO"; then :
12618 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12619 else
12620 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12622 rm -f core conftest.err conftest.$ac_objext \
12623 conftest$ac_exeext conftest.$ac_ext
12624 LIBS=$ac_check_lib_save_LIBS
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12627 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12628 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12630 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12631 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12632 $as_echo_n "(cached) " >&6
12633 else
12634 ac_check_lib_save_LIBS=$LIBS
12635 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12637 /* end confdefs.h. */
12639 /* Override any GCC internal prototype to avoid an error.
12640 Use char because int might match the return type of a GCC
12641 builtin and then its argument prototype would still apply. */
12642 #ifdef __cplusplus
12643 extern "C"
12644 #endif
12645 char gst_app_buffer_new ();
12647 main ()
12649 return gst_app_buffer_new ();
12651 return 0;
12653 _ACEOF
12654 if ac_fn_c_try_link "$LINENO"; then :
12655 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12656 else
12657 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12659 rm -f core conftest.err conftest.$ac_objext \
12660 conftest$ac_exeext conftest.$ac_ext
12661 LIBS=$ac_check_lib_save_LIBS
12663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12664 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12665 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12671 else
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12673 $as_echo "no" >&6; }
12675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12679 else
12680 GSTREAMER_CFLAGS=""
12684 CPPFLAGS=$ac_save_CPPFLAGS
12685 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12686 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12689 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12690 case "x$with_gstreamer" in
12691 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12692 xno) ;;
12693 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12694 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12695 esac
12697 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12699 ALSA_LIBS=""
12701 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12702 then
12703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12704 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12705 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12706 $as_echo_n "(cached) " >&6
12707 else
12708 ac_check_lib_save_LIBS=$LIBS
12709 LIBS="-lasound $LIBS"
12710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12711 /* end confdefs.h. */
12713 /* Override any GCC internal prototype to avoid an error.
12714 Use char because int might match the return type of a GCC
12715 builtin and then its argument prototype would still apply. */
12716 #ifdef __cplusplus
12717 extern "C"
12718 #endif
12719 char snd_pcm_hw_params_get_access_mask ();
12721 main ()
12723 return snd_pcm_hw_params_get_access_mask ();
12725 return 0;
12727 _ACEOF
12728 if ac_fn_c_try_link "$LINENO"; then :
12729 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12730 else
12731 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12733 rm -f core conftest.err conftest.$ac_objext \
12734 conftest$ac_exeext conftest.$ac_ext
12735 LIBS=$ac_check_lib_save_LIBS
12737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12738 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12739 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12741 /* end confdefs.h. */
12742 #ifdef HAVE_ALSA_ASOUNDLIB_H
12743 #include <alsa/asoundlib.h>
12744 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12745 #include <sys/asoundlib.h>
12746 #endif
12748 main ()
12750 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12752 return 0;
12754 _ACEOF
12755 if ac_fn_c_try_compile "$LINENO"; then :
12756 ALSA_LIBS="-lasound"
12758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12763 if test "x$with_oss" != xno
12764 then
12765 ac_save_CPPFLAGS="$CPPFLAGS"
12766 if test -f /etc/oss.conf
12767 then
12768 . /etc/oss.conf
12770 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12771 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12772 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12773 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12774 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12776 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12778 cat >>confdefs.h <<_ACEOF
12779 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12780 _ACEOF
12782 OSS4_CFLAGS="$ac_oss_incl"
12789 CPPFLAGS="$ac_save_CPPFLAGS"
12790 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12791 then
12792 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12796 if test "x$with_capi" != "xno"
12797 then
12798 if ${CAPI20_CFLAGS:+false} :; then :
12799 if ${PKG_CONFIG+:} false; then :
12800 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12804 if ${CAPI20_LIBS:+false} :; then :
12805 if ${PKG_CONFIG+:} false; then :
12806 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12811 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12812 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12813 ac_save_CPPFLAGS=$CPPFLAGS
12814 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12815 for ac_header in capi20.h linux/capi.h
12816 do :
12817 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12818 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12820 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12821 cat >>confdefs.h <<_ACEOF
12822 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12823 _ACEOF
12827 done
12829 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12830 then
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12832 $as_echo_n "checking for -lcapi20... " >&6; }
12833 if ${ac_cv_lib_soname_capi20+:} false; then :
12834 $as_echo_n "(cached) " >&6
12835 else
12836 ac_check_soname_save_LIBS=$LIBS
12837 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12839 /* end confdefs.h. */
12841 /* Override any GCC internal prototype to avoid an error.
12842 Use char because int might match the return type of a GCC
12843 builtin and then its argument prototype would still apply. */
12844 #ifdef __cplusplus
12845 extern "C"
12846 #endif
12847 char capi20_register ();
12849 main ()
12851 return capi20_register ();
12853 return 0;
12855 _ACEOF
12856 if ac_fn_c_try_link "$LINENO"; then :
12857 case "$LIBEXT" in
12858 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12859 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'` ;;
12860 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12861 if ${ac_cv_lib_soname_capi20:+false} :; then :
12862 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12863 fi ;;
12864 esac
12866 rm -f core conftest.err conftest.$ac_objext \
12867 conftest$ac_exeext conftest.$ac_ext
12868 LIBS=$ac_check_soname_save_LIBS
12870 if ${ac_cv_lib_soname_capi20:+false} :; then :
12871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12872 $as_echo "not found" >&6; }
12874 else
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12876 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12878 cat >>confdefs.h <<_ACEOF
12879 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12880 _ACEOF
12885 CPPFLAGS=$ac_save_CPPFLAGS
12886 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12887 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12890 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12891 case "x$with_capi" in
12892 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12893 xno) ;;
12894 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12895 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12896 esac
12899 CUPS_CFLAGS=""
12901 if test "x$with_cups" != "xno"
12902 then
12903 ac_save_CPPFLAGS="$CPPFLAGS"
12904 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12905 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12906 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12907 for ac_header in cups/cups.h
12908 do :
12909 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12910 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12911 cat >>confdefs.h <<_ACEOF
12912 #define HAVE_CUPS_CUPS_H 1
12913 _ACEOF
12914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12915 $as_echo_n "checking for -lcups... " >&6; }
12916 if ${ac_cv_lib_soname_cups+:} false; then :
12917 $as_echo_n "(cached) " >&6
12918 else
12919 ac_check_soname_save_LIBS=$LIBS
12920 LIBS="-lcups $ac_cups_libs $LIBS"
12921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12922 /* end confdefs.h. */
12924 /* Override any GCC internal prototype to avoid an error.
12925 Use char because int might match the return type of a GCC
12926 builtin and then its argument prototype would still apply. */
12927 #ifdef __cplusplus
12928 extern "C"
12929 #endif
12930 char cupsGetDefault ();
12932 main ()
12934 return cupsGetDefault ();
12936 return 0;
12938 _ACEOF
12939 if ac_fn_c_try_link "$LINENO"; then :
12940 case "$LIBEXT" in
12941 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12942 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'` ;;
12943 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12944 if ${ac_cv_lib_soname_cups:+false} :; then :
12945 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12946 fi ;;
12947 esac
12949 rm -f core conftest.err conftest.$ac_objext \
12950 conftest$ac_exeext conftest.$ac_ext
12951 LIBS=$ac_check_soname_save_LIBS
12953 if ${ac_cv_lib_soname_cups:+false} :; then :
12954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12955 $as_echo "not found" >&6; }
12957 else
12958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12959 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12961 cat >>confdefs.h <<_ACEOF
12962 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12963 _ACEOF
12965 CUPS_CFLAGS="$ac_cups_cflags"
12969 done
12971 CPPFLAGS="$ac_save_CPPFLAGS"
12973 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12974 case "x$with_cups" in
12975 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12976 xno) ;;
12977 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12978 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12979 esac
12982 if test "x$with_fontconfig" != "xno"
12983 then
12984 if ${FONTCONFIG_CFLAGS:+false} :; then :
12985 if ${PKG_CONFIG+:} false; then :
12986 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12989 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12990 if ${FONTCONFIG_LIBS:+false} :; then :
12991 if ${PKG_CONFIG+:} false; then :
12992 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12995 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12997 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12998 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12999 ac_save_CPPFLAGS=$CPPFLAGS
13000 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13001 for ac_header in fontconfig/fontconfig.h
13002 do :
13003 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13004 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13005 cat >>confdefs.h <<_ACEOF
13006 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13007 _ACEOF
13011 done
13013 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13014 then
13015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13016 $as_echo_n "checking for -lfontconfig... " >&6; }
13017 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13018 $as_echo_n "(cached) " >&6
13019 else
13020 ac_check_soname_save_LIBS=$LIBS
13021 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13023 /* end confdefs.h. */
13025 /* Override any GCC internal prototype to avoid an error.
13026 Use char because int might match the return type of a GCC
13027 builtin and then its argument prototype would still apply. */
13028 #ifdef __cplusplus
13029 extern "C"
13030 #endif
13031 char FcInit ();
13033 main ()
13035 return FcInit ();
13037 return 0;
13039 _ACEOF
13040 if ac_fn_c_try_link "$LINENO"; then :
13041 case "$LIBEXT" in
13042 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13043 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'` ;;
13044 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13045 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13046 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13047 fi ;;
13048 esac
13050 rm -f core conftest.err conftest.$ac_objext \
13051 conftest$ac_exeext conftest.$ac_ext
13052 LIBS=$ac_check_soname_save_LIBS
13054 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13056 $as_echo "not found" >&6; }
13057 FONTCONFIG_CFLAGS=""
13058 else
13059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13060 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13062 cat >>confdefs.h <<_ACEOF
13063 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13064 _ACEOF
13068 else
13069 FONTCONFIG_CFLAGS=""
13071 CPPFLAGS=$ac_save_CPPFLAGS
13072 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13073 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13076 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13077 case "x$with_fontconfig" in
13078 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13079 xno) ;;
13080 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13081 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13082 esac
13085 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13086 then
13087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13088 $as_echo_n "checking for -lgsm... " >&6; }
13089 if ${ac_cv_lib_soname_gsm+:} false; then :
13090 $as_echo_n "(cached) " >&6
13091 else
13092 ac_check_soname_save_LIBS=$LIBS
13093 LIBS="-lgsm $LIBS"
13094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13095 /* end confdefs.h. */
13097 /* Override any GCC internal prototype to avoid an error.
13098 Use char because int might match the return type of a GCC
13099 builtin and then its argument prototype would still apply. */
13100 #ifdef __cplusplus
13101 extern "C"
13102 #endif
13103 char gsm_create ();
13105 main ()
13107 return gsm_create ();
13109 return 0;
13111 _ACEOF
13112 if ac_fn_c_try_link "$LINENO"; then :
13113 case "$LIBEXT" in
13114 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13115 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'` ;;
13116 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13117 if ${ac_cv_lib_soname_gsm:+false} :; then :
13118 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13119 fi ;;
13120 esac
13122 rm -f core conftest.err conftest.$ac_objext \
13123 conftest$ac_exeext conftest.$ac_ext
13124 LIBS=$ac_check_soname_save_LIBS
13126 if ${ac_cv_lib_soname_gsm:+false} :; then :
13127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13128 $as_echo "not found" >&6; }
13130 else
13131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13132 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13134 cat >>confdefs.h <<_ACEOF
13135 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13136 _ACEOF
13141 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13142 case "x$with_gsm" in
13143 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13144 xno) ;;
13145 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13146 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13147 esac
13150 if test "x$with_jpeg" != "xno"
13151 then
13152 if ${JPEG_CFLAGS:+false} :; then :
13153 if ${PKG_CONFIG+:} false; then :
13154 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13158 if ${JPEG_LIBS:+false} :; then :
13159 if ${PKG_CONFIG+:} false; then :
13160 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13165 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13166 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13167 ac_save_CPPFLAGS=$CPPFLAGS
13168 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13169 for ac_header in jpeglib.h
13170 do :
13171 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13172 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13173 cat >>confdefs.h <<_ACEOF
13174 #define HAVE_JPEGLIB_H 1
13175 _ACEOF
13179 done
13181 if test "$ac_cv_header_jpeglib_h" = "yes"
13182 then
13183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13184 $as_echo_n "checking for -ljpeg... " >&6; }
13185 if ${ac_cv_lib_soname_jpeg+:} false; then :
13186 $as_echo_n "(cached) " >&6
13187 else
13188 ac_check_soname_save_LIBS=$LIBS
13189 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13191 /* end confdefs.h. */
13193 /* Override any GCC internal prototype to avoid an error.
13194 Use char because int might match the return type of a GCC
13195 builtin and then its argument prototype would still apply. */
13196 #ifdef __cplusplus
13197 extern "C"
13198 #endif
13199 char jpeg_start_decompress ();
13201 main ()
13203 return jpeg_start_decompress ();
13205 return 0;
13207 _ACEOF
13208 if ac_fn_c_try_link "$LINENO"; then :
13209 case "$LIBEXT" in
13210 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13211 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'` ;;
13212 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13213 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13214 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13215 fi ;;
13216 esac
13218 rm -f core conftest.err conftest.$ac_objext \
13219 conftest$ac_exeext conftest.$ac_ext
13220 LIBS=$ac_check_soname_save_LIBS
13222 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13224 $as_echo "not found" >&6; }
13225 JPEG_CFLAGS=""
13226 else
13227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13228 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13230 cat >>confdefs.h <<_ACEOF
13231 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13232 _ACEOF
13236 else
13237 JPEG_CFLAGS=""
13239 CPPFLAGS=$ac_save_CPPFLAGS
13240 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13241 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13244 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13245 case "x$with_jpeg" in
13246 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13247 xno) ;;
13248 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13249 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13250 esac
13253 if test "x$with_png" != "xno"
13254 then
13255 if ${PNG_CFLAGS:+false} :; then :
13256 if ${PKG_CONFIG+:} false; then :
13257 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13260 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13261 if ${PNG_LIBS:+false} :; then :
13262 if ${PKG_CONFIG+:} false; then :
13263 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13266 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13268 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13269 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13270 ac_save_CPPFLAGS=$CPPFLAGS
13271 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13272 for ac_header in png.h
13273 do :
13274 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13275 if test "x$ac_cv_header_png_h" = xyes; then :
13276 cat >>confdefs.h <<_ACEOF
13277 #define HAVE_PNG_H 1
13278 _ACEOF
13282 done
13284 if test "$ac_cv_header_png_h" = "yes"
13285 then
13286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13287 $as_echo_n "checking for -lpng... " >&6; }
13288 if ${ac_cv_lib_soname_png+:} false; then :
13289 $as_echo_n "(cached) " >&6
13290 else
13291 ac_check_soname_save_LIBS=$LIBS
13292 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13294 /* end confdefs.h. */
13296 /* Override any GCC internal prototype to avoid an error.
13297 Use char because int might match the return type of a GCC
13298 builtin and then its argument prototype would still apply. */
13299 #ifdef __cplusplus
13300 extern "C"
13301 #endif
13302 char png_create_read_struct ();
13304 main ()
13306 return png_create_read_struct ();
13308 return 0;
13310 _ACEOF
13311 if ac_fn_c_try_link "$LINENO"; then :
13312 case "$LIBEXT" in
13313 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13314 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'` ;;
13315 *) 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'`
13316 if ${ac_cv_lib_soname_png:+false} :; then :
13317 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13318 fi ;;
13319 esac
13321 rm -f core conftest.err conftest.$ac_objext \
13322 conftest$ac_exeext conftest.$ac_ext
13323 LIBS=$ac_check_soname_save_LIBS
13325 if ${ac_cv_lib_soname_png:+false} :; then :
13326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13327 $as_echo "not found" >&6; }
13328 PNG_CFLAGS=""
13329 else
13330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13331 $as_echo "$ac_cv_lib_soname_png" >&6; }
13333 cat >>confdefs.h <<_ACEOF
13334 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13335 _ACEOF
13337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13338 /* end confdefs.h. */
13339 #include <png.h>
13341 main ()
13343 typeof(png_set_expand_gray_1_2_4_to_8) *p
13345 return 0;
13347 _ACEOF
13348 if ac_fn_c_try_compile "$LINENO"; then :
13350 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13355 else
13356 PNG_CFLAGS=""
13358 CPPFLAGS=$ac_save_CPPFLAGS
13359 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13360 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13363 if test "x$ac_cv_lib_soname_png" = "x"; then :
13364 case "x$with_png" in
13365 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13366 xno) ;;
13367 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13368 This is an error since --with-png was requested." "$LINENO" 5 ;;
13369 esac
13372 if test "x$with_tiff" != "xno"
13373 then
13374 if ${TIFF_CFLAGS:+false} :; then :
13375 if ${PKG_CONFIG+:} false; then :
13376 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13380 if ${TIFF_LIBS:+false} :; then :
13381 if ${PKG_CONFIG+:} false; then :
13382 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13387 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13388 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13389 ac_save_CPPFLAGS=$CPPFLAGS
13390 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13391 for ac_header in tiffio.h
13392 do :
13393 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13394 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13395 cat >>confdefs.h <<_ACEOF
13396 #define HAVE_TIFFIO_H 1
13397 _ACEOF
13401 done
13403 if test "$ac_cv_header_tiffio_h" = "yes"
13404 then
13405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13406 $as_echo_n "checking for -ltiff... " >&6; }
13407 if ${ac_cv_lib_soname_tiff+:} false; then :
13408 $as_echo_n "(cached) " >&6
13409 else
13410 ac_check_soname_save_LIBS=$LIBS
13411 LIBS="-ltiff $TIFF_LIBS $LIBS"
13412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13413 /* end confdefs.h. */
13415 /* Override any GCC internal prototype to avoid an error.
13416 Use char because int might match the return type of a GCC
13417 builtin and then its argument prototype would still apply. */
13418 #ifdef __cplusplus
13419 extern "C"
13420 #endif
13421 char TIFFClientOpen ();
13423 main ()
13425 return TIFFClientOpen ();
13427 return 0;
13429 _ACEOF
13430 if ac_fn_c_try_link "$LINENO"; then :
13431 case "$LIBEXT" in
13432 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13433 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'` ;;
13434 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13435 if ${ac_cv_lib_soname_tiff:+false} :; then :
13436 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13437 fi ;;
13438 esac
13440 rm -f core conftest.err conftest.$ac_objext \
13441 conftest$ac_exeext conftest.$ac_ext
13442 LIBS=$ac_check_soname_save_LIBS
13444 if ${ac_cv_lib_soname_tiff:+false} :; then :
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13446 $as_echo "not found" >&6; }
13448 else
13449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13450 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13452 cat >>confdefs.h <<_ACEOF
13453 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13454 _ACEOF
13459 CPPFLAGS=$ac_save_CPPFLAGS
13460 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13461 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13464 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13465 case "x$with_tiff" in
13466 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13467 xno) ;;
13468 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13469 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13470 esac
13473 if test "x$with_mpg123" != "xno"
13474 then
13475 if ${MPG123_CFLAGS:+false} :; then :
13476 if ${PKG_CONFIG+:} false; then :
13477 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13481 if ${MPG123_LIBS:+false} :; then :
13482 if ${PKG_CONFIG+:} false; then :
13483 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13487 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13488 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13489 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13490 ac_save_CPPFLAGS=$CPPFLAGS
13491 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13492 for ac_header in mpg123.h
13493 do :
13494 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13495 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13496 cat >>confdefs.h <<_ACEOF
13497 #define HAVE_MPG123_H 1
13498 _ACEOF
13502 done
13504 if test "$ac_cv_header_mpg123_h" = "yes"
13505 then
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13507 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13508 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13509 $as_echo_n "(cached) " >&6
13510 else
13511 ac_check_lib_save_LIBS=$LIBS
13512 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13514 /* end confdefs.h. */
13516 /* Override any GCC internal prototype to avoid an error.
13517 Use char because int might match the return type of a GCC
13518 builtin and then its argument prototype would still apply. */
13519 #ifdef __cplusplus
13520 extern "C"
13521 #endif
13522 char mpg123_feed ();
13524 main ()
13526 return mpg123_feed ();
13528 return 0;
13530 _ACEOF
13531 if ac_fn_c_try_link "$LINENO"; then :
13532 ac_cv_lib_mpg123_mpg123_feed=yes
13533 else
13534 ac_cv_lib_mpg123_mpg123_feed=no
13536 rm -f core conftest.err conftest.$ac_objext \
13537 conftest$ac_exeext conftest.$ac_ext
13538 LIBS=$ac_check_lib_save_LIBS
13540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13541 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13542 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13544 else
13545 MPG123_LIBS=""
13548 else
13549 MPG123_CFLAGS=""
13550 MPG123_LIBS=""
13552 CPPFLAGS=$ac_save_CPPFLAGS
13553 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13554 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13557 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13558 case "x$with_mpg123" in
13559 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13560 xno) ;;
13561 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13562 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13563 esac
13565 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}
13567 if test "$ac_cv_header_AL_al_h" = "yes"
13568 then
13569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13570 $as_echo_n "checking for -lopenal... " >&6; }
13571 if ${ac_cv_lib_soname_openal+:} false; then :
13572 $as_echo_n "(cached) " >&6
13573 else
13574 ac_check_soname_save_LIBS=$LIBS
13575 LIBS="-lopenal $LIBS"
13576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13577 /* end confdefs.h. */
13579 /* Override any GCC internal prototype to avoid an error.
13580 Use char because int might match the return type of a GCC
13581 builtin and then its argument prototype would still apply. */
13582 #ifdef __cplusplus
13583 extern "C"
13584 #endif
13585 char alGetSource3i ();
13587 main ()
13589 return alGetSource3i ();
13591 return 0;
13593 _ACEOF
13594 if ac_fn_c_try_link "$LINENO"; then :
13595 case "$LIBEXT" in
13596 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13597 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'` ;;
13598 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13599 if ${ac_cv_lib_soname_openal:+false} :; then :
13600 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13601 fi ;;
13602 esac
13604 rm -f core conftest.err conftest.$ac_objext \
13605 conftest$ac_exeext conftest.$ac_ext
13606 LIBS=$ac_check_soname_save_LIBS
13608 if ${ac_cv_lib_soname_openal:+false} :; then :
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13610 $as_echo "not found" >&6; }
13612 else
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13614 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13616 cat >>confdefs.h <<_ACEOF
13617 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13618 _ACEOF
13620 OPENAL_LIBS="-lopenal"
13622 ac_cv_lib_openal=yes
13624 cat >>confdefs.h <<_ACEOF
13625 #define HAVE_OPENAL 1
13626 _ACEOF
13630 if test "x$ac_cv_lib_openal" != xyes; then :
13631 case "x$with_openal" in
13632 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13633 xno) ;;
13634 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13635 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13636 esac
13638 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13640 if test "x$ac_cv_lib_openal" = xyes
13641 then
13642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13643 $as_echo_n "checking for openal-soft... " >&6; }
13644 if ${ac_cv_have_openalsoft+:} false; then :
13645 $as_echo_n "(cached) " >&6
13646 else
13647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13648 /* end confdefs.h. */
13649 #include <AL/alext.h>
13650 LPALCRENDERSAMPLESSOFT x;
13652 main ()
13656 return 0;
13658 _ACEOF
13659 if ac_fn_c_try_compile "$LINENO"; then :
13660 ac_cv_have_openalsoft=yes
13661 else
13662 ac_cv_have_openalsoft=no
13664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13667 $as_echo "$ac_cv_have_openalsoft" >&6; }
13669 if test "x$ac_cv_have_openalsoft" != xyes
13670 then
13671 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13672 enable_xaudio2_7=${enable_xaudio2_7:-no}
13675 if test "$ac_cv_header_kstat_h" = "yes"
13676 then
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13678 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13679 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13680 $as_echo_n "(cached) " >&6
13681 else
13682 ac_check_lib_save_LIBS=$LIBS
13683 LIBS="-lkstat $LIBS"
13684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13685 /* end confdefs.h. */
13687 /* Override any GCC internal prototype to avoid an error.
13688 Use char because int might match the return type of a GCC
13689 builtin and then its argument prototype would still apply. */
13690 #ifdef __cplusplus
13691 extern "C"
13692 #endif
13693 char kstat_open ();
13695 main ()
13697 return kstat_open ();
13699 return 0;
13701 _ACEOF
13702 if ac_fn_c_try_link "$LINENO"; then :
13703 ac_cv_lib_kstat_kstat_open=yes
13704 else
13705 ac_cv_lib_kstat_kstat_open=no
13707 rm -f core conftest.err conftest.$ac_objext \
13708 conftest$ac_exeext conftest.$ac_ext
13709 LIBS=$ac_check_lib_save_LIBS
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13712 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13713 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13715 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13717 KSTAT_LIBS="-lkstat"
13723 if test "$ac_cv_header_libprocstat_h" = "yes"
13724 then
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13726 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13727 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13728 $as_echo_n "(cached) " >&6
13729 else
13730 ac_check_lib_save_LIBS=$LIBS
13731 LIBS="-lprocstat $LIBS"
13732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13733 /* end confdefs.h. */
13735 /* Override any GCC internal prototype to avoid an error.
13736 Use char because int might match the return type of a GCC
13737 builtin and then its argument prototype would still apply. */
13738 #ifdef __cplusplus
13739 extern "C"
13740 #endif
13741 char procstat_open_sysctl ();
13743 main ()
13745 return procstat_open_sysctl ();
13747 return 0;
13749 _ACEOF
13750 if ac_fn_c_try_link "$LINENO"; then :
13751 ac_cv_lib_procstat_procstat_open_sysctl=yes
13752 else
13753 ac_cv_lib_procstat_procstat_open_sysctl=no
13755 rm -f core conftest.err conftest.$ac_objext \
13756 conftest$ac_exeext conftest.$ac_ext
13757 LIBS=$ac_check_lib_save_LIBS
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13760 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13761 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13763 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13765 PROCSTAT_LIBS="-lprocstat"
13771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13772 $as_echo_n "checking for -lodbc... " >&6; }
13773 if ${ac_cv_lib_soname_odbc+:} false; then :
13774 $as_echo_n "(cached) " >&6
13775 else
13776 ac_check_soname_save_LIBS=$LIBS
13777 LIBS="-lodbc $LIBS"
13778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13779 /* end confdefs.h. */
13781 /* Override any GCC internal prototype to avoid an error.
13782 Use char because int might match the return type of a GCC
13783 builtin and then its argument prototype would still apply. */
13784 #ifdef __cplusplus
13785 extern "C"
13786 #endif
13787 char SQLConnect ();
13789 main ()
13791 return SQLConnect ();
13793 return 0;
13795 _ACEOF
13796 if ac_fn_c_try_link "$LINENO"; then :
13797 case "$LIBEXT" in
13798 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13799 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'` ;;
13800 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13801 if ${ac_cv_lib_soname_odbc:+false} :; then :
13802 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13803 fi ;;
13804 esac
13806 rm -f core conftest.err conftest.$ac_objext \
13807 conftest$ac_exeext conftest.$ac_ext
13808 LIBS=$ac_check_soname_save_LIBS
13810 if ${ac_cv_lib_soname_odbc:+false} :; then :
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13812 $as_echo "not found" >&6; }
13813 cat >>confdefs.h <<_ACEOF
13814 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13815 _ACEOF
13817 else
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13819 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13821 cat >>confdefs.h <<_ACEOF
13822 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13823 _ACEOF
13828 if test "x$with_netapi" != "xno"
13829 then
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13831 $as_echo_n "checking for -lnetapi... " >&6; }
13832 if ${ac_cv_lib_soname_netapi+:} false; then :
13833 $as_echo_n "(cached) " >&6
13834 else
13835 ac_check_soname_save_LIBS=$LIBS
13836 LIBS="-lnetapi $LIBS"
13837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13838 /* end confdefs.h. */
13840 /* Override any GCC internal prototype to avoid an error.
13841 Use char because int might match the return type of a GCC
13842 builtin and then its argument prototype would still apply. */
13843 #ifdef __cplusplus
13844 extern "C"
13845 #endif
13846 char libnetapi_init ();
13848 main ()
13850 return libnetapi_init ();
13852 return 0;
13854 _ACEOF
13855 if ac_fn_c_try_link "$LINENO"; then :
13856 case "$LIBEXT" in
13857 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13858 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'` ;;
13859 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13860 if ${ac_cv_lib_soname_netapi:+false} :; then :
13861 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13862 fi ;;
13863 esac
13865 rm -f core conftest.err conftest.$ac_objext \
13866 conftest$ac_exeext conftest.$ac_ext
13867 LIBS=$ac_check_soname_save_LIBS
13869 if ${ac_cv_lib_soname_netapi:+false} :; then :
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13871 $as_echo "not found" >&6; }
13872 cat >>confdefs.h <<_ACEOF
13873 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13874 _ACEOF
13876 else
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13878 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13880 cat >>confdefs.h <<_ACEOF
13881 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13882 _ACEOF
13888 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13889 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13890 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13891 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13893 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13894 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13895 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13896 then
13897 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13901 EXTRACFLAGS=""
13903 if test "x${GCC}" = "xyes"
13904 then
13905 EXTRACFLAGS="-Wall -pipe"
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13908 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13909 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13910 $as_echo_n "(cached) " >&6
13911 else
13912 if test "$cross_compiling" = yes; then :
13913 ac_cv_c_gcc_strength_bug="no"
13914 else
13915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13916 /* end confdefs.h. */
13917 int L[4] = {0,1,2,3};
13919 main ()
13921 static int Array[3];
13922 unsigned int B = 3;
13923 int i;
13924 for(i=0; i<B; i++) Array[i] = i - 3;
13925 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13926 L[i] = 4;
13927 return (Array[1] != -2 || L[2] != 3)
13929 return 0;
13931 _ACEOF
13932 if ac_fn_c_try_run "$LINENO"; then :
13933 ac_cv_c_gcc_strength_bug="no"
13934 else
13935 ac_cv_c_gcc_strength_bug="yes"
13937 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13938 conftest.$ac_objext conftest.beam conftest.$ac_ext
13942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13943 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13944 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13945 then
13946 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13950 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13951 if ${ac_cv_cflags__fno_builtin+:} false; then :
13952 $as_echo_n "(cached) " >&6
13953 else
13954 ac_wine_try_cflags_saved=$CFLAGS
13955 CFLAGS="$CFLAGS -fno-builtin"
13956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13957 /* end confdefs.h. */
13958 int main(int argc, char **argv) { return 0; }
13959 _ACEOF
13960 if ac_fn_c_try_link "$LINENO"; then :
13961 ac_cv_cflags__fno_builtin=yes
13962 else
13963 ac_cv_cflags__fno_builtin=no
13965 rm -f core conftest.err conftest.$ac_objext \
13966 conftest$ac_exeext conftest.$ac_ext
13967 CFLAGS=$ac_wine_try_cflags_saved
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13970 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13971 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13972 BUILTINFLAG="-fno-builtin"
13975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13976 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13977 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13978 $as_echo_n "(cached) " >&6
13979 else
13980 ac_wine_try_cflags_saved=$CFLAGS
13981 CFLAGS="$CFLAGS -fno-strict-aliasing"
13982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13983 /* end confdefs.h. */
13984 int main(int argc, char **argv) { return 0; }
13985 _ACEOF
13986 if ac_fn_c_try_link "$LINENO"; then :
13987 ac_cv_cflags__fno_strict_aliasing=yes
13988 else
13989 ac_cv_cflags__fno_strict_aliasing=no
13991 rm -f core conftest.err conftest.$ac_objext \
13992 conftest$ac_exeext conftest.$ac_ext
13993 CFLAGS=$ac_wine_try_cflags_saved
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13996 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13997 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13998 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14001 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14002 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14003 $as_echo_n "(cached) " >&6
14004 else
14005 ac_wine_try_cflags_saved=$CFLAGS
14006 CFLAGS="$CFLAGS -fexcess-precision=standard"
14007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14008 /* end confdefs.h. */
14009 int main(int argc, char **argv) { return 0; }
14010 _ACEOF
14011 if ac_fn_c_try_link "$LINENO"; then :
14012 ac_cv_cflags__fexcess_precision_standard=yes
14013 else
14014 ac_cv_cflags__fexcess_precision_standard=no
14016 rm -f core conftest.err conftest.$ac_objext \
14017 conftest$ac_exeext conftest.$ac_ext
14018 CFLAGS=$ac_wine_try_cflags_saved
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14021 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14022 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14023 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14026 saved_CFLAGS=$CFLAGS
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14028 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14029 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14030 $as_echo_n "(cached) " >&6
14031 else
14032 ac_wine_try_cflags_saved=$CFLAGS
14033 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14035 /* end confdefs.h. */
14036 int main(int argc, char **argv) { return 0; }
14037 _ACEOF
14038 if ac_fn_c_try_link "$LINENO"; then :
14039 ac_cv_cflags__Werror_unknown_warning_option=yes
14040 else
14041 ac_cv_cflags__Werror_unknown_warning_option=no
14043 rm -f core conftest.err conftest.$ac_objext \
14044 conftest$ac_exeext conftest.$ac_ext
14045 CFLAGS=$ac_wine_try_cflags_saved
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14048 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14049 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14050 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14053 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14054 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14055 $as_echo_n "(cached) " >&6
14056 else
14057 ac_wine_try_cflags_saved=$CFLAGS
14058 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14060 /* end confdefs.h. */
14061 int main(int argc, char **argv) { return 0; }
14062 _ACEOF
14063 if ac_fn_c_try_link "$LINENO"; then :
14064 ac_cv_cflags__Wdeclaration_after_statement=yes
14065 else
14066 ac_cv_cflags__Wdeclaration_after_statement=no
14068 rm -f core conftest.err conftest.$ac_objext \
14069 conftest$ac_exeext conftest.$ac_ext
14070 CFLAGS=$ac_wine_try_cflags_saved
14072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14073 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14074 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14075 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14078 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14079 if ${ac_cv_cflags__Wempty_body+:} false; then :
14080 $as_echo_n "(cached) " >&6
14081 else
14082 ac_wine_try_cflags_saved=$CFLAGS
14083 CFLAGS="$CFLAGS -Wempty-body"
14084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14085 /* end confdefs.h. */
14086 int main(int argc, char **argv) { return 0; }
14087 _ACEOF
14088 if ac_fn_c_try_link "$LINENO"; then :
14089 ac_cv_cflags__Wempty_body=yes
14090 else
14091 ac_cv_cflags__Wempty_body=no
14093 rm -f core conftest.err conftest.$ac_objext \
14094 conftest$ac_exeext conftest.$ac_ext
14095 CFLAGS=$ac_wine_try_cflags_saved
14097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14098 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14099 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14100 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14103 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14104 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14105 $as_echo_n "(cached) " >&6
14106 else
14107 ac_wine_try_cflags_saved=$CFLAGS
14108 CFLAGS="$CFLAGS -Wignored-qualifiers"
14109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14110 /* end confdefs.h. */
14111 int main(int argc, char **argv) { return 0; }
14112 _ACEOF
14113 if ac_fn_c_try_link "$LINENO"; then :
14114 ac_cv_cflags__Wignored_qualifiers=yes
14115 else
14116 ac_cv_cflags__Wignored_qualifiers=no
14118 rm -f core conftest.err conftest.$ac_objext \
14119 conftest$ac_exeext conftest.$ac_ext
14120 CFLAGS=$ac_wine_try_cflags_saved
14122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14123 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14124 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14125 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14128 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14129 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14130 $as_echo_n "(cached) " >&6
14131 else
14132 ac_wine_try_cflags_saved=$CFLAGS
14133 CFLAGS="$CFLAGS -Wstrict-prototypes"
14134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14135 /* end confdefs.h. */
14136 int main(int argc, char **argv) { return 0; }
14137 _ACEOF
14138 if ac_fn_c_try_link "$LINENO"; then :
14139 ac_cv_cflags__Wstrict_prototypes=yes
14140 else
14141 ac_cv_cflags__Wstrict_prototypes=no
14143 rm -f core conftest.err conftest.$ac_objext \
14144 conftest$ac_exeext conftest.$ac_ext
14145 CFLAGS=$ac_wine_try_cflags_saved
14147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14148 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14149 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14150 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14153 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14154 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14155 $as_echo_n "(cached) " >&6
14156 else
14157 ac_wine_try_cflags_saved=$CFLAGS
14158 CFLAGS="$CFLAGS -Wtype-limits"
14159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14160 /* end confdefs.h. */
14161 int main(int argc, char **argv) { return 0; }
14162 _ACEOF
14163 if ac_fn_c_try_link "$LINENO"; then :
14164 ac_cv_cflags__Wtype_limits=yes
14165 else
14166 ac_cv_cflags__Wtype_limits=no
14168 rm -f core conftest.err conftest.$ac_objext \
14169 conftest$ac_exeext conftest.$ac_ext
14170 CFLAGS=$ac_wine_try_cflags_saved
14172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14173 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14174 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14175 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14178 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14179 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14180 $as_echo_n "(cached) " >&6
14181 else
14182 ac_wine_try_cflags_saved=$CFLAGS
14183 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14185 /* end confdefs.h. */
14186 int main(int argc, char **argv) { return 0; }
14187 _ACEOF
14188 if ac_fn_c_try_link "$LINENO"; then :
14189 ac_cv_cflags__Wunused_but_set_parameter=yes
14190 else
14191 ac_cv_cflags__Wunused_but_set_parameter=no
14193 rm -f core conftest.err conftest.$ac_objext \
14194 conftest$ac_exeext conftest.$ac_ext
14195 CFLAGS=$ac_wine_try_cflags_saved
14197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14198 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14199 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14200 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14203 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14204 if ${ac_cv_cflags__Wvla+:} false; then :
14205 $as_echo_n "(cached) " >&6
14206 else
14207 ac_wine_try_cflags_saved=$CFLAGS
14208 CFLAGS="$CFLAGS -Wvla"
14209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14210 /* end confdefs.h. */
14211 int main(int argc, char **argv) { return 0; }
14212 _ACEOF
14213 if ac_fn_c_try_link "$LINENO"; then :
14214 ac_cv_cflags__Wvla=yes
14215 else
14216 ac_cv_cflags__Wvla=no
14218 rm -f core conftest.err conftest.$ac_objext \
14219 conftest$ac_exeext conftest.$ac_ext
14220 CFLAGS=$ac_wine_try_cflags_saved
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14223 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14224 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14225 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14228 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14229 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14230 $as_echo_n "(cached) " >&6
14231 else
14232 ac_wine_try_cflags_saved=$CFLAGS
14233 CFLAGS="$CFLAGS -Wwrite-strings"
14234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14235 /* end confdefs.h. */
14236 int main(int argc, char **argv) { return 0; }
14237 _ACEOF
14238 if ac_fn_c_try_link "$LINENO"; then :
14239 ac_cv_cflags__Wwrite_strings=yes
14240 else
14241 ac_cv_cflags__Wwrite_strings=no
14243 rm -f core conftest.err conftest.$ac_objext \
14244 conftest$ac_exeext conftest.$ac_ext
14245 CFLAGS=$ac_wine_try_cflags_saved
14247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14248 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14249 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14250 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14254 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14255 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14256 $as_echo_n "(cached) " >&6
14257 else
14258 ac_wine_try_cflags_saved=$CFLAGS
14259 CFLAGS="$CFLAGS -Wpointer-arith"
14260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14261 /* end confdefs.h. */
14262 int main(int argc, char **argv) { return 0; }
14263 _ACEOF
14264 if ac_fn_c_try_link "$LINENO"; then :
14265 ac_cv_cflags__Wpointer_arith=yes
14266 else
14267 ac_cv_cflags__Wpointer_arith=no
14269 rm -f core conftest.err conftest.$ac_objext \
14270 conftest$ac_exeext conftest.$ac_ext
14271 CFLAGS=$ac_wine_try_cflags_saved
14273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14274 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14275 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14276 saved_string_h_CFLAGS=$CFLAGS
14277 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14279 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14280 if ${ac_cv_c_string_h_warnings+:} false; then :
14281 $as_echo_n "(cached) " >&6
14282 else
14283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14284 /* end confdefs.h. */
14285 #include <string.h>
14287 main ()
14291 return 0;
14293 _ACEOF
14294 if ac_fn_c_try_compile "$LINENO"; then :
14295 ac_cv_c_string_h_warnings=no
14296 else
14297 ac_cv_c_string_h_warnings=yes
14299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14302 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14303 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14304 CFLAGS=$saved_string_h_CFLAGS
14307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14308 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14309 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14310 $as_echo_n "(cached) " >&6
14311 else
14312 ac_wine_try_cflags_saved=$CFLAGS
14313 CFLAGS="$CFLAGS -Wlogical-op"
14314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14315 /* end confdefs.h. */
14316 int main(int argc, char **argv) { return 0; }
14317 _ACEOF
14318 if ac_fn_c_try_link "$LINENO"; then :
14319 ac_cv_cflags__Wlogical_op=yes
14320 else
14321 ac_cv_cflags__Wlogical_op=no
14323 rm -f core conftest.err conftest.$ac_objext \
14324 conftest$ac_exeext conftest.$ac_ext
14325 CFLAGS=$ac_wine_try_cflags_saved
14327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14328 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14329 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14330 saved_string_h_CFLAGS=$CFLAGS
14331 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14333 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14334 if ${ac_cv_c_logicalop_noisy+:} false; then :
14335 $as_echo_n "(cached) " >&6
14336 else
14337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14338 /* end confdefs.h. */
14339 #include <string.h>
14340 char*f(const char *h,char n) {return strchr(h,n);}
14342 main ()
14346 return 0;
14348 _ACEOF
14349 if ac_fn_c_try_compile "$LINENO"; then :
14350 ac_cv_c_logicalop_noisy=no
14351 else
14352 ac_cv_c_logicalop_noisy=yes
14354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14357 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14358 CFLAGS=$saved_string_h_CFLAGS
14359 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14362 CFLAGS=$saved_CFLAGS
14364 for ac_flag in $CFLAGS; do
14365 case $ac_flag in
14366 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14367 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14368 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14369 $as_echo_n "(cached) " >&6
14370 else
14371 ac_wine_try_cflags_saved=$CFLAGS
14372 CFLAGS="$CFLAGS -gdwarf-2"
14373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14374 /* end confdefs.h. */
14375 int main(int argc, char **argv) { return 0; }
14376 _ACEOF
14377 if ac_fn_c_try_link "$LINENO"; then :
14378 ac_cv_cflags__gdwarf_2=yes
14379 else
14380 ac_cv_cflags__gdwarf_2=no
14382 rm -f core conftest.err conftest.$ac_objext \
14383 conftest$ac_exeext conftest.$ac_ext
14384 CFLAGS=$ac_wine_try_cflags_saved
14386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14387 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14388 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14389 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14392 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14393 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14394 $as_echo_n "(cached) " >&6
14395 else
14396 ac_wine_try_cflags_saved=$CFLAGS
14397 CFLAGS="$CFLAGS -gstrict-dwarf"
14398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14399 /* end confdefs.h. */
14400 int main(int argc, char **argv) { return 0; }
14401 _ACEOF
14402 if ac_fn_c_try_link "$LINENO"; then :
14403 ac_cv_cflags__gstrict_dwarf=yes
14404 else
14405 ac_cv_cflags__gstrict_dwarf=no
14407 rm -f core conftest.err conftest.$ac_objext \
14408 conftest$ac_exeext conftest.$ac_ext
14409 CFLAGS=$ac_wine_try_cflags_saved
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14412 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14413 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14414 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14415 fi ;;
14416 esac
14417 done
14419 case $host_cpu in
14420 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14421 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14422 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14423 $as_echo_n "(cached) " >&6
14424 else
14425 ac_wine_try_cflags_saved=$CFLAGS
14426 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14428 /* end confdefs.h. */
14429 int main(int argc, char **argv) { return 0; }
14430 _ACEOF
14431 if ac_fn_c_try_link "$LINENO"; then :
14432 ac_cv_cflags__fno_omit_frame_pointer=yes
14433 else
14434 ac_cv_cflags__fno_omit_frame_pointer=no
14436 rm -f core conftest.err conftest.$ac_objext \
14437 conftest$ac_exeext conftest.$ac_ext
14438 CFLAGS=$ac_wine_try_cflags_saved
14440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14441 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14442 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14443 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14444 fi ;;
14445 esac
14447 case $host in
14448 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14449 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14450 if ${ac_cv_cflags__Wno_format+:} false; then :
14451 $as_echo_n "(cached) " >&6
14452 else
14453 ac_wine_try_cflags_saved=$CFLAGS
14454 CFLAGS="$CFLAGS -Wno-format"
14455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14456 /* end confdefs.h. */
14457 int main(int argc, char **argv) { return 0; }
14458 _ACEOF
14459 if ac_fn_c_try_link "$LINENO"; then :
14460 ac_cv_cflags__Wno_format=yes
14461 else
14462 ac_cv_cflags__Wno_format=no
14464 rm -f core conftest.err conftest.$ac_objext \
14465 conftest$ac_exeext conftest.$ac_ext
14466 CFLAGS=$ac_wine_try_cflags_saved
14468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14469 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14470 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14471 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14472 fi ;;
14473 esac
14475 if test "x$enable_maintainer_mode" = "xyes"
14476 then
14477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14478 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14479 if ${ac_cv_cflags__Werror+:} false; then :
14480 $as_echo_n "(cached) " >&6
14481 else
14482 ac_wine_try_cflags_saved=$CFLAGS
14483 CFLAGS="$CFLAGS -Werror"
14484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14485 /* end confdefs.h. */
14486 int main(int argc, char **argv) { return 0; }
14487 _ACEOF
14488 if ac_fn_c_try_link "$LINENO"; then :
14489 ac_cv_cflags__Werror=yes
14490 else
14491 ac_cv_cflags__Werror=no
14493 rm -f core conftest.err conftest.$ac_objext \
14494 conftest$ac_exeext conftest.$ac_ext
14495 CFLAGS=$ac_wine_try_cflags_saved
14497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14498 $as_echo "$ac_cv_cflags__Werror" >&6; }
14499 if test "x$ac_cv_cflags__Werror" = xyes; then :
14500 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14504 saved_CFLAGS="$CFLAGS"
14505 CFLAGS="$CFLAGS -Werror"
14506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14507 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14508 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14509 $as_echo_n "(cached) " >&6
14510 else
14511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14512 /* end confdefs.h. */
14513 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14515 main ()
14519 return 0;
14521 _ACEOF
14522 if ac_fn_c_try_compile "$LINENO"; then :
14523 ac_cv_have_ms_hook_prologue="yes"
14524 else
14525 ac_cv_have_ms_hook_prologue="no"
14527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14530 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14531 CFLAGS="$saved_CFLAGS"
14532 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14533 then
14535 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14537 else
14538 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14545 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14546 if ${ac_cv_c_fortify_enabled+:} false; then :
14547 $as_echo_n "(cached) " >&6
14548 else
14549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14550 /* end confdefs.h. */
14551 #include <string.h>
14553 main ()
14555 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14556 #error Fortify enabled
14557 #endif
14559 return 0;
14561 _ACEOF
14562 if ac_fn_c_try_compile "$LINENO"; then :
14563 ac_cv_c_fortify_enabled=no
14564 else
14565 ac_cv_c_fortify_enabled=yes
14567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14570 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14571 if test "$ac_cv_c_fortify_enabled" = yes
14572 then
14573 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14578 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14579 if ${ac_cv_c_extern_prefix+:} false; then :
14580 $as_echo_n "(cached) " >&6
14581 else
14582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14583 /* end confdefs.h. */
14584 extern int ac_test;
14586 main ()
14588 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14590 return 0;
14592 _ACEOF
14593 if ac_fn_c_try_link "$LINENO"; then :
14594 ac_cv_c_extern_prefix="yes"
14595 else
14596 ac_cv_c_extern_prefix="no"
14598 rm -f core conftest.err conftest.$ac_objext \
14599 conftest$ac_exeext conftest.$ac_ext
14601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14602 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14604 case $host_cpu in
14605 *i[3456789]86*)
14606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14607 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14608 if ${ac_cv_c_stdcall_suffix+:} false; then :
14609 $as_echo_n "(cached) " >&6
14610 else
14611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14612 /* end confdefs.h. */
14613 #ifndef _MSC_VER
14614 #define __stdcall __attribute__((__stdcall__))
14615 #endif
14616 int __stdcall ac_test(int i) { return i; }
14618 main ()
14620 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14622 return 0;
14624 _ACEOF
14625 if ac_fn_c_try_link "$LINENO"; then :
14626 ac_cv_c_stdcall_suffix="yes"
14627 else
14628 ac_cv_c_stdcall_suffix="no"
14630 rm -f core conftest.err conftest.$ac_objext \
14631 conftest$ac_exeext conftest.$ac_ext
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14634 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14635 *) ac_cv_c_stdcall_suffix="no" ;;
14636 esac
14639 if test "$ac_cv_c_extern_prefix" = "yes"
14640 then
14641 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14643 asm_name_prefix="_"
14644 else
14645 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14647 asm_name_prefix=""
14651 if test "$ac_cv_c_stdcall_suffix" = "yes"
14652 then
14653 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14655 else
14656 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14662 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14663 if ${ac_cv_asm_func_def+:} false; then :
14664 $as_echo_n "(cached) " >&6
14665 else
14666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14667 /* end confdefs.h. */
14670 main ()
14672 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14674 return 0;
14676 _ACEOF
14677 if ac_fn_c_try_link "$LINENO"; then :
14678 ac_cv_asm_func_def=".def"
14679 else
14680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14681 /* end confdefs.h. */
14684 main ()
14686 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14688 return 0;
14690 _ACEOF
14691 if ac_fn_c_try_link "$LINENO"; then :
14692 ac_cv_asm_func_def=".type @function"
14693 else
14694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14695 /* end confdefs.h. */
14698 main ()
14700 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14702 return 0;
14704 _ACEOF
14705 if ac_fn_c_try_link "$LINENO"; then :
14706 ac_cv_asm_func_def=".type 2"
14707 else
14708 ac_cv_asm_func_def="unknown"
14710 rm -f core conftest.err conftest.$ac_objext \
14711 conftest$ac_exeext conftest.$ac_ext
14713 rm -f core conftest.err conftest.$ac_objext \
14714 conftest$ac_exeext conftest.$ac_ext
14716 rm -f core conftest.err conftest.$ac_objext \
14717 conftest$ac_exeext conftest.$ac_ext
14719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14720 $as_echo "$ac_cv_asm_func_def" >&6; }
14723 case "$ac_cv_asm_func_def" in
14724 ".def")
14725 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14727 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14728 ".type @function")
14729 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14731 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14732 ".type 2")
14733 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14735 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14737 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14739 asm_func_header="" ;;
14740 esac
14742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14743 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14744 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14745 $as_echo_n "(cached) " >&6
14746 else
14747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14748 /* end confdefs.h. */
14749 asm(".text\n\t.long 0");
14751 main ()
14755 return 0;
14757 _ACEOF
14758 if ac_fn_c_try_compile "$LINENO"; then :
14759 ac_cv_c_asm_outside_funcs="yes"
14760 else
14761 ac_cv_c_asm_outside_funcs="no"
14763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14766 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14769 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14770 if ${ac_cv_c_dot_previous+:} false; then :
14771 $as_echo_n "(cached) " >&6
14772 else
14773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14774 /* end confdefs.h. */
14777 main ()
14779 asm(".text\nac_test:\t.long 0\n\t.previous");
14781 return 0;
14783 _ACEOF
14784 if ac_fn_c_try_link "$LINENO"; then :
14785 ac_cv_c_dot_previous="yes"
14786 else
14787 ac_cv_c_dot_previous="no"
14789 rm -f core conftest.err conftest.$ac_objext \
14790 conftest$ac_exeext conftest.$ac_ext
14792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14793 $as_echo "$ac_cv_c_dot_previous" >&6; }
14795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14796 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14797 if ${ac_cv_c_cfi_support+:} false; then :
14798 $as_echo_n "(cached) " >&6
14799 else
14800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14801 /* end confdefs.h. */
14802 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14804 main ()
14808 return 0;
14810 _ACEOF
14811 if ac_fn_c_try_compile "$LINENO"; then :
14812 ac_cv_c_cfi_support="yes"
14813 else
14814 ac_cv_c_cfi_support="no"
14816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14819 $as_echo "$ac_cv_c_cfi_support" >&6; }
14821 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14822 asm_func_trailer=""
14823 if test "$ac_cv_c_dot_previous" = "yes"
14824 then
14825 asm_func_trailer="\\n\\t.previous"
14827 if test "$ac_cv_c_cfi_support" = "yes"
14828 then
14829 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14830 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14832 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14834 UNWINDFLAGS=-fasynchronous-unwind-tables
14836 else
14837 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14839 if test "x$enable_win64" = "xyes"
14840 then
14841 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
14845 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14848 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14849 then
14850 cat >>confdefs.h <<_ACEOF
14851 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14852 _ACEOF
14854 else
14855 cat >>confdefs.h <<_ACEOF
14856 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14857 _ACEOF
14861 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14864 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14868 case $build_os in
14869 cygwin*|mingw32*) TOOLSEXT=".exe"
14871 esac
14873 case $host_os in
14874 linux*)
14875 case $host_cpu in
14876 *i[3456789]86*|x86_64*)
14877 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14878 loader_programs="$loader_programs $wine_binary-preloader"
14879 as_fn_append LOADER_RULES "
14880 $wine_binary-preloader: preloader.o
14881 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14883 install install-lib:: $wine_binary-preloader
14884 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14886 uninstall::
14887 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14889 preloader_EXTRADEFS = $BUILTINFLAG
14890 " ;;
14891 esac
14893 esac
14894 as_fn_append LOADER_RULES "
14895 PROGRAMS = $loader_programs
14899 ac_save_CFLAGS="$CFLAGS"
14900 CFLAGS="$CFLAGS $BUILTINFLAG"
14901 for ac_func in \
14902 __res_get_state \
14903 __res_getservers \
14904 _finite \
14905 _isnan \
14906 _pclose \
14907 _popen \
14908 _snprintf \
14909 _spawnvp \
14910 _strdup \
14911 _stricmp \
14912 _strnicmp \
14913 _strtoi64 \
14914 _strtoui64 \
14915 _vsnprintf \
14916 asctime_r \
14917 chsize \
14918 dlopen \
14919 epoll_create \
14920 ffs \
14921 finitef \
14922 fnmatch \
14923 fork \
14924 fpclass \
14925 fstatfs \
14926 fstatvfs \
14927 ftruncate \
14928 futimens \
14929 futimes \
14930 futimesat \
14931 getattrlist \
14932 getdirentries \
14933 getopt_long_only \
14934 getpwuid \
14935 gettimeofday \
14936 getuid \
14937 if_nameindex \
14938 isnanf \
14939 kqueue \
14940 lstat \
14941 memmove \
14942 mmap \
14943 pclose \
14944 pipe2 \
14945 poll \
14946 popen \
14947 port_create \
14948 prctl \
14949 pread \
14950 proc_pidinfo \
14951 pwrite \
14952 readdir \
14953 readlink \
14954 sched_yield \
14955 select \
14956 setproctitle \
14957 setrlimit \
14958 settimeofday \
14959 sigaltstack \
14960 sigprocmask \
14961 snprintf \
14962 statfs \
14963 statvfs \
14964 strcasecmp \
14965 strdup \
14966 strerror \
14967 strncasecmp \
14968 strtold \
14969 strtoll \
14970 strtoull \
14971 symlink \
14972 tcdrain \
14973 thr_kill2 \
14974 timegm \
14975 usleep \
14976 vsnprintf
14978 do :
14979 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14980 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14981 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14982 cat >>confdefs.h <<_ACEOF
14983 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14984 _ACEOF
14987 done
14989 CFLAGS="$ac_save_CFLAGS"
14991 if test "$ac_cv_func_dlopen" = no
14992 then
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14994 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14995 if ${ac_cv_lib_dl_dlopen+:} false; then :
14996 $as_echo_n "(cached) " >&6
14997 else
14998 ac_check_lib_save_LIBS=$LIBS
14999 LIBS="-ldl $LIBS"
15000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15001 /* end confdefs.h. */
15003 /* Override any GCC internal prototype to avoid an error.
15004 Use char because int might match the return type of a GCC
15005 builtin and then its argument prototype would still apply. */
15006 #ifdef __cplusplus
15007 extern "C"
15008 #endif
15009 char dlopen ();
15011 main ()
15013 return dlopen ();
15015 return 0;
15017 _ACEOF
15018 if ac_fn_c_try_link "$LINENO"; then :
15019 ac_cv_lib_dl_dlopen=yes
15020 else
15021 ac_cv_lib_dl_dlopen=no
15023 rm -f core conftest.err conftest.$ac_objext \
15024 conftest$ac_exeext conftest.$ac_ext
15025 LIBS=$ac_check_lib_save_LIBS
15027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15028 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15029 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15030 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15031 DL_LIBS="-ldl"
15036 ac_wine_check_funcs_save_LIBS="$LIBS"
15037 LIBS="$LIBS $DL_LIBS"
15038 for ac_func in dladdr
15039 do :
15040 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15041 if test "x$ac_cv_func_dladdr" = xyes; then :
15042 cat >>confdefs.h <<_ACEOF
15043 #define HAVE_DLADDR 1
15044 _ACEOF
15047 done
15049 LIBS="$ac_wine_check_funcs_save_LIBS"
15051 if test "$ac_cv_func_poll" = no
15052 then
15053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15054 $as_echo_n "checking for poll in -lpoll... " >&6; }
15055 if ${ac_cv_lib_poll_poll+:} false; then :
15056 $as_echo_n "(cached) " >&6
15057 else
15058 ac_check_lib_save_LIBS=$LIBS
15059 LIBS="-lpoll $LIBS"
15060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15061 /* end confdefs.h. */
15063 /* Override any GCC internal prototype to avoid an error.
15064 Use char because int might match the return type of a GCC
15065 builtin and then its argument prototype would still apply. */
15066 #ifdef __cplusplus
15067 extern "C"
15068 #endif
15069 char poll ();
15071 main ()
15073 return poll ();
15075 return 0;
15077 _ACEOF
15078 if ac_fn_c_try_link "$LINENO"; then :
15079 ac_cv_lib_poll_poll=yes
15080 else
15081 ac_cv_lib_poll_poll=no
15083 rm -f core conftest.err conftest.$ac_objext \
15084 conftest$ac_exeext conftest.$ac_ext
15085 LIBS=$ac_check_lib_save_LIBS
15087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15088 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15089 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15090 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15091 POLL_LIBS="-lpoll"
15097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15098 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15099 if ${ac_cv_search_gethostbyname+:} false; then :
15100 $as_echo_n "(cached) " >&6
15101 else
15102 ac_func_search_save_LIBS=$LIBS
15103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15104 /* end confdefs.h. */
15106 /* Override any GCC internal prototype to avoid an error.
15107 Use char because int might match the return type of a GCC
15108 builtin and then its argument prototype would still apply. */
15109 #ifdef __cplusplus
15110 extern "C"
15111 #endif
15112 char gethostbyname ();
15114 main ()
15116 return gethostbyname ();
15118 return 0;
15120 _ACEOF
15121 for ac_lib in '' nsl; do
15122 if test -z "$ac_lib"; then
15123 ac_res="none required"
15124 else
15125 ac_res=-l$ac_lib
15126 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15128 if ac_fn_c_try_link "$LINENO"; then :
15129 ac_cv_search_gethostbyname=$ac_res
15131 rm -f core conftest.err conftest.$ac_objext \
15132 conftest$ac_exeext
15133 if ${ac_cv_search_gethostbyname+:} false; then :
15134 break
15136 done
15137 if ${ac_cv_search_gethostbyname+:} false; then :
15139 else
15140 ac_cv_search_gethostbyname=no
15142 rm conftest.$ac_ext
15143 LIBS=$ac_func_search_save_LIBS
15145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15146 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15147 ac_res=$ac_cv_search_gethostbyname
15148 if test "$ac_res" != no; then :
15149 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15155 $as_echo_n "checking for library containing connect... " >&6; }
15156 if ${ac_cv_search_connect+:} false; then :
15157 $as_echo_n "(cached) " >&6
15158 else
15159 ac_func_search_save_LIBS=$LIBS
15160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15161 /* end confdefs.h. */
15163 /* Override any GCC internal prototype to avoid an error.
15164 Use char because int might match the return type of a GCC
15165 builtin and then its argument prototype would still apply. */
15166 #ifdef __cplusplus
15167 extern "C"
15168 #endif
15169 char connect ();
15171 main ()
15173 return connect ();
15175 return 0;
15177 _ACEOF
15178 for ac_lib in '' socket; do
15179 if test -z "$ac_lib"; then
15180 ac_res="none required"
15181 else
15182 ac_res=-l$ac_lib
15183 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15185 if ac_fn_c_try_link "$LINENO"; then :
15186 ac_cv_search_connect=$ac_res
15188 rm -f core conftest.err conftest.$ac_objext \
15189 conftest$ac_exeext
15190 if ${ac_cv_search_connect+:} false; then :
15191 break
15193 done
15194 if ${ac_cv_search_connect+:} false; then :
15196 else
15197 ac_cv_search_connect=no
15199 rm conftest.$ac_ext
15200 LIBS=$ac_func_search_save_LIBS
15202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15203 $as_echo "$ac_cv_search_connect" >&6; }
15204 ac_res=$ac_cv_search_connect
15205 if test "$ac_res" != no; then :
15206 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15212 $as_echo_n "checking for library containing inet_aton... " >&6; }
15213 if ${ac_cv_search_inet_aton+:} false; then :
15214 $as_echo_n "(cached) " >&6
15215 else
15216 ac_func_search_save_LIBS=$LIBS
15217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15218 /* end confdefs.h. */
15220 /* Override any GCC internal prototype to avoid an error.
15221 Use char because int might match the return type of a GCC
15222 builtin and then its argument prototype would still apply. */
15223 #ifdef __cplusplus
15224 extern "C"
15225 #endif
15226 char inet_aton ();
15228 main ()
15230 return inet_aton ();
15232 return 0;
15234 _ACEOF
15235 for ac_lib in '' resolv; do
15236 if test -z "$ac_lib"; then
15237 ac_res="none required"
15238 else
15239 ac_res=-l$ac_lib
15240 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15242 if ac_fn_c_try_link "$LINENO"; then :
15243 ac_cv_search_inet_aton=$ac_res
15245 rm -f core conftest.err conftest.$ac_objext \
15246 conftest$ac_exeext
15247 if ${ac_cv_search_inet_aton+:} false; then :
15248 break
15250 done
15251 if ${ac_cv_search_inet_aton+:} false; then :
15253 else
15254 ac_cv_search_inet_aton=no
15256 rm conftest.$ac_ext
15257 LIBS=$ac_func_search_save_LIBS
15259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15260 $as_echo "$ac_cv_search_inet_aton" >&6; }
15261 ac_res=$ac_cv_search_inet_aton
15262 if test "$ac_res" != no; then :
15263 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15268 for ac_func in \
15269 getaddrinfo \
15270 getnameinfo \
15271 getnetbyname \
15272 getprotobyname \
15273 getprotobynumber \
15274 getservbyport \
15275 inet_addr \
15276 inet_network \
15277 inet_ntop \
15278 inet_pton \
15279 sendmsg \
15280 socketpair \
15282 do :
15283 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15284 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15285 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15286 cat >>confdefs.h <<_ACEOF
15287 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15288 _ACEOF
15291 done
15294 ac_save_LIBS=$LIBS
15295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15296 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15297 if ${ac_cv_search_clock_gettime+:} false; then :
15298 $as_echo_n "(cached) " >&6
15299 else
15300 ac_func_search_save_LIBS=$LIBS
15301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15302 /* end confdefs.h. */
15304 /* Override any GCC internal prototype to avoid an error.
15305 Use char because int might match the return type of a GCC
15306 builtin and then its argument prototype would still apply. */
15307 #ifdef __cplusplus
15308 extern "C"
15309 #endif
15310 char clock_gettime ();
15312 main ()
15314 return clock_gettime ();
15316 return 0;
15318 _ACEOF
15319 for ac_lib in '' rt; do
15320 if test -z "$ac_lib"; then
15321 ac_res="none required"
15322 else
15323 ac_res=-l$ac_lib
15324 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15326 if ac_fn_c_try_link "$LINENO"; then :
15327 ac_cv_search_clock_gettime=$ac_res
15329 rm -f core conftest.err conftest.$ac_objext \
15330 conftest$ac_exeext
15331 if ${ac_cv_search_clock_gettime+:} false; then :
15332 break
15334 done
15335 if ${ac_cv_search_clock_gettime+:} false; then :
15337 else
15338 ac_cv_search_clock_gettime=no
15340 rm conftest.$ac_ext
15341 LIBS=$ac_func_search_save_LIBS
15343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15344 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15345 ac_res=$ac_cv_search_clock_gettime
15346 if test "$ac_res" != no; then :
15347 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15349 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15351 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15355 LIBS=$ac_save_LIBS
15357 LDAP_LIBS=""
15359 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15360 then
15361 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15363 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15365 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15366 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15367 $as_echo_n "(cached) " >&6
15368 else
15369 ac_check_lib_save_LIBS=$LIBS
15370 LIBS="-lldap_r $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 ldap_initialize ();
15382 main ()
15384 return ldap_initialize ();
15386 return 0;
15388 _ACEOF
15389 if ac_fn_c_try_link "$LINENO"; then :
15390 ac_cv_lib_ldap_r_ldap_initialize=yes
15391 else
15392 ac_cv_lib_ldap_r_ldap_initialize=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_ldap_r_ldap_initialize" >&5
15399 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15400 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15402 $as_echo_n "checking for ber_init in -llber... " >&6; }
15403 if ${ac_cv_lib_lber_ber_init+:} false; then :
15404 $as_echo_n "(cached) " >&6
15405 else
15406 ac_check_lib_save_LIBS=$LIBS
15407 LIBS="-llber $PTHREAD_LIBS $LIBS"
15408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15409 /* end confdefs.h. */
15411 /* Override any GCC internal prototype to avoid an error.
15412 Use char because int might match the return type of a GCC
15413 builtin and then its argument prototype would still apply. */
15414 #ifdef __cplusplus
15415 extern "C"
15416 #endif
15417 char ber_init ();
15419 main ()
15421 return ber_init ();
15423 return 0;
15425 _ACEOF
15426 if ac_fn_c_try_link "$LINENO"; then :
15427 ac_cv_lib_lber_ber_init=yes
15428 else
15429 ac_cv_lib_lber_ber_init=no
15431 rm -f core conftest.err conftest.$ac_objext \
15432 conftest$ac_exeext conftest.$ac_ext
15433 LIBS=$ac_check_lib_save_LIBS
15435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15436 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15437 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15439 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15441 LDAP_LIBS="-lldap_r -llber"
15448 ac_wine_check_funcs_save_LIBS="$LIBS"
15449 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15450 for ac_func in \
15451 ldap_count_references \
15452 ldap_first_reference \
15453 ldap_next_reference \
15454 ldap_parse_reference \
15455 ldap_parse_sort_control \
15456 ldap_parse_sortresponse_control \
15457 ldap_parse_vlv_control \
15458 ldap_parse_vlvresponse_control
15459 do :
15460 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15461 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15462 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15463 cat >>confdefs.h <<_ACEOF
15464 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15465 _ACEOF
15468 done
15470 LIBS="$ac_wine_check_funcs_save_LIBS"
15472 if test "x$LDAP_LIBS" = "x"; then :
15473 case "x$with_ldap" in
15474 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15475 xno) ;;
15476 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15477 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15478 esac
15481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15482 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15483 if ${wine_cv_one_arg_mkdir+:} false; then :
15484 $as_echo_n "(cached) " >&6
15485 else
15486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15487 /* end confdefs.h. */
15488 #include <sys/stat.h>
15490 main ()
15492 mkdir("foo");
15494 return 0;
15496 _ACEOF
15497 if ac_fn_c_try_compile "$LINENO"; then :
15498 wine_cv_one_arg_mkdir=yes
15499 else
15500 wine_cv_one_arg_mkdir=no
15502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15505 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15506 if test "$wine_cv_one_arg_mkdir" = "yes"
15507 then
15509 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15514 $as_echo_n "checking for sched_setaffinity... " >&6; }
15515 if ${wine_cv_have_sched_setaffinity+:} false; then :
15516 $as_echo_n "(cached) " >&6
15517 else
15518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15519 /* end confdefs.h. */
15520 #define _GNU_SOURCE
15521 #include <sched.h>
15523 main ()
15525 sched_setaffinity(0, 0, 0);
15527 return 0;
15529 _ACEOF
15530 if ac_fn_c_try_link "$LINENO"; then :
15531 wine_cv_have_sched_setaffinity=yes
15532 else
15533 wine_cv_have_sched_setaffinity=no
15535 rm -f core conftest.err conftest.$ac_objext \
15536 conftest$ac_exeext conftest.$ac_ext
15538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15539 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15540 if test "$wine_cv_have_sched_setaffinity" = "yes"
15541 then
15543 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15548 $as_echo_n "checking for fallocate... " >&6; }
15549 if ${wine_cv_have_fallocate+:} false; then :
15550 $as_echo_n "(cached) " >&6
15551 else
15552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15553 /* end confdefs.h. */
15554 #define _GNU_SOURCE
15555 #include <fcntl.h>
15557 main ()
15559 fallocate(-1, 0, 0, 0);
15561 return 0;
15563 _ACEOF
15564 if ac_fn_c_try_link "$LINENO"; then :
15565 wine_cv_have_fallocate=yes
15566 else
15567 wine_cv_have_fallocate=no
15569 rm -f core conftest.err conftest.$ac_objext \
15570 conftest$ac_exeext conftest.$ac_ext
15572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15573 $as_echo "$wine_cv_have_fallocate" >&6; }
15574 if test "$wine_cv_have_fallocate" = "yes"
15575 then
15577 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15583 $as_echo_n "checking for inline... " >&6; }
15584 if ${ac_cv_c_inline+:} false; then :
15585 $as_echo_n "(cached) " >&6
15586 else
15587 ac_cv_c_inline=no
15588 for ac_kw in inline __inline__ __inline; do
15589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15590 /* end confdefs.h. */
15591 #ifndef __cplusplus
15592 typedef int foo_t;
15593 static $ac_kw foo_t static_foo () {return 0; }
15594 $ac_kw foo_t foo () {return 0; }
15595 #endif
15597 _ACEOF
15598 if ac_fn_c_try_compile "$LINENO"; then :
15599 ac_cv_c_inline=$ac_kw
15601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15602 test "$ac_cv_c_inline" != no && break
15603 done
15606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15607 $as_echo "$ac_cv_c_inline" >&6; }
15609 case $ac_cv_c_inline in
15610 inline | yes) ;;
15612 case $ac_cv_c_inline in
15613 no) ac_val=;;
15614 *) ac_val=$ac_cv_c_inline;;
15615 esac
15616 cat >>confdefs.h <<_ACEOF
15617 #ifndef __cplusplus
15618 #define inline $ac_val
15619 #endif
15620 _ACEOF
15622 esac
15624 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15625 if test "x$ac_cv_type_mode_t" = xyes; then :
15627 cat >>confdefs.h <<_ACEOF
15628 #define HAVE_MODE_T 1
15629 _ACEOF
15633 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15634 if test "x$ac_cv_type_off_t" = xyes; then :
15636 cat >>confdefs.h <<_ACEOF
15637 #define HAVE_OFF_T 1
15638 _ACEOF
15642 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15643 if test "x$ac_cv_type_pid_t" = xyes; then :
15645 cat >>confdefs.h <<_ACEOF
15646 #define HAVE_PID_T 1
15647 _ACEOF
15651 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15652 if test "x$ac_cv_type_size_t" = xyes; then :
15654 cat >>confdefs.h <<_ACEOF
15655 #define HAVE_SIZE_T 1
15656 _ACEOF
15660 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15661 if test "x$ac_cv_type_ssize_t" = xyes; then :
15663 cat >>confdefs.h <<_ACEOF
15664 #define HAVE_SSIZE_T 1
15665 _ACEOF
15669 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15670 if test "x$ac_cv_type_long_long" = xyes; then :
15672 cat >>confdefs.h <<_ACEOF
15673 #define HAVE_LONG_LONG 1
15674 _ACEOF
15678 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15679 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15681 cat >>confdefs.h <<_ACEOF
15682 #define HAVE_FSBLKCNT_T 1
15683 _ACEOF
15687 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15688 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15690 cat >>confdefs.h <<_ACEOF
15691 #define HAVE_FSFILCNT_T 1
15692 _ACEOF
15697 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15698 #include <signal.h>
15700 if test "x$ac_cv_type_sigset_t" = xyes; then :
15702 cat >>confdefs.h <<_ACEOF
15703 #define HAVE_SIGSET_T 1
15704 _ACEOF
15709 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15711 if test "x$ac_cv_type_request_sense" = xyes; then :
15713 cat >>confdefs.h <<_ACEOF
15714 #define HAVE_REQUEST_SENSE 1
15715 _ACEOF
15721 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15722 #ifdef HAVE_SYS_SOCKET_H
15723 #include <sys/socket.h>
15724 #endif
15725 #ifdef HAVE_SYS_SOCKETVAR_H
15726 #include <sys/socketvar.h>
15727 #endif
15728 #ifdef HAVE_NET_ROUTE_H
15729 #include <net/route.h>
15730 #endif
15731 #ifdef HAVE_NETINET_IN_H
15732 #include <netinet/in.h>
15733 #endif
15734 #ifdef HAVE_NETINET_IN_SYSTM_H
15735 #include <netinet/in_systm.h>
15736 #endif
15737 #ifdef HAVE_NETINET_IP_H
15738 #include <netinet/ip.h>
15739 #endif
15740 #ifdef HAVE_NETINET_IN_PCB_H
15741 #include <netinet/in_pcb.h>
15742 #endif
15744 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15746 cat >>confdefs.h <<_ACEOF
15747 #define HAVE_STRUCT_XINPGEN 1
15748 _ACEOF
15754 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15755 #include <link.h>
15756 #endif
15757 #ifdef HAVE_SYS_LINK_H
15758 #include <sys/link.h>
15759 #endif
15761 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15763 cat >>confdefs.h <<_ACEOF
15764 #define HAVE_STRUCT_R_DEBUG 1
15765 _ACEOF
15769 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15770 #include <link.h>
15771 #endif
15772 #ifdef HAVE_SYS_LINK_H
15773 #include <sys/link.h>
15774 #endif
15776 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15778 cat >>confdefs.h <<_ACEOF
15779 #define HAVE_STRUCT_LINK_MAP 1
15780 _ACEOF
15786 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15787 #include <linux/input.h>
15788 #endif
15790 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15792 cat >>confdefs.h <<_ACEOF
15793 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15794 _ACEOF
15800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15801 $as_echo_n "checking for sigaddset... " >&6; }
15802 if ${wine_cv_have_sigaddset+:} false; then :
15803 $as_echo_n "(cached) " >&6
15804 else
15805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15806 /* end confdefs.h. */
15807 #include <signal.h>
15809 main ()
15811 sigset_t set; sigaddset(&set,SIGTERM);
15813 return 0;
15815 _ACEOF
15816 if ac_fn_c_try_link "$LINENO"; then :
15817 wine_cv_have_sigaddset=yes
15818 else
15819 wine_cv_have_sigaddset=no
15821 rm -f core conftest.err conftest.$ac_objext \
15822 conftest$ac_exeext conftest.$ac_ext
15824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15825 $as_echo "$wine_cv_have_sigaddset" >&6; }
15826 if test "$wine_cv_have_sigaddset" = "yes"
15827 then
15829 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15835 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15836 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15837 $as_echo_n "(cached) " >&6
15838 else
15839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15840 /* end confdefs.h. */
15841 #include <netdb.h>
15843 main ()
15846 char *name=0;
15847 struct hostent he;
15848 struct hostent *result;
15849 char *buf=0;
15850 int bufsize=0;
15851 int errnr;
15852 char *addr=0;
15853 int addrlen=0;
15854 int addrtype=0;
15855 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15856 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15859 return 0;
15861 _ACEOF
15862 if ac_fn_c_try_link "$LINENO"; then :
15863 wine_cv_linux_gethostbyname_r_6=yes
15864 else
15865 wine_cv_linux_gethostbyname_r_6=no
15868 rm -f core conftest.err conftest.$ac_objext \
15869 conftest$ac_exeext conftest.$ac_ext
15872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15873 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15874 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15875 then
15877 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15881 if test "$ac_cv_header_linux_joystick_h" = "yes"
15882 then
15883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15884 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15885 if ${wine_cv_linux_joystick_22_api+:} false; then :
15886 $as_echo_n "(cached) " >&6
15887 else
15888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15889 /* end confdefs.h. */
15891 #include <sys/ioctl.h>
15892 #include <sys/types.h>
15893 #include <linux/joystick.h>
15895 struct js_event blub;
15896 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15897 #error "no 2.2 header"
15898 #endif
15901 main ()
15903 /*empty*/
15905 return 0;
15907 _ACEOF
15908 if ac_fn_c_try_compile "$LINENO"; then :
15909 wine_cv_linux_joystick_22_api=yes
15910 else
15911 wine_cv_linux_joystick_22_api=no
15913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15917 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15918 if test "$wine_cv_linux_joystick_22_api" = "yes"
15919 then
15921 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15927 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15928 #ifdef HAVE_SYS_PARAM_H
15929 # include <sys/param.h>
15930 #endif
15931 #ifdef HAVE_SYS_MOUNT_H
15932 # include <sys/mount.h>
15933 #endif
15934 #ifdef HAVE_SYS_VFS_H
15935 # include <sys/vfs.h>
15936 #endif
15937 #ifdef HAVE_SYS_STATFS_H
15938 # include <sys/statfs.h>
15939 #endif
15941 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15943 cat >>confdefs.h <<_ACEOF
15944 #define HAVE_STRUCT_STATFS_F_BFREE 1
15945 _ACEOF
15949 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15950 #ifdef HAVE_SYS_PARAM_H
15951 # include <sys/param.h>
15952 #endif
15953 #ifdef HAVE_SYS_MOUNT_H
15954 # include <sys/mount.h>
15955 #endif
15956 #ifdef HAVE_SYS_VFS_H
15957 # include <sys/vfs.h>
15958 #endif
15959 #ifdef HAVE_SYS_STATFS_H
15960 # include <sys/statfs.h>
15961 #endif
15963 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15965 cat >>confdefs.h <<_ACEOF
15966 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15967 _ACEOF
15971 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15972 #ifdef HAVE_SYS_PARAM_H
15973 # include <sys/param.h>
15974 #endif
15975 #ifdef HAVE_SYS_MOUNT_H
15976 # include <sys/mount.h>
15977 #endif
15978 #ifdef HAVE_SYS_VFS_H
15979 # include <sys/vfs.h>
15980 #endif
15981 #ifdef HAVE_SYS_STATFS_H
15982 # include <sys/statfs.h>
15983 #endif
15985 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15987 cat >>confdefs.h <<_ACEOF
15988 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15989 _ACEOF
15993 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15994 #ifdef HAVE_SYS_PARAM_H
15995 # include <sys/param.h>
15996 #endif
15997 #ifdef HAVE_SYS_MOUNT_H
15998 # include <sys/mount.h>
15999 #endif
16000 #ifdef HAVE_SYS_VFS_H
16001 # include <sys/vfs.h>
16002 #endif
16003 #ifdef HAVE_SYS_STATFS_H
16004 # include <sys/statfs.h>
16005 #endif
16007 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16009 cat >>confdefs.h <<_ACEOF
16010 #define HAVE_STRUCT_STATFS_F_FFREE 1
16011 _ACEOF
16015 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16016 #ifdef HAVE_SYS_PARAM_H
16017 # include <sys/param.h>
16018 #endif
16019 #ifdef HAVE_SYS_MOUNT_H
16020 # include <sys/mount.h>
16021 #endif
16022 #ifdef HAVE_SYS_VFS_H
16023 # include <sys/vfs.h>
16024 #endif
16025 #ifdef HAVE_SYS_STATFS_H
16026 # include <sys/statfs.h>
16027 #endif
16029 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16031 cat >>confdefs.h <<_ACEOF
16032 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16033 _ACEOF
16037 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16038 #ifdef HAVE_SYS_PARAM_H
16039 # include <sys/param.h>
16040 #endif
16041 #ifdef HAVE_SYS_MOUNT_H
16042 # include <sys/mount.h>
16043 #endif
16044 #ifdef HAVE_SYS_VFS_H
16045 # include <sys/vfs.h>
16046 #endif
16047 #ifdef HAVE_SYS_STATFS_H
16048 # include <sys/statfs.h>
16049 #endif
16051 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16053 cat >>confdefs.h <<_ACEOF
16054 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16055 _ACEOF
16061 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16062 #include <sys/statvfs.h>
16063 #endif
16065 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16067 cat >>confdefs.h <<_ACEOF
16068 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16069 _ACEOF
16075 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16076 #include <dirent.h>
16077 #endif
16079 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16081 cat >>confdefs.h <<_ACEOF
16082 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16083 _ACEOF
16089 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16090 #ifdef HAVE_SYS_SOCKET_H
16091 # include <sys/socket.h>
16092 #endif
16093 #ifdef HAVE_SYS_UN_H
16094 # include <sys/un.h>
16095 #endif
16097 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16099 cat >>confdefs.h <<_ACEOF
16100 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16101 _ACEOF
16105 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16106 #ifdef HAVE_SYS_SOCKET_H
16107 # include <sys/socket.h>
16108 #endif
16109 #ifdef HAVE_SYS_UN_H
16110 # include <sys/un.h>
16111 #endif
16113 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16115 cat >>confdefs.h <<_ACEOF
16116 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16117 _ACEOF
16121 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16122 #ifdef HAVE_SYS_SOCKET_H
16123 # include <sys/socket.h>
16124 #endif
16125 #ifdef HAVE_SYS_UN_H
16126 # include <sys/un.h>
16127 #endif
16129 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16131 cat >>confdefs.h <<_ACEOF
16132 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16133 _ACEOF
16139 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16140 #ifdef HAVE_SCSI_SG_H
16141 #include <scsi/sg.h>
16142 #endif
16144 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16146 cat >>confdefs.h <<_ACEOF
16147 #define HAVE_SCSIREQ_T_CMD 1
16148 _ACEOF
16152 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>
16153 #ifdef HAVE_SCSI_SG_H
16154 #include <scsi/sg.h>
16155 #endif
16157 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16159 cat >>confdefs.h <<_ACEOF
16160 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16161 _ACEOF
16167 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16169 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16171 cat >>confdefs.h <<_ACEOF
16172 #define HAVE_SIGINFO_T_SI_FD 1
16173 _ACEOF
16179 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16180 #ifdef HAVE_SYS_MTIO_H
16181 #include <sys/mtio.h>
16182 #endif
16184 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16186 cat >>confdefs.h <<_ACEOF
16187 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16188 _ACEOF
16192 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16193 #ifdef HAVE_SYS_MTIO_H
16194 #include <sys/mtio.h>
16195 #endif
16197 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16199 cat >>confdefs.h <<_ACEOF
16200 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16201 _ACEOF
16205 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16206 #ifdef HAVE_SYS_MTIO_H
16207 #include <sys/mtio.h>
16208 #endif
16210 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16212 cat >>confdefs.h <<_ACEOF
16213 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16214 _ACEOF
16220 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16221 #include <getopt.h>
16222 #endif
16224 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16226 cat >>confdefs.h <<_ACEOF
16227 #define HAVE_STRUCT_OPTION_NAME 1
16228 _ACEOF
16234 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16235 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16237 cat >>confdefs.h <<_ACEOF
16238 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16239 _ACEOF
16243 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16244 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16246 cat >>confdefs.h <<_ACEOF
16247 #define HAVE_STRUCT_STAT_ST_MTIM 1
16248 _ACEOF
16252 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16253 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16255 cat >>confdefs.h <<_ACEOF
16256 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16257 _ACEOF
16261 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16262 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16264 cat >>confdefs.h <<_ACEOF
16265 #define HAVE_STRUCT_STAT_ST_CTIM 1
16266 _ACEOF
16270 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16271 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16273 cat >>confdefs.h <<_ACEOF
16274 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16275 _ACEOF
16279 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16280 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16282 cat >>confdefs.h <<_ACEOF
16283 #define HAVE_STRUCT_STAT_ST_ATIM 1
16284 _ACEOF
16288 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16289 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16291 cat >>confdefs.h <<_ACEOF
16292 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16293 _ACEOF
16297 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16298 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16300 cat >>confdefs.h <<_ACEOF
16301 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16302 _ACEOF
16306 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16307 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16309 cat >>confdefs.h <<_ACEOF
16310 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16311 _ACEOF
16315 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16316 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16318 cat >>confdefs.h <<_ACEOF
16319 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16320 _ACEOF
16324 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16325 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16327 cat >>confdefs.h <<_ACEOF
16328 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16329 _ACEOF
16333 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16334 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16336 cat >>confdefs.h <<_ACEOF
16337 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16338 _ACEOF
16344 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
16345 #include <sys/types.h>
16346 #endif
16347 #ifdef HAVE_NETINET_IN_H
16348 #include <netinet/in.h>
16349 #endif
16351 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16353 cat >>confdefs.h <<_ACEOF
16354 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16355 _ACEOF
16361 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16362 #include <resolv.h>
16363 #endif
16365 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16367 cat >>confdefs.h <<_ACEOF
16368 #define HAVE_STRUCT___RES_STATE 1
16369 _ACEOF
16375 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
16376 #include <resolv.h>
16377 #endif
16379 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16381 cat >>confdefs.h <<_ACEOF
16382 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16383 _ACEOF
16389 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16390 #include <sys/types.h>
16391 #endif
16392 #ifdef HAVE_NETINET_IN_H
16393 # include <netinet/in.h>
16394 #endif
16395 #ifdef HAVE_ARPA_NAMESER_H
16396 # include <arpa/nameser.h>
16397 #endif
16399 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16401 cat >>confdefs.h <<_ACEOF
16402 #define HAVE_NS_MSG__MSG_PTR 1
16403 _ACEOF
16409 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16410 #include <sys/types.h>
16411 #endif
16412 #ifdef HAVE_NETINET_IP_H
16413 #include <netinet/ip.h>
16414 #endif
16415 #ifdef HAVE_NETINET_IP_ICMP_H
16416 #include <netinet/ip_icmp.h>
16417 #endif
16418 #ifdef HAVE_NETINET_ICMP_VAR_H
16419 #include <netinet/icmp_var.h>
16420 #endif
16422 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16424 cat >>confdefs.h <<_ACEOF
16425 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16426 _ACEOF
16432 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16433 #include <sys/types.h>
16434 #endif
16435 #ifdef HAVE_ALIAS_H
16436 #include <alias.h>
16437 #endif
16438 #ifdef HAVE_SYS_SOCKET_H
16439 #include <sys/socket.h>
16440 #endif
16441 #ifdef HAVE_SYS_SOCKETVAR_H
16442 #include <sys/socketvar.h>
16443 #endif
16444 #ifdef HAVE_SYS_TIMEOUT_H
16445 #include <sys/timeout.h>
16446 #endif
16447 #ifdef HAVE_NETINET_IN_H
16448 #include <netinet/in.h>
16449 #endif
16450 #ifdef HAVE_NETINET_IN_SYSTM_H
16451 #include <netinet/in_systm.h>
16452 #endif
16453 #ifdef HAVE_NETINET_IP_H
16454 #include <netinet/ip.h>
16455 #endif
16456 #ifdef HAVE_NETINET_IP_VAR_H
16457 #include <netinet/ip_var.h>
16458 #endif
16459 #ifdef HAVE_NETINET_IP_ICMP_H
16460 #include <netinet/ip_icmp.h>
16461 #endif
16462 #ifdef HAVE_NETINET_ICMP_VAR_H
16463 #include <netinet/icmp_var.h>
16464 #endif
16466 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16468 cat >>confdefs.h <<_ACEOF
16469 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16470 _ACEOF
16476 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#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_IP_VAR_H
16486 #include <netinet/ip_var.h>
16487 #endif
16489 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16491 cat >>confdefs.h <<_ACEOF
16492 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16493 _ACEOF
16499 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
16500 #include <netinet/ip_var.h>
16501 #endif
16503 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16505 cat >>confdefs.h <<_ACEOF
16506 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16507 _ACEOF
16513 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16514 #include <sys/types.h>
16515 #endif
16516 #ifdef HAVE_SYS_SOCKETVAR_H
16517 #include <sys/socketvar.h>
16518 #endif
16519 #ifdef HAVE_NETINET_IN_H
16520 #include <netinet/in.h>
16521 #endif
16522 #ifdef HAVE_NETINET_TCP_H
16523 #include <netinet/tcp.h>
16524 #endif
16525 #ifdef HAVE_NETINET_TCP_VAR_H
16526 #include <netinet/tcp_var.h>
16527 #endif
16529 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16531 cat >>confdefs.h <<_ACEOF
16532 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16533 _ACEOF
16539 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
16540 #include <netinet/tcp_var.h>
16541 #endif
16543 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16545 cat >>confdefs.h <<_ACEOF
16546 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16547 _ACEOF
16553 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16554 #include <sys/types.h>
16555 #endif
16556 #ifdef HAVE_NETINET_IN_H
16557 #include <netinet/in.h>
16558 #endif
16559 #ifdef HAVE_NETINET_IP_VAR_H
16560 #include <netinet/ip_var.h>
16561 #endif
16562 #ifdef HAVE_NETINET_UDP_H
16563 #include <netinet/udp.h>
16564 #endif
16565 #ifdef HAVE_NETINET_UDP_VAR_H
16566 #include <netinet/udp_var.h>
16567 #endif
16569 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16571 cat >>confdefs.h <<_ACEOF
16572 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16573 _ACEOF
16579 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16580 #include <sys/types.h>
16581 #endif
16582 #ifdef HAVE_NET_IF_H
16583 # include <net/if.h>
16584 #endif
16586 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16588 cat >>confdefs.h <<_ACEOF
16589 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16590 _ACEOF
16596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16597 $as_echo_n "checking for timezone variable... " >&6; }
16598 if ${ac_cv_have_timezone+:} false; then :
16599 $as_echo_n "(cached) " >&6
16600 else
16601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16602 /* end confdefs.h. */
16603 #include <time.h>
16605 main ()
16607 timezone = 1
16609 return 0;
16611 _ACEOF
16612 if ac_fn_c_try_link "$LINENO"; then :
16613 ac_cv_have_timezone="yes"
16614 else
16615 ac_cv_have_timezone="no"
16617 rm -f core conftest.err conftest.$ac_objext \
16618 conftest$ac_exeext conftest.$ac_ext
16620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16621 $as_echo "$ac_cv_have_timezone" >&6; }
16622 if test "$ac_cv_have_timezone" = "yes"
16623 then
16625 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16629 $as_echo_n "checking for daylight variable... " >&6; }
16630 if ${ac_cv_have_daylight+:} false; then :
16631 $as_echo_n "(cached) " >&6
16632 else
16633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16634 /* end confdefs.h. */
16635 #include <time.h>
16637 main ()
16639 daylight = 1
16641 return 0;
16643 _ACEOF
16644 if ac_fn_c_try_link "$LINENO"; then :
16645 ac_cv_have_daylight="yes"
16646 else
16647 ac_cv_have_daylight="no"
16649 rm -f core conftest.err conftest.$ac_objext \
16650 conftest$ac_exeext conftest.$ac_ext
16652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16653 $as_echo "$ac_cv_have_daylight" >&6; }
16654 if test "$ac_cv_have_daylight" = "yes"
16655 then
16657 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16661 ac_save_LIBS="$LIBS"
16662 LIBS="$LIBS -lm"
16663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16664 $as_echo_n "checking for isfinite... " >&6; }
16665 if ${ac_cv_have_isfinite+:} false; then :
16666 $as_echo_n "(cached) " >&6
16667 else
16668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16669 /* end confdefs.h. */
16670 #define _GNU_SOURCE
16671 #include <math.h>
16673 main ()
16675 float f = 0.0; return isfinite(f)
16677 return 0;
16679 _ACEOF
16680 if ac_fn_c_try_link "$LINENO"; then :
16681 ac_cv_have_isfinite="yes"
16682 else
16683 ac_cv_have_isfinite="no"
16685 rm -f core conftest.err conftest.$ac_objext \
16686 conftest$ac_exeext conftest.$ac_ext
16688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16689 $as_echo "$ac_cv_have_isfinite" >&6; }
16690 if test "$ac_cv_have_isfinite" = "yes"
16691 then
16693 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16698 $as_echo_n "checking for isinf... " >&6; }
16699 if ${ac_cv_have_isinf+:} false; then :
16700 $as_echo_n "(cached) " >&6
16701 else
16702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16703 /* end confdefs.h. */
16704 #include <math.h>
16706 main ()
16708 float f = 0.0; return isinf(f)
16710 return 0;
16712 _ACEOF
16713 if ac_fn_c_try_link "$LINENO"; then :
16714 ac_cv_have_isinf="yes"
16715 else
16716 ac_cv_have_isinf="no"
16718 rm -f core conftest.err conftest.$ac_objext \
16719 conftest$ac_exeext conftest.$ac_ext
16721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16722 $as_echo "$ac_cv_have_isinf" >&6; }
16723 if test "$ac_cv_have_isinf" = "yes"
16724 then
16726 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16731 $as_echo_n "checking for isnan... " >&6; }
16732 if ${ac_cv_have_isnan+:} false; then :
16733 $as_echo_n "(cached) " >&6
16734 else
16735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16736 /* end confdefs.h. */
16737 #include <math.h>
16739 main ()
16741 float f = 0.0; return isnan(f)
16743 return 0;
16745 _ACEOF
16746 if ac_fn_c_try_link "$LINENO"; then :
16747 ac_cv_have_isnan="yes"
16748 else
16749 ac_cv_have_isnan="no"
16751 rm -f core conftest.err conftest.$ac_objext \
16752 conftest$ac_exeext conftest.$ac_ext
16754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16755 $as_echo "$ac_cv_have_isnan" >&6; }
16756 if test "$ac_cv_have_isnan" = "yes"
16757 then
16759 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16763 for ac_func in \
16764 cbrt \
16765 cbrtf \
16766 erf \
16767 erff \
16768 exp2 \
16769 exp2f \
16770 llrint \
16771 llrintf \
16772 llround \
16773 llroundf \
16774 log2 \
16775 log2f \
16776 lrint \
16777 lrintf \
16778 lround \
16779 lroundf \
16780 rint \
16781 rintf \
16782 round \
16783 roundf \
16784 trunc \
16785 truncf
16787 do :
16788 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16789 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16790 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16791 cat >>confdefs.h <<_ACEOF
16792 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16793 _ACEOF
16796 done
16798 LIBS="$ac_save_LIBS"
16800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16801 $as_echo_n "checking for __builtin_clz... " >&6; }
16802 if ${ac_cv_have___builtin_clz+:} false; then :
16803 $as_echo_n "(cached) " >&6
16804 else
16805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16806 /* end confdefs.h. */
16809 main ()
16811 return __builtin_clz(1)
16813 return 0;
16815 _ACEOF
16816 if ac_fn_c_try_link "$LINENO"; then :
16817 ac_cv_have___builtin_clz="yes"
16818 else
16819 ac_cv_have___builtin_clz="no"
16821 rm -f core conftest.err conftest.$ac_objext \
16822 conftest$ac_exeext conftest.$ac_ext
16824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16825 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16826 if test "$ac_cv_have___builtin_clz" = "yes"
16827 then
16829 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16834 case $host_cpu in
16835 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16836 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16837 if ${ac_cv_cpp_def___i386__+:} false; then :
16838 $as_echo_n "(cached) " >&6
16839 else
16840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16841 /* end confdefs.h. */
16842 #ifndef __i386__
16844 #endif
16845 _ACEOF
16846 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16847 $EGREP "yes" >/dev/null 2>&1; then :
16848 ac_cv_cpp_def___i386__=yes
16849 else
16850 ac_cv_cpp_def___i386__=no
16852 rm -f conftest*
16855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16856 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16857 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16858 CFLAGS="$CFLAGS -D__i386__"
16859 LINTFLAGS="$LINTFLAGS -D__i386__"
16860 fi ;;
16861 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16862 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16863 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16864 $as_echo_n "(cached) " >&6
16865 else
16866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16867 /* end confdefs.h. */
16868 #ifndef __x86_64__
16870 #endif
16871 _ACEOF
16872 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16873 $EGREP "yes" >/dev/null 2>&1; then :
16874 ac_cv_cpp_def___x86_64__=yes
16875 else
16876 ac_cv_cpp_def___x86_64__=no
16878 rm -f conftest*
16881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16882 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16883 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16884 CFLAGS="$CFLAGS -D__x86_64__"
16885 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16886 fi ;;
16887 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16888 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16889 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16890 $as_echo_n "(cached) " >&6
16891 else
16892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16893 /* end confdefs.h. */
16894 #ifndef __sparc64__
16896 #endif
16897 _ACEOF
16898 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16899 $EGREP "yes" >/dev/null 2>&1; then :
16900 ac_cv_cpp_def___sparc64__=yes
16901 else
16902 ac_cv_cpp_def___sparc64__=no
16904 rm -f conftest*
16907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16908 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16909 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16910 CFLAGS="$CFLAGS -D__sparc64__"
16911 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16912 fi ;;
16913 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16914 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16915 if ${ac_cv_cpp_def___sparc__+:} false; then :
16916 $as_echo_n "(cached) " >&6
16917 else
16918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16919 /* end confdefs.h. */
16920 #ifndef __sparc__
16922 #endif
16923 _ACEOF
16924 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16925 $EGREP "yes" >/dev/null 2>&1; then :
16926 ac_cv_cpp_def___sparc__=yes
16927 else
16928 ac_cv_cpp_def___sparc__=no
16930 rm -f conftest*
16933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16934 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16935 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16936 CFLAGS="$CFLAGS -D__sparc__"
16937 LINTFLAGS="$LINTFLAGS -D__sparc__"
16938 fi ;;
16939 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16940 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16941 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16942 $as_echo_n "(cached) " >&6
16943 else
16944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16945 /* end confdefs.h. */
16946 #ifndef __powerpc64__
16948 #endif
16949 _ACEOF
16950 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16951 $EGREP "yes" >/dev/null 2>&1; then :
16952 ac_cv_cpp_def___powerpc64__=yes
16953 else
16954 ac_cv_cpp_def___powerpc64__=no
16956 rm -f conftest*
16959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16960 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16961 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16962 CFLAGS="$CFLAGS -D__powerpc64__"
16963 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16964 fi ;;
16965 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16966 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16967 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16968 $as_echo_n "(cached) " >&6
16969 else
16970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16971 /* end confdefs.h. */
16972 #ifndef __powerpc__
16974 #endif
16975 _ACEOF
16976 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16977 $EGREP "yes" >/dev/null 2>&1; then :
16978 ac_cv_cpp_def___powerpc__=yes
16979 else
16980 ac_cv_cpp_def___powerpc__=no
16982 rm -f conftest*
16985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16986 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16987 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16988 CFLAGS="$CFLAGS -D__powerpc__"
16989 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16990 fi ;;
16991 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16992 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16993 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16994 $as_echo_n "(cached) " >&6
16995 else
16996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16997 /* end confdefs.h. */
16998 #ifndef __aarch64__
17000 #endif
17001 _ACEOF
17002 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17003 $EGREP "yes" >/dev/null 2>&1; then :
17004 ac_cv_cpp_def___aarch64__=yes
17005 else
17006 ac_cv_cpp_def___aarch64__=no
17008 rm -f conftest*
17011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17012 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17013 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17014 CFLAGS="$CFLAGS -D__aarch64__"
17015 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17016 fi ;;
17017 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17018 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17019 if ${ac_cv_cpp_def___arm__+:} false; then :
17020 $as_echo_n "(cached) " >&6
17021 else
17022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17023 /* end confdefs.h. */
17024 #ifndef __arm__
17026 #endif
17027 _ACEOF
17028 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17029 $EGREP "yes" >/dev/null 2>&1; then :
17030 ac_cv_cpp_def___arm__=yes
17031 else
17032 ac_cv_cpp_def___arm__=no
17034 rm -f conftest*
17037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17038 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17039 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17040 CFLAGS="$CFLAGS -D__arm__"
17041 LINTFLAGS="$LINTFLAGS -D__arm__"
17042 fi ;;
17043 esac
17045 case $host_vendor in
17046 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17047 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17048 if ${ac_cv_cpp_def___sun__+:} false; then :
17049 $as_echo_n "(cached) " >&6
17050 else
17051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17052 /* end confdefs.h. */
17053 #ifndef __sun__
17055 #endif
17056 _ACEOF
17057 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17058 $EGREP "yes" >/dev/null 2>&1; then :
17059 ac_cv_cpp_def___sun__=yes
17060 else
17061 ac_cv_cpp_def___sun__=no
17063 rm -f conftest*
17066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17067 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17068 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17069 CFLAGS="$CFLAGS -D__sun__"
17070 LINTFLAGS="$LINTFLAGS -D__sun__"
17071 fi ;;
17072 esac
17078 ac_config_commands="$ac_config_commands include/stamp-h"
17080 $as_echo_n "creating Makefile rules..." >&6
17082 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17083 SOCKET_LIBS = $SOCKET_LIBS
17084 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17085 IOKIT_LIBS = $IOKIT_LIBS
17086 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17087 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17088 CORESERVICES_LIBS = $CORESERVICES_LIBS
17089 APPKIT_LIBS = $APPKIT_LIBS
17090 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17091 SECURITY_LIBS = $SECURITY_LIBS
17092 COREAUDIO_LIBS = $COREAUDIO_LIBS
17093 OPENAL_LIBS = $OPENAL_LIBS
17094 OPENCL_LIBS = $OPENCL_LIBS
17095 QUICKTIME_LIBS = $QUICKTIME_LIBS
17096 CARBON_LIBS = $CARBON_LIBS
17097 PTHREAD_LIBS = $PTHREAD_LIBS
17098 X_CFLAGS = $X_CFLAGS
17099 X_PRE_LIBS = $X_PRE_LIBS
17100 X_LIBS = $X_LIBS
17101 X_EXTRA_LIBS = $X_EXTRA_LIBS
17102 XML2_CFLAGS = $XML2_CFLAGS
17103 XML2_LIBS = $XML2_LIBS
17104 XSLT_CFLAGS = $XSLT_CFLAGS
17105 XSLT_LIBS = $XSLT_LIBS
17106 DBUS_CFLAGS = $DBUS_CFLAGS
17107 DBUS_LIBS = $DBUS_LIBS
17108 HAL_CFLAGS = $HAL_CFLAGS
17109 HAL_LIBS = $HAL_LIBS
17110 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17111 GNUTLS_LIBS = $GNUTLS_LIBS
17112 SANE_CFLAGS = $SANE_CFLAGS
17113 SANE_LIBS = $SANE_LIBS
17114 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17115 GPHOTO2_LIBS = $GPHOTO2_LIBS
17116 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17117 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17118 RESOLV_LIBS = $RESOLV_LIBS
17119 LCMS2_CFLAGS = $LCMS2_CFLAGS
17120 LCMS2_LIBS = $LCMS2_LIBS
17121 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17122 FREETYPE_LIBS = $FREETYPE_LIBS
17123 Z_LIBS = $Z_LIBS
17124 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17125 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17126 GSTREAMER_LIBS = $GSTREAMER_LIBS
17127 ALSA_LIBS = $ALSA_LIBS
17128 OSS4_CFLAGS = $OSS4_CFLAGS
17129 CAPI20_CFLAGS = $CAPI20_CFLAGS
17130 CAPI20_LIBS = $CAPI20_LIBS
17131 CUPS_CFLAGS = $CUPS_CFLAGS
17132 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17133 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17134 JPEG_CFLAGS = $JPEG_CFLAGS
17135 JPEG_LIBS = $JPEG_LIBS
17136 PNG_CFLAGS = $PNG_CFLAGS
17137 PNG_LIBS = $PNG_LIBS
17138 TIFF_CFLAGS = $TIFF_CFLAGS
17139 TIFF_LIBS = $TIFF_LIBS
17140 MPG123_CFLAGS = $MPG123_CFLAGS
17141 MPG123_LIBS = $MPG123_LIBS
17142 KSTAT_LIBS = $KSTAT_LIBS
17143 PROCSTAT_LIBS = $PROCSTAT_LIBS
17144 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17145 DL_LIBS = $DL_LIBS
17146 POLL_LIBS = $POLL_LIBS
17147 RT_LIBS = $RT_LIBS
17148 LDAP_LIBS = $LDAP_LIBS
17153 wine_fn_append_rule "
17154 # Rules automatically generated by configure
17156 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17158 .INIT: Makefile
17159 .MAKEFILEDEPS:
17160 all: Makefile
17161 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
17162 @./config.status Make.tmp Makefile"
17164 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
17165 .gitignore: config.status
17166 @./config.status .gitignore"
17168 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17169 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17171 if test "x$enable_fonts" != xno; then
17172 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17173 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17174 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17175 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17176 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17177 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17179 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17180 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17181 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
17182 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
17183 ac_config_links="$ac_config_links wine:tools/winewrapper"
17184 wine_fn_config_symlink wine
17185 if test "x$enable_win64" != xno; then
17186 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17187 wine_fn_config_symlink wine64
17190 wine_fn_config_dll acledit enable_acledit
17191 wine_fn_config_dll aclui enable_aclui implib
17192 wine_fn_config_dll activeds enable_activeds implib
17193 wine_fn_config_dll actxprxy enable_actxprxy clean
17194 wine_fn_config_lib adsiid
17195 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17196 wine_fn_config_test dlls/advapi32/tests advapi32_test
17197 wine_fn_config_dll advpack enable_advpack implib
17198 wine_fn_config_test dlls/advpack/tests advpack_test
17199 wine_fn_config_dll amstream enable_amstream clean
17200 wine_fn_config_test dlls/amstream/tests amstream_test
17201 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17202 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17203 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17204 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17205 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17206 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17207 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17208 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17209 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17210 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17211 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17212 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17213 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17214 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17215 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17216 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17217 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17218 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17219 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17220 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17221 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17222 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17223 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17224 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17225 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17226 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17227 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17228 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17229 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17230 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17231 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17232 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17233 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17234 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17235 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17236 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17237 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17238 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17239 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17240 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17241 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17242 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17243 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17244 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17245 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17246 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17247 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17248 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17249 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17250 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17251 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17252 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17253 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17254 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17255 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17256 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17257 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17258 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17259 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17260 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17261 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17262 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17263 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17264 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17265 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17266 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17267 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17268 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17269 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17270 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17271 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17272 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17273 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17274 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17275 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17276 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17277 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17278 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17279 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17280 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17281 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17282 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17283 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17284 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17285 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17286 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17287 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17288 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17289 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17290 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17291 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17292 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17293 wine_fn_config_dll apphelp enable_apphelp
17294 wine_fn_config_test dlls/apphelp/tests apphelp_test
17295 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17296 wine_fn_config_dll atl enable_atl clean,implib
17297 wine_fn_config_test dlls/atl/tests atl_test
17298 wine_fn_config_dll atl100 enable_atl100 clean,implib
17299 wine_fn_config_test dlls/atl100/tests atl100_test
17300 wine_fn_config_dll atl110 enable_atl110 clean
17301 wine_fn_config_dll atl80 enable_atl80 clean,implib
17302 wine_fn_config_test dlls/atl80/tests atl80_test
17303 wine_fn_config_dll atl90 enable_atl90 clean
17304 wine_fn_config_dll authz enable_authz
17305 wine_fn_config_dll avicap32 enable_avicap32 implib
17306 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
17307 wine_fn_config_test dlls/avifil32/tests avifil32_test
17308 wine_fn_config_dll avifile.dll16 enable_win16
17309 wine_fn_config_dll avrt enable_avrt implib
17310 wine_fn_config_dll bcrypt enable_bcrypt
17311 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17312 wine_fn_config_dll browseui enable_browseui clean,po
17313 wine_fn_config_test dlls/browseui/tests browseui_test
17314 wine_fn_config_dll cabinet enable_cabinet implib
17315 wine_fn_config_test dlls/cabinet/tests cabinet_test
17316 wine_fn_config_dll capi2032 enable_capi2032 implib
17317 wine_fn_config_dll cards enable_cards implib
17318 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17319 wine_fn_config_dll clusapi enable_clusapi implib
17320 wine_fn_config_dll combase enable_combase
17321 wine_fn_config_test dlls/combase/tests combase_test
17322 wine_fn_config_dll comcat enable_comcat
17323 wine_fn_config_test dlls/comcat/tests comcat_test
17324 wine_fn_config_dll comctl32 enable_comctl32 implib,po
17325 wine_fn_config_test dlls/comctl32/tests comctl32_test
17326 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
17327 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17328 wine_fn_config_dll comm.drv16 enable_win16
17329 wine_fn_config_dll commdlg.dll16 enable_win16
17330 wine_fn_config_dll compobj.dll16 enable_win16
17331 wine_fn_config_dll compstui enable_compstui implib
17332 wine_fn_config_dll comsvcs enable_comsvcs implib
17333 wine_fn_config_dll connect enable_connect
17334 wine_fn_config_dll credui enable_credui implib,po
17335 wine_fn_config_test dlls/credui/tests credui_test
17336 wine_fn_config_dll crtdll enable_crtdll implib
17337 wine_fn_config_dll crypt32 enable_crypt32 implib,po
17338 wine_fn_config_test dlls/crypt32/tests crypt32_test
17339 wine_fn_config_dll cryptdlg enable_cryptdlg po
17340 wine_fn_config_dll cryptdll enable_cryptdll implib
17341 wine_fn_config_dll cryptext enable_cryptext
17342 wine_fn_config_dll cryptnet enable_cryptnet implib
17343 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17344 wine_fn_config_dll cryptui enable_cryptui implib,po
17345 wine_fn_config_test dlls/cryptui/tests cryptui_test
17346 wine_fn_config_dll ctapi32 enable_ctapi32
17347 wine_fn_config_dll ctl3d.dll16 enable_win16
17348 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17349 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17350 wine_fn_config_dll d2d1 enable_d2d1 implib
17351 wine_fn_config_test dlls/d2d1/tests d2d1_test
17352 wine_fn_config_dll d3d10 enable_d3d10 implib
17353 wine_fn_config_test dlls/d3d10/tests d3d10_test
17354 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17355 wine_fn_config_dll d3d10core enable_d3d10core implib
17356 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17357 wine_fn_config_dll d3d11 enable_d3d11 implib
17358 wine_fn_config_test dlls/d3d11/tests d3d11_test
17359 wine_fn_config_dll d3d8 enable_d3d8 implib
17360 wine_fn_config_test dlls/d3d8/tests d3d8_test
17361 wine_fn_config_dll d3d9 enable_d3d9 implib
17362 wine_fn_config_test dlls/d3d9/tests d3d9_test
17363 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17364 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17365 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17366 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17367 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17368 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17369 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17370 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17371 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17372 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17373 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17374 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17375 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17376 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17377 wine_fn_config_dll d3dim enable_d3dim implib
17378 wine_fn_config_dll d3drm enable_d3drm implib
17379 wine_fn_config_test dlls/d3drm/tests d3drm_test
17380 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17381 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17382 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17383 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17384 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17385 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17386 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17387 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17388 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17389 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17390 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17391 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17392 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17393 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17394 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17395 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17396 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17397 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17398 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17399 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17400 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17401 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17402 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17403 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17404 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17405 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17406 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17407 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17408 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17409 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17410 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17411 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17412 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17413 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17414 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17415 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17416 wine_fn_config_dll davclnt enable_davclnt
17417 wine_fn_config_dll dbgeng enable_dbgeng implib
17418 wine_fn_config_dll dbghelp enable_dbghelp implib
17419 wine_fn_config_dll dciman32 enable_dciman32 implib
17420 wine_fn_config_dll ddeml.dll16 enable_win16
17421 wine_fn_config_dll ddraw enable_ddraw clean,implib
17422 wine_fn_config_test dlls/ddraw/tests ddraw_test
17423 wine_fn_config_dll ddrawex enable_ddrawex clean
17424 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17425 wine_fn_config_dll devenum enable_devenum clean,po
17426 wine_fn_config_test dlls/devenum/tests devenum_test
17427 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17428 wine_fn_config_dll difxapi enable_difxapi
17429 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
17430 wine_fn_config_test dlls/dinput/tests dinput_test
17431 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17432 wine_fn_config_test dlls/dinput8/tests dinput8_test
17433 wine_fn_config_dll dispdib.dll16 enable_win16
17434 wine_fn_config_dll dispex enable_dispex clean
17435 wine_fn_config_test dlls/dispex/tests dispex_test
17436 wine_fn_config_dll display.drv16 enable_win16
17437 wine_fn_config_dll dmband enable_dmband clean
17438 wine_fn_config_test dlls/dmband/tests dmband_test
17439 wine_fn_config_dll dmcompos enable_dmcompos clean
17440 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17441 wine_fn_config_dll dmime enable_dmime clean
17442 wine_fn_config_test dlls/dmime/tests dmime_test
17443 wine_fn_config_dll dmloader enable_dmloader clean
17444 wine_fn_config_test dlls/dmloader/tests dmloader_test
17445 wine_fn_config_dll dmscript enable_dmscript clean
17446 wine_fn_config_test dlls/dmscript/tests dmscript_test
17447 wine_fn_config_dll dmstyle enable_dmstyle clean
17448 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17449 wine_fn_config_dll dmsynth enable_dmsynth clean
17450 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17451 wine_fn_config_dll dmusic enable_dmusic clean
17452 wine_fn_config_test dlls/dmusic/tests dmusic_test
17453 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17454 wine_fn_config_dll dnsapi enable_dnsapi implib
17455 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17456 wine_fn_config_dll dplay enable_dplay implib
17457 wine_fn_config_dll dplayx enable_dplayx clean,implib
17458 wine_fn_config_test dlls/dplayx/tests dplayx_test
17459 wine_fn_config_dll dpnaddr enable_dpnaddr
17460 wine_fn_config_dll dpnet enable_dpnet clean,implib
17461 wine_fn_config_test dlls/dpnet/tests dpnet_test
17462 wine_fn_config_dll dpnhpast enable_dpnhpast
17463 wine_fn_config_dll dpnlobby enable_dpnlobby
17464 wine_fn_config_dll dpvoice enable_dpvoice clean
17465 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17466 wine_fn_config_dll dpwsockx enable_dpwsockx
17467 wine_fn_config_dll drmclien enable_drmclien
17468 wine_fn_config_dll dsound enable_dsound clean,implib
17469 wine_fn_config_test dlls/dsound/tests dsound_test
17470 wine_fn_config_dll dssenh enable_dssenh
17471 wine_fn_config_test dlls/dssenh/tests dssenh_test
17472 wine_fn_config_dll dswave enable_dswave clean
17473 wine_fn_config_test dlls/dswave/tests dswave_test
17474 wine_fn_config_dll dwmapi enable_dwmapi implib
17475 wine_fn_config_dll dwrite enable_dwrite implib
17476 wine_fn_config_test dlls/dwrite/tests dwrite_test
17477 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17478 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17479 wine_fn_config_lib dxerr8
17480 wine_fn_config_lib dxerr9
17481 wine_fn_config_dll dxgi enable_dxgi implib
17482 wine_fn_config_test dlls/dxgi/tests dxgi_test
17483 wine_fn_config_lib dxguid
17484 wine_fn_config_dll dxva2 enable_dxva2
17485 wine_fn_config_dll esent enable_esent
17486 wine_fn_config_dll evr enable_evr
17487 wine_fn_config_dll explorerframe enable_explorerframe clean
17488 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17489 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17490 wine_fn_config_dll faultrep enable_faultrep implib
17491 wine_fn_config_test dlls/faultrep/tests faultrep_test
17492 wine_fn_config_dll fltlib enable_fltlib
17493 wine_fn_config_dll fntcache enable_fntcache
17494 wine_fn_config_dll fontsub enable_fontsub
17495 wine_fn_config_dll fusion enable_fusion
17496 wine_fn_config_test dlls/fusion/tests fusion_test
17497 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17498 wine_fn_config_dll gameux enable_gameux clean
17499 wine_fn_config_test dlls/gameux/tests gameux_test
17500 wine_fn_config_dll gdi.exe16 enable_win16
17501 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17502 wine_fn_config_test dlls/gdi32/tests gdi32_test
17503 wine_fn_config_dll gdiplus enable_gdiplus implib
17504 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17505 wine_fn_config_dll glu32 enable_glu32 implib
17506 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17507 wine_fn_config_dll gpkcsp enable_gpkcsp
17508 wine_fn_config_dll hal enable_hal
17509 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17510 wine_fn_config_dll hid enable_hid implib
17511 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17512 wine_fn_config_dll hlink enable_hlink clean,implib
17513 wine_fn_config_test dlls/hlink/tests hlink_test
17514 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17515 wine_fn_config_dll httpapi enable_httpapi
17516 wine_fn_config_dll iccvid enable_iccvid po
17517 wine_fn_config_dll icmp enable_icmp
17518 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17519 wine_fn_config_test dlls/ieframe/tests ieframe_test
17520 wine_fn_config_dll ifsmgr.vxd enable_win16
17521 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17522 wine_fn_config_dll imagehlp enable_imagehlp implib
17523 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17524 wine_fn_config_dll imm.dll16 enable_win16
17525 wine_fn_config_dll imm32 enable_imm32 implib
17526 wine_fn_config_test dlls/imm32/tests imm32_test
17527 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17528 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17529 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17530 wine_fn_config_dll inetmib1 enable_inetmib1
17531 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17532 wine_fn_config_dll infosoft enable_infosoft clean
17533 wine_fn_config_test dlls/infosoft/tests infosoft_test
17534 wine_fn_config_dll initpki enable_initpki
17535 wine_fn_config_dll inkobj enable_inkobj
17536 wine_fn_config_dll inseng enable_inseng clean
17537 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17538 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17539 wine_fn_config_dll itircl enable_itircl
17540 wine_fn_config_dll itss enable_itss clean
17541 wine_fn_config_test dlls/itss/tests itss_test
17542 wine_fn_config_dll joy.cpl enable_joy_cpl po
17543 wine_fn_config_dll jscript enable_jscript clean,po
17544 wine_fn_config_test dlls/jscript/tests jscript_test
17545 wine_fn_config_dll jsproxy enable_jsproxy implib
17546 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17547 wine_fn_config_test dlls/kernel32/tests kernel32_test
17548 wine_fn_config_dll keyboard.drv16 enable_win16
17549 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17550 wine_fn_config_dll ksuser enable_ksuser
17551 wine_fn_config_dll ktmw32 enable_ktmw32
17552 wine_fn_config_dll loadperf enable_loadperf implib
17553 wine_fn_config_dll localspl enable_localspl po
17554 wine_fn_config_test dlls/localspl/tests localspl_test
17555 wine_fn_config_dll localui enable_localui po
17556 wine_fn_config_test dlls/localui/tests localui_test
17557 wine_fn_config_dll lz32 enable_lz32 implib
17558 wine_fn_config_test dlls/lz32/tests lz32_test
17559 wine_fn_config_dll lzexpand.dll16 enable_win16
17560 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17561 wine_fn_config_test dlls/mapi32/tests mapi32_test
17562 wine_fn_config_dll mapistub enable_mapistub
17563 wine_fn_config_dll mciavi32 enable_mciavi32
17564 wine_fn_config_dll mcicda enable_mcicda
17565 wine_fn_config_dll mciqtz32 enable_mciqtz32
17566 wine_fn_config_dll mciseq enable_mciseq
17567 wine_fn_config_dll mciwave enable_mciwave
17568 wine_fn_config_dll mf enable_mf
17569 wine_fn_config_dll mfplat enable_mfplat
17570 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17571 wine_fn_config_dll mgmtapi enable_mgmtapi
17572 wine_fn_config_dll midimap enable_midimap
17573 wine_fn_config_dll mlang enable_mlang clean,implib
17574 wine_fn_config_test dlls/mlang/tests mlang_test
17575 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17576 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17577 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17578 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17579 wine_fn_config_dll mmdevldr.vxd enable_win16
17580 wine_fn_config_dll mmsystem.dll16 enable_win16
17581 wine_fn_config_dll monodebg.vxd enable_win16
17582 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17583 wine_fn_config_dll mouse.drv16 enable_win16
17584 wine_fn_config_dll mpr enable_mpr implib,po
17585 wine_fn_config_test dlls/mpr/tests mpr_test
17586 wine_fn_config_dll mprapi enable_mprapi implib
17587 wine_fn_config_dll msacm.dll16 enable_win16
17588 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17589 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17590 wine_fn_config_test dlls/msacm32/tests msacm32_test
17591 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17592 wine_fn_config_dll msasn1 enable_msasn1 implib
17593 wine_fn_config_dll mscat32 enable_mscat32
17594 wine_fn_config_dll mscms enable_mscms implib
17595 wine_fn_config_test dlls/mscms/tests mscms_test
17596 wine_fn_config_dll mscoree enable_mscoree clean
17597 wine_fn_config_test dlls/mscoree/tests mscoree_test
17598 wine_fn_config_dll msctf enable_msctf clean
17599 wine_fn_config_test dlls/msctf/tests msctf_test
17600 wine_fn_config_dll msctfp enable_msctfp clean
17601 wine_fn_config_dll msdaps enable_msdaps clean
17602 wine_fn_config_dll msdelta enable_msdelta
17603 wine_fn_config_dll msdmo enable_msdmo implib
17604 wine_fn_config_test dlls/msdmo/tests msdmo_test
17605 wine_fn_config_dll msftedit enable_msftedit
17606 wine_fn_config_dll msg711.acm enable_msg711_acm
17607 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17608 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17609 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17610 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17611 wine_fn_config_dll msi enable_msi clean,implib,po
17612 wine_fn_config_test dlls/msi/tests msi_test
17613 wine_fn_config_dll msident enable_msident clean
17614 wine_fn_config_dll msimg32 enable_msimg32 implib
17615 wine_fn_config_dll msimsg enable_msimsg
17616 wine_fn_config_dll msimtf enable_msimtf clean
17617 wine_fn_config_dll msisip enable_msisip
17618 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17619 wine_fn_config_dll msls31 enable_msls31
17620 wine_fn_config_dll msnet32 enable_msnet32
17621 wine_fn_config_dll mspatcha enable_mspatcha implib
17622 wine_fn_config_dll msrle32 enable_msrle32 po
17623 wine_fn_config_test dlls/msrle32/tests msrle32_test
17624 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17625 wine_fn_config_dll mssign32 enable_mssign32
17626 wine_fn_config_dll mssip32 enable_mssip32
17627 wine_fn_config_dll mstask enable_mstask clean
17628 wine_fn_config_test dlls/mstask/tests mstask_test
17629 wine_fn_config_dll msvcirt enable_msvcirt
17630 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17631 wine_fn_config_dll msvcm80 enable_msvcm80
17632 wine_fn_config_dll msvcm90 enable_msvcm90
17633 wine_fn_config_dll msvcp100 enable_msvcp100
17634 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17635 wine_fn_config_dll msvcp110 enable_msvcp110
17636 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
17637 wine_fn_config_dll msvcp120 enable_msvcp120
17638 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17639 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17640 wine_fn_config_dll msvcp60 enable_msvcp60
17641 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17642 wine_fn_config_dll msvcp70 enable_msvcp70
17643 wine_fn_config_dll msvcp71 enable_msvcp71
17644 wine_fn_config_dll msvcp80 enable_msvcp80
17645 wine_fn_config_dll msvcp90 enable_msvcp90
17646 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17647 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17648 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17649 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17650 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17651 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17652 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17653 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17654 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17655 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17656 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17657 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17658 wine_fn_config_dll msvcrt enable_msvcrt implib
17659 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17660 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17661 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17662 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17663 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17664 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17665 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17666 wine_fn_config_dll msvidc32 enable_msvidc32 po
17667 wine_fn_config_dll msvideo.dll16 enable_win16
17668 wine_fn_config_dll mswsock enable_mswsock implib
17669 wine_fn_config_dll msxml enable_msxml clean
17670 wine_fn_config_dll msxml2 enable_msxml2 clean
17671 wine_fn_config_dll msxml3 enable_msxml3 clean
17672 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17673 wine_fn_config_dll msxml4 enable_msxml4 clean
17674 wine_fn_config_dll msxml6 enable_msxml6 clean
17675 wine_fn_config_dll nddeapi enable_nddeapi implib
17676 wine_fn_config_dll ndis.sys enable_ndis_sys
17677 wine_fn_config_dll netapi32 enable_netapi32 implib
17678 wine_fn_config_test dlls/netapi32/tests netapi32_test
17679 wine_fn_config_dll netcfgx enable_netcfgx clean
17680 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17681 wine_fn_config_dll netprofm enable_netprofm clean
17682 wine_fn_config_test dlls/netprofm/tests netprofm_test
17683 wine_fn_config_dll newdev enable_newdev implib
17684 wine_fn_config_dll normaliz enable_normaliz implib
17685 wine_fn_config_dll npmshtml enable_npmshtml
17686 wine_fn_config_dll npptools enable_npptools
17687 wine_fn_config_dll ntdll enable_ntdll implib
17688 wine_fn_config_test dlls/ntdll/tests ntdll_test
17689 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17690 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17691 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17692 wine_fn_config_dll ntprint enable_ntprint
17693 wine_fn_config_test dlls/ntprint/tests ntprint_test
17694 wine_fn_config_dll objsel enable_objsel clean
17695 wine_fn_config_dll odbc32 enable_odbc32 implib
17696 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17697 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17698 wine_fn_config_dll odbccu32 enable_odbccu32
17699 wine_fn_config_dll ole2.dll16 enable_win16
17700 wine_fn_config_dll ole2conv.dll16 enable_win16
17701 wine_fn_config_dll ole2disp.dll16 enable_win16
17702 wine_fn_config_dll ole2nls.dll16 enable_win16
17703 wine_fn_config_dll ole2prox.dll16 enable_win16
17704 wine_fn_config_dll ole2thk.dll16 enable_win16
17705 wine_fn_config_dll ole32 enable_ole32 clean,implib
17706 wine_fn_config_test dlls/ole32/tests ole32_test
17707 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17708 wine_fn_config_test dlls/oleacc/tests oleacc_test
17709 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17710 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17711 wine_fn_config_dll olecli.dll16 enable_win16
17712 wine_fn_config_dll olecli32 enable_olecli32 implib
17713 wine_fn_config_dll oledb32 enable_oledb32 clean
17714 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17715 wine_fn_config_dll oledlg enable_oledlg implib,po
17716 wine_fn_config_test dlls/oledlg/tests oledlg_test
17717 wine_fn_config_dll olepro32 enable_olepro32 implib
17718 wine_fn_config_dll olesvr.dll16 enable_win16
17719 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17720 wine_fn_config_dll olethk32 enable_olethk32
17721 wine_fn_config_dll openal32 enable_openal32
17722 wine_fn_config_dll opencl enable_opencl
17723 wine_fn_config_dll opengl32 enable_opengl32 implib
17724 wine_fn_config_test dlls/opengl32/tests opengl32_test
17725 wine_fn_config_dll packager enable_packager clean
17726 wine_fn_config_test dlls/packager/tests packager_test
17727 wine_fn_config_dll pdh enable_pdh implib
17728 wine_fn_config_test dlls/pdh/tests pdh_test
17729 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17730 wine_fn_config_dll pidgen enable_pidgen
17731 wine_fn_config_dll powrprof enable_powrprof implib
17732 wine_fn_config_dll printui enable_printui
17733 wine_fn_config_dll prntvpt enable_prntvpt
17734 wine_fn_config_dll propsys enable_propsys clean,implib
17735 wine_fn_config_test dlls/propsys/tests propsys_test
17736 wine_fn_config_dll psapi enable_psapi implib
17737 wine_fn_config_test dlls/psapi/tests psapi_test
17738 wine_fn_config_dll pstorec enable_pstorec clean
17739 wine_fn_config_dll qcap enable_qcap
17740 wine_fn_config_test dlls/qcap/tests qcap_test
17741 wine_fn_config_dll qedit enable_qedit clean
17742 wine_fn_config_test dlls/qedit/tests qedit_test
17743 wine_fn_config_dll qmgr enable_qmgr clean
17744 wine_fn_config_test dlls/qmgr/tests qmgr_test
17745 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17746 wine_fn_config_dll quartz enable_quartz clean,implib
17747 wine_fn_config_test dlls/quartz/tests quartz_test clean
17748 wine_fn_config_dll query enable_query
17749 wine_fn_config_dll rasapi16.dll16 enable_win16
17750 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17751 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17752 wine_fn_config_dll rasdlg enable_rasdlg implib
17753 wine_fn_config_dll regapi enable_regapi
17754 wine_fn_config_dll resutils enable_resutils implib
17755 wine_fn_config_dll riched20 enable_riched20 clean,implib
17756 wine_fn_config_test dlls/riched20/tests riched20_test
17757 wine_fn_config_dll riched32 enable_riched32
17758 wine_fn_config_test dlls/riched32/tests riched32_test
17759 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17760 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17761 wine_fn_config_dll rsabase enable_rsabase
17762 wine_fn_config_dll rsaenh enable_rsaenh implib
17763 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17764 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17765 wine_fn_config_dll rtutils enable_rtutils implib
17766 wine_fn_config_dll samlib enable_samlib
17767 wine_fn_config_dll sane.ds enable_sane_ds po
17768 wine_fn_config_dll scarddlg enable_scarddlg
17769 wine_fn_config_dll sccbase enable_sccbase
17770 wine_fn_config_dll schannel enable_schannel
17771 wine_fn_config_test dlls/schannel/tests schannel_test
17772 wine_fn_config_dll schedsvc enable_schedsvc clean
17773 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17774 wine_fn_config_dll scrrun enable_scrrun clean
17775 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17776 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17777 wine_fn_config_dll secur32 enable_secur32 implib
17778 wine_fn_config_test dlls/secur32/tests secur32_test
17779 wine_fn_config_dll security enable_security
17780 wine_fn_config_dll sensapi enable_sensapi implib
17781 wine_fn_config_dll serialui enable_serialui implib,po
17782 wine_fn_config_test dlls/serialui/tests serialui_test
17783 wine_fn_config_dll setupapi enable_setupapi implib,po
17784 wine_fn_config_test dlls/setupapi/tests setupapi_test
17785 wine_fn_config_dll setupx.dll16 enable_win16
17786 wine_fn_config_dll sfc enable_sfc implib
17787 wine_fn_config_dll sfc_os enable_sfc_os implib
17788 wine_fn_config_dll shdoclc enable_shdoclc po
17789 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17790 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17791 wine_fn_config_dll shell.dll16 enable_win16
17792 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17793 wine_fn_config_test dlls/shell32/tests shell32_test
17794 wine_fn_config_dll shfolder enable_shfolder implib
17795 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17796 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17797 wine_fn_config_dll slbcsp enable_slbcsp
17798 wine_fn_config_dll slc enable_slc implib
17799 wine_fn_config_test dlls/slc/tests slc_test
17800 wine_fn_config_dll snmpapi enable_snmpapi implib
17801 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17802 wine_fn_config_dll softpub enable_softpub
17803 wine_fn_config_dll sound.drv16 enable_win16
17804 wine_fn_config_dll spoolss enable_spoolss implib
17805 wine_fn_config_test dlls/spoolss/tests spoolss_test
17806 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17807 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17808 wine_fn_config_dll sti enable_sti clean,implib
17809 wine_fn_config_test dlls/sti/tests sti_test
17810 wine_fn_config_dll storage.dll16 enable_win16
17811 wine_fn_config_dll stress.dll16 enable_win16
17812 wine_fn_config_lib strmbase
17813 wine_fn_config_lib strmiids
17814 wine_fn_config_dll svrapi enable_svrapi
17815 wine_fn_config_dll sxs enable_sxs implib
17816 wine_fn_config_test dlls/sxs/tests sxs_test
17817 wine_fn_config_dll system.drv16 enable_win16
17818 wine_fn_config_dll t2embed enable_t2embed
17819 wine_fn_config_dll tapi32 enable_tapi32 implib
17820 wine_fn_config_dll taskschd enable_taskschd clean
17821 wine_fn_config_test dlls/taskschd/tests taskschd_test
17822 wine_fn_config_dll toolhelp.dll16 enable_win16
17823 wine_fn_config_dll traffic enable_traffic
17824 wine_fn_config_dll twain.dll16 enable_win16
17825 wine_fn_config_dll twain_32 enable_twain_32
17826 wine_fn_config_test dlls/twain_32/tests twain_32_test
17827 wine_fn_config_dll typelib.dll16 enable_win16
17828 wine_fn_config_dll ucrtbase enable_ucrtbase
17829 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
17830 wine_fn_config_dll unicows enable_unicows implib
17831 wine_fn_config_dll updspapi enable_updspapi
17832 wine_fn_config_dll url enable_url implib
17833 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17834 wine_fn_config_test dlls/urlmon/tests urlmon_test
17835 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17836 wine_fn_config_dll user.exe16 enable_win16
17837 wine_fn_config_dll user32 enable_user32 clean,implib,po
17838 wine_fn_config_test dlls/user32/tests user32_test
17839 wine_fn_config_dll userenv enable_userenv implib
17840 wine_fn_config_test dlls/userenv/tests userenv_test
17841 wine_fn_config_dll usp10 enable_usp10 implib
17842 wine_fn_config_test dlls/usp10/tests usp10_test
17843 wine_fn_config_lib uuid
17844 wine_fn_config_dll uxtheme enable_uxtheme implib
17845 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17846 wine_fn_config_dll vbscript enable_vbscript clean
17847 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17848 wine_fn_config_dll vcomp enable_vcomp
17849 wine_fn_config_test dlls/vcomp/tests vcomp_test
17850 wine_fn_config_dll vcomp100 enable_vcomp100
17851 wine_fn_config_dll vcomp110 enable_vcomp110
17852 wine_fn_config_dll vcomp120 enable_vcomp120
17853 wine_fn_config_dll vcomp90 enable_vcomp90
17854 wine_fn_config_dll vdhcp.vxd enable_win16
17855 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17856 wine_fn_config_dll ver.dll16 enable_win16
17857 wine_fn_config_dll version enable_version implib
17858 wine_fn_config_test dlls/version/tests version_test
17859 wine_fn_config_dll vmm.vxd enable_win16
17860 wine_fn_config_dll vnbt.vxd enable_win16
17861 wine_fn_config_dll vnetbios.vxd enable_win16
17862 wine_fn_config_dll vssapi enable_vssapi
17863 wine_fn_config_dll vtdapi.vxd enable_win16
17864 wine_fn_config_dll vwin32.vxd enable_win16
17865 wine_fn_config_dll w32skrnl enable_win16
17866 wine_fn_config_dll w32sys.dll16 enable_win16
17867 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17868 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
17869 wine_fn_config_dll wbemprox enable_wbemprox clean
17870 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17871 wine_fn_config_dll webservices enable_webservices implib
17872 wine_fn_config_test dlls/webservices/tests webservices_test
17873 wine_fn_config_dll wer enable_wer implib
17874 wine_fn_config_test dlls/wer/tests wer_test
17875 wine_fn_config_dll wevtapi enable_wevtapi
17876 wine_fn_config_dll wiaservc enable_wiaservc clean
17877 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
17878 wine_fn_config_dll win32s16.dll16 enable_win16
17879 wine_fn_config_dll win87em.dll16 enable_win16
17880 wine_fn_config_dll winaspi.dll16 enable_win16
17881 wine_fn_config_dll windebug.dll16 enable_win16
17882 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17883 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17884 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17885 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17886 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17887 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17888 wine_fn_config_lib winecrt0
17889 wine_fn_config_dll wined3d enable_wined3d implib
17890 wine_fn_config_dll winegstreamer enable_winegstreamer
17891 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17892 wine_fn_config_dll winemac.drv enable_winemac_drv
17893 wine_fn_config_dll winemapi enable_winemapi
17894 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17895 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17896 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17897 wine_fn_config_dll wineps16.drv16 enable_win16
17898 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17899 wine_fn_config_dll winex11.drv enable_winex11_drv
17900 wine_fn_config_dll wing.dll16 enable_win16
17901 wine_fn_config_dll wing32 enable_wing32
17902 wine_fn_config_dll winhttp enable_winhttp clean,implib
17903 wine_fn_config_test dlls/winhttp/tests winhttp_test
17904 wine_fn_config_dll wininet enable_wininet implib,po
17905 wine_fn_config_test dlls/wininet/tests wininet_test
17906 wine_fn_config_dll winmm enable_winmm implib,po
17907 wine_fn_config_test dlls/winmm/tests winmm_test
17908 wine_fn_config_dll winnls.dll16 enable_win16
17909 wine_fn_config_dll winnls32 enable_winnls32 implib
17910 wine_fn_config_dll winscard enable_winscard implib
17911 wine_fn_config_dll winsock.dll16 enable_win16
17912 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17913 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17914 wine_fn_config_dll winsta enable_winsta
17915 wine_fn_config_dll wintab.dll16 enable_win16
17916 wine_fn_config_dll wintab32 enable_wintab32 implib
17917 wine_fn_config_test dlls/wintab32/tests wintab32_test
17918 wine_fn_config_dll wintrust enable_wintrust implib
17919 wine_fn_config_test dlls/wintrust/tests wintrust_test
17920 wine_fn_config_dll wlanapi enable_wlanapi
17921 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17922 wine_fn_config_test dlls/wldap32/tests wldap32_test
17923 wine_fn_config_dll wmi enable_wmi
17924 wine_fn_config_dll wmiutils enable_wmiutils clean
17925 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17926 wine_fn_config_dll wmp enable_wmp clean
17927 wine_fn_config_test dlls/wmp/tests wmp_test
17928 wine_fn_config_dll wmvcore enable_wmvcore
17929 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17930 wine_fn_config_dll wow32 enable_win16 implib
17931 wine_fn_config_dll wpcap enable_wpcap
17932 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17933 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17934 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17935 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17936 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17937 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17938 wine_fn_config_dll wsock32 enable_wsock32 implib
17939 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17940 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17941 wine_fn_config_dll wuapi enable_wuapi clean
17942 wine_fn_config_dll wuaueng enable_wuaueng
17943 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
17944 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
17945 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
17946 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
17947 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
17948 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
17949 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
17950 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7 implib
17951 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17952 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
17953 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
17954 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
17955 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
17956 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
17957 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
17958 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
17959 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
17960 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
17961 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
17962 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
17963 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
17964 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
17965 wine_fn_config_dll xaudio2_8 enable_xaudio2_8
17966 wine_fn_config_dll xinput1_1 enable_xinput1_1
17967 wine_fn_config_dll xinput1_2 enable_xinput1_2
17968 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17969 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17970 wine_fn_config_dll xinput1_4 enable_xinput1_4
17971 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17972 wine_fn_config_dll xmllite enable_xmllite implib
17973 wine_fn_config_test dlls/xmllite/tests xmllite_test
17974 wine_fn_config_dll xolehlp enable_xolehlp
17975 wine_fn_config_dll xpsprint enable_xpsprint
17976 wine_fn_config_dll xpssvcs enable_xpssvcs
17977 wine_fn_config_makefile documentation enable_documentation clean
17978 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17979 wine_fn_config_makefile include enable_include clean,install-dev
17980 wine_fn_config_makefile libs/port enable_libs_port
17981 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17982 wine_fn_config_makefile libs/wpp enable_libs_wpp
17983 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17984 wine_fn_config_program arp enable_arp install
17985 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17986 wine_fn_config_program attrib enable_attrib install,po
17987 wine_fn_config_program cabarc enable_cabarc install
17988 wine_fn_config_program cacls enable_cacls install
17989 wine_fn_config_program clock enable_clock install,po
17990 wine_fn_config_program cmd enable_cmd install,po
17991 wine_fn_config_test programs/cmd/tests cmd.exe_test
17992 wine_fn_config_program conhost enable_conhost install
17993 wine_fn_config_program control enable_control install
17994 wine_fn_config_program cscript enable_cscript clean,install
17995 wine_fn_config_program dpnsvr enable_dpnsvr install
17996 wine_fn_config_program dxdiag enable_dxdiag install,po
17997 wine_fn_config_program eject enable_eject install
17998 wine_fn_config_program expand enable_expand install
17999 wine_fn_config_program explorer enable_explorer install,po
18000 wine_fn_config_program extrac32 enable_extrac32 install
18001 wine_fn_config_program findstr enable_findstr install
18002 wine_fn_config_program hh enable_hh install
18003 wine_fn_config_program hostname enable_hostname install,po
18004 wine_fn_config_program icinfo enable_icinfo install
18005 wine_fn_config_program iexplore enable_iexplore install
18006 wine_fn_config_program ipconfig enable_ipconfig install,po
18007 wine_fn_config_program lodctr enable_lodctr install
18008 wine_fn_config_program mofcomp enable_mofcomp install
18009 wine_fn_config_program mshta enable_mshta install
18010 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18011 wine_fn_config_program net enable_net install,po
18012 wine_fn_config_program netsh enable_netsh install
18013 wine_fn_config_program netstat enable_netstat install,po
18014 wine_fn_config_program ngen enable_ngen install
18015 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
18016 wine_fn_config_program oleview enable_oleview install,po
18017 wine_fn_config_program ping enable_ping install
18018 wine_fn_config_program plugplay enable_plugplay install
18019 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18020 wine_fn_config_program progman enable_progman install,po
18021 wine_fn_config_program reg enable_reg install,po
18022 wine_fn_config_test programs/reg/tests reg.exe_test
18023 wine_fn_config_program regasm enable_regasm install
18024 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
18025 wine_fn_config_test programs/regedit/tests regedit.exe_test
18026 wine_fn_config_program regsvcs enable_regsvcs install
18027 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
18028 wine_fn_config_program rpcss enable_rpcss clean,install
18029 wine_fn_config_program rundll.exe16 enable_win16 install
18030 wine_fn_config_program rundll32 enable_rundll32 install
18031 wine_fn_config_program sc enable_sc install
18032 wine_fn_config_program schtasks enable_schtasks install
18033 wine_fn_config_program sdbinst enable_sdbinst install
18034 wine_fn_config_program secedit enable_secedit install
18035 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18036 wine_fn_config_program services enable_services clean,install
18037 wine_fn_config_test programs/services/tests services.exe_test
18038 wine_fn_config_program spoolsv enable_spoolsv install
18039 wine_fn_config_program start enable_start install,po
18040 wine_fn_config_program svchost enable_svchost install
18041 wine_fn_config_program systeminfo enable_systeminfo install
18042 wine_fn_config_program taskkill enable_taskkill install,po
18043 wine_fn_config_program tasklist enable_tasklist install
18044 wine_fn_config_program taskmgr enable_taskmgr install,po
18045 wine_fn_config_program termsv enable_termsv install
18046 wine_fn_config_program uninstaller enable_uninstaller install,po
18047 wine_fn_config_program unlodctr enable_unlodctr install
18048 wine_fn_config_program view enable_view install,po
18049 wine_fn_config_program wevtutil enable_wevtutil install
18050 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
18051 wine_fn_config_program winebrowser enable_winebrowser install
18052 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
18053 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
18054 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
18055 wine_fn_config_program winedevice enable_winedevice install
18056 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
18057 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18058 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
18059 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18060 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18061 wine_fn_config_program winetest enable_winetest clean
18062 wine_fn_config_program winevdm enable_win16 install
18063 wine_fn_config_program winhelp.exe16 enable_win16 install
18064 wine_fn_config_program winhlp32 enable_winhlp32 install,po
18065 wine_fn_config_program winoldap.mod16 enable_win16 install
18066 wine_fn_config_program winver enable_winver install
18067 wine_fn_config_program wmic enable_wmic install,po
18068 wine_fn_config_program wordpad enable_wordpad install,po
18069 wine_fn_config_program write enable_write install,po
18070 wine_fn_config_program wscript enable_wscript clean,install
18071 wine_fn_config_test programs/wscript/tests wscript.exe_test
18072 wine_fn_config_program wusa enable_wusa install
18073 wine_fn_config_program xcopy enable_xcopy install,po
18074 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18075 wine_fn_config_makefile server enable_server clean,install-lib,manpage
18076 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
18077 wine_fn_config_tool tools/sfnt2fon clean
18078 wine_fn_config_tool tools/widl clean,install-dev,manpage
18079 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
18080 wine_fn_config_tool tools/winedump clean,install-dev,manpage
18081 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
18082 wine_fn_config_tool tools/wmc clean,install-dev,manpage
18083 wine_fn_config_tool tools/wrc clean,install-dev,manpage
18085 LINGUAS="\
18086 ar \
18087 bg \
18088 ca \
18089 cs \
18090 da \
18091 de \
18092 el \
18093 en \
18094 en_US \
18095 eo \
18096 es \
18097 fa \
18098 fi \
18099 fr \
18100 he \
18101 hi \
18102 hr \
18103 hu \
18104 it \
18105 ja \
18106 ko \
18107 lt \
18108 ml \
18109 nb_NO \
18110 nl \
18111 or \
18112 pa \
18113 pl \
18114 pt_BR \
18115 pt_PT \
18116 rm \
18117 ro \
18118 ru \
18119 sk \
18120 sl \
18121 sr_RS@cyrillic \
18122 sr_RS@latin \
18123 sv \
18124 te \
18125 th \
18126 tr \
18127 uk \
18128 wa \
18129 zh_CN \
18130 zh_TW"
18135 wine_fn_ignore_file ".gitignore"
18136 wine_fn_ignore_file "Makefile"
18137 wine_fn_ignore_file "TAGS"
18138 wine_fn_ignore_file "tags"
18139 wine_fn_ignore_file "autom4te.cache"
18140 wine_fn_ignore_file "config.cache"
18141 wine_fn_ignore_file "config.log"
18142 wine_fn_ignore_file "config.status"
18143 wine_fn_ignore_file "configure.lineno"
18144 wine_fn_ignore_file "include/config.h"
18145 wine_fn_ignore_file "include/stamp-h"
18146 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
18148 if test "x$enable_tools" != xno
18149 then
18150 wine_fn_ignore_file "tools/makedep$ac_exeext"
18151 ac_config_commands="$ac_config_commands tools/makedep"
18155 ac_config_commands="$ac_config_commands Makefile"
18158 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
18162 if test "x$enable_maintainer_mode" = xyes
18163 then
18164 wine_fn_append_rule "configure: configure.ac aclocal.m4
18165 autoconf --warnings=all
18166 include/config.h.in: include/stamp-h.in
18167 include/stamp-h.in: configure.ac aclocal.m4
18168 autoheader --warnings=all
18169 @echo timestamp > \$@"
18172 if test "x$with_gettextpo" = xyes
18173 then
18174 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
18175 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
18176 \$(LINGUAS:%=po/%.po): po/wine.pot
18177 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
18178 po/wine.pot: \$(ALL_POT_FILES)
18179 msgcat -o \$@ \$(ALL_POT_FILES)"
18182 if test "$MSGFMT" != false
18183 then
18184 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
18185 clean::
18186 \$(RM) \$(LINGUAS:%=po/%.mo)"
18188 posrc="po"
18189 test "$srcdir" = . || posrc="$srcdir/po"
18190 for i in $LINGUAS
18192 wine_fn_ignore_file "po/$i.mo"
18193 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
18194 \$(MSGFMT) -o \$@ $posrc/$i.po"
18195 done
18196 else
18197 LINGUAS=
18200 if test "x$enable_tools" != xno
18201 then
18202 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18203 @./config.status tools/makedep
18204 Makefile: tools/makedep$ac_exeext
18205 distclean:: clean
18206 \$(RM) tools/makedep$ac_exeext"
18207 else
18208 wine_fn_append_rule "\$(MAKEDEP):
18209 @echo \"You need to run make in $TOOLSDIR first\" && false"
18212 if test -n "$with_wine64"
18213 then
18214 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18215 fonts server tools:
18216 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18217 $with_wine64/loader/wine:
18218 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18219 $with_wine64/loader/wine-preloader:
18220 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18221 clean::
18222 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18223 else
18224 as_fn_append LOADER_RULES "
18225 install install-lib:: wine.inf install-man-pages
18226 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
18227 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18229 uninstall::
18230 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18234 if test "$srcdir" = .
18235 then
18236 ac_config_commands="$ac_config_commands .gitignore"
18240 $as_echo " done" >&6
18241 cat >confcache <<\_ACEOF
18242 # This file is a shell script that caches the results of configure
18243 # tests run on this system so they can be shared between configure
18244 # scripts and configure runs, see configure's option --config-cache.
18245 # It is not useful on other systems. If it contains results you don't
18246 # want to keep, you may remove or edit it.
18248 # config.status only pays attention to the cache file if you give it
18249 # the --recheck option to rerun configure.
18251 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18252 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18253 # following values.
18255 _ACEOF
18257 # The following way of writing the cache mishandles newlines in values,
18258 # but we know of no workaround that is simple, portable, and efficient.
18259 # So, we kill variables containing newlines.
18260 # Ultrix sh set writes to stderr and can't be redirected directly,
18261 # and sets the high bit in the cache file unless we assign to the vars.
18263 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18264 eval ac_val=\$$ac_var
18265 case $ac_val in #(
18266 *${as_nl}*)
18267 case $ac_var in #(
18268 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18269 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18270 esac
18271 case $ac_var in #(
18272 _ | IFS | as_nl) ;; #(
18273 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18274 *) { eval $ac_var=; unset $ac_var;} ;;
18275 esac ;;
18276 esac
18277 done
18279 (set) 2>&1 |
18280 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18281 *${as_nl}ac_space=\ *)
18282 # `set' does not quote correctly, so add quotes: double-quote
18283 # substitution turns \\\\ into \\, and sed turns \\ into \.
18284 sed -n \
18285 "s/'/'\\\\''/g;
18286 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18287 ;; #(
18289 # `set' quotes correctly as required by POSIX, so do not add quotes.
18290 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18292 esac |
18293 sort
18295 sed '
18296 /^ac_cv_env_/b end
18297 t clear
18298 :clear
18299 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18300 t end
18301 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18302 :end' >>confcache
18303 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18304 if test -w "$cache_file"; then
18305 if test "x$cache_file" != "x/dev/null"; then
18306 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18307 $as_echo "$as_me: updating cache $cache_file" >&6;}
18308 if test ! -f "$cache_file" || test -h "$cache_file"; then
18309 cat confcache >"$cache_file"
18310 else
18311 case $cache_file in #(
18312 */* | ?:*)
18313 mv -f confcache "$cache_file"$$ &&
18314 mv -f "$cache_file"$$ "$cache_file" ;; #(
18316 mv -f confcache "$cache_file" ;;
18317 esac
18320 else
18321 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18322 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18325 rm -f confcache
18327 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18328 # Let make expand exec_prefix.
18329 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18331 DEFS=-DHAVE_CONFIG_H
18333 ac_libobjs=
18334 ac_ltlibobjs=
18336 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18337 # 1. Remove the extension, and $U if already installed.
18338 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18339 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18340 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18341 # will be set to the directory where LIBOBJS objects are built.
18342 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18343 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18344 done
18345 LIBOBJS=$ac_libobjs
18347 LTLIBOBJS=$ac_ltlibobjs
18351 : "${CONFIG_STATUS=./config.status}"
18352 ac_write_fail=0
18353 ac_clean_files_save=$ac_clean_files
18354 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18355 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18356 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18357 as_write_fail=0
18358 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18359 #! $SHELL
18360 # Generated by $as_me.
18361 # Run this file to recreate the current configuration.
18362 # Compiler output produced by configure, useful for debugging
18363 # configure, is in config.log if it exists.
18365 debug=false
18366 ac_cs_recheck=false
18367 ac_cs_silent=false
18369 SHELL=\${CONFIG_SHELL-$SHELL}
18370 export SHELL
18371 _ASEOF
18372 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18373 ## -------------------- ##
18374 ## M4sh Initialization. ##
18375 ## -------------------- ##
18377 # Be more Bourne compatible
18378 DUALCASE=1; export DUALCASE # for MKS sh
18379 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18380 emulate sh
18381 NULLCMD=:
18382 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18383 # is contrary to our usage. Disable this feature.
18384 alias -g '${1+"$@"}'='"$@"'
18385 setopt NO_GLOB_SUBST
18386 else
18387 case `(set -o) 2>/dev/null` in #(
18388 *posix*) :
18389 set -o posix ;; #(
18390 *) :
18392 esac
18396 as_nl='
18398 export as_nl
18399 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18400 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18401 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18402 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18403 # Prefer a ksh shell builtin over an external printf program on Solaris,
18404 # but without wasting forks for bash or zsh.
18405 if test -z "$BASH_VERSION$ZSH_VERSION" \
18406 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18407 as_echo='print -r --'
18408 as_echo_n='print -rn --'
18409 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18410 as_echo='printf %s\n'
18411 as_echo_n='printf %s'
18412 else
18413 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18414 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18415 as_echo_n='/usr/ucb/echo -n'
18416 else
18417 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18418 as_echo_n_body='eval
18419 arg=$1;
18420 case $arg in #(
18421 *"$as_nl"*)
18422 expr "X$arg" : "X\\(.*\\)$as_nl";
18423 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18424 esac;
18425 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18427 export as_echo_n_body
18428 as_echo_n='sh -c $as_echo_n_body as_echo'
18430 export as_echo_body
18431 as_echo='sh -c $as_echo_body as_echo'
18434 # The user is always right.
18435 if test "${PATH_SEPARATOR+set}" != set; then
18436 PATH_SEPARATOR=:
18437 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18438 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18439 PATH_SEPARATOR=';'
18444 # IFS
18445 # We need space, tab and new line, in precisely that order. Quoting is
18446 # there to prevent editors from complaining about space-tab.
18447 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18448 # splitting by setting IFS to empty value.)
18449 IFS=" "" $as_nl"
18451 # Find who we are. Look in the path if we contain no directory separator.
18452 as_myself=
18453 case $0 in #((
18454 *[\\/]* ) as_myself=$0 ;;
18455 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18456 for as_dir in $PATH
18458 IFS=$as_save_IFS
18459 test -z "$as_dir" && as_dir=.
18460 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18461 done
18462 IFS=$as_save_IFS
18465 esac
18466 # We did not find ourselves, most probably we were run as `sh COMMAND'
18467 # in which case we are not to be found in the path.
18468 if test "x$as_myself" = x; then
18469 as_myself=$0
18471 if test ! -f "$as_myself"; then
18472 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18473 exit 1
18476 # Unset variables that we do not need and which cause bugs (e.g. in
18477 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18478 # suppresses any "Segmentation fault" message there. '((' could
18479 # trigger a bug in pdksh 5.2.14.
18480 for as_var in BASH_ENV ENV MAIL MAILPATH
18481 do eval test x\${$as_var+set} = xset \
18482 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18483 done
18484 PS1='$ '
18485 PS2='> '
18486 PS4='+ '
18488 # NLS nuisances.
18489 LC_ALL=C
18490 export LC_ALL
18491 LANGUAGE=C
18492 export LANGUAGE
18494 # CDPATH.
18495 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18498 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18499 # ----------------------------------------
18500 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18501 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18502 # script with STATUS, using 1 if that was 0.
18503 as_fn_error ()
18505 as_status=$1; test $as_status -eq 0 && as_status=1
18506 if test "$4"; then
18507 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18508 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18510 $as_echo "$as_me: error: $2" >&2
18511 as_fn_exit $as_status
18512 } # as_fn_error
18515 # as_fn_set_status STATUS
18516 # -----------------------
18517 # Set $? to STATUS, without forking.
18518 as_fn_set_status ()
18520 return $1
18521 } # as_fn_set_status
18523 # as_fn_exit STATUS
18524 # -----------------
18525 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18526 as_fn_exit ()
18528 set +e
18529 as_fn_set_status $1
18530 exit $1
18531 } # as_fn_exit
18533 # as_fn_unset VAR
18534 # ---------------
18535 # Portably unset VAR.
18536 as_fn_unset ()
18538 { eval $1=; unset $1;}
18540 as_unset=as_fn_unset
18541 # as_fn_append VAR VALUE
18542 # ----------------------
18543 # Append the text in VALUE to the end of the definition contained in VAR. Take
18544 # advantage of any shell optimizations that allow amortized linear growth over
18545 # repeated appends, instead of the typical quadratic growth present in naive
18546 # implementations.
18547 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18548 eval 'as_fn_append ()
18550 eval $1+=\$2
18552 else
18553 as_fn_append ()
18555 eval $1=\$$1\$2
18557 fi # as_fn_append
18559 # as_fn_arith ARG...
18560 # ------------------
18561 # Perform arithmetic evaluation on the ARGs, and store the result in the
18562 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18563 # must be portable across $(()) and expr.
18564 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18565 eval 'as_fn_arith ()
18567 as_val=$(( $* ))
18569 else
18570 as_fn_arith ()
18572 as_val=`expr "$@" || test $? -eq 1`
18574 fi # as_fn_arith
18577 if expr a : '\(a\)' >/dev/null 2>&1 &&
18578 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18579 as_expr=expr
18580 else
18581 as_expr=false
18584 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18585 as_basename=basename
18586 else
18587 as_basename=false
18590 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18591 as_dirname=dirname
18592 else
18593 as_dirname=false
18596 as_me=`$as_basename -- "$0" ||
18597 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18598 X"$0" : 'X\(//\)$' \| \
18599 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18600 $as_echo X/"$0" |
18601 sed '/^.*\/\([^/][^/]*\)\/*$/{
18602 s//\1/
18605 /^X\/\(\/\/\)$/{
18606 s//\1/
18609 /^X\/\(\/\).*/{
18610 s//\1/
18613 s/.*/./; q'`
18615 # Avoid depending upon Character Ranges.
18616 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18617 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18618 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18619 as_cr_digits='0123456789'
18620 as_cr_alnum=$as_cr_Letters$as_cr_digits
18622 ECHO_C= ECHO_N= ECHO_T=
18623 case `echo -n x` in #(((((
18624 -n*)
18625 case `echo 'xy\c'` in
18626 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18627 xy) ECHO_C='\c';;
18628 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18629 ECHO_T=' ';;
18630 esac;;
18632 ECHO_N='-n';;
18633 esac
18635 rm -f conf$$ conf$$.exe conf$$.file
18636 if test -d conf$$.dir; then
18637 rm -f conf$$.dir/conf$$.file
18638 else
18639 rm -f conf$$.dir
18640 mkdir conf$$.dir 2>/dev/null
18642 if (echo >conf$$.file) 2>/dev/null; then
18643 if ln -s conf$$.file conf$$ 2>/dev/null; then
18644 as_ln_s='ln -s'
18645 # ... but there are two gotchas:
18646 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18647 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18648 # In both cases, we have to default to `cp -pR'.
18649 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18650 as_ln_s='cp -pR'
18651 elif ln conf$$.file conf$$ 2>/dev/null; then
18652 as_ln_s=ln
18653 else
18654 as_ln_s='cp -pR'
18656 else
18657 as_ln_s='cp -pR'
18659 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18660 rmdir conf$$.dir 2>/dev/null
18663 # as_fn_mkdir_p
18664 # -------------
18665 # Create "$as_dir" as a directory, including parents if necessary.
18666 as_fn_mkdir_p ()
18669 case $as_dir in #(
18670 -*) as_dir=./$as_dir;;
18671 esac
18672 test -d "$as_dir" || eval $as_mkdir_p || {
18673 as_dirs=
18674 while :; do
18675 case $as_dir in #(
18676 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18677 *) as_qdir=$as_dir;;
18678 esac
18679 as_dirs="'$as_qdir' $as_dirs"
18680 as_dir=`$as_dirname -- "$as_dir" ||
18681 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18682 X"$as_dir" : 'X\(//\)[^/]' \| \
18683 X"$as_dir" : 'X\(//\)$' \| \
18684 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18685 $as_echo X"$as_dir" |
18686 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18687 s//\1/
18690 /^X\(\/\/\)[^/].*/{
18691 s//\1/
18694 /^X\(\/\/\)$/{
18695 s//\1/
18698 /^X\(\/\).*/{
18699 s//\1/
18702 s/.*/./; q'`
18703 test -d "$as_dir" && break
18704 done
18705 test -z "$as_dirs" || eval "mkdir $as_dirs"
18706 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18709 } # as_fn_mkdir_p
18710 if mkdir -p . 2>/dev/null; then
18711 as_mkdir_p='mkdir -p "$as_dir"'
18712 else
18713 test -d ./-p && rmdir ./-p
18714 as_mkdir_p=false
18718 # as_fn_executable_p FILE
18719 # -----------------------
18720 # Test if FILE is an executable regular file.
18721 as_fn_executable_p ()
18723 test -f "$1" && test -x "$1"
18724 } # as_fn_executable_p
18725 as_test_x='test -x'
18726 as_executable_p=as_fn_executable_p
18728 # Sed expression to map a string onto a valid CPP name.
18729 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18731 # Sed expression to map a string onto a valid variable name.
18732 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18735 exec 6>&1
18736 ## ----------------------------------- ##
18737 ## Main body of $CONFIG_STATUS script. ##
18738 ## ----------------------------------- ##
18739 _ASEOF
18740 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18742 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18743 # Save the log message, to keep $0 and so on meaningful, and to
18744 # report actual input values of CONFIG_FILES etc. instead of their
18745 # values after options handling.
18746 ac_log="
18747 This file was extended by Wine $as_me 1.7.52, which was
18748 generated by GNU Autoconf 2.69. Invocation command line was
18750 CONFIG_FILES = $CONFIG_FILES
18751 CONFIG_HEADERS = $CONFIG_HEADERS
18752 CONFIG_LINKS = $CONFIG_LINKS
18753 CONFIG_COMMANDS = $CONFIG_COMMANDS
18754 $ $0 $@
18756 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18759 _ACEOF
18761 case $ac_config_files in *"
18762 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18763 esac
18765 case $ac_config_headers in *"
18766 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18767 esac
18770 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18771 # Files that config.status was made for.
18772 config_files="$ac_config_files"
18773 config_headers="$ac_config_headers"
18774 config_links="$ac_config_links"
18775 config_commands="$ac_config_commands"
18777 _ACEOF
18779 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18780 ac_cs_usage="\
18781 \`$as_me' instantiates files and other configuration actions
18782 from templates according to the current configuration. Unless the files
18783 and actions are specified as TAGs, all are instantiated by default.
18785 Usage: $0 [OPTION]... [TAG]...
18787 -h, --help print this help, then exit
18788 -V, --version print version number and configuration settings, then exit
18789 --config print configuration, then exit
18790 -q, --quiet, --silent
18791 do not print progress messages
18792 -d, --debug don't remove temporary files
18793 --recheck update $as_me by reconfiguring in the same conditions
18794 --file=FILE[:TEMPLATE]
18795 instantiate the configuration file FILE
18796 --header=FILE[:TEMPLATE]
18797 instantiate the configuration header FILE
18799 Configuration files:
18800 $config_files
18802 Configuration headers:
18803 $config_headers
18805 Configuration links:
18806 $config_links
18808 Configuration commands:
18809 $config_commands
18811 Report bugs to <wine-devel@winehq.org>.
18812 Wine home page: <http://www.winehq.org>."
18814 _ACEOF
18815 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18816 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18817 ac_cs_version="\\
18818 Wine config.status 1.7.52
18819 configured by $0, generated by GNU Autoconf 2.69,
18820 with options \\"\$ac_cs_config\\"
18822 Copyright (C) 2012 Free Software Foundation, Inc.
18823 This config.status script is free software; the Free Software Foundation
18824 gives unlimited permission to copy, distribute and modify it."
18826 ac_pwd='$ac_pwd'
18827 srcdir='$srcdir'
18828 test -n "\$AWK" || AWK=awk
18829 _ACEOF
18831 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18832 # The default lists apply if the user does not specify any file.
18833 ac_need_defaults=:
18834 while test $# != 0
18836 case $1 in
18837 --*=?*)
18838 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18839 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18840 ac_shift=:
18842 --*=)
18843 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18844 ac_optarg=
18845 ac_shift=:
18848 ac_option=$1
18849 ac_optarg=$2
18850 ac_shift=shift
18852 esac
18854 case $ac_option in
18855 # Handling of the options.
18856 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18857 ac_cs_recheck=: ;;
18858 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18859 $as_echo "$ac_cs_version"; exit ;;
18860 --config | --confi | --conf | --con | --co | --c )
18861 $as_echo "$ac_cs_config"; exit ;;
18862 --debug | --debu | --deb | --de | --d | -d )
18863 debug=: ;;
18864 --file | --fil | --fi | --f )
18865 $ac_shift
18866 case $ac_optarg in
18867 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18868 '') as_fn_error $? "missing file argument" ;;
18869 esac
18870 as_fn_append CONFIG_FILES " '$ac_optarg'"
18871 ac_need_defaults=false;;
18872 --header | --heade | --head | --hea )
18873 $ac_shift
18874 case $ac_optarg in
18875 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18876 esac
18877 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18878 ac_need_defaults=false;;
18879 --he | --h)
18880 # Conflict between --help and --header
18881 as_fn_error $? "ambiguous option: \`$1'
18882 Try \`$0 --help' for more information.";;
18883 --help | --hel | -h )
18884 $as_echo "$ac_cs_usage"; exit ;;
18885 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18886 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18887 ac_cs_silent=: ;;
18889 # This is an error.
18890 -*) as_fn_error $? "unrecognized option: \`$1'
18891 Try \`$0 --help' for more information." ;;
18893 *) as_fn_append ac_config_targets " $1"
18894 ac_need_defaults=false ;;
18896 esac
18897 shift
18898 done
18900 ac_configure_extra_args=
18902 if $ac_cs_silent; then
18903 exec 6>/dev/null
18904 ac_configure_extra_args="$ac_configure_extra_args --silent"
18907 _ACEOF
18908 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18909 if \$ac_cs_recheck; then
18910 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18911 shift
18912 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18913 CONFIG_SHELL='$SHELL'
18914 export CONFIG_SHELL
18915 exec "\$@"
18918 _ACEOF
18919 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18920 exec 5>>config.log
18922 echo
18923 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18924 ## Running $as_me. ##
18925 _ASBOX
18926 $as_echo "$ac_log"
18927 } >&5
18929 _ACEOF
18930 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18932 # INIT-COMMANDS
18934 wine_fn_output_makedep ()
18936 as_dir=tools; as_fn_mkdir_p
18937 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18939 wine_fn_output_makefile ()
18941 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18942 `cat $wine_rules_file`
18943 _WINE_EOF
18944 as_fn_error $? "could not create Makefile" "$LINENO" 5
18946 wine_fn_output_gitignore ()
18948 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18949 $GITIGNORE
18950 _WINE_EOF
18951 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18954 _ACEOF
18956 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18958 # Handling of arguments.
18959 for ac_config_target in $ac_config_targets
18961 case $ac_config_target in
18962 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18963 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18964 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18965 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18966 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18967 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18968 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
18969 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18970 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18971 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18972 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18973 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18974 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18975 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18976 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18978 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18979 esac
18980 done
18983 # If the user did not use the arguments to specify the items to instantiate,
18984 # then the envvar interface is used. Set only those that are not.
18985 # We use the long form for the default assignment because of an extremely
18986 # bizarre bug on SunOS 4.1.3.
18987 if $ac_need_defaults; then
18988 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18989 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18990 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18991 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18994 # Have a temporary directory for convenience. Make it in the build tree
18995 # simply because there is no reason against having it here, and in addition,
18996 # creating and moving files from /tmp can sometimes cause problems.
18997 # Hook for its removal unless debugging.
18998 # Note that there is a small window in which the directory will not be cleaned:
18999 # after its creation but before its name has been assigned to `$tmp'.
19000 $debug ||
19002 tmp= ac_tmp=
19003 trap 'exit_status=$?
19004 : "${ac_tmp:=$tmp}"
19005 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19007 trap 'as_fn_exit 1' 1 2 13 15
19009 # Create a (secure) tmp directory for tmp files.
19012 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19013 test -d "$tmp"
19014 } ||
19016 tmp=./conf$$-$RANDOM
19017 (umask 077 && mkdir "$tmp")
19018 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19019 ac_tmp=$tmp
19021 # Set up the scripts for CONFIG_FILES section.
19022 # No need to generate them if there are no CONFIG_FILES.
19023 # This happens for instance with `./config.status config.h'.
19024 if test -n "$CONFIG_FILES"; then
19027 ac_cr=`echo X | tr X '\015'`
19028 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19029 # But we know of no other shell where ac_cr would be empty at this
19030 # point, so we can use a bashism as a fallback.
19031 if test "x$ac_cr" = x; then
19032 eval ac_cr=\$\'\\r\'
19034 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19035 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19036 ac_cs_awk_cr='\\r'
19037 else
19038 ac_cs_awk_cr=$ac_cr
19041 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19042 _ACEOF
19046 echo "cat >conf$$subs.awk <<_ACEOF" &&
19047 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19048 echo "_ACEOF"
19049 } >conf$$subs.sh ||
19050 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19051 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19052 ac_delim='%!_!# '
19053 for ac_last_try in false false false false false :; do
19054 . ./conf$$subs.sh ||
19055 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19057 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19058 if test $ac_delim_n = $ac_delim_num; then
19059 break
19060 elif $ac_last_try; then
19061 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19062 else
19063 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19065 done
19066 rm -f conf$$subs.sh
19068 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19069 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19070 _ACEOF
19071 sed -n '
19073 s/^/S["/; s/!.*/"]=/
19076 s/^[^!]*!//
19077 :repl
19078 t repl
19079 s/'"$ac_delim"'$//
19080 t delim
19083 s/\(.\{148\}\)..*/\1/
19084 t more1
19085 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19088 b repl
19089 :more1
19090 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19093 s/.\{148\}//
19094 t nl
19095 :delim
19097 s/\(.\{148\}\)..*/\1/
19098 t more2
19099 s/["\\]/\\&/g; s/^/"/; s/$/"/
19102 :more2
19103 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19106 s/.\{148\}//
19107 t delim
19108 ' <conf$$subs.awk | sed '
19109 /^[^""]/{
19111 s/\n//
19113 ' >>$CONFIG_STATUS || ac_write_fail=1
19114 rm -f conf$$subs.awk
19115 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19116 _ACAWK
19117 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19118 for (key in S) S_is_set[key] = 1
19119 FS = "\a"
19123 line = $ 0
19124 nfields = split(line, field, "@")
19125 substed = 0
19126 len = length(field[1])
19127 for (i = 2; i < nfields; i++) {
19128 key = field[i]
19129 keylen = length(key)
19130 if (S_is_set[key]) {
19131 value = S[key]
19132 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19133 len += length(value) + length(field[++i])
19134 substed = 1
19135 } else
19136 len += 1 + keylen
19139 print line
19142 _ACAWK
19143 _ACEOF
19144 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19145 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19146 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19147 else
19149 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19150 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19151 _ACEOF
19153 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19154 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19155 # trailing colons and then remove the whole line if VPATH becomes empty
19156 # (actually we leave an empty line to preserve line numbers).
19157 if test "x$srcdir" = x.; then
19158 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19160 s///
19161 s/^/:/
19162 s/[ ]*$/:/
19163 s/:\$(srcdir):/:/g
19164 s/:\${srcdir}:/:/g
19165 s/:@srcdir@:/:/g
19166 s/^:*//
19167 s/:*$//
19169 s/\(=[ ]*\).*/\1/
19171 s/\n//
19172 s/^[^=]*=[ ]*$//
19176 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19177 fi # test -n "$CONFIG_FILES"
19179 # Set up the scripts for CONFIG_HEADERS section.
19180 # No need to generate them if there are no CONFIG_HEADERS.
19181 # This happens for instance with `./config.status Makefile'.
19182 if test -n "$CONFIG_HEADERS"; then
19183 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19184 BEGIN {
19185 _ACEOF
19187 # Transform confdefs.h into an awk script `defines.awk', embedded as
19188 # here-document in config.status, that substitutes the proper values into
19189 # config.h.in to produce config.h.
19191 # Create a delimiter string that does not exist in confdefs.h, to ease
19192 # handling of long lines.
19193 ac_delim='%!_!# '
19194 for ac_last_try in false false :; do
19195 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19196 if test -z "$ac_tt"; then
19197 break
19198 elif $ac_last_try; then
19199 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19200 else
19201 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19203 done
19205 # For the awk script, D is an array of macro values keyed by name,
19206 # likewise P contains macro parameters if any. Preserve backslash
19207 # newline sequences.
19209 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19210 sed -n '
19211 s/.\{148\}/&'"$ac_delim"'/g
19212 t rset
19213 :rset
19214 s/^[ ]*#[ ]*define[ ][ ]*/ /
19215 t def
19217 :def
19218 s/\\$//
19219 t bsnl
19220 s/["\\]/\\&/g
19221 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19222 D["\1"]=" \3"/p
19223 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19225 :bsnl
19226 s/["\\]/\\&/g
19227 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19228 D["\1"]=" \3\\\\\\n"\\/p
19229 t cont
19230 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19231 t cont
19233 :cont
19235 s/.\{148\}/&'"$ac_delim"'/g
19236 t clear
19237 :clear
19238 s/\\$//
19239 t bsnlc
19240 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19242 :bsnlc
19243 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19244 b cont
19245 ' <confdefs.h | sed '
19246 s/'"$ac_delim"'/"\\\
19247 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19249 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19250 for (key in D) D_is_set[key] = 1
19251 FS = "\a"
19253 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19254 line = \$ 0
19255 split(line, arg, " ")
19256 if (arg[1] == "#") {
19257 defundef = arg[2]
19258 mac1 = arg[3]
19259 } else {
19260 defundef = substr(arg[1], 2)
19261 mac1 = arg[2]
19263 split(mac1, mac2, "(") #)
19264 macro = mac2[1]
19265 prefix = substr(line, 1, index(line, defundef) - 1)
19266 if (D_is_set[macro]) {
19267 # Preserve the white space surrounding the "#".
19268 print prefix "define", macro P[macro] D[macro]
19269 next
19270 } else {
19271 # Replace #undef with comments. This is necessary, for example,
19272 # in the case of _POSIX_SOURCE, which is predefined and required
19273 # on some systems where configure will not decide to define it.
19274 if (defundef == "undef") {
19275 print "/*", prefix defundef, macro, "*/"
19276 next
19280 { print }
19281 _ACAWK
19282 _ACEOF
19283 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19284 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19285 fi # test -n "$CONFIG_HEADERS"
19288 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19289 shift
19290 for ac_tag
19292 case $ac_tag in
19293 :[FHLC]) ac_mode=$ac_tag; continue;;
19294 esac
19295 case $ac_mode$ac_tag in
19296 :[FHL]*:*);;
19297 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19298 :[FH]-) ac_tag=-:-;;
19299 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19300 esac
19301 ac_save_IFS=$IFS
19302 IFS=:
19303 set x $ac_tag
19304 IFS=$ac_save_IFS
19305 shift
19306 ac_file=$1
19307 shift
19309 case $ac_mode in
19310 :L) ac_source=$1;;
19311 :[FH])
19312 ac_file_inputs=
19313 for ac_f
19315 case $ac_f in
19316 -) ac_f="$ac_tmp/stdin";;
19317 *) # Look for the file first in the build tree, then in the source tree
19318 # (if the path is not absolute). The absolute path cannot be DOS-style,
19319 # because $ac_f cannot contain `:'.
19320 test -f "$ac_f" ||
19321 case $ac_f in
19322 [\\/$]*) false;;
19323 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19324 esac ||
19325 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19326 esac
19327 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19328 as_fn_append ac_file_inputs " '$ac_f'"
19329 done
19331 # Let's still pretend it is `configure' which instantiates (i.e., don't
19332 # use $as_me), people would be surprised to read:
19333 # /* config.h. Generated by config.status. */
19334 configure_input='Generated from '`
19335 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19336 `' by configure.'
19337 if test x"$ac_file" != x-; then
19338 configure_input="$ac_file. $configure_input"
19339 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19340 $as_echo "$as_me: creating $ac_file" >&6;}
19342 # Neutralize special characters interpreted by sed in replacement strings.
19343 case $configure_input in #(
19344 *\&* | *\|* | *\\* )
19345 ac_sed_conf_input=`$as_echo "$configure_input" |
19346 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19347 *) ac_sed_conf_input=$configure_input;;
19348 esac
19350 case $ac_tag in
19351 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19352 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19353 esac
19355 esac
19357 ac_dir=`$as_dirname -- "$ac_file" ||
19358 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19359 X"$ac_file" : 'X\(//\)[^/]' \| \
19360 X"$ac_file" : 'X\(//\)$' \| \
19361 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19362 $as_echo X"$ac_file" |
19363 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19364 s//\1/
19367 /^X\(\/\/\)[^/].*/{
19368 s//\1/
19371 /^X\(\/\/\)$/{
19372 s//\1/
19375 /^X\(\/\).*/{
19376 s//\1/
19379 s/.*/./; q'`
19380 as_dir="$ac_dir"; as_fn_mkdir_p
19381 ac_builddir=.
19383 case "$ac_dir" in
19384 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19386 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19387 # A ".." for each directory in $ac_dir_suffix.
19388 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19389 case $ac_top_builddir_sub in
19390 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19391 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19392 esac ;;
19393 esac
19394 ac_abs_top_builddir=$ac_pwd
19395 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19396 # for backward compatibility:
19397 ac_top_builddir=$ac_top_build_prefix
19399 case $srcdir in
19400 .) # We are building in place.
19401 ac_srcdir=.
19402 ac_top_srcdir=$ac_top_builddir_sub
19403 ac_abs_top_srcdir=$ac_pwd ;;
19404 [\\/]* | ?:[\\/]* ) # Absolute name.
19405 ac_srcdir=$srcdir$ac_dir_suffix;
19406 ac_top_srcdir=$srcdir
19407 ac_abs_top_srcdir=$srcdir ;;
19408 *) # Relative name.
19409 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19410 ac_top_srcdir=$ac_top_build_prefix$srcdir
19411 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19412 esac
19413 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19416 case $ac_mode in
19419 # CONFIG_FILE
19422 _ACEOF
19424 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19425 # If the template does not know about datarootdir, expand it.
19426 # FIXME: This hack should be removed a few years after 2.60.
19427 ac_datarootdir_hack=; ac_datarootdir_seen=
19428 ac_sed_dataroot='
19429 /datarootdir/ {
19433 /@datadir@/p
19434 /@docdir@/p
19435 /@infodir@/p
19436 /@localedir@/p
19437 /@mandir@/p'
19438 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19439 *datarootdir*) ac_datarootdir_seen=yes;;
19440 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19442 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19443 _ACEOF
19444 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19445 ac_datarootdir_hack='
19446 s&@datadir@&$datadir&g
19447 s&@docdir@&$docdir&g
19448 s&@infodir@&$infodir&g
19449 s&@localedir@&$localedir&g
19450 s&@mandir@&$mandir&g
19451 s&\\\${datarootdir}&$datarootdir&g' ;;
19452 esac
19453 _ACEOF
19455 # Neutralize VPATH when `$srcdir' = `.'.
19456 # Shell code in configure.ac might set extrasub.
19457 # FIXME: do we really want to maintain this feature?
19458 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19459 ac_sed_extra="$ac_vpsub
19460 $extrasub
19461 _ACEOF
19462 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19464 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19465 s|@configure_input@|$ac_sed_conf_input|;t t
19466 s&@top_builddir@&$ac_top_builddir_sub&;t t
19467 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19468 s&@srcdir@&$ac_srcdir&;t t
19469 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19470 s&@top_srcdir@&$ac_top_srcdir&;t t
19471 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19472 s&@builddir@&$ac_builddir&;t t
19473 s&@abs_builddir@&$ac_abs_builddir&;t t
19474 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19475 $ac_datarootdir_hack
19477 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19478 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19480 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19481 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19482 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19483 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19485 which seems to be undefined. Please make sure it is defined" >&5
19486 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19487 which seems to be undefined. Please make sure it is defined" >&2;}
19489 rm -f "$ac_tmp/stdin"
19490 case $ac_file in
19491 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19492 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19493 esac \
19494 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19498 # CONFIG_HEADER
19500 if test x"$ac_file" != x-; then
19502 $as_echo "/* $configure_input */" \
19503 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19504 } >"$ac_tmp/config.h" \
19505 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19506 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19507 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19508 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19509 else
19510 rm -f "$ac_file"
19511 mv "$ac_tmp/config.h" "$ac_file" \
19512 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19514 else
19515 $as_echo "/* $configure_input */" \
19516 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19517 || as_fn_error $? "could not create -" "$LINENO" 5
19522 # CONFIG_LINK
19525 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19527 else
19528 # Prefer the file from the source tree if names are identical.
19529 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19530 ac_source=$srcdir/$ac_source
19533 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19534 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19536 if test ! -r "$ac_source"; then
19537 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19539 rm -f "$ac_file"
19541 # Try a relative symlink, then a hard link, then a copy.
19542 case $ac_source in
19543 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19544 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19545 esac
19546 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19547 ln "$ac_source" "$ac_file" 2>/dev/null ||
19548 cp -p "$ac_source" "$ac_file" ||
19549 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19552 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19553 $as_echo "$as_me: executing $ac_file commands" >&6;}
19555 esac
19558 case $ac_file$ac_mode in
19559 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19560 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19561 "Makefile":C) wine_fn_output_makefile Makefile ;;
19562 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19564 esac
19565 done # for ac_tag
19568 as_fn_exit 0
19569 _ACEOF
19570 ac_clean_files=$ac_clean_files_save
19572 test $ac_write_fail = 0 ||
19573 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19576 # configure is writing to config.log, and then calls config.status.
19577 # config.status does its own redirection, appending to config.log.
19578 # Unfortunately, on DOS this fails, as config.log is still kept open
19579 # by configure, so config.status won't be able to write to it; its
19580 # output is simply discarded. So we exec the FD to /dev/null,
19581 # effectively closing config.log, so it can be properly (re)opened and
19582 # appended to by config.status. When coming back to configure, we
19583 # need to make the FD available again.
19584 if test "$no_create" != yes; then
19585 ac_cs_success=:
19586 ac_config_status_args=
19587 test "$silent" = yes &&
19588 ac_config_status_args="$ac_config_status_args --quiet"
19589 exec 5>/dev/null
19590 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19591 exec 5>>config.log
19592 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19593 # would make configure fail if this is the last instruction.
19594 $ac_cs_success || as_fn_exit 1
19596 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19598 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19602 if test "$no_create" = "yes"
19603 then
19604 exit 0
19607 ac_save_IFS="$IFS"
19608 if test "x$wine_notices != "x; then
19609 echo >&6
19610 IFS="|"
19611 for msg in $wine_notices; do
19612 IFS="$ac_save_IFS"
19613 if ${msg:+false} :; then :
19615 else
19616 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19617 $as_echo "$as_me: $msg" >&6;}
19619 done
19621 IFS="|"
19622 for msg in $wine_warnings; do
19623 IFS="$ac_save_IFS"
19624 if ${msg:+false} :; then :
19626 else
19627 echo >&2
19628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19629 $as_echo "$as_me: WARNING: $msg" >&2;}
19631 done
19632 IFS="$ac_save_IFS"
19634 $as_echo "
19635 $as_me: Finished. Do '${ac_make}' to compile Wine.
19636 " >&6