bcrypt: Support retrieving hash length from algorithm handles.
[wine.git] / configure
bloba17ad55a7ce156409992a22811c7864fa8698655
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.1.
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.9.1'
584 PACKAGE_STRING='Wine 1.9.1'
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 WINELOADER_INSTALL
628 LINGUAS
629 ALL_VARS_RULES
630 LDAP_LIBS
631 RT_LIBS
632 POLL_LIBS
633 DL_LIBS
634 TOOLSEXT
635 UNWINDFLAGS
636 EXCESS_PRECISION_CFLAGS
637 BUILTINFLAG
638 EXTRACFLAGS
639 PROCSTAT_LIBS
640 KSTAT_LIBS
641 MPG123_LIBS
642 MPG123_CFLAGS
643 TIFF_LIBS
644 TIFF_CFLAGS
645 PNG_LIBS
646 PNG_CFLAGS
647 JPEG_LIBS
648 JPEG_CFLAGS
649 FONTCONFIG_LIBS
650 FONTCONFIG_CFLAGS
651 CUPS_CFLAGS
652 CAPI20_LIBS
653 CAPI20_CFLAGS
654 OSS4_CFLAGS
655 ALSA_LIBS
656 GSTREAMER_LIBS
657 GSTREAMER_CFLAGS
658 PULSE_LIBS
659 PULSE_CFLAGS
660 GETTEXTPO_LIBS
661 Z_LIBS
662 FREETYPE_LIBS
663 FREETYPE_CFLAGS
664 LCMS2_LIBS
665 LCMS2_CFLAGS
666 RESOLV_LIBS
667 GPHOTO2_PORT_LIBS
668 GPHOTO2_PORT_CFLAGS
669 GPHOTO2_LIBS
670 GPHOTO2_CFLAGS
671 SANE_LIBS
672 SANE_CFLAGS
673 GNUTLS_LIBS
674 GNUTLS_CFLAGS
675 HAL_LIBS
676 HAL_CFLAGS
677 DBUS_LIBS
678 DBUS_CFLAGS
679 XSLT_LIBS
680 XSLT_CFLAGS
681 XML2_LIBS
682 XML2_CFLAGS
683 PCAP_LIBS
684 X_EXTRA_LIBS
685 X_LIBS
686 X_PRE_LIBS
687 X_CFLAGS
688 XMKMF
689 PTHREAD_LIBS
690 CROSSCC
691 CROSSTARGET
692 PRELINK
693 WINELOADER_DEPENDS
694 CARBON_LIBS
695 QUICKTIME_LIBS
696 OPENCL_LIBS
697 OPENAL_LIBS
698 COREAUDIO_LIBS
699 SECURITY_LIBS
700 DISKARBITRATION_LIBS
701 APPKIT_LIBS
702 CORESERVICES_LIBS
703 APPLICATIONSERVICES_LIBS
704 FORCEFEEDBACK_LIBS
705 IOKIT_LIBS
706 COREFOUNDATION_LIBS
707 LIBWINE_DEPENDS
708 LIBWINE_LDFLAGS
709 LIBWINE_INSTALL_DEV
710 LIBWINE_INSTALL_LIB
711 LIBWINE_IMPORTLIB
712 LIBWINE_SHAREDLIB
713 SOCKET_LIBS
714 DLLTOOL
715 WINELOADER_PROGRAMS
716 ALL_TEST_RESOURCES
717 SUBDIRS
718 READELF
719 OTOOL
721 LDEXECFLAGS
722 LDRPATH_LOCAL
723 LDRPATH_INSTALL
724 DLLFLAGS
725 dlldir
727 OPENGL_LIBS
728 ICOTOOL
729 CONVERT
730 RSVG
731 FONTFORGE
732 PKG_CONFIG
733 MSGFMT
734 LDCONFIG
735 EGREP
736 GREP
737 LN_S
738 RANLIB
739 ARFLAGS
740 STRIP
741 ac_ct_AR
743 BISON
744 FLEX
745 TOOLSDIR
746 TARGETFLAGS
748 CPPBIN
749 ac_ct_CXX
750 CXXFLAGS
752 OBJEXT
753 EXEEXT
754 ac_ct_CC
755 CPPFLAGS
756 LDFLAGS
757 CFLAGS
759 SET_MAKE
760 host_os
761 host_vendor
762 host_cpu
763 host
764 build_os
765 build_vendor
766 build_cpu
767 build
768 target_alias
769 host_alias
770 build_alias
771 LIBS
772 ECHO_T
773 ECHO_N
774 ECHO_C
775 DEFS
776 mandir
777 localedir
778 libdir
779 psdir
780 pdfdir
781 dvidir
782 htmldir
783 infodir
784 docdir
785 oldincludedir
786 includedir
787 runstatedir
788 localstatedir
789 sharedstatedir
790 sysconfdir
791 datadir
792 datarootdir
793 libexecdir
794 sbindir
795 bindir
796 program_transform_name
797 prefix
798 exec_prefix
799 PACKAGE_URL
800 PACKAGE_BUGREPORT
801 PACKAGE_STRING
802 PACKAGE_VERSION
803 PACKAGE_TARNAME
804 PACKAGE_NAME
805 PATH_SEPARATOR
806 SHELL'
807 ac_subst_files=''
808 ac_user_opts='
809 enable_option_checking
810 enable_win16
811 enable_win64
812 enable_tests
813 enable_maintainer_mode
814 with_alsa
815 with_capi
816 with_cms
817 with_coreaudio
818 with_cups
819 with_curses
820 with_dbus
821 with_fontconfig
822 with_freetype
823 with_gettext
824 with_gettextpo
825 with_gphoto
826 with_glu
827 with_gnutls
828 with_gsm
829 with_gstreamer
830 with_hal
831 with_jpeg
832 with_ldap
833 with_mpg123
834 with_netapi
835 with_openal
836 with_opencl
837 with_opengl
838 with_osmesa
839 with_oss
840 with_pcap
841 with_png
842 with_pthread
843 with_pulse
844 with_sane
845 with_tiff
846 with_v4l
847 with_xcomposite
848 with_xcursor
849 with_xinerama
850 with_xinput
851 with_xinput2
852 with_xml
853 with_xrandr
854 with_xrender
855 with_xshape
856 with_xshm
857 with_xslt
858 with_xxf86vm
859 with_zlib
860 with_wine_tools
861 with_wine64
862 enable_largefile
863 with_x
864 enable_acledit
865 enable_aclui
866 enable_activeds
867 enable_actxprxy
868 enable_advapi32
869 enable_advpack
870 enable_amstream
871 enable_api_ms_win_core_com_l1_1_0
872 enable_api_ms_win_core_console_l1_1_0
873 enable_api_ms_win_core_datetime_l1_1_0
874 enable_api_ms_win_core_datetime_l1_1_1
875 enable_api_ms_win_core_debug_l1_1_0
876 enable_api_ms_win_core_debug_l1_1_1
877 enable_api_ms_win_core_errorhandling_l1_1_0
878 enable_api_ms_win_core_errorhandling_l1_1_1
879 enable_api_ms_win_core_errorhandling_l1_1_2
880 enable_api_ms_win_core_fibers_l1_1_0
881 enable_api_ms_win_core_fibers_l1_1_1
882 enable_api_ms_win_core_file_l1_1_0
883 enable_api_ms_win_core_file_l1_2_0
884 enable_api_ms_win_core_file_l2_1_0
885 enable_api_ms_win_core_file_l2_1_1
886 enable_api_ms_win_core_handle_l1_1_0
887 enable_api_ms_win_core_heap_l1_1_0
888 enable_api_ms_win_core_heap_l1_2_0
889 enable_api_ms_win_core_heap_obsolete_l1_1_0
890 enable_api_ms_win_core_interlocked_l1_1_0
891 enable_api_ms_win_core_interlocked_l1_2_0
892 enable_api_ms_win_core_io_l1_1_1
893 enable_api_ms_win_core_kernel32_legacy_l1_1_0
894 enable_api_ms_win_core_libraryloader_l1_1_0
895 enable_api_ms_win_core_libraryloader_l1_1_1
896 enable_api_ms_win_core_localization_l1_2_0
897 enable_api_ms_win_core_localization_l1_2_1
898 enable_api_ms_win_core_localization_obsolete_l1_1_0
899 enable_api_ms_win_core_localregistry_l1_1_0
900 enable_api_ms_win_core_memory_l1_1_0
901 enable_api_ms_win_core_memory_l1_1_1
902 enable_api_ms_win_core_misc_l1_1_0
903 enable_api_ms_win_core_namedpipe_l1_1_0
904 enable_api_ms_win_core_namedpipe_l1_2_0
905 enable_api_ms_win_core_path_l1_1_0
906 enable_api_ms_win_core_processenvironment_l1_1_0
907 enable_api_ms_win_core_processenvironment_l1_2_0
908 enable_api_ms_win_core_processthreads_l1_1_0
909 enable_api_ms_win_core_processthreads_l1_1_1
910 enable_api_ms_win_core_processthreads_l1_1_2
911 enable_api_ms_win_core_profile_l1_1_0
912 enable_api_ms_win_core_psapi_l1_1_0
913 enable_api_ms_win_core_registry_l1_1_0
914 enable_api_ms_win_core_rtlsupport_l1_1_0
915 enable_api_ms_win_core_rtlsupport_l1_2_0
916 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
917 enable_api_ms_win_core_string_l1_1_0
918 enable_api_ms_win_core_synch_l1_1_0
919 enable_api_ms_win_core_synch_l1_2_0
920 enable_api_ms_win_core_sysinfo_l1_1_0
921 enable_api_ms_win_core_sysinfo_l1_2_0
922 enable_api_ms_win_core_sysinfo_l1_2_1
923 enable_api_ms_win_core_threadpool_legacy_l1_1_0
924 enable_api_ms_win_core_timezone_l1_1_0
925 enable_api_ms_win_core_url_l1_1_0
926 enable_api_ms_win_core_util_l1_1_0
927 enable_api_ms_win_core_winrt_error_l1_1_0
928 enable_api_ms_win_core_winrt_error_l1_1_1
929 enable_api_ms_win_core_winrt_l1_1_0
930 enable_api_ms_win_core_winrt_string_l1_1_0
931 enable_api_ms_win_core_xstate_l2_1_0
932 enable_api_ms_win_crt_conio_l1_1_0
933 enable_api_ms_win_crt_convert_l1_1_0
934 enable_api_ms_win_crt_environment_l1_1_0
935 enable_api_ms_win_crt_filesystem_l1_1_0
936 enable_api_ms_win_crt_heap_l1_1_0
937 enable_api_ms_win_crt_locale_l1_1_0
938 enable_api_ms_win_crt_math_l1_1_0
939 enable_api_ms_win_crt_multibyte_l1_1_0
940 enable_api_ms_win_crt_private_l1_1_0
941 enable_api_ms_win_crt_process_l1_1_0
942 enable_api_ms_win_crt_runtime_l1_1_0
943 enable_api_ms_win_crt_stdio_l1_1_0
944 enable_api_ms_win_crt_string_l1_1_0
945 enable_api_ms_win_crt_time_l1_1_0
946 enable_api_ms_win_crt_utility_l1_1_0
947 enable_api_ms_win_downlevel_advapi32_l1_1_0
948 enable_api_ms_win_downlevel_advapi32_l2_1_0
949 enable_api_ms_win_downlevel_normaliz_l1_1_0
950 enable_api_ms_win_downlevel_ole32_l1_1_0
951 enable_api_ms_win_downlevel_shell32_l1_1_0
952 enable_api_ms_win_downlevel_shlwapi_l1_1_0
953 enable_api_ms_win_downlevel_shlwapi_l2_1_0
954 enable_api_ms_win_downlevel_user32_l1_1_0
955 enable_api_ms_win_downlevel_version_l1_1_0
956 enable_api_ms_win_eventing_provider_l1_1_0
957 enable_api_ms_win_ntuser_dc_access_l1_1_0
958 enable_api_ms_win_security_base_l1_1_0
959 enable_api_ms_win_security_base_l1_2_0
960 enable_api_ms_win_security_lsalookup_l1_1_0
961 enable_api_ms_win_security_lsalookup_l1_1_1
962 enable_api_ms_win_security_sddl_l1_1_0
963 enable_api_ms_win_service_core_l1_1_1
964 enable_api_ms_win_service_management_l1_1_0
965 enable_api_ms_win_service_winsvc_l1_2_0
966 enable_apphelp
967 enable_appwiz_cpl
968 enable_atl
969 enable_atl100
970 enable_atl110
971 enable_atl80
972 enable_atl90
973 enable_authz
974 enable_avicap32
975 enable_avifil32
976 enable_avrt
977 enable_bcrypt
978 enable_bluetoothapis
979 enable_browseui
980 enable_bthprops_cpl
981 enable_cabinet
982 enable_capi2032
983 enable_cards
984 enable_cfgmgr32
985 enable_clusapi
986 enable_combase
987 enable_comcat
988 enable_comctl32
989 enable_comdlg32
990 enable_compstui
991 enable_comsvcs
992 enable_connect
993 enable_credui
994 enable_crtdll
995 enable_crypt32
996 enable_cryptdlg
997 enable_cryptdll
998 enable_cryptext
999 enable_cryptnet
1000 enable_cryptui
1001 enable_ctapi32
1002 enable_ctl3d32
1003 enable_d2d1
1004 enable_d3d10
1005 enable_d3d10_1
1006 enable_d3d10core
1007 enable_d3d11
1008 enable_d3d8
1009 enable_d3d9
1010 enable_d3dcompiler_33
1011 enable_d3dcompiler_34
1012 enable_d3dcompiler_35
1013 enable_d3dcompiler_36
1014 enable_d3dcompiler_37
1015 enable_d3dcompiler_38
1016 enable_d3dcompiler_39
1017 enable_d3dcompiler_40
1018 enable_d3dcompiler_41
1019 enable_d3dcompiler_42
1020 enable_d3dcompiler_43
1021 enable_d3dcompiler_46
1022 enable_d3dcompiler_47
1023 enable_d3dim
1024 enable_d3drm
1025 enable_d3dx10_33
1026 enable_d3dx10_34
1027 enable_d3dx10_35
1028 enable_d3dx10_36
1029 enable_d3dx10_37
1030 enable_d3dx10_38
1031 enable_d3dx10_39
1032 enable_d3dx10_40
1033 enable_d3dx10_41
1034 enable_d3dx10_42
1035 enable_d3dx10_43
1036 enable_d3dx11_42
1037 enable_d3dx11_43
1038 enable_d3dx9_24
1039 enable_d3dx9_25
1040 enable_d3dx9_26
1041 enable_d3dx9_27
1042 enable_d3dx9_28
1043 enable_d3dx9_29
1044 enable_d3dx9_30
1045 enable_d3dx9_31
1046 enable_d3dx9_32
1047 enable_d3dx9_33
1048 enable_d3dx9_34
1049 enable_d3dx9_35
1050 enable_d3dx9_36
1051 enable_d3dx9_37
1052 enable_d3dx9_38
1053 enable_d3dx9_39
1054 enable_d3dx9_40
1055 enable_d3dx9_41
1056 enable_d3dx9_42
1057 enable_d3dx9_43
1058 enable_d3dxof
1059 enable_davclnt
1060 enable_dbgeng
1061 enable_dbghelp
1062 enable_dciman32
1063 enable_ddraw
1064 enable_ddrawex
1065 enable_devenum
1066 enable_dhcpcsvc
1067 enable_difxapi
1068 enable_dinput
1069 enable_dinput8
1070 enable_dispex
1071 enable_dmband
1072 enable_dmcompos
1073 enable_dmime
1074 enable_dmloader
1075 enable_dmscript
1076 enable_dmstyle
1077 enable_dmsynth
1078 enable_dmusic
1079 enable_dmusic32
1080 enable_dnsapi
1081 enable_dplay
1082 enable_dplayx
1083 enable_dpnaddr
1084 enable_dpnet
1085 enable_dpnhpast
1086 enable_dpnlobby
1087 enable_dpvoice
1088 enable_dpwsockx
1089 enable_drmclien
1090 enable_dsound
1091 enable_dssenh
1092 enable_dswave
1093 enable_dwmapi
1094 enable_dwrite
1095 enable_dxdiagn
1096 enable_dxgi
1097 enable_dxva2
1098 enable_esent
1099 enable_evr
1100 enable_explorerframe
1101 enable_ext_ms_win_gdi_devcaps_l1_1_0
1102 enable_faultrep
1103 enable_fltlib
1104 enable_fltmgr_sys
1105 enable_fntcache
1106 enable_fontsub
1107 enable_fusion
1108 enable_fwpuclnt
1109 enable_gameux
1110 enable_gdi32
1111 enable_gdiplus
1112 enable_glu32
1113 enable_gphoto2_ds
1114 enable_gpkcsp
1115 enable_hal
1116 enable_hhctrl_ocx
1117 enable_hid
1118 enable_hidclass_sys
1119 enable_hlink
1120 enable_hnetcfg
1121 enable_httpapi
1122 enable_iccvid
1123 enable_icmp
1124 enable_ieframe
1125 enable_imaadp32_acm
1126 enable_imagehlp
1127 enable_imm32
1128 enable_inetcomm
1129 enable_inetcpl_cpl
1130 enable_inetmib1
1131 enable_infosoft
1132 enable_initpki
1133 enable_inkobj
1134 enable_inseng
1135 enable_iphlpapi
1136 enable_itircl
1137 enable_itss
1138 enable_joy_cpl
1139 enable_jscript
1140 enable_jsproxy
1141 enable_kernel32
1142 enable_ksuser
1143 enable_ktmw32
1144 enable_loadperf
1145 enable_localspl
1146 enable_localui
1147 enable_lz32
1148 enable_mapi32
1149 enable_mapistub
1150 enable_mciavi32
1151 enable_mcicda
1152 enable_mciqtz32
1153 enable_mciseq
1154 enable_mciwave
1155 enable_mf
1156 enable_mfplat
1157 enable_mfreadwrite
1158 enable_mgmtapi
1159 enable_midimap
1160 enable_mlang
1161 enable_mmcndmgr
1162 enable_mmdevapi
1163 enable_mountmgr_sys
1164 enable_mpr
1165 enable_mprapi
1166 enable_msacm32_drv
1167 enable_msacm32
1168 enable_msadp32_acm
1169 enable_msasn1
1170 enable_mscat32
1171 enable_mscms
1172 enable_mscoree
1173 enable_msctf
1174 enable_msctfp
1175 enable_msdaps
1176 enable_msdelta
1177 enable_msdmo
1178 enable_msftedit
1179 enable_msg711_acm
1180 enable_msgsm32_acm
1181 enable_mshtml_tlb
1182 enable_mshtml
1183 enable_msi
1184 enable_msident
1185 enable_msimg32
1186 enable_msimsg
1187 enable_msimtf
1188 enable_msisip
1189 enable_msisys_ocx
1190 enable_msls31
1191 enable_msnet32
1192 enable_mspatcha
1193 enable_msrle32
1194 enable_msscript_ocx
1195 enable_mssign32
1196 enable_mssip32
1197 enable_mstask
1198 enable_msvcirt
1199 enable_msvcm80
1200 enable_msvcm90
1201 enable_msvcp100
1202 enable_msvcp110
1203 enable_msvcp120
1204 enable_msvcp120_app
1205 enable_msvcp60
1206 enable_msvcp70
1207 enable_msvcp71
1208 enable_msvcp80
1209 enable_msvcp90
1210 enable_msvcr100
1211 enable_msvcr110
1212 enable_msvcr120
1213 enable_msvcr120_app
1214 enable_msvcr70
1215 enable_msvcr71
1216 enable_msvcr80
1217 enable_msvcr90
1218 enable_msvcrt
1219 enable_msvcrt20
1220 enable_msvcrt40
1221 enable_msvcrtd
1222 enable_msvfw32
1223 enable_msvidc32
1224 enable_mswsock
1225 enable_msxml
1226 enable_msxml2
1227 enable_msxml3
1228 enable_msxml4
1229 enable_msxml6
1230 enable_nddeapi
1231 enable_ndis_sys
1232 enable_netapi32
1233 enable_netcfgx
1234 enable_netprofm
1235 enable_newdev
1236 enable_normaliz
1237 enable_npmshtml
1238 enable_npptools
1239 enable_ntdll
1240 enable_ntdsapi
1241 enable_ntoskrnl_exe
1242 enable_ntprint
1243 enable_objsel
1244 enable_odbc32
1245 enable_odbccp32
1246 enable_odbccu32
1247 enable_ole32
1248 enable_oleacc
1249 enable_oleaut32
1250 enable_olecli32
1251 enable_oledb32
1252 enable_oledlg
1253 enable_olepro32
1254 enable_olesvr32
1255 enable_olethk32
1256 enable_openal32
1257 enable_opencl
1258 enable_opengl32
1259 enable_packager
1260 enable_pdh
1261 enable_photometadatahandler
1262 enable_pidgen
1263 enable_powrprof
1264 enable_printui
1265 enable_prntvpt
1266 enable_propsys
1267 enable_psapi
1268 enable_pstorec
1269 enable_qcap
1270 enable_qedit
1271 enable_qmgr
1272 enable_qmgrprxy
1273 enable_quartz
1274 enable_query
1275 enable_rasapi32
1276 enable_rasdlg
1277 enable_regapi
1278 enable_resutils
1279 enable_riched20
1280 enable_riched32
1281 enable_rpcrt4
1282 enable_rsabase
1283 enable_rsaenh
1284 enable_rstrtmgr
1285 enable_rtutils
1286 enable_samlib
1287 enable_sane_ds
1288 enable_scarddlg
1289 enable_sccbase
1290 enable_schannel
1291 enable_schedsvc
1292 enable_scrrun
1293 enable_scsiport_sys
1294 enable_secur32
1295 enable_security
1296 enable_sensapi
1297 enable_serialui
1298 enable_setupapi
1299 enable_sfc
1300 enable_sfc_os
1301 enable_shdoclc
1302 enable_shdocvw
1303 enable_shell32
1304 enable_shfolder
1305 enable_shlwapi
1306 enable_slbcsp
1307 enable_slc
1308 enable_snmpapi
1309 enable_softpub
1310 enable_spoolss
1311 enable_stdole2_tlb
1312 enable_stdole32_tlb
1313 enable_sti
1314 enable_svrapi
1315 enable_sxs
1316 enable_t2embed
1317 enable_tapi32
1318 enable_taskschd
1319 enable_tdi_sys
1320 enable_traffic
1321 enable_twain_32
1322 enable_ucrtbase
1323 enable_unicows
1324 enable_updspapi
1325 enable_url
1326 enable_urlmon
1327 enable_usbd_sys
1328 enable_user32
1329 enable_userenv
1330 enable_usp10
1331 enable_uxtheme
1332 enable_vbscript
1333 enable_vcomp
1334 enable_vcomp100
1335 enable_vcomp110
1336 enable_vcomp120
1337 enable_vcomp90
1338 enable_vcruntime140
1339 enable_vdmdbg
1340 enable_version
1341 enable_vssapi
1342 enable_wbemdisp
1343 enable_wbemprox
1344 enable_webservices
1345 enable_wer
1346 enable_wevtapi
1347 enable_wiaservc
1348 enable_wimgapi
1349 enable_windowscodecs
1350 enable_windowscodecsext
1351 enable_winealsa_drv
1352 enable_winecoreaudio_drv
1353 enable_wined3d
1354 enable_winegstreamer
1355 enable_winejoystick_drv
1356 enable_winemac_drv
1357 enable_winemapi
1358 enable_winemp3_acm
1359 enable_wineoss_drv
1360 enable_wineps_drv
1361 enable_winepulse_drv
1362 enable_wineqtdecoder
1363 enable_winex11_drv
1364 enable_wing32
1365 enable_winhttp
1366 enable_wininet
1367 enable_winmm
1368 enable_winnls32
1369 enable_winscard
1370 enable_winspool_drv
1371 enable_winsta
1372 enable_wintab32
1373 enable_wintrust
1374 enable_wlanapi
1375 enable_wldap32
1376 enable_wmi
1377 enable_wmiutils
1378 enable_wmp
1379 enable_wmvcore
1380 enable_wnaspi32
1381 enable_wpcap
1382 enable_ws2_32
1383 enable_wshom_ocx
1384 enable_wsnmp32
1385 enable_wsock32
1386 enable_wtsapi32
1387 enable_wuapi
1388 enable_wuaueng
1389 enable_x3daudio1_0
1390 enable_x3daudio1_1
1391 enable_x3daudio1_2
1392 enable_x3daudio1_3
1393 enable_x3daudio1_4
1394 enable_x3daudio1_5
1395 enable_x3daudio1_6
1396 enable_x3daudio1_7
1397 enable_xapofx1_1
1398 enable_xapofx1_2
1399 enable_xapofx1_3
1400 enable_xapofx1_4
1401 enable_xapofx1_5
1402 enable_xaudio2_0
1403 enable_xaudio2_1
1404 enable_xaudio2_2
1405 enable_xaudio2_3
1406 enable_xaudio2_4
1407 enable_xaudio2_5
1408 enable_xaudio2_6
1409 enable_xaudio2_7
1410 enable_xaudio2_8
1411 enable_xaudio2_9
1412 enable_xinput1_1
1413 enable_xinput1_2
1414 enable_xinput1_3
1415 enable_xinput1_4
1416 enable_xinput9_1_0
1417 enable_xmllite
1418 enable_xolehlp
1419 enable_xpsprint
1420 enable_xpssvcs
1421 enable_fonts
1422 enable_include
1423 enable_libs_port
1424 enable_libs_wine
1425 enable_libs_wpp
1426 enable_loader
1427 enable_arp
1428 enable_aspnet_regiis
1429 enable_attrib
1430 enable_cabarc
1431 enable_cacls
1432 enable_clock
1433 enable_cmd
1434 enable_conhost
1435 enable_control
1436 enable_cscript
1437 enable_dpnsvr
1438 enable_dxdiag
1439 enable_eject
1440 enable_expand
1441 enable_explorer
1442 enable_extrac32
1443 enable_findstr
1444 enable_hh
1445 enable_hostname
1446 enable_icinfo
1447 enable_iexplore
1448 enable_ipconfig
1449 enable_lodctr
1450 enable_mofcomp
1451 enable_mshta
1452 enable_msiexec
1453 enable_net
1454 enable_netsh
1455 enable_netstat
1456 enable_ngen
1457 enable_notepad
1458 enable_oleview
1459 enable_ping
1460 enable_plugplay
1461 enable_presentationfontcache
1462 enable_progman
1463 enable_reg
1464 enable_regasm
1465 enable_regedit
1466 enable_regsvcs
1467 enable_regsvr32
1468 enable_rpcss
1469 enable_rundll32
1470 enable_sc
1471 enable_schtasks
1472 enable_sdbinst
1473 enable_secedit
1474 enable_servicemodelreg
1475 enable_services
1476 enable_spoolsv
1477 enable_start
1478 enable_svchost
1479 enable_systeminfo
1480 enable_taskkill
1481 enable_tasklist
1482 enable_taskmgr
1483 enable_termsv
1484 enable_uninstaller
1485 enable_unlodctr
1486 enable_view
1487 enable_wevtutil
1488 enable_wineboot
1489 enable_winebrowser
1490 enable_winecfg
1491 enable_wineconsole
1492 enable_winedbg
1493 enable_winedevice
1494 enable_winefile
1495 enable_winemenubuilder
1496 enable_winemine
1497 enable_winemsibuilder
1498 enable_winepath
1499 enable_winetest
1500 enable_winhlp32
1501 enable_winver
1502 enable_wmic
1503 enable_wmplayer
1504 enable_wordpad
1505 enable_write
1506 enable_wscript
1507 enable_wusa
1508 enable_xcopy
1509 enable_server
1510 enable_tools
1512 ac_precious_vars='build_alias
1513 host_alias
1514 target_alias
1516 CFLAGS
1517 LDFLAGS
1518 LIBS
1519 CPPFLAGS
1521 CXXFLAGS
1524 XMKMF
1525 XML2_CFLAGS
1526 XML2_LIBS
1527 XSLT_CFLAGS
1528 XSLT_LIBS
1529 DBUS_CFLAGS
1530 DBUS_LIBS
1531 HAL_CFLAGS
1532 HAL_LIBS
1533 GNUTLS_CFLAGS
1534 GNUTLS_LIBS
1535 SANE_CFLAGS
1536 SANE_LIBS
1537 GPHOTO2_CFLAGS
1538 GPHOTO2_LIBS
1539 GPHOTO2_PORT_CFLAGS
1540 GPHOTO2_PORT_LIBS
1541 LCMS2_CFLAGS
1542 LCMS2_LIBS
1543 FREETYPE_CFLAGS
1544 FREETYPE_LIBS
1545 PULSE_CFLAGS
1546 PULSE_LIBS
1547 GSTREAMER_CFLAGS
1548 GSTREAMER_LIBS
1549 CAPI20_CFLAGS
1550 CAPI20_LIBS
1551 FONTCONFIG_CFLAGS
1552 FONTCONFIG_LIBS
1553 JPEG_CFLAGS
1554 JPEG_LIBS
1555 PNG_CFLAGS
1556 PNG_LIBS
1557 TIFF_CFLAGS
1558 TIFF_LIBS
1559 MPG123_CFLAGS
1560 MPG123_LIBS'
1563 # Initialize some variables set by options.
1564 ac_init_help=
1565 ac_init_version=false
1566 ac_unrecognized_opts=
1567 ac_unrecognized_sep=
1568 # The variables have the same names as the options, with
1569 # dashes changed to underlines.
1570 cache_file=/dev/null
1571 exec_prefix=NONE
1572 no_create=
1573 no_recursion=
1574 prefix=NONE
1575 program_prefix=NONE
1576 program_suffix=NONE
1577 program_transform_name=s,x,x,
1578 silent=
1579 site=
1580 srcdir=
1581 verbose=
1582 x_includes=NONE
1583 x_libraries=NONE
1585 # Installation directory options.
1586 # These are left unexpanded so users can "make install exec_prefix=/foo"
1587 # and all the variables that are supposed to be based on exec_prefix
1588 # by default will actually change.
1589 # Use braces instead of parens because sh, perl, etc. also accept them.
1590 # (The list follows the same order as the GNU Coding Standards.)
1591 bindir='${exec_prefix}/bin'
1592 sbindir='${exec_prefix}/sbin'
1593 libexecdir='${exec_prefix}/libexec'
1594 datarootdir='${prefix}/share'
1595 datadir='${datarootdir}'
1596 sysconfdir='${prefix}/etc'
1597 sharedstatedir='${prefix}/com'
1598 localstatedir='${prefix}/var'
1599 runstatedir='${localstatedir}/run'
1600 includedir='${prefix}/include'
1601 oldincludedir='/usr/include'
1602 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1603 infodir='${datarootdir}/info'
1604 htmldir='${docdir}'
1605 dvidir='${docdir}'
1606 pdfdir='${docdir}'
1607 psdir='${docdir}'
1608 libdir='${exec_prefix}/lib'
1609 localedir='${datarootdir}/locale'
1610 mandir='${datarootdir}/man'
1612 ac_prev=
1613 ac_dashdash=
1614 for ac_option
1616 # If the previous option needs an argument, assign it.
1617 if test -n "$ac_prev"; then
1618 eval $ac_prev=\$ac_option
1619 ac_prev=
1620 continue
1623 case $ac_option in
1624 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1625 *=) ac_optarg= ;;
1626 *) ac_optarg=yes ;;
1627 esac
1629 # Accept the important Cygnus configure options, so we can diagnose typos.
1631 case $ac_dashdash$ac_option in
1633 ac_dashdash=yes ;;
1635 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1636 ac_prev=bindir ;;
1637 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1638 bindir=$ac_optarg ;;
1640 -build | --build | --buil | --bui | --bu)
1641 ac_prev=build_alias ;;
1642 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1643 build_alias=$ac_optarg ;;
1645 -cache-file | --cache-file | --cache-fil | --cache-fi \
1646 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1647 ac_prev=cache_file ;;
1648 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1649 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1650 cache_file=$ac_optarg ;;
1652 --config-cache | -C)
1653 cache_file=config.cache ;;
1655 -datadir | --datadir | --datadi | --datad)
1656 ac_prev=datadir ;;
1657 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1658 datadir=$ac_optarg ;;
1660 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1661 | --dataroo | --dataro | --datar)
1662 ac_prev=datarootdir ;;
1663 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1664 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1665 datarootdir=$ac_optarg ;;
1667 -disable-* | --disable-*)
1668 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1669 # Reject names that are not valid shell variable names.
1670 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1671 as_fn_error $? "invalid feature name: $ac_useropt"
1672 ac_useropt_orig=$ac_useropt
1673 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1674 case $ac_user_opts in
1676 "enable_$ac_useropt"
1677 "*) ;;
1678 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1679 ac_unrecognized_sep=', ';;
1680 esac
1681 eval enable_$ac_useropt=no ;;
1683 -docdir | --docdir | --docdi | --doc | --do)
1684 ac_prev=docdir ;;
1685 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1686 docdir=$ac_optarg ;;
1688 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1689 ac_prev=dvidir ;;
1690 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1691 dvidir=$ac_optarg ;;
1693 -enable-* | --enable-*)
1694 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1695 # Reject names that are not valid shell variable names.
1696 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1697 as_fn_error $? "invalid feature name: $ac_useropt"
1698 ac_useropt_orig=$ac_useropt
1699 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1700 case $ac_user_opts in
1702 "enable_$ac_useropt"
1703 "*) ;;
1704 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1705 ac_unrecognized_sep=', ';;
1706 esac
1707 eval enable_$ac_useropt=\$ac_optarg ;;
1709 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1710 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1711 | --exec | --exe | --ex)
1712 ac_prev=exec_prefix ;;
1713 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1714 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1715 | --exec=* | --exe=* | --ex=*)
1716 exec_prefix=$ac_optarg ;;
1718 -gas | --gas | --ga | --g)
1719 # Obsolete; use --with-gas.
1720 with_gas=yes ;;
1722 -help | --help | --hel | --he | -h)
1723 ac_init_help=long ;;
1724 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1725 ac_init_help=recursive ;;
1726 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1727 ac_init_help=short ;;
1729 -host | --host | --hos | --ho)
1730 ac_prev=host_alias ;;
1731 -host=* | --host=* | --hos=* | --ho=*)
1732 host_alias=$ac_optarg ;;
1734 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1735 ac_prev=htmldir ;;
1736 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1737 | --ht=*)
1738 htmldir=$ac_optarg ;;
1740 -includedir | --includedir | --includedi | --included | --include \
1741 | --includ | --inclu | --incl | --inc)
1742 ac_prev=includedir ;;
1743 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1744 | --includ=* | --inclu=* | --incl=* | --inc=*)
1745 includedir=$ac_optarg ;;
1747 -infodir | --infodir | --infodi | --infod | --info | --inf)
1748 ac_prev=infodir ;;
1749 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1750 infodir=$ac_optarg ;;
1752 -libdir | --libdir | --libdi | --libd)
1753 ac_prev=libdir ;;
1754 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1755 libdir=$ac_optarg ;;
1757 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1758 | --libexe | --libex | --libe)
1759 ac_prev=libexecdir ;;
1760 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1761 | --libexe=* | --libex=* | --libe=*)
1762 libexecdir=$ac_optarg ;;
1764 -localedir | --localedir | --localedi | --localed | --locale)
1765 ac_prev=localedir ;;
1766 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1767 localedir=$ac_optarg ;;
1769 -localstatedir | --localstatedir | --localstatedi | --localstated \
1770 | --localstate | --localstat | --localsta | --localst | --locals)
1771 ac_prev=localstatedir ;;
1772 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1773 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1774 localstatedir=$ac_optarg ;;
1776 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1777 ac_prev=mandir ;;
1778 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1779 mandir=$ac_optarg ;;
1781 -nfp | --nfp | --nf)
1782 # Obsolete; use --without-fp.
1783 with_fp=no ;;
1785 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1786 | --no-cr | --no-c | -n)
1787 no_create=yes ;;
1789 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1790 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1791 no_recursion=yes ;;
1793 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1794 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1795 | --oldin | --oldi | --old | --ol | --o)
1796 ac_prev=oldincludedir ;;
1797 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1798 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1799 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1800 oldincludedir=$ac_optarg ;;
1802 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1803 ac_prev=prefix ;;
1804 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1805 prefix=$ac_optarg ;;
1807 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1808 | --program-pre | --program-pr | --program-p)
1809 ac_prev=program_prefix ;;
1810 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1811 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1812 program_prefix=$ac_optarg ;;
1814 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1815 | --program-suf | --program-su | --program-s)
1816 ac_prev=program_suffix ;;
1817 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1818 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1819 program_suffix=$ac_optarg ;;
1821 -program-transform-name | --program-transform-name \
1822 | --program-transform-nam | --program-transform-na \
1823 | --program-transform-n | --program-transform- \
1824 | --program-transform | --program-transfor \
1825 | --program-transfo | --program-transf \
1826 | --program-trans | --program-tran \
1827 | --progr-tra | --program-tr | --program-t)
1828 ac_prev=program_transform_name ;;
1829 -program-transform-name=* | --program-transform-name=* \
1830 | --program-transform-nam=* | --program-transform-na=* \
1831 | --program-transform-n=* | --program-transform-=* \
1832 | --program-transform=* | --program-transfor=* \
1833 | --program-transfo=* | --program-transf=* \
1834 | --program-trans=* | --program-tran=* \
1835 | --progr-tra=* | --program-tr=* | --program-t=*)
1836 program_transform_name=$ac_optarg ;;
1838 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1839 ac_prev=pdfdir ;;
1840 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1841 pdfdir=$ac_optarg ;;
1843 -psdir | --psdir | --psdi | --psd | --ps)
1844 ac_prev=psdir ;;
1845 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1846 psdir=$ac_optarg ;;
1848 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1849 | -silent | --silent | --silen | --sile | --sil)
1850 silent=yes ;;
1852 -runstatedir | --runstatedir | --runstatedi | --runstated \
1853 | --runstate | --runstat | --runsta | --runst | --runs \
1854 | --run | --ru | --r)
1855 ac_prev=runstatedir ;;
1856 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1857 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1858 | --run=* | --ru=* | --r=*)
1859 runstatedir=$ac_optarg ;;
1861 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1862 ac_prev=sbindir ;;
1863 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1864 | --sbi=* | --sb=*)
1865 sbindir=$ac_optarg ;;
1867 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1868 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1869 | --sharedst | --shareds | --shared | --share | --shar \
1870 | --sha | --sh)
1871 ac_prev=sharedstatedir ;;
1872 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1873 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1874 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1875 | --sha=* | --sh=*)
1876 sharedstatedir=$ac_optarg ;;
1878 -site | --site | --sit)
1879 ac_prev=site ;;
1880 -site=* | --site=* | --sit=*)
1881 site=$ac_optarg ;;
1883 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1884 ac_prev=srcdir ;;
1885 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1886 srcdir=$ac_optarg ;;
1888 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1889 | --syscon | --sysco | --sysc | --sys | --sy)
1890 ac_prev=sysconfdir ;;
1891 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1892 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1893 sysconfdir=$ac_optarg ;;
1895 -target | --target | --targe | --targ | --tar | --ta | --t)
1896 ac_prev=target_alias ;;
1897 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1898 target_alias=$ac_optarg ;;
1900 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1901 verbose=yes ;;
1903 -version | --version | --versio | --versi | --vers | -V)
1904 ac_init_version=: ;;
1906 -with-* | --with-*)
1907 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1908 # Reject names that are not valid shell variable names.
1909 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1910 as_fn_error $? "invalid package name: $ac_useropt"
1911 ac_useropt_orig=$ac_useropt
1912 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1913 case $ac_user_opts in
1915 "with_$ac_useropt"
1916 "*) ;;
1917 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1918 ac_unrecognized_sep=', ';;
1919 esac
1920 eval with_$ac_useropt=\$ac_optarg ;;
1922 -without-* | --without-*)
1923 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1924 # Reject names that are not valid shell variable names.
1925 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1926 as_fn_error $? "invalid package name: $ac_useropt"
1927 ac_useropt_orig=$ac_useropt
1928 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1929 case $ac_user_opts in
1931 "with_$ac_useropt"
1932 "*) ;;
1933 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1934 ac_unrecognized_sep=', ';;
1935 esac
1936 eval with_$ac_useropt=no ;;
1938 --x)
1939 # Obsolete; use --with-x.
1940 with_x=yes ;;
1942 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1943 | --x-incl | --x-inc | --x-in | --x-i)
1944 ac_prev=x_includes ;;
1945 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1946 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1947 x_includes=$ac_optarg ;;
1949 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1950 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1951 ac_prev=x_libraries ;;
1952 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1953 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1954 x_libraries=$ac_optarg ;;
1956 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1957 Try \`$0 --help' for more information"
1960 *=*)
1961 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1962 # Reject names that are not valid shell variable names.
1963 case $ac_envvar in #(
1964 '' | [0-9]* | *[!_$as_cr_alnum]* )
1965 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1966 esac
1967 eval $ac_envvar=\$ac_optarg
1968 export $ac_envvar ;;
1971 # FIXME: should be removed in autoconf 3.0.
1972 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1973 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1974 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1975 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1978 esac
1979 done
1981 if test -n "$ac_prev"; then
1982 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1983 as_fn_error $? "missing argument to $ac_option"
1986 if test -n "$ac_unrecognized_opts"; then
1987 case $enable_option_checking in
1988 no) ;;
1989 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1990 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1991 esac
1994 # Check all directory arguments for consistency.
1995 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1996 datadir sysconfdir sharedstatedir localstatedir includedir \
1997 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1998 libdir localedir mandir runstatedir
2000 eval ac_val=\$$ac_var
2001 # Remove trailing slashes.
2002 case $ac_val in
2003 */ )
2004 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2005 eval $ac_var=\$ac_val;;
2006 esac
2007 # Be sure to have absolute directory names.
2008 case $ac_val in
2009 [\\/$]* | ?:[\\/]* ) continue;;
2010 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2011 esac
2012 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2013 done
2015 # There might be people who depend on the old broken behavior: `$host'
2016 # used to hold the argument of --host etc.
2017 # FIXME: To remove some day.
2018 build=$build_alias
2019 host=$host_alias
2020 target=$target_alias
2022 # FIXME: To remove some day.
2023 if test "x$host_alias" != x; then
2024 if test "x$build_alias" = x; then
2025 cross_compiling=maybe
2026 elif test "x$build_alias" != "x$host_alias"; then
2027 cross_compiling=yes
2031 ac_tool_prefix=
2032 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2034 test "$silent" = yes && exec 6>/dev/null
2037 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2038 ac_ls_di=`ls -di .` &&
2039 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2040 as_fn_error $? "working directory cannot be determined"
2041 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2042 as_fn_error $? "pwd does not report name of working directory"
2045 # Find the source files, if location was not specified.
2046 if test -z "$srcdir"; then
2047 ac_srcdir_defaulted=yes
2048 # Try the directory containing this script, then the parent directory.
2049 ac_confdir=`$as_dirname -- "$as_myself" ||
2050 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2051 X"$as_myself" : 'X\(//\)[^/]' \| \
2052 X"$as_myself" : 'X\(//\)$' \| \
2053 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2054 $as_echo X"$as_myself" |
2055 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2056 s//\1/
2059 /^X\(\/\/\)[^/].*/{
2060 s//\1/
2063 /^X\(\/\/\)$/{
2064 s//\1/
2067 /^X\(\/\).*/{
2068 s//\1/
2071 s/.*/./; q'`
2072 srcdir=$ac_confdir
2073 if test ! -r "$srcdir/$ac_unique_file"; then
2074 srcdir=..
2076 else
2077 ac_srcdir_defaulted=no
2079 if test ! -r "$srcdir/$ac_unique_file"; then
2080 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2081 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2083 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2084 ac_abs_confdir=`(
2085 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2086 pwd)`
2087 # When building in place, set srcdir=.
2088 if test "$ac_abs_confdir" = "$ac_pwd"; then
2089 srcdir=.
2091 # Remove unnecessary trailing slashes from srcdir.
2092 # Double slashes in file names in object file debugging info
2093 # mess up M-x gdb in Emacs.
2094 case $srcdir in
2095 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2096 esac
2097 for ac_var in $ac_precious_vars; do
2098 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2099 eval ac_env_${ac_var}_value=\$${ac_var}
2100 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2101 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2102 done
2105 # Report the --help message.
2107 if test "$ac_init_help" = "long"; then
2108 # Omit some internal or obsolete options to make the list less imposing.
2109 # This message is too long to be a string in the A/UX 3.1 sh.
2110 cat <<_ACEOF
2111 \`configure' configures Wine 1.9.1 to adapt to many kinds of systems.
2113 Usage: $0 [OPTION]... [VAR=VALUE]...
2115 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2116 VAR=VALUE. See below for descriptions of some of the useful variables.
2118 Defaults for the options are specified in brackets.
2120 Configuration:
2121 -h, --help display this help and exit
2122 --help=short display options specific to this package
2123 --help=recursive display the short help of all the included packages
2124 -V, --version display version information and exit
2125 -q, --quiet, --silent do not print \`checking ...' messages
2126 --cache-file=FILE cache test results in FILE [disabled]
2127 -C, --config-cache alias for \`--cache-file=config.cache'
2128 -n, --no-create do not create output files
2129 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2131 Installation directories:
2132 --prefix=PREFIX install architecture-independent files in PREFIX
2133 [$ac_default_prefix]
2134 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2135 [PREFIX]
2137 By default, \`make install' will install all the files in
2138 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2139 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2140 for instance \`--prefix=\$HOME'.
2142 For better control, use the options below.
2144 Fine tuning of the installation directories:
2145 --bindir=DIR user executables [EPREFIX/bin]
2146 --sbindir=DIR system admin executables [EPREFIX/sbin]
2147 --libexecdir=DIR program executables [EPREFIX/libexec]
2148 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2149 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2150 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2151 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2152 --libdir=DIR object code libraries [EPREFIX/lib]
2153 --includedir=DIR C header files [PREFIX/include]
2154 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2155 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2156 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2157 --infodir=DIR info documentation [DATAROOTDIR/info]
2158 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2159 --mandir=DIR man documentation [DATAROOTDIR/man]
2160 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2161 --htmldir=DIR html documentation [DOCDIR]
2162 --dvidir=DIR dvi documentation [DOCDIR]
2163 --pdfdir=DIR pdf documentation [DOCDIR]
2164 --psdir=DIR ps documentation [DOCDIR]
2165 _ACEOF
2167 cat <<\_ACEOF
2169 X features:
2170 --x-includes=DIR X include files are in DIR
2171 --x-libraries=DIR X library files are in DIR
2173 System types:
2174 --build=BUILD configure for building on BUILD [guessed]
2175 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2176 _ACEOF
2179 if test -n "$ac_init_help"; then
2180 case $ac_init_help in
2181 short | recursive ) echo "Configuration of Wine 1.9.1:";;
2182 esac
2183 cat <<\_ACEOF
2185 Optional Features:
2186 --disable-option-checking ignore unrecognized --enable/--with options
2187 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2188 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2189 --disable-win16 do not include Win16 support
2190 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2191 binaries)
2192 --disable-tests do not build the regression tests
2193 --enable-maintainer-mode
2194 enable maintainer-specific build rules
2195 --disable-largefile omit support for large files
2197 Optional Packages:
2198 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2199 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2200 --without-alsa do not use the Alsa sound support
2201 --without-capi do not use CAPI (ISDN support)
2202 --without-cms do not use CMS (color management support)
2203 --without-coreaudio do not use the CoreAudio sound support
2204 --without-cups do not use CUPS
2205 --without-curses do not use (n)curses
2206 --without-dbus do not use DBus (dynamic device support)
2207 --without-fontconfig do not use fontconfig
2208 --without-freetype do not use the FreeType library
2209 --without-gettext do not use gettext
2210 --with-gettextpo use the GetTextPO library to rebuild po files
2211 --without-gphoto do not use gphoto (Digital Camera support)
2212 --without-glu do not use the GLU library
2213 --without-gnutls do not use GnuTLS (schannel support)
2214 --without-gsm do not use libgsm (GSM 06.10 codec support)
2215 --without-gstreamer do not use GStreamer (codecs support)
2216 --without-hal do not use HAL (dynamic device support)
2217 --without-jpeg do not use JPEG
2218 --without-ldap do not use LDAP
2219 --without-mpg123 do not use the mpg123 library
2220 --without-netapi do not use the Samba NetAPI library
2221 --without-openal do not use OpenAL
2222 --without-opencl do not use OpenCL
2223 --without-opengl do not use OpenGL
2224 --without-osmesa do not use the OSMesa library
2225 --without-oss do not use the OSS sound support
2226 --without-pcap do not use the Packet Capture library
2227 --without-png do not use PNG
2228 --without-pthread do not use the pthread library
2229 --without-pulse do not use PulseAudio sound support
2230 --without-sane do not use SANE (scanner support)
2231 --without-tiff do not use TIFF
2232 --without-v4l do not use v4l1 (v4l support)
2233 --without-xcomposite do not use the Xcomposite extension
2234 --without-xcursor do not use the Xcursor extension
2235 --without-xinerama do not use Xinerama (multi-monitor support)
2236 --without-xinput do not use the Xinput extension
2237 --without-xinput2 do not use the Xinput 2 extension
2238 --without-xml do not use XML
2239 --without-xrandr do not use Xrandr (resolution changes)
2240 --without-xrender do not use the Xrender extension
2241 --without-xshape do not use the Xshape extension
2242 --without-xshm do not use XShm (shared memory extension)
2243 --without-xslt do not use XSLT
2244 --without-xxf86vm do not use XFree video mode extension
2245 --without-zlib do not use Zlib (data compression)
2246 --with-wine-tools=DIR use Wine tools from directory DIR
2247 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2248 --with-x use the X Window System
2250 Some influential environment variables:
2251 CC C compiler command
2252 CFLAGS C compiler flags
2253 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2254 nonstandard directory <lib dir>
2255 LIBS libraries to pass to the linker, e.g. -l<library>
2256 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2257 you have headers in a nonstandard directory <include dir>
2258 CXX C++ compiler command
2259 CXXFLAGS C++ compiler flags
2260 CPP C preprocessor
2261 XMKMF Path to xmkmf, Makefile generator for X Window System
2262 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2263 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2264 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2265 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2266 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2267 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2268 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2269 HAL_LIBS Linker flags for hal, overriding pkg-config
2270 GNUTLS_CFLAGS
2271 C compiler flags for gnutls, overriding pkg-config
2272 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2273 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2274 SANE_LIBS Linker flags for libsane, overriding pkg-config
2275 GPHOTO2_CFLAGS
2276 C compiler flags for libgphoto2, overriding pkg-config
2277 GPHOTO2_LIBS
2278 Linker flags for libgphoto2, overriding pkg-config
2279 GPHOTO2_PORT_CFLAGS
2280 C compiler flags for libgphoto2_port, overriding pkg-config
2281 GPHOTO2_PORT_LIBS
2282 Linker flags for libgphoto2_port, overriding pkg-config
2283 LCMS2_CFLAGS
2284 C compiler flags for lcms2, overriding pkg-config
2285 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2286 FREETYPE_CFLAGS
2287 C compiler flags for freetype2, overriding pkg-config
2288 FREETYPE_LIBS
2289 Linker flags for freetype2, overriding pkg-config
2290 PULSE_CFLAGS
2291 C compiler flags for libpulse, overriding pkg-config
2292 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2293 GSTREAMER_CFLAGS
2294 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2295 gstreamer-audio-1.0, overriding pkg-config
2296 GSTREAMER_LIBS
2297 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2298 gstreamer-audio-1.0, overriding pkg-config
2299 CAPI20_CFLAGS
2300 C compiler flags for capi20, overriding pkg-config
2301 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2302 FONTCONFIG_CFLAGS
2303 C compiler flags for fontconfig, overriding pkg-config
2304 FONTCONFIG_LIBS
2305 Linker flags for fontconfig, overriding pkg-config
2306 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2307 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2308 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2309 PNG_LIBS Linker flags for libpng, overriding pkg-config
2310 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2311 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2312 MPG123_CFLAGS
2313 C compiler flags for libmpg123, overriding pkg-config
2314 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2316 Use these variables to override the choices made by `configure' or to help
2317 it to find libraries and programs with nonstandard names/locations.
2319 Report bugs to <wine-devel@winehq.org>.
2320 Wine home page: <http://www.winehq.org>.
2321 _ACEOF
2322 ac_status=$?
2325 if test "$ac_init_help" = "recursive"; then
2326 # If there are subdirs, report their specific --help.
2327 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2328 test -d "$ac_dir" ||
2329 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2330 continue
2331 ac_builddir=.
2333 case "$ac_dir" in
2334 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2336 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2337 # A ".." for each directory in $ac_dir_suffix.
2338 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2339 case $ac_top_builddir_sub in
2340 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2341 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2342 esac ;;
2343 esac
2344 ac_abs_top_builddir=$ac_pwd
2345 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2346 # for backward compatibility:
2347 ac_top_builddir=$ac_top_build_prefix
2349 case $srcdir in
2350 .) # We are building in place.
2351 ac_srcdir=.
2352 ac_top_srcdir=$ac_top_builddir_sub
2353 ac_abs_top_srcdir=$ac_pwd ;;
2354 [\\/]* | ?:[\\/]* ) # Absolute name.
2355 ac_srcdir=$srcdir$ac_dir_suffix;
2356 ac_top_srcdir=$srcdir
2357 ac_abs_top_srcdir=$srcdir ;;
2358 *) # Relative name.
2359 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2360 ac_top_srcdir=$ac_top_build_prefix$srcdir
2361 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2362 esac
2363 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2365 cd "$ac_dir" || { ac_status=$?; continue; }
2366 # Check for guested configure.
2367 if test -f "$ac_srcdir/configure.gnu"; then
2368 echo &&
2369 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2370 elif test -f "$ac_srcdir/configure"; then
2371 echo &&
2372 $SHELL "$ac_srcdir/configure" --help=recursive
2373 else
2374 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2375 fi || ac_status=$?
2376 cd "$ac_pwd" || { ac_status=$?; break; }
2377 done
2380 test -n "$ac_init_help" && exit $ac_status
2381 if $ac_init_version; then
2382 cat <<\_ACEOF
2383 Wine configure 1.9.1
2384 generated by GNU Autoconf 2.69
2386 Copyright (C) 2012 Free Software Foundation, Inc.
2387 This configure script is free software; the Free Software Foundation
2388 gives unlimited permission to copy, distribute and modify it.
2389 _ACEOF
2390 exit
2393 ## ------------------------ ##
2394 ## Autoconf initialization. ##
2395 ## ------------------------ ##
2397 # ac_fn_c_try_compile LINENO
2398 # --------------------------
2399 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2400 ac_fn_c_try_compile ()
2402 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2403 rm -f conftest.$ac_objext
2404 if { { ac_try="$ac_compile"
2405 case "(($ac_try" in
2406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2407 *) ac_try_echo=$ac_try;;
2408 esac
2409 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2410 $as_echo "$ac_try_echo"; } >&5
2411 (eval "$ac_compile") 2>conftest.err
2412 ac_status=$?
2413 if test -s conftest.err; then
2414 grep -v '^ *+' conftest.err >conftest.er1
2415 cat conftest.er1 >&5
2416 mv -f conftest.er1 conftest.err
2418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2419 test $ac_status = 0; } && {
2420 test -z "$ac_c_werror_flag" ||
2421 test ! -s conftest.err
2422 } && test -s conftest.$ac_objext; then :
2423 ac_retval=0
2424 else
2425 $as_echo "$as_me: failed program was:" >&5
2426 sed 's/^/| /' conftest.$ac_ext >&5
2428 ac_retval=1
2430 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2431 as_fn_set_status $ac_retval
2433 } # ac_fn_c_try_compile
2435 # ac_fn_cxx_try_compile LINENO
2436 # ----------------------------
2437 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2438 ac_fn_cxx_try_compile ()
2440 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2441 rm -f conftest.$ac_objext
2442 if { { ac_try="$ac_compile"
2443 case "(($ac_try" in
2444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2445 *) ac_try_echo=$ac_try;;
2446 esac
2447 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2448 $as_echo "$ac_try_echo"; } >&5
2449 (eval "$ac_compile") 2>conftest.err
2450 ac_status=$?
2451 if test -s conftest.err; then
2452 grep -v '^ *+' conftest.err >conftest.er1
2453 cat conftest.er1 >&5
2454 mv -f conftest.er1 conftest.err
2456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2457 test $ac_status = 0; } && {
2458 test -z "$ac_cxx_werror_flag" ||
2459 test ! -s conftest.err
2460 } && test -s conftest.$ac_objext; then :
2461 ac_retval=0
2462 else
2463 $as_echo "$as_me: failed program was:" >&5
2464 sed 's/^/| /' conftest.$ac_ext >&5
2466 ac_retval=1
2468 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2469 as_fn_set_status $ac_retval
2471 } # ac_fn_cxx_try_compile
2473 # ac_fn_c_try_link LINENO
2474 # -----------------------
2475 # Try to link conftest.$ac_ext, and return whether this succeeded.
2476 ac_fn_c_try_link ()
2478 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2479 rm -f conftest.$ac_objext conftest$ac_exeext
2480 if { { ac_try="$ac_link"
2481 case "(($ac_try" in
2482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2483 *) ac_try_echo=$ac_try;;
2484 esac
2485 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2486 $as_echo "$ac_try_echo"; } >&5
2487 (eval "$ac_link") 2>conftest.err
2488 ac_status=$?
2489 if test -s conftest.err; then
2490 grep -v '^ *+' conftest.err >conftest.er1
2491 cat conftest.er1 >&5
2492 mv -f conftest.er1 conftest.err
2494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2495 test $ac_status = 0; } && {
2496 test -z "$ac_c_werror_flag" ||
2497 test ! -s conftest.err
2498 } && test -s conftest$ac_exeext && {
2499 test "$cross_compiling" = yes ||
2500 test -x conftest$ac_exeext
2501 }; then :
2502 ac_retval=0
2503 else
2504 $as_echo "$as_me: failed program was:" >&5
2505 sed 's/^/| /' conftest.$ac_ext >&5
2507 ac_retval=1
2509 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2510 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2511 # interfere with the next link command; also delete a directory that is
2512 # left behind by Apple's compiler. We do this before executing the actions.
2513 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2514 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2515 as_fn_set_status $ac_retval
2517 } # ac_fn_c_try_link
2519 # ac_fn_c_try_cpp LINENO
2520 # ----------------------
2521 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2522 ac_fn_c_try_cpp ()
2524 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2525 if { { ac_try="$ac_cpp conftest.$ac_ext"
2526 case "(($ac_try" in
2527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2528 *) ac_try_echo=$ac_try;;
2529 esac
2530 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2531 $as_echo "$ac_try_echo"; } >&5
2532 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2533 ac_status=$?
2534 if test -s conftest.err; then
2535 grep -v '^ *+' conftest.err >conftest.er1
2536 cat conftest.er1 >&5
2537 mv -f conftest.er1 conftest.err
2539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2540 test $ac_status = 0; } > conftest.i && {
2541 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2542 test ! -s conftest.err
2543 }; then :
2544 ac_retval=0
2545 else
2546 $as_echo "$as_me: failed program was:" >&5
2547 sed 's/^/| /' conftest.$ac_ext >&5
2549 ac_retval=1
2551 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2552 as_fn_set_status $ac_retval
2554 } # ac_fn_c_try_cpp
2556 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2557 # -------------------------------------------------------
2558 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2559 # the include files in INCLUDES and setting the cache variable VAR
2560 # accordingly.
2561 ac_fn_c_check_header_mongrel ()
2563 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2564 if eval \${$3+:} false; then :
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2566 $as_echo_n "checking for $2... " >&6; }
2567 if eval \${$3+:} false; then :
2568 $as_echo_n "(cached) " >&6
2570 eval ac_res=\$$3
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2572 $as_echo "$ac_res" >&6; }
2573 else
2574 # Is the header compilable?
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2576 $as_echo_n "checking $2 usability... " >&6; }
2577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2578 /* end confdefs.h. */
2580 #include <$2>
2581 _ACEOF
2582 if ac_fn_c_try_compile "$LINENO"; then :
2583 ac_header_compiler=yes
2584 else
2585 ac_header_compiler=no
2587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2589 $as_echo "$ac_header_compiler" >&6; }
2591 # Is the header present?
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2593 $as_echo_n "checking $2 presence... " >&6; }
2594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2595 /* end confdefs.h. */
2596 #include <$2>
2597 _ACEOF
2598 if ac_fn_c_try_cpp "$LINENO"; then :
2599 ac_header_preproc=yes
2600 else
2601 ac_header_preproc=no
2603 rm -f conftest.err conftest.i conftest.$ac_ext
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2605 $as_echo "$ac_header_preproc" >&6; }
2607 # So? What about this header?
2608 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2609 yes:no: )
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2611 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2613 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2615 no:yes:* )
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2617 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2619 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2621 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2623 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2625 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2626 ( $as_echo "## ------------------------------------ ##
2627 ## Report this to wine-devel@winehq.org ##
2628 ## ------------------------------------ ##"
2629 ) | sed "s/^/$as_me: WARNING: /" >&2
2631 esac
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2633 $as_echo_n "checking for $2... " >&6; }
2634 if eval \${$3+:} false; then :
2635 $as_echo_n "(cached) " >&6
2636 else
2637 eval "$3=\$ac_header_compiler"
2639 eval ac_res=\$$3
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2641 $as_echo "$ac_res" >&6; }
2643 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2645 } # ac_fn_c_check_header_mongrel
2647 # ac_fn_c_try_run LINENO
2648 # ----------------------
2649 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2650 # that executables *can* be run.
2651 ac_fn_c_try_run ()
2653 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2654 if { { ac_try="$ac_link"
2655 case "(($ac_try" in
2656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2657 *) ac_try_echo=$ac_try;;
2658 esac
2659 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2660 $as_echo "$ac_try_echo"; } >&5
2661 (eval "$ac_link") 2>&5
2662 ac_status=$?
2663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2664 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2665 { { case "(($ac_try" in
2666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2667 *) ac_try_echo=$ac_try;;
2668 esac
2669 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2670 $as_echo "$ac_try_echo"; } >&5
2671 (eval "$ac_try") 2>&5
2672 ac_status=$?
2673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2674 test $ac_status = 0; }; }; then :
2675 ac_retval=0
2676 else
2677 $as_echo "$as_me: program exited with status $ac_status" >&5
2678 $as_echo "$as_me: failed program was:" >&5
2679 sed 's/^/| /' conftest.$ac_ext >&5
2681 ac_retval=$ac_status
2683 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2684 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2685 as_fn_set_status $ac_retval
2687 } # ac_fn_c_try_run
2689 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2690 # -------------------------------------------------------
2691 # Tests whether HEADER exists and can be compiled using the include files in
2692 # INCLUDES, setting the cache variable VAR accordingly.
2693 ac_fn_c_check_header_compile ()
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. */
2704 #include <$2>
2705 _ACEOF
2706 if ac_fn_c_try_compile "$LINENO"; then :
2707 eval "$3=yes"
2708 else
2709 eval "$3=no"
2711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2713 eval ac_res=\$$3
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2715 $as_echo "$ac_res" >&6; }
2716 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2718 } # ac_fn_c_check_header_compile
2720 # ac_fn_c_check_func LINENO FUNC VAR
2721 # ----------------------------------
2722 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2723 ac_fn_c_check_func ()
2725 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2727 $as_echo_n "checking for $2... " >&6; }
2728 if eval \${$3+:} false; then :
2729 $as_echo_n "(cached) " >&6
2730 else
2731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2732 /* end confdefs.h. */
2733 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2735 #define $2 innocuous_$2
2737 /* System header to define __stub macros and hopefully few prototypes,
2738 which can conflict with char $2 (); below.
2739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2740 <limits.h> exists even on freestanding compilers. */
2742 #ifdef __STDC__
2743 # include <limits.h>
2744 #else
2745 # include <assert.h>
2746 #endif
2748 #undef $2
2750 /* Override any GCC internal prototype to avoid an error.
2751 Use char because int might match the return type of a GCC
2752 builtin and then its argument prototype would still apply. */
2753 #ifdef __cplusplus
2754 extern "C"
2755 #endif
2756 char $2 ();
2757 /* The GNU C library defines this for functions which it implements
2758 to always fail with ENOSYS. Some functions are actually named
2759 something starting with __ and the normal name is an alias. */
2760 #if defined __stub_$2 || defined __stub___$2
2761 choke me
2762 #endif
2765 main ()
2767 return $2 ();
2769 return 0;
2771 _ACEOF
2772 if ac_fn_c_try_link "$LINENO"; then :
2773 eval "$3=yes"
2774 else
2775 eval "$3=no"
2777 rm -f core conftest.err conftest.$ac_objext \
2778 conftest$ac_exeext conftest.$ac_ext
2780 eval ac_res=\$$3
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2782 $as_echo "$ac_res" >&6; }
2783 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2785 } # ac_fn_c_check_func
2787 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2788 # ----------------------------------------------------
2789 # Tries to find if the field MEMBER exists in type AGGR, after including
2790 # INCLUDES, setting cache variable VAR accordingly.
2791 ac_fn_c_check_member ()
2793 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2795 $as_echo_n "checking for $2.$3... " >&6; }
2796 if eval \${$4+:} false; then :
2797 $as_echo_n "(cached) " >&6
2798 else
2799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2800 /* end confdefs.h. */
2803 main ()
2805 static $2 ac_aggr;
2806 if (ac_aggr.$3)
2807 return 0;
2809 return 0;
2811 _ACEOF
2812 if ac_fn_c_try_compile "$LINENO"; then :
2813 eval "$4=yes"
2814 else
2815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2816 /* end confdefs.h. */
2819 main ()
2821 static $2 ac_aggr;
2822 if (sizeof ac_aggr.$3)
2823 return 0;
2825 return 0;
2827 _ACEOF
2828 if ac_fn_c_try_compile "$LINENO"; then :
2829 eval "$4=yes"
2830 else
2831 eval "$4=no"
2833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2837 eval ac_res=\$$4
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2839 $as_echo "$ac_res" >&6; }
2840 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2842 } # ac_fn_c_check_member
2844 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2845 # -------------------------------------------
2846 # Tests whether TYPE exists after having included INCLUDES, setting cache
2847 # variable VAR accordingly.
2848 ac_fn_c_check_type ()
2850 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2852 $as_echo_n "checking for $2... " >&6; }
2853 if eval \${$3+:} false; then :
2854 $as_echo_n "(cached) " >&6
2855 else
2856 eval "$3=no"
2857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2858 /* end confdefs.h. */
2861 main ()
2863 if (sizeof ($2))
2864 return 0;
2866 return 0;
2868 _ACEOF
2869 if ac_fn_c_try_compile "$LINENO"; then :
2870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2871 /* end confdefs.h. */
2874 main ()
2876 if (sizeof (($2)))
2877 return 0;
2879 return 0;
2881 _ACEOF
2882 if ac_fn_c_try_compile "$LINENO"; then :
2884 else
2885 eval "$3=yes"
2887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2891 eval ac_res=\$$3
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2893 $as_echo "$ac_res" >&6; }
2894 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2896 } # ac_fn_c_check_type
2897 cat >config.log <<_ACEOF
2898 This file contains any messages produced by compilers while
2899 running configure, to aid debugging if configure makes a mistake.
2901 It was created by Wine $as_me 1.9.1, which was
2902 generated by GNU Autoconf 2.69. Invocation command line was
2904 $ $0 $@
2906 _ACEOF
2907 exec 5>>config.log
2909 cat <<_ASUNAME
2910 ## --------- ##
2911 ## Platform. ##
2912 ## --------- ##
2914 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2915 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2916 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2917 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2918 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2920 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2921 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2923 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2924 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2925 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2926 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2927 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2928 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2929 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2931 _ASUNAME
2933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2934 for as_dir in $PATH
2936 IFS=$as_save_IFS
2937 test -z "$as_dir" && as_dir=.
2938 $as_echo "PATH: $as_dir"
2939 done
2940 IFS=$as_save_IFS
2942 } >&5
2944 cat >&5 <<_ACEOF
2947 ## ----------- ##
2948 ## Core tests. ##
2949 ## ----------- ##
2951 _ACEOF
2954 # Keep a trace of the command line.
2955 # Strip out --no-create and --no-recursion so they do not pile up.
2956 # Strip out --silent because we don't want to record it for future runs.
2957 # Also quote any args containing shell meta-characters.
2958 # Make two passes to allow for proper duplicate-argument suppression.
2959 ac_configure_args=
2960 ac_configure_args0=
2961 ac_configure_args1=
2962 ac_must_keep_next=false
2963 for ac_pass in 1 2
2965 for ac_arg
2967 case $ac_arg in
2968 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2969 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2970 | -silent | --silent | --silen | --sile | --sil)
2971 continue ;;
2972 *\'*)
2973 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2974 esac
2975 case $ac_pass in
2976 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2978 as_fn_append ac_configure_args1 " '$ac_arg'"
2979 if test $ac_must_keep_next = true; then
2980 ac_must_keep_next=false # Got value, back to normal.
2981 else
2982 case $ac_arg in
2983 *=* | --config-cache | -C | -disable-* | --disable-* \
2984 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2985 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2986 | -with-* | --with-* | -without-* | --without-* | --x)
2987 case "$ac_configure_args0 " in
2988 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2989 esac
2991 -* ) ac_must_keep_next=true ;;
2992 esac
2994 as_fn_append ac_configure_args " '$ac_arg'"
2996 esac
2997 done
2998 done
2999 { ac_configure_args0=; unset ac_configure_args0;}
3000 { ac_configure_args1=; unset ac_configure_args1;}
3002 # When interrupted or exit'd, cleanup temporary files, and complete
3003 # config.log. We remove comments because anyway the quotes in there
3004 # would cause problems or look ugly.
3005 # WARNING: Use '\'' to represent an apostrophe within the trap.
3006 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3007 trap 'exit_status=$?
3008 # Save into config.log some information that might help in debugging.
3010 echo
3012 $as_echo "## ---------------- ##
3013 ## Cache variables. ##
3014 ## ---------------- ##"
3015 echo
3016 # The following way of writing the cache mishandles newlines in values,
3018 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3019 eval ac_val=\$$ac_var
3020 case $ac_val in #(
3021 *${as_nl}*)
3022 case $ac_var in #(
3023 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3024 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3025 esac
3026 case $ac_var in #(
3027 _ | IFS | as_nl) ;; #(
3028 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3029 *) { eval $ac_var=; unset $ac_var;} ;;
3030 esac ;;
3031 esac
3032 done
3033 (set) 2>&1 |
3034 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3035 *${as_nl}ac_space=\ *)
3036 sed -n \
3037 "s/'\''/'\''\\\\'\'''\''/g;
3038 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3039 ;; #(
3041 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3043 esac |
3044 sort
3046 echo
3048 $as_echo "## ----------------- ##
3049 ## Output variables. ##
3050 ## ----------------- ##"
3051 echo
3052 for ac_var in $ac_subst_vars
3054 eval ac_val=\$$ac_var
3055 case $ac_val in
3056 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3057 esac
3058 $as_echo "$ac_var='\''$ac_val'\''"
3059 done | sort
3060 echo
3062 if test -n "$ac_subst_files"; then
3063 $as_echo "## ------------------- ##
3064 ## File substitutions. ##
3065 ## ------------------- ##"
3066 echo
3067 for ac_var in $ac_subst_files
3069 eval ac_val=\$$ac_var
3070 case $ac_val in
3071 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3072 esac
3073 $as_echo "$ac_var='\''$ac_val'\''"
3074 done | sort
3075 echo
3078 if test -s confdefs.h; then
3079 $as_echo "## ----------- ##
3080 ## confdefs.h. ##
3081 ## ----------- ##"
3082 echo
3083 cat confdefs.h
3084 echo
3086 test "$ac_signal" != 0 &&
3087 $as_echo "$as_me: caught signal $ac_signal"
3088 $as_echo "$as_me: exit $exit_status"
3089 } >&5
3090 rm -f core *.core core.conftest.* &&
3091 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3092 exit $exit_status
3094 for ac_signal in 1 2 13 15; do
3095 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3096 done
3097 ac_signal=0
3099 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3100 rm -f -r conftest* confdefs.h
3102 $as_echo "/* confdefs.h */" > confdefs.h
3104 # Predefined preprocessor variables.
3106 cat >>confdefs.h <<_ACEOF
3107 #define PACKAGE_NAME "$PACKAGE_NAME"
3108 _ACEOF
3110 cat >>confdefs.h <<_ACEOF
3111 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3112 _ACEOF
3114 cat >>confdefs.h <<_ACEOF
3115 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3116 _ACEOF
3118 cat >>confdefs.h <<_ACEOF
3119 #define PACKAGE_STRING "$PACKAGE_STRING"
3120 _ACEOF
3122 cat >>confdefs.h <<_ACEOF
3123 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3124 _ACEOF
3126 cat >>confdefs.h <<_ACEOF
3127 #define PACKAGE_URL "$PACKAGE_URL"
3128 _ACEOF
3131 # Let the site file select an alternate cache file if it wants to.
3132 # Prefer an explicitly selected file to automatically selected ones.
3133 ac_site_file1=NONE
3134 ac_site_file2=NONE
3135 if test -n "$CONFIG_SITE"; then
3136 # We do not want a PATH search for config.site.
3137 case $CONFIG_SITE in #((
3138 -*) ac_site_file1=./$CONFIG_SITE;;
3139 */*) ac_site_file1=$CONFIG_SITE;;
3140 *) ac_site_file1=./$CONFIG_SITE;;
3141 esac
3142 elif test "x$prefix" != xNONE; then
3143 ac_site_file1=$prefix/share/config.site
3144 ac_site_file2=$prefix/etc/config.site
3145 else
3146 ac_site_file1=$ac_default_prefix/share/config.site
3147 ac_site_file2=$ac_default_prefix/etc/config.site
3149 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3151 test "x$ac_site_file" = xNONE && continue
3152 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3154 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3155 sed 's/^/| /' "$ac_site_file" >&5
3156 . "$ac_site_file" \
3157 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3158 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3159 as_fn_error $? "failed to load site script $ac_site_file
3160 See \`config.log' for more details" "$LINENO" 5; }
3162 done
3164 if test -r "$cache_file"; then
3165 # Some versions of bash will fail to source /dev/null (special files
3166 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3167 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3169 $as_echo "$as_me: loading cache $cache_file" >&6;}
3170 case $cache_file in
3171 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3172 *) . "./$cache_file";;
3173 esac
3175 else
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3177 $as_echo "$as_me: creating cache $cache_file" >&6;}
3178 >$cache_file
3181 # Check that the precious variables saved in the cache have kept the same
3182 # value.
3183 ac_cache_corrupted=false
3184 for ac_var in $ac_precious_vars; do
3185 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3186 eval ac_new_set=\$ac_env_${ac_var}_set
3187 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3188 eval ac_new_val=\$ac_env_${ac_var}_value
3189 case $ac_old_set,$ac_new_set in
3190 set,)
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3192 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3193 ac_cache_corrupted=: ;;
3194 ,set)
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3196 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3197 ac_cache_corrupted=: ;;
3198 ,);;
3200 if test "x$ac_old_val" != "x$ac_new_val"; then
3201 # differences in whitespace do not lead to failure.
3202 ac_old_val_w=`echo x $ac_old_val`
3203 ac_new_val_w=`echo x $ac_new_val`
3204 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3206 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3207 ac_cache_corrupted=:
3208 else
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3210 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3211 eval $ac_var=\$ac_old_val
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3214 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3216 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3217 fi;;
3218 esac
3219 # Pass precious variables to config.status.
3220 if test "$ac_new_set" = set; then
3221 case $ac_new_val in
3222 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3223 *) ac_arg=$ac_var=$ac_new_val ;;
3224 esac
3225 case " $ac_configure_args " in
3226 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3227 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3228 esac
3230 done
3231 if $ac_cache_corrupted; then
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3233 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3235 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3236 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3238 ## -------------------- ##
3239 ## Main body of script. ##
3240 ## -------------------- ##
3242 ac_ext=c
3243 ac_cpp='$CPP $CPPFLAGS'
3244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3250 ac_config_headers="$ac_config_headers include/config.h"
3252 ac_aux_dir=
3253 for ac_dir in tools "$srcdir"/tools; do
3254 if test -f "$ac_dir/install-sh"; then
3255 ac_aux_dir=$ac_dir
3256 ac_install_sh="$ac_aux_dir/install-sh -c"
3257 break
3258 elif test -f "$ac_dir/install.sh"; then
3259 ac_aux_dir=$ac_dir
3260 ac_install_sh="$ac_aux_dir/install.sh -c"
3261 break
3262 elif test -f "$ac_dir/shtool"; then
3263 ac_aux_dir=$ac_dir
3264 ac_install_sh="$ac_aux_dir/shtool install -c"
3265 break
3267 done
3268 if test -z "$ac_aux_dir"; then
3269 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3272 # These three variables are undocumented and unsupported,
3273 # and are intended to be withdrawn in a future Autoconf release.
3274 # They can cause serious problems if a builder's source tree is in a directory
3275 # whose full name contains unusual characters.
3276 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3277 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3278 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3282 libwine_version="1.0"
3286 # Check whether --enable-win16 was given.
3287 if test "${enable_win16+set}" = set; then :
3288 enableval=$enable_win16;
3291 # Check whether --enable-win64 was given.
3292 if test "${enable_win64+set}" = set; then :
3293 enableval=$enable_win64;
3296 # Check whether --enable-tests was given.
3297 if test "${enable_tests+set}" = set; then :
3298 enableval=$enable_tests;
3301 # Check whether --enable-maintainer-mode was given.
3302 if test "${enable_maintainer_mode+set}" = set; then :
3303 enableval=$enable_maintainer_mode;
3308 # Check whether --with-alsa was given.
3309 if test "${with_alsa+set}" = set; then :
3310 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3314 # Check whether --with-capi was given.
3315 if test "${with_capi+set}" = set; then :
3316 withval=$with_capi;
3320 # Check whether --with-cms was given.
3321 if test "${with_cms+set}" = set; then :
3322 withval=$with_cms;
3326 # Check whether --with-coreaudio was given.
3327 if test "${with_coreaudio+set}" = set; then :
3328 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3332 # Check whether --with-cups was given.
3333 if test "${with_cups+set}" = set; then :
3334 withval=$with_cups;
3338 # Check whether --with-curses was given.
3339 if test "${with_curses+set}" = set; then :
3340 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3344 # Check whether --with-dbus was given.
3345 if test "${with_dbus+set}" = set; then :
3346 withval=$with_dbus;
3350 # Check whether --with-fontconfig was given.
3351 if test "${with_fontconfig+set}" = set; then :
3352 withval=$with_fontconfig;
3356 # Check whether --with-freetype was given.
3357 if test "${with_freetype+set}" = set; then :
3358 withval=$with_freetype;
3362 # Check whether --with-gettext was given.
3363 if test "${with_gettext+set}" = set; then :
3364 withval=$with_gettext;
3368 # Check whether --with-gettextpo was given.
3369 if test "${with_gettextpo+set}" = set; then :
3370 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3374 # Check whether --with-gphoto was given.
3375 if test "${with_gphoto+set}" = set; then :
3376 withval=$with_gphoto;
3380 # Check whether --with-glu was given.
3381 if test "${with_glu+set}" = set; then :
3382 withval=$with_glu;
3386 # Check whether --with-gnutls was given.
3387 if test "${with_gnutls+set}" = set; then :
3388 withval=$with_gnutls;
3392 # Check whether --with-gsm was given.
3393 if test "${with_gsm+set}" = set; then :
3394 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3398 # Check whether --with-gstreamer was given.
3399 if test "${with_gstreamer+set}" = set; then :
3400 withval=$with_gstreamer;
3404 # Check whether --with-hal was given.
3405 if test "${with_hal+set}" = set; then :
3406 withval=$with_hal;
3410 # Check whether --with-jpeg was given.
3411 if test "${with_jpeg+set}" = set; then :
3412 withval=$with_jpeg;
3416 # Check whether --with-ldap was given.
3417 if test "${with_ldap+set}" = set; then :
3418 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3422 # Check whether --with-mpg123 was given.
3423 if test "${with_mpg123+set}" = set; then :
3424 withval=$with_mpg123;
3428 # Check whether --with-netapi was given.
3429 if test "${with_netapi+set}" = set; then :
3430 withval=$with_netapi;
3434 # Check whether --with-openal was given.
3435 if test "${with_openal+set}" = set; then :
3436 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3440 # Check whether --with-opencl was given.
3441 if test "${with_opencl+set}" = set; then :
3442 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3446 # Check whether --with-opengl was given.
3447 if test "${with_opengl+set}" = set; then :
3448 withval=$with_opengl;
3452 # Check whether --with-osmesa was given.
3453 if test "${with_osmesa+set}" = set; then :
3454 withval=$with_osmesa;
3458 # Check whether --with-oss was given.
3459 if test "${with_oss+set}" = set; then :
3460 withval=$with_oss;
3464 # Check whether --with-pcap was given.
3465 if test "${with_pcap+set}" = set; then :
3466 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3470 # Check whether --with-png was given.
3471 if test "${with_png+set}" = set; then :
3472 withval=$with_png;
3476 # Check whether --with-pthread was given.
3477 if test "${with_pthread+set}" = set; then :
3478 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3482 # Check whether --with-pulse was given.
3483 if test "${with_pulse+set}" = set; then :
3484 withval=$with_pulse;
3488 # Check whether --with-sane was given.
3489 if test "${with_sane+set}" = set; then :
3490 withval=$with_sane;
3494 # Check whether --with-tiff was given.
3495 if test "${with_tiff+set}" = set; then :
3496 withval=$with_tiff;
3500 # Check whether --with-v4l was given.
3501 if test "${with_v4l+set}" = set; then :
3502 withval=$with_v4l;
3506 # Check whether --with-xcomposite was given.
3507 if test "${with_xcomposite+set}" = set; then :
3508 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3512 # Check whether --with-xcursor was given.
3513 if test "${with_xcursor+set}" = set; then :
3514 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3518 # Check whether --with-xinerama was given.
3519 if test "${with_xinerama+set}" = set; then :
3520 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3524 # Check whether --with-xinput was given.
3525 if test "${with_xinput+set}" = set; then :
3526 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3530 # Check whether --with-xinput2 was given.
3531 if test "${with_xinput2+set}" = set; then :
3532 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3536 # Check whether --with-xml was given.
3537 if test "${with_xml+set}" = set; then :
3538 withval=$with_xml;
3542 # Check whether --with-xrandr was given.
3543 if test "${with_xrandr+set}" = set; then :
3544 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3548 # Check whether --with-xrender was given.
3549 if test "${with_xrender+set}" = set; then :
3550 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3554 # Check whether --with-xshape was given.
3555 if test "${with_xshape+set}" = set; then :
3556 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3560 # Check whether --with-xshm was given.
3561 if test "${with_xshm+set}" = set; then :
3562 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3566 # Check whether --with-xslt was given.
3567 if test "${with_xslt+set}" = set; then :
3568 withval=$with_xslt;
3572 # Check whether --with-xxf86vm was given.
3573 if test "${with_xxf86vm+set}" = set; then :
3574 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
3578 # Check whether --with-zlib was given.
3579 if test "${with_zlib+set}" = set; then :
3580 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3585 # Check whether --with-wine-tools was given.
3586 if test "${with_wine_tools+set}" = set; then :
3587 withval=$with_wine_tools;
3591 # Check whether --with-wine64 was given.
3592 if test "${with_wine64+set}" = set; then :
3593 withval=$with_wine64;
3597 # Make sure we can run config.sub.
3598 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3599 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3602 $as_echo_n "checking build system type... " >&6; }
3603 if ${ac_cv_build+:} false; then :
3604 $as_echo_n "(cached) " >&6
3605 else
3606 ac_build_alias=$build_alias
3607 test "x$ac_build_alias" = x &&
3608 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3609 test "x$ac_build_alias" = x &&
3610 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3611 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3612 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3616 $as_echo "$ac_cv_build" >&6; }
3617 case $ac_cv_build in
3618 *-*-*) ;;
3619 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3620 esac
3621 build=$ac_cv_build
3622 ac_save_IFS=$IFS; IFS='-'
3623 set x $ac_cv_build
3624 shift
3625 build_cpu=$1
3626 build_vendor=$2
3627 shift; shift
3628 # Remember, the first character of IFS is used to create $*,
3629 # except with old shells:
3630 build_os=$*
3631 IFS=$ac_save_IFS
3632 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3636 $as_echo_n "checking host system type... " >&6; }
3637 if ${ac_cv_host+:} false; then :
3638 $as_echo_n "(cached) " >&6
3639 else
3640 if test "x$host_alias" = x; then
3641 ac_cv_host=$ac_cv_build
3642 else
3643 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3644 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3649 $as_echo "$ac_cv_host" >&6; }
3650 case $ac_cv_host in
3651 *-*-*) ;;
3652 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3653 esac
3654 host=$ac_cv_host
3655 ac_save_IFS=$IFS; IFS='-'
3656 set x $ac_cv_host
3657 shift
3658 host_cpu=$1
3659 host_vendor=$2
3660 shift; shift
3661 # Remember, the first character of IFS is used to create $*,
3662 # except with old shells:
3663 host_os=$*
3664 IFS=$ac_save_IFS
3665 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3669 case "$srcdir" in
3670 .) ;;
3671 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3672 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3673 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3674 fi ;;
3675 esac
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3679 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3680 set x ${MAKE-make}
3681 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3682 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3683 $as_echo_n "(cached) " >&6
3684 else
3685 cat >conftest.make <<\_ACEOF
3686 SHELL = /bin/sh
3687 all:
3688 @echo '@@@%%%=$(MAKE)=@@@%%%'
3689 _ACEOF
3690 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3691 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3692 *@@@%%%=?*=@@@%%%*)
3693 eval ac_cv_prog_make_${ac_make}_set=yes;;
3695 eval ac_cv_prog_make_${ac_make}_set=no;;
3696 esac
3697 rm -f conftest.make
3699 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3701 $as_echo "yes" >&6; }
3702 SET_MAKE=
3703 else
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3705 $as_echo "no" >&6; }
3706 SET_MAKE="MAKE=${MAKE-make}"
3709 ac_ext=c
3710 ac_cpp='$CPP $CPPFLAGS'
3711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3714 if test -n "$ac_tool_prefix"; then
3715 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3716 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3718 $as_echo_n "checking for $ac_word... " >&6; }
3719 if ${ac_cv_prog_CC+:} false; then :
3720 $as_echo_n "(cached) " >&6
3721 else
3722 if test -n "$CC"; then
3723 ac_cv_prog_CC="$CC" # Let the user override the test.
3724 else
3725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3726 for as_dir in $PATH
3728 IFS=$as_save_IFS
3729 test -z "$as_dir" && as_dir=.
3730 for ac_exec_ext in '' $ac_executable_extensions; do
3731 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3732 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3734 break 2
3736 done
3737 done
3738 IFS=$as_save_IFS
3742 CC=$ac_cv_prog_CC
3743 if test -n "$CC"; then
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3745 $as_echo "$CC" >&6; }
3746 else
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3748 $as_echo "no" >&6; }
3753 if test -z "$ac_cv_prog_CC"; then
3754 ac_ct_CC=$CC
3755 # Extract the first word of "gcc", so it can be a program name with args.
3756 set dummy gcc; ac_word=$2
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3758 $as_echo_n "checking for $ac_word... " >&6; }
3759 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3760 $as_echo_n "(cached) " >&6
3761 else
3762 if test -n "$ac_ct_CC"; then
3763 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3764 else
3765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3766 for as_dir in $PATH
3768 IFS=$as_save_IFS
3769 test -z "$as_dir" && as_dir=.
3770 for ac_exec_ext in '' $ac_executable_extensions; do
3771 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3772 ac_cv_prog_ac_ct_CC="gcc"
3773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3774 break 2
3776 done
3777 done
3778 IFS=$as_save_IFS
3782 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3783 if test -n "$ac_ct_CC"; then
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3785 $as_echo "$ac_ct_CC" >&6; }
3786 else
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3788 $as_echo "no" >&6; }
3791 if test "x$ac_ct_CC" = x; then
3792 CC=""
3793 else
3794 case $cross_compiling:$ac_tool_warned in
3795 yes:)
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3797 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3798 ac_tool_warned=yes ;;
3799 esac
3800 CC=$ac_ct_CC
3802 else
3803 CC="$ac_cv_prog_CC"
3806 if test -z "$CC"; then
3807 if test -n "$ac_tool_prefix"; then
3808 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3809 set dummy ${ac_tool_prefix}cc; ac_word=$2
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3811 $as_echo_n "checking for $ac_word... " >&6; }
3812 if ${ac_cv_prog_CC+:} false; then :
3813 $as_echo_n "(cached) " >&6
3814 else
3815 if test -n "$CC"; then
3816 ac_cv_prog_CC="$CC" # Let the user override the test.
3817 else
3818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3819 for as_dir in $PATH
3821 IFS=$as_save_IFS
3822 test -z "$as_dir" && as_dir=.
3823 for ac_exec_ext in '' $ac_executable_extensions; do
3824 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3825 ac_cv_prog_CC="${ac_tool_prefix}cc"
3826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3827 break 2
3829 done
3830 done
3831 IFS=$as_save_IFS
3835 CC=$ac_cv_prog_CC
3836 if test -n "$CC"; then
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3838 $as_echo "$CC" >&6; }
3839 else
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3841 $as_echo "no" >&6; }
3847 if test -z "$CC"; then
3848 # Extract the first word of "cc", so it can be a program name with args.
3849 set dummy cc; ac_word=$2
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3851 $as_echo_n "checking for $ac_word... " >&6; }
3852 if ${ac_cv_prog_CC+:} false; then :
3853 $as_echo_n "(cached) " >&6
3854 else
3855 if test -n "$CC"; then
3856 ac_cv_prog_CC="$CC" # Let the user override the test.
3857 else
3858 ac_prog_rejected=no
3859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3860 for as_dir in $PATH
3862 IFS=$as_save_IFS
3863 test -z "$as_dir" && as_dir=.
3864 for ac_exec_ext in '' $ac_executable_extensions; do
3865 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3866 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3867 ac_prog_rejected=yes
3868 continue
3870 ac_cv_prog_CC="cc"
3871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3872 break 2
3874 done
3875 done
3876 IFS=$as_save_IFS
3878 if test $ac_prog_rejected = yes; then
3879 # We found a bogon in the path, so make sure we never use it.
3880 set dummy $ac_cv_prog_CC
3881 shift
3882 if test $# != 0; then
3883 # We chose a different compiler from the bogus one.
3884 # However, it has the same basename, so the bogon will be chosen
3885 # first if we set CC to just the basename; use the full file name.
3886 shift
3887 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3892 CC=$ac_cv_prog_CC
3893 if test -n "$CC"; then
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3895 $as_echo "$CC" >&6; }
3896 else
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3898 $as_echo "no" >&6; }
3903 if test -z "$CC"; then
3904 if test -n "$ac_tool_prefix"; then
3905 for ac_prog in cl.exe
3907 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3908 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3910 $as_echo_n "checking for $ac_word... " >&6; }
3911 if ${ac_cv_prog_CC+:} false; then :
3912 $as_echo_n "(cached) " >&6
3913 else
3914 if test -n "$CC"; then
3915 ac_cv_prog_CC="$CC" # Let the user override the test.
3916 else
3917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3918 for as_dir in $PATH
3920 IFS=$as_save_IFS
3921 test -z "$as_dir" && as_dir=.
3922 for ac_exec_ext in '' $ac_executable_extensions; do
3923 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3924 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3926 break 2
3928 done
3929 done
3930 IFS=$as_save_IFS
3934 CC=$ac_cv_prog_CC
3935 if test -n "$CC"; then
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3937 $as_echo "$CC" >&6; }
3938 else
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3940 $as_echo "no" >&6; }
3944 test -n "$CC" && break
3945 done
3947 if test -z "$CC"; then
3948 ac_ct_CC=$CC
3949 for ac_prog in cl.exe
3951 # Extract the first word of "$ac_prog", so it can be a program name with args.
3952 set dummy $ac_prog; ac_word=$2
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3954 $as_echo_n "checking for $ac_word... " >&6; }
3955 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3956 $as_echo_n "(cached) " >&6
3957 else
3958 if test -n "$ac_ct_CC"; then
3959 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3960 else
3961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3962 for as_dir in $PATH
3964 IFS=$as_save_IFS
3965 test -z "$as_dir" && as_dir=.
3966 for ac_exec_ext in '' $ac_executable_extensions; do
3967 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3968 ac_cv_prog_ac_ct_CC="$ac_prog"
3969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3970 break 2
3972 done
3973 done
3974 IFS=$as_save_IFS
3978 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3979 if test -n "$ac_ct_CC"; then
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3981 $as_echo "$ac_ct_CC" >&6; }
3982 else
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3984 $as_echo "no" >&6; }
3988 test -n "$ac_ct_CC" && break
3989 done
3991 if test "x$ac_ct_CC" = x; then
3992 CC=""
3993 else
3994 case $cross_compiling:$ac_tool_warned in
3995 yes:)
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3997 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3998 ac_tool_warned=yes ;;
3999 esac
4000 CC=$ac_ct_CC
4007 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4008 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4009 as_fn_error $? "no acceptable C compiler found in \$PATH
4010 See \`config.log' for more details" "$LINENO" 5; }
4012 # Provide some information about the compiler.
4013 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4014 set X $ac_compile
4015 ac_compiler=$2
4016 for ac_option in --version -v -V -qversion; do
4017 { { ac_try="$ac_compiler $ac_option >&5"
4018 case "(($ac_try" in
4019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4020 *) ac_try_echo=$ac_try;;
4021 esac
4022 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4023 $as_echo "$ac_try_echo"; } >&5
4024 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4025 ac_status=$?
4026 if test -s conftest.err; then
4027 sed '10a\
4028 ... rest of stderr output deleted ...
4029 10q' conftest.err >conftest.er1
4030 cat conftest.er1 >&5
4032 rm -f conftest.er1 conftest.err
4033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4034 test $ac_status = 0; }
4035 done
4037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4038 /* end confdefs.h. */
4041 main ()
4045 return 0;
4047 _ACEOF
4048 ac_clean_files_save=$ac_clean_files
4049 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4050 # Try to create an executable without -o first, disregard a.out.
4051 # It will help us diagnose broken compilers, and finding out an intuition
4052 # of exeext.
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4054 $as_echo_n "checking whether the C compiler works... " >&6; }
4055 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4057 # The possible output files:
4058 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4060 ac_rmfiles=
4061 for ac_file in $ac_files
4063 case $ac_file in
4064 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4065 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4066 esac
4067 done
4068 rm -f $ac_rmfiles
4070 if { { ac_try="$ac_link_default"
4071 case "(($ac_try" in
4072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4073 *) ac_try_echo=$ac_try;;
4074 esac
4075 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4076 $as_echo "$ac_try_echo"; } >&5
4077 (eval "$ac_link_default") 2>&5
4078 ac_status=$?
4079 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4080 test $ac_status = 0; }; then :
4081 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4082 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4083 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4084 # so that the user can short-circuit this test for compilers unknown to
4085 # Autoconf.
4086 for ac_file in $ac_files ''
4088 test -f "$ac_file" || continue
4089 case $ac_file in
4090 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4092 [ab].out )
4093 # We found the default executable, but exeext='' is most
4094 # certainly right.
4095 break;;
4096 *.* )
4097 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4098 then :; else
4099 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4101 # We set ac_cv_exeext here because the later test for it is not
4102 # safe: cross compilers may not add the suffix if given an `-o'
4103 # argument, so we may need to know it at that point already.
4104 # Even if this section looks crufty: it has the advantage of
4105 # actually working.
4106 break;;
4108 break;;
4109 esac
4110 done
4111 test "$ac_cv_exeext" = no && ac_cv_exeext=
4113 else
4114 ac_file=''
4116 if test -z "$ac_file"; then :
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4118 $as_echo "no" >&6; }
4119 $as_echo "$as_me: failed program was:" >&5
4120 sed 's/^/| /' conftest.$ac_ext >&5
4122 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4123 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4124 as_fn_error 77 "C compiler cannot create executables
4125 See \`config.log' for more details" "$LINENO" 5; }
4126 else
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4128 $as_echo "yes" >&6; }
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4131 $as_echo_n "checking for C compiler default output file name... " >&6; }
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4133 $as_echo "$ac_file" >&6; }
4134 ac_exeext=$ac_cv_exeext
4136 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4137 ac_clean_files=$ac_clean_files_save
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4139 $as_echo_n "checking for suffix of executables... " >&6; }
4140 if { { ac_try="$ac_link"
4141 case "(($ac_try" in
4142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4143 *) ac_try_echo=$ac_try;;
4144 esac
4145 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4146 $as_echo "$ac_try_echo"; } >&5
4147 (eval "$ac_link") 2>&5
4148 ac_status=$?
4149 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4150 test $ac_status = 0; }; then :
4151 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4152 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4153 # work properly (i.e., refer to `conftest.exe'), while it won't with
4154 # `rm'.
4155 for ac_file in conftest.exe conftest conftest.*; do
4156 test -f "$ac_file" || continue
4157 case $ac_file in
4158 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4159 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4160 break;;
4161 * ) break;;
4162 esac
4163 done
4164 else
4165 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4166 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4167 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4168 See \`config.log' for more details" "$LINENO" 5; }
4170 rm -f conftest conftest$ac_cv_exeext
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4172 $as_echo "$ac_cv_exeext" >&6; }
4174 rm -f conftest.$ac_ext
4175 EXEEXT=$ac_cv_exeext
4176 ac_exeext=$EXEEXT
4177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4178 /* end confdefs.h. */
4179 #include <stdio.h>
4181 main ()
4183 FILE *f = fopen ("conftest.out", "w");
4184 return ferror (f) || fclose (f) != 0;
4187 return 0;
4189 _ACEOF
4190 ac_clean_files="$ac_clean_files conftest.out"
4191 # Check that the compiler produces executables we can run. If not, either
4192 # the compiler is broken, or we cross compile.
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4194 $as_echo_n "checking whether we are cross compiling... " >&6; }
4195 if test "$cross_compiling" != yes; then
4196 { { ac_try="$ac_link"
4197 case "(($ac_try" in
4198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4199 *) ac_try_echo=$ac_try;;
4200 esac
4201 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4202 $as_echo "$ac_try_echo"; } >&5
4203 (eval "$ac_link") 2>&5
4204 ac_status=$?
4205 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4206 test $ac_status = 0; }
4207 if { ac_try='./conftest$ac_cv_exeext'
4208 { { case "(($ac_try" in
4209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4210 *) ac_try_echo=$ac_try;;
4211 esac
4212 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4213 $as_echo "$ac_try_echo"; } >&5
4214 (eval "$ac_try") 2>&5
4215 ac_status=$?
4216 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4217 test $ac_status = 0; }; }; then
4218 cross_compiling=no
4219 else
4220 if test "$cross_compiling" = maybe; then
4221 cross_compiling=yes
4222 else
4223 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4224 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4225 as_fn_error $? "cannot run C compiled programs.
4226 If you meant to cross compile, use \`--host'.
4227 See \`config.log' for more details" "$LINENO" 5; }
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4232 $as_echo "$cross_compiling" >&6; }
4234 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4235 ac_clean_files=$ac_clean_files_save
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4237 $as_echo_n "checking for suffix of object files... " >&6; }
4238 if ${ac_cv_objext+:} false; then :
4239 $as_echo_n "(cached) " >&6
4240 else
4241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4242 /* end confdefs.h. */
4245 main ()
4249 return 0;
4251 _ACEOF
4252 rm -f conftest.o conftest.obj
4253 if { { ac_try="$ac_compile"
4254 case "(($ac_try" in
4255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4256 *) ac_try_echo=$ac_try;;
4257 esac
4258 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4259 $as_echo "$ac_try_echo"; } >&5
4260 (eval "$ac_compile") 2>&5
4261 ac_status=$?
4262 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4263 test $ac_status = 0; }; then :
4264 for ac_file in conftest.o conftest.obj conftest.*; do
4265 test -f "$ac_file" || continue;
4266 case $ac_file in
4267 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4268 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4269 break;;
4270 esac
4271 done
4272 else
4273 $as_echo "$as_me: failed program was:" >&5
4274 sed 's/^/| /' conftest.$ac_ext >&5
4276 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4277 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4278 as_fn_error $? "cannot compute suffix of object files: cannot compile
4279 See \`config.log' for more details" "$LINENO" 5; }
4281 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4284 $as_echo "$ac_cv_objext" >&6; }
4285 OBJEXT=$ac_cv_objext
4286 ac_objext=$OBJEXT
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4288 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4289 if ${ac_cv_c_compiler_gnu+:} false; then :
4290 $as_echo_n "(cached) " >&6
4291 else
4292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4293 /* end confdefs.h. */
4296 main ()
4298 #ifndef __GNUC__
4299 choke me
4300 #endif
4303 return 0;
4305 _ACEOF
4306 if ac_fn_c_try_compile "$LINENO"; then :
4307 ac_compiler_gnu=yes
4308 else
4309 ac_compiler_gnu=no
4311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4312 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4316 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4317 if test $ac_compiler_gnu = yes; then
4318 GCC=yes
4319 else
4320 GCC=
4322 ac_test_CFLAGS=${CFLAGS+set}
4323 ac_save_CFLAGS=$CFLAGS
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4325 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4326 if ${ac_cv_prog_cc_g+:} false; then :
4327 $as_echo_n "(cached) " >&6
4328 else
4329 ac_save_c_werror_flag=$ac_c_werror_flag
4330 ac_c_werror_flag=yes
4331 ac_cv_prog_cc_g=no
4332 CFLAGS="-g"
4333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4334 /* end confdefs.h. */
4337 main ()
4341 return 0;
4343 _ACEOF
4344 if ac_fn_c_try_compile "$LINENO"; then :
4345 ac_cv_prog_cc_g=yes
4346 else
4347 CFLAGS=""
4348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4349 /* end confdefs.h. */
4352 main ()
4356 return 0;
4358 _ACEOF
4359 if ac_fn_c_try_compile "$LINENO"; then :
4361 else
4362 ac_c_werror_flag=$ac_save_c_werror_flag
4363 CFLAGS="-g"
4364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4365 /* end confdefs.h. */
4368 main ()
4372 return 0;
4374 _ACEOF
4375 if ac_fn_c_try_compile "$LINENO"; then :
4376 ac_cv_prog_cc_g=yes
4378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4383 ac_c_werror_flag=$ac_save_c_werror_flag
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4386 $as_echo "$ac_cv_prog_cc_g" >&6; }
4387 if test "$ac_test_CFLAGS" = set; then
4388 CFLAGS=$ac_save_CFLAGS
4389 elif test $ac_cv_prog_cc_g = yes; then
4390 if test "$GCC" = yes; then
4391 CFLAGS="-g -O2"
4392 else
4393 CFLAGS="-g"
4395 else
4396 if test "$GCC" = yes; then
4397 CFLAGS="-O2"
4398 else
4399 CFLAGS=
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4403 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4404 if ${ac_cv_prog_cc_c89+:} false; then :
4405 $as_echo_n "(cached) " >&6
4406 else
4407 ac_cv_prog_cc_c89=no
4408 ac_save_CC=$CC
4409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4410 /* end confdefs.h. */
4411 #include <stdarg.h>
4412 #include <stdio.h>
4413 struct stat;
4414 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4415 struct buf { int x; };
4416 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4417 static char *e (p, i)
4418 char **p;
4419 int i;
4421 return p[i];
4423 static char *f (char * (*g) (char **, int), char **p, ...)
4425 char *s;
4426 va_list v;
4427 va_start (v,p);
4428 s = g (p, va_arg (v,int));
4429 va_end (v);
4430 return s;
4433 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4434 function prototypes and stuff, but not '\xHH' hex character constants.
4435 These don't provoke an error unfortunately, instead are silently treated
4436 as 'x'. The following induces an error, until -std is added to get
4437 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4438 array size at least. It's necessary to write '\x00'==0 to get something
4439 that's true only with -std. */
4440 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4442 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4443 inside strings and character constants. */
4444 #define FOO(x) 'x'
4445 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4447 int test (int i, double x);
4448 struct s1 {int (*f) (int a);};
4449 struct s2 {int (*f) (double a);};
4450 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4451 int argc;
4452 char **argv;
4454 main ()
4456 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4458 return 0;
4460 _ACEOF
4461 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4462 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4464 CC="$ac_save_CC $ac_arg"
4465 if ac_fn_c_try_compile "$LINENO"; then :
4466 ac_cv_prog_cc_c89=$ac_arg
4468 rm -f core conftest.err conftest.$ac_objext
4469 test "x$ac_cv_prog_cc_c89" != "xno" && break
4470 done
4471 rm -f conftest.$ac_ext
4472 CC=$ac_save_CC
4475 # AC_CACHE_VAL
4476 case "x$ac_cv_prog_cc_c89" in
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4479 $as_echo "none needed" >&6; } ;;
4480 xno)
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4482 $as_echo "unsupported" >&6; } ;;
4484 CC="$CC $ac_cv_prog_cc_c89"
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4486 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4487 esac
4488 if test "x$ac_cv_prog_cc_c89" != xno; then :
4492 ac_ext=c
4493 ac_cpp='$CPP $CPPFLAGS'
4494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4498 ac_ext=cpp
4499 ac_cpp='$CXXCPP $CPPFLAGS'
4500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4503 if test -z "$CXX"; then
4504 if test -n "$CCC"; then
4505 CXX=$CCC
4506 else
4507 if test -n "$ac_tool_prefix"; then
4508 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4510 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4511 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4513 $as_echo_n "checking for $ac_word... " >&6; }
4514 if ${ac_cv_prog_CXX+:} false; then :
4515 $as_echo_n "(cached) " >&6
4516 else
4517 if test -n "$CXX"; then
4518 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4519 else
4520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4521 for as_dir in $PATH
4523 IFS=$as_save_IFS
4524 test -z "$as_dir" && as_dir=.
4525 for ac_exec_ext in '' $ac_executable_extensions; do
4526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4527 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4529 break 2
4531 done
4532 done
4533 IFS=$as_save_IFS
4537 CXX=$ac_cv_prog_CXX
4538 if test -n "$CXX"; then
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4540 $as_echo "$CXX" >&6; }
4541 else
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4543 $as_echo "no" >&6; }
4547 test -n "$CXX" && break
4548 done
4550 if test -z "$CXX"; then
4551 ac_ct_CXX=$CXX
4552 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4554 # Extract the first word of "$ac_prog", so it can be a program name with args.
4555 set dummy $ac_prog; ac_word=$2
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4557 $as_echo_n "checking for $ac_word... " >&6; }
4558 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4559 $as_echo_n "(cached) " >&6
4560 else
4561 if test -n "$ac_ct_CXX"; then
4562 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4563 else
4564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4565 for as_dir in $PATH
4567 IFS=$as_save_IFS
4568 test -z "$as_dir" && as_dir=.
4569 for ac_exec_ext in '' $ac_executable_extensions; do
4570 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4571 ac_cv_prog_ac_ct_CXX="$ac_prog"
4572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4573 break 2
4575 done
4576 done
4577 IFS=$as_save_IFS
4581 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4582 if test -n "$ac_ct_CXX"; then
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4584 $as_echo "$ac_ct_CXX" >&6; }
4585 else
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4587 $as_echo "no" >&6; }
4591 test -n "$ac_ct_CXX" && break
4592 done
4594 if test "x$ac_ct_CXX" = x; then
4595 CXX="g++"
4596 else
4597 case $cross_compiling:$ac_tool_warned in
4598 yes:)
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4600 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4601 ac_tool_warned=yes ;;
4602 esac
4603 CXX=$ac_ct_CXX
4609 # Provide some information about the compiler.
4610 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4611 set X $ac_compile
4612 ac_compiler=$2
4613 for ac_option in --version -v -V -qversion; do
4614 { { ac_try="$ac_compiler $ac_option >&5"
4615 case "(($ac_try" in
4616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4617 *) ac_try_echo=$ac_try;;
4618 esac
4619 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4620 $as_echo "$ac_try_echo"; } >&5
4621 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4622 ac_status=$?
4623 if test -s conftest.err; then
4624 sed '10a\
4625 ... rest of stderr output deleted ...
4626 10q' conftest.err >conftest.er1
4627 cat conftest.er1 >&5
4629 rm -f conftest.er1 conftest.err
4630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4631 test $ac_status = 0; }
4632 done
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4635 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4636 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4637 $as_echo_n "(cached) " >&6
4638 else
4639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4640 /* end confdefs.h. */
4643 main ()
4645 #ifndef __GNUC__
4646 choke me
4647 #endif
4650 return 0;
4652 _ACEOF
4653 if ac_fn_cxx_try_compile "$LINENO"; then :
4654 ac_compiler_gnu=yes
4655 else
4656 ac_compiler_gnu=no
4658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4659 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4663 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4664 if test $ac_compiler_gnu = yes; then
4665 GXX=yes
4666 else
4667 GXX=
4669 ac_test_CXXFLAGS=${CXXFLAGS+set}
4670 ac_save_CXXFLAGS=$CXXFLAGS
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4672 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4673 if ${ac_cv_prog_cxx_g+:} false; then :
4674 $as_echo_n "(cached) " >&6
4675 else
4676 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4677 ac_cxx_werror_flag=yes
4678 ac_cv_prog_cxx_g=no
4679 CXXFLAGS="-g"
4680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4681 /* end confdefs.h. */
4684 main ()
4688 return 0;
4690 _ACEOF
4691 if ac_fn_cxx_try_compile "$LINENO"; then :
4692 ac_cv_prog_cxx_g=yes
4693 else
4694 CXXFLAGS=""
4695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4696 /* end confdefs.h. */
4699 main ()
4703 return 0;
4705 _ACEOF
4706 if ac_fn_cxx_try_compile "$LINENO"; then :
4708 else
4709 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4710 CXXFLAGS="-g"
4711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4712 /* end confdefs.h. */
4715 main ()
4719 return 0;
4721 _ACEOF
4722 if ac_fn_cxx_try_compile "$LINENO"; then :
4723 ac_cv_prog_cxx_g=yes
4725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4730 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4733 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4734 if test "$ac_test_CXXFLAGS" = set; then
4735 CXXFLAGS=$ac_save_CXXFLAGS
4736 elif test $ac_cv_prog_cxx_g = yes; then
4737 if test "$GXX" = yes; then
4738 CXXFLAGS="-g -O2"
4739 else
4740 CXXFLAGS="-g"
4742 else
4743 if test "$GXX" = yes; then
4744 CXXFLAGS="-O2"
4745 else
4746 CXXFLAGS=
4749 ac_ext=c
4750 ac_cpp='$CPP $CPPFLAGS'
4751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4755 if test -n "$ac_tool_prefix"; then
4756 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4757 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4759 $as_echo_n "checking for $ac_word... " >&6; }
4760 if ${ac_cv_prog_CPPBIN+:} false; then :
4761 $as_echo_n "(cached) " >&6
4762 else
4763 if test -n "$CPPBIN"; then
4764 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4765 else
4766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4767 for as_dir in $PATH
4769 IFS=$as_save_IFS
4770 test -z "$as_dir" && as_dir=.
4771 for ac_exec_ext in '' $ac_executable_extensions; do
4772 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4773 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4775 break 2
4777 done
4778 done
4779 IFS=$as_save_IFS
4783 CPPBIN=$ac_cv_prog_CPPBIN
4784 if test -n "$CPPBIN"; then
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4786 $as_echo "$CPPBIN" >&6; }
4787 else
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4789 $as_echo "no" >&6; }
4794 if test -z "$ac_cv_prog_CPPBIN"; then
4795 ac_ct_CPPBIN=$CPPBIN
4796 # Extract the first word of "cpp", so it can be a program name with args.
4797 set dummy cpp; ac_word=$2
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4799 $as_echo_n "checking for $ac_word... " >&6; }
4800 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4801 $as_echo_n "(cached) " >&6
4802 else
4803 if test -n "$ac_ct_CPPBIN"; then
4804 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4805 else
4806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4807 for as_dir in $PATH
4809 IFS=$as_save_IFS
4810 test -z "$as_dir" && as_dir=.
4811 for ac_exec_ext in '' $ac_executable_extensions; do
4812 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4813 ac_cv_prog_ac_ct_CPPBIN="cpp"
4814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4815 break 2
4817 done
4818 done
4819 IFS=$as_save_IFS
4823 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4824 if test -n "$ac_ct_CPPBIN"; then
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4826 $as_echo "$ac_ct_CPPBIN" >&6; }
4827 else
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4829 $as_echo "no" >&6; }
4832 if test "x$ac_ct_CPPBIN" = x; then
4833 CPPBIN="cpp"
4834 else
4835 case $cross_compiling:$ac_tool_warned in
4836 yes:)
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4838 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4839 ac_tool_warned=yes ;;
4840 esac
4841 CPPBIN=$ac_ct_CPPBIN
4843 else
4844 CPPBIN="$ac_cv_prog_CPPBIN"
4848 cat >>confdefs.h <<_ACEOF
4849 #define EXEEXT "$ac_exeext"
4850 _ACEOF
4852 if test -n "$ac_tool_prefix"; then
4853 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4854 set dummy ${ac_tool_prefix}ld; ac_word=$2
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4856 $as_echo_n "checking for $ac_word... " >&6; }
4857 if ${ac_cv_prog_LD+:} false; then :
4858 $as_echo_n "(cached) " >&6
4859 else
4860 if test -n "$LD"; then
4861 ac_cv_prog_LD="$LD" # Let the user override the test.
4862 else
4863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4864 for as_dir in $PATH
4866 IFS=$as_save_IFS
4867 test -z "$as_dir" && as_dir=.
4868 for ac_exec_ext in '' $ac_executable_extensions; do
4869 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4870 ac_cv_prog_LD="${ac_tool_prefix}ld"
4871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4872 break 2
4874 done
4875 done
4876 IFS=$as_save_IFS
4880 LD=$ac_cv_prog_LD
4881 if test -n "$LD"; then
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4883 $as_echo "$LD" >&6; }
4884 else
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4886 $as_echo "no" >&6; }
4891 if test -z "$ac_cv_prog_LD"; then
4892 ac_ct_LD=$LD
4893 # Extract the first word of "ld", so it can be a program name with args.
4894 set dummy ld; ac_word=$2
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4896 $as_echo_n "checking for $ac_word... " >&6; }
4897 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4898 $as_echo_n "(cached) " >&6
4899 else
4900 if test -n "$ac_ct_LD"; then
4901 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4902 else
4903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4904 for as_dir in $PATH
4906 IFS=$as_save_IFS
4907 test -z "$as_dir" && as_dir=.
4908 for ac_exec_ext in '' $ac_executable_extensions; do
4909 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4910 ac_cv_prog_ac_ct_LD="ld"
4911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4912 break 2
4914 done
4915 done
4916 IFS=$as_save_IFS
4920 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4921 if test -n "$ac_ct_LD"; then
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4923 $as_echo "$ac_ct_LD" >&6; }
4924 else
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4926 $as_echo "no" >&6; }
4929 if test "x$ac_ct_LD" = x; then
4930 LD=""
4931 else
4932 case $cross_compiling:$ac_tool_warned in
4933 yes:)
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4935 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4936 ac_tool_warned=yes ;;
4937 esac
4938 LD=$ac_ct_LD
4940 else
4941 LD="$ac_cv_prog_LD"
4945 case $host in
4946 *-darwin*)
4947 if test "x$enable_win64" = "xyes"
4948 then
4949 CC="$CC -m64"
4950 CXX="$CXX -m64"
4951 host_cpu="x86_64"
4952 notice_platform="64-bit "
4953 TARGETFLAGS="-m64"
4955 else
4956 CC="$CC -m32"
4957 CXX="$CXX -m32"
4958 host_cpu="i386"
4959 notice_platform="32-bit "
4960 TARGETFLAGS="-m32"
4962 enable_win16=${enable_win16:-yes}
4964 with_fontconfig=${with_fontconfig:-no}
4966 x86_64*|amd64*)
4967 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4968 then
4969 CC="$CC -m32"
4970 CXX="$CXX -m32"
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4972 $as_echo_n "checking whether $CC works... " >&6; }
4974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4975 /* end confdefs.h. */
4978 main ()
4982 return 0;
4984 _ACEOF
4985 if ac_fn_c_try_link "$LINENO"; then :
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4987 $as_echo "yes" >&6; }
4988 else
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4990 $as_echo "no" >&6; }
4991 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4993 rm -f core conftest.err conftest.$ac_objext \
4994 conftest$ac_exeext conftest.$ac_ext
4995 host_cpu="i386"
4996 notice_platform="32-bit "
4997 TARGETFLAGS="-m32"
4999 enable_win16=${enable_win16:-yes}
5000 else
5001 if test "x${GCC}" = "xyes"
5002 then
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5004 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5006 /* end confdefs.h. */
5007 #include <stdarg.h>
5009 main ()
5011 void func(__builtin_ms_va_list *args);
5013 return 0;
5015 _ACEOF
5016 if ac_fn_c_try_compile "$LINENO"; then :
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5018 $as_echo "yes" >&6; }
5019 else
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5021 $as_echo "no" >&6; }
5022 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
5024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5026 host_cpu="x86_64"
5027 TARGETFLAGS="-m64"
5031 arm*)
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5033 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5035 /* end confdefs.h. */
5036 int ac_test(int i) { return i; }
5038 main ()
5040 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5042 return 0;
5044 _ACEOF
5045 if ac_fn_c_try_link "$LINENO"; then :
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5047 $as_echo "yes" >&6; }
5048 else
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5050 $as_echo "no" >&6; }
5051 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5053 rm -f core conftest.err conftest.$ac_objext \
5054 conftest$ac_exeext conftest.$ac_ext
5055 CFLAGS="$CFLAGS -marm"
5056 TARGETFLAGS="-marm"
5059 *-mingw32*|*-cygwin*)
5060 enable_win16=${enable_win16:-no}
5061 CFLAGS="$CFLAGS -D_WIN32"
5063 i[3456789]86*)
5064 enable_win16=${enable_win16:-yes}
5066 esac
5068 enable_win16=${enable_win16:-no}
5069 enable_win64=${enable_win64:-no}
5071 enable_winetest=${enable_winetest:-$enable_tests}
5073 if test -n "$with_wine64"
5074 then
5075 if test "x$enable_win64" = "xyes"
5076 then
5077 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5078 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5080 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5081 You should create a separate build directory and run configure from there." "$LINENO" 5
5082 enable_fonts=${enable_fonts:-no}
5083 enable_server=${enable_server:-no}
5084 elif test "x$enable_win64" = "xyes"
5085 then
5086 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5090 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5091 if ${wine_cv_toolsdir+:} false; then :
5092 $as_echo_n "(cached) " >&6
5093 else
5094 wine_cv_toolsdir="$with_wine_tools"
5095 if test -z "$with_wine_tools"; then
5096 if test "$cross_compiling" = "yes"; then
5097 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5098 elif test -n "$with_wine64"; then
5099 wine_cv_toolsdir="$with_wine64"
5102 if test -z "$wine_cv_toolsdir"; then
5103 wine_makedep=tools/makedep
5104 wine_cv_toolsdir="\$(top_builddir)"
5105 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5106 wine_makedep=$wine_cv_toolsdir/tools/makedep
5107 case "$wine_cv_toolsdir" in
5108 /*) ;;
5109 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5110 esac
5111 enable_tools=${enable_tools:-no}
5112 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5113 else
5114 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5118 $as_echo "$wine_cv_toolsdir" >&6; }
5119 TOOLSDIR=$wine_cv_toolsdir
5121 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5122 then
5123 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5127 for ac_prog in flex
5129 # Extract the first word of "$ac_prog", so it can be a program name with args.
5130 set dummy $ac_prog; ac_word=$2
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5132 $as_echo_n "checking for $ac_word... " >&6; }
5133 if ${ac_cv_prog_FLEX+:} false; then :
5134 $as_echo_n "(cached) " >&6
5135 else
5136 if test -n "$FLEX"; then
5137 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5138 else
5139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5140 for as_dir in $PATH
5142 IFS=$as_save_IFS
5143 test -z "$as_dir" && as_dir=.
5144 for ac_exec_ext in '' $ac_executable_extensions; do
5145 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5146 ac_cv_prog_FLEX="$ac_prog"
5147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5148 break 2
5150 done
5151 done
5152 IFS=$as_save_IFS
5156 FLEX=$ac_cv_prog_FLEX
5157 if test -n "$FLEX"; then
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5159 $as_echo "$FLEX" >&6; }
5160 else
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5162 $as_echo "no" >&6; }
5166 test -n "$FLEX" && break
5167 done
5168 test -n "$FLEX" || FLEX="none"
5170 if test "$FLEX" = "none"
5171 then
5172 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5175 $as_echo_n "checking whether flex is recent enough... " >&6; }
5176 cat >conftest.l <<EOF
5177 %top{
5178 #include "prediluvian.h"
5182 if $FLEX -t conftest.l >/dev/null 2>&5
5183 then
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5185 $as_echo "yes" >&6; }
5186 else
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5188 $as_echo "no" >&6; }
5189 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5192 for ac_prog in bison
5194 # Extract the first word of "$ac_prog", so it can be a program name with args.
5195 set dummy $ac_prog; ac_word=$2
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5197 $as_echo_n "checking for $ac_word... " >&6; }
5198 if ${ac_cv_prog_BISON+:} false; then :
5199 $as_echo_n "(cached) " >&6
5200 else
5201 if test -n "$BISON"; then
5202 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5203 else
5204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5205 for as_dir in $PATH
5207 IFS=$as_save_IFS
5208 test -z "$as_dir" && as_dir=.
5209 for ac_exec_ext in '' $ac_executable_extensions; do
5210 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5211 ac_cv_prog_BISON="$ac_prog"
5212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5213 break 2
5215 done
5216 done
5217 IFS=$as_save_IFS
5221 BISON=$ac_cv_prog_BISON
5222 if test -n "$BISON"; then
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5224 $as_echo "$BISON" >&6; }
5225 else
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5227 $as_echo "no" >&6; }
5231 test -n "$BISON" && break
5232 done
5233 test -n "$BISON" || BISON="none"
5235 if test "$BISON" = "none"
5236 then
5237 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5240 if test -n "$ac_tool_prefix"; then
5241 for ac_prog in ar gar
5243 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5244 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5246 $as_echo_n "checking for $ac_word... " >&6; }
5247 if ${ac_cv_prog_AR+:} false; then :
5248 $as_echo_n "(cached) " >&6
5249 else
5250 if test -n "$AR"; then
5251 ac_cv_prog_AR="$AR" # Let the user override the test.
5252 else
5253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5254 for as_dir in $PATH
5256 IFS=$as_save_IFS
5257 test -z "$as_dir" && as_dir=.
5258 for ac_exec_ext in '' $ac_executable_extensions; do
5259 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5260 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5262 break 2
5264 done
5265 done
5266 IFS=$as_save_IFS
5270 AR=$ac_cv_prog_AR
5271 if test -n "$AR"; then
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5273 $as_echo "$AR" >&6; }
5274 else
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5276 $as_echo "no" >&6; }
5280 test -n "$AR" && break
5281 done
5283 if test -z "$AR"; then
5284 ac_ct_AR=$AR
5285 for ac_prog in ar gar
5287 # Extract the first word of "$ac_prog", so it can be a program name with args.
5288 set dummy $ac_prog; ac_word=$2
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5290 $as_echo_n "checking for $ac_word... " >&6; }
5291 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5292 $as_echo_n "(cached) " >&6
5293 else
5294 if test -n "$ac_ct_AR"; then
5295 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5296 else
5297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5298 for as_dir in $PATH
5300 IFS=$as_save_IFS
5301 test -z "$as_dir" && as_dir=.
5302 for ac_exec_ext in '' $ac_executable_extensions; do
5303 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5304 ac_cv_prog_ac_ct_AR="$ac_prog"
5305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5306 break 2
5308 done
5309 done
5310 IFS=$as_save_IFS
5314 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5315 if test -n "$ac_ct_AR"; then
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5317 $as_echo "$ac_ct_AR" >&6; }
5318 else
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5320 $as_echo "no" >&6; }
5324 test -n "$ac_ct_AR" && break
5325 done
5327 if test "x$ac_ct_AR" = x; then
5328 AR="ar"
5329 else
5330 case $cross_compiling:$ac_tool_warned in
5331 yes:)
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5333 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5334 ac_tool_warned=yes ;;
5335 esac
5336 AR=$ac_ct_AR
5340 if test -n "$ac_tool_prefix"; then
5341 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5342 set dummy ${ac_tool_prefix}strip; ac_word=$2
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5344 $as_echo_n "checking for $ac_word... " >&6; }
5345 if ${ac_cv_prog_STRIP+:} false; then :
5346 $as_echo_n "(cached) " >&6
5347 else
5348 if test -n "$STRIP"; then
5349 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5350 else
5351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5352 for as_dir in $PATH
5354 IFS=$as_save_IFS
5355 test -z "$as_dir" && as_dir=.
5356 for ac_exec_ext in '' $ac_executable_extensions; do
5357 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5358 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5360 break 2
5362 done
5363 done
5364 IFS=$as_save_IFS
5368 STRIP=$ac_cv_prog_STRIP
5369 if test -n "$STRIP"; then
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5371 $as_echo "$STRIP" >&6; }
5372 else
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5374 $as_echo "no" >&6; }
5379 if test -z "$ac_cv_prog_STRIP"; then
5380 ac_ct_STRIP=$STRIP
5381 # Extract the first word of "strip", so it can be a program name with args.
5382 set dummy strip; ac_word=$2
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5384 $as_echo_n "checking for $ac_word... " >&6; }
5385 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5386 $as_echo_n "(cached) " >&6
5387 else
5388 if test -n "$ac_ct_STRIP"; then
5389 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5390 else
5391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5392 for as_dir in $PATH
5394 IFS=$as_save_IFS
5395 test -z "$as_dir" && as_dir=.
5396 for ac_exec_ext in '' $ac_executable_extensions; do
5397 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5398 ac_cv_prog_ac_ct_STRIP="strip"
5399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5400 break 2
5402 done
5403 done
5404 IFS=$as_save_IFS
5408 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5409 if test -n "$ac_ct_STRIP"; then
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5411 $as_echo "$ac_ct_STRIP" >&6; }
5412 else
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5414 $as_echo "no" >&6; }
5417 if test "x$ac_ct_STRIP" = x; then
5418 STRIP="strip"
5419 else
5420 case $cross_compiling:$ac_tool_warned in
5421 yes:)
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5423 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5424 ac_tool_warned=yes ;;
5425 esac
5426 STRIP=$ac_ct_STRIP
5428 else
5429 STRIP="$ac_cv_prog_STRIP"
5432 ARFLAGS=rc
5434 if test -n "$ac_tool_prefix"; then
5435 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5436 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5438 $as_echo_n "checking for $ac_word... " >&6; }
5439 if ${ac_cv_prog_RANLIB+:} false; then :
5440 $as_echo_n "(cached) " >&6
5441 else
5442 if test -n "$RANLIB"; then
5443 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5444 else
5445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5446 for as_dir in $PATH
5448 IFS=$as_save_IFS
5449 test -z "$as_dir" && as_dir=.
5450 for ac_exec_ext in '' $ac_executable_extensions; do
5451 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5452 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5454 break 2
5456 done
5457 done
5458 IFS=$as_save_IFS
5462 RANLIB=$ac_cv_prog_RANLIB
5463 if test -n "$RANLIB"; then
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5465 $as_echo "$RANLIB" >&6; }
5466 else
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5468 $as_echo "no" >&6; }
5473 if test -z "$ac_cv_prog_RANLIB"; then
5474 ac_ct_RANLIB=$RANLIB
5475 # Extract the first word of "ranlib", so it can be a program name with args.
5476 set dummy ranlib; ac_word=$2
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5478 $as_echo_n "checking for $ac_word... " >&6; }
5479 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5480 $as_echo_n "(cached) " >&6
5481 else
5482 if test -n "$ac_ct_RANLIB"; then
5483 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5484 else
5485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5486 for as_dir in $PATH
5488 IFS=$as_save_IFS
5489 test -z "$as_dir" && as_dir=.
5490 for ac_exec_ext in '' $ac_executable_extensions; do
5491 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5492 ac_cv_prog_ac_ct_RANLIB="ranlib"
5493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5494 break 2
5496 done
5497 done
5498 IFS=$as_save_IFS
5502 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5503 if test -n "$ac_ct_RANLIB"; then
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5505 $as_echo "$ac_ct_RANLIB" >&6; }
5506 else
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5508 $as_echo "no" >&6; }
5511 if test "x$ac_ct_RANLIB" = x; then
5512 RANLIB=":"
5513 else
5514 case $cross_compiling:$ac_tool_warned in
5515 yes:)
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5517 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5518 ac_tool_warned=yes ;;
5519 esac
5520 RANLIB=$ac_ct_RANLIB
5522 else
5523 RANLIB="$ac_cv_prog_RANLIB"
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5527 $as_echo_n "checking whether ln -s works... " >&6; }
5528 LN_S=$as_ln_s
5529 if test "$LN_S" = "ln -s"; then
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5531 $as_echo "yes" >&6; }
5532 else
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5534 $as_echo "no, using $LN_S" >&6; }
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5538 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5539 if ${ac_cv_path_GREP+:} false; then :
5540 $as_echo_n "(cached) " >&6
5541 else
5542 if test -z "$GREP"; then
5543 ac_path_GREP_found=false
5544 # Loop through the user's path and test for each of PROGNAME-LIST
5545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5546 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5548 IFS=$as_save_IFS
5549 test -z "$as_dir" && as_dir=.
5550 for ac_prog in grep ggrep; do
5551 for ac_exec_ext in '' $ac_executable_extensions; do
5552 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5553 as_fn_executable_p "$ac_path_GREP" || continue
5554 # Check for GNU ac_path_GREP and select it if it is found.
5555 # Check for GNU $ac_path_GREP
5556 case `"$ac_path_GREP" --version 2>&1` in
5557 *GNU*)
5558 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5560 ac_count=0
5561 $as_echo_n 0123456789 >"conftest.in"
5562 while :
5564 cat "conftest.in" "conftest.in" >"conftest.tmp"
5565 mv "conftest.tmp" "conftest.in"
5566 cp "conftest.in" "conftest.nl"
5567 $as_echo 'GREP' >> "conftest.nl"
5568 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5569 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5570 as_fn_arith $ac_count + 1 && ac_count=$as_val
5571 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5572 # Best one so far, save it but keep looking for a better one
5573 ac_cv_path_GREP="$ac_path_GREP"
5574 ac_path_GREP_max=$ac_count
5576 # 10*(2^10) chars as input seems more than enough
5577 test $ac_count -gt 10 && break
5578 done
5579 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5580 esac
5582 $ac_path_GREP_found && break 3
5583 done
5584 done
5585 done
5586 IFS=$as_save_IFS
5587 if test -z "$ac_cv_path_GREP"; then
5588 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5590 else
5591 ac_cv_path_GREP=$GREP
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5596 $as_echo "$ac_cv_path_GREP" >&6; }
5597 GREP="$ac_cv_path_GREP"
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5601 $as_echo_n "checking for egrep... " >&6; }
5602 if ${ac_cv_path_EGREP+:} false; then :
5603 $as_echo_n "(cached) " >&6
5604 else
5605 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5606 then ac_cv_path_EGREP="$GREP -E"
5607 else
5608 if test -z "$EGREP"; then
5609 ac_path_EGREP_found=false
5610 # Loop through the user's path and test for each of PROGNAME-LIST
5611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5612 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5614 IFS=$as_save_IFS
5615 test -z "$as_dir" && as_dir=.
5616 for ac_prog in egrep; do
5617 for ac_exec_ext in '' $ac_executable_extensions; do
5618 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5619 as_fn_executable_p "$ac_path_EGREP" || continue
5620 # Check for GNU ac_path_EGREP and select it if it is found.
5621 # Check for GNU $ac_path_EGREP
5622 case `"$ac_path_EGREP" --version 2>&1` in
5623 *GNU*)
5624 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5626 ac_count=0
5627 $as_echo_n 0123456789 >"conftest.in"
5628 while :
5630 cat "conftest.in" "conftest.in" >"conftest.tmp"
5631 mv "conftest.tmp" "conftest.in"
5632 cp "conftest.in" "conftest.nl"
5633 $as_echo 'EGREP' >> "conftest.nl"
5634 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5635 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5636 as_fn_arith $ac_count + 1 && ac_count=$as_val
5637 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5638 # Best one so far, save it but keep looking for a better one
5639 ac_cv_path_EGREP="$ac_path_EGREP"
5640 ac_path_EGREP_max=$ac_count
5642 # 10*(2^10) chars as input seems more than enough
5643 test $ac_count -gt 10 && break
5644 done
5645 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5646 esac
5648 $ac_path_EGREP_found && break 3
5649 done
5650 done
5651 done
5652 IFS=$as_save_IFS
5653 if test -z "$ac_cv_path_EGREP"; then
5654 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5656 else
5657 ac_cv_path_EGREP=$EGREP
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5663 $as_echo "$ac_cv_path_EGREP" >&6; }
5664 EGREP="$ac_cv_path_EGREP"
5667 # Extract the first word of "ldconfig", so it can be a program name with args.
5668 set dummy ldconfig; ac_word=$2
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5670 $as_echo_n "checking for $ac_word... " >&6; }
5671 if ${ac_cv_path_LDCONFIG+:} false; then :
5672 $as_echo_n "(cached) " >&6
5673 else
5674 case $LDCONFIG in
5675 [\\/]* | ?:[\\/]*)
5676 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5680 for as_dir in /sbin /usr/sbin $PATH
5682 IFS=$as_save_IFS
5683 test -z "$as_dir" && as_dir=.
5684 for ac_exec_ext in '' $ac_executable_extensions; do
5685 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5686 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5688 break 2
5690 done
5691 done
5692 IFS=$as_save_IFS
5694 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5696 esac
5698 LDCONFIG=$ac_cv_path_LDCONFIG
5699 if test -n "$LDCONFIG"; then
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5701 $as_echo "$LDCONFIG" >&6; }
5702 else
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5704 $as_echo "no" >&6; }
5708 for ac_prog in msgfmt
5710 # Extract the first word of "$ac_prog", so it can be a program name with args.
5711 set dummy $ac_prog; ac_word=$2
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5713 $as_echo_n "checking for $ac_word... " >&6; }
5714 if ${ac_cv_prog_MSGFMT+:} false; then :
5715 $as_echo_n "(cached) " >&6
5716 else
5717 if test -n "$MSGFMT"; then
5718 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5719 else
5720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5721 for as_dir in $PATH
5723 IFS=$as_save_IFS
5724 test -z "$as_dir" && as_dir=.
5725 for ac_exec_ext in '' $ac_executable_extensions; do
5726 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5727 ac_cv_prog_MSGFMT="$ac_prog"
5728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5729 break 2
5731 done
5732 done
5733 IFS=$as_save_IFS
5737 MSGFMT=$ac_cv_prog_MSGFMT
5738 if test -n "$MSGFMT"; then
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5740 $as_echo "$MSGFMT" >&6; }
5741 else
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5743 $as_echo "no" >&6; }
5747 test -n "$MSGFMT" && break
5748 done
5749 test -n "$MSGFMT" || MSGFMT="false"
5751 if ${ac_tool_prefix+:} false; then :
5752 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5753 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5755 $as_echo_n "checking for $ac_word... " >&6; }
5756 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5757 $as_echo_n "(cached) " >&6
5758 else
5759 if test -n "$PKG_CONFIG"; then
5760 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5761 else
5762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5763 for as_dir in $PATH
5765 IFS=$as_save_IFS
5766 test -z "$as_dir" && as_dir=.
5767 for ac_exec_ext in '' $ac_executable_extensions; do
5768 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5769 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5771 break 2
5773 done
5774 done
5775 IFS=$as_save_IFS
5779 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5780 if test -n "$PKG_CONFIG"; then
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5782 $as_echo "$PKG_CONFIG" >&6; }
5783 else
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5785 $as_echo "no" >&6; }
5790 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5791 if test "x$cross_compiling" = xyes; then :
5793 else
5794 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5795 # Extract the first word of "pkg-config", so it can be a program name with args.
5796 set dummy pkg-config; ac_word=$2
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5798 $as_echo_n "checking for $ac_word... " >&6; }
5799 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5800 $as_echo_n "(cached) " >&6
5801 else
5802 if test -n "$PKG_CONFIG"; then
5803 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5804 else
5805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5806 for as_dir in $PATH
5808 IFS=$as_save_IFS
5809 test -z "$as_dir" && as_dir=.
5810 for ac_exec_ext in '' $ac_executable_extensions; do
5811 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5812 ac_cv_prog_PKG_CONFIG="pkg-config"
5813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5814 break 2
5816 done
5817 done
5818 IFS=$as_save_IFS
5822 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5823 if test -n "$PKG_CONFIG"; then
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5825 $as_echo "$PKG_CONFIG" >&6; }
5826 else
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5828 $as_echo "no" >&6; }
5833 else
5834 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5837 if test "x$enable_maintainer_mode" != "xyes"
5838 then
5839 FONTFORGE=""
5840 RSVG=""
5841 CONVERT=""
5842 ICOTOOL=""
5843 else
5844 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5845 for ac_prog in fontforge
5847 # Extract the first word of "$ac_prog", so it can be a program name with args.
5848 set dummy $ac_prog; ac_word=$2
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5850 $as_echo_n "checking for $ac_word... " >&6; }
5851 if ${ac_cv_prog_FONTFORGE+:} false; then :
5852 $as_echo_n "(cached) " >&6
5853 else
5854 if test -n "$FONTFORGE"; then
5855 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5856 else
5857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5858 for as_dir in $PATH
5860 IFS=$as_save_IFS
5861 test -z "$as_dir" && as_dir=.
5862 for ac_exec_ext in '' $ac_executable_extensions; do
5863 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5864 ac_cv_prog_FONTFORGE="$ac_prog"
5865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5866 break 2
5868 done
5869 done
5870 IFS=$as_save_IFS
5874 FONTFORGE=$ac_cv_prog_FONTFORGE
5875 if test -n "$FONTFORGE"; then
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5877 $as_echo "$FONTFORGE" >&6; }
5878 else
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5880 $as_echo "no" >&6; }
5884 test -n "$FONTFORGE" && break
5885 done
5886 test -n "$FONTFORGE" || FONTFORGE="false"
5888 for ac_prog in rsvg-convert rsvg
5890 # Extract the first word of "$ac_prog", so it can be a program name with args.
5891 set dummy $ac_prog; ac_word=$2
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5893 $as_echo_n "checking for $ac_word... " >&6; }
5894 if ${ac_cv_prog_RSVG+:} false; then :
5895 $as_echo_n "(cached) " >&6
5896 else
5897 if test -n "$RSVG"; then
5898 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5899 else
5900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5901 for as_dir in $PATH
5903 IFS=$as_save_IFS
5904 test -z "$as_dir" && as_dir=.
5905 for ac_exec_ext in '' $ac_executable_extensions; do
5906 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5907 ac_cv_prog_RSVG="$ac_prog"
5908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5909 break 2
5911 done
5912 done
5913 IFS=$as_save_IFS
5917 RSVG=$ac_cv_prog_RSVG
5918 if test -n "$RSVG"; then
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5920 $as_echo "$RSVG" >&6; }
5921 else
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5923 $as_echo "no" >&6; }
5927 test -n "$RSVG" && break
5928 done
5929 test -n "$RSVG" || RSVG="false"
5931 for ac_prog in convert
5933 # Extract the first word of "$ac_prog", so it can be a program name with args.
5934 set dummy $ac_prog; ac_word=$2
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5936 $as_echo_n "checking for $ac_word... " >&6; }
5937 if ${ac_cv_prog_CONVERT+:} false; then :
5938 $as_echo_n "(cached) " >&6
5939 else
5940 if test -n "$CONVERT"; then
5941 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5942 else
5943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5944 for as_dir in $PATH
5946 IFS=$as_save_IFS
5947 test -z "$as_dir" && as_dir=.
5948 for ac_exec_ext in '' $ac_executable_extensions; do
5949 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5950 ac_cv_prog_CONVERT="$ac_prog"
5951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5952 break 2
5954 done
5955 done
5956 IFS=$as_save_IFS
5960 CONVERT=$ac_cv_prog_CONVERT
5961 if test -n "$CONVERT"; then
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5963 $as_echo "$CONVERT" >&6; }
5964 else
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5966 $as_echo "no" >&6; }
5970 test -n "$CONVERT" && break
5971 done
5972 test -n "$CONVERT" || CONVERT="false"
5974 for ac_prog in icotool
5976 # Extract the first word of "$ac_prog", so it can be a program name with args.
5977 set dummy $ac_prog; ac_word=$2
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5979 $as_echo_n "checking for $ac_word... " >&6; }
5980 if ${ac_cv_prog_ICOTOOL+:} false; then :
5981 $as_echo_n "(cached) " >&6
5982 else
5983 if test -n "$ICOTOOL"; then
5984 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5985 else
5986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5987 for as_dir in $PATH
5989 IFS=$as_save_IFS
5990 test -z "$as_dir" && as_dir=.
5991 for ac_exec_ext in '' $ac_executable_extensions; do
5992 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5993 ac_cv_prog_ICOTOOL="$ac_prog"
5994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5995 break 2
5997 done
5998 done
5999 IFS=$as_save_IFS
6003 ICOTOOL=$ac_cv_prog_ICOTOOL
6004 if test -n "$ICOTOOL"; then
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6006 $as_echo "$ICOTOOL" >&6; }
6007 else
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6009 $as_echo "no" >&6; }
6013 test -n "$ICOTOOL" && break
6014 done
6015 test -n "$ICOTOOL" || ICOTOOL="false"
6017 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6018 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6020 if test "$CONVERT" = false
6021 then
6022 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6023 else
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6025 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6026 convert_version=`convert --version | head -n1`
6027 if test "x$convert_version" != "x"
6028 then
6029 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6030 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6031 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6032 then
6033 CONVERT=false
6036 if test "$CONVERT" = false
6037 then
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6039 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6040 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6041 else
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6043 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6047 if test "$ICOTOOL" = false
6048 then
6049 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6050 else
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6052 $as_echo_n "checking for recent enough icotool... " >&6; }
6053 icotool_version=`icotool --version | head -n1`
6054 if test "x$icotool_version" != "x"
6055 then
6056 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6057 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6058 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6059 then
6060 ICOTOOL=false
6061 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6064 if test "$ICOTOOL" = false
6065 then
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6067 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6068 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6069 else
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6071 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6075 with_gettext=yes
6076 with_gettextpo=yes
6077 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6080 test "x$with_gettext" != xno || MSGFMT=false
6081 if test "$MSGFMT" != "false"
6082 then
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6084 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6085 cat >conftest.po <<EOF
6086 # comment
6087 msgctxt "ctxt"
6088 msgid "id"
6089 msgstr "str"
6091 if $MSGFMT -o /dev/null conftest.po 2>&5
6092 then
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6094 $as_echo "yes" >&6; }
6095 else
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6097 $as_echo "no" >&6; }
6098 MSGFMT=false
6101 if test "$MSGFMT" = false; then :
6102 case "x$with_gettext" in
6103 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6104 xno) ;;
6105 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6106 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6107 esac
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6112 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6113 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6114 $as_echo_n "(cached) " >&6
6115 else
6116 ac_check_lib_save_LIBS=$LIBS
6117 LIBS="-li386 $LIBS"
6118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6119 /* end confdefs.h. */
6121 /* Override any GCC internal prototype to avoid an error.
6122 Use char because int might match the return type of a GCC
6123 builtin and then its argument prototype would still apply. */
6124 #ifdef __cplusplus
6125 extern "C"
6126 #endif
6127 char i386_set_ldt ();
6129 main ()
6131 return i386_set_ldt ();
6133 return 0;
6135 _ACEOF
6136 if ac_fn_c_try_link "$LINENO"; then :
6137 ac_cv_lib_i386_i386_set_ldt=yes
6138 else
6139 ac_cv_lib_i386_i386_set_ldt=no
6141 rm -f core conftest.err conftest.$ac_objext \
6142 conftest$ac_exeext conftest.$ac_ext
6143 LIBS=$ac_check_lib_save_LIBS
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6146 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6147 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6148 cat >>confdefs.h <<_ACEOF
6149 #define HAVE_LIBI386 1
6150 _ACEOF
6152 LIBS="-li386 $LIBS"
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6157 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6158 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6159 $as_echo_n "(cached) " >&6
6160 else
6161 ac_check_lib_save_LIBS=$LIBS
6162 LIBS="-lossaudio $LIBS"
6163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6164 /* end confdefs.h. */
6166 /* Override any GCC internal prototype to avoid an error.
6167 Use char because int might match the return type of a GCC
6168 builtin and then its argument prototype would still apply. */
6169 #ifdef __cplusplus
6170 extern "C"
6171 #endif
6172 char _oss_ioctl ();
6174 main ()
6176 return _oss_ioctl ();
6178 return 0;
6180 _ACEOF
6181 if ac_fn_c_try_link "$LINENO"; then :
6182 ac_cv_lib_ossaudio__oss_ioctl=yes
6183 else
6184 ac_cv_lib_ossaudio__oss_ioctl=no
6186 rm -f core conftest.err conftest.$ac_objext \
6187 conftest$ac_exeext conftest.$ac_ext
6188 LIBS=$ac_check_lib_save_LIBS
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6191 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6192 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6193 cat >>confdefs.h <<_ACEOF
6194 #define HAVE_LIBOSSAUDIO 1
6195 _ACEOF
6197 LIBS="-lossaudio $LIBS"
6202 OPENGL_LIBS=""
6206 # Check whether --enable-largefile was given.
6207 if test "${enable_largefile+set}" = set; then :
6208 enableval=$enable_largefile;
6211 if test "$enable_largefile" != no; then
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6214 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6215 if ${ac_cv_sys_largefile_CC+:} false; then :
6216 $as_echo_n "(cached) " >&6
6217 else
6218 ac_cv_sys_largefile_CC=no
6219 if test "$GCC" != yes; then
6220 ac_save_CC=$CC
6221 while :; do
6222 # IRIX 6.2 and later do not support large files by default,
6223 # so use the C compiler's -n32 option if that helps.
6224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6225 /* end confdefs.h. */
6226 #include <sys/types.h>
6227 /* Check that off_t can represent 2**63 - 1 correctly.
6228 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6229 since some C++ compilers masquerading as C compilers
6230 incorrectly reject 9223372036854775807. */
6231 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6232 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6233 && LARGE_OFF_T % 2147483647 == 1)
6234 ? 1 : -1];
6236 main ()
6240 return 0;
6242 _ACEOF
6243 if ac_fn_c_try_compile "$LINENO"; then :
6244 break
6246 rm -f core conftest.err conftest.$ac_objext
6247 CC="$CC -n32"
6248 if ac_fn_c_try_compile "$LINENO"; then :
6249 ac_cv_sys_largefile_CC=' -n32'; break
6251 rm -f core conftest.err conftest.$ac_objext
6252 break
6253 done
6254 CC=$ac_save_CC
6255 rm -f conftest.$ac_ext
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6259 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6260 if test "$ac_cv_sys_largefile_CC" != no; then
6261 CC=$CC$ac_cv_sys_largefile_CC
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6265 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6266 if ${ac_cv_sys_file_offset_bits+:} false; then :
6267 $as_echo_n "(cached) " >&6
6268 else
6269 while :; do
6270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6271 /* end confdefs.h. */
6272 #include <sys/types.h>
6273 /* Check that off_t can represent 2**63 - 1 correctly.
6274 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6275 since some C++ compilers masquerading as C compilers
6276 incorrectly reject 9223372036854775807. */
6277 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6278 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6279 && LARGE_OFF_T % 2147483647 == 1)
6280 ? 1 : -1];
6282 main ()
6286 return 0;
6288 _ACEOF
6289 if ac_fn_c_try_compile "$LINENO"; then :
6290 ac_cv_sys_file_offset_bits=no; break
6292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6294 /* end confdefs.h. */
6295 #define _FILE_OFFSET_BITS 64
6296 #include <sys/types.h>
6297 /* Check that off_t can represent 2**63 - 1 correctly.
6298 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6299 since some C++ compilers masquerading as C compilers
6300 incorrectly reject 9223372036854775807. */
6301 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6302 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6303 && LARGE_OFF_T % 2147483647 == 1)
6304 ? 1 : -1];
6306 main ()
6310 return 0;
6312 _ACEOF
6313 if ac_fn_c_try_compile "$LINENO"; then :
6314 ac_cv_sys_file_offset_bits=64; break
6316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6317 ac_cv_sys_file_offset_bits=unknown
6318 break
6319 done
6321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6322 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6323 case $ac_cv_sys_file_offset_bits in #(
6324 no | unknown) ;;
6326 cat >>confdefs.h <<_ACEOF
6327 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6328 _ACEOF
6330 esac
6331 rm -rf conftest*
6332 if test $ac_cv_sys_file_offset_bits = unknown; then
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6334 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6335 if ${ac_cv_sys_large_files+:} false; then :
6336 $as_echo_n "(cached) " >&6
6337 else
6338 while :; do
6339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6340 /* end confdefs.h. */
6341 #include <sys/types.h>
6342 /* Check that off_t can represent 2**63 - 1 correctly.
6343 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6344 since some C++ compilers masquerading as C compilers
6345 incorrectly reject 9223372036854775807. */
6346 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6347 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6348 && LARGE_OFF_T % 2147483647 == 1)
6349 ? 1 : -1];
6351 main ()
6355 return 0;
6357 _ACEOF
6358 if ac_fn_c_try_compile "$LINENO"; then :
6359 ac_cv_sys_large_files=no; break
6361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6363 /* end confdefs.h. */
6364 #define _LARGE_FILES 1
6365 #include <sys/types.h>
6366 /* Check that off_t can represent 2**63 - 1 correctly.
6367 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6368 since some C++ compilers masquerading as C compilers
6369 incorrectly reject 9223372036854775807. */
6370 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6371 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6372 && LARGE_OFF_T % 2147483647 == 1)
6373 ? 1 : -1];
6375 main ()
6379 return 0;
6381 _ACEOF
6382 if ac_fn_c_try_compile "$LINENO"; then :
6383 ac_cv_sys_large_files=1; break
6385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6386 ac_cv_sys_large_files=unknown
6387 break
6388 done
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6391 $as_echo "$ac_cv_sys_large_files" >&6; }
6392 case $ac_cv_sys_large_files in #(
6393 no | unknown) ;;
6395 cat >>confdefs.h <<_ACEOF
6396 #define _LARGE_FILES $ac_cv_sys_large_files
6397 _ACEOF
6399 esac
6400 rm -rf conftest*
6407 ac_ext=c
6408 ac_cpp='$CPP $CPPFLAGS'
6409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6413 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6414 # On Suns, sometimes $CPP names a directory.
6415 if test -n "$CPP" && test -d "$CPP"; then
6416 CPP=
6418 if test -z "$CPP"; then
6419 if ${ac_cv_prog_CPP+:} false; then :
6420 $as_echo_n "(cached) " >&6
6421 else
6422 # Double quotes because CPP needs to be expanded
6423 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6425 ac_preproc_ok=false
6426 for ac_c_preproc_warn_flag in '' yes
6428 # Use a header file that comes with gcc, so configuring glibc
6429 # with a fresh cross-compiler works.
6430 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6431 # <limits.h> exists even on freestanding compilers.
6432 # On the NeXT, cc -E runs the code through the compiler's parser,
6433 # not just through cpp. "Syntax error" is here to catch this case.
6434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6435 /* end confdefs.h. */
6436 #ifdef __STDC__
6437 # include <limits.h>
6438 #else
6439 # include <assert.h>
6440 #endif
6441 Syntax error
6442 _ACEOF
6443 if ac_fn_c_try_cpp "$LINENO"; then :
6445 else
6446 # Broken: fails on valid input.
6447 continue
6449 rm -f conftest.err conftest.i conftest.$ac_ext
6451 # OK, works on sane cases. Now check whether nonexistent headers
6452 # can be detected and how.
6453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6454 /* end confdefs.h. */
6455 #include <ac_nonexistent.h>
6456 _ACEOF
6457 if ac_fn_c_try_cpp "$LINENO"; then :
6458 # Broken: success on invalid input.
6459 continue
6460 else
6461 # Passes both tests.
6462 ac_preproc_ok=:
6463 break
6465 rm -f conftest.err conftest.i conftest.$ac_ext
6467 done
6468 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6469 rm -f conftest.i conftest.err conftest.$ac_ext
6470 if $ac_preproc_ok; then :
6471 break
6474 done
6475 ac_cv_prog_CPP=$CPP
6478 CPP=$ac_cv_prog_CPP
6479 else
6480 ac_cv_prog_CPP=$CPP
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6483 $as_echo "$CPP" >&6; }
6484 ac_preproc_ok=false
6485 for ac_c_preproc_warn_flag in '' yes
6487 # Use a header file that comes with gcc, so configuring glibc
6488 # with a fresh cross-compiler works.
6489 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6490 # <limits.h> exists even on freestanding compilers.
6491 # On the NeXT, cc -E runs the code through the compiler's parser,
6492 # not just through cpp. "Syntax error" is here to catch this case.
6493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6494 /* end confdefs.h. */
6495 #ifdef __STDC__
6496 # include <limits.h>
6497 #else
6498 # include <assert.h>
6499 #endif
6500 Syntax error
6501 _ACEOF
6502 if ac_fn_c_try_cpp "$LINENO"; then :
6504 else
6505 # Broken: fails on valid input.
6506 continue
6508 rm -f conftest.err conftest.i conftest.$ac_ext
6510 # OK, works on sane cases. Now check whether nonexistent headers
6511 # can be detected and how.
6512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6513 /* end confdefs.h. */
6514 #include <ac_nonexistent.h>
6515 _ACEOF
6516 if ac_fn_c_try_cpp "$LINENO"; then :
6517 # Broken: success on invalid input.
6518 continue
6519 else
6520 # Passes both tests.
6521 ac_preproc_ok=:
6522 break
6524 rm -f conftest.err conftest.i conftest.$ac_ext
6526 done
6527 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6528 rm -f conftest.i conftest.err conftest.$ac_ext
6529 if $ac_preproc_ok; then :
6531 else
6532 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6533 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6534 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6535 See \`config.log' for more details" "$LINENO" 5; }
6538 ac_ext=c
6539 ac_cpp='$CPP $CPPFLAGS'
6540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6546 $as_echo_n "checking for ANSI C header files... " >&6; }
6547 if ${ac_cv_header_stdc+:} false; then :
6548 $as_echo_n "(cached) " >&6
6549 else
6550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6551 /* end confdefs.h. */
6552 #include <stdlib.h>
6553 #include <stdarg.h>
6554 #include <string.h>
6555 #include <float.h>
6558 main ()
6562 return 0;
6564 _ACEOF
6565 if ac_fn_c_try_compile "$LINENO"; then :
6566 ac_cv_header_stdc=yes
6567 else
6568 ac_cv_header_stdc=no
6570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6572 if test $ac_cv_header_stdc = yes; then
6573 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6575 /* end confdefs.h. */
6576 #include <string.h>
6578 _ACEOF
6579 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6580 $EGREP "memchr" >/dev/null 2>&1; then :
6582 else
6583 ac_cv_header_stdc=no
6585 rm -f conftest*
6589 if test $ac_cv_header_stdc = yes; then
6590 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6592 /* end confdefs.h. */
6593 #include <stdlib.h>
6595 _ACEOF
6596 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6597 $EGREP "free" >/dev/null 2>&1; then :
6599 else
6600 ac_cv_header_stdc=no
6602 rm -f conftest*
6606 if test $ac_cv_header_stdc = yes; then
6607 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6608 if test "$cross_compiling" = yes; then :
6610 else
6611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6612 /* end confdefs.h. */
6613 #include <ctype.h>
6614 #include <stdlib.h>
6615 #if ((' ' & 0x0FF) == 0x020)
6616 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6617 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6618 #else
6619 # define ISLOWER(c) \
6620 (('a' <= (c) && (c) <= 'i') \
6621 || ('j' <= (c) && (c) <= 'r') \
6622 || ('s' <= (c) && (c) <= 'z'))
6623 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6624 #endif
6626 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6628 main ()
6630 int i;
6631 for (i = 0; i < 256; i++)
6632 if (XOR (islower (i), ISLOWER (i))
6633 || toupper (i) != TOUPPER (i))
6634 return 2;
6635 return 0;
6637 _ACEOF
6638 if ac_fn_c_try_run "$LINENO"; then :
6640 else
6641 ac_cv_header_stdc=no
6643 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6644 conftest.$ac_objext conftest.beam conftest.$ac_ext
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6650 $as_echo "$ac_cv_header_stdc" >&6; }
6651 if test $ac_cv_header_stdc = yes; then
6653 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6657 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6658 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6659 inttypes.h stdint.h unistd.h
6660 do :
6661 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6662 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6664 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6665 cat >>confdefs.h <<_ACEOF
6666 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6667 _ACEOF
6671 done
6674 for ac_header in \
6675 AL/al.h \
6676 ApplicationServices/ApplicationServices.h \
6677 AudioToolbox/AudioConverter.h \
6678 AudioUnit/AudioUnit.h \
6679 AudioUnit/AudioComponent.h \
6680 CL/cl.h \
6681 Carbon/Carbon.h \
6682 CommonCrypto/CommonDigest.h \
6683 CoreAudio/CoreAudio.h \
6684 CoreServices/CoreServices.h \
6685 DiskArbitration/DiskArbitration.h \
6686 IOKit/IOKitLib.h \
6687 IOKit/hid/IOHIDLib.h \
6688 OpenAL/al.h \
6689 OpenCL/opencl.h \
6690 QuickTime/ImageCompression.h \
6691 Security/Security.h \
6692 alias.h \
6693 alsa/asoundlib.h \
6694 arpa/inet.h \
6695 arpa/nameser.h \
6696 asm/types.h \
6697 asm/user.h \
6698 curses.h \
6699 direct.h \
6700 dirent.h \
6701 dlfcn.h \
6702 elf.h \
6703 float.h \
6704 fnmatch.h \
6705 getopt.h \
6706 gettext-po.h \
6707 grp.h \
6708 gsm.h \
6709 gsm/gsm.h \
6710 ieeefp.h \
6711 inet/mib2.h \
6712 io.h \
6713 kstat.h \
6714 lber.h \
6715 ldap.h \
6716 libproc.h \
6717 link.h \
6718 linux/cdrom.h \
6719 linux/compiler.h \
6720 linux/filter.h \
6721 linux/hdreg.h \
6722 linux/input.h \
6723 linux/ioctl.h \
6724 linux/joystick.h \
6725 linux/major.h \
6726 linux/param.h \
6727 linux/serial.h \
6728 linux/types.h \
6729 linux/ucdrom.h \
6730 lwp.h \
6731 mach-o/nlist.h \
6732 mach-o/loader.h \
6733 mach/mach.h \
6734 mach/machine.h \
6735 machine/cpu.h \
6736 machine/limits.h \
6737 machine/sysarch.h \
6738 mntent.h \
6739 ncurses.h \
6740 netdb.h \
6741 netinet/in.h \
6742 netinet/in_systm.h \
6743 netinet/tcp.h \
6744 netinet/tcp_fsm.h \
6745 pcap/pcap.h \
6746 poll.h \
6747 port.h \
6748 process.h \
6749 pthread.h \
6750 pwd.h \
6751 sched.h \
6752 scsi/scsi.h \
6753 scsi/scsi_ioctl.h \
6754 scsi/sg.h \
6755 stdbool.h \
6756 stdint.h \
6757 stropts.h \
6758 sys/asoundlib.h \
6759 sys/attr.h \
6760 sys/cdio.h \
6761 sys/elf32.h \
6762 sys/epoll.h \
6763 sys/event.h \
6764 sys/exec_elf.h \
6765 sys/filio.h \
6766 sys/inotify.h \
6767 sys/ioctl.h \
6768 sys/ipc.h \
6769 sys/limits.h \
6770 sys/link.h \
6771 sys/mman.h \
6772 sys/modem.h \
6773 sys/msg.h \
6774 sys/mtio.h \
6775 sys/param.h \
6776 sys/poll.h \
6777 sys/prctl.h \
6778 sys/protosw.h \
6779 sys/ptrace.h \
6780 sys/queue.h \
6781 sys/resource.h \
6782 sys/scsiio.h \
6783 sys/shm.h \
6784 sys/signal.h \
6785 sys/socket.h \
6786 sys/socketvar.h \
6787 sys/sockio.h \
6788 sys/statvfs.h \
6789 sys/strtio.h \
6790 sys/syscall.h \
6791 sys/tihdr.h \
6792 sys/time.h \
6793 sys/timeout.h \
6794 sys/times.h \
6795 sys/uio.h \
6796 sys/user.h \
6797 sys/utsname.h \
6798 sys/vm86.h \
6799 sys/vnode.h \
6800 sys/wait.h \
6801 syscall.h \
6802 termios.h \
6803 unistd.h \
6804 utime.h \
6805 valgrind/memcheck.h \
6806 valgrind/valgrind.h \
6807 zlib.h
6809 do :
6810 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6811 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6812 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6813 cat >>confdefs.h <<_ACEOF
6814 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6815 _ACEOF
6819 done
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6822 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6823 if ${ac_cv_header_stat_broken+:} false; then :
6824 $as_echo_n "(cached) " >&6
6825 else
6826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6827 /* end confdefs.h. */
6828 #include <sys/types.h>
6829 #include <sys/stat.h>
6831 #if defined S_ISBLK && defined S_IFDIR
6832 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6833 #endif
6835 #if defined S_ISBLK && defined S_IFCHR
6836 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6837 #endif
6839 #if defined S_ISLNK && defined S_IFREG
6840 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6841 #endif
6843 #if defined S_ISSOCK && defined S_IFREG
6844 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6845 #endif
6847 _ACEOF
6848 if ac_fn_c_try_compile "$LINENO"; then :
6849 ac_cv_header_stat_broken=no
6850 else
6851 ac_cv_header_stat_broken=yes
6853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6856 $as_echo "$ac_cv_header_stat_broken" >&6; }
6857 if test $ac_cv_header_stat_broken = yes; then
6859 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6865 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6866 do :
6867 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6868 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6869 #ifdef HAVE_SYS_PARAM_H
6870 # include <sys/param.h>
6871 #endif
6873 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6874 cat >>confdefs.h <<_ACEOF
6875 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6876 _ACEOF
6880 done
6883 for ac_header in \
6884 netinet/ip.h \
6885 net/if.h \
6886 net/if_arp.h \
6887 net/if_dl.h \
6888 net/if_types.h \
6889 net/route.h \
6890 netinet/if_ether.h \
6891 netinet/if_inarp.h \
6892 netinet/in_pcb.h \
6893 netinet/ip_icmp.h \
6894 netinet/ip_var.h \
6895 netinet/udp.h \
6896 netipx/ipx.h \
6897 sys/un.h \
6899 do :
6900 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6901 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
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_NET_ROUTE_H
6909 # include <net/route.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_NET_IF_H
6918 # include <net/if.h>
6919 #endif
6920 #ifdef HAVE_NETINET_IP_H
6921 # include <netinet/ip.h>
6922 #endif
6924 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6925 cat >>confdefs.h <<_ACEOF
6926 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6927 _ACEOF
6931 done
6934 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6935 do :
6936 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6937 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6938 #ifdef HAVE_ALIAS_H
6939 # include <alias.h>
6940 #endif
6941 #ifdef HAVE_SYS_SOCKET_H
6942 # include <sys/socket.h>
6943 #endif
6944 #ifdef HAVE_SYS_SOCKETVAR_H
6945 # include <sys/socketvar.h>
6946 #endif
6947 #ifdef HAVE_SYS_TIMEOUT_H
6948 # include <sys/timeout.h>
6949 #endif
6950 #ifdef HAVE_NETINET_IN_H
6951 # include <netinet/in.h>
6952 #endif
6953 #ifdef HAVE_NETINET_IN_SYSTM_H
6954 # include <netinet/in_systm.h>
6955 #endif
6956 #ifdef HAVE_NETINET_IP_H
6957 # include <netinet/ip.h>
6958 #endif
6959 #ifdef HAVE_NETINET_IP_VAR_H
6960 # include <netinet/ip_var.h>
6961 #endif
6962 #ifdef HAVE_NETINET_IP_ICMP_H
6963 # include <netinet/ip_icmp.h>
6964 #endif
6965 #ifdef HAVE_NETINET_UDP_H
6966 # include <netinet/udp.h>
6967 #endif
6968 #ifdef HAVE_NETINET_TCP_H
6969 # include <netinet/tcp.h>
6970 #endif
6971 #ifdef HAVE_NETINET_TCP_TIMER_H
6972 #include <netinet/tcp_timer.h>
6973 #endif
6975 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6976 cat >>confdefs.h <<_ACEOF
6977 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6978 _ACEOF
6982 done
6985 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6986 do :
6987 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6988 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6989 #ifdef HAVE_ASM_TYPES_H
6990 # include <asm/types.h>
6991 #endif
6992 #ifdef HAVE_SYS_SOCKET_H
6993 # include <sys/socket.h>
6994 #endif
6995 #ifdef HAVE_LINUX_TYPES_H
6996 # include <linux/types.h>
6997 #endif
6999 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7000 cat >>confdefs.h <<_ACEOF
7001 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7002 _ACEOF
7006 done
7009 for ac_header in mach-o/dyld_images.h
7010 do :
7011 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7012 # include <stdbool.h>
7013 #endif
7014 #ifdef HAVE_STDINT_H
7015 # include <stdint.h>
7016 #endif
7018 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7019 cat >>confdefs.h <<_ACEOF
7020 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7021 _ACEOF
7025 done
7028 for ac_header in resolv.h
7029 do :
7030 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7031 #ifdef HAVE_SYS_SOCKET_H
7032 # include <sys/socket.h>
7033 #endif
7034 #ifdef HAVE_NETINET_IN_H
7035 # include <netinet/in.h>
7036 #endif
7037 #ifdef HAVE_ARPA_NAMESER_H
7038 # include <arpa/nameser.h>
7039 #endif
7041 if test "x$ac_cv_header_resolv_h" = xyes; then :
7042 cat >>confdefs.h <<_ACEOF
7043 #define HAVE_RESOLV_H 1
7044 _ACEOF
7048 done
7051 for ac_header in ifaddrs.h
7052 do :
7053 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7055 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7056 cat >>confdefs.h <<_ACEOF
7057 #define HAVE_IFADDRS_H 1
7058 _ACEOF
7062 done
7065 for ac_header in sys/ucontext.h
7066 do :
7067 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7069 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7070 cat >>confdefs.h <<_ACEOF
7071 #define HAVE_SYS_UCONTEXT_H 1
7072 _ACEOF
7076 done
7079 for ac_header in sys/thr.h
7080 do :
7081 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7082 #ifdef HAVE_SYS_UCONTEXT_H
7083 #include <sys/ucontext.h>
7084 #endif
7086 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7087 cat >>confdefs.h <<_ACEOF
7088 #define HAVE_SYS_THR_H 1
7089 _ACEOF
7093 done
7096 for ac_header in pthread_np.h
7097 do :
7098 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7099 #include <pthread.h>
7100 #endif
7102 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7103 cat >>confdefs.h <<_ACEOF
7104 #define HAVE_PTHREAD_NP_H 1
7105 _ACEOF
7109 done
7112 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7113 do :
7114 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7115 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7116 #include <sys/time.h>
7117 #endif
7118 #include <sys/types.h>
7119 #ifdef HAVE_ASM_TYPES_H
7120 #include <asm/types.h>
7121 #endif
7123 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7124 cat >>confdefs.h <<_ACEOF
7125 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7126 _ACEOF
7130 done
7133 for ac_header in libprocstat.h
7134 do :
7135 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7136 #include <sys/param.h>
7137 #endif
7138 #ifdef HAVE_SYS_QUEUE_H
7139 #include <sys/queue.h>
7140 #endif
7141 #ifdef HAVE_SYS_SOCKET_H
7142 #include <sys/socket.h>
7143 #endif
7145 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7146 cat >>confdefs.h <<_ACEOF
7147 #define HAVE_LIBPROCSTAT_H 1
7148 _ACEOF
7152 done
7156 dlldir="\${libdir}/wine"
7158 DLLFLAGS="-D_REENTRANT"
7160 LDRPATH_INSTALL=""
7162 LDRPATH_LOCAL=""
7164 LDEXECFLAGS=""
7166 LIBEXT="so"
7167 DLLEXT=".so"
7168 IMPLIBEXT="def"
7169 STATIC_IMPLIBEXT="def.a"
7170 # Extract the first word of "ldd", so it can be a program name with args.
7171 set dummy ldd; ac_word=$2
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7173 $as_echo_n "checking for $ac_word... " >&6; }
7174 if ${ac_cv_path_LDD+:} false; then :
7175 $as_echo_n "(cached) " >&6
7176 else
7177 case $LDD in
7178 [\\/]* | ?:[\\/]*)
7179 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7183 as_dummy="/sbin:/usr/sbin:$PATH"
7184 for as_dir in $as_dummy
7186 IFS=$as_save_IFS
7187 test -z "$as_dir" && as_dir=.
7188 for ac_exec_ext in '' $ac_executable_extensions; do
7189 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7190 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7192 break 2
7194 done
7195 done
7196 IFS=$as_save_IFS
7198 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7200 esac
7202 LDD=$ac_cv_path_LDD
7203 if test -n "$LDD"; then
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7205 $as_echo "$LDD" >&6; }
7206 else
7207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7208 $as_echo "no" >&6; }
7212 if test -n "$ac_tool_prefix"; then
7213 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7214 set dummy ${ac_tool_prefix}otool; ac_word=$2
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7216 $as_echo_n "checking for $ac_word... " >&6; }
7217 if ${ac_cv_prog_OTOOL+:} false; then :
7218 $as_echo_n "(cached) " >&6
7219 else
7220 if test -n "$OTOOL"; then
7221 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7222 else
7223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7224 for as_dir in $PATH
7226 IFS=$as_save_IFS
7227 test -z "$as_dir" && as_dir=.
7228 for ac_exec_ext in '' $ac_executable_extensions; do
7229 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7230 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7232 break 2
7234 done
7235 done
7236 IFS=$as_save_IFS
7240 OTOOL=$ac_cv_prog_OTOOL
7241 if test -n "$OTOOL"; then
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7243 $as_echo "$OTOOL" >&6; }
7244 else
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7246 $as_echo "no" >&6; }
7251 if test -z "$ac_cv_prog_OTOOL"; then
7252 ac_ct_OTOOL=$OTOOL
7253 # Extract the first word of "otool", so it can be a program name with args.
7254 set dummy otool; ac_word=$2
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7256 $as_echo_n "checking for $ac_word... " >&6; }
7257 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7258 $as_echo_n "(cached) " >&6
7259 else
7260 if test -n "$ac_ct_OTOOL"; then
7261 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7262 else
7263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7264 for as_dir in $PATH
7266 IFS=$as_save_IFS
7267 test -z "$as_dir" && as_dir=.
7268 for ac_exec_ext in '' $ac_executable_extensions; do
7269 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7270 ac_cv_prog_ac_ct_OTOOL="otool"
7271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7272 break 2
7274 done
7275 done
7276 IFS=$as_save_IFS
7280 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7281 if test -n "$ac_ct_OTOOL"; then
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7283 $as_echo "$ac_ct_OTOOL" >&6; }
7284 else
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7286 $as_echo "no" >&6; }
7289 if test "x$ac_ct_OTOOL" = x; then
7290 OTOOL="otool"
7291 else
7292 case $cross_compiling:$ac_tool_warned in
7293 yes:)
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7295 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7296 ac_tool_warned=yes ;;
7297 esac
7298 OTOOL=$ac_ct_OTOOL
7300 else
7301 OTOOL="$ac_cv_prog_OTOOL"
7304 if test -n "$ac_tool_prefix"; then
7305 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7306 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7308 $as_echo_n "checking for $ac_word... " >&6; }
7309 if ${ac_cv_prog_READELF+:} false; then :
7310 $as_echo_n "(cached) " >&6
7311 else
7312 if test -n "$READELF"; then
7313 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7314 else
7315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7316 for as_dir in $PATH
7318 IFS=$as_save_IFS
7319 test -z "$as_dir" && as_dir=.
7320 for ac_exec_ext in '' $ac_executable_extensions; do
7321 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7322 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7324 break 2
7326 done
7327 done
7328 IFS=$as_save_IFS
7332 READELF=$ac_cv_prog_READELF
7333 if test -n "$READELF"; then
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7335 $as_echo "$READELF" >&6; }
7336 else
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7338 $as_echo "no" >&6; }
7343 if test -z "$ac_cv_prog_READELF"; then
7344 ac_ct_READELF=$READELF
7345 # Extract the first word of "readelf", so it can be a program name with args.
7346 set dummy readelf; ac_word=$2
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7348 $as_echo_n "checking for $ac_word... " >&6; }
7349 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7350 $as_echo_n "(cached) " >&6
7351 else
7352 if test -n "$ac_ct_READELF"; then
7353 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7354 else
7355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7356 for as_dir in $PATH
7358 IFS=$as_save_IFS
7359 test -z "$as_dir" && as_dir=.
7360 for ac_exec_ext in '' $ac_executable_extensions; do
7361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7362 ac_cv_prog_ac_ct_READELF="readelf"
7363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7364 break 2
7366 done
7367 done
7368 IFS=$as_save_IFS
7372 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7373 if test -n "$ac_ct_READELF"; then
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7375 $as_echo "$ac_ct_READELF" >&6; }
7376 else
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7378 $as_echo "no" >&6; }
7381 if test "x$ac_ct_READELF" = x; then
7382 READELF="true"
7383 else
7384 case $cross_compiling:$ac_tool_warned in
7385 yes:)
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7387 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7388 ac_tool_warned=yes ;;
7389 esac
7390 READELF=$ac_ct_READELF
7392 else
7393 READELF="$ac_cv_prog_READELF"
7396 wine_rules_file=conf$$rules.make
7397 rm -f $wine_rules_file
7398 ALL_POT_FILES=""
7399 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7400 SUBDIRS=""
7402 ALL_TEST_RESOURCES=""
7405 wine_fn_append_file ()
7407 as_fn_append $1 " \\$as_nl $2"
7410 wine_fn_ignore_file ()
7412 case "$1" in
7413 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7414 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7415 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7416 esac
7419 wine_fn_append_rule ()
7421 $as_echo "$1" >>$wine_rules_file
7424 wine_fn_has_flag ()
7426 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7429 wine_fn_depend_rules ()
7431 wine_fn_append_file SUBDIRS $ac_dir
7434 wine_fn_pot_rules ()
7436 test "x$with_gettextpo" = xyes || return
7438 if wine_fn_has_flag mc
7439 then
7440 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7441 wine_fn_append_rule \
7442 "$ac_dir/msg.pot: dummy
7443 @cd $ac_dir && \$(MAKE) msg.pot
7444 $ac_dir/msg.pot: tools/wmc include"
7446 if wine_fn_has_flag po
7447 then
7448 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7449 wine_fn_append_rule \
7450 "$ac_dir/rsrc.pot: dummy
7451 @cd $ac_dir && \$(MAKE) rsrc.pot
7452 $ac_dir/rsrc.pot: tools/wrc include"
7456 wine_fn_all_rules ()
7458 wine_fn_depend_rules
7459 wine_fn_append_rule \
7460 "all: $ac_dir
7461 .PHONY: $ac_dir
7462 $ac_dir: dummy
7463 @cd $ac_dir && \$(MAKE)"
7466 wine_fn_install_rules ()
7468 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7470 wine_fn_append_rule \
7471 ".PHONY: $ac_dir/install $ac_dir/uninstall
7472 $ac_dir/install:: $ac_dir
7473 @cd $ac_dir && \$(MAKE) install
7474 $ac_dir/uninstall::
7475 @cd $ac_dir && \$(MAKE) uninstall
7476 install:: $ac_dir/install
7477 __uninstall__: $ac_dir/uninstall"
7479 if wine_fn_has_flag install-lib
7480 then
7481 wine_fn_append_rule \
7482 ".PHONY: $ac_dir/install-lib
7483 $ac_dir/install-lib:: $ac_dir
7484 @cd $ac_dir && \$(MAKE) install-lib
7485 install-lib:: $ac_dir/install-lib"
7488 if wine_fn_has_flag install-dev
7489 then
7490 wine_fn_append_rule \
7491 ".PHONY: $ac_dir/install-dev
7492 $ac_dir/install-dev:: $ac_dir
7493 @cd $ac_dir && \$(MAKE) install-dev
7494 install-dev:: $ac_dir/install-dev"
7498 wine_fn_clean_rules ()
7500 ac_clean=$@
7502 if wine_fn_has_flag clean
7503 then
7504 wine_fn_append_rule \
7505 "$ac_dir/clean: dummy
7506 @cd $ac_dir && \$(MAKE) clean"
7507 else
7508 wine_fn_append_rule \
7509 "$ac_dir/clean: dummy
7510 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7512 wine_fn_append_rule \
7513 "__clean__: $ac_dir/clean
7514 .PHONY: $ac_dir/clean"
7517 wine_fn_disabled_rules ()
7519 ac_clean=$@
7521 wine_fn_append_rule \
7522 "__clean__: $ac_dir/clean
7523 .PHONY: $ac_dir/clean
7524 $ac_dir/clean: dummy
7525 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7528 wine_fn_config_makefile ()
7530 ac_dir=$1
7531 ac_enable=$2
7532 ac_flags=$3
7534 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7535 wine_fn_disabled_rules; return
7537 wine_fn_all_rules
7538 wine_fn_install_rules
7539 wine_fn_clean_rules
7542 wine_fn_config_lib ()
7544 ac_name=$1
7545 ac_flags=$2
7546 ac_dir=dlls/$ac_name
7547 ac_deps="include"
7549 if test "x$enable_tools" = xno; then :
7551 else
7552 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7554 wine_fn_all_rules
7555 wine_fn_clean_rules
7557 wine_fn_append_rule \
7558 ".PHONY: $ac_dir/install $ac_dir/uninstall
7559 $ac_dir/install:: $ac_dir
7560 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7561 $ac_dir/uninstall::
7562 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7563 install install-dev:: $ac_dir/install
7564 __uninstall__: $ac_dir/uninstall
7565 __builddeps__: $ac_dir
7566 $ac_dir: $ac_deps"
7569 wine_fn_config_dll ()
7571 ac_name=$1
7572 ac_dir=dlls/$ac_name
7573 ac_enable=$2
7574 ac_flags=$3
7575 ac_implib=${4:-$ac_name}
7576 ac_file=$ac_dir/lib$ac_implib
7577 ac_dll=$ac_name
7578 ac_deps="include"
7579 ac_implibflags=""
7581 if test "x$enable_tools" = xno; then :
7583 else
7584 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7586 case $ac_name in
7587 *16) ac_implibflags=" -m16" ;;
7588 *.*) ;;
7589 *) ac_dll=$ac_dll.dll ;;
7590 esac
7592 ac_clean=
7593 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7594 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7595 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7596 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7598 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7599 if test "$ac_enable" != enable_win16
7600 then
7601 wine_fn_depend_rules
7602 wine_fn_clean_rules $ac_clean
7603 wine_fn_pot_rules
7604 else
7605 wine_fn_disabled_rules $ac_clean
7606 return
7608 else
7609 wine_fn_all_rules
7610 wine_fn_clean_rules $ac_clean
7611 wine_fn_append_rule \
7612 "$ac_dir: __builddeps__
7613 manpages htmlpages sgmlpages xmlpages::
7614 @cd $ac_dir && \$(MAKE) \$@
7615 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7616 install install-lib:: $ac_dir/install-lib
7617 __uninstall__: $ac_dir/uninstall"
7618 if test -n "$DLLEXT"
7619 then
7620 wine_fn_append_rule \
7621 "$ac_dir/install-lib:: $ac_dir
7622 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7623 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7624 $ac_dir/uninstall::
7625 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7626 else
7627 wine_fn_append_rule \
7628 "$ac_dir/install-lib:: $ac_dir
7629 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7630 $ac_dir/uninstall::
7631 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7634 wine_fn_pot_rules
7637 if wine_fn_has_flag staticimplib
7638 then
7639 wine_fn_append_rule \
7640 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7641 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7642 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7643 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7644 $ac_file.$STATIC_IMPLIBEXT: dummy
7645 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7646 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7647 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7648 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7649 $ac_dir/uninstall::
7650 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7651 install install-dev:: $ac_dir/install-dev
7652 __uninstall__: $ac_dir/uninstall"
7654 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7655 then
7656 wine_fn_append_rule \
7657 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7658 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7659 $ac_dir/uninstall::
7660 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7663 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7664 then
7665 wine_fn_append_rule \
7666 "__builddeps__: $ac_file.cross.a
7667 $ac_file.cross.a: dummy
7668 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7671 elif wine_fn_has_flag implib
7672 then
7673 wine_fn_append_rule \
7674 "__builddeps__: $ac_file.$IMPLIBEXT
7675 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7676 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7677 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7678 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7679 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7680 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7681 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7682 $ac_dir/uninstall::
7683 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7684 install install-dev:: $ac_dir/install-dev
7685 __uninstall__: $ac_dir/uninstall"
7686 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7687 then
7688 wine_fn_append_rule \
7689 "__builddeps__: $ac_file.cross.a
7690 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7691 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7694 if test "$ac_name" != "$ac_implib"
7695 then
7696 wine_fn_append_rule \
7697 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7698 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7699 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7700 clean::
7701 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7702 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7703 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7704 then
7705 wine_fn_append_rule \
7706 "__builddeps__: dlls/lib$ac_implib.cross.a
7707 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7708 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7709 clean::
7710 \$(RM) dlls/lib$ac_implib.cross.a"
7711 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7717 wine_fn_config_program ()
7719 ac_name=$1
7720 ac_dir=programs/$ac_name
7721 ac_enable=$2
7722 ac_flags=$3
7723 ac_program=$ac_name
7725 case $ac_name in
7726 *.*) ;;
7727 *) ac_program=$ac_program.exe ;;
7728 esac
7730 ac_clean=
7731 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7732 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7733 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7734 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7736 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7737 wine_fn_disabled_rules $ac_clean; return
7740 wine_fn_all_rules
7741 wine_fn_clean_rules $ac_clean
7742 wine_fn_append_rule "$ac_dir: __builddeps__"
7743 wine_fn_pot_rules
7745 wine_fn_has_flag install || return
7746 wine_fn_append_rule \
7747 ".PHONY: $ac_dir/install $ac_dir/uninstall
7748 install install-lib:: $ac_dir/install
7749 __uninstall__: $ac_dir/uninstall"
7751 if test -n "$DLLEXT"
7752 then
7753 wine_fn_append_rule \
7754 "$ac_dir/install:: $ac_dir
7755 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7756 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7757 $ac_dir/uninstall::
7758 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7760 if test -z "$with_wine64" && wine_fn_has_flag installbin
7761 then
7762 wine_fn_append_rule \
7763 "$ac_dir/install:: __tooldeps__
7764 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7765 $ac_dir/uninstall::
7766 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7768 else
7769 wine_fn_append_rule \
7770 "$ac_dir/install:: $ac_dir
7771 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7772 $ac_dir/uninstall::
7773 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7776 if test -z "$with_wine64" && wine_fn_has_flag manpage
7777 then
7778 wine_fn_append_rule \
7779 "$ac_dir/install:: $ac_dir
7780 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7781 $ac_dir/uninstall::
7782 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7786 wine_fn_config_test ()
7788 ac_dir=$1
7789 ac_name=$2
7790 ac_flags=$3
7792 ac_clean=
7793 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7794 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7796 if test "x$enable_tests" = xno; then :
7797 wine_fn_disabled_rules $ac_clean; return
7800 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7801 wine_fn_all_rules
7802 wine_fn_clean_rules $ac_clean
7804 wine_fn_append_rule \
7805 "$ac_dir: __builddeps__
7806 programs/winetest: $ac_dir
7807 check test: $ac_dir/test
7808 .PHONY: $ac_dir/test
7809 $ac_dir/test: dummy
7810 @cd $ac_dir && \$(MAKE) test
7811 testclean::
7812 \$(RM) $ac_dir/*.ok"
7814 if test -n "$CROSSTARGET"
7815 then
7816 wine_fn_append_rule \
7817 "crosstest: $ac_dir/crosstest
7818 .PHONY: $ac_dir/crosstest
7819 $ac_dir/crosstest: __builddeps__ dummy
7820 @cd $ac_dir && \$(MAKE) crosstest"
7824 wine_fn_config_tool ()
7826 ac_dir=$1
7827 ac_flags=$2
7828 if test "x$enable_tools" = xno; then :
7829 return
7832 wine_fn_all_rules
7833 wine_fn_install_rules
7834 wine_fn_clean_rules
7836 wine_fn_append_rule "__tooldeps__: $ac_dir"
7837 wine_fn_append_rule "$ac_dir: libs/port"
7838 case $ac_dir in
7839 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7840 esac
7843 wine_fn_config_symlink ()
7845 ac_linkdir=
7846 if test "x$1" = "x-d"
7847 then
7848 ac_linkdir=$2
7849 shift; shift
7851 ac_links=$@
7852 wine_fn_append_rule \
7853 "$ac_links:
7854 @./config.status \$@
7855 distclean::
7856 \$(RM) $ac_links"
7857 for f in $ac_links; do wine_fn_ignore_file $f; done
7858 test -n "$ac_linkdir" || return
7859 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7862 wine_binary="wine"
7863 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7864 WINELOADER_PROGRAMS="$wine_binary"
7866 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7868 case $host_os in
7869 cygwin*|mingw32*)
7870 if test -n "$ac_tool_prefix"; then
7871 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7872 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7874 $as_echo_n "checking for $ac_word... " >&6; }
7875 if ${ac_cv_prog_DLLTOOL+:} false; then :
7876 $as_echo_n "(cached) " >&6
7877 else
7878 if test -n "$DLLTOOL"; then
7879 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7880 else
7881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7882 for as_dir in $PATH
7884 IFS=$as_save_IFS
7885 test -z "$as_dir" && as_dir=.
7886 for ac_exec_ext in '' $ac_executable_extensions; do
7887 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7888 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7890 break 2
7892 done
7893 done
7894 IFS=$as_save_IFS
7898 DLLTOOL=$ac_cv_prog_DLLTOOL
7899 if test -n "$DLLTOOL"; then
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7901 $as_echo "$DLLTOOL" >&6; }
7902 else
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7904 $as_echo "no" >&6; }
7909 if test -z "$ac_cv_prog_DLLTOOL"; then
7910 ac_ct_DLLTOOL=$DLLTOOL
7911 # Extract the first word of "dlltool", so it can be a program name with args.
7912 set dummy dlltool; ac_word=$2
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7914 $as_echo_n "checking for $ac_word... " >&6; }
7915 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7916 $as_echo_n "(cached) " >&6
7917 else
7918 if test -n "$ac_ct_DLLTOOL"; then
7919 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7920 else
7921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7922 for as_dir in $PATH
7924 IFS=$as_save_IFS
7925 test -z "$as_dir" && as_dir=.
7926 for ac_exec_ext in '' $ac_executable_extensions; do
7927 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7928 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7930 break 2
7932 done
7933 done
7934 IFS=$as_save_IFS
7938 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7939 if test -n "$ac_ct_DLLTOOL"; then
7940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7941 $as_echo "$ac_ct_DLLTOOL" >&6; }
7942 else
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7944 $as_echo "no" >&6; }
7947 if test "x$ac_ct_DLLTOOL" = x; then
7948 DLLTOOL="false"
7949 else
7950 case $cross_compiling:$ac_tool_warned in
7951 yes:)
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7953 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7954 ac_tool_warned=yes ;;
7955 esac
7956 DLLTOOL=$ac_ct_DLLTOOL
7958 else
7959 DLLTOOL="$ac_cv_prog_DLLTOOL"
7962 LIBEXT="dll"
7963 DLLEXT=""
7964 IMPLIBEXT="a"
7965 STATIC_IMPLIBEXT="a"
7966 enable_iphlpapi=${enable_iphlpapi:-no}
7967 enable_kernel32=${enable_kernel32:-no}
7968 enable_msvcrt=${enable_msvcrt:-no}
7969 enable_ntdll=${enable_ntdll:-no}
7970 enable_ws2_32=${enable_ws2_32:-no}
7971 enable_loader=${enable_loader:-no}
7972 enable_server=${enable_server:-no}
7973 with_x=${with_x:-no}
7974 with_pthread=${with_pthread:-no}
7976 crtlibs=""
7977 case $host_os in
7978 mingw32*)
7979 crtlibs="-lmsvcrt"
7980 SOCKET_LIBS="-lws2_32"
7982 esac
7984 LIBWINE_SHAREDLIB="libwine.dll"
7986 LIBWINE_IMPORTLIB="libwine.a"
7988 LIBWINE_INSTALL_LIB="libwine.dll"
7990 LIBWINE_INSTALL_DEV="libwine.a"
7992 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
7994 LIBWINE_DEPENDS="wine.def"
7998 darwin*|macosx*)
7999 for ac_header in libunwind.h
8000 do :
8001 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8002 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8003 cat >>confdefs.h <<_ACEOF
8004 #define HAVE_LIBUNWIND_H 1
8005 _ACEOF
8009 done
8011 LIBEXT="dylib"
8012 DLLFLAGS="$DLLFLAGS -fPIC"
8013 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8014 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8015 COREFOUNDATION_LIBS="-framework CoreFoundation"
8017 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8019 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8021 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8023 CORESERVICES_LIBS="-framework CoreServices"
8025 APPKIT_LIBS="-framework AppKit"
8027 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8029 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8030 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8031 $as_echo_n "(cached) " >&6
8032 else
8033 ac_wine_try_cflags_saved=$CFLAGS
8034 CFLAGS="$CFLAGS -Wl,-no_pie"
8035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8036 /* end confdefs.h. */
8037 int main(int argc, char **argv) { return 0; }
8038 _ACEOF
8039 if ac_fn_c_try_link "$LINENO"; then :
8040 ac_cv_cflags__Wl__no_pie=yes
8041 else
8042 ac_cv_cflags__Wl__no_pie=no
8044 rm -f core conftest.err conftest.$ac_objext \
8045 conftest$ac_exeext conftest.$ac_ext
8046 CFLAGS=$ac_wine_try_cflags_saved
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8049 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8050 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8051 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8053 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8054 then
8055 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8058 if test "$ac_cv_header_Security_Security_h" = "yes"
8059 then
8060 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8062 ac_save_LIBS="$LIBS"
8063 LIBS="$LIBS $SECURITY_LIBS"
8064 for ac_func in SSLCopyPeerCertificates
8065 do :
8066 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8067 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8068 cat >>confdefs.h <<_ACEOF
8069 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8070 _ACEOF
8073 done
8075 LIBS="$ac_save_LIBS"
8076 with_gnutls=${with_gnutls:-no}
8078 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8079 then
8080 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8081 then
8082 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8084 else
8085 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8088 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8089 ac_save_LIBS="$LIBS"
8090 LIBS="$LIBS $COREAUDIO_LIBS"
8091 for ac_func in AUGraphAddNode
8092 do :
8093 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8094 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8095 cat >>confdefs.h <<_ACEOF
8096 #define HAVE_AUGRAPHADDNODE 1
8097 _ACEOF
8100 done
8102 LIBS="$ac_save_LIBS"
8104 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8105 then
8106 OPENAL_LIBS="-framework OpenAL"
8109 cat >>confdefs.h <<_ACEOF
8110 #define HAVE_OPENAL 1
8111 _ACEOF
8113 ac_cv_lib_openal=yes
8115 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8116 then
8117 OPENCL_LIBS="-framework OpenCL"
8119 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8121 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8122 then
8123 ac_save_LIBS="$LIBS"
8124 LIBS="$LIBS $IOKIT_LIBS"
8125 for ac_func in IOHIDManagerCreate
8126 do :
8127 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8128 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8129 cat >>confdefs.h <<_ACEOF
8130 #define HAVE_IOHIDMANAGERCREATE 1
8131 _ACEOF
8134 done
8136 LIBS="$ac_save_LIBS"
8138 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8139 then
8140 ac_save_LIBS="$LIBS"
8141 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8143 $as_echo_n "checking for the QuickTime framework... " >&6; }
8144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8145 /* end confdefs.h. */
8146 #include <QuickTime/ImageCompression.h>
8148 main ()
8150 CodecManagerVersion(NULL);
8152 return 0;
8154 _ACEOF
8155 if ac_fn_c_try_link "$LINENO"; then :
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8157 $as_echo "yes" >&6; }
8158 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8160 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8161 else
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8163 $as_echo "no" >&6; }
8164 ac_cv_header_QuickTime_ImageCompression_h=no
8166 rm -f core conftest.err conftest.$ac_objext \
8167 conftest$ac_exeext conftest.$ac_ext
8168 LIBS="$ac_save_LIBS"
8170 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8171 then
8172 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8174 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8175 then
8176 CARBON_LIBS="-framework Carbon"
8180 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8181 then
8182 ac_save_LIBS="$LIBS"
8183 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8184 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8185 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8186 enable_winemac_drv=${enable_winemac_drv:-yes}
8189 LIBS="$ac_save_LIBS"
8192 if test "x$enable_win16" = "xyes"
8193 then
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8195 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8196 if test "$cross_compiling" = yes; then :
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8198 $as_echo "cross-compiling, assuming yes" >&6; }
8199 else
8200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8201 /* end confdefs.h. */
8202 asm(".text\n"
8203 "bad:\tnop;nop\n"
8204 "good:\tnop;nop\n\t"
8205 ".globl _testfunc\n"
8206 "_testfunc:\tcallw good");
8207 extern void testfunc();
8209 main ()
8211 unsigned short *p = (unsigned short *)testfunc;
8212 return p[0] != 0xe866 || p[1] != 0xfffa
8214 return 0;
8216 _ACEOF
8217 if ac_fn_c_try_run "$LINENO"; then :
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8219 $as_echo "yes" >&6; }
8220 else
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8222 $as_echo "no" >&6; }
8223 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
8225 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8226 conftest.$ac_objext conftest.beam conftest.$ac_ext
8231 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8233 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8235 LIBWINE_INSTALL_DEV="libwine.dylib"
8237 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8239 WINELOADER_DEPENDS="wine_info.plist"
8243 linux-android*)
8244 DLLFLAGS="$DLLFLAGS -fPIC"
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8246 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8247 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8248 $as_echo_n "(cached) " >&6
8249 else
8250 ac_wine_try_cflags_saved=$CFLAGS
8251 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8253 /* end confdefs.h. */
8254 int main(int argc, char **argv) { return 0; }
8255 _ACEOF
8256 if ac_fn_c_try_link "$LINENO"; then :
8257 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8258 else
8259 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8261 rm -f core conftest.err conftest.$ac_objext \
8262 conftest$ac_exeext conftest.$ac_ext
8263 CFLAGS=$ac_wine_try_cflags_saved
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8266 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8267 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8268 LDEXECFLAGS="-Wl,--export-dynamic"
8270 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8272 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8273 if eval \${$as_ac_var+:} false; then :
8274 $as_echo_n "(cached) " >&6
8275 else
8276 ac_wine_try_cflags_saved=$CFLAGS
8277 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8279 /* end confdefs.h. */
8280 int main(int argc, char **argv) { return 0; }
8281 _ACEOF
8282 if ac_fn_c_try_link "$LINENO"; then :
8283 eval "$as_ac_var=yes"
8284 else
8285 eval "$as_ac_var=no"
8287 rm -f core conftest.err conftest.$ac_objext \
8288 conftest$ac_exeext conftest.$ac_ext
8289 CFLAGS=$ac_wine_try_cflags_saved
8291 eval ac_res=\$$as_ac_var
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8293 $as_echo "$ac_res" >&6; }
8294 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8295 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8296 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8297 else
8298 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8300 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8301 if eval \${$as_ac_var+:} false; then :
8302 $as_echo_n "(cached) " >&6
8303 else
8304 ac_wine_try_cflags_saved=$CFLAGS
8305 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8307 /* end confdefs.h. */
8308 int main(int argc, char **argv) { return 0; }
8309 _ACEOF
8310 if ac_fn_c_try_link "$LINENO"; then :
8311 eval "$as_ac_var=yes"
8312 else
8313 eval "$as_ac_var=no"
8315 rm -f core conftest.err conftest.$ac_objext \
8316 conftest$ac_exeext conftest.$ac_ext
8317 CFLAGS=$ac_wine_try_cflags_saved
8319 eval ac_res=\$$as_ac_var
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8321 $as_echo "$ac_res" >&6; }
8322 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8323 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8324 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8329 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8330 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8331 $as_echo_n "(cached) " >&6
8332 else
8333 ac_wine_try_cflags_saved=$CFLAGS
8334 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8336 /* end confdefs.h. */
8337 int main(int argc, char **argv) { return 0; }
8338 _ACEOF
8339 if ac_fn_c_try_link "$LINENO"; then :
8340 ac_cv_cflags__Wl___enable_new_dtags=yes
8341 else
8342 ac_cv_cflags__Wl___enable_new_dtags=no
8344 rm -f core conftest.err conftest.$ac_objext \
8345 conftest$ac_exeext conftest.$ac_ext
8346 CFLAGS=$ac_wine_try_cflags_saved
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8349 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8350 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8351 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8354 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8355 if ${ac_cv_cflags__Wl__pie+:} false; then :
8356 $as_echo_n "(cached) " >&6
8357 else
8358 ac_wine_try_cflags_saved=$CFLAGS
8359 CFLAGS="$CFLAGS -Wl,-pie"
8360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8361 /* end confdefs.h. */
8362 int main(int argc, char **argv) { return 0; }
8363 _ACEOF
8364 if ac_fn_c_try_link "$LINENO"; then :
8365 ac_cv_cflags__Wl__pie=yes
8366 else
8367 ac_cv_cflags__Wl__pie=no
8369 rm -f core conftest.err conftest.$ac_objext \
8370 conftest$ac_exeext conftest.$ac_ext
8371 CFLAGS=$ac_wine_try_cflags_saved
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8374 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8375 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8376 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8379 LIBWINE_SHAREDLIB="libwine.so"
8381 LIBWINE_INSTALL_LIB="libwine.so"
8383 LIBWINE_LDFLAGS="-shared"
8388 DLLFLAGS="$DLLFLAGS -fPIC"
8389 LDEXECFLAGS=""
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8391 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8392 if ${ac_cv_c_dll_gnuelf+:} false; then :
8393 $as_echo_n "(cached) " >&6
8394 else
8395 ac_wine_try_cflags_saved=$CFLAGS
8396 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8398 /* end confdefs.h. */
8399 void myfunc() {}
8400 _ACEOF
8401 if ac_fn_c_try_link "$LINENO"; then :
8402 ac_cv_c_dll_gnuelf="yes"
8403 else
8404 ac_cv_c_dll_gnuelf="no"
8406 rm -f core conftest.err conftest.$ac_objext \
8407 conftest$ac_exeext conftest.$ac_ext
8408 CFLAGS=$ac_wine_try_cflags_saved
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8411 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8412 if test "$ac_cv_c_dll_gnuelf" = "yes"
8413 then
8414 LIBWINE_LDFLAGS="-shared"
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8416 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8417 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8418 $as_echo_n "(cached) " >&6
8419 else
8420 ac_wine_try_cflags_saved=$CFLAGS
8421 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8423 /* end confdefs.h. */
8424 int main(int argc, char **argv) { return 0; }
8425 _ACEOF
8426 if ac_fn_c_try_link "$LINENO"; then :
8427 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8428 else
8429 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8431 rm -f core conftest.err conftest.$ac_objext \
8432 conftest$ac_exeext conftest.$ac_ext
8433 CFLAGS=$ac_wine_try_cflags_saved
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8436 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8437 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8438 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8439 else
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8441 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8442 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8443 $as_echo_n "(cached) " >&6
8444 else
8445 ac_wine_try_cflags_saved=$CFLAGS
8446 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8448 /* end confdefs.h. */
8449 int main(int argc, char **argv) { return 0; }
8450 _ACEOF
8451 if ac_fn_c_try_link "$LINENO"; then :
8452 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8453 else
8454 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8456 rm -f core conftest.err conftest.$ac_objext \
8457 conftest$ac_exeext conftest.$ac_ext
8458 CFLAGS=$ac_wine_try_cflags_saved
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8461 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8462 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8463 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8467 echo '{ global: *; };' >conftest.map
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8469 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8470 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8471 $as_echo_n "(cached) " >&6
8472 else
8473 ac_wine_try_cflags_saved=$CFLAGS
8474 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8476 /* end confdefs.h. */
8477 int main(int argc, char **argv) { return 0; }
8478 _ACEOF
8479 if ac_fn_c_try_link "$LINENO"; then :
8480 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8481 else
8482 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8484 rm -f core conftest.err conftest.$ac_objext \
8485 conftest$ac_exeext conftest.$ac_ext
8486 CFLAGS=$ac_wine_try_cflags_saved
8488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8489 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8490 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8491 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8493 rm -f conftest.map
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8496 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8497 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8498 $as_echo_n "(cached) " >&6
8499 else
8500 ac_wine_try_cflags_saved=$CFLAGS
8501 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8503 /* end confdefs.h. */
8504 int main(int argc, char **argv) { return 0; }
8505 _ACEOF
8506 if ac_fn_c_try_link "$LINENO"; then :
8507 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8508 else
8509 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8511 rm -f core conftest.err conftest.$ac_objext \
8512 conftest$ac_exeext conftest.$ac_ext
8513 CFLAGS=$ac_wine_try_cflags_saved
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8516 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8517 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8518 LDEXECFLAGS="-Wl,--export-dynamic"
8521 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8523 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8524 if eval \${$as_ac_var+:} false; then :
8525 $as_echo_n "(cached) " >&6
8526 else
8527 ac_wine_try_cflags_saved=$CFLAGS
8528 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8530 /* end confdefs.h. */
8531 int main(int argc, char **argv) { return 0; }
8532 _ACEOF
8533 if ac_fn_c_try_link "$LINENO"; then :
8534 eval "$as_ac_var=yes"
8535 else
8536 eval "$as_ac_var=no"
8538 rm -f core conftest.err conftest.$ac_objext \
8539 conftest$ac_exeext conftest.$ac_ext
8540 CFLAGS=$ac_wine_try_cflags_saved
8542 eval ac_res=\$$as_ac_var
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8544 $as_echo "$ac_res" >&6; }
8545 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8546 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8547 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8548 else
8549 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8551 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8552 if eval \${$as_ac_var+:} false; then :
8553 $as_echo_n "(cached) " >&6
8554 else
8555 ac_wine_try_cflags_saved=$CFLAGS
8556 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8558 /* end confdefs.h. */
8559 int main(int argc, char **argv) { return 0; }
8560 _ACEOF
8561 if ac_fn_c_try_link "$LINENO"; then :
8562 eval "$as_ac_var=yes"
8563 else
8564 eval "$as_ac_var=no"
8566 rm -f core conftest.err conftest.$ac_objext \
8567 conftest$ac_exeext conftest.$ac_ext
8568 CFLAGS=$ac_wine_try_cflags_saved
8570 eval ac_res=\$$as_ac_var
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8572 $as_echo "$ac_res" >&6; }
8573 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8574 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8575 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8580 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8581 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8582 $as_echo_n "(cached) " >&6
8583 else
8584 ac_wine_try_cflags_saved=$CFLAGS
8585 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8587 /* end confdefs.h. */
8588 int main(int argc, char **argv) { return 0; }
8589 _ACEOF
8590 if ac_fn_c_try_link "$LINENO"; then :
8591 ac_cv_cflags__Wl___enable_new_dtags=yes
8592 else
8593 ac_cv_cflags__Wl___enable_new_dtags=no
8595 rm -f core conftest.err conftest.$ac_objext \
8596 conftest$ac_exeext conftest.$ac_ext
8597 CFLAGS=$ac_wine_try_cflags_saved
8599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8600 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8601 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8602 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8605 case $host_cpu in
8606 *i[3456789]86* | x86_64)
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8608 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8609 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8610 $as_echo_n "(cached) " >&6
8611 else
8612 ac_wine_try_cflags_saved=$CFLAGS
8613 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8615 /* end confdefs.h. */
8616 int main(int argc, char **argv) { return 0; }
8617 _ACEOF
8618 if ac_fn_c_try_link "$LINENO"; then :
8619 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8620 else
8621 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8623 rm -f core conftest.err conftest.$ac_objext \
8624 conftest$ac_exeext conftest.$ac_ext
8625 CFLAGS=$ac_wine_try_cflags_saved
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8628 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8629 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8630 case $host_os in
8631 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8632 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8633 esac
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8637 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8638 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8639 $as_echo_n "(cached) " >&6
8640 else
8641 ac_wine_try_cflags_saved=$CFLAGS
8642 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8644 /* end confdefs.h. */
8645 int main(int argc, char **argv) { return 0; }
8646 _ACEOF
8647 if ac_fn_c_try_link "$LINENO"; then :
8648 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8649 else
8650 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8652 rm -f core conftest.err conftest.$ac_objext \
8653 conftest$ac_exeext conftest.$ac_ext
8654 CFLAGS=$ac_wine_try_cflags_saved
8656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8657 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8658 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8660 else
8661 # Extract the first word of "prelink", so it can be a program name with args.
8662 set dummy prelink; ac_word=$2
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8664 $as_echo_n "checking for $ac_word... " >&6; }
8665 if ${ac_cv_path_PRELINK+:} false; then :
8666 $as_echo_n "(cached) " >&6
8667 else
8668 case $PRELINK in
8669 [\\/]* | ?:[\\/]*)
8670 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8674 for as_dir in /sbin /usr/sbin $PATH
8676 IFS=$as_save_IFS
8677 test -z "$as_dir" && as_dir=.
8678 for ac_exec_ext in '' $ac_executable_extensions; do
8679 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8680 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8682 break 2
8684 done
8685 done
8686 IFS=$as_save_IFS
8688 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8690 esac
8692 PRELINK=$ac_cv_path_PRELINK
8693 if test -n "$PRELINK"; then
8694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8695 $as_echo "$PRELINK" >&6; }
8696 else
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8698 $as_echo "no" >&6; }
8702 if test "x$PRELINK" = xfalse
8703 then
8704 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8708 esac
8710 else
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8712 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8713 if ${ac_cv_c_dll_unixware+:} false; then :
8714 $as_echo_n "(cached) " >&6
8715 else
8716 ac_wine_try_cflags_saved=$CFLAGS
8717 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8719 /* end confdefs.h. */
8720 void myfunc() {}
8721 _ACEOF
8722 if ac_fn_c_try_link "$LINENO"; then :
8723 ac_cv_c_dll_unixware="yes"
8724 else
8725 ac_cv_c_dll_unixware="no"
8727 rm -f core conftest.err conftest.$ac_objext \
8728 conftest$ac_exeext conftest.$ac_ext
8729 CFLAGS=$ac_wine_try_cflags_saved
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8732 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8733 if test "$ac_cv_c_dll_unixware" = "yes"
8734 then
8735 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8738 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8740 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8742 LIBWINE_INSTALL_DEV="libwine.so"
8744 LIBWINE_DEPENDS="wine.map"
8747 esac
8749 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8750 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8751 enable_winemac_drv=${enable_winemac_drv:-no}
8752 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8754 CROSSTARGET=""
8756 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8757 then
8758 case "$host_cpu" in
8759 arm*)
8760 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8761 i[3456789]86*)
8762 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
8763 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8764 mingw32-gcc" ;;
8765 x86_64)
8766 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
8767 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8769 ac_prefix_list="" ;;
8770 esac
8771 for ac_prog in $ac_prefix_list
8773 # Extract the first word of "$ac_prog", so it can be a program name with args.
8774 set dummy $ac_prog; ac_word=$2
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8776 $as_echo_n "checking for $ac_word... " >&6; }
8777 if ${ac_cv_prog_CROSSCC+:} false; then :
8778 $as_echo_n "(cached) " >&6
8779 else
8780 if test -n "$CROSSCC"; then
8781 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8782 else
8783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8784 for as_dir in $PATH
8786 IFS=$as_save_IFS
8787 test -z "$as_dir" && as_dir=.
8788 for ac_exec_ext in '' $ac_executable_extensions; do
8789 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8790 ac_cv_prog_CROSSCC="$ac_prog"
8791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8792 break 2
8794 done
8795 done
8796 IFS=$as_save_IFS
8800 CROSSCC=$ac_cv_prog_CROSSCC
8801 if test -n "$CROSSCC"; then
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8803 $as_echo "$CROSSCC" >&6; }
8804 else
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8806 $as_echo "no" >&6; }
8810 test -n "$CROSSCC" && break
8811 done
8812 test -n "$CROSSCC" || CROSSCC="false"
8814 if test "$CROSSCC" != "false"
8815 then
8816 ac_save_CC="$CC"
8817 CC="$CROSSCC"
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8819 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8821 /* end confdefs.h. */
8824 main ()
8828 return 0;
8830 _ACEOF
8831 if ac_fn_c_try_compile "$LINENO"; then :
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8833 $as_echo "yes" >&6; }
8834 set x $CROSSCC
8835 shift
8836 while test $# -ge 1
8838 case "$1" in
8839 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8840 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8841 esac
8842 shift
8843 done
8844 else
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8846 $as_echo "no" >&6; }
8848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8849 CC="$ac_save_CC"
8854 if test "$ac_cv_header_pthread_h" = "yes"
8855 then
8856 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8857 if test "x$ac_cv_func_pthread_create" = xyes; then :
8859 else
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8861 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8862 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8863 $as_echo_n "(cached) " >&6
8864 else
8865 ac_check_lib_save_LIBS=$LIBS
8866 LIBS="-lpthread $LIBS"
8867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8868 /* end confdefs.h. */
8870 /* Override any GCC internal prototype to avoid an error.
8871 Use char because int might match the return type of a GCC
8872 builtin and then its argument prototype would still apply. */
8873 #ifdef __cplusplus
8874 extern "C"
8875 #endif
8876 char pthread_create ();
8878 main ()
8880 return pthread_create ();
8882 return 0;
8884 _ACEOF
8885 if ac_fn_c_try_link "$LINENO"; then :
8886 ac_cv_lib_pthread_pthread_create=yes
8887 else
8888 ac_cv_lib_pthread_pthread_create=no
8890 rm -f core conftest.err conftest.$ac_objext \
8891 conftest$ac_exeext conftest.$ac_ext
8892 LIBS=$ac_check_lib_save_LIBS
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8895 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8896 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8897 PTHREAD_LIBS="-lpthread"
8904 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8905 case "x$with_pthread" in
8906 xno) ;;
8907 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8908 Wine cannot support threads without libpthread.
8909 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8910 esac
8914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8915 $as_echo_n "checking for X... " >&6; }
8918 # Check whether --with-x was given.
8919 if test "${with_x+set}" = set; then :
8920 withval=$with_x;
8923 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8924 if test "x$with_x" = xno; then
8925 # The user explicitly disabled X.
8926 have_x=disabled
8927 else
8928 case $x_includes,$x_libraries in #(
8929 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8930 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8931 $as_echo_n "(cached) " >&6
8932 else
8933 # One or both of the vars are not set, and there is no cached value.
8934 ac_x_includes=no ac_x_libraries=no
8935 rm -f -r conftest.dir
8936 if mkdir conftest.dir; then
8937 cd conftest.dir
8938 cat >Imakefile <<'_ACEOF'
8939 incroot:
8940 @echo incroot='${INCROOT}'
8941 usrlibdir:
8942 @echo usrlibdir='${USRLIBDIR}'
8943 libdir:
8944 @echo libdir='${LIBDIR}'
8945 _ACEOF
8946 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8947 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8948 for ac_var in incroot usrlibdir libdir; do
8949 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8950 done
8951 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8952 for ac_extension in a so sl dylib la dll; do
8953 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8954 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8955 ac_im_usrlibdir=$ac_im_libdir; break
8957 done
8958 # Screen out bogus values from the imake configuration. They are
8959 # bogus both because they are the default anyway, and because
8960 # using them would break gcc on systems where it needs fixed includes.
8961 case $ac_im_incroot in
8962 /usr/include) ac_x_includes= ;;
8963 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8964 esac
8965 case $ac_im_usrlibdir in
8966 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8967 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8968 esac
8970 cd ..
8971 rm -f -r conftest.dir
8974 # Standard set of common directories for X headers.
8975 # Check X11 before X11Rn because it is often a symlink to the current release.
8976 ac_x_header_dirs='
8977 /usr/X11/include
8978 /usr/X11R7/include
8979 /usr/X11R6/include
8980 /usr/X11R5/include
8981 /usr/X11R4/include
8983 /usr/include/X11
8984 /usr/include/X11R7
8985 /usr/include/X11R6
8986 /usr/include/X11R5
8987 /usr/include/X11R4
8989 /usr/local/X11/include
8990 /usr/local/X11R7/include
8991 /usr/local/X11R6/include
8992 /usr/local/X11R5/include
8993 /usr/local/X11R4/include
8995 /usr/local/include/X11
8996 /usr/local/include/X11R7
8997 /usr/local/include/X11R6
8998 /usr/local/include/X11R5
8999 /usr/local/include/X11R4
9001 /usr/X386/include
9002 /usr/x386/include
9003 /usr/XFree86/include/X11
9005 /usr/include
9006 /usr/local/include
9007 /usr/unsupported/include
9008 /usr/athena/include
9009 /usr/local/x11r5/include
9010 /usr/lpp/Xamples/include
9012 /usr/openwin/include
9013 /usr/openwin/share/include'
9015 if test "$ac_x_includes" = no; then
9016 # Guess where to find include files, by looking for Xlib.h.
9017 # First, try using that file with no special directory specified.
9018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9019 /* end confdefs.h. */
9020 #include <X11/Xlib.h>
9021 _ACEOF
9022 if ac_fn_c_try_cpp "$LINENO"; then :
9023 # We can compile using X headers with no special include directory.
9024 ac_x_includes=
9025 else
9026 for ac_dir in $ac_x_header_dirs; do
9027 if test -r "$ac_dir/X11/Xlib.h"; then
9028 ac_x_includes=$ac_dir
9029 break
9031 done
9033 rm -f conftest.err conftest.i conftest.$ac_ext
9034 fi # $ac_x_includes = no
9036 if test "$ac_x_libraries" = no; then
9037 # Check for the libraries.
9038 # See if we find them without any special options.
9039 # Don't add to $LIBS permanently.
9040 ac_save_LIBS=$LIBS
9041 LIBS="-lX11 $LIBS"
9042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9043 /* end confdefs.h. */
9044 #include <X11/Xlib.h>
9046 main ()
9048 XrmInitialize ()
9050 return 0;
9052 _ACEOF
9053 if ac_fn_c_try_link "$LINENO"; then :
9054 LIBS=$ac_save_LIBS
9055 # We can link X programs with no special library path.
9056 ac_x_libraries=
9057 else
9058 LIBS=$ac_save_LIBS
9059 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9061 # Don't even attempt the hair of trying to link an X program!
9062 for ac_extension in a so sl dylib la dll; do
9063 if test -r "$ac_dir/libX11.$ac_extension"; then
9064 ac_x_libraries=$ac_dir
9065 break 2
9067 done
9068 done
9070 rm -f core conftest.err conftest.$ac_objext \
9071 conftest$ac_exeext conftest.$ac_ext
9072 fi # $ac_x_libraries = no
9074 case $ac_x_includes,$ac_x_libraries in #(
9075 no,* | *,no | *\'*)
9076 # Didn't find X, or a directory has "'" in its name.
9077 ac_cv_have_x="have_x=no";; #(
9079 # Record where we found X for the cache.
9080 ac_cv_have_x="have_x=yes\
9081 ac_x_includes='$ac_x_includes'\
9082 ac_x_libraries='$ac_x_libraries'"
9083 esac
9085 ;; #(
9086 *) have_x=yes;;
9087 esac
9088 eval "$ac_cv_have_x"
9089 fi # $with_x != no
9091 if test "$have_x" != yes; then
9092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9093 $as_echo "$have_x" >&6; }
9094 no_x=yes
9095 else
9096 # If each of the values was on the command line, it overrides each guess.
9097 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9098 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9099 # Update the cache value to reflect the command line values.
9100 ac_cv_have_x="have_x=yes\
9101 ac_x_includes='$x_includes'\
9102 ac_x_libraries='$x_libraries'"
9103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9104 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9107 if test "$no_x" = yes; then
9108 # Not all programs may use this symbol, but it does not hurt to define it.
9110 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9112 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9113 else
9114 if test -n "$x_includes"; then
9115 X_CFLAGS="$X_CFLAGS -I$x_includes"
9118 # It would also be nice to do this for all -L options, not just this one.
9119 if test -n "$x_libraries"; then
9120 X_LIBS="$X_LIBS -L$x_libraries"
9121 # For Solaris; some versions of Sun CC require a space after -R and
9122 # others require no space. Words are not sufficient . . . .
9123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9124 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9125 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9126 ac_xsave_c_werror_flag=$ac_c_werror_flag
9127 ac_c_werror_flag=yes
9128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9129 /* end confdefs.h. */
9132 main ()
9136 return 0;
9138 _ACEOF
9139 if ac_fn_c_try_link "$LINENO"; then :
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9141 $as_echo "no" >&6; }
9142 X_LIBS="$X_LIBS -R$x_libraries"
9143 else
9144 LIBS="$ac_xsave_LIBS -R $x_libraries"
9145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9146 /* end confdefs.h. */
9149 main ()
9153 return 0;
9155 _ACEOF
9156 if ac_fn_c_try_link "$LINENO"; then :
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9158 $as_echo "yes" >&6; }
9159 X_LIBS="$X_LIBS -R $x_libraries"
9160 else
9161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9162 $as_echo "neither works" >&6; }
9164 rm -f core conftest.err conftest.$ac_objext \
9165 conftest$ac_exeext conftest.$ac_ext
9167 rm -f core conftest.err conftest.$ac_objext \
9168 conftest$ac_exeext conftest.$ac_ext
9169 ac_c_werror_flag=$ac_xsave_c_werror_flag
9170 LIBS=$ac_xsave_LIBS
9173 # Check for system-dependent libraries X programs must link with.
9174 # Do this before checking for the system-independent R6 libraries
9175 # (-lICE), since we may need -lsocket or whatever for X linking.
9177 if test "$ISC" = yes; then
9178 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9179 else
9180 # Martyn Johnson says this is needed for Ultrix, if the X
9181 # libraries were built with DECnet support. And Karl Berry says
9182 # the Alpha needs dnet_stub (dnet does not exist).
9183 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9185 /* end confdefs.h. */
9187 /* Override any GCC internal prototype to avoid an error.
9188 Use char because int might match the return type of a GCC
9189 builtin and then its argument prototype would still apply. */
9190 #ifdef __cplusplus
9191 extern "C"
9192 #endif
9193 char XOpenDisplay ();
9195 main ()
9197 return XOpenDisplay ();
9199 return 0;
9201 _ACEOF
9202 if ac_fn_c_try_link "$LINENO"; then :
9204 else
9205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9206 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9207 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9208 $as_echo_n "(cached) " >&6
9209 else
9210 ac_check_lib_save_LIBS=$LIBS
9211 LIBS="-ldnet $LIBS"
9212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9213 /* end confdefs.h. */
9215 /* Override any GCC internal prototype to avoid an error.
9216 Use char because int might match the return type of a GCC
9217 builtin and then its argument prototype would still apply. */
9218 #ifdef __cplusplus
9219 extern "C"
9220 #endif
9221 char dnet_ntoa ();
9223 main ()
9225 return dnet_ntoa ();
9227 return 0;
9229 _ACEOF
9230 if ac_fn_c_try_link "$LINENO"; then :
9231 ac_cv_lib_dnet_dnet_ntoa=yes
9232 else
9233 ac_cv_lib_dnet_dnet_ntoa=no
9235 rm -f core conftest.err conftest.$ac_objext \
9236 conftest$ac_exeext conftest.$ac_ext
9237 LIBS=$ac_check_lib_save_LIBS
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9240 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9241 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9242 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9245 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9247 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9248 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9249 $as_echo_n "(cached) " >&6
9250 else
9251 ac_check_lib_save_LIBS=$LIBS
9252 LIBS="-ldnet_stub $LIBS"
9253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9254 /* end confdefs.h. */
9256 /* Override any GCC internal prototype to avoid an error.
9257 Use char because int might match the return type of a GCC
9258 builtin and then its argument prototype would still apply. */
9259 #ifdef __cplusplus
9260 extern "C"
9261 #endif
9262 char dnet_ntoa ();
9264 main ()
9266 return dnet_ntoa ();
9268 return 0;
9270 _ACEOF
9271 if ac_fn_c_try_link "$LINENO"; then :
9272 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9273 else
9274 ac_cv_lib_dnet_stub_dnet_ntoa=no
9276 rm -f core conftest.err conftest.$ac_objext \
9277 conftest$ac_exeext conftest.$ac_ext
9278 LIBS=$ac_check_lib_save_LIBS
9280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9281 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9282 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9283 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9288 rm -f core conftest.err conftest.$ac_objext \
9289 conftest$ac_exeext conftest.$ac_ext
9290 LIBS="$ac_xsave_LIBS"
9292 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9293 # to get the SysV transport functions.
9294 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9295 # needs -lnsl.
9296 # The nsl library prevents programs from opening the X display
9297 # on Irix 5.2, according to T.E. Dickey.
9298 # The functions gethostbyname, getservbyname, and inet_addr are
9299 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9300 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9301 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9305 if test $ac_cv_func_gethostbyname = no; then
9306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9307 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9308 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9309 $as_echo_n "(cached) " >&6
9310 else
9311 ac_check_lib_save_LIBS=$LIBS
9312 LIBS="-lnsl $LIBS"
9313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9314 /* end confdefs.h. */
9316 /* Override any GCC internal prototype to avoid an error.
9317 Use char because int might match the return type of a GCC
9318 builtin and then its argument prototype would still apply. */
9319 #ifdef __cplusplus
9320 extern "C"
9321 #endif
9322 char gethostbyname ();
9324 main ()
9326 return gethostbyname ();
9328 return 0;
9330 _ACEOF
9331 if ac_fn_c_try_link "$LINENO"; then :
9332 ac_cv_lib_nsl_gethostbyname=yes
9333 else
9334 ac_cv_lib_nsl_gethostbyname=no
9336 rm -f core conftest.err conftest.$ac_objext \
9337 conftest$ac_exeext conftest.$ac_ext
9338 LIBS=$ac_check_lib_save_LIBS
9340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9341 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9342 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9343 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9346 if test $ac_cv_lib_nsl_gethostbyname = no; then
9347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9348 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9349 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9350 $as_echo_n "(cached) " >&6
9351 else
9352 ac_check_lib_save_LIBS=$LIBS
9353 LIBS="-lbsd $LIBS"
9354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9355 /* end confdefs.h. */
9357 /* Override any GCC internal prototype to avoid an error.
9358 Use char because int might match the return type of a GCC
9359 builtin and then its argument prototype would still apply. */
9360 #ifdef __cplusplus
9361 extern "C"
9362 #endif
9363 char gethostbyname ();
9365 main ()
9367 return gethostbyname ();
9369 return 0;
9371 _ACEOF
9372 if ac_fn_c_try_link "$LINENO"; then :
9373 ac_cv_lib_bsd_gethostbyname=yes
9374 else
9375 ac_cv_lib_bsd_gethostbyname=no
9377 rm -f core conftest.err conftest.$ac_objext \
9378 conftest$ac_exeext conftest.$ac_ext
9379 LIBS=$ac_check_lib_save_LIBS
9381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9382 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9383 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9384 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9390 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9391 # socket/setsockopt and other routines are undefined under SCO ODT
9392 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9393 # on later versions), says Simon Leinen: it contains gethostby*
9394 # variants that don't use the name server (or something). -lsocket
9395 # must be given before -lnsl if both are needed. We assume that
9396 # if connect needs -lnsl, so does gethostbyname.
9397 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9398 if test "x$ac_cv_func_connect" = xyes; then :
9402 if test $ac_cv_func_connect = no; then
9403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9404 $as_echo_n "checking for connect in -lsocket... " >&6; }
9405 if ${ac_cv_lib_socket_connect+:} false; then :
9406 $as_echo_n "(cached) " >&6
9407 else
9408 ac_check_lib_save_LIBS=$LIBS
9409 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9411 /* end confdefs.h. */
9413 /* Override any GCC internal prototype to avoid an error.
9414 Use char because int might match the return type of a GCC
9415 builtin and then its argument prototype would still apply. */
9416 #ifdef __cplusplus
9417 extern "C"
9418 #endif
9419 char connect ();
9421 main ()
9423 return connect ();
9425 return 0;
9427 _ACEOF
9428 if ac_fn_c_try_link "$LINENO"; then :
9429 ac_cv_lib_socket_connect=yes
9430 else
9431 ac_cv_lib_socket_connect=no
9433 rm -f core conftest.err conftest.$ac_objext \
9434 conftest$ac_exeext conftest.$ac_ext
9435 LIBS=$ac_check_lib_save_LIBS
9437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9438 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9439 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9440 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9445 # Guillermo Gomez says -lposix is necessary on A/UX.
9446 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9447 if test "x$ac_cv_func_remove" = xyes; then :
9451 if test $ac_cv_func_remove = no; then
9452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9453 $as_echo_n "checking for remove in -lposix... " >&6; }
9454 if ${ac_cv_lib_posix_remove+:} false; then :
9455 $as_echo_n "(cached) " >&6
9456 else
9457 ac_check_lib_save_LIBS=$LIBS
9458 LIBS="-lposix $LIBS"
9459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9460 /* end confdefs.h. */
9462 /* Override any GCC internal prototype to avoid an error.
9463 Use char because int might match the return type of a GCC
9464 builtin and then its argument prototype would still apply. */
9465 #ifdef __cplusplus
9466 extern "C"
9467 #endif
9468 char remove ();
9470 main ()
9472 return remove ();
9474 return 0;
9476 _ACEOF
9477 if ac_fn_c_try_link "$LINENO"; then :
9478 ac_cv_lib_posix_remove=yes
9479 else
9480 ac_cv_lib_posix_remove=no
9482 rm -f core conftest.err conftest.$ac_objext \
9483 conftest$ac_exeext conftest.$ac_ext
9484 LIBS=$ac_check_lib_save_LIBS
9486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9487 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9488 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9489 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9494 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9495 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9496 if test "x$ac_cv_func_shmat" = xyes; then :
9500 if test $ac_cv_func_shmat = no; then
9501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9502 $as_echo_n "checking for shmat in -lipc... " >&6; }
9503 if ${ac_cv_lib_ipc_shmat+:} false; then :
9504 $as_echo_n "(cached) " >&6
9505 else
9506 ac_check_lib_save_LIBS=$LIBS
9507 LIBS="-lipc $LIBS"
9508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9509 /* end confdefs.h. */
9511 /* Override any GCC internal prototype to avoid an error.
9512 Use char because int might match the return type of a GCC
9513 builtin and then its argument prototype would still apply. */
9514 #ifdef __cplusplus
9515 extern "C"
9516 #endif
9517 char shmat ();
9519 main ()
9521 return shmat ();
9523 return 0;
9525 _ACEOF
9526 if ac_fn_c_try_link "$LINENO"; then :
9527 ac_cv_lib_ipc_shmat=yes
9528 else
9529 ac_cv_lib_ipc_shmat=no
9531 rm -f core conftest.err conftest.$ac_objext \
9532 conftest$ac_exeext conftest.$ac_ext
9533 LIBS=$ac_check_lib_save_LIBS
9535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9536 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9537 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9538 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9544 # Check for libraries that X11R6 Xt/Xaw programs need.
9545 ac_save_LDFLAGS=$LDFLAGS
9546 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9547 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9548 # check for ICE first), but we must link in the order -lSM -lICE or
9549 # we get undefined symbols. So assume we have SM if we have ICE.
9550 # These have to be linked with before -lX11, unlike the other
9551 # libraries we check for below, so use a different variable.
9552 # John Interrante, Karl Berry
9553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9554 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9555 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9556 $as_echo_n "(cached) " >&6
9557 else
9558 ac_check_lib_save_LIBS=$LIBS
9559 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9561 /* end confdefs.h. */
9563 /* Override any GCC internal prototype to avoid an error.
9564 Use char because int might match the return type of a GCC
9565 builtin and then its argument prototype would still apply. */
9566 #ifdef __cplusplus
9567 extern "C"
9568 #endif
9569 char IceConnectionNumber ();
9571 main ()
9573 return IceConnectionNumber ();
9575 return 0;
9577 _ACEOF
9578 if ac_fn_c_try_link "$LINENO"; then :
9579 ac_cv_lib_ICE_IceConnectionNumber=yes
9580 else
9581 ac_cv_lib_ICE_IceConnectionNumber=no
9583 rm -f core conftest.err conftest.$ac_objext \
9584 conftest$ac_exeext conftest.$ac_ext
9585 LIBS=$ac_check_lib_save_LIBS
9587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9588 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9589 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9590 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9593 LDFLAGS=$ac_save_LDFLAGS
9598 if test "$have_x" = "yes"
9599 then
9600 ac_save_CPPFLAGS="$CPPFLAGS"
9601 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9604 $as_echo_n "checking for -lX11... " >&6; }
9605 if ${ac_cv_lib_soname_X11+:} false; then :
9606 $as_echo_n "(cached) " >&6
9607 else
9608 ac_check_soname_save_LIBS=$LIBS
9609 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9611 /* end confdefs.h. */
9613 /* Override any GCC internal prototype to avoid an error.
9614 Use char because int might match the return type of a GCC
9615 builtin and then its argument prototype would still apply. */
9616 #ifdef __cplusplus
9617 extern "C"
9618 #endif
9619 char XCreateWindow ();
9621 main ()
9623 return XCreateWindow ();
9625 return 0;
9627 _ACEOF
9628 if ac_fn_c_try_link "$LINENO"; then :
9629 case "$LIBEXT" in
9630 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9631 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'` ;;
9632 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9633 if ${ac_cv_lib_soname_X11:+false} :; then :
9634 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9635 fi ;;
9636 esac
9638 rm -f core conftest.err conftest.$ac_objext \
9639 conftest$ac_exeext conftest.$ac_ext
9640 LIBS=$ac_check_soname_save_LIBS
9642 if ${ac_cv_lib_soname_X11:+false} :; then :
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9644 $as_echo "not found" >&6; }
9646 else
9647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9648 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9650 cat >>confdefs.h <<_ACEOF
9651 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9652 _ACEOF
9656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9657 $as_echo_n "checking for -lXext... " >&6; }
9658 if ${ac_cv_lib_soname_Xext+:} false; then :
9659 $as_echo_n "(cached) " >&6
9660 else
9661 ac_check_soname_save_LIBS=$LIBS
9662 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9664 /* end confdefs.h. */
9666 /* Override any GCC internal prototype to avoid an error.
9667 Use char because int might match the return type of a GCC
9668 builtin and then its argument prototype would still apply. */
9669 #ifdef __cplusplus
9670 extern "C"
9671 #endif
9672 char XextCreateExtension ();
9674 main ()
9676 return XextCreateExtension ();
9678 return 0;
9680 _ACEOF
9681 if ac_fn_c_try_link "$LINENO"; then :
9682 case "$LIBEXT" in
9683 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9684 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'` ;;
9685 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9686 if ${ac_cv_lib_soname_Xext:+false} :; then :
9687 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9688 fi ;;
9689 esac
9691 rm -f core conftest.err conftest.$ac_objext \
9692 conftest$ac_exeext conftest.$ac_ext
9693 LIBS=$ac_check_soname_save_LIBS
9695 if ${ac_cv_lib_soname_Xext:+false} :; then :
9696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9697 $as_echo "not found" >&6; }
9699 else
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9701 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9703 cat >>confdefs.h <<_ACEOF
9704 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9705 _ACEOF
9707 X_LIBS="$X_LIBS -lXext"
9709 X_LIBS="$X_LIBS -lX11"
9711 for ac_header in X11/Xlib.h \
9712 X11/XKBlib.h \
9713 X11/Xutil.h \
9714 X11/Xcursor/Xcursor.h \
9715 X11/extensions/shape.h \
9716 X11/extensions/XInput.h \
9717 X11/extensions/XInput2.h \
9718 X11/extensions/XShm.h \
9719 X11/extensions/Xcomposite.h \
9720 X11/extensions/Xinerama.h \
9721 X11/extensions/Xrandr.h \
9722 X11/extensions/Xrender.h \
9723 X11/extensions/xf86vmode.h \
9724 X11/extensions/xf86vmproto.h
9725 do :
9726 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9727 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9728 # include <X11/Xlib.h>
9729 #endif
9730 #ifdef HAVE_X11_XUTIL_H
9731 # include <X11/Xutil.h>
9732 #endif
9734 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9735 cat >>confdefs.h <<_ACEOF
9736 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9737 _ACEOF
9741 done
9744 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9745 then
9746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9747 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9748 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9749 $as_echo_n "(cached) " >&6
9750 else
9751 ac_check_lib_save_LIBS=$LIBS
9752 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9754 /* end confdefs.h. */
9756 /* Override any GCC internal prototype to avoid an error.
9757 Use char because int might match the return type of a GCC
9758 builtin and then its argument prototype would still apply. */
9759 #ifdef __cplusplus
9760 extern "C"
9761 #endif
9762 char XkbQueryExtension ();
9764 main ()
9766 return XkbQueryExtension ();
9768 return 0;
9770 _ACEOF
9771 if ac_fn_c_try_link "$LINENO"; then :
9772 ac_cv_lib_X11_XkbQueryExtension=yes
9773 else
9774 ac_cv_lib_X11_XkbQueryExtension=no
9776 rm -f core conftest.err conftest.$ac_objext \
9777 conftest$ac_exeext conftest.$ac_ext
9778 LIBS=$ac_check_lib_save_LIBS
9780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9781 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9782 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9784 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9790 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9791 then
9792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9793 $as_echo_n "checking for -lXcursor... " >&6; }
9794 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9795 $as_echo_n "(cached) " >&6
9796 else
9797 ac_check_soname_save_LIBS=$LIBS
9798 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9800 /* end confdefs.h. */
9802 /* Override any GCC internal prototype to avoid an error.
9803 Use char because int might match the return type of a GCC
9804 builtin and then its argument prototype would still apply. */
9805 #ifdef __cplusplus
9806 extern "C"
9807 #endif
9808 char XcursorImageLoadCursor ();
9810 main ()
9812 return XcursorImageLoadCursor ();
9814 return 0;
9816 _ACEOF
9817 if ac_fn_c_try_link "$LINENO"; then :
9818 case "$LIBEXT" in
9819 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9820 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'` ;;
9821 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9822 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9823 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9824 fi ;;
9825 esac
9827 rm -f core conftest.err conftest.$ac_objext \
9828 conftest$ac_exeext conftest.$ac_ext
9829 LIBS=$ac_check_soname_save_LIBS
9831 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9833 $as_echo "not found" >&6; }
9835 else
9836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9837 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9839 cat >>confdefs.h <<_ACEOF
9840 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9841 _ACEOF
9846 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9847 case "x$with_xcursor" in
9848 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9849 xno) ;;
9850 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9851 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9852 esac
9855 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9856 then
9857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9858 $as_echo_n "checking for -lXi... " >&6; }
9859 if ${ac_cv_lib_soname_Xi+:} false; then :
9860 $as_echo_n "(cached) " >&6
9861 else
9862 ac_check_soname_save_LIBS=$LIBS
9863 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9865 /* end confdefs.h. */
9867 /* Override any GCC internal prototype to avoid an error.
9868 Use char because int might match the return type of a GCC
9869 builtin and then its argument prototype would still apply. */
9870 #ifdef __cplusplus
9871 extern "C"
9872 #endif
9873 char XOpenDevice ();
9875 main ()
9877 return XOpenDevice ();
9879 return 0;
9881 _ACEOF
9882 if ac_fn_c_try_link "$LINENO"; then :
9883 case "$LIBEXT" in
9884 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9885 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'` ;;
9886 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9887 if ${ac_cv_lib_soname_Xi:+false} :; then :
9888 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9889 fi ;;
9890 esac
9892 rm -f core conftest.err conftest.$ac_objext \
9893 conftest$ac_exeext conftest.$ac_ext
9894 LIBS=$ac_check_soname_save_LIBS
9896 if ${ac_cv_lib_soname_Xi:+false} :; then :
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9898 $as_echo "not found" >&6; }
9900 else
9901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9902 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9904 cat >>confdefs.h <<_ACEOF
9905 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9906 _ACEOF
9911 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9912 case "x$with_xinput" in
9913 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9914 xno) ;;
9915 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9916 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9917 esac
9920 if test "x$ac_cv_lib_soname_Xi" != x
9921 then
9922 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9923 case "x$with_xinput2" in
9924 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9925 xno) ;;
9926 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9927 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9928 esac
9932 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9933 then
9934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9935 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9936 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9937 $as_echo_n "(cached) " >&6
9938 else
9939 ac_check_lib_save_LIBS=$LIBS
9940 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9942 /* end confdefs.h. */
9944 /* Override any GCC internal prototype to avoid an error.
9945 Use char because int might match the return type of a GCC
9946 builtin and then its argument prototype would still apply. */
9947 #ifdef __cplusplus
9948 extern "C"
9949 #endif
9950 char XShmQueryExtension ();
9952 main ()
9954 return XShmQueryExtension ();
9956 return 0;
9958 _ACEOF
9959 if ac_fn_c_try_link "$LINENO"; then :
9960 ac_cv_lib_Xext_XShmQueryExtension=yes
9961 else
9962 ac_cv_lib_Xext_XShmQueryExtension=no
9964 rm -f core conftest.err conftest.$ac_objext \
9965 conftest$ac_exeext conftest.$ac_ext
9966 LIBS=$ac_check_lib_save_LIBS
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9969 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9970 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9972 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9977 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9978 case "x$with_xshm" in
9979 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9980 xno) ;;
9981 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9982 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9983 esac
9986 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9987 then
9988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9989 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9990 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9991 $as_echo_n "(cached) " >&6
9992 else
9993 ac_check_lib_save_LIBS=$LIBS
9994 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9996 /* end confdefs.h. */
9998 /* Override any GCC internal prototype to avoid an error.
9999 Use char because int might match the return type of a GCC
10000 builtin and then its argument prototype would still apply. */
10001 #ifdef __cplusplus
10002 extern "C"
10003 #endif
10004 char XShapeQueryExtension ();
10006 main ()
10008 return XShapeQueryExtension ();
10010 return 0;
10012 _ACEOF
10013 if ac_fn_c_try_link "$LINENO"; then :
10014 ac_cv_lib_Xext_XShapeQueryExtension=yes
10015 else
10016 ac_cv_lib_Xext_XShapeQueryExtension=no
10018 rm -f core conftest.err conftest.$ac_objext \
10019 conftest$ac_exeext conftest.$ac_ext
10020 LIBS=$ac_check_lib_save_LIBS
10022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10023 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10024 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10026 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10031 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10032 case "x$with_xshape" in
10033 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10034 xno) ;;
10035 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10036 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10037 esac
10040 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10041 then
10042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10043 $as_echo_n "checking for -lXxf86vm... " >&6; }
10044 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10045 $as_echo_n "(cached) " >&6
10046 else
10047 ac_check_soname_save_LIBS=$LIBS
10048 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10050 /* end confdefs.h. */
10052 /* Override any GCC internal prototype to avoid an error.
10053 Use char because int might match the return type of a GCC
10054 builtin and then its argument prototype would still apply. */
10055 #ifdef __cplusplus
10056 extern "C"
10057 #endif
10058 char XF86VidModeQueryExtension ();
10060 main ()
10062 return XF86VidModeQueryExtension ();
10064 return 0;
10066 _ACEOF
10067 if ac_fn_c_try_link "$LINENO"; then :
10068 case "$LIBEXT" in
10069 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10070 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'` ;;
10071 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10072 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10073 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10074 fi ;;
10075 esac
10077 rm -f core conftest.err conftest.$ac_objext \
10078 conftest$ac_exeext conftest.$ac_ext
10079 LIBS=$ac_check_soname_save_LIBS
10081 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10083 $as_echo "not found" >&6; }
10085 else
10086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10087 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10089 cat >>confdefs.h <<_ACEOF
10090 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10091 _ACEOF
10096 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10097 case "x$with_xxf86vm" in
10098 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10099 xno) ;;
10100 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10101 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10102 esac
10105 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10106 then
10107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10108 $as_echo_n "checking for -lXrender... " >&6; }
10109 if ${ac_cv_lib_soname_Xrender+:} false; then :
10110 $as_echo_n "(cached) " >&6
10111 else
10112 ac_check_soname_save_LIBS=$LIBS
10113 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10115 /* end confdefs.h. */
10117 /* Override any GCC internal prototype to avoid an error.
10118 Use char because int might match the return type of a GCC
10119 builtin and then its argument prototype would still apply. */
10120 #ifdef __cplusplus
10121 extern "C"
10122 #endif
10123 char XRenderQueryExtension ();
10125 main ()
10127 return XRenderQueryExtension ();
10129 return 0;
10131 _ACEOF
10132 if ac_fn_c_try_link "$LINENO"; then :
10133 case "$LIBEXT" in
10134 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10135 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'` ;;
10136 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10137 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10138 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10139 fi ;;
10140 esac
10142 rm -f core conftest.err conftest.$ac_objext \
10143 conftest$ac_exeext conftest.$ac_ext
10144 LIBS=$ac_check_soname_save_LIBS
10146 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10148 $as_echo "not found" >&6; }
10150 else
10151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10152 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10154 cat >>confdefs.h <<_ACEOF
10155 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10156 _ACEOF
10158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10159 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10160 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10161 $as_echo_n "(cached) " >&6
10162 else
10163 ac_check_lib_save_LIBS=$LIBS
10164 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10166 /* end confdefs.h. */
10168 /* Override any GCC internal prototype to avoid an error.
10169 Use char because int might match the return type of a GCC
10170 builtin and then its argument prototype would still apply. */
10171 #ifdef __cplusplus
10172 extern "C"
10173 #endif
10174 char XRenderSetPictureTransform ();
10176 main ()
10178 return XRenderSetPictureTransform ();
10180 return 0;
10182 _ACEOF
10183 if ac_fn_c_try_link "$LINENO"; then :
10184 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10185 else
10186 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10188 rm -f core conftest.err conftest.$ac_objext \
10189 conftest$ac_exeext conftest.$ac_ext
10190 LIBS=$ac_check_lib_save_LIBS
10192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10193 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10194 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10196 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10201 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10202 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10203 $as_echo_n "(cached) " >&6
10204 else
10205 ac_check_lib_save_LIBS=$LIBS
10206 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10208 /* end confdefs.h. */
10210 /* Override any GCC internal prototype to avoid an error.
10211 Use char because int might match the return type of a GCC
10212 builtin and then its argument prototype would still apply. */
10213 #ifdef __cplusplus
10214 extern "C"
10215 #endif
10216 char XRenderCreateLinearGradient ();
10218 main ()
10220 return XRenderCreateLinearGradient ();
10222 return 0;
10224 _ACEOF
10225 if ac_fn_c_try_link "$LINENO"; then :
10226 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10227 else
10228 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10230 rm -f core conftest.err conftest.$ac_objext \
10231 conftest$ac_exeext conftest.$ac_ext
10232 LIBS=$ac_check_lib_save_LIBS
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10235 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10236 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10238 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10245 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10246 case "x$with_xrender" in
10247 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10248 xno) ;;
10249 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10250 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10251 esac
10254 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10255 then
10256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10257 /* end confdefs.h. */
10258 #include <X11/Xlib.h>
10259 #include <X11/extensions/Xrandr.h>
10261 main ()
10263 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10265 return 0;
10267 _ACEOF
10268 if ac_fn_c_try_compile "$LINENO"; then :
10269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10270 $as_echo_n "checking for -lXrandr... " >&6; }
10271 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10272 $as_echo_n "(cached) " >&6
10273 else
10274 ac_check_soname_save_LIBS=$LIBS
10275 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10277 /* end confdefs.h. */
10279 /* Override any GCC internal prototype to avoid an error.
10280 Use char because int might match the return type of a GCC
10281 builtin and then its argument prototype would still apply. */
10282 #ifdef __cplusplus
10283 extern "C"
10284 #endif
10285 char XRRQueryExtension ();
10287 main ()
10289 return XRRQueryExtension ();
10291 return 0;
10293 _ACEOF
10294 if ac_fn_c_try_link "$LINENO"; then :
10295 case "$LIBEXT" in
10296 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10297 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'` ;;
10298 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10299 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10300 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10301 fi ;;
10302 esac
10304 rm -f core conftest.err conftest.$ac_objext \
10305 conftest$ac_exeext conftest.$ac_ext
10306 LIBS=$ac_check_soname_save_LIBS
10308 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10310 $as_echo "not found" >&6; }
10312 else
10313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10314 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10316 cat >>confdefs.h <<_ACEOF
10317 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10318 _ACEOF
10320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10321 /* end confdefs.h. */
10322 #include <X11/Xlib.h>
10323 #include <X11/extensions/Xrandr.h>
10325 main ()
10327 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10329 return 0;
10331 _ACEOF
10332 if ac_fn_c_try_compile "$LINENO"; then :
10334 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10342 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10343 case "x$with_xrandr" in
10344 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10345 xno) ;;
10346 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10347 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10348 esac
10351 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10352 then
10353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10354 /* end confdefs.h. */
10355 #include <X11/Xlib.h>
10356 #include <X11/extensions/Xinerama.h>
10358 main ()
10360 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10362 return 0;
10364 _ACEOF
10365 if ac_fn_c_try_compile "$LINENO"; then :
10366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10367 $as_echo_n "checking for -lXinerama... " >&6; }
10368 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10369 $as_echo_n "(cached) " >&6
10370 else
10371 ac_check_soname_save_LIBS=$LIBS
10372 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10374 /* end confdefs.h. */
10376 /* Override any GCC internal prototype to avoid an error.
10377 Use char because int might match the return type of a GCC
10378 builtin and then its argument prototype would still apply. */
10379 #ifdef __cplusplus
10380 extern "C"
10381 #endif
10382 char XineramaQueryScreens ();
10384 main ()
10386 return XineramaQueryScreens ();
10388 return 0;
10390 _ACEOF
10391 if ac_fn_c_try_link "$LINENO"; then :
10392 case "$LIBEXT" in
10393 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10394 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'` ;;
10395 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10396 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10397 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10398 fi ;;
10399 esac
10401 rm -f core conftest.err conftest.$ac_objext \
10402 conftest$ac_exeext conftest.$ac_ext
10403 LIBS=$ac_check_soname_save_LIBS
10405 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10407 $as_echo "not found" >&6; }
10409 else
10410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10411 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10413 cat >>confdefs.h <<_ACEOF
10414 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10415 _ACEOF
10420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10422 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10423 case "x$with_xinerama" in
10424 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10425 xno) ;;
10426 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10427 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10428 esac
10431 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10432 then
10433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10434 $as_echo_n "checking for -lXcomposite... " >&6; }
10435 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10436 $as_echo_n "(cached) " >&6
10437 else
10438 ac_check_soname_save_LIBS=$LIBS
10439 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10441 /* end confdefs.h. */
10443 /* Override any GCC internal prototype to avoid an error.
10444 Use char because int might match the return type of a GCC
10445 builtin and then its argument prototype would still apply. */
10446 #ifdef __cplusplus
10447 extern "C"
10448 #endif
10449 char XCompositeRedirectWindow ();
10451 main ()
10453 return XCompositeRedirectWindow ();
10455 return 0;
10457 _ACEOF
10458 if ac_fn_c_try_link "$LINENO"; then :
10459 case "$LIBEXT" in
10460 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10461 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'` ;;
10462 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10463 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10464 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10465 fi ;;
10466 esac
10468 rm -f core conftest.err conftest.$ac_objext \
10469 conftest$ac_exeext conftest.$ac_ext
10470 LIBS=$ac_check_soname_save_LIBS
10472 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10474 $as_echo "not found" >&6; }
10476 else
10477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10478 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10480 cat >>confdefs.h <<_ACEOF
10481 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10482 _ACEOF
10487 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10488 case "x$with_xcomposite" in
10489 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10490 xno) ;;
10491 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10492 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10493 esac
10496 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10497 #include <X11/Xlib.h>
10498 #endif
10500 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10502 cat >>confdefs.h <<_ACEOF
10503 #define HAVE_XICCALLBACK_CALLBACK 1
10504 _ACEOF
10508 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10509 #include <X11/Xlib.h>
10510 #endif
10512 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10514 cat >>confdefs.h <<_ACEOF
10515 #define HAVE_XEVENT_XCOOKIE 1
10516 _ACEOF
10523 opengl_msg=""
10524 if test "x$with_opengl" != "xno"
10525 then
10526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10527 $as_echo_n "checking for -lGL... " >&6; }
10528 if ${ac_cv_lib_soname_GL+:} false; then :
10529 $as_echo_n "(cached) " >&6
10530 else
10531 ac_check_soname_save_LIBS=$LIBS
10532 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10534 /* end confdefs.h. */
10536 /* Override any GCC internal prototype to avoid an error.
10537 Use char because int might match the return type of a GCC
10538 builtin and then its argument prototype would still apply. */
10539 #ifdef __cplusplus
10540 extern "C"
10541 #endif
10542 char glXCreateContext ();
10544 main ()
10546 return glXCreateContext ();
10548 return 0;
10550 _ACEOF
10551 if ac_fn_c_try_link "$LINENO"; then :
10552 case "$LIBEXT" in
10553 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10554 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'` ;;
10555 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10556 if ${ac_cv_lib_soname_GL:+false} :; then :
10557 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10558 fi ;;
10559 esac
10561 rm -f core conftest.err conftest.$ac_objext \
10562 conftest$ac_exeext conftest.$ac_ext
10563 LIBS=$ac_check_soname_save_LIBS
10565 if ${ac_cv_lib_soname_GL:+false} :; then :
10566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10567 $as_echo "not found" >&6; }
10568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10569 $as_echo_n "checking for -lGL... " >&6; }
10570 if ${ac_cv_lib_soname_GL+:} false; then :
10571 $as_echo_n "(cached) " >&6
10572 else
10573 ac_check_soname_save_LIBS=$LIBS
10574 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"
10575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10576 /* end confdefs.h. */
10578 /* Override any GCC internal prototype to avoid an error.
10579 Use char because int might match the return type of a GCC
10580 builtin and then its argument prototype would still apply. */
10581 #ifdef __cplusplus
10582 extern "C"
10583 #endif
10584 char glXCreateContext ();
10586 main ()
10588 return glXCreateContext ();
10590 return 0;
10592 _ACEOF
10593 if ac_fn_c_try_link "$LINENO"; then :
10594 case "$LIBEXT" in
10595 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10596 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'` ;;
10597 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10598 if ${ac_cv_lib_soname_GL:+false} :; then :
10599 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10600 fi ;;
10601 esac
10603 rm -f core conftest.err conftest.$ac_objext \
10604 conftest$ac_exeext conftest.$ac_ext
10605 LIBS=$ac_check_soname_save_LIBS
10607 if ${ac_cv_lib_soname_GL:+false} :; then :
10608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10609 $as_echo "not found" >&6; }
10610 if test -f /usr/X11R6/lib/libGL.a
10611 then
10612 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10613 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10614 else
10615 opengl_msg="No OpenGL library found on this system."
10617 else
10618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10619 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10621 cat >>confdefs.h <<_ACEOF
10622 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10623 _ACEOF
10625 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"
10627 else
10628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10629 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10631 cat >>confdefs.h <<_ACEOF
10632 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10633 _ACEOF
10635 OPENGL_LIBS="-lGL"
10637 if test "x$with_glu" != "xno"
10638 then
10639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10640 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10641 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10642 $as_echo_n "(cached) " >&6
10643 else
10644 ac_check_lib_save_LIBS=$LIBS
10645 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10647 /* end confdefs.h. */
10649 /* Override any GCC internal prototype to avoid an error.
10650 Use char because int might match the return type of a GCC
10651 builtin and then its argument prototype would still apply. */
10652 #ifdef __cplusplus
10653 extern "C"
10654 #endif
10655 char gluLookAt ();
10657 main ()
10659 return gluLookAt ();
10661 return 0;
10663 _ACEOF
10664 if ac_fn_c_try_link "$LINENO"; then :
10665 ac_cv_lib_GLU_gluLookAt=yes
10666 else
10667 ac_cv_lib_GLU_gluLookAt=no
10669 rm -f core conftest.err conftest.$ac_objext \
10670 conftest$ac_exeext conftest.$ac_ext
10671 LIBS=$ac_check_lib_save_LIBS
10673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10674 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10675 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10679 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10680 case "x$with_glu" in
10681 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10682 xno) ;;
10683 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10684 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10685 esac
10689 if test "x$with_osmesa" != "xno"
10690 then
10691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10692 $as_echo_n "checking for -lOSMesa... " >&6; }
10693 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10694 $as_echo_n "(cached) " >&6
10695 else
10696 ac_check_soname_save_LIBS=$LIBS
10697 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10699 /* end confdefs.h. */
10701 /* Override any GCC internal prototype to avoid an error.
10702 Use char because int might match the return type of a GCC
10703 builtin and then its argument prototype would still apply. */
10704 #ifdef __cplusplus
10705 extern "C"
10706 #endif
10707 char glAccum ();
10709 main ()
10711 return glAccum ();
10713 return 0;
10715 _ACEOF
10716 if ac_fn_c_try_link "$LINENO"; then :
10717 case "$LIBEXT" in
10718 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10719 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'` ;;
10720 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10721 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10722 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10723 fi ;;
10724 esac
10726 rm -f core conftest.err conftest.$ac_objext \
10727 conftest$ac_exeext conftest.$ac_ext
10728 LIBS=$ac_check_soname_save_LIBS
10730 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10732 $as_echo "not found" >&6; }
10734 else
10735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10736 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10738 cat >>confdefs.h <<_ACEOF
10739 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10740 _ACEOF
10744 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10745 case "x$with_osmesa" in
10746 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10747 xno) ;;
10748 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10749 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10750 esac
10754 if test -n "$opengl_msg"; then :
10755 case "x$with_opengl" in
10756 x) as_fn_append wine_warnings "|$opengl_msg
10757 OpenGL and Direct3D won't be supported." ;;
10758 xno) ;;
10759 *) as_fn_error $? "$opengl_msg
10760 OpenGL and Direct3D won't be supported.
10761 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10762 esac
10765 CPPFLAGS="$ac_save_CPPFLAGS"
10766 else
10767 X_CFLAGS=""
10768 X_LIBS=""
10769 enable_winex11_drv=${enable_winex11_drv:-no}
10771 if test "x$X_LIBS" = "x"; then :
10772 case "x$with_x" in
10773 xno) ;;
10774 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10775 without X support, which probably isn't what you want. You will need
10776 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10777 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10778 esac
10781 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10783 if test "$ac_cv_header_CL_cl_h" = "yes"
10784 then
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10786 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10787 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10788 $as_echo_n "(cached) " >&6
10789 else
10790 ac_check_lib_save_LIBS=$LIBS
10791 LIBS="-lOpenCL $LIBS"
10792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10793 /* end confdefs.h. */
10795 /* Override any GCC internal prototype to avoid an error.
10796 Use char because int might match the return type of a GCC
10797 builtin and then its argument prototype would still apply. */
10798 #ifdef __cplusplus
10799 extern "C"
10800 #endif
10801 char clGetPlatformInfo ();
10803 main ()
10805 return clGetPlatformInfo ();
10807 return 0;
10809 _ACEOF
10810 if ac_fn_c_try_link "$LINENO"; then :
10811 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10812 else
10813 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10815 rm -f core conftest.err conftest.$ac_objext \
10816 conftest$ac_exeext conftest.$ac_ext
10817 LIBS=$ac_check_lib_save_LIBS
10819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10820 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10821 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10822 OPENCL_LIBS="-lOpenCL"
10827 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10828 case "x$with_opencl" in
10829 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10830 xno) ;;
10831 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10832 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10833 esac
10835 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10837 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10838 then
10839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10840 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10841 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10842 $as_echo_n "(cached) " >&6
10843 else
10844 ac_check_lib_save_LIBS=$LIBS
10845 LIBS="-lpcap $LIBS"
10846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10847 /* end confdefs.h. */
10849 /* Override any GCC internal prototype to avoid an error.
10850 Use char because int might match the return type of a GCC
10851 builtin and then its argument prototype would still apply. */
10852 #ifdef __cplusplus
10853 extern "C"
10854 #endif
10855 char pcap_create ();
10857 main ()
10859 return pcap_create ();
10861 return 0;
10863 _ACEOF
10864 if ac_fn_c_try_link "$LINENO"; then :
10865 ac_cv_lib_pcap_pcap_create=yes
10866 else
10867 ac_cv_lib_pcap_pcap_create=no
10869 rm -f core conftest.err conftest.$ac_objext \
10870 conftest$ac_exeext conftest.$ac_ext
10871 LIBS=$ac_check_lib_save_LIBS
10873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10874 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10875 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10876 PCAP_LIBS="-lpcap"
10881 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10882 case "x$with_pcap" in
10883 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10884 xno) ;;
10885 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10886 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10887 esac
10889 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10892 if test "x$with_xml" != "xno"
10893 then
10894 if ${XML2_CFLAGS:+false} :; then :
10895 if ${PKG_CONFIG+:} false; then :
10896 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10899 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10900 if ${XML2_LIBS:+false} :; then :
10901 if ${PKG_CONFIG+:} false; then :
10902 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10905 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10906 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10907 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10908 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10909 ac_save_CPPFLAGS=$CPPFLAGS
10910 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10911 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10912 do :
10913 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10914 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10915 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10916 cat >>confdefs.h <<_ACEOF
10917 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10918 _ACEOF
10922 done
10924 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"
10925 then
10926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10927 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10928 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10929 $as_echo_n "(cached) " >&6
10930 else
10931 ac_check_lib_save_LIBS=$LIBS
10932 LIBS="-lxml2 $XML2_LIBS $LIBS"
10933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10934 /* end confdefs.h. */
10936 /* Override any GCC internal prototype to avoid an error.
10937 Use char because int might match the return type of a GCC
10938 builtin and then its argument prototype would still apply. */
10939 #ifdef __cplusplus
10940 extern "C"
10941 #endif
10942 char xmlParseMemory ();
10944 main ()
10946 return xmlParseMemory ();
10948 return 0;
10950 _ACEOF
10951 if ac_fn_c_try_link "$LINENO"; then :
10952 ac_cv_lib_xml2_xmlParseMemory=yes
10953 else
10954 ac_cv_lib_xml2_xmlParseMemory=no
10956 rm -f core conftest.err conftest.$ac_objext \
10957 conftest$ac_exeext conftest.$ac_ext
10958 LIBS=$ac_check_lib_save_LIBS
10960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10961 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10962 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10964 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10966 else
10967 XML2_LIBS=""
10970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10971 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10972 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10973 $as_echo_n "(cached) " >&6
10974 else
10975 ac_check_lib_save_LIBS=$LIBS
10976 LIBS="-lxml2 $XML2_LIBS $LIBS"
10977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10978 /* end confdefs.h. */
10980 /* Override any GCC internal prototype to avoid an error.
10981 Use char because int might match the return type of a GCC
10982 builtin and then its argument prototype would still apply. */
10983 #ifdef __cplusplus
10984 extern "C"
10985 #endif
10986 char xmlReadMemory ();
10988 main ()
10990 return xmlReadMemory ();
10992 return 0;
10994 _ACEOF
10995 if ac_fn_c_try_link "$LINENO"; then :
10996 ac_cv_lib_xml2_xmlReadMemory=yes
10997 else
10998 ac_cv_lib_xml2_xmlReadMemory=no
11000 rm -f core conftest.err conftest.$ac_objext \
11001 conftest$ac_exeext conftest.$ac_ext
11002 LIBS=$ac_check_lib_save_LIBS
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11005 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11006 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11008 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11013 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11014 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11015 $as_echo_n "(cached) " >&6
11016 else
11017 ac_check_lib_save_LIBS=$LIBS
11018 LIBS="-lxml2 $XML2_LIBS $LIBS"
11019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11020 /* end confdefs.h. */
11022 /* Override any GCC internal prototype to avoid an error.
11023 Use char because int might match the return type of a GCC
11024 builtin and then its argument prototype would still apply. */
11025 #ifdef __cplusplus
11026 extern "C"
11027 #endif
11028 char xmlNewDocPI ();
11030 main ()
11032 return xmlNewDocPI ();
11034 return 0;
11036 _ACEOF
11037 if ac_fn_c_try_link "$LINENO"; then :
11038 ac_cv_lib_xml2_xmlNewDocPI=yes
11039 else
11040 ac_cv_lib_xml2_xmlNewDocPI=no
11042 rm -f core conftest.err conftest.$ac_objext \
11043 conftest$ac_exeext conftest.$ac_ext
11044 LIBS=$ac_check_lib_save_LIBS
11046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11047 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11048 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11050 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11055 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11056 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11057 $as_echo_n "(cached) " >&6
11058 else
11059 ac_check_lib_save_LIBS=$LIBS
11060 LIBS="-lxml2 $XML2_LIBS $LIBS"
11061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11062 /* end confdefs.h. */
11064 /* Override any GCC internal prototype to avoid an error.
11065 Use char because int might match the return type of a GCC
11066 builtin and then its argument prototype would still apply. */
11067 #ifdef __cplusplus
11068 extern "C"
11069 #endif
11070 char xmlSchemaSetParserStructuredErrors ();
11072 main ()
11074 return xmlSchemaSetParserStructuredErrors ();
11076 return 0;
11078 _ACEOF
11079 if ac_fn_c_try_link "$LINENO"; then :
11080 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11081 else
11082 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11084 rm -f core conftest.err conftest.$ac_objext \
11085 conftest$ac_exeext conftest.$ac_ext
11086 LIBS=$ac_check_lib_save_LIBS
11088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11089 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11090 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11092 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11097 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11098 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11099 $as_echo_n "(cached) " >&6
11100 else
11101 ac_check_lib_save_LIBS=$LIBS
11102 LIBS="-lxml2 $XML2_LIBS $LIBS"
11103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11104 /* end confdefs.h. */
11106 /* Override any GCC internal prototype to avoid an error.
11107 Use char because int might match the return type of a GCC
11108 builtin and then its argument prototype would still apply. */
11109 #ifdef __cplusplus
11110 extern "C"
11111 #endif
11112 char xmlSchemaSetValidStructuredErrors ();
11114 main ()
11116 return xmlSchemaSetValidStructuredErrors ();
11118 return 0;
11120 _ACEOF
11121 if ac_fn_c_try_link "$LINENO"; then :
11122 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11123 else
11124 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11126 rm -f core conftest.err conftest.$ac_objext \
11127 conftest$ac_exeext conftest.$ac_ext
11128 LIBS=$ac_check_lib_save_LIBS
11130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11131 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11132 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11134 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11139 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11140 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11141 $as_echo_n "(cached) " >&6
11142 else
11143 ac_check_lib_save_LIBS=$LIBS
11144 LIBS="-lxml2 $XML2_LIBS $LIBS"
11145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11146 /* end confdefs.h. */
11148 /* Override any GCC internal prototype to avoid an error.
11149 Use char because int might match the return type of a GCC
11150 builtin and then its argument prototype would still apply. */
11151 #ifdef __cplusplus
11152 extern "C"
11153 #endif
11154 char xmlFirstElementChild ();
11156 main ()
11158 return xmlFirstElementChild ();
11160 return 0;
11162 _ACEOF
11163 if ac_fn_c_try_link "$LINENO"; then :
11164 ac_cv_lib_xml2_xmlFirstElementChild=yes
11165 else
11166 ac_cv_lib_xml2_xmlFirstElementChild=no
11168 rm -f core conftest.err conftest.$ac_objext \
11169 conftest$ac_exeext conftest.$ac_ext
11170 LIBS=$ac_check_lib_save_LIBS
11172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11173 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11174 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11176 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11180 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11182 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11184 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11188 else
11189 XML2_CFLAGS=""
11190 XML2_LIBS=""
11192 CPPFLAGS=$ac_save_CPPFLAGS
11193 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11194 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11197 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11198 case "x$with_xml" in
11199 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11200 xno) ;;
11201 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11202 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11203 esac
11206 if test "x$with_xslt" != "xno"
11207 then
11208 if ${XSLT_CFLAGS:+false} :; then :
11209 if ${PKG_CONFIG+:} false; then :
11210 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11213 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11214 if ${XSLT_LIBS:+false} :; then :
11215 if ${PKG_CONFIG+:} false; then :
11216 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11219 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11220 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11221 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11222 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11223 ac_save_CPPFLAGS=$CPPFLAGS
11224 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11225 for ac_header in libxslt/pattern.h libxslt/transform.h
11226 do :
11227 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11228 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11229 # include <libxslt/pattern.h>
11230 #endif
11232 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11233 cat >>confdefs.h <<_ACEOF
11234 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11235 _ACEOF
11239 done
11241 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11242 then
11243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11244 $as_echo_n "checking for -lxslt... " >&6; }
11245 if ${ac_cv_lib_soname_xslt+:} false; then :
11246 $as_echo_n "(cached) " >&6
11247 else
11248 ac_check_soname_save_LIBS=$LIBS
11249 LIBS="-lxslt $XSLT_LIBS $LIBS"
11250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11251 /* end confdefs.h. */
11253 /* Override any GCC internal prototype to avoid an error.
11254 Use char because int might match the return type of a GCC
11255 builtin and then its argument prototype would still apply. */
11256 #ifdef __cplusplus
11257 extern "C"
11258 #endif
11259 char xsltCompilePattern ();
11261 main ()
11263 return xsltCompilePattern ();
11265 return 0;
11267 _ACEOF
11268 if ac_fn_c_try_link "$LINENO"; then :
11269 case "$LIBEXT" in
11270 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11271 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'` ;;
11272 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11273 if ${ac_cv_lib_soname_xslt:+false} :; then :
11274 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11275 fi ;;
11276 esac
11278 rm -f core conftest.err conftest.$ac_objext \
11279 conftest$ac_exeext conftest.$ac_ext
11280 LIBS=$ac_check_soname_save_LIBS
11282 if ${ac_cv_lib_soname_xslt:+false} :; then :
11283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11284 $as_echo "not found" >&6; }
11286 else
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11288 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11290 cat >>confdefs.h <<_ACEOF
11291 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11292 _ACEOF
11296 else
11297 XSLT_CFLAGS=""
11299 CPPFLAGS=$ac_save_CPPFLAGS
11300 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11301 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11304 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11305 case "x$with_xslt" in
11306 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11307 xno) ;;
11308 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11309 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11310 esac
11313 if test "x$with_dbus" != "xno"
11314 then
11315 if ${DBUS_CFLAGS:+false} :; then :
11316 if ${PKG_CONFIG+:} false; then :
11317 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11321 if ${DBUS_LIBS:+false} :; then :
11322 if ${PKG_CONFIG+:} false; then :
11323 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11328 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11329 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11330 ac_save_CPPFLAGS=$CPPFLAGS
11331 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11332 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11333 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11335 $as_echo_n "checking for -ldbus-1... " >&6; }
11336 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11337 $as_echo_n "(cached) " >&6
11338 else
11339 ac_check_soname_save_LIBS=$LIBS
11340 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11342 /* end confdefs.h. */
11344 /* Override any GCC internal prototype to avoid an error.
11345 Use char because int might match the return type of a GCC
11346 builtin and then its argument prototype would still apply. */
11347 #ifdef __cplusplus
11348 extern "C"
11349 #endif
11350 char dbus_connection_close ();
11352 main ()
11354 return dbus_connection_close ();
11356 return 0;
11358 _ACEOF
11359 if ac_fn_c_try_link "$LINENO"; then :
11360 case "$LIBEXT" in
11361 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11362 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'` ;;
11363 *) 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'`
11364 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11365 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11366 fi ;;
11367 esac
11369 rm -f core conftest.err conftest.$ac_objext \
11370 conftest$ac_exeext conftest.$ac_ext
11371 LIBS=$ac_check_soname_save_LIBS
11373 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11375 $as_echo "not found" >&6; }
11376 DBUS_CFLAGS=""
11377 else
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11379 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11381 cat >>confdefs.h <<_ACEOF
11382 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11383 _ACEOF
11387 else
11388 DBUS_CFLAGS=""
11392 CPPFLAGS=$ac_save_CPPFLAGS
11393 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11394 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11397 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11398 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11399 case "x$with_dbus" in
11400 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11401 xno) ;;
11402 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11403 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11404 esac
11407 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11408 then
11409 if ${HAL_CFLAGS:+false} :; then :
11410 if ${PKG_CONFIG+:} false; then :
11411 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11415 if ${HAL_LIBS:+false} :; then :
11416 if ${PKG_CONFIG+:} false; then :
11417 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11421 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11422 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11423 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11424 ac_save_CPPFLAGS=$CPPFLAGS
11425 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11426 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11427 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11429 $as_echo_n "checking for -lhal... " >&6; }
11430 if ${ac_cv_lib_soname_hal+:} false; then :
11431 $as_echo_n "(cached) " >&6
11432 else
11433 ac_check_soname_save_LIBS=$LIBS
11434 LIBS="-lhal $HAL_LIBS $LIBS"
11435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11436 /* end confdefs.h. */
11438 /* Override any GCC internal prototype to avoid an error.
11439 Use char because int might match the return type of a GCC
11440 builtin and then its argument prototype would still apply. */
11441 #ifdef __cplusplus
11442 extern "C"
11443 #endif
11444 char libhal_ctx_new ();
11446 main ()
11448 return libhal_ctx_new ();
11450 return 0;
11452 _ACEOF
11453 if ac_fn_c_try_link "$LINENO"; then :
11454 case "$LIBEXT" in
11455 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11456 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'` ;;
11457 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11458 if ${ac_cv_lib_soname_hal:+false} :; then :
11459 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11460 fi ;;
11461 esac
11463 rm -f core conftest.err conftest.$ac_objext \
11464 conftest$ac_exeext conftest.$ac_ext
11465 LIBS=$ac_check_soname_save_LIBS
11467 if ${ac_cv_lib_soname_hal:+false} :; then :
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11469 $as_echo "not found" >&6; }
11470 HAL_CFLAGS=""
11471 else
11472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11473 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11475 cat >>confdefs.h <<_ACEOF
11476 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11477 _ACEOF
11481 else
11482 HAL_CFLAGS=""
11486 CPPFLAGS=$ac_save_CPPFLAGS
11487 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11488 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11490 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11491 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11492 case "x$with_hal" in
11493 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11494 xno) ;;
11495 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11496 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11497 esac
11501 if test "x$with_gnutls" != "xno"
11502 then
11503 if ${GNUTLS_CFLAGS:+false} :; then :
11504 if ${PKG_CONFIG+:} false; then :
11505 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11509 if ${GNUTLS_LIBS:+false} :; then :
11510 if ${PKG_CONFIG+:} false; then :
11511 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11516 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11517 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11518 ac_save_CPPFLAGS=$CPPFLAGS
11519 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11520 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11521 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11523 /* end confdefs.h. */
11524 #include <gnutls/gnutls.h>
11525 #include <gnutls/crypto.h>
11527 main ()
11529 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11531 return 0;
11533 _ACEOF
11534 if ac_fn_c_try_compile "$LINENO"; then :
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11536 $as_echo_n "checking for -lgnutls... " >&6; }
11537 if ${ac_cv_lib_soname_gnutls+:} false; then :
11538 $as_echo_n "(cached) " >&6
11539 else
11540 ac_check_soname_save_LIBS=$LIBS
11541 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11543 /* end confdefs.h. */
11545 /* Override any GCC internal prototype to avoid an error.
11546 Use char because int might match the return type of a GCC
11547 builtin and then its argument prototype would still apply. */
11548 #ifdef __cplusplus
11549 extern "C"
11550 #endif
11551 char gnutls_global_init ();
11553 main ()
11555 return gnutls_global_init ();
11557 return 0;
11559 _ACEOF
11560 if ac_fn_c_try_link "$LINENO"; then :
11561 case "$LIBEXT" in
11562 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11563 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'` ;;
11564 *) 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'`
11565 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11566 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'`
11567 fi ;;
11568 esac
11570 rm -f core conftest.err conftest.$ac_objext \
11571 conftest$ac_exeext conftest.$ac_ext
11572 LIBS=$ac_check_soname_save_LIBS
11574 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11576 $as_echo "not found" >&6; }
11577 GNUTLS_CFLAGS=""
11578 else
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11580 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11582 cat >>confdefs.h <<_ACEOF
11583 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11584 _ACEOF
11589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11590 else
11591 GNUTLS_CFLAGS=""
11595 CPPFLAGS=$ac_save_CPPFLAGS
11596 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11597 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11599 ac_wine_check_funcs_save_LIBS="$LIBS"
11600 LIBS="$LIBS $GNUTLS_LIBS"
11601 for ac_func in gnutls_hash
11602 do :
11603 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11604 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11605 cat >>confdefs.h <<_ACEOF
11606 #define HAVE_GNUTLS_HASH 1
11607 _ACEOF
11609 else
11610 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11612 done
11614 LIBS="$ac_wine_check_funcs_save_LIBS"
11616 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11617 case "x$with_gnutls" in
11618 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11619 xno) ;;
11620 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11621 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11622 esac
11625 CURSES_LIBS=""
11626 if test "$ac_cv_header_ncurses_h" = "yes"
11627 then
11628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11629 $as_echo_n "checking for -lncurses... " >&6; }
11630 if ${ac_cv_lib_soname_ncurses+:} false; then :
11631 $as_echo_n "(cached) " >&6
11632 else
11633 ac_check_soname_save_LIBS=$LIBS
11634 LIBS="-lncurses $LIBS"
11635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11636 /* end confdefs.h. */
11638 /* Override any GCC internal prototype to avoid an error.
11639 Use char because int might match the return type of a GCC
11640 builtin and then its argument prototype would still apply. */
11641 #ifdef __cplusplus
11642 extern "C"
11643 #endif
11644 char waddch ();
11646 main ()
11648 return waddch ();
11650 return 0;
11652 _ACEOF
11653 if ac_fn_c_try_link "$LINENO"; then :
11654 case "$LIBEXT" in
11655 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11656 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'` ;;
11657 *) 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'`
11658 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11659 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11660 fi ;;
11661 esac
11663 rm -f core conftest.err conftest.$ac_objext \
11664 conftest$ac_exeext conftest.$ac_ext
11665 LIBS=$ac_check_soname_save_LIBS
11667 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11669 $as_echo "not found" >&6; }
11671 else
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11673 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11675 cat >>confdefs.h <<_ACEOF
11676 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11677 _ACEOF
11679 CURSES_LIBS="-lncurses"
11681 elif test "$ac_cv_header_curses_h" = "yes"
11682 then
11683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11684 $as_echo_n "checking for -lcurses... " >&6; }
11685 if ${ac_cv_lib_soname_curses+:} false; then :
11686 $as_echo_n "(cached) " >&6
11687 else
11688 ac_check_soname_save_LIBS=$LIBS
11689 LIBS="-lcurses $LIBS"
11690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11691 /* end confdefs.h. */
11693 /* Override any GCC internal prototype to avoid an error.
11694 Use char because int might match the return type of a GCC
11695 builtin and then its argument prototype would still apply. */
11696 #ifdef __cplusplus
11697 extern "C"
11698 #endif
11699 char waddch ();
11701 main ()
11703 return waddch ();
11705 return 0;
11707 _ACEOF
11708 if ac_fn_c_try_link "$LINENO"; then :
11709 case "$LIBEXT" in
11710 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11711 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'` ;;
11712 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11713 if ${ac_cv_lib_soname_curses:+false} :; then :
11714 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11715 fi ;;
11716 esac
11718 rm -f core conftest.err conftest.$ac_objext \
11719 conftest$ac_exeext conftest.$ac_ext
11720 LIBS=$ac_check_soname_save_LIBS
11722 if ${ac_cv_lib_soname_curses:+false} :; then :
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11724 $as_echo "not found" >&6; }
11726 else
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11728 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11730 cat >>confdefs.h <<_ACEOF
11731 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11732 _ACEOF
11734 CURSES_LIBS="-lcurses"
11737 ac_save_LIBS="$LIBS"
11738 LIBS="$LIBS $CURSES_LIBS"
11739 for ac_func in mousemask
11740 do :
11741 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11742 if test "x$ac_cv_func_mousemask" = xyes; then :
11743 cat >>confdefs.h <<_ACEOF
11744 #define HAVE_MOUSEMASK 1
11745 _ACEOF
11748 done
11750 LIBS="$ac_save_LIBS"
11751 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11752 case "x$with_curses" in
11753 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11754 xno) ;;
11755 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11756 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11757 esac
11760 if test "x$with_sane" != "xno"
11761 then
11762 if ${SANE_CFLAGS:+false} :; then :
11763 if ${PKG_CONFIG+:} false; then :
11764 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11767 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11768 if ${SANE_LIBS:+false} :; then :
11769 if ${PKG_CONFIG+:} false; then :
11770 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11773 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11775 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11776 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11777 ac_save_CPPFLAGS=$CPPFLAGS
11778 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11779 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11780 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11782 $as_echo_n "checking for -lsane... " >&6; }
11783 if ${ac_cv_lib_soname_sane+:} false; then :
11784 $as_echo_n "(cached) " >&6
11785 else
11786 ac_check_soname_save_LIBS=$LIBS
11787 LIBS="-lsane $SANE_LIBS $LIBS"
11788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11789 /* end confdefs.h. */
11791 /* Override any GCC internal prototype to avoid an error.
11792 Use char because int might match the return type of a GCC
11793 builtin and then its argument prototype would still apply. */
11794 #ifdef __cplusplus
11795 extern "C"
11796 #endif
11797 char sane_init ();
11799 main ()
11801 return sane_init ();
11803 return 0;
11805 _ACEOF
11806 if ac_fn_c_try_link "$LINENO"; then :
11807 case "$LIBEXT" in
11808 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11809 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'` ;;
11810 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11811 if ${ac_cv_lib_soname_sane:+false} :; then :
11812 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11813 fi ;;
11814 esac
11816 rm -f core conftest.err conftest.$ac_objext \
11817 conftest$ac_exeext conftest.$ac_ext
11818 LIBS=$ac_check_soname_save_LIBS
11820 if ${ac_cv_lib_soname_sane:+false} :; then :
11821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11822 $as_echo "not found" >&6; }
11823 SANE_CFLAGS=""
11824 else
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11826 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11828 cat >>confdefs.h <<_ACEOF
11829 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11830 _ACEOF
11834 else
11835 SANE_CFLAGS=""
11839 CPPFLAGS=$ac_save_CPPFLAGS
11840 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11841 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11844 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11845 case "x$with_sane" in
11846 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11847 xno) ;;
11848 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11849 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11850 esac
11853 if test "x$with_v4l" != "xno"
11854 then
11855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11856 $as_echo_n "checking for -lv4l1... " >&6; }
11857 if ${ac_cv_lib_soname_v4l1+:} false; then :
11858 $as_echo_n "(cached) " >&6
11859 else
11860 ac_check_soname_save_LIBS=$LIBS
11861 LIBS="-lv4l1 $LIBS"
11862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11863 /* end confdefs.h. */
11865 /* Override any GCC internal prototype to avoid an error.
11866 Use char because int might match the return type of a GCC
11867 builtin and then its argument prototype would still apply. */
11868 #ifdef __cplusplus
11869 extern "C"
11870 #endif
11871 char v4l1_open ();
11873 main ()
11875 return v4l1_open ();
11877 return 0;
11879 _ACEOF
11880 if ac_fn_c_try_link "$LINENO"; then :
11881 case "$LIBEXT" in
11882 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11883 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'` ;;
11884 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11885 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11886 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11887 fi ;;
11888 esac
11890 rm -f core conftest.err conftest.$ac_objext \
11891 conftest$ac_exeext conftest.$ac_ext
11892 LIBS=$ac_check_soname_save_LIBS
11894 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11896 $as_echo "not found" >&6; }
11898 else
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11900 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11902 cat >>confdefs.h <<_ACEOF
11903 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11904 _ACEOF
11909 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11910 case "x$with_v4l" in
11911 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11912 xno) ;;
11913 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11914 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11915 esac
11918 if test "x$with_gphoto" != "xno"
11919 then
11920 if ${GPHOTO2_CFLAGS:+false} :; then :
11921 if ${PKG_CONFIG+:} false; then :
11922 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11925 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
11926 if ${GPHOTO2_LIBS:+false} :; then :
11927 if ${PKG_CONFIG+:} false; then :
11928 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11931 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
11932 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11933 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11934 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11935 ac_save_CPPFLAGS=$CPPFLAGS
11936 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11937 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11938 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11940 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11941 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11942 $as_echo_n "(cached) " >&6
11943 else
11944 ac_check_lib_save_LIBS=$LIBS
11945 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11947 /* end confdefs.h. */
11949 /* Override any GCC internal prototype to avoid an error.
11950 Use char because int might match the return type of a GCC
11951 builtin and then its argument prototype would still apply. */
11952 #ifdef __cplusplus
11953 extern "C"
11954 #endif
11955 char gp_camera_new ();
11957 main ()
11959 return gp_camera_new ();
11961 return 0;
11963 _ACEOF
11964 if ac_fn_c_try_link "$LINENO"; then :
11965 ac_cv_lib_gphoto2_gp_camera_new=yes
11966 else
11967 ac_cv_lib_gphoto2_gp_camera_new=no
11969 rm -f core conftest.err conftest.$ac_objext \
11970 conftest$ac_exeext conftest.$ac_ext
11971 LIBS=$ac_check_lib_save_LIBS
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11974 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11975 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11977 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11979 else
11980 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11983 else
11984 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11988 CPPFLAGS=$ac_save_CPPFLAGS
11989 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11990 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11992 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11993 if ${PKG_CONFIG+:} false; then :
11994 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11997 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
11998 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11999 if ${PKG_CONFIG+:} false; then :
12000 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12003 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12004 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12005 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12006 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12007 ac_save_CPPFLAGS=$CPPFLAGS
12008 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12009 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12010 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12012 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12013 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12014 $as_echo_n "(cached) " >&6
12015 else
12016 ac_check_lib_save_LIBS=$LIBS
12017 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12019 /* end confdefs.h. */
12021 /* Override any GCC internal prototype to avoid an error.
12022 Use char because int might match the return type of a GCC
12023 builtin and then its argument prototype would still apply. */
12024 #ifdef __cplusplus
12025 extern "C"
12026 #endif
12027 char gp_port_info_list_new ();
12029 main ()
12031 return gp_port_info_list_new ();
12033 return 0;
12035 _ACEOF
12036 if ac_fn_c_try_link "$LINENO"; then :
12037 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12038 else
12039 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12041 rm -f core conftest.err conftest.$ac_objext \
12042 conftest$ac_exeext conftest.$ac_ext
12043 LIBS=$ac_check_lib_save_LIBS
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12046 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12047 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12049 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12051 else
12052 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12055 else
12056 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12060 CPPFLAGS=$ac_save_CPPFLAGS
12061 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12062 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12065 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12066 case "x$with_gphoto" in
12067 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12068 xno) ;;
12069 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12070 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12071 esac
12073 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12074 case "x$with_gphoto" in
12075 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12076 xno) ;;
12077 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12078 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12079 esac
12083 if test "$ac_cv_header_resolv_h" = "yes"
12084 then
12085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12086 $as_echo_n "checking for resolver library... " >&6; }
12087 if ${ac_cv_have_resolv+:} false; then :
12088 $as_echo_n "(cached) " >&6
12089 else
12090 ac_save_LIBS="$LIBS"
12091 for lib in '' -lresolv
12093 LIBS="$lib $ac_save_LIBS"
12094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12095 /* end confdefs.h. */
12096 #ifdef HAVE_NETINET_IN_H
12097 #include <netinet/in.h>
12098 #endif
12099 #include <resolv.h>
12101 main ()
12103 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12105 return 0;
12107 _ACEOF
12108 if ac_fn_c_try_link "$LINENO"; then :
12109 ac_cv_have_resolv=${lib:-"none required"}
12110 else
12111 ac_cv_have_resolv="not found"
12113 rm -f core conftest.err conftest.$ac_objext \
12114 conftest$ac_exeext conftest.$ac_ext
12115 test "x$ac_cv_have_resolv" = "xnot found" || break
12116 done
12117 LIBS="$ac_save_LIBS"
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12120 $as_echo "$ac_cv_have_resolv" >&6; }
12122 case "$ac_cv_have_resolv" in
12123 "not found") ;;
12124 "none required")
12126 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12129 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12131 RESOLV_LIBS=$ac_cv_have_resolv
12133 esac
12136 if test "x$with_cms" != "xno"
12137 then
12138 if ${LCMS2_CFLAGS:+false} :; then :
12139 if ${PKG_CONFIG+:} false; then :
12140 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12144 if ${LCMS2_LIBS:+false} :; then :
12145 if ${PKG_CONFIG+:} false; then :
12146 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12150 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12151 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12152 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12153 ac_save_CPPFLAGS=$CPPFLAGS
12154 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12155 for ac_header in lcms2.h
12156 do :
12157 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12158 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12159 cat >>confdefs.h <<_ACEOF
12160 #define HAVE_LCMS2_H 1
12161 _ACEOF
12165 done
12167 if test "$ac_cv_header_lcms2_h" = "yes"
12168 then
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12170 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12171 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12172 $as_echo_n "(cached) " >&6
12173 else
12174 ac_check_lib_save_LIBS=$LIBS
12175 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12177 /* end confdefs.h. */
12179 /* Override any GCC internal prototype to avoid an error.
12180 Use char because int might match the return type of a GCC
12181 builtin and then its argument prototype would still apply. */
12182 #ifdef __cplusplus
12183 extern "C"
12184 #endif
12185 char cmsOpenProfileFromFile ();
12187 main ()
12189 return cmsOpenProfileFromFile ();
12191 return 0;
12193 _ACEOF
12194 if ac_fn_c_try_link "$LINENO"; then :
12195 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12196 else
12197 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12199 rm -f core conftest.err conftest.$ac_objext \
12200 conftest$ac_exeext conftest.$ac_ext
12201 LIBS=$ac_check_lib_save_LIBS
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12204 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12205 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12207 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12209 else
12210 LCMS2_LIBS=""
12213 else
12214 LCMS2_CFLAGS=""
12215 LCMS2_LIBS=""
12217 CPPFLAGS=$ac_save_CPPFLAGS
12218 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12219 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12222 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12223 case "x$with_cms" in
12224 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12225 xno) ;;
12226 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12227 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12228 esac
12231 if test "x$with_freetype" != "xno"
12232 then
12233 if ${FREETYPE_CFLAGS:+false} :; then :
12234 if ${PKG_CONFIG+:} false; then :
12235 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12238 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12239 if ${FREETYPE_LIBS:+false} :; then :
12240 if ${PKG_CONFIG+:} false; then :
12241 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12244 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12245 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12246 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12247 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12248 ac_save_CPPFLAGS=$CPPFLAGS
12249 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12250 for ac_header in ft2build.h
12251 do :
12252 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12253 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12254 cat >>confdefs.h <<_ACEOF
12255 #define HAVE_FT2BUILD_H 1
12256 _ACEOF
12260 done
12262 if test "$ac_cv_header_ft2build_h" = "yes"
12263 then
12264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12265 $as_echo_n "checking for -lfreetype... " >&6; }
12266 if ${ac_cv_lib_soname_freetype+:} false; then :
12267 $as_echo_n "(cached) " >&6
12268 else
12269 ac_check_soname_save_LIBS=$LIBS
12270 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12272 /* end confdefs.h. */
12274 /* Override any GCC internal prototype to avoid an error.
12275 Use char because int might match the return type of a GCC
12276 builtin and then its argument prototype would still apply. */
12277 #ifdef __cplusplus
12278 extern "C"
12279 #endif
12280 char FT_Init_FreeType ();
12282 main ()
12284 return FT_Init_FreeType ();
12286 return 0;
12288 _ACEOF
12289 if ac_fn_c_try_link "$LINENO"; then :
12290 case "$LIBEXT" in
12291 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12292 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'` ;;
12293 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12294 if ${ac_cv_lib_soname_freetype:+false} :; then :
12295 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12296 fi ;;
12297 esac
12299 rm -f core conftest.err conftest.$ac_objext \
12300 conftest$ac_exeext conftest.$ac_ext
12301 LIBS=$ac_check_soname_save_LIBS
12303 if ${ac_cv_lib_soname_freetype:+false} :; then :
12304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12305 $as_echo "not found" >&6; }
12306 FREETYPE_LIBS=""
12307 else
12308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12309 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12311 cat >>confdefs.h <<_ACEOF
12312 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12313 _ACEOF
12316 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12318 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12319 #include FT_MODULE_H
12321 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12323 cat >>confdefs.h <<_ACEOF
12324 #define HAVE_FT_TRUETYPEENGINETYPE 1
12325 _ACEOF
12331 else
12332 FREETYPE_CFLAGS=""
12333 FREETYPE_LIBS=""
12335 CPPFLAGS=$ac_save_CPPFLAGS
12336 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12337 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12340 if test "x$ac_cv_lib_soname_freetype" = x; then :
12341 case "x$with_freetype" in
12342 xno) ;;
12343 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12344 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12345 esac
12347 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12350 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12351 if ${ac_cv_c_ppdev+:} false; then :
12352 $as_echo_n "(cached) " >&6
12353 else
12354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12355 /* end confdefs.h. */
12356 #ifdef HAVE_SYS_IOCTL_H
12357 # include <sys/ioctl.h>
12358 #endif
12359 #include <linux/ppdev.h>
12361 main ()
12363 ioctl (1,PPCLAIM,0)
12365 return 0;
12367 _ACEOF
12368 if ac_fn_c_try_compile "$LINENO"; then :
12369 ac_cv_c_ppdev="yes"
12370 else
12371 ac_cv_c_ppdev="no"
12373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12376 $as_echo "$ac_cv_c_ppdev" >&6; }
12377 if test "$ac_cv_c_ppdev" = "yes"
12378 then
12380 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12384 ac_wine_check_funcs_save_LIBS="$LIBS"
12385 LIBS="$LIBS $PTHREAD_LIBS"
12386 for ac_func in \
12387 pthread_attr_get_np \
12388 pthread_getattr_np \
12389 pthread_getthreadid_np \
12390 pthread_get_stackaddr_np \
12391 pthread_get_stacksize_np
12392 do :
12393 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12394 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12395 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12396 cat >>confdefs.h <<_ACEOF
12397 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12398 _ACEOF
12401 done
12403 LIBS="$ac_wine_check_funcs_save_LIBS"
12405 if test "$ac_cv_header_zlib_h" = "yes"
12406 then
12407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12408 $as_echo_n "checking for inflate in -lz... " >&6; }
12409 if ${ac_cv_lib_z_inflate+:} false; then :
12410 $as_echo_n "(cached) " >&6
12411 else
12412 ac_check_lib_save_LIBS=$LIBS
12413 LIBS="-lz $LIBS"
12414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12415 /* end confdefs.h. */
12417 /* Override any GCC internal prototype to avoid an error.
12418 Use char because int might match the return type of a GCC
12419 builtin and then its argument prototype would still apply. */
12420 #ifdef __cplusplus
12421 extern "C"
12422 #endif
12423 char inflate ();
12425 main ()
12427 return inflate ();
12429 return 0;
12431 _ACEOF
12432 if ac_fn_c_try_link "$LINENO"; then :
12433 ac_cv_lib_z_inflate=yes
12434 else
12435 ac_cv_lib_z_inflate=no
12437 rm -f core conftest.err conftest.$ac_objext \
12438 conftest$ac_exeext conftest.$ac_ext
12439 LIBS=$ac_check_lib_save_LIBS
12441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12442 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12443 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12445 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12447 Z_LIBS="-lz"
12452 if test "x$Z_LIBS" = "x"; then :
12453 case "x$with_zlib" in
12454 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12455 xno) ;;
12456 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12457 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12458 esac
12461 if test "x$enable_tools" != xno
12462 then
12463 if test "$ac_cv_header_gettext_po_h" = "yes"
12464 then
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12466 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12467 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12468 $as_echo_n "(cached) " >&6
12469 else
12470 ac_check_lib_save_LIBS=$LIBS
12471 LIBS="-lgettextpo $LIBS"
12472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12473 /* end confdefs.h. */
12475 /* Override any GCC internal prototype to avoid an error.
12476 Use char because int might match the return type of a GCC
12477 builtin and then its argument prototype would still apply. */
12478 #ifdef __cplusplus
12479 extern "C"
12480 #endif
12481 char po_message_msgctxt ();
12483 main ()
12485 return po_message_msgctxt ();
12487 return 0;
12489 _ACEOF
12490 if ac_fn_c_try_link "$LINENO"; then :
12491 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12492 else
12493 ac_cv_lib_gettextpo_po_message_msgctxt=no
12495 rm -f core conftest.err conftest.$ac_objext \
12496 conftest$ac_exeext conftest.$ac_ext
12497 LIBS=$ac_check_lib_save_LIBS
12499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12500 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12501 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12503 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12505 GETTEXTPO_LIBS="-lgettextpo"
12510 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12511 case "x$with_gettextpo" in
12512 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12513 xno) ;;
12514 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12515 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12516 esac
12520 if test "x$with_pulse" != "xno";
12521 then
12522 if ${PULSE_CFLAGS:+false} :; then :
12523 if ${PKG_CONFIG+:} false; then :
12524 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12528 if ${PULSE_LIBS:+false} :; then :
12529 if ${PKG_CONFIG+:} false; then :
12530 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12535 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12536 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12537 ac_save_CPPFLAGS=$CPPFLAGS
12538 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12539 for ac_header in pulse/pulseaudio.h
12540 do :
12541 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12542 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12543 cat >>confdefs.h <<_ACEOF
12544 #define HAVE_PULSE_PULSEAUDIO_H 1
12545 _ACEOF
12546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12547 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12548 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12549 $as_echo_n "(cached) " >&6
12550 else
12551 ac_check_lib_save_LIBS=$LIBS
12552 LIBS="-lpulse $PULSE_LIBS $LIBS"
12553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12554 /* end confdefs.h. */
12556 /* Override any GCC internal prototype to avoid an error.
12557 Use char because int might match the return type of a GCC
12558 builtin and then its argument prototype would still apply. */
12559 #ifdef __cplusplus
12560 extern "C"
12561 #endif
12562 char pa_stream_is_corked ();
12564 main ()
12566 return pa_stream_is_corked ();
12568 return 0;
12570 _ACEOF
12571 if ac_fn_c_try_link "$LINENO"; then :
12572 ac_cv_lib_pulse_pa_stream_is_corked=yes
12573 else
12574 ac_cv_lib_pulse_pa_stream_is_corked=no
12576 rm -f core conftest.err conftest.$ac_objext \
12577 conftest$ac_exeext conftest.$ac_ext
12578 LIBS=$ac_check_lib_save_LIBS
12580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12581 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12582 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12584 else
12585 PULSE_LIBS=""
12588 else
12589 PULSE_LIBS=""
12592 done
12594 CPPFLAGS=$ac_save_CPPFLAGS
12595 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12596 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12599 if test -z "$PULSE_LIBS"; then :
12600 case "x$with_pulse" in
12601 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12602 xno) ;;
12603 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12604 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12605 esac
12607 test -n "$PULSE_LIBS" || enable_winepulse_drv=${enable_winepulse_drv:-no}
12609 if test "x$with_gstreamer" != "xno"
12610 then
12611 if ${GSTREAMER_CFLAGS:+false} :; then :
12612 if ${PKG_CONFIG+:} false; then :
12613 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12617 if ${GSTREAMER_LIBS:+false} :; then :
12618 if ${PKG_CONFIG+:} false; then :
12619 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12624 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12625 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12626 ac_save_CPPFLAGS=$CPPFLAGS
12627 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12628 ac_gst_incl=""
12629 for i in $GSTREAMER_CFLAGS
12631 case "$i" in
12632 -I*) ac_gst_incl="$ac_gst_incl $i";;
12633 esac
12634 done
12635 GSTREAMER_CFLAGS=$ac_gst_incl
12636 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12637 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12638 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12639 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12640 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12642 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12644 /* end confdefs.h. */
12645 #include <gst/gst.h>
12647 main ()
12649 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12651 return 0;
12653 _ACEOF
12654 if ac_fn_c_try_compile "$LINENO"; then :
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12656 $as_echo "yes" >&6; }
12657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12658 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12659 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12660 $as_echo_n "(cached) " >&6
12661 else
12662 ac_check_lib_save_LIBS=$LIBS
12663 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12665 /* end confdefs.h. */
12667 /* Override any GCC internal prototype to avoid an error.
12668 Use char because int might match the return type of a GCC
12669 builtin and then its argument prototype would still apply. */
12670 #ifdef __cplusplus
12671 extern "C"
12672 #endif
12673 char gst_pad_new ();
12675 main ()
12677 return gst_pad_new ();
12679 return 0;
12681 _ACEOF
12682 if ac_fn_c_try_link "$LINENO"; then :
12683 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12684 else
12685 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12687 rm -f core conftest.err conftest.$ac_objext \
12688 conftest$ac_exeext conftest.$ac_ext
12689 LIBS=$ac_check_lib_save_LIBS
12691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12692 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12693 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12697 else
12698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12699 $as_echo "no" >&6; }
12701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12705 else
12706 GSTREAMER_CFLAGS=""
12710 CPPFLAGS=$ac_save_CPPFLAGS
12711 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12712 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12715 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12716 case "x$with_gstreamer" in
12717 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12718 xno) ;;
12719 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12720 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12721 esac
12723 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12725 ALSA_LIBS=""
12727 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12728 then
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12730 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12731 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12732 $as_echo_n "(cached) " >&6
12733 else
12734 ac_check_lib_save_LIBS=$LIBS
12735 LIBS="-lasound $LIBS"
12736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12737 /* end confdefs.h. */
12739 /* Override any GCC internal prototype to avoid an error.
12740 Use char because int might match the return type of a GCC
12741 builtin and then its argument prototype would still apply. */
12742 #ifdef __cplusplus
12743 extern "C"
12744 #endif
12745 char snd_pcm_hw_params_get_access_mask ();
12747 main ()
12749 return snd_pcm_hw_params_get_access_mask ();
12751 return 0;
12753 _ACEOF
12754 if ac_fn_c_try_link "$LINENO"; then :
12755 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12756 else
12757 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12759 rm -f core conftest.err conftest.$ac_objext \
12760 conftest$ac_exeext conftest.$ac_ext
12761 LIBS=$ac_check_lib_save_LIBS
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12764 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12765 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12767 /* end confdefs.h. */
12768 #ifdef HAVE_ALSA_ASOUNDLIB_H
12769 #include <alsa/asoundlib.h>
12770 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12771 #include <sys/asoundlib.h>
12772 #endif
12774 main ()
12776 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12778 return 0;
12780 _ACEOF
12781 if ac_fn_c_try_compile "$LINENO"; then :
12782 ALSA_LIBS="-lasound"
12784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12788 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12790 if test "x$with_oss" != xno
12791 then
12792 ac_save_CPPFLAGS="$CPPFLAGS"
12793 if test -f /etc/oss.conf
12794 then
12795 . /etc/oss.conf
12797 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12798 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12799 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12800 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12801 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12803 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12805 cat >>confdefs.h <<_ACEOF
12806 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12807 _ACEOF
12809 OSS4_CFLAGS="$ac_oss_incl"
12816 CPPFLAGS="$ac_save_CPPFLAGS"
12817 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12818 then
12819 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12822 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
12824 if test "x$with_capi" != "xno"
12825 then
12826 if ${CAPI20_CFLAGS:+false} :; then :
12827 if ${PKG_CONFIG+:} false; then :
12828 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12832 if ${CAPI20_LIBS:+false} :; then :
12833 if ${PKG_CONFIG+:} false; then :
12834 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12839 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12840 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12841 ac_save_CPPFLAGS=$CPPFLAGS
12842 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12843 for ac_header in capi20.h linux/capi.h
12844 do :
12845 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12846 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12848 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12849 cat >>confdefs.h <<_ACEOF
12850 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12851 _ACEOF
12855 done
12857 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12858 then
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12860 $as_echo_n "checking for -lcapi20... " >&6; }
12861 if ${ac_cv_lib_soname_capi20+:} false; then :
12862 $as_echo_n "(cached) " >&6
12863 else
12864 ac_check_soname_save_LIBS=$LIBS
12865 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12867 /* end confdefs.h. */
12869 /* Override any GCC internal prototype to avoid an error.
12870 Use char because int might match the return type of a GCC
12871 builtin and then its argument prototype would still apply. */
12872 #ifdef __cplusplus
12873 extern "C"
12874 #endif
12875 char capi20_register ();
12877 main ()
12879 return capi20_register ();
12881 return 0;
12883 _ACEOF
12884 if ac_fn_c_try_link "$LINENO"; then :
12885 case "$LIBEXT" in
12886 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12887 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'` ;;
12888 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12889 if ${ac_cv_lib_soname_capi20:+false} :; then :
12890 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12891 fi ;;
12892 esac
12894 rm -f core conftest.err conftest.$ac_objext \
12895 conftest$ac_exeext conftest.$ac_ext
12896 LIBS=$ac_check_soname_save_LIBS
12898 if ${ac_cv_lib_soname_capi20:+false} :; then :
12899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12900 $as_echo "not found" >&6; }
12902 else
12903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12904 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12906 cat >>confdefs.h <<_ACEOF
12907 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12908 _ACEOF
12913 CPPFLAGS=$ac_save_CPPFLAGS
12914 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12915 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12918 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12919 case "x$with_capi" in
12920 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12921 xno) ;;
12922 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12923 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12924 esac
12927 CUPS_CFLAGS=""
12929 if test "x$with_cups" != "xno"
12930 then
12931 ac_save_CPPFLAGS="$CPPFLAGS"
12932 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
12933 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
12934 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12935 for ac_header in cups/cups.h
12936 do :
12937 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12938 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12939 cat >>confdefs.h <<_ACEOF
12940 #define HAVE_CUPS_CUPS_H 1
12941 _ACEOF
12942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12943 $as_echo_n "checking for -lcups... " >&6; }
12944 if ${ac_cv_lib_soname_cups+:} false; then :
12945 $as_echo_n "(cached) " >&6
12946 else
12947 ac_check_soname_save_LIBS=$LIBS
12948 LIBS="-lcups $ac_cups_libs $LIBS"
12949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12950 /* end confdefs.h. */
12952 /* Override any GCC internal prototype to avoid an error.
12953 Use char because int might match the return type of a GCC
12954 builtin and then its argument prototype would still apply. */
12955 #ifdef __cplusplus
12956 extern "C"
12957 #endif
12958 char cupsGetDefault ();
12960 main ()
12962 return cupsGetDefault ();
12964 return 0;
12966 _ACEOF
12967 if ac_fn_c_try_link "$LINENO"; then :
12968 case "$LIBEXT" in
12969 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12970 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'` ;;
12971 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12972 if ${ac_cv_lib_soname_cups:+false} :; then :
12973 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12974 fi ;;
12975 esac
12977 rm -f core conftest.err conftest.$ac_objext \
12978 conftest$ac_exeext conftest.$ac_ext
12979 LIBS=$ac_check_soname_save_LIBS
12981 if ${ac_cv_lib_soname_cups:+false} :; then :
12982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12983 $as_echo "not found" >&6; }
12985 else
12986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12987 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12989 cat >>confdefs.h <<_ACEOF
12990 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12991 _ACEOF
12993 CUPS_CFLAGS="$ac_cups_cflags"
12997 done
12999 CPPFLAGS="$ac_save_CPPFLAGS"
13001 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13002 case "x$with_cups" in
13003 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13004 xno) ;;
13005 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13006 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13007 esac
13010 if test "x$with_fontconfig" != "xno"
13011 then
13012 if ${FONTCONFIG_CFLAGS:+false} :; then :
13013 if ${PKG_CONFIG+:} false; then :
13014 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13017 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13018 if ${FONTCONFIG_LIBS:+false} :; then :
13019 if ${PKG_CONFIG+:} false; then :
13020 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13023 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13025 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13026 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13027 ac_save_CPPFLAGS=$CPPFLAGS
13028 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13029 for ac_header in fontconfig/fontconfig.h
13030 do :
13031 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13032 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13033 cat >>confdefs.h <<_ACEOF
13034 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13035 _ACEOF
13039 done
13041 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13042 then
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13044 $as_echo_n "checking for -lfontconfig... " >&6; }
13045 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13046 $as_echo_n "(cached) " >&6
13047 else
13048 ac_check_soname_save_LIBS=$LIBS
13049 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13051 /* end confdefs.h. */
13053 /* Override any GCC internal prototype to avoid an error.
13054 Use char because int might match the return type of a GCC
13055 builtin and then its argument prototype would still apply. */
13056 #ifdef __cplusplus
13057 extern "C"
13058 #endif
13059 char FcInit ();
13061 main ()
13063 return FcInit ();
13065 return 0;
13067 _ACEOF
13068 if ac_fn_c_try_link "$LINENO"; then :
13069 case "$LIBEXT" in
13070 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13071 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'` ;;
13072 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13073 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13074 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13075 fi ;;
13076 esac
13078 rm -f core conftest.err conftest.$ac_objext \
13079 conftest$ac_exeext conftest.$ac_ext
13080 LIBS=$ac_check_soname_save_LIBS
13082 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13084 $as_echo "not found" >&6; }
13085 FONTCONFIG_CFLAGS=""
13086 else
13087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13088 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13090 cat >>confdefs.h <<_ACEOF
13091 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13092 _ACEOF
13096 else
13097 FONTCONFIG_CFLAGS=""
13099 CPPFLAGS=$ac_save_CPPFLAGS
13100 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13101 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13104 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13105 case "x$with_fontconfig" in
13106 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13107 xno) ;;
13108 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13109 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13110 esac
13113 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13114 then
13115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13116 $as_echo_n "checking for -lgsm... " >&6; }
13117 if ${ac_cv_lib_soname_gsm+:} false; then :
13118 $as_echo_n "(cached) " >&6
13119 else
13120 ac_check_soname_save_LIBS=$LIBS
13121 LIBS="-lgsm $LIBS"
13122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13123 /* end confdefs.h. */
13125 /* Override any GCC internal prototype to avoid an error.
13126 Use char because int might match the return type of a GCC
13127 builtin and then its argument prototype would still apply. */
13128 #ifdef __cplusplus
13129 extern "C"
13130 #endif
13131 char gsm_create ();
13133 main ()
13135 return gsm_create ();
13137 return 0;
13139 _ACEOF
13140 if ac_fn_c_try_link "$LINENO"; then :
13141 case "$LIBEXT" in
13142 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13143 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'` ;;
13144 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13145 if ${ac_cv_lib_soname_gsm:+false} :; then :
13146 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13147 fi ;;
13148 esac
13150 rm -f core conftest.err conftest.$ac_objext \
13151 conftest$ac_exeext conftest.$ac_ext
13152 LIBS=$ac_check_soname_save_LIBS
13154 if ${ac_cv_lib_soname_gsm:+false} :; then :
13155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13156 $as_echo "not found" >&6; }
13158 else
13159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13160 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13162 cat >>confdefs.h <<_ACEOF
13163 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13164 _ACEOF
13169 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13170 case "x$with_gsm" in
13171 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13172 xno) ;;
13173 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13174 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13175 esac
13178 if test "x$with_jpeg" != "xno"
13179 then
13180 if ${JPEG_CFLAGS:+false} :; then :
13181 if ${PKG_CONFIG+:} false; then :
13182 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13186 if ${JPEG_LIBS:+false} :; then :
13187 if ${PKG_CONFIG+:} false; then :
13188 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13193 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13194 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13195 ac_save_CPPFLAGS=$CPPFLAGS
13196 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13197 for ac_header in jpeglib.h
13198 do :
13199 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13200 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13201 cat >>confdefs.h <<_ACEOF
13202 #define HAVE_JPEGLIB_H 1
13203 _ACEOF
13207 done
13209 if test "$ac_cv_header_jpeglib_h" = "yes"
13210 then
13211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13212 $as_echo_n "checking for -ljpeg... " >&6; }
13213 if ${ac_cv_lib_soname_jpeg+:} false; then :
13214 $as_echo_n "(cached) " >&6
13215 else
13216 ac_check_soname_save_LIBS=$LIBS
13217 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13219 /* end confdefs.h. */
13221 /* Override any GCC internal prototype to avoid an error.
13222 Use char because int might match the return type of a GCC
13223 builtin and then its argument prototype would still apply. */
13224 #ifdef __cplusplus
13225 extern "C"
13226 #endif
13227 char jpeg_start_decompress ();
13229 main ()
13231 return jpeg_start_decompress ();
13233 return 0;
13235 _ACEOF
13236 if ac_fn_c_try_link "$LINENO"; then :
13237 case "$LIBEXT" in
13238 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13239 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'` ;;
13240 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13241 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13242 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13243 fi ;;
13244 esac
13246 rm -f core conftest.err conftest.$ac_objext \
13247 conftest$ac_exeext conftest.$ac_ext
13248 LIBS=$ac_check_soname_save_LIBS
13250 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13252 $as_echo "not found" >&6; }
13253 JPEG_CFLAGS=""
13254 else
13255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13256 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13258 cat >>confdefs.h <<_ACEOF
13259 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13260 _ACEOF
13264 else
13265 JPEG_CFLAGS=""
13267 CPPFLAGS=$ac_save_CPPFLAGS
13268 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13269 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13272 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13273 case "x$with_jpeg" in
13274 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13275 xno) ;;
13276 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13277 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13278 esac
13281 if test "x$with_png" != "xno"
13282 then
13283 if ${PNG_CFLAGS:+false} :; then :
13284 if ${PKG_CONFIG+:} false; then :
13285 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13288 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13289 if ${PNG_LIBS:+false} :; then :
13290 if ${PKG_CONFIG+:} false; then :
13291 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13294 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13296 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13297 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13298 ac_save_CPPFLAGS=$CPPFLAGS
13299 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13300 for ac_header in png.h
13301 do :
13302 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13303 if test "x$ac_cv_header_png_h" = xyes; then :
13304 cat >>confdefs.h <<_ACEOF
13305 #define HAVE_PNG_H 1
13306 _ACEOF
13310 done
13312 if test "$ac_cv_header_png_h" = "yes"
13313 then
13314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13315 $as_echo_n "checking for -lpng... " >&6; }
13316 if ${ac_cv_lib_soname_png+:} false; then :
13317 $as_echo_n "(cached) " >&6
13318 else
13319 ac_check_soname_save_LIBS=$LIBS
13320 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13322 /* end confdefs.h. */
13324 /* Override any GCC internal prototype to avoid an error.
13325 Use char because int might match the return type of a GCC
13326 builtin and then its argument prototype would still apply. */
13327 #ifdef __cplusplus
13328 extern "C"
13329 #endif
13330 char png_create_read_struct ();
13332 main ()
13334 return png_create_read_struct ();
13336 return 0;
13338 _ACEOF
13339 if ac_fn_c_try_link "$LINENO"; then :
13340 case "$LIBEXT" in
13341 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13342 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'` ;;
13343 *) 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'`
13344 if ${ac_cv_lib_soname_png:+false} :; then :
13345 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13346 fi ;;
13347 esac
13349 rm -f core conftest.err conftest.$ac_objext \
13350 conftest$ac_exeext conftest.$ac_ext
13351 LIBS=$ac_check_soname_save_LIBS
13353 if ${ac_cv_lib_soname_png:+false} :; then :
13354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13355 $as_echo "not found" >&6; }
13356 PNG_CFLAGS=""
13357 else
13358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13359 $as_echo "$ac_cv_lib_soname_png" >&6; }
13361 cat >>confdefs.h <<_ACEOF
13362 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13363 _ACEOF
13365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13366 /* end confdefs.h. */
13367 #include <png.h>
13369 main ()
13371 typeof(png_set_expand_gray_1_2_4_to_8) *p
13373 return 0;
13375 _ACEOF
13376 if ac_fn_c_try_compile "$LINENO"; then :
13378 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13383 else
13384 PNG_CFLAGS=""
13386 CPPFLAGS=$ac_save_CPPFLAGS
13387 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13388 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13391 if test "x$ac_cv_lib_soname_png" = "x"; then :
13392 case "x$with_png" in
13393 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13394 xno) ;;
13395 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13396 This is an error since --with-png was requested." "$LINENO" 5 ;;
13397 esac
13400 if test "x$with_tiff" != "xno"
13401 then
13402 if ${TIFF_CFLAGS:+false} :; then :
13403 if ${PKG_CONFIG+:} false; then :
13404 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13408 if ${TIFF_LIBS:+false} :; then :
13409 if ${PKG_CONFIG+:} false; then :
13410 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13415 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13416 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13417 ac_save_CPPFLAGS=$CPPFLAGS
13418 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13419 for ac_header in tiffio.h
13420 do :
13421 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13422 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13423 cat >>confdefs.h <<_ACEOF
13424 #define HAVE_TIFFIO_H 1
13425 _ACEOF
13429 done
13431 if test "$ac_cv_header_tiffio_h" = "yes"
13432 then
13433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13434 $as_echo_n "checking for -ltiff... " >&6; }
13435 if ${ac_cv_lib_soname_tiff+:} false; then :
13436 $as_echo_n "(cached) " >&6
13437 else
13438 ac_check_soname_save_LIBS=$LIBS
13439 LIBS="-ltiff $TIFF_LIBS $LIBS"
13440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13441 /* end confdefs.h. */
13443 /* Override any GCC internal prototype to avoid an error.
13444 Use char because int might match the return type of a GCC
13445 builtin and then its argument prototype would still apply. */
13446 #ifdef __cplusplus
13447 extern "C"
13448 #endif
13449 char TIFFClientOpen ();
13451 main ()
13453 return TIFFClientOpen ();
13455 return 0;
13457 _ACEOF
13458 if ac_fn_c_try_link "$LINENO"; then :
13459 case "$LIBEXT" in
13460 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13461 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'` ;;
13462 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13463 if ${ac_cv_lib_soname_tiff:+false} :; then :
13464 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13465 fi ;;
13466 esac
13468 rm -f core conftest.err conftest.$ac_objext \
13469 conftest$ac_exeext conftest.$ac_ext
13470 LIBS=$ac_check_soname_save_LIBS
13472 if ${ac_cv_lib_soname_tiff:+false} :; then :
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13474 $as_echo "not found" >&6; }
13476 else
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13478 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13480 cat >>confdefs.h <<_ACEOF
13481 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13482 _ACEOF
13487 CPPFLAGS=$ac_save_CPPFLAGS
13488 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13489 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13492 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13493 case "x$with_tiff" in
13494 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13495 xno) ;;
13496 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13497 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13498 esac
13501 if test "x$with_mpg123" != "xno"
13502 then
13503 if ${MPG123_CFLAGS:+false} :; then :
13504 if ${PKG_CONFIG+:} false; then :
13505 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13509 if ${MPG123_LIBS:+false} :; then :
13510 if ${PKG_CONFIG+:} false; then :
13511 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13515 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13516 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13517 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13518 ac_save_CPPFLAGS=$CPPFLAGS
13519 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13520 for ac_header in mpg123.h
13521 do :
13522 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13523 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13524 cat >>confdefs.h <<_ACEOF
13525 #define HAVE_MPG123_H 1
13526 _ACEOF
13530 done
13532 if test "$ac_cv_header_mpg123_h" = "yes"
13533 then
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13535 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13536 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13537 $as_echo_n "(cached) " >&6
13538 else
13539 ac_check_lib_save_LIBS=$LIBS
13540 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13542 /* end confdefs.h. */
13544 /* Override any GCC internal prototype to avoid an error.
13545 Use char because int might match the return type of a GCC
13546 builtin and then its argument prototype would still apply. */
13547 #ifdef __cplusplus
13548 extern "C"
13549 #endif
13550 char mpg123_feed ();
13552 main ()
13554 return mpg123_feed ();
13556 return 0;
13558 _ACEOF
13559 if ac_fn_c_try_link "$LINENO"; then :
13560 ac_cv_lib_mpg123_mpg123_feed=yes
13561 else
13562 ac_cv_lib_mpg123_mpg123_feed=no
13564 rm -f core conftest.err conftest.$ac_objext \
13565 conftest$ac_exeext conftest.$ac_ext
13566 LIBS=$ac_check_lib_save_LIBS
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13569 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13570 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13572 else
13573 MPG123_LIBS=""
13576 else
13577 MPG123_CFLAGS=""
13578 MPG123_LIBS=""
13580 CPPFLAGS=$ac_save_CPPFLAGS
13581 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13582 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13585 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13586 case "x$with_mpg123" in
13587 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13588 xno) ;;
13589 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13590 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13591 esac
13593 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}
13595 if test "$ac_cv_header_AL_al_h" = "yes"
13596 then
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13598 $as_echo_n "checking for -lopenal... " >&6; }
13599 if ${ac_cv_lib_soname_openal+:} false; then :
13600 $as_echo_n "(cached) " >&6
13601 else
13602 ac_check_soname_save_LIBS=$LIBS
13603 LIBS="-lopenal $LIBS"
13604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13605 /* end confdefs.h. */
13607 /* Override any GCC internal prototype to avoid an error.
13608 Use char because int might match the return type of a GCC
13609 builtin and then its argument prototype would still apply. */
13610 #ifdef __cplusplus
13611 extern "C"
13612 #endif
13613 char alGetSource3i ();
13615 main ()
13617 return alGetSource3i ();
13619 return 0;
13621 _ACEOF
13622 if ac_fn_c_try_link "$LINENO"; then :
13623 case "$LIBEXT" in
13624 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13625 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'` ;;
13626 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13627 if ${ac_cv_lib_soname_openal:+false} :; then :
13628 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13629 fi ;;
13630 esac
13632 rm -f core conftest.err conftest.$ac_objext \
13633 conftest$ac_exeext conftest.$ac_ext
13634 LIBS=$ac_check_soname_save_LIBS
13636 if ${ac_cv_lib_soname_openal:+false} :; then :
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13638 $as_echo "not found" >&6; }
13640 else
13641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13642 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13644 cat >>confdefs.h <<_ACEOF
13645 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13646 _ACEOF
13648 OPENAL_LIBS="-lopenal"
13650 ac_cv_lib_openal=yes
13652 cat >>confdefs.h <<_ACEOF
13653 #define HAVE_OPENAL 1
13654 _ACEOF
13658 if test "x$ac_cv_lib_openal" != xyes; then :
13659 case "x$with_openal" in
13660 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13661 xno) ;;
13662 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13663 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13664 esac
13666 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13668 if test "x$ac_cv_lib_openal" = xyes
13669 then
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13671 $as_echo_n "checking for openal-soft... " >&6; }
13672 if ${ac_cv_have_openalsoft+:} false; then :
13673 $as_echo_n "(cached) " >&6
13674 else
13675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13676 /* end confdefs.h. */
13677 #include <AL/al.h>
13678 #include <AL/alc.h>
13679 #include <AL/alext.h>
13680 LPALCRENDERSAMPLESSOFT x;
13682 main ()
13686 return 0;
13688 _ACEOF
13689 if ac_fn_c_try_compile "$LINENO"; then :
13690 ac_cv_have_openalsoft=yes
13691 else
13692 ac_cv_have_openalsoft=no
13694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13697 $as_echo "$ac_cv_have_openalsoft" >&6; }
13699 if test "x$ac_cv_have_openalsoft" != xyes
13700 then
13701 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13702 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13703 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13704 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13705 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13706 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13707 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13708 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13709 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13710 enable_xapofx1_1=${enable_xapofx1_1:-no}
13711 enable_xapofx1_2=${enable_xapofx1_2:-no}
13712 enable_xapofx1_3=${enable_xapofx1_3:-no}
13713 enable_xapofx1_4=${enable_xapofx1_4:-no}
13714 enable_xapofx1_5=${enable_xapofx1_5:-no}
13715 enable_xaudio2_0=${enable_xaudio2_0:-no}
13716 enable_xaudio2_1=${enable_xaudio2_1:-no}
13717 enable_xaudio2_2=${enable_xaudio2_2:-no}
13718 enable_xaudio2_3=${enable_xaudio2_3:-no}
13719 enable_xaudio2_4=${enable_xaudio2_4:-no}
13720 enable_xaudio2_5=${enable_xaudio2_5:-no}
13721 enable_xaudio2_6=${enable_xaudio2_6:-no}
13722 enable_xaudio2_7=${enable_xaudio2_7:-no}
13723 enable_xaudio2_8=${enable_xaudio2_8:-no}
13724 enable_xaudio2_9=${enable_xaudio2_9:-no}
13727 if test "$ac_cv_header_kstat_h" = "yes"
13728 then
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13730 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13731 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13732 $as_echo_n "(cached) " >&6
13733 else
13734 ac_check_lib_save_LIBS=$LIBS
13735 LIBS="-lkstat $LIBS"
13736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13737 /* end confdefs.h. */
13739 /* Override any GCC internal prototype to avoid an error.
13740 Use char because int might match the return type of a GCC
13741 builtin and then its argument prototype would still apply. */
13742 #ifdef __cplusplus
13743 extern "C"
13744 #endif
13745 char kstat_open ();
13747 main ()
13749 return kstat_open ();
13751 return 0;
13753 _ACEOF
13754 if ac_fn_c_try_link "$LINENO"; then :
13755 ac_cv_lib_kstat_kstat_open=yes
13756 else
13757 ac_cv_lib_kstat_kstat_open=no
13759 rm -f core conftest.err conftest.$ac_objext \
13760 conftest$ac_exeext conftest.$ac_ext
13761 LIBS=$ac_check_lib_save_LIBS
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13764 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13765 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13767 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13769 KSTAT_LIBS="-lkstat"
13775 if test "$ac_cv_header_libprocstat_h" = "yes"
13776 then
13777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13778 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13779 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13780 $as_echo_n "(cached) " >&6
13781 else
13782 ac_check_lib_save_LIBS=$LIBS
13783 LIBS="-lprocstat $LIBS"
13784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13785 /* end confdefs.h. */
13787 /* Override any GCC internal prototype to avoid an error.
13788 Use char because int might match the return type of a GCC
13789 builtin and then its argument prototype would still apply. */
13790 #ifdef __cplusplus
13791 extern "C"
13792 #endif
13793 char procstat_open_sysctl ();
13795 main ()
13797 return procstat_open_sysctl ();
13799 return 0;
13801 _ACEOF
13802 if ac_fn_c_try_link "$LINENO"; then :
13803 ac_cv_lib_procstat_procstat_open_sysctl=yes
13804 else
13805 ac_cv_lib_procstat_procstat_open_sysctl=no
13807 rm -f core conftest.err conftest.$ac_objext \
13808 conftest$ac_exeext conftest.$ac_ext
13809 LIBS=$ac_check_lib_save_LIBS
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13812 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13813 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13815 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13817 PROCSTAT_LIBS="-lprocstat"
13823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13824 $as_echo_n "checking for -lodbc... " >&6; }
13825 if ${ac_cv_lib_soname_odbc+:} false; then :
13826 $as_echo_n "(cached) " >&6
13827 else
13828 ac_check_soname_save_LIBS=$LIBS
13829 LIBS="-lodbc $LIBS"
13830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13831 /* end confdefs.h. */
13833 /* Override any GCC internal prototype to avoid an error.
13834 Use char because int might match the return type of a GCC
13835 builtin and then its argument prototype would still apply. */
13836 #ifdef __cplusplus
13837 extern "C"
13838 #endif
13839 char SQLConnect ();
13841 main ()
13843 return SQLConnect ();
13845 return 0;
13847 _ACEOF
13848 if ac_fn_c_try_link "$LINENO"; then :
13849 case "$LIBEXT" in
13850 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13851 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'` ;;
13852 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13853 if ${ac_cv_lib_soname_odbc:+false} :; then :
13854 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13855 fi ;;
13856 esac
13858 rm -f core conftest.err conftest.$ac_objext \
13859 conftest$ac_exeext conftest.$ac_ext
13860 LIBS=$ac_check_soname_save_LIBS
13862 if ${ac_cv_lib_soname_odbc:+false} :; then :
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13864 $as_echo "not found" >&6; }
13865 cat >>confdefs.h <<_ACEOF
13866 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13867 _ACEOF
13869 else
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13871 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13873 cat >>confdefs.h <<_ACEOF
13874 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13875 _ACEOF
13880 if test "x$with_netapi" != "xno"
13881 then
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13883 $as_echo_n "checking for -lnetapi... " >&6; }
13884 if ${ac_cv_lib_soname_netapi+:} false; then :
13885 $as_echo_n "(cached) " >&6
13886 else
13887 ac_check_soname_save_LIBS=$LIBS
13888 LIBS="-lnetapi $LIBS"
13889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13890 /* end confdefs.h. */
13892 /* Override any GCC internal prototype to avoid an error.
13893 Use char because int might match the return type of a GCC
13894 builtin and then its argument prototype would still apply. */
13895 #ifdef __cplusplus
13896 extern "C"
13897 #endif
13898 char libnetapi_init ();
13900 main ()
13902 return libnetapi_init ();
13904 return 0;
13906 _ACEOF
13907 if ac_fn_c_try_link "$LINENO"; then :
13908 case "$LIBEXT" in
13909 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13910 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'` ;;
13911 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13912 if ${ac_cv_lib_soname_netapi:+false} :; then :
13913 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13914 fi ;;
13915 esac
13917 rm -f core conftest.err conftest.$ac_objext \
13918 conftest$ac_exeext conftest.$ac_ext
13919 LIBS=$ac_check_soname_save_LIBS
13921 if ${ac_cv_lib_soname_netapi:+false} :; then :
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13923 $as_echo "not found" >&6; }
13924 cat >>confdefs.h <<_ACEOF
13925 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13926 _ACEOF
13928 else
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13930 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13932 cat >>confdefs.h <<_ACEOF
13933 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13934 _ACEOF
13940 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
13941 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
13942 then
13943 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13947 EXTRACFLAGS=""
13949 if test "x${GCC}" = "xyes"
13950 then
13951 EXTRACFLAGS="-Wall -pipe"
13953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13954 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13955 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13956 $as_echo_n "(cached) " >&6
13957 else
13958 if test "$cross_compiling" = yes; then :
13959 ac_cv_c_gcc_strength_bug="no"
13960 else
13961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13962 /* end confdefs.h. */
13963 int L[4] = {0,1,2,3};
13965 main ()
13967 static int Array[3];
13968 unsigned int B = 3;
13969 int i;
13970 for(i=0; i<B; i++) Array[i] = i - 3;
13971 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13972 L[i] = 4;
13973 return (Array[1] != -2 || L[2] != 3)
13975 return 0;
13977 _ACEOF
13978 if ac_fn_c_try_run "$LINENO"; then :
13979 ac_cv_c_gcc_strength_bug="no"
13980 else
13981 ac_cv_c_gcc_strength_bug="yes"
13983 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13984 conftest.$ac_objext conftest.beam conftest.$ac_ext
13988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13989 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13990 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13991 then
13992 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13996 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13997 if ${ac_cv_cflags__fno_builtin+:} false; then :
13998 $as_echo_n "(cached) " >&6
13999 else
14000 ac_wine_try_cflags_saved=$CFLAGS
14001 CFLAGS="$CFLAGS -fno-builtin"
14002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14003 /* end confdefs.h. */
14004 int main(int argc, char **argv) { return 0; }
14005 _ACEOF
14006 if ac_fn_c_try_link "$LINENO"; then :
14007 ac_cv_cflags__fno_builtin=yes
14008 else
14009 ac_cv_cflags__fno_builtin=no
14011 rm -f core conftest.err conftest.$ac_objext \
14012 conftest$ac_exeext conftest.$ac_ext
14013 CFLAGS=$ac_wine_try_cflags_saved
14015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14016 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14017 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14018 BUILTINFLAG="-fno-builtin"
14021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14022 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14023 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14024 $as_echo_n "(cached) " >&6
14025 else
14026 ac_wine_try_cflags_saved=$CFLAGS
14027 CFLAGS="$CFLAGS -fno-strict-aliasing"
14028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14029 /* end confdefs.h. */
14030 int main(int argc, char **argv) { return 0; }
14031 _ACEOF
14032 if ac_fn_c_try_link "$LINENO"; then :
14033 ac_cv_cflags__fno_strict_aliasing=yes
14034 else
14035 ac_cv_cflags__fno_strict_aliasing=no
14037 rm -f core conftest.err conftest.$ac_objext \
14038 conftest$ac_exeext conftest.$ac_ext
14039 CFLAGS=$ac_wine_try_cflags_saved
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14042 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14043 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14044 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14047 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14048 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14049 $as_echo_n "(cached) " >&6
14050 else
14051 ac_wine_try_cflags_saved=$CFLAGS
14052 CFLAGS="$CFLAGS -fexcess-precision=standard"
14053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14054 /* end confdefs.h. */
14055 int main(int argc, char **argv) { return 0; }
14056 _ACEOF
14057 if ac_fn_c_try_link "$LINENO"; then :
14058 ac_cv_cflags__fexcess_precision_standard=yes
14059 else
14060 ac_cv_cflags__fexcess_precision_standard=no
14062 rm -f core conftest.err conftest.$ac_objext \
14063 conftest$ac_exeext conftest.$ac_ext
14064 CFLAGS=$ac_wine_try_cflags_saved
14066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14067 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14068 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14069 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14072 saved_CFLAGS=$CFLAGS
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14074 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14075 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14076 $as_echo_n "(cached) " >&6
14077 else
14078 ac_wine_try_cflags_saved=$CFLAGS
14079 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14081 /* end confdefs.h. */
14082 int main(int argc, char **argv) { return 0; }
14083 _ACEOF
14084 if ac_fn_c_try_link "$LINENO"; then :
14085 ac_cv_cflags__Werror_unknown_warning_option=yes
14086 else
14087 ac_cv_cflags__Werror_unknown_warning_option=no
14089 rm -f core conftest.err conftest.$ac_objext \
14090 conftest$ac_exeext conftest.$ac_ext
14091 CFLAGS=$ac_wine_try_cflags_saved
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14094 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14095 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14096 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14099 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14100 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14101 $as_echo_n "(cached) " >&6
14102 else
14103 ac_wine_try_cflags_saved=$CFLAGS
14104 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14106 /* end confdefs.h. */
14107 int main(int argc, char **argv) { return 0; }
14108 _ACEOF
14109 if ac_fn_c_try_link "$LINENO"; then :
14110 ac_cv_cflags__Wdeclaration_after_statement=yes
14111 else
14112 ac_cv_cflags__Wdeclaration_after_statement=no
14114 rm -f core conftest.err conftest.$ac_objext \
14115 conftest$ac_exeext conftest.$ac_ext
14116 CFLAGS=$ac_wine_try_cflags_saved
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14119 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14120 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14121 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14124 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14125 if ${ac_cv_cflags__Wempty_body+:} false; then :
14126 $as_echo_n "(cached) " >&6
14127 else
14128 ac_wine_try_cflags_saved=$CFLAGS
14129 CFLAGS="$CFLAGS -Wempty-body"
14130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14131 /* end confdefs.h. */
14132 int main(int argc, char **argv) { return 0; }
14133 _ACEOF
14134 if ac_fn_c_try_link "$LINENO"; then :
14135 ac_cv_cflags__Wempty_body=yes
14136 else
14137 ac_cv_cflags__Wempty_body=no
14139 rm -f core conftest.err conftest.$ac_objext \
14140 conftest$ac_exeext conftest.$ac_ext
14141 CFLAGS=$ac_wine_try_cflags_saved
14143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14144 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14145 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14146 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14149 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14150 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14151 $as_echo_n "(cached) " >&6
14152 else
14153 ac_wine_try_cflags_saved=$CFLAGS
14154 CFLAGS="$CFLAGS -Wignored-qualifiers"
14155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14156 /* end confdefs.h. */
14157 int main(int argc, char **argv) { return 0; }
14158 _ACEOF
14159 if ac_fn_c_try_link "$LINENO"; then :
14160 ac_cv_cflags__Wignored_qualifiers=yes
14161 else
14162 ac_cv_cflags__Wignored_qualifiers=no
14164 rm -f core conftest.err conftest.$ac_objext \
14165 conftest$ac_exeext conftest.$ac_ext
14166 CFLAGS=$ac_wine_try_cflags_saved
14168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14169 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14170 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14171 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14174 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14175 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14176 $as_echo_n "(cached) " >&6
14177 else
14178 ac_wine_try_cflags_saved=$CFLAGS
14179 CFLAGS="$CFLAGS -Wshift-overflow=2"
14180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14181 /* end confdefs.h. */
14182 int main(int argc, char **argv) { return 0; }
14183 _ACEOF
14184 if ac_fn_c_try_link "$LINENO"; then :
14185 ac_cv_cflags__Wshift_overflow_2=yes
14186 else
14187 ac_cv_cflags__Wshift_overflow_2=no
14189 rm -f core conftest.err conftest.$ac_objext \
14190 conftest$ac_exeext conftest.$ac_ext
14191 CFLAGS=$ac_wine_try_cflags_saved
14193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14194 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14195 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14196 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14199 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14200 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14201 $as_echo_n "(cached) " >&6
14202 else
14203 ac_wine_try_cflags_saved=$CFLAGS
14204 CFLAGS="$CFLAGS -Wstrict-prototypes"
14205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14206 /* end confdefs.h. */
14207 int main(int argc, char **argv) { return 0; }
14208 _ACEOF
14209 if ac_fn_c_try_link "$LINENO"; then :
14210 ac_cv_cflags__Wstrict_prototypes=yes
14211 else
14212 ac_cv_cflags__Wstrict_prototypes=no
14214 rm -f core conftest.err conftest.$ac_objext \
14215 conftest$ac_exeext conftest.$ac_ext
14216 CFLAGS=$ac_wine_try_cflags_saved
14218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14219 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14220 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14221 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14224 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14225 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14226 $as_echo_n "(cached) " >&6
14227 else
14228 ac_wine_try_cflags_saved=$CFLAGS
14229 CFLAGS="$CFLAGS -Wtype-limits"
14230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14231 /* end confdefs.h. */
14232 int main(int argc, char **argv) { return 0; }
14233 _ACEOF
14234 if ac_fn_c_try_link "$LINENO"; then :
14235 ac_cv_cflags__Wtype_limits=yes
14236 else
14237 ac_cv_cflags__Wtype_limits=no
14239 rm -f core conftest.err conftest.$ac_objext \
14240 conftest$ac_exeext conftest.$ac_ext
14241 CFLAGS=$ac_wine_try_cflags_saved
14243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14244 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14245 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14246 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14249 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14250 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14251 $as_echo_n "(cached) " >&6
14252 else
14253 ac_wine_try_cflags_saved=$CFLAGS
14254 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14256 /* end confdefs.h. */
14257 int main(int argc, char **argv) { return 0; }
14258 _ACEOF
14259 if ac_fn_c_try_link "$LINENO"; then :
14260 ac_cv_cflags__Wunused_but_set_parameter=yes
14261 else
14262 ac_cv_cflags__Wunused_but_set_parameter=no
14264 rm -f core conftest.err conftest.$ac_objext \
14265 conftest$ac_exeext conftest.$ac_ext
14266 CFLAGS=$ac_wine_try_cflags_saved
14268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14269 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14270 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14271 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14274 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14275 if ${ac_cv_cflags__Wvla+:} false; then :
14276 $as_echo_n "(cached) " >&6
14277 else
14278 ac_wine_try_cflags_saved=$CFLAGS
14279 CFLAGS="$CFLAGS -Wvla"
14280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14281 /* end confdefs.h. */
14282 int main(int argc, char **argv) { return 0; }
14283 _ACEOF
14284 if ac_fn_c_try_link "$LINENO"; then :
14285 ac_cv_cflags__Wvla=yes
14286 else
14287 ac_cv_cflags__Wvla=no
14289 rm -f core conftest.err conftest.$ac_objext \
14290 conftest$ac_exeext conftest.$ac_ext
14291 CFLAGS=$ac_wine_try_cflags_saved
14293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14294 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14295 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14296 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14299 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14300 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14301 $as_echo_n "(cached) " >&6
14302 else
14303 ac_wine_try_cflags_saved=$CFLAGS
14304 CFLAGS="$CFLAGS -Wwrite-strings"
14305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14306 /* end confdefs.h. */
14307 int main(int argc, char **argv) { return 0; }
14308 _ACEOF
14309 if ac_fn_c_try_link "$LINENO"; then :
14310 ac_cv_cflags__Wwrite_strings=yes
14311 else
14312 ac_cv_cflags__Wwrite_strings=no
14314 rm -f core conftest.err conftest.$ac_objext \
14315 conftest$ac_exeext conftest.$ac_ext
14316 CFLAGS=$ac_wine_try_cflags_saved
14318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14319 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14320 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14321 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14325 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14326 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14327 $as_echo_n "(cached) " >&6
14328 else
14329 ac_wine_try_cflags_saved=$CFLAGS
14330 CFLAGS="$CFLAGS -Wpointer-arith"
14331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14332 /* end confdefs.h. */
14333 int main(int argc, char **argv) { return 0; }
14334 _ACEOF
14335 if ac_fn_c_try_link "$LINENO"; then :
14336 ac_cv_cflags__Wpointer_arith=yes
14337 else
14338 ac_cv_cflags__Wpointer_arith=no
14340 rm -f core conftest.err conftest.$ac_objext \
14341 conftest$ac_exeext conftest.$ac_ext
14342 CFLAGS=$ac_wine_try_cflags_saved
14344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14345 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14346 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14347 saved_string_h_CFLAGS=$CFLAGS
14348 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14350 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14351 if ${ac_cv_c_string_h_warnings+:} false; then :
14352 $as_echo_n "(cached) " >&6
14353 else
14354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14355 /* end confdefs.h. */
14356 #include <string.h>
14358 main ()
14362 return 0;
14364 _ACEOF
14365 if ac_fn_c_try_compile "$LINENO"; then :
14366 ac_cv_c_string_h_warnings=no
14367 else
14368 ac_cv_c_string_h_warnings=yes
14370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14373 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14374 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14375 CFLAGS=$saved_string_h_CFLAGS
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14379 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14380 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14381 $as_echo_n "(cached) " >&6
14382 else
14383 ac_wine_try_cflags_saved=$CFLAGS
14384 CFLAGS="$CFLAGS -Wlogical-op"
14385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14386 /* end confdefs.h. */
14387 int main(int argc, char **argv) { return 0; }
14388 _ACEOF
14389 if ac_fn_c_try_link "$LINENO"; then :
14390 ac_cv_cflags__Wlogical_op=yes
14391 else
14392 ac_cv_cflags__Wlogical_op=no
14394 rm -f core conftest.err conftest.$ac_objext \
14395 conftest$ac_exeext conftest.$ac_ext
14396 CFLAGS=$ac_wine_try_cflags_saved
14398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14399 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14400 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14401 saved_string_h_CFLAGS=$CFLAGS
14402 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14404 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14405 if ${ac_cv_c_logicalop_noisy+:} false; then :
14406 $as_echo_n "(cached) " >&6
14407 else
14408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14409 /* end confdefs.h. */
14410 #include <string.h>
14411 char*f(const char *h,char n) {return strchr(h,n);}
14413 main ()
14417 return 0;
14419 _ACEOF
14420 if ac_fn_c_try_compile "$LINENO"; then :
14421 ac_cv_c_logicalop_noisy=no
14422 else
14423 ac_cv_c_logicalop_noisy=yes
14425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14428 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14429 CFLAGS=$saved_string_h_CFLAGS
14430 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14433 CFLAGS=$saved_CFLAGS
14435 for ac_flag in $CFLAGS; do
14436 case $ac_flag in
14437 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14438 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14439 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14440 $as_echo_n "(cached) " >&6
14441 else
14442 ac_wine_try_cflags_saved=$CFLAGS
14443 CFLAGS="$CFLAGS -gdwarf-2"
14444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14445 /* end confdefs.h. */
14446 int main(int argc, char **argv) { return 0; }
14447 _ACEOF
14448 if ac_fn_c_try_link "$LINENO"; then :
14449 ac_cv_cflags__gdwarf_2=yes
14450 else
14451 ac_cv_cflags__gdwarf_2=no
14453 rm -f core conftest.err conftest.$ac_objext \
14454 conftest$ac_exeext conftest.$ac_ext
14455 CFLAGS=$ac_wine_try_cflags_saved
14457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14458 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14459 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14460 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14463 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14464 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14465 $as_echo_n "(cached) " >&6
14466 else
14467 ac_wine_try_cflags_saved=$CFLAGS
14468 CFLAGS="$CFLAGS -gstrict-dwarf"
14469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14470 /* end confdefs.h. */
14471 int main(int argc, char **argv) { return 0; }
14472 _ACEOF
14473 if ac_fn_c_try_link "$LINENO"; then :
14474 ac_cv_cflags__gstrict_dwarf=yes
14475 else
14476 ac_cv_cflags__gstrict_dwarf=no
14478 rm -f core conftest.err conftest.$ac_objext \
14479 conftest$ac_exeext conftest.$ac_ext
14480 CFLAGS=$ac_wine_try_cflags_saved
14482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14483 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14484 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14485 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14486 fi ;;
14487 esac
14488 done
14490 case $host_cpu in
14491 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14492 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14493 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14494 $as_echo_n "(cached) " >&6
14495 else
14496 ac_wine_try_cflags_saved=$CFLAGS
14497 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14499 /* end confdefs.h. */
14500 int main(int argc, char **argv) { return 0; }
14501 _ACEOF
14502 if ac_fn_c_try_link "$LINENO"; then :
14503 ac_cv_cflags__fno_omit_frame_pointer=yes
14504 else
14505 ac_cv_cflags__fno_omit_frame_pointer=no
14507 rm -f core conftest.err conftest.$ac_objext \
14508 conftest$ac_exeext conftest.$ac_ext
14509 CFLAGS=$ac_wine_try_cflags_saved
14511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14512 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14513 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14514 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14515 fi ;;
14516 esac
14518 case $host in
14519 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14520 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14521 if ${ac_cv_cflags__Wno_format+:} false; then :
14522 $as_echo_n "(cached) " >&6
14523 else
14524 ac_wine_try_cflags_saved=$CFLAGS
14525 CFLAGS="$CFLAGS -Wno-format"
14526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14527 /* end confdefs.h. */
14528 int main(int argc, char **argv) { return 0; }
14529 _ACEOF
14530 if ac_fn_c_try_link "$LINENO"; then :
14531 ac_cv_cflags__Wno_format=yes
14532 else
14533 ac_cv_cflags__Wno_format=no
14535 rm -f core conftest.err conftest.$ac_objext \
14536 conftest$ac_exeext conftest.$ac_ext
14537 CFLAGS=$ac_wine_try_cflags_saved
14539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14540 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14541 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14542 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14543 fi ;;
14544 esac
14546 if test "x$enable_maintainer_mode" = "xyes"
14547 then
14548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14549 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14550 if ${ac_cv_cflags__Werror+:} false; then :
14551 $as_echo_n "(cached) " >&6
14552 else
14553 ac_wine_try_cflags_saved=$CFLAGS
14554 CFLAGS="$CFLAGS -Werror"
14555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14556 /* end confdefs.h. */
14557 int main(int argc, char **argv) { return 0; }
14558 _ACEOF
14559 if ac_fn_c_try_link "$LINENO"; then :
14560 ac_cv_cflags__Werror=yes
14561 else
14562 ac_cv_cflags__Werror=no
14564 rm -f core conftest.err conftest.$ac_objext \
14565 conftest$ac_exeext conftest.$ac_ext
14566 CFLAGS=$ac_wine_try_cflags_saved
14568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14569 $as_echo "$ac_cv_cflags__Werror" >&6; }
14570 if test "x$ac_cv_cflags__Werror" = xyes; then :
14571 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14575 saved_CFLAGS="$CFLAGS"
14576 CFLAGS="$CFLAGS -Werror"
14577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14578 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14579 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14580 $as_echo_n "(cached) " >&6
14581 else
14582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14583 /* end confdefs.h. */
14584 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14586 main ()
14590 return 0;
14592 _ACEOF
14593 if ac_fn_c_try_compile "$LINENO"; then :
14594 ac_cv_have_ms_hook_prologue="yes"
14595 else
14596 ac_cv_have_ms_hook_prologue="no"
14598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14601 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14602 CFLAGS="$saved_CFLAGS"
14603 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14604 then
14606 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14608 else
14609 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14616 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14617 if ${ac_cv_c_fortify_enabled+:} false; then :
14618 $as_echo_n "(cached) " >&6
14619 else
14620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14621 /* end confdefs.h. */
14622 #include <string.h>
14624 main ()
14626 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14627 #error Fortify enabled
14628 #endif
14630 return 0;
14632 _ACEOF
14633 if ac_fn_c_try_compile "$LINENO"; then :
14634 ac_cv_c_fortify_enabled=no
14635 else
14636 ac_cv_c_fortify_enabled=yes
14638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14641 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14642 if test "$ac_cv_c_fortify_enabled" = yes
14643 then
14644 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14649 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14650 if ${ac_cv_c_extern_prefix+:} false; then :
14651 $as_echo_n "(cached) " >&6
14652 else
14653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14654 /* end confdefs.h. */
14655 extern int ac_test;
14657 main ()
14659 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14661 return 0;
14663 _ACEOF
14664 if ac_fn_c_try_link "$LINENO"; then :
14665 ac_cv_c_extern_prefix="yes"
14666 else
14667 ac_cv_c_extern_prefix="no"
14669 rm -f core conftest.err conftest.$ac_objext \
14670 conftest$ac_exeext conftest.$ac_ext
14672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14673 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14675 case $host_cpu in
14676 *i[3456789]86*)
14677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14678 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14679 if ${ac_cv_c_stdcall_suffix+:} false; then :
14680 $as_echo_n "(cached) " >&6
14681 else
14682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14683 /* end confdefs.h. */
14684 #ifndef _MSC_VER
14685 #define __stdcall __attribute__((__stdcall__))
14686 #endif
14687 int __stdcall ac_test(int i) { return i; }
14689 main ()
14691 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14693 return 0;
14695 _ACEOF
14696 if ac_fn_c_try_link "$LINENO"; then :
14697 ac_cv_c_stdcall_suffix="yes"
14698 else
14699 ac_cv_c_stdcall_suffix="no"
14701 rm -f core conftest.err conftest.$ac_objext \
14702 conftest$ac_exeext conftest.$ac_ext
14704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14705 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14706 *) ac_cv_c_stdcall_suffix="no" ;;
14707 esac
14710 if test "$ac_cv_c_extern_prefix" = "yes"
14711 then
14712 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14714 asm_name_prefix="_"
14715 else
14716 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14718 asm_name_prefix=""
14722 if test "$ac_cv_c_stdcall_suffix" = "yes"
14723 then
14724 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14726 else
14727 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14733 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14734 if ${ac_cv_asm_func_def+:} false; then :
14735 $as_echo_n "(cached) " >&6
14736 else
14737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14738 /* end confdefs.h. */
14741 main ()
14743 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14745 return 0;
14747 _ACEOF
14748 if ac_fn_c_try_link "$LINENO"; then :
14749 ac_cv_asm_func_def=".def"
14750 else
14751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14752 /* end confdefs.h. */
14755 main ()
14757 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14759 return 0;
14761 _ACEOF
14762 if ac_fn_c_try_link "$LINENO"; then :
14763 ac_cv_asm_func_def=".type @function"
14764 else
14765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14766 /* end confdefs.h. */
14769 main ()
14771 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14773 return 0;
14775 _ACEOF
14776 if ac_fn_c_try_link "$LINENO"; then :
14777 ac_cv_asm_func_def=".type 2"
14778 else
14779 ac_cv_asm_func_def="unknown"
14781 rm -f core conftest.err conftest.$ac_objext \
14782 conftest$ac_exeext conftest.$ac_ext
14784 rm -f core conftest.err conftest.$ac_objext \
14785 conftest$ac_exeext conftest.$ac_ext
14787 rm -f core conftest.err conftest.$ac_objext \
14788 conftest$ac_exeext conftest.$ac_ext
14790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14791 $as_echo "$ac_cv_asm_func_def" >&6; }
14794 case "$ac_cv_asm_func_def" in
14795 ".def")
14796 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14798 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14799 ".type @function")
14800 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14802 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14803 ".type 2")
14804 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14806 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14808 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14810 asm_func_header="" ;;
14811 esac
14813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14814 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14815 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14816 $as_echo_n "(cached) " >&6
14817 else
14818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14819 /* end confdefs.h. */
14820 asm(".text\n\t.long 0");
14822 main ()
14826 return 0;
14828 _ACEOF
14829 if ac_fn_c_try_compile "$LINENO"; then :
14830 ac_cv_c_asm_outside_funcs="yes"
14831 else
14832 ac_cv_c_asm_outside_funcs="no"
14834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14837 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14840 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14841 if ${ac_cv_c_dot_previous+:} false; then :
14842 $as_echo_n "(cached) " >&6
14843 else
14844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14845 /* end confdefs.h. */
14848 main ()
14850 asm(".text\nac_test:\t.long 0\n\t.previous");
14852 return 0;
14854 _ACEOF
14855 if ac_fn_c_try_link "$LINENO"; then :
14856 ac_cv_c_dot_previous="yes"
14857 else
14858 ac_cv_c_dot_previous="no"
14860 rm -f core conftest.err conftest.$ac_objext \
14861 conftest$ac_exeext conftest.$ac_ext
14863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14864 $as_echo "$ac_cv_c_dot_previous" >&6; }
14866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14867 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14868 if ${ac_cv_c_cfi_support+:} false; then :
14869 $as_echo_n "(cached) " >&6
14870 else
14871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14872 /* end confdefs.h. */
14873 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14875 main ()
14879 return 0;
14881 _ACEOF
14882 if ac_fn_c_try_compile "$LINENO"; then :
14883 ac_cv_c_cfi_support="yes"
14884 else
14885 ac_cv_c_cfi_support="no"
14887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14890 $as_echo "$ac_cv_c_cfi_support" >&6; }
14892 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14893 asm_func_trailer=""
14894 if test "$ac_cv_c_dot_previous" = "yes"
14895 then
14896 asm_func_trailer="\\n\\t.previous"
14898 if test "$ac_cv_c_cfi_support" = "yes"
14899 then
14900 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14901 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14903 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14905 UNWINDFLAGS=-fasynchronous-unwind-tables
14907 else
14908 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14910 if test "x$enable_win64" = "xyes"
14911 then
14912 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
14916 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14919 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14920 then
14921 cat >>confdefs.h <<_ACEOF
14922 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14923 _ACEOF
14925 else
14926 cat >>confdefs.h <<_ACEOF
14927 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14928 _ACEOF
14932 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14935 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14939 case $build_os in
14940 cygwin*|mingw32*) TOOLSEXT=".exe"
14942 esac
14944 case $host_os in
14945 linux-android*) ;;
14946 linux*)
14947 case $host_cpu in
14948 *i[3456789]86*|x86_64*)
14949 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14950 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
14952 esac
14954 esac
14957 ac_save_CFLAGS="$CFLAGS"
14958 CFLAGS="$CFLAGS $BUILTINFLAG"
14959 for ac_func in \
14960 __res_get_state \
14961 __res_getservers \
14962 _finite \
14963 _isnan \
14964 _pclose \
14965 _popen \
14966 _snprintf \
14967 _spawnvp \
14968 _strdup \
14969 _stricmp \
14970 _strnicmp \
14971 _strtoi64 \
14972 _strtoui64 \
14973 _vsnprintf \
14974 asctime_r \
14975 chsize \
14976 dlopen \
14977 epoll_create \
14978 ffs \
14979 finitef \
14980 fnmatch \
14981 fork \
14982 fpclass \
14983 fstatfs \
14984 fstatvfs \
14985 ftruncate \
14986 futimens \
14987 futimes \
14988 futimesat \
14989 getattrlist \
14990 getdirentries \
14991 getopt_long_only \
14992 getpwuid \
14993 gettimeofday \
14994 getuid \
14995 if_nameindex \
14996 isnanf \
14997 kqueue \
14998 lstat \
14999 memmove \
15000 mmap \
15001 pclose \
15002 pipe2 \
15003 poll \
15004 popen \
15005 port_create \
15006 prctl \
15007 pread \
15008 proc_pidinfo \
15009 pwrite \
15010 readdir \
15011 readlink \
15012 sched_yield \
15013 select \
15014 setproctitle \
15015 setrlimit \
15016 settimeofday \
15017 sigaltstack \
15018 sigprocmask \
15019 snprintf \
15020 statfs \
15021 statvfs \
15022 strcasecmp \
15023 strdup \
15024 strerror \
15025 strncasecmp \
15026 strtold \
15027 strtoll \
15028 strtoull \
15029 symlink \
15030 tcdrain \
15031 thr_kill2 \
15032 timegm \
15033 usleep \
15034 vsnprintf
15036 do :
15037 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15038 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15039 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15040 cat >>confdefs.h <<_ACEOF
15041 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15042 _ACEOF
15045 done
15047 CFLAGS="$ac_save_CFLAGS"
15049 if test "$ac_cv_func_dlopen" = no
15050 then
15051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15052 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15053 if ${ac_cv_lib_dl_dlopen+:} false; then :
15054 $as_echo_n "(cached) " >&6
15055 else
15056 ac_check_lib_save_LIBS=$LIBS
15057 LIBS="-ldl $LIBS"
15058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15059 /* end confdefs.h. */
15061 /* Override any GCC internal prototype to avoid an error.
15062 Use char because int might match the return type of a GCC
15063 builtin and then its argument prototype would still apply. */
15064 #ifdef __cplusplus
15065 extern "C"
15066 #endif
15067 char dlopen ();
15069 main ()
15071 return dlopen ();
15073 return 0;
15075 _ACEOF
15076 if ac_fn_c_try_link "$LINENO"; then :
15077 ac_cv_lib_dl_dlopen=yes
15078 else
15079 ac_cv_lib_dl_dlopen=no
15081 rm -f core conftest.err conftest.$ac_objext \
15082 conftest$ac_exeext conftest.$ac_ext
15083 LIBS=$ac_check_lib_save_LIBS
15085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15086 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15087 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15088 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15089 DL_LIBS="-ldl"
15094 ac_wine_check_funcs_save_LIBS="$LIBS"
15095 LIBS="$LIBS $DL_LIBS"
15096 for ac_func in dladdr
15097 do :
15098 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15099 if test "x$ac_cv_func_dladdr" = xyes; then :
15100 cat >>confdefs.h <<_ACEOF
15101 #define HAVE_DLADDR 1
15102 _ACEOF
15105 done
15107 LIBS="$ac_wine_check_funcs_save_LIBS"
15109 if test "$ac_cv_func_poll" = no
15110 then
15111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15112 $as_echo_n "checking for poll in -lpoll... " >&6; }
15113 if ${ac_cv_lib_poll_poll+:} false; then :
15114 $as_echo_n "(cached) " >&6
15115 else
15116 ac_check_lib_save_LIBS=$LIBS
15117 LIBS="-lpoll $LIBS"
15118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15119 /* end confdefs.h. */
15121 /* Override any GCC internal prototype to avoid an error.
15122 Use char because int might match the return type of a GCC
15123 builtin and then its argument prototype would still apply. */
15124 #ifdef __cplusplus
15125 extern "C"
15126 #endif
15127 char poll ();
15129 main ()
15131 return poll ();
15133 return 0;
15135 _ACEOF
15136 if ac_fn_c_try_link "$LINENO"; then :
15137 ac_cv_lib_poll_poll=yes
15138 else
15139 ac_cv_lib_poll_poll=no
15141 rm -f core conftest.err conftest.$ac_objext \
15142 conftest$ac_exeext conftest.$ac_ext
15143 LIBS=$ac_check_lib_save_LIBS
15145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15146 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15147 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15148 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15149 POLL_LIBS="-lpoll"
15155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15156 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15157 if ${ac_cv_search_gethostbyname+:} false; then :
15158 $as_echo_n "(cached) " >&6
15159 else
15160 ac_func_search_save_LIBS=$LIBS
15161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15162 /* end confdefs.h. */
15164 /* Override any GCC internal prototype to avoid an error.
15165 Use char because int might match the return type of a GCC
15166 builtin and then its argument prototype would still apply. */
15167 #ifdef __cplusplus
15168 extern "C"
15169 #endif
15170 char gethostbyname ();
15172 main ()
15174 return gethostbyname ();
15176 return 0;
15178 _ACEOF
15179 for ac_lib in '' nsl; do
15180 if test -z "$ac_lib"; then
15181 ac_res="none required"
15182 else
15183 ac_res=-l$ac_lib
15184 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15186 if ac_fn_c_try_link "$LINENO"; then :
15187 ac_cv_search_gethostbyname=$ac_res
15189 rm -f core conftest.err conftest.$ac_objext \
15190 conftest$ac_exeext
15191 if ${ac_cv_search_gethostbyname+:} false; then :
15192 break
15194 done
15195 if ${ac_cv_search_gethostbyname+:} false; then :
15197 else
15198 ac_cv_search_gethostbyname=no
15200 rm conftest.$ac_ext
15201 LIBS=$ac_func_search_save_LIBS
15203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15204 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15205 ac_res=$ac_cv_search_gethostbyname
15206 if test "$ac_res" != no; then :
15207 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15213 $as_echo_n "checking for library containing connect... " >&6; }
15214 if ${ac_cv_search_connect+:} false; then :
15215 $as_echo_n "(cached) " >&6
15216 else
15217 ac_func_search_save_LIBS=$LIBS
15218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15219 /* end confdefs.h. */
15221 /* Override any GCC internal prototype to avoid an error.
15222 Use char because int might match the return type of a GCC
15223 builtin and then its argument prototype would still apply. */
15224 #ifdef __cplusplus
15225 extern "C"
15226 #endif
15227 char connect ();
15229 main ()
15231 return connect ();
15233 return 0;
15235 _ACEOF
15236 for ac_lib in '' socket; do
15237 if test -z "$ac_lib"; then
15238 ac_res="none required"
15239 else
15240 ac_res=-l$ac_lib
15241 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15243 if ac_fn_c_try_link "$LINENO"; then :
15244 ac_cv_search_connect=$ac_res
15246 rm -f core conftest.err conftest.$ac_objext \
15247 conftest$ac_exeext
15248 if ${ac_cv_search_connect+:} false; then :
15249 break
15251 done
15252 if ${ac_cv_search_connect+:} false; then :
15254 else
15255 ac_cv_search_connect=no
15257 rm conftest.$ac_ext
15258 LIBS=$ac_func_search_save_LIBS
15260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15261 $as_echo "$ac_cv_search_connect" >&6; }
15262 ac_res=$ac_cv_search_connect
15263 if test "$ac_res" != no; then :
15264 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15270 $as_echo_n "checking for library containing inet_aton... " >&6; }
15271 if ${ac_cv_search_inet_aton+:} false; then :
15272 $as_echo_n "(cached) " >&6
15273 else
15274 ac_func_search_save_LIBS=$LIBS
15275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15276 /* end confdefs.h. */
15278 /* Override any GCC internal prototype to avoid an error.
15279 Use char because int might match the return type of a GCC
15280 builtin and then its argument prototype would still apply. */
15281 #ifdef __cplusplus
15282 extern "C"
15283 #endif
15284 char inet_aton ();
15286 main ()
15288 return inet_aton ();
15290 return 0;
15292 _ACEOF
15293 for ac_lib in '' resolv; do
15294 if test -z "$ac_lib"; then
15295 ac_res="none required"
15296 else
15297 ac_res=-l$ac_lib
15298 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15300 if ac_fn_c_try_link "$LINENO"; then :
15301 ac_cv_search_inet_aton=$ac_res
15303 rm -f core conftest.err conftest.$ac_objext \
15304 conftest$ac_exeext
15305 if ${ac_cv_search_inet_aton+:} false; then :
15306 break
15308 done
15309 if ${ac_cv_search_inet_aton+:} false; then :
15311 else
15312 ac_cv_search_inet_aton=no
15314 rm conftest.$ac_ext
15315 LIBS=$ac_func_search_save_LIBS
15317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15318 $as_echo "$ac_cv_search_inet_aton" >&6; }
15319 ac_res=$ac_cv_search_inet_aton
15320 if test "$ac_res" != no; then :
15321 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15326 for ac_func in \
15327 getaddrinfo \
15328 getnameinfo \
15329 getnetbyname \
15330 getprotobyname \
15331 getprotobynumber \
15332 getservbyport \
15333 inet_addr \
15334 inet_network \
15335 inet_ntop \
15336 inet_pton \
15337 sendmsg \
15338 socketpair \
15340 do :
15341 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15342 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15343 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15344 cat >>confdefs.h <<_ACEOF
15345 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15346 _ACEOF
15349 done
15352 ac_save_LIBS=$LIBS
15353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15354 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15355 if ${ac_cv_search_clock_gettime+:} false; then :
15356 $as_echo_n "(cached) " >&6
15357 else
15358 ac_func_search_save_LIBS=$LIBS
15359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15360 /* end confdefs.h. */
15362 /* Override any GCC internal prototype to avoid an error.
15363 Use char because int might match the return type of a GCC
15364 builtin and then its argument prototype would still apply. */
15365 #ifdef __cplusplus
15366 extern "C"
15367 #endif
15368 char clock_gettime ();
15370 main ()
15372 return clock_gettime ();
15374 return 0;
15376 _ACEOF
15377 for ac_lib in '' rt; do
15378 if test -z "$ac_lib"; then
15379 ac_res="none required"
15380 else
15381 ac_res=-l$ac_lib
15382 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15384 if ac_fn_c_try_link "$LINENO"; then :
15385 ac_cv_search_clock_gettime=$ac_res
15387 rm -f core conftest.err conftest.$ac_objext \
15388 conftest$ac_exeext
15389 if ${ac_cv_search_clock_gettime+:} false; then :
15390 break
15392 done
15393 if ${ac_cv_search_clock_gettime+:} false; then :
15395 else
15396 ac_cv_search_clock_gettime=no
15398 rm conftest.$ac_ext
15399 LIBS=$ac_func_search_save_LIBS
15401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15402 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15403 ac_res=$ac_cv_search_clock_gettime
15404 if test "$ac_res" != no; then :
15405 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15407 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15409 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15413 LIBS=$ac_save_LIBS
15415 LDAP_LIBS=""
15417 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15418 then
15419 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15421 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15423 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15424 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15425 $as_echo_n "(cached) " >&6
15426 else
15427 ac_check_lib_save_LIBS=$LIBS
15428 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15430 /* end confdefs.h. */
15432 /* Override any GCC internal prototype to avoid an error.
15433 Use char because int might match the return type of a GCC
15434 builtin and then its argument prototype would still apply. */
15435 #ifdef __cplusplus
15436 extern "C"
15437 #endif
15438 char ldap_initialize ();
15440 main ()
15442 return ldap_initialize ();
15444 return 0;
15446 _ACEOF
15447 if ac_fn_c_try_link "$LINENO"; then :
15448 ac_cv_lib_ldap_r_ldap_initialize=yes
15449 else
15450 ac_cv_lib_ldap_r_ldap_initialize=no
15452 rm -f core conftest.err conftest.$ac_objext \
15453 conftest$ac_exeext conftest.$ac_ext
15454 LIBS=$ac_check_lib_save_LIBS
15456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15457 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15458 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15460 $as_echo_n "checking for ber_init in -llber... " >&6; }
15461 if ${ac_cv_lib_lber_ber_init+:} false; then :
15462 $as_echo_n "(cached) " >&6
15463 else
15464 ac_check_lib_save_LIBS=$LIBS
15465 LIBS="-llber $PTHREAD_LIBS $LIBS"
15466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15467 /* end confdefs.h. */
15469 /* Override any GCC internal prototype to avoid an error.
15470 Use char because int might match the return type of a GCC
15471 builtin and then its argument prototype would still apply. */
15472 #ifdef __cplusplus
15473 extern "C"
15474 #endif
15475 char ber_init ();
15477 main ()
15479 return ber_init ();
15481 return 0;
15483 _ACEOF
15484 if ac_fn_c_try_link "$LINENO"; then :
15485 ac_cv_lib_lber_ber_init=yes
15486 else
15487 ac_cv_lib_lber_ber_init=no
15489 rm -f core conftest.err conftest.$ac_objext \
15490 conftest$ac_exeext conftest.$ac_ext
15491 LIBS=$ac_check_lib_save_LIBS
15493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15494 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15495 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15497 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15499 LDAP_LIBS="-lldap_r -llber"
15506 ac_wine_check_funcs_save_LIBS="$LIBS"
15507 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15508 for ac_func in \
15509 ldap_count_references \
15510 ldap_first_reference \
15511 ldap_next_reference \
15512 ldap_parse_reference \
15513 ldap_parse_sort_control \
15514 ldap_parse_sortresponse_control \
15515 ldap_parse_vlv_control \
15516 ldap_parse_vlvresponse_control
15517 do :
15518 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15519 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15520 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15521 cat >>confdefs.h <<_ACEOF
15522 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15523 _ACEOF
15526 done
15528 LIBS="$ac_wine_check_funcs_save_LIBS"
15530 if test "x$LDAP_LIBS" = "x"; then :
15531 case "x$with_ldap" in
15532 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15533 xno) ;;
15534 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15535 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15536 esac
15539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15540 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15541 if ${wine_cv_one_arg_mkdir+:} false; then :
15542 $as_echo_n "(cached) " >&6
15543 else
15544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15545 /* end confdefs.h. */
15546 #include <sys/stat.h>
15548 main ()
15550 mkdir("foo");
15552 return 0;
15554 _ACEOF
15555 if ac_fn_c_try_compile "$LINENO"; then :
15556 wine_cv_one_arg_mkdir=yes
15557 else
15558 wine_cv_one_arg_mkdir=no
15560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15563 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15564 if test "$wine_cv_one_arg_mkdir" = "yes"
15565 then
15567 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15572 $as_echo_n "checking for sched_setaffinity... " >&6; }
15573 if ${wine_cv_have_sched_setaffinity+:} false; then :
15574 $as_echo_n "(cached) " >&6
15575 else
15576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15577 /* end confdefs.h. */
15578 #define _GNU_SOURCE
15579 #include <sched.h>
15581 main ()
15583 sched_setaffinity(0, 0, 0);
15585 return 0;
15587 _ACEOF
15588 if ac_fn_c_try_link "$LINENO"; then :
15589 wine_cv_have_sched_setaffinity=yes
15590 else
15591 wine_cv_have_sched_setaffinity=no
15593 rm -f core conftest.err conftest.$ac_objext \
15594 conftest$ac_exeext conftest.$ac_ext
15596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15597 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15598 if test "$wine_cv_have_sched_setaffinity" = "yes"
15599 then
15601 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15606 $as_echo_n "checking for fallocate... " >&6; }
15607 if ${wine_cv_have_fallocate+:} false; then :
15608 $as_echo_n "(cached) " >&6
15609 else
15610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15611 /* end confdefs.h. */
15612 #define _GNU_SOURCE
15613 #include <fcntl.h>
15615 main ()
15617 fallocate(-1, 0, 0, 0);
15619 return 0;
15621 _ACEOF
15622 if ac_fn_c_try_link "$LINENO"; then :
15623 wine_cv_have_fallocate=yes
15624 else
15625 wine_cv_have_fallocate=no
15627 rm -f core conftest.err conftest.$ac_objext \
15628 conftest$ac_exeext conftest.$ac_ext
15630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15631 $as_echo "$wine_cv_have_fallocate" >&6; }
15632 if test "$wine_cv_have_fallocate" = "yes"
15633 then
15635 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15641 $as_echo_n "checking for inline... " >&6; }
15642 if ${ac_cv_c_inline+:} false; then :
15643 $as_echo_n "(cached) " >&6
15644 else
15645 ac_cv_c_inline=no
15646 for ac_kw in inline __inline__ __inline; do
15647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15648 /* end confdefs.h. */
15649 #ifndef __cplusplus
15650 typedef int foo_t;
15651 static $ac_kw foo_t static_foo () {return 0; }
15652 $ac_kw foo_t foo () {return 0; }
15653 #endif
15655 _ACEOF
15656 if ac_fn_c_try_compile "$LINENO"; then :
15657 ac_cv_c_inline=$ac_kw
15659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15660 test "$ac_cv_c_inline" != no && break
15661 done
15664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15665 $as_echo "$ac_cv_c_inline" >&6; }
15667 case $ac_cv_c_inline in
15668 inline | yes) ;;
15670 case $ac_cv_c_inline in
15671 no) ac_val=;;
15672 *) ac_val=$ac_cv_c_inline;;
15673 esac
15674 cat >>confdefs.h <<_ACEOF
15675 #ifndef __cplusplus
15676 #define inline $ac_val
15677 #endif
15678 _ACEOF
15680 esac
15682 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15683 if test "x$ac_cv_type_mode_t" = xyes; then :
15685 cat >>confdefs.h <<_ACEOF
15686 #define HAVE_MODE_T 1
15687 _ACEOF
15691 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15692 if test "x$ac_cv_type_off_t" = xyes; then :
15694 cat >>confdefs.h <<_ACEOF
15695 #define HAVE_OFF_T 1
15696 _ACEOF
15700 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15701 if test "x$ac_cv_type_pid_t" = xyes; then :
15703 cat >>confdefs.h <<_ACEOF
15704 #define HAVE_PID_T 1
15705 _ACEOF
15709 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15710 if test "x$ac_cv_type_size_t" = xyes; then :
15712 cat >>confdefs.h <<_ACEOF
15713 #define HAVE_SIZE_T 1
15714 _ACEOF
15718 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15719 if test "x$ac_cv_type_ssize_t" = xyes; then :
15721 cat >>confdefs.h <<_ACEOF
15722 #define HAVE_SSIZE_T 1
15723 _ACEOF
15727 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15728 if test "x$ac_cv_type_long_long" = xyes; then :
15730 cat >>confdefs.h <<_ACEOF
15731 #define HAVE_LONG_LONG 1
15732 _ACEOF
15736 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15737 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15739 cat >>confdefs.h <<_ACEOF
15740 #define HAVE_FSBLKCNT_T 1
15741 _ACEOF
15745 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15746 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15748 cat >>confdefs.h <<_ACEOF
15749 #define HAVE_FSFILCNT_T 1
15750 _ACEOF
15755 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15756 #include <signal.h>
15758 if test "x$ac_cv_type_sigset_t" = xyes; then :
15760 cat >>confdefs.h <<_ACEOF
15761 #define HAVE_SIGSET_T 1
15762 _ACEOF
15767 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15769 if test "x$ac_cv_type_request_sense" = xyes; then :
15771 cat >>confdefs.h <<_ACEOF
15772 #define HAVE_REQUEST_SENSE 1
15773 _ACEOF
15779 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15780 #ifdef HAVE_SYS_SOCKET_H
15781 #include <sys/socket.h>
15782 #endif
15783 #ifdef HAVE_SYS_SOCKETVAR_H
15784 #include <sys/socketvar.h>
15785 #endif
15786 #ifdef HAVE_NET_ROUTE_H
15787 #include <net/route.h>
15788 #endif
15789 #ifdef HAVE_NETINET_IN_H
15790 #include <netinet/in.h>
15791 #endif
15792 #ifdef HAVE_NETINET_IN_SYSTM_H
15793 #include <netinet/in_systm.h>
15794 #endif
15795 #ifdef HAVE_NETINET_IP_H
15796 #include <netinet/ip.h>
15797 #endif
15798 #ifdef HAVE_NETINET_IN_PCB_H
15799 #include <netinet/in_pcb.h>
15800 #endif
15802 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15804 cat >>confdefs.h <<_ACEOF
15805 #define HAVE_STRUCT_XINPGEN 1
15806 _ACEOF
15812 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15813 #include <link.h>
15814 #endif
15815 #ifdef HAVE_SYS_LINK_H
15816 #include <sys/link.h>
15817 #endif
15819 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15821 cat >>confdefs.h <<_ACEOF
15822 #define HAVE_STRUCT_R_DEBUG 1
15823 _ACEOF
15827 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15828 #include <link.h>
15829 #endif
15830 #ifdef HAVE_SYS_LINK_H
15831 #include <sys/link.h>
15832 #endif
15834 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15836 cat >>confdefs.h <<_ACEOF
15837 #define HAVE_STRUCT_LINK_MAP 1
15838 _ACEOF
15844 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15845 #include <linux/input.h>
15846 #endif
15848 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15850 cat >>confdefs.h <<_ACEOF
15851 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15852 _ACEOF
15858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15859 $as_echo_n "checking for sigaddset... " >&6; }
15860 if ${wine_cv_have_sigaddset+:} false; then :
15861 $as_echo_n "(cached) " >&6
15862 else
15863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15864 /* end confdefs.h. */
15865 #include <signal.h>
15867 main ()
15869 sigset_t set; sigaddset(&set,SIGTERM);
15871 return 0;
15873 _ACEOF
15874 if ac_fn_c_try_link "$LINENO"; then :
15875 wine_cv_have_sigaddset=yes
15876 else
15877 wine_cv_have_sigaddset=no
15879 rm -f core conftest.err conftest.$ac_objext \
15880 conftest$ac_exeext conftest.$ac_ext
15882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15883 $as_echo "$wine_cv_have_sigaddset" >&6; }
15884 if test "$wine_cv_have_sigaddset" = "yes"
15885 then
15887 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15893 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15894 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15895 $as_echo_n "(cached) " >&6
15896 else
15897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15898 /* end confdefs.h. */
15899 #include <netdb.h>
15901 main ()
15904 char *name=0;
15905 struct hostent he;
15906 struct hostent *result;
15907 char *buf=0;
15908 int bufsize=0;
15909 int errnr;
15910 char *addr=0;
15911 int addrlen=0;
15912 int addrtype=0;
15913 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15914 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15917 return 0;
15919 _ACEOF
15920 if ac_fn_c_try_link "$LINENO"; then :
15921 wine_cv_linux_gethostbyname_r_6=yes
15922 else
15923 wine_cv_linux_gethostbyname_r_6=no
15926 rm -f core conftest.err conftest.$ac_objext \
15927 conftest$ac_exeext conftest.$ac_ext
15930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15931 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15932 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15933 then
15935 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15939 if test "$ac_cv_header_linux_joystick_h" = "yes"
15940 then
15941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15942 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15943 if ${wine_cv_linux_joystick_22_api+:} false; then :
15944 $as_echo_n "(cached) " >&6
15945 else
15946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15947 /* end confdefs.h. */
15949 #include <sys/ioctl.h>
15950 #include <sys/types.h>
15951 #include <linux/joystick.h>
15953 struct js_event blub;
15954 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15955 #error "no 2.2 header"
15956 #endif
15959 main ()
15961 /*empty*/
15963 return 0;
15965 _ACEOF
15966 if ac_fn_c_try_compile "$LINENO"; then :
15967 wine_cv_linux_joystick_22_api=yes
15968 else
15969 wine_cv_linux_joystick_22_api=no
15971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15975 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15976 if test "$wine_cv_linux_joystick_22_api" = "yes"
15977 then
15979 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15985 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15986 #ifdef HAVE_SYS_PARAM_H
15987 # include <sys/param.h>
15988 #endif
15989 #ifdef HAVE_SYS_MOUNT_H
15990 # include <sys/mount.h>
15991 #endif
15992 #ifdef HAVE_SYS_VFS_H
15993 # include <sys/vfs.h>
15994 #endif
15995 #ifdef HAVE_SYS_STATFS_H
15996 # include <sys/statfs.h>
15997 #endif
15999 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16001 cat >>confdefs.h <<_ACEOF
16002 #define HAVE_STRUCT_STATFS_F_BFREE 1
16003 _ACEOF
16007 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16008 #ifdef HAVE_SYS_PARAM_H
16009 # include <sys/param.h>
16010 #endif
16011 #ifdef HAVE_SYS_MOUNT_H
16012 # include <sys/mount.h>
16013 #endif
16014 #ifdef HAVE_SYS_VFS_H
16015 # include <sys/vfs.h>
16016 #endif
16017 #ifdef HAVE_SYS_STATFS_H
16018 # include <sys/statfs.h>
16019 #endif
16021 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16023 cat >>confdefs.h <<_ACEOF
16024 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16025 _ACEOF
16029 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16030 #ifdef HAVE_SYS_PARAM_H
16031 # include <sys/param.h>
16032 #endif
16033 #ifdef HAVE_SYS_MOUNT_H
16034 # include <sys/mount.h>
16035 #endif
16036 #ifdef HAVE_SYS_VFS_H
16037 # include <sys/vfs.h>
16038 #endif
16039 #ifdef HAVE_SYS_STATFS_H
16040 # include <sys/statfs.h>
16041 #endif
16043 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16045 cat >>confdefs.h <<_ACEOF
16046 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16047 _ACEOF
16051 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16052 #ifdef HAVE_SYS_PARAM_H
16053 # include <sys/param.h>
16054 #endif
16055 #ifdef HAVE_SYS_MOUNT_H
16056 # include <sys/mount.h>
16057 #endif
16058 #ifdef HAVE_SYS_VFS_H
16059 # include <sys/vfs.h>
16060 #endif
16061 #ifdef HAVE_SYS_STATFS_H
16062 # include <sys/statfs.h>
16063 #endif
16065 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16067 cat >>confdefs.h <<_ACEOF
16068 #define HAVE_STRUCT_STATFS_F_FFREE 1
16069 _ACEOF
16073 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16074 #ifdef HAVE_SYS_PARAM_H
16075 # include <sys/param.h>
16076 #endif
16077 #ifdef HAVE_SYS_MOUNT_H
16078 # include <sys/mount.h>
16079 #endif
16080 #ifdef HAVE_SYS_VFS_H
16081 # include <sys/vfs.h>
16082 #endif
16083 #ifdef HAVE_SYS_STATFS_H
16084 # include <sys/statfs.h>
16085 #endif
16087 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16089 cat >>confdefs.h <<_ACEOF
16090 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16091 _ACEOF
16095 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16096 #ifdef HAVE_SYS_PARAM_H
16097 # include <sys/param.h>
16098 #endif
16099 #ifdef HAVE_SYS_MOUNT_H
16100 # include <sys/mount.h>
16101 #endif
16102 #ifdef HAVE_SYS_VFS_H
16103 # include <sys/vfs.h>
16104 #endif
16105 #ifdef HAVE_SYS_STATFS_H
16106 # include <sys/statfs.h>
16107 #endif
16109 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16111 cat >>confdefs.h <<_ACEOF
16112 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16113 _ACEOF
16119 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16120 #include <sys/statvfs.h>
16121 #endif
16123 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16125 cat >>confdefs.h <<_ACEOF
16126 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16127 _ACEOF
16133 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16134 #include <dirent.h>
16135 #endif
16137 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16139 cat >>confdefs.h <<_ACEOF
16140 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16141 _ACEOF
16147 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16148 #ifdef HAVE_SYS_SOCKET_H
16149 # include <sys/socket.h>
16150 #endif
16151 #ifdef HAVE_SYS_UN_H
16152 # include <sys/un.h>
16153 #endif
16155 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16157 cat >>confdefs.h <<_ACEOF
16158 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16159 _ACEOF
16163 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16164 #ifdef HAVE_SYS_SOCKET_H
16165 # include <sys/socket.h>
16166 #endif
16167 #ifdef HAVE_SYS_UN_H
16168 # include <sys/un.h>
16169 #endif
16171 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16173 cat >>confdefs.h <<_ACEOF
16174 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16175 _ACEOF
16179 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16180 #ifdef HAVE_SYS_SOCKET_H
16181 # include <sys/socket.h>
16182 #endif
16183 #ifdef HAVE_SYS_UN_H
16184 # include <sys/un.h>
16185 #endif
16187 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16189 cat >>confdefs.h <<_ACEOF
16190 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16191 _ACEOF
16197 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16198 #ifdef HAVE_SCSI_SG_H
16199 #include <scsi/sg.h>
16200 #endif
16202 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16204 cat >>confdefs.h <<_ACEOF
16205 #define HAVE_SCSIREQ_T_CMD 1
16206 _ACEOF
16210 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>
16211 #ifdef HAVE_SCSI_SG_H
16212 #include <scsi/sg.h>
16213 #endif
16215 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16217 cat >>confdefs.h <<_ACEOF
16218 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16219 _ACEOF
16225 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16227 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16229 cat >>confdefs.h <<_ACEOF
16230 #define HAVE_SIGINFO_T_SI_FD 1
16231 _ACEOF
16237 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16238 #ifdef HAVE_SYS_MTIO_H
16239 #include <sys/mtio.h>
16240 #endif
16242 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16244 cat >>confdefs.h <<_ACEOF
16245 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16246 _ACEOF
16250 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16251 #ifdef HAVE_SYS_MTIO_H
16252 #include <sys/mtio.h>
16253 #endif
16255 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16257 cat >>confdefs.h <<_ACEOF
16258 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16259 _ACEOF
16263 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16264 #ifdef HAVE_SYS_MTIO_H
16265 #include <sys/mtio.h>
16266 #endif
16268 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16270 cat >>confdefs.h <<_ACEOF
16271 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16272 _ACEOF
16278 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16279 #include <getopt.h>
16280 #endif
16282 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16284 cat >>confdefs.h <<_ACEOF
16285 #define HAVE_STRUCT_OPTION_NAME 1
16286 _ACEOF
16292 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16293 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16295 cat >>confdefs.h <<_ACEOF
16296 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16297 _ACEOF
16301 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16302 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16304 cat >>confdefs.h <<_ACEOF
16305 #define HAVE_STRUCT_STAT_ST_MTIM 1
16306 _ACEOF
16310 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16311 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16313 cat >>confdefs.h <<_ACEOF
16314 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16315 _ACEOF
16319 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16320 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16322 cat >>confdefs.h <<_ACEOF
16323 #define HAVE_STRUCT_STAT_ST_CTIM 1
16324 _ACEOF
16328 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16329 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16331 cat >>confdefs.h <<_ACEOF
16332 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16333 _ACEOF
16337 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16338 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16340 cat >>confdefs.h <<_ACEOF
16341 #define HAVE_STRUCT_STAT_ST_ATIM 1
16342 _ACEOF
16346 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16347 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16349 cat >>confdefs.h <<_ACEOF
16350 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16351 _ACEOF
16355 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16356 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16358 cat >>confdefs.h <<_ACEOF
16359 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16360 _ACEOF
16364 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16365 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16367 cat >>confdefs.h <<_ACEOF
16368 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16369 _ACEOF
16373 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16374 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16376 cat >>confdefs.h <<_ACEOF
16377 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16378 _ACEOF
16382 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16383 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16385 cat >>confdefs.h <<_ACEOF
16386 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16387 _ACEOF
16391 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16392 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16394 cat >>confdefs.h <<_ACEOF
16395 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16396 _ACEOF
16402 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
16403 #include <sys/types.h>
16404 #endif
16405 #ifdef HAVE_NETINET_IN_H
16406 #include <netinet/in.h>
16407 #endif
16409 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16411 cat >>confdefs.h <<_ACEOF
16412 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16413 _ACEOF
16419 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16420 #include <resolv.h>
16421 #endif
16423 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16425 cat >>confdefs.h <<_ACEOF
16426 #define HAVE_STRUCT___RES_STATE 1
16427 _ACEOF
16433 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
16434 #include <resolv.h>
16435 #endif
16437 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16439 cat >>confdefs.h <<_ACEOF
16440 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16441 _ACEOF
16447 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16448 #include <sys/types.h>
16449 #endif
16450 #ifdef HAVE_NETINET_IN_H
16451 # include <netinet/in.h>
16452 #endif
16453 #ifdef HAVE_ARPA_NAMESER_H
16454 # include <arpa/nameser.h>
16455 #endif
16457 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16459 cat >>confdefs.h <<_ACEOF
16460 #define HAVE_NS_MSG__MSG_PTR 1
16461 _ACEOF
16467 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16468 #include <sys/types.h>
16469 #endif
16470 #ifdef HAVE_NETINET_IP_H
16471 #include <netinet/ip.h>
16472 #endif
16473 #ifdef HAVE_NETINET_IP_ICMP_H
16474 #include <netinet/ip_icmp.h>
16475 #endif
16476 #ifdef HAVE_NETINET_ICMP_VAR_H
16477 #include <netinet/icmp_var.h>
16478 #endif
16480 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16482 cat >>confdefs.h <<_ACEOF
16483 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16484 _ACEOF
16490 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16491 #include <sys/types.h>
16492 #endif
16493 #ifdef HAVE_ALIAS_H
16494 #include <alias.h>
16495 #endif
16496 #ifdef HAVE_SYS_SOCKET_H
16497 #include <sys/socket.h>
16498 #endif
16499 #ifdef HAVE_SYS_SOCKETVAR_H
16500 #include <sys/socketvar.h>
16501 #endif
16502 #ifdef HAVE_SYS_TIMEOUT_H
16503 #include <sys/timeout.h>
16504 #endif
16505 #ifdef HAVE_NETINET_IN_H
16506 #include <netinet/in.h>
16507 #endif
16508 #ifdef HAVE_NETINET_IN_SYSTM_H
16509 #include <netinet/in_systm.h>
16510 #endif
16511 #ifdef HAVE_NETINET_IP_H
16512 #include <netinet/ip.h>
16513 #endif
16514 #ifdef HAVE_NETINET_IP_VAR_H
16515 #include <netinet/ip_var.h>
16516 #endif
16517 #ifdef HAVE_NETINET_IP_ICMP_H
16518 #include <netinet/ip_icmp.h>
16519 #endif
16520 #ifdef HAVE_NETINET_ICMP_VAR_H
16521 #include <netinet/icmp_var.h>
16522 #endif
16524 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16526 cat >>confdefs.h <<_ACEOF
16527 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16528 _ACEOF
16534 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16535 #include <sys/types.h>
16536 #endif
16537 #ifdef HAVE_SYS_SOCKETVAR_H
16538 #include <sys/socketvar.h>
16539 #endif
16540 #ifdef HAVE_NETINET_IN_H
16541 #include <netinet/in.h>
16542 #endif
16543 #ifdef HAVE_NETINET_IP_VAR_H
16544 #include <netinet/ip_var.h>
16545 #endif
16547 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16549 cat >>confdefs.h <<_ACEOF
16550 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16551 _ACEOF
16557 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
16558 #include <netinet/ip_var.h>
16559 #endif
16561 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16563 cat >>confdefs.h <<_ACEOF
16564 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16565 _ACEOF
16571 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16572 #include <sys/types.h>
16573 #endif
16574 #ifdef HAVE_SYS_SOCKETVAR_H
16575 #include <sys/socketvar.h>
16576 #endif
16577 #ifdef HAVE_NETINET_IN_H
16578 #include <netinet/in.h>
16579 #endif
16580 #ifdef HAVE_NETINET_TCP_H
16581 #include <netinet/tcp.h>
16582 #endif
16583 #ifdef HAVE_NETINET_TCP_VAR_H
16584 #include <netinet/tcp_var.h>
16585 #endif
16587 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16589 cat >>confdefs.h <<_ACEOF
16590 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16591 _ACEOF
16597 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
16598 #include <netinet/tcp_var.h>
16599 #endif
16601 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16603 cat >>confdefs.h <<_ACEOF
16604 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16605 _ACEOF
16611 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16612 #include <sys/types.h>
16613 #endif
16614 #ifdef HAVE_NETINET_IN_H
16615 #include <netinet/in.h>
16616 #endif
16617 #ifdef HAVE_NETINET_IP_VAR_H
16618 #include <netinet/ip_var.h>
16619 #endif
16620 #ifdef HAVE_NETINET_UDP_H
16621 #include <netinet/udp.h>
16622 #endif
16623 #ifdef HAVE_NETINET_UDP_VAR_H
16624 #include <netinet/udp_var.h>
16625 #endif
16627 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16629 cat >>confdefs.h <<_ACEOF
16630 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16631 _ACEOF
16637 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16638 #include <sys/types.h>
16639 #endif
16640 #ifdef HAVE_NET_IF_H
16641 # include <net/if.h>
16642 #endif
16644 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16646 cat >>confdefs.h <<_ACEOF
16647 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16648 _ACEOF
16654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16655 $as_echo_n "checking for timezone variable... " >&6; }
16656 if ${ac_cv_have_timezone+:} false; then :
16657 $as_echo_n "(cached) " >&6
16658 else
16659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16660 /* end confdefs.h. */
16661 #include <time.h>
16663 main ()
16665 timezone = 1
16667 return 0;
16669 _ACEOF
16670 if ac_fn_c_try_link "$LINENO"; then :
16671 ac_cv_have_timezone="yes"
16672 else
16673 ac_cv_have_timezone="no"
16675 rm -f core conftest.err conftest.$ac_objext \
16676 conftest$ac_exeext conftest.$ac_ext
16678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16679 $as_echo "$ac_cv_have_timezone" >&6; }
16680 if test "$ac_cv_have_timezone" = "yes"
16681 then
16683 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16687 $as_echo_n "checking for daylight variable... " >&6; }
16688 if ${ac_cv_have_daylight+:} false; then :
16689 $as_echo_n "(cached) " >&6
16690 else
16691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16692 /* end confdefs.h. */
16693 #include <time.h>
16695 main ()
16697 daylight = 1
16699 return 0;
16701 _ACEOF
16702 if ac_fn_c_try_link "$LINENO"; then :
16703 ac_cv_have_daylight="yes"
16704 else
16705 ac_cv_have_daylight="no"
16707 rm -f core conftest.err conftest.$ac_objext \
16708 conftest$ac_exeext conftest.$ac_ext
16710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16711 $as_echo "$ac_cv_have_daylight" >&6; }
16712 if test "$ac_cv_have_daylight" = "yes"
16713 then
16715 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16719 ac_save_LIBS="$LIBS"
16720 LIBS="$LIBS -lm"
16721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16722 $as_echo_n "checking for isfinite... " >&6; }
16723 if ${ac_cv_have_isfinite+:} false; then :
16724 $as_echo_n "(cached) " >&6
16725 else
16726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16727 /* end confdefs.h. */
16728 #define _GNU_SOURCE
16729 #include <math.h>
16731 main ()
16733 float f = 0.0; return isfinite(f)
16735 return 0;
16737 _ACEOF
16738 if ac_fn_c_try_link "$LINENO"; then :
16739 ac_cv_have_isfinite="yes"
16740 else
16741 ac_cv_have_isfinite="no"
16743 rm -f core conftest.err conftest.$ac_objext \
16744 conftest$ac_exeext conftest.$ac_ext
16746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16747 $as_echo "$ac_cv_have_isfinite" >&6; }
16748 if test "$ac_cv_have_isfinite" = "yes"
16749 then
16751 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16756 $as_echo_n "checking for isinf... " >&6; }
16757 if ${ac_cv_have_isinf+:} false; then :
16758 $as_echo_n "(cached) " >&6
16759 else
16760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16761 /* end confdefs.h. */
16762 #include <math.h>
16764 main ()
16766 float f = 0.0; return isinf(f)
16768 return 0;
16770 _ACEOF
16771 if ac_fn_c_try_link "$LINENO"; then :
16772 ac_cv_have_isinf="yes"
16773 else
16774 ac_cv_have_isinf="no"
16776 rm -f core conftest.err conftest.$ac_objext \
16777 conftest$ac_exeext conftest.$ac_ext
16779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16780 $as_echo "$ac_cv_have_isinf" >&6; }
16781 if test "$ac_cv_have_isinf" = "yes"
16782 then
16784 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16789 $as_echo_n "checking for isnan... " >&6; }
16790 if ${ac_cv_have_isnan+:} false; then :
16791 $as_echo_n "(cached) " >&6
16792 else
16793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16794 /* end confdefs.h. */
16795 #include <math.h>
16797 main ()
16799 float f = 0.0; return isnan(f)
16801 return 0;
16803 _ACEOF
16804 if ac_fn_c_try_link "$LINENO"; then :
16805 ac_cv_have_isnan="yes"
16806 else
16807 ac_cv_have_isnan="no"
16809 rm -f core conftest.err conftest.$ac_objext \
16810 conftest$ac_exeext conftest.$ac_ext
16812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16813 $as_echo "$ac_cv_have_isnan" >&6; }
16814 if test "$ac_cv_have_isnan" = "yes"
16815 then
16817 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16821 for ac_func in \
16822 cbrt \
16823 cbrtf \
16824 erf \
16825 erff \
16826 exp2 \
16827 exp2f \
16828 llrint \
16829 llrintf \
16830 llround \
16831 llroundf \
16832 log2 \
16833 log2f \
16834 lrint \
16835 lrintf \
16836 lround \
16837 lroundf \
16838 rint \
16839 rintf \
16840 round \
16841 roundf \
16842 trunc \
16843 truncf
16845 do :
16846 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16847 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16848 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16849 cat >>confdefs.h <<_ACEOF
16850 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16851 _ACEOF
16854 done
16856 LIBS="$ac_save_LIBS"
16858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16859 $as_echo_n "checking for __builtin_clz... " >&6; }
16860 if ${ac_cv_have___builtin_clz+:} false; then :
16861 $as_echo_n "(cached) " >&6
16862 else
16863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16864 /* end confdefs.h. */
16867 main ()
16869 return __builtin_clz(1)
16871 return 0;
16873 _ACEOF
16874 if ac_fn_c_try_link "$LINENO"; then :
16875 ac_cv_have___builtin_clz="yes"
16876 else
16877 ac_cv_have___builtin_clz="no"
16879 rm -f core conftest.err conftest.$ac_objext \
16880 conftest$ac_exeext conftest.$ac_ext
16882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16883 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16884 if test "$ac_cv_have___builtin_clz" = "yes"
16885 then
16887 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16892 case $host_cpu in
16893 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16894 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16895 if ${ac_cv_cpp_def___i386__+:} false; then :
16896 $as_echo_n "(cached) " >&6
16897 else
16898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16899 /* end confdefs.h. */
16900 #ifndef __i386__
16902 #endif
16903 _ACEOF
16904 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16905 $EGREP "yes" >/dev/null 2>&1; then :
16906 ac_cv_cpp_def___i386__=yes
16907 else
16908 ac_cv_cpp_def___i386__=no
16910 rm -f conftest*
16913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16914 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16915 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16916 CFLAGS="$CFLAGS -D__i386__"
16917 LINTFLAGS="$LINTFLAGS -D__i386__"
16918 fi ;;
16919 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16920 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16921 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16922 $as_echo_n "(cached) " >&6
16923 else
16924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16925 /* end confdefs.h. */
16926 #ifndef __x86_64__
16928 #endif
16929 _ACEOF
16930 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16931 $EGREP "yes" >/dev/null 2>&1; then :
16932 ac_cv_cpp_def___x86_64__=yes
16933 else
16934 ac_cv_cpp_def___x86_64__=no
16936 rm -f conftest*
16939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16940 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16941 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16942 CFLAGS="$CFLAGS -D__x86_64__"
16943 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16944 fi ;;
16945 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16946 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16947 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16948 $as_echo_n "(cached) " >&6
16949 else
16950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16951 /* end confdefs.h. */
16952 #ifndef __sparc64__
16954 #endif
16955 _ACEOF
16956 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16957 $EGREP "yes" >/dev/null 2>&1; then :
16958 ac_cv_cpp_def___sparc64__=yes
16959 else
16960 ac_cv_cpp_def___sparc64__=no
16962 rm -f conftest*
16965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16966 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16967 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16968 CFLAGS="$CFLAGS -D__sparc64__"
16969 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16970 fi ;;
16971 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16972 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16973 if ${ac_cv_cpp_def___sparc__+:} false; then :
16974 $as_echo_n "(cached) " >&6
16975 else
16976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16977 /* end confdefs.h. */
16978 #ifndef __sparc__
16980 #endif
16981 _ACEOF
16982 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16983 $EGREP "yes" >/dev/null 2>&1; then :
16984 ac_cv_cpp_def___sparc__=yes
16985 else
16986 ac_cv_cpp_def___sparc__=no
16988 rm -f conftest*
16991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16992 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16993 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16994 CFLAGS="$CFLAGS -D__sparc__"
16995 LINTFLAGS="$LINTFLAGS -D__sparc__"
16996 fi ;;
16997 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16998 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16999 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17000 $as_echo_n "(cached) " >&6
17001 else
17002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17003 /* end confdefs.h. */
17004 #ifndef __powerpc64__
17006 #endif
17007 _ACEOF
17008 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17009 $EGREP "yes" >/dev/null 2>&1; then :
17010 ac_cv_cpp_def___powerpc64__=yes
17011 else
17012 ac_cv_cpp_def___powerpc64__=no
17014 rm -f conftest*
17017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17018 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17019 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17020 CFLAGS="$CFLAGS -D__powerpc64__"
17021 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17022 fi ;;
17023 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17024 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17025 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17026 $as_echo_n "(cached) " >&6
17027 else
17028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17029 /* end confdefs.h. */
17030 #ifndef __powerpc__
17032 #endif
17033 _ACEOF
17034 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17035 $EGREP "yes" >/dev/null 2>&1; then :
17036 ac_cv_cpp_def___powerpc__=yes
17037 else
17038 ac_cv_cpp_def___powerpc__=no
17040 rm -f conftest*
17043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17044 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17045 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17046 CFLAGS="$CFLAGS -D__powerpc__"
17047 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17048 fi ;;
17049 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17050 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17051 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17052 $as_echo_n "(cached) " >&6
17053 else
17054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17055 /* end confdefs.h. */
17056 #ifndef __aarch64__
17058 #endif
17059 _ACEOF
17060 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17061 $EGREP "yes" >/dev/null 2>&1; then :
17062 ac_cv_cpp_def___aarch64__=yes
17063 else
17064 ac_cv_cpp_def___aarch64__=no
17066 rm -f conftest*
17069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17070 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17071 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17072 CFLAGS="$CFLAGS -D__aarch64__"
17073 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17074 fi ;;
17075 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17076 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17077 if ${ac_cv_cpp_def___arm__+:} false; then :
17078 $as_echo_n "(cached) " >&6
17079 else
17080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17081 /* end confdefs.h. */
17082 #ifndef __arm__
17084 #endif
17085 _ACEOF
17086 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17087 $EGREP "yes" >/dev/null 2>&1; then :
17088 ac_cv_cpp_def___arm__=yes
17089 else
17090 ac_cv_cpp_def___arm__=no
17092 rm -f conftest*
17095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17096 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17097 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17098 CFLAGS="$CFLAGS -D__arm__"
17099 LINTFLAGS="$LINTFLAGS -D__arm__"
17100 fi ;;
17101 esac
17103 case $host_vendor in
17104 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17105 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17106 if ${ac_cv_cpp_def___sun__+:} false; then :
17107 $as_echo_n "(cached) " >&6
17108 else
17109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17110 /* end confdefs.h. */
17111 #ifndef __sun__
17113 #endif
17114 _ACEOF
17115 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17116 $EGREP "yes" >/dev/null 2>&1; then :
17117 ac_cv_cpp_def___sun__=yes
17118 else
17119 ac_cv_cpp_def___sun__=no
17121 rm -f conftest*
17124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17125 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17126 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17127 CFLAGS="$CFLAGS -D__sun__"
17128 LINTFLAGS="$LINTFLAGS -D__sun__"
17129 fi ;;
17130 esac
17136 ac_config_commands="$ac_config_commands include/stamp-h"
17138 $as_echo_n "creating Makefile rules..." >&6
17140 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17141 SOCKET_LIBS = $SOCKET_LIBS
17142 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17143 IOKIT_LIBS = $IOKIT_LIBS
17144 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17145 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17146 CORESERVICES_LIBS = $CORESERVICES_LIBS
17147 APPKIT_LIBS = $APPKIT_LIBS
17148 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17149 SECURITY_LIBS = $SECURITY_LIBS
17150 COREAUDIO_LIBS = $COREAUDIO_LIBS
17151 OPENAL_LIBS = $OPENAL_LIBS
17152 OPENCL_LIBS = $OPENCL_LIBS
17153 QUICKTIME_LIBS = $QUICKTIME_LIBS
17154 CARBON_LIBS = $CARBON_LIBS
17155 PTHREAD_LIBS = $PTHREAD_LIBS
17156 X_CFLAGS = $X_CFLAGS
17157 X_PRE_LIBS = $X_PRE_LIBS
17158 X_LIBS = $X_LIBS
17159 X_EXTRA_LIBS = $X_EXTRA_LIBS
17160 PCAP_LIBS = $PCAP_LIBS
17161 XML2_CFLAGS = $XML2_CFLAGS
17162 XML2_LIBS = $XML2_LIBS
17163 XSLT_CFLAGS = $XSLT_CFLAGS
17164 XSLT_LIBS = $XSLT_LIBS
17165 DBUS_CFLAGS = $DBUS_CFLAGS
17166 DBUS_LIBS = $DBUS_LIBS
17167 HAL_CFLAGS = $HAL_CFLAGS
17168 HAL_LIBS = $HAL_LIBS
17169 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17170 GNUTLS_LIBS = $GNUTLS_LIBS
17171 SANE_CFLAGS = $SANE_CFLAGS
17172 SANE_LIBS = $SANE_LIBS
17173 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17174 GPHOTO2_LIBS = $GPHOTO2_LIBS
17175 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17176 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17177 RESOLV_LIBS = $RESOLV_LIBS
17178 LCMS2_CFLAGS = $LCMS2_CFLAGS
17179 LCMS2_LIBS = $LCMS2_LIBS
17180 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17181 FREETYPE_LIBS = $FREETYPE_LIBS
17182 Z_LIBS = $Z_LIBS
17183 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17184 PULSE_CFLAGS = $PULSE_CFLAGS
17185 PULSE_LIBS = $PULSE_LIBS
17186 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17187 GSTREAMER_LIBS = $GSTREAMER_LIBS
17188 ALSA_LIBS = $ALSA_LIBS
17189 OSS4_CFLAGS = $OSS4_CFLAGS
17190 CAPI20_CFLAGS = $CAPI20_CFLAGS
17191 CAPI20_LIBS = $CAPI20_LIBS
17192 CUPS_CFLAGS = $CUPS_CFLAGS
17193 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17194 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17195 JPEG_CFLAGS = $JPEG_CFLAGS
17196 JPEG_LIBS = $JPEG_LIBS
17197 PNG_CFLAGS = $PNG_CFLAGS
17198 PNG_LIBS = $PNG_LIBS
17199 TIFF_CFLAGS = $TIFF_CFLAGS
17200 TIFF_LIBS = $TIFF_LIBS
17201 MPG123_CFLAGS = $MPG123_CFLAGS
17202 MPG123_LIBS = $MPG123_LIBS
17203 KSTAT_LIBS = $KSTAT_LIBS
17204 PROCSTAT_LIBS = $PROCSTAT_LIBS
17205 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17206 DL_LIBS = $DL_LIBS
17207 POLL_LIBS = $POLL_LIBS
17208 RT_LIBS = $RT_LIBS
17209 LDAP_LIBS = $LDAP_LIBS
17214 wine_fn_append_rule "
17215 # Rules automatically generated by configure
17217 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17219 .INIT: Makefile
17220 .MAKEFILEDEPS:
17221 all: Makefile
17222 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17223 @./config.status Make.tmp Makefile
17224 depend: \$(MAKEDEP) dummy
17225 \$(MAKEDEP)"
17227 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
17228 .gitignore: config.status
17229 @./config.status .gitignore"
17231 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17232 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17234 if test "x$enable_fonts" != xno; then
17235 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17236 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17237 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17238 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17239 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17240 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17242 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17243 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17244 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
17245 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
17246 ac_config_links="$ac_config_links wine:tools/winewrapper"
17247 wine_fn_config_symlink wine
17248 if test "x$enable_win64" != xno; then
17249 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17250 wine_fn_config_symlink wine64
17253 wine_fn_config_dll acledit enable_acledit
17254 wine_fn_config_dll aclui enable_aclui implib
17255 wine_fn_config_dll activeds enable_activeds implib
17256 wine_fn_config_dll actxprxy enable_actxprxy clean
17257 wine_fn_config_lib adsiid
17258 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17259 wine_fn_config_test dlls/advapi32/tests advapi32_test
17260 wine_fn_config_dll advpack enable_advpack implib
17261 wine_fn_config_test dlls/advpack/tests advpack_test
17262 wine_fn_config_dll amstream enable_amstream clean
17263 wine_fn_config_test dlls/amstream/tests amstream_test
17264 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17265 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17266 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17267 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17268 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17269 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17270 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17271 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17272 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17273 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17274 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17275 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17276 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17277 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17278 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17279 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17280 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17281 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17282 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17283 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17284 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17285 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17286 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17287 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17288 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17289 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17290 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17291 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17292 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17293 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17294 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17295 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17296 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17297 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17298 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17299 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17300 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17301 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17302 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17303 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17304 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17305 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17306 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17307 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17308 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17309 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17310 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17311 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17312 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17313 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17314 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17315 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17316 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17317 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17318 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17319 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17320 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17321 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17322 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17323 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17324 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17325 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17326 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17327 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17328 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17329 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17330 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17331 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17332 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17333 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17334 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17335 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17336 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17337 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17338 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17339 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17340 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17341 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17342 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17343 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17344 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17345 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17346 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17347 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17348 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17349 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17350 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17351 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17352 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17353 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17354 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17355 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17356 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17357 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17358 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17359 wine_fn_config_dll apphelp enable_apphelp
17360 wine_fn_config_test dlls/apphelp/tests apphelp_test
17361 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17362 wine_fn_config_dll atl enable_atl clean,implib
17363 wine_fn_config_test dlls/atl/tests atl_test
17364 wine_fn_config_dll atl100 enable_atl100 clean,implib
17365 wine_fn_config_test dlls/atl100/tests atl100_test
17366 wine_fn_config_dll atl110 enable_atl110 clean
17367 wine_fn_config_dll atl80 enable_atl80 clean,implib
17368 wine_fn_config_test dlls/atl80/tests atl80_test
17369 wine_fn_config_dll atl90 enable_atl90 clean
17370 wine_fn_config_dll authz enable_authz
17371 wine_fn_config_dll avicap32 enable_avicap32 implib
17372 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
17373 wine_fn_config_test dlls/avifil32/tests avifil32_test
17374 wine_fn_config_dll avifile.dll16 enable_win16
17375 wine_fn_config_dll avrt enable_avrt implib
17376 wine_fn_config_dll bcrypt enable_bcrypt implib
17377 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17378 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17379 wine_fn_config_dll browseui enable_browseui clean,po
17380 wine_fn_config_test dlls/browseui/tests browseui_test
17381 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17382 wine_fn_config_dll cabinet enable_cabinet implib
17383 wine_fn_config_test dlls/cabinet/tests cabinet_test
17384 wine_fn_config_dll capi2032 enable_capi2032 implib
17385 wine_fn_config_dll cards enable_cards implib
17386 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17387 wine_fn_config_dll clusapi enable_clusapi implib
17388 wine_fn_config_dll combase enable_combase
17389 wine_fn_config_test dlls/combase/tests combase_test
17390 wine_fn_config_dll comcat enable_comcat
17391 wine_fn_config_test dlls/comcat/tests comcat_test
17392 wine_fn_config_dll comctl32 enable_comctl32 implib,po
17393 wine_fn_config_test dlls/comctl32/tests comctl32_test
17394 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
17395 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17396 wine_fn_config_dll comm.drv16 enable_win16
17397 wine_fn_config_dll commdlg.dll16 enable_win16
17398 wine_fn_config_dll compobj.dll16 enable_win16
17399 wine_fn_config_dll compstui enable_compstui implib
17400 wine_fn_config_dll comsvcs enable_comsvcs implib
17401 wine_fn_config_dll connect enable_connect
17402 wine_fn_config_dll credui enable_credui implib,po
17403 wine_fn_config_test dlls/credui/tests credui_test
17404 wine_fn_config_dll crtdll enable_crtdll implib
17405 wine_fn_config_dll crypt32 enable_crypt32 implib,po
17406 wine_fn_config_test dlls/crypt32/tests crypt32_test
17407 wine_fn_config_dll cryptdlg enable_cryptdlg po
17408 wine_fn_config_dll cryptdll enable_cryptdll implib
17409 wine_fn_config_dll cryptext enable_cryptext
17410 wine_fn_config_dll cryptnet enable_cryptnet implib
17411 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17412 wine_fn_config_dll cryptui enable_cryptui implib,po
17413 wine_fn_config_test dlls/cryptui/tests cryptui_test
17414 wine_fn_config_dll ctapi32 enable_ctapi32
17415 wine_fn_config_dll ctl3d.dll16 enable_win16
17416 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17417 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17418 wine_fn_config_dll d2d1 enable_d2d1 implib
17419 wine_fn_config_test dlls/d2d1/tests d2d1_test
17420 wine_fn_config_dll d3d10 enable_d3d10 implib
17421 wine_fn_config_test dlls/d3d10/tests d3d10_test
17422 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17423 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17424 wine_fn_config_dll d3d10core enable_d3d10core implib
17425 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17426 wine_fn_config_dll d3d11 enable_d3d11 implib
17427 wine_fn_config_test dlls/d3d11/tests d3d11_test
17428 wine_fn_config_dll d3d8 enable_d3d8 implib
17429 wine_fn_config_test dlls/d3d8/tests d3d8_test
17430 wine_fn_config_dll d3d9 enable_d3d9 implib
17431 wine_fn_config_test dlls/d3d9/tests d3d9_test
17432 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17433 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17434 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17435 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17436 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17437 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17438 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17439 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17440 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17441 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17442 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17443 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17444 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17445 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17446 wine_fn_config_dll d3dim enable_d3dim implib
17447 wine_fn_config_dll d3drm enable_d3drm implib
17448 wine_fn_config_test dlls/d3drm/tests d3drm_test
17449 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17450 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17451 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17452 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17453 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17454 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17455 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17456 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17457 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17458 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17459 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17460 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17461 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17462 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17463 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17464 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17465 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17466 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17467 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17468 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17469 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17470 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17471 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17472 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17473 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17474 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17475 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17476 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17477 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17478 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17479 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17480 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17481 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17482 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17483 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17484 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17485 wine_fn_config_dll davclnt enable_davclnt
17486 wine_fn_config_dll dbgeng enable_dbgeng implib
17487 wine_fn_config_dll dbghelp enable_dbghelp implib
17488 wine_fn_config_dll dciman32 enable_dciman32 implib
17489 wine_fn_config_dll ddeml.dll16 enable_win16
17490 wine_fn_config_dll ddraw enable_ddraw clean,implib
17491 wine_fn_config_test dlls/ddraw/tests ddraw_test
17492 wine_fn_config_dll ddrawex enable_ddrawex clean
17493 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17494 wine_fn_config_dll devenum enable_devenum clean,po
17495 wine_fn_config_test dlls/devenum/tests devenum_test
17496 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17497 wine_fn_config_dll difxapi enable_difxapi
17498 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
17499 wine_fn_config_test dlls/dinput/tests dinput_test
17500 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17501 wine_fn_config_test dlls/dinput8/tests dinput8_test
17502 wine_fn_config_dll dispdib.dll16 enable_win16
17503 wine_fn_config_dll dispex enable_dispex clean
17504 wine_fn_config_test dlls/dispex/tests dispex_test
17505 wine_fn_config_dll display.drv16 enable_win16
17506 wine_fn_config_dll dmband enable_dmband clean
17507 wine_fn_config_test dlls/dmband/tests dmband_test
17508 wine_fn_config_dll dmcompos enable_dmcompos clean
17509 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17510 wine_fn_config_dll dmime enable_dmime clean
17511 wine_fn_config_test dlls/dmime/tests dmime_test
17512 wine_fn_config_dll dmloader enable_dmloader clean
17513 wine_fn_config_test dlls/dmloader/tests dmloader_test
17514 wine_fn_config_dll dmscript enable_dmscript clean
17515 wine_fn_config_test dlls/dmscript/tests dmscript_test
17516 wine_fn_config_dll dmstyle enable_dmstyle clean
17517 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17518 wine_fn_config_dll dmsynth enable_dmsynth clean
17519 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17520 wine_fn_config_dll dmusic enable_dmusic clean
17521 wine_fn_config_test dlls/dmusic/tests dmusic_test
17522 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17523 wine_fn_config_dll dnsapi enable_dnsapi implib
17524 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17525 wine_fn_config_dll dplay enable_dplay implib
17526 wine_fn_config_dll dplayx enable_dplayx clean,implib
17527 wine_fn_config_test dlls/dplayx/tests dplayx_test
17528 wine_fn_config_dll dpnaddr enable_dpnaddr
17529 wine_fn_config_dll dpnet enable_dpnet clean,implib
17530 wine_fn_config_test dlls/dpnet/tests dpnet_test
17531 wine_fn_config_dll dpnhpast enable_dpnhpast
17532 wine_fn_config_dll dpnlobby enable_dpnlobby
17533 wine_fn_config_dll dpvoice enable_dpvoice clean
17534 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17535 wine_fn_config_dll dpwsockx enable_dpwsockx
17536 wine_fn_config_dll drmclien enable_drmclien
17537 wine_fn_config_dll dsound enable_dsound clean,implib
17538 wine_fn_config_test dlls/dsound/tests dsound_test
17539 wine_fn_config_dll dssenh enable_dssenh
17540 wine_fn_config_test dlls/dssenh/tests dssenh_test
17541 wine_fn_config_dll dswave enable_dswave clean
17542 wine_fn_config_test dlls/dswave/tests dswave_test
17543 wine_fn_config_dll dwmapi enable_dwmapi implib
17544 wine_fn_config_dll dwrite enable_dwrite implib
17545 wine_fn_config_test dlls/dwrite/tests dwrite_test
17546 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17547 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17548 wine_fn_config_lib dxerr8
17549 wine_fn_config_lib dxerr9
17550 wine_fn_config_dll dxgi enable_dxgi implib
17551 wine_fn_config_test dlls/dxgi/tests dxgi_test
17552 wine_fn_config_lib dxguid
17553 wine_fn_config_dll dxva2 enable_dxva2
17554 wine_fn_config_dll esent enable_esent
17555 wine_fn_config_dll evr enable_evr
17556 wine_fn_config_dll explorerframe enable_explorerframe clean
17557 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17558 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17559 wine_fn_config_dll faultrep enable_faultrep implib
17560 wine_fn_config_test dlls/faultrep/tests faultrep_test
17561 wine_fn_config_dll fltlib enable_fltlib
17562 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17563 wine_fn_config_dll fntcache enable_fntcache
17564 wine_fn_config_dll fontsub enable_fontsub
17565 wine_fn_config_dll fusion enable_fusion
17566 wine_fn_config_test dlls/fusion/tests fusion_test
17567 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17568 wine_fn_config_dll gameux enable_gameux clean
17569 wine_fn_config_test dlls/gameux/tests gameux_test
17570 wine_fn_config_dll gdi.exe16 enable_win16
17571 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17572 wine_fn_config_test dlls/gdi32/tests gdi32_test
17573 wine_fn_config_dll gdiplus enable_gdiplus implib
17574 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17575 wine_fn_config_dll glu32 enable_glu32 implib
17576 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17577 wine_fn_config_dll gpkcsp enable_gpkcsp
17578 wine_fn_config_dll hal enable_hal
17579 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17580 wine_fn_config_dll hid enable_hid implib
17581 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17582 wine_fn_config_dll hlink enable_hlink clean,implib
17583 wine_fn_config_test dlls/hlink/tests hlink_test
17584 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17585 wine_fn_config_dll httpapi enable_httpapi
17586 wine_fn_config_dll iccvid enable_iccvid po
17587 wine_fn_config_dll icmp enable_icmp
17588 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17589 wine_fn_config_test dlls/ieframe/tests ieframe_test
17590 wine_fn_config_dll ifsmgr.vxd enable_win16
17591 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17592 wine_fn_config_dll imagehlp enable_imagehlp implib
17593 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17594 wine_fn_config_dll imm.dll16 enable_win16
17595 wine_fn_config_dll imm32 enable_imm32 implib
17596 wine_fn_config_test dlls/imm32/tests imm32_test
17597 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17598 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17599 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17600 wine_fn_config_dll inetmib1 enable_inetmib1
17601 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17602 wine_fn_config_dll infosoft enable_infosoft clean
17603 wine_fn_config_test dlls/infosoft/tests infosoft_test
17604 wine_fn_config_dll initpki enable_initpki
17605 wine_fn_config_dll inkobj enable_inkobj
17606 wine_fn_config_dll inseng enable_inseng clean
17607 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17608 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17609 wine_fn_config_dll itircl enable_itircl
17610 wine_fn_config_dll itss enable_itss clean
17611 wine_fn_config_test dlls/itss/tests itss_test
17612 wine_fn_config_dll joy.cpl enable_joy_cpl po
17613 wine_fn_config_dll jscript enable_jscript clean,po
17614 wine_fn_config_test dlls/jscript/tests jscript_test
17615 wine_fn_config_dll jsproxy enable_jsproxy implib
17616 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17617 wine_fn_config_test dlls/kernel32/tests kernel32_test
17618 wine_fn_config_dll keyboard.drv16 enable_win16
17619 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17620 wine_fn_config_dll ksuser enable_ksuser
17621 wine_fn_config_dll ktmw32 enable_ktmw32
17622 wine_fn_config_dll loadperf enable_loadperf implib
17623 wine_fn_config_dll localspl enable_localspl po
17624 wine_fn_config_test dlls/localspl/tests localspl_test
17625 wine_fn_config_dll localui enable_localui po
17626 wine_fn_config_test dlls/localui/tests localui_test
17627 wine_fn_config_dll lz32 enable_lz32 implib
17628 wine_fn_config_test dlls/lz32/tests lz32_test
17629 wine_fn_config_dll lzexpand.dll16 enable_win16
17630 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17631 wine_fn_config_test dlls/mapi32/tests mapi32_test
17632 wine_fn_config_dll mapistub enable_mapistub
17633 wine_fn_config_dll mciavi32 enable_mciavi32
17634 wine_fn_config_dll mcicda enable_mcicda
17635 wine_fn_config_dll mciqtz32 enable_mciqtz32
17636 wine_fn_config_dll mciseq enable_mciseq
17637 wine_fn_config_dll mciwave enable_mciwave
17638 wine_fn_config_dll mf enable_mf
17639 wine_fn_config_dll mfplat enable_mfplat
17640 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17641 wine_fn_config_dll mgmtapi enable_mgmtapi
17642 wine_fn_config_dll midimap enable_midimap
17643 wine_fn_config_dll mlang enable_mlang clean,implib
17644 wine_fn_config_test dlls/mlang/tests mlang_test
17645 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17646 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17647 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17648 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17649 wine_fn_config_dll mmdevldr.vxd enable_win16
17650 wine_fn_config_dll mmsystem.dll16 enable_win16
17651 wine_fn_config_dll monodebg.vxd enable_win16
17652 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17653 wine_fn_config_dll mouse.drv16 enable_win16
17654 wine_fn_config_dll mpr enable_mpr implib,po
17655 wine_fn_config_test dlls/mpr/tests mpr_test
17656 wine_fn_config_dll mprapi enable_mprapi implib
17657 wine_fn_config_dll msacm.dll16 enable_win16
17658 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17659 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17660 wine_fn_config_test dlls/msacm32/tests msacm32_test
17661 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17662 wine_fn_config_dll msasn1 enable_msasn1 implib
17663 wine_fn_config_dll mscat32 enable_mscat32
17664 wine_fn_config_dll mscms enable_mscms implib
17665 wine_fn_config_test dlls/mscms/tests mscms_test
17666 wine_fn_config_dll mscoree enable_mscoree clean
17667 wine_fn_config_test dlls/mscoree/tests mscoree_test
17668 wine_fn_config_dll msctf enable_msctf clean
17669 wine_fn_config_test dlls/msctf/tests msctf_test
17670 wine_fn_config_dll msctfp enable_msctfp clean
17671 wine_fn_config_dll msdaps enable_msdaps clean
17672 wine_fn_config_dll msdelta enable_msdelta
17673 wine_fn_config_dll msdmo enable_msdmo implib
17674 wine_fn_config_test dlls/msdmo/tests msdmo_test
17675 wine_fn_config_dll msftedit enable_msftedit
17676 wine_fn_config_dll msg711.acm enable_msg711_acm
17677 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17678 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17679 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17680 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17681 wine_fn_config_dll msi enable_msi clean,implib,po
17682 wine_fn_config_test dlls/msi/tests msi_test
17683 wine_fn_config_dll msident enable_msident clean
17684 wine_fn_config_dll msimg32 enable_msimg32 implib
17685 wine_fn_config_dll msimsg enable_msimsg
17686 wine_fn_config_dll msimtf enable_msimtf clean
17687 wine_fn_config_dll msisip enable_msisip
17688 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17689 wine_fn_config_dll msls31 enable_msls31
17690 wine_fn_config_dll msnet32 enable_msnet32
17691 wine_fn_config_dll mspatcha enable_mspatcha implib
17692 wine_fn_config_dll msrle32 enable_msrle32 po
17693 wine_fn_config_test dlls/msrle32/tests msrle32_test
17694 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17695 wine_fn_config_dll mssign32 enable_mssign32
17696 wine_fn_config_dll mssip32 enable_mssip32
17697 wine_fn_config_dll mstask enable_mstask clean
17698 wine_fn_config_test dlls/mstask/tests mstask_test
17699 wine_fn_config_dll msvcirt enable_msvcirt
17700 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17701 wine_fn_config_dll msvcm80 enable_msvcm80
17702 wine_fn_config_dll msvcm90 enable_msvcm90
17703 wine_fn_config_dll msvcp100 enable_msvcp100
17704 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17705 wine_fn_config_dll msvcp110 enable_msvcp110
17706 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
17707 wine_fn_config_dll msvcp120 enable_msvcp120
17708 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17709 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17710 wine_fn_config_dll msvcp60 enable_msvcp60
17711 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17712 wine_fn_config_dll msvcp70 enable_msvcp70
17713 wine_fn_config_dll msvcp71 enable_msvcp71
17714 wine_fn_config_dll msvcp80 enable_msvcp80
17715 wine_fn_config_dll msvcp90 enable_msvcp90
17716 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17717 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17718 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17719 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17720 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17721 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17722 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17723 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17724 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17725 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17726 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17727 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17728 wine_fn_config_dll msvcrt enable_msvcrt implib
17729 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17730 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17731 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17732 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17733 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17734 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17735 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17736 wine_fn_config_dll msvidc32 enable_msvidc32 po
17737 wine_fn_config_dll msvideo.dll16 enable_win16
17738 wine_fn_config_dll mswsock enable_mswsock implib
17739 wine_fn_config_dll msxml enable_msxml clean
17740 wine_fn_config_dll msxml2 enable_msxml2 clean
17741 wine_fn_config_dll msxml3 enable_msxml3 clean
17742 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17743 wine_fn_config_dll msxml4 enable_msxml4 clean
17744 wine_fn_config_dll msxml6 enable_msxml6 clean
17745 wine_fn_config_dll nddeapi enable_nddeapi implib
17746 wine_fn_config_dll ndis.sys enable_ndis_sys
17747 wine_fn_config_dll netapi32 enable_netapi32 implib
17748 wine_fn_config_test dlls/netapi32/tests netapi32_test
17749 wine_fn_config_dll netcfgx enable_netcfgx clean
17750 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17751 wine_fn_config_dll netprofm enable_netprofm clean
17752 wine_fn_config_test dlls/netprofm/tests netprofm_test
17753 wine_fn_config_dll newdev enable_newdev implib
17754 wine_fn_config_dll normaliz enable_normaliz implib
17755 wine_fn_config_dll npmshtml enable_npmshtml
17756 wine_fn_config_dll npptools enable_npptools
17757 wine_fn_config_dll ntdll enable_ntdll implib
17758 wine_fn_config_test dlls/ntdll/tests ntdll_test
17759 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17760 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17761 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17762 wine_fn_config_dll ntprint enable_ntprint
17763 wine_fn_config_test dlls/ntprint/tests ntprint_test
17764 wine_fn_config_dll objsel enable_objsel clean
17765 wine_fn_config_dll odbc32 enable_odbc32 implib
17766 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17767 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17768 wine_fn_config_dll odbccu32 enable_odbccu32
17769 wine_fn_config_dll ole2.dll16 enable_win16
17770 wine_fn_config_dll ole2conv.dll16 enable_win16
17771 wine_fn_config_dll ole2disp.dll16 enable_win16
17772 wine_fn_config_dll ole2nls.dll16 enable_win16
17773 wine_fn_config_dll ole2prox.dll16 enable_win16
17774 wine_fn_config_dll ole2thk.dll16 enable_win16
17775 wine_fn_config_dll ole32 enable_ole32 clean,implib
17776 wine_fn_config_test dlls/ole32/tests ole32_test
17777 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17778 wine_fn_config_test dlls/oleacc/tests oleacc_test
17779 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17780 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17781 wine_fn_config_dll olecli.dll16 enable_win16
17782 wine_fn_config_dll olecli32 enable_olecli32 implib
17783 wine_fn_config_dll oledb32 enable_oledb32 clean
17784 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17785 wine_fn_config_dll oledlg enable_oledlg implib,po
17786 wine_fn_config_test dlls/oledlg/tests oledlg_test
17787 wine_fn_config_dll olepro32 enable_olepro32 implib
17788 wine_fn_config_dll olesvr.dll16 enable_win16
17789 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17790 wine_fn_config_dll olethk32 enable_olethk32
17791 wine_fn_config_dll openal32 enable_openal32
17792 wine_fn_config_dll opencl enable_opencl
17793 wine_fn_config_dll opengl32 enable_opengl32 implib
17794 wine_fn_config_test dlls/opengl32/tests opengl32_test
17795 wine_fn_config_dll packager enable_packager clean
17796 wine_fn_config_test dlls/packager/tests packager_test
17797 wine_fn_config_dll pdh enable_pdh implib
17798 wine_fn_config_test dlls/pdh/tests pdh_test
17799 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17800 wine_fn_config_dll pidgen enable_pidgen
17801 wine_fn_config_dll powrprof enable_powrprof implib
17802 wine_fn_config_dll printui enable_printui
17803 wine_fn_config_dll prntvpt enable_prntvpt
17804 wine_fn_config_dll propsys enable_propsys clean,implib
17805 wine_fn_config_test dlls/propsys/tests propsys_test
17806 wine_fn_config_dll psapi enable_psapi implib
17807 wine_fn_config_test dlls/psapi/tests psapi_test
17808 wine_fn_config_dll pstorec enable_pstorec clean
17809 wine_fn_config_dll qcap enable_qcap
17810 wine_fn_config_test dlls/qcap/tests qcap_test
17811 wine_fn_config_dll qedit enable_qedit clean
17812 wine_fn_config_test dlls/qedit/tests qedit_test
17813 wine_fn_config_dll qmgr enable_qmgr clean
17814 wine_fn_config_test dlls/qmgr/tests qmgr_test
17815 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17816 wine_fn_config_dll quartz enable_quartz clean,implib
17817 wine_fn_config_test dlls/quartz/tests quartz_test clean
17818 wine_fn_config_dll query enable_query
17819 wine_fn_config_dll rasapi16.dll16 enable_win16
17820 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17821 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17822 wine_fn_config_dll rasdlg enable_rasdlg implib
17823 wine_fn_config_dll regapi enable_regapi
17824 wine_fn_config_dll resutils enable_resutils implib
17825 wine_fn_config_dll riched20 enable_riched20 clean,implib
17826 wine_fn_config_test dlls/riched20/tests riched20_test
17827 wine_fn_config_dll riched32 enable_riched32
17828 wine_fn_config_test dlls/riched32/tests riched32_test
17829 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17830 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17831 wine_fn_config_dll rsabase enable_rsabase
17832 wine_fn_config_dll rsaenh enable_rsaenh implib
17833 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17834 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17835 wine_fn_config_dll rtutils enable_rtutils implib
17836 wine_fn_config_dll samlib enable_samlib
17837 wine_fn_config_dll sane.ds enable_sane_ds po
17838 wine_fn_config_dll scarddlg enable_scarddlg
17839 wine_fn_config_dll sccbase enable_sccbase
17840 wine_fn_config_dll schannel enable_schannel
17841 wine_fn_config_test dlls/schannel/tests schannel_test
17842 wine_fn_config_dll schedsvc enable_schedsvc clean
17843 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17844 wine_fn_config_dll scrrun enable_scrrun clean
17845 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17846 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17847 wine_fn_config_dll secur32 enable_secur32 implib
17848 wine_fn_config_test dlls/secur32/tests secur32_test
17849 wine_fn_config_dll security enable_security
17850 wine_fn_config_dll sensapi enable_sensapi implib
17851 wine_fn_config_dll serialui enable_serialui implib,po
17852 wine_fn_config_test dlls/serialui/tests serialui_test
17853 wine_fn_config_dll setupapi enable_setupapi implib,po
17854 wine_fn_config_test dlls/setupapi/tests setupapi_test
17855 wine_fn_config_dll setupx.dll16 enable_win16
17856 wine_fn_config_dll sfc enable_sfc implib
17857 wine_fn_config_dll sfc_os enable_sfc_os implib
17858 wine_fn_config_dll shdoclc enable_shdoclc po
17859 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17860 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17861 wine_fn_config_dll shell.dll16 enable_win16
17862 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17863 wine_fn_config_test dlls/shell32/tests shell32_test
17864 wine_fn_config_dll shfolder enable_shfolder implib
17865 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17866 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17867 wine_fn_config_dll slbcsp enable_slbcsp
17868 wine_fn_config_dll slc enable_slc implib
17869 wine_fn_config_test dlls/slc/tests slc_test
17870 wine_fn_config_dll snmpapi enable_snmpapi implib
17871 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17872 wine_fn_config_dll softpub enable_softpub
17873 wine_fn_config_dll sound.drv16 enable_win16
17874 wine_fn_config_dll spoolss enable_spoolss implib
17875 wine_fn_config_test dlls/spoolss/tests spoolss_test
17876 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17877 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17878 wine_fn_config_dll sti enable_sti clean,implib
17879 wine_fn_config_test dlls/sti/tests sti_test
17880 wine_fn_config_dll storage.dll16 enable_win16
17881 wine_fn_config_dll stress.dll16 enable_win16
17882 wine_fn_config_lib strmbase
17883 wine_fn_config_lib strmiids
17884 wine_fn_config_dll svrapi enable_svrapi
17885 wine_fn_config_dll sxs enable_sxs implib
17886 wine_fn_config_test dlls/sxs/tests sxs_test
17887 wine_fn_config_dll system.drv16 enable_win16
17888 wine_fn_config_dll t2embed enable_t2embed
17889 wine_fn_config_dll tapi32 enable_tapi32 implib
17890 wine_fn_config_dll taskschd enable_taskschd clean
17891 wine_fn_config_test dlls/taskschd/tests taskschd_test
17892 wine_fn_config_dll tdi.sys enable_tdi_sys
17893 wine_fn_config_dll toolhelp.dll16 enable_win16
17894 wine_fn_config_dll traffic enable_traffic
17895 wine_fn_config_dll twain.dll16 enable_win16
17896 wine_fn_config_dll twain_32 enable_twain_32
17897 wine_fn_config_test dlls/twain_32/tests twain_32_test
17898 wine_fn_config_dll typelib.dll16 enable_win16
17899 wine_fn_config_dll ucrtbase enable_ucrtbase
17900 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
17901 wine_fn_config_dll unicows enable_unicows implib
17902 wine_fn_config_dll updspapi enable_updspapi
17903 wine_fn_config_dll url enable_url implib
17904 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17905 wine_fn_config_test dlls/urlmon/tests urlmon_test
17906 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17907 wine_fn_config_dll user.exe16 enable_win16
17908 wine_fn_config_dll user32 enable_user32 clean,implib,po
17909 wine_fn_config_test dlls/user32/tests user32_test
17910 wine_fn_config_dll userenv enable_userenv implib
17911 wine_fn_config_test dlls/userenv/tests userenv_test
17912 wine_fn_config_dll usp10 enable_usp10 implib
17913 wine_fn_config_test dlls/usp10/tests usp10_test
17914 wine_fn_config_lib uuid
17915 wine_fn_config_dll uxtheme enable_uxtheme implib
17916 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17917 wine_fn_config_dll vbscript enable_vbscript clean
17918 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17919 wine_fn_config_dll vcomp enable_vcomp
17920 wine_fn_config_test dlls/vcomp/tests vcomp_test
17921 wine_fn_config_dll vcomp100 enable_vcomp100
17922 wine_fn_config_dll vcomp110 enable_vcomp110
17923 wine_fn_config_dll vcomp120 enable_vcomp120
17924 wine_fn_config_dll vcomp90 enable_vcomp90
17925 wine_fn_config_dll vcruntime140 enable_vcruntime140
17926 wine_fn_config_dll vdhcp.vxd enable_win16
17927 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17928 wine_fn_config_dll ver.dll16 enable_win16
17929 wine_fn_config_dll version enable_version implib
17930 wine_fn_config_test dlls/version/tests version_test
17931 wine_fn_config_dll vmm.vxd enable_win16
17932 wine_fn_config_dll vnbt.vxd enable_win16
17933 wine_fn_config_dll vnetbios.vxd enable_win16
17934 wine_fn_config_dll vssapi enable_vssapi
17935 wine_fn_config_dll vtdapi.vxd enable_win16
17936 wine_fn_config_dll vwin32.vxd enable_win16
17937 wine_fn_config_dll w32skrnl enable_win16
17938 wine_fn_config_dll w32sys.dll16 enable_win16
17939 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17940 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
17941 wine_fn_config_dll wbemprox enable_wbemprox clean
17942 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17943 wine_fn_config_dll webservices enable_webservices implib
17944 wine_fn_config_test dlls/webservices/tests webservices_test
17945 wine_fn_config_dll wer enable_wer implib
17946 wine_fn_config_test dlls/wer/tests wer_test
17947 wine_fn_config_dll wevtapi enable_wevtapi
17948 wine_fn_config_dll wiaservc enable_wiaservc clean
17949 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
17950 wine_fn_config_dll wimgapi enable_wimgapi
17951 wine_fn_config_dll win32s16.dll16 enable_win16
17952 wine_fn_config_dll win87em.dll16 enable_win16
17953 wine_fn_config_dll winaspi.dll16 enable_win16
17954 wine_fn_config_dll windebug.dll16 enable_win16
17955 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17956 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17957 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17958 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17959 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17960 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17961 wine_fn_config_lib winecrt0
17962 wine_fn_config_dll wined3d enable_wined3d implib
17963 wine_fn_config_dll winegstreamer enable_winegstreamer
17964 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17965 wine_fn_config_dll winemac.drv enable_winemac_drv po
17966 wine_fn_config_dll winemapi enable_winemapi
17967 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17968 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17969 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17970 wine_fn_config_dll wineps16.drv16 enable_win16
17971 wine_fn_config_dll winepulse.drv enable_winepulse_drv
17972 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17973 wine_fn_config_dll winex11.drv enable_winex11_drv
17974 wine_fn_config_dll wing.dll16 enable_win16
17975 wine_fn_config_dll wing32 enable_wing32
17976 wine_fn_config_dll winhttp enable_winhttp clean,implib
17977 wine_fn_config_test dlls/winhttp/tests winhttp_test
17978 wine_fn_config_dll wininet enable_wininet implib,po
17979 wine_fn_config_test dlls/wininet/tests wininet_test
17980 wine_fn_config_dll winmm enable_winmm implib,po
17981 wine_fn_config_test dlls/winmm/tests winmm_test
17982 wine_fn_config_dll winnls.dll16 enable_win16
17983 wine_fn_config_dll winnls32 enable_winnls32 implib
17984 wine_fn_config_dll winscard enable_winscard implib
17985 wine_fn_config_dll winsock.dll16 enable_win16
17986 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17987 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17988 wine_fn_config_dll winsta enable_winsta
17989 wine_fn_config_dll wintab.dll16 enable_win16
17990 wine_fn_config_dll wintab32 enable_wintab32 implib
17991 wine_fn_config_test dlls/wintab32/tests wintab32_test
17992 wine_fn_config_dll wintrust enable_wintrust implib
17993 wine_fn_config_test dlls/wintrust/tests wintrust_test
17994 wine_fn_config_dll wlanapi enable_wlanapi
17995 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17996 wine_fn_config_test dlls/wldap32/tests wldap32_test
17997 wine_fn_config_dll wmi enable_wmi
17998 wine_fn_config_dll wmiutils enable_wmiutils clean
17999 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18000 wine_fn_config_dll wmp enable_wmp clean
18001 wine_fn_config_test dlls/wmp/tests wmp_test
18002 wine_fn_config_dll wmvcore enable_wmvcore
18003 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18004 wine_fn_config_dll wow32 enable_win16 implib
18005 wine_fn_config_dll wpcap enable_wpcap
18006 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18007 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18008 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18009 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18010 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18011 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18012 wine_fn_config_dll wsock32 enable_wsock32 implib
18013 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18014 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18015 wine_fn_config_dll wuapi enable_wuapi clean
18016 wine_fn_config_dll wuaueng enable_wuaueng
18017 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18018 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18019 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18020 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18021 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18022 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18023 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18024 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18025 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18026 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18027 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18028 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18029 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18030 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18031 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18032 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18033 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18034 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18035 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18036 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18037 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18038 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18039 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18040 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18041 wine_fn_config_dll xinput1_1 enable_xinput1_1
18042 wine_fn_config_dll xinput1_2 enable_xinput1_2
18043 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18044 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18045 wine_fn_config_dll xinput1_4 enable_xinput1_4
18046 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18047 wine_fn_config_dll xmllite enable_xmllite implib
18048 wine_fn_config_test dlls/xmllite/tests xmllite_test
18049 wine_fn_config_dll xolehlp enable_xolehlp
18050 wine_fn_config_dll xpsprint enable_xpsprint
18051 wine_fn_config_dll xpssvcs enable_xpssvcs
18052 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18053 wine_fn_config_makefile include enable_include clean,install-dev
18054 wine_fn_config_makefile libs/port enable_libs_port
18055 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18056 wine_fn_config_makefile libs/wpp enable_libs_wpp
18057 wine_fn_config_makefile loader enable_loader clean,install-lib
18058 wine_fn_config_program arp enable_arp install
18059 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18060 wine_fn_config_program attrib enable_attrib install,po
18061 wine_fn_config_program cabarc enable_cabarc install
18062 wine_fn_config_program cacls enable_cacls install
18063 wine_fn_config_program clock enable_clock install,po
18064 wine_fn_config_program cmd enable_cmd install,po
18065 wine_fn_config_test programs/cmd/tests cmd.exe_test
18066 wine_fn_config_program conhost enable_conhost install
18067 wine_fn_config_program control enable_control install
18068 wine_fn_config_program cscript enable_cscript clean,install
18069 wine_fn_config_program dpnsvr enable_dpnsvr install
18070 wine_fn_config_program dxdiag enable_dxdiag install,po
18071 wine_fn_config_program eject enable_eject install
18072 wine_fn_config_program expand enable_expand install
18073 wine_fn_config_program explorer enable_explorer install,po
18074 wine_fn_config_program extrac32 enable_extrac32 install
18075 wine_fn_config_program findstr enable_findstr install
18076 wine_fn_config_program hh enable_hh install
18077 wine_fn_config_program hostname enable_hostname install,po
18078 wine_fn_config_program icinfo enable_icinfo install
18079 wine_fn_config_program iexplore enable_iexplore install
18080 wine_fn_config_program ipconfig enable_ipconfig install,po
18081 wine_fn_config_program lodctr enable_lodctr install
18082 wine_fn_config_program mofcomp enable_mofcomp install
18083 wine_fn_config_program mshta enable_mshta install
18084 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18085 wine_fn_config_program net enable_net install,po
18086 wine_fn_config_program netsh enable_netsh install
18087 wine_fn_config_program netstat enable_netstat install,po
18088 wine_fn_config_program ngen enable_ngen install
18089 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
18090 wine_fn_config_program oleview enable_oleview install,po
18091 wine_fn_config_program ping enable_ping install
18092 wine_fn_config_program plugplay enable_plugplay install
18093 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18094 wine_fn_config_program progman enable_progman install,po
18095 wine_fn_config_program reg enable_reg install,po
18096 wine_fn_config_test programs/reg/tests reg.exe_test
18097 wine_fn_config_program regasm enable_regasm install
18098 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
18099 wine_fn_config_test programs/regedit/tests regedit.exe_test
18100 wine_fn_config_program regsvcs enable_regsvcs install
18101 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
18102 wine_fn_config_program rpcss enable_rpcss clean,install
18103 wine_fn_config_program rundll.exe16 enable_win16 install
18104 wine_fn_config_program rundll32 enable_rundll32 install
18105 wine_fn_config_program sc enable_sc install
18106 wine_fn_config_program schtasks enable_schtasks install
18107 wine_fn_config_program sdbinst enable_sdbinst install
18108 wine_fn_config_program secedit enable_secedit install
18109 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18110 wine_fn_config_program services enable_services clean,install
18111 wine_fn_config_test programs/services/tests services.exe_test
18112 wine_fn_config_program spoolsv enable_spoolsv install
18113 wine_fn_config_program start enable_start install,po
18114 wine_fn_config_program svchost enable_svchost install
18115 wine_fn_config_program systeminfo enable_systeminfo install
18116 wine_fn_config_program taskkill enable_taskkill install,po
18117 wine_fn_config_program tasklist enable_tasklist install
18118 wine_fn_config_program taskmgr enable_taskmgr install,po
18119 wine_fn_config_program termsv enable_termsv install
18120 wine_fn_config_program uninstaller enable_uninstaller install,po
18121 wine_fn_config_program unlodctr enable_unlodctr install
18122 wine_fn_config_program view enable_view install,po
18123 wine_fn_config_program wevtutil enable_wevtutil install
18124 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
18125 wine_fn_config_program winebrowser enable_winebrowser install
18126 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
18127 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
18128 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
18129 wine_fn_config_program winedevice enable_winedevice install
18130 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
18131 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18132 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
18133 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18134 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18135 wine_fn_config_program winetest enable_winetest clean
18136 wine_fn_config_program winevdm enable_win16 install
18137 wine_fn_config_program winhelp.exe16 enable_win16 install
18138 wine_fn_config_program winhlp32 enable_winhlp32 install,po
18139 wine_fn_config_program winoldap.mod16 enable_win16 install
18140 wine_fn_config_program winver enable_winver install
18141 wine_fn_config_program wmic enable_wmic install,po
18142 wine_fn_config_program wmplayer enable_wmplayer install
18143 wine_fn_config_program wordpad enable_wordpad install,po
18144 wine_fn_config_program write enable_write install,po
18145 wine_fn_config_program wscript enable_wscript clean,install
18146 wine_fn_config_test programs/wscript/tests wscript.exe_test
18147 wine_fn_config_program wusa enable_wusa install
18148 wine_fn_config_program xcopy enable_xcopy install,po
18149 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18150 wine_fn_config_makefile server enable_server clean,install-lib
18151 wine_fn_config_tool tools clean
18152 wine_fn_config_tool tools/sfnt2fon clean
18153 wine_fn_config_tool tools/widl clean,install-dev
18154 wine_fn_config_tool tools/winebuild clean,install-dev
18155 wine_fn_config_tool tools/winedump clean,install-dev
18156 wine_fn_config_tool tools/winegcc clean,install-dev
18157 wine_fn_config_tool tools/winemaker clean,install-dev
18158 wine_fn_config_tool tools/wmc clean,install-dev
18159 wine_fn_config_tool tools/wrc clean,install-dev
18161 LINGUAS="\
18162 ar \
18163 bg \
18164 ca \
18165 cs \
18166 da \
18167 de \
18168 el \
18169 en \
18170 en_US \
18171 eo \
18172 es \
18173 fa \
18174 fi \
18175 fr \
18176 he \
18177 hi \
18178 hr \
18179 hu \
18180 it \
18181 ja \
18182 ko \
18183 lt \
18184 ml \
18185 nb_NO \
18186 nl \
18187 or \
18188 pa \
18189 pl \
18190 pt_BR \
18191 pt_PT \
18192 rm \
18193 ro \
18194 ru \
18195 sk \
18196 sl \
18197 sr_RS@cyrillic \
18198 sr_RS@latin \
18199 sv \
18200 te \
18201 th \
18202 tr \
18203 uk \
18204 wa \
18205 zh_CN \
18206 zh_TW"
18211 wine_fn_ignore_file ".gitignore"
18212 wine_fn_ignore_file "Makefile"
18213 wine_fn_ignore_file "TAGS"
18214 wine_fn_ignore_file "tags"
18215 wine_fn_ignore_file "autom4te.cache"
18216 wine_fn_ignore_file "config.cache"
18217 wine_fn_ignore_file "config.log"
18218 wine_fn_ignore_file "config.status"
18219 wine_fn_ignore_file "configure.lineno"
18220 wine_fn_ignore_file "include/config.h"
18221 wine_fn_ignore_file "include/stamp-h"
18222 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
18224 if test "x$enable_tools" != xno
18225 then
18226 wine_fn_ignore_file "tools/makedep$ac_exeext"
18227 ac_config_commands="$ac_config_commands tools/makedep"
18231 ac_config_commands="$ac_config_commands Makefile"
18234 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18238 if test "x$enable_maintainer_mode" = xyes
18239 then
18240 wine_fn_append_rule "configure: configure.ac aclocal.m4
18241 autoconf --warnings=all
18242 include/config.h.in: include/stamp-h.in
18243 include/stamp-h.in: configure.ac aclocal.m4
18244 autoheader --warnings=all
18245 @echo timestamp > \$@"
18248 if test "x$with_gettextpo" = xyes
18249 then
18250 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
18251 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
18252 \$(LINGUAS:%=po/%.po): po/wine.pot
18253 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
18254 po/wine.pot: \$(ALL_POT_FILES)
18255 msgcat -o \$@ \$(ALL_POT_FILES)"
18258 if test "$MSGFMT" != false
18259 then
18260 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
18261 clean::
18262 \$(RM) \$(LINGUAS:%=po/%.mo)"
18264 posrc="po"
18265 test "$srcdir" = . || posrc="$srcdir/po"
18266 for i in $LINGUAS
18268 wine_fn_ignore_file "po/$i.mo"
18269 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
18270 \$(MSGFMT) -o \$@ $posrc/$i.po"
18271 done
18272 else
18273 LINGUAS=
18276 if test "x$enable_tools" != xno
18277 then
18278 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18279 @./config.status tools/makedep
18280 Makefile: tools/makedep$ac_exeext
18281 distclean:: clean
18282 \$(RM) tools/makedep$ac_exeext"
18283 else
18284 wine_fn_append_rule "\$(MAKEDEP):
18285 @echo \"You need to run make in $TOOLSDIR first\" && false"
18288 if test -n "$with_wine64"
18289 then
18290 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18291 fonts server tools:
18292 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18293 $with_wine64/loader/wine:
18294 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18295 $with_wine64/loader/wine-preloader:
18296 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18297 clean::
18298 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18299 else
18300 WINELOADER_INSTALL="wine.inf"
18302 wine_fn_append_rule "install install-lib::
18303 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18304 uninstall::
18305 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18306 case $host_os in
18307 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18308 *) wine_fn_append_rule "install install-lib::
18309 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18310 uninstall::
18311 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18312 esac
18315 if test "$srcdir" = .
18316 then
18317 ac_config_commands="$ac_config_commands .gitignore"
18321 $as_echo " done" >&6
18322 cat >confcache <<\_ACEOF
18323 # This file is a shell script that caches the results of configure
18324 # tests run on this system so they can be shared between configure
18325 # scripts and configure runs, see configure's option --config-cache.
18326 # It is not useful on other systems. If it contains results you don't
18327 # want to keep, you may remove or edit it.
18329 # config.status only pays attention to the cache file if you give it
18330 # the --recheck option to rerun configure.
18332 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18333 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18334 # following values.
18336 _ACEOF
18338 # The following way of writing the cache mishandles newlines in values,
18339 # but we know of no workaround that is simple, portable, and efficient.
18340 # So, we kill variables containing newlines.
18341 # Ultrix sh set writes to stderr and can't be redirected directly,
18342 # and sets the high bit in the cache file unless we assign to the vars.
18344 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18345 eval ac_val=\$$ac_var
18346 case $ac_val in #(
18347 *${as_nl}*)
18348 case $ac_var in #(
18349 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18350 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18351 esac
18352 case $ac_var in #(
18353 _ | IFS | as_nl) ;; #(
18354 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18355 *) { eval $ac_var=; unset $ac_var;} ;;
18356 esac ;;
18357 esac
18358 done
18360 (set) 2>&1 |
18361 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18362 *${as_nl}ac_space=\ *)
18363 # `set' does not quote correctly, so add quotes: double-quote
18364 # substitution turns \\\\ into \\, and sed turns \\ into \.
18365 sed -n \
18366 "s/'/'\\\\''/g;
18367 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18368 ;; #(
18370 # `set' quotes correctly as required by POSIX, so do not add quotes.
18371 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18373 esac |
18374 sort
18376 sed '
18377 /^ac_cv_env_/b end
18378 t clear
18379 :clear
18380 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18381 t end
18382 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18383 :end' >>confcache
18384 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18385 if test -w "$cache_file"; then
18386 if test "x$cache_file" != "x/dev/null"; then
18387 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18388 $as_echo "$as_me: updating cache $cache_file" >&6;}
18389 if test ! -f "$cache_file" || test -h "$cache_file"; then
18390 cat confcache >"$cache_file"
18391 else
18392 case $cache_file in #(
18393 */* | ?:*)
18394 mv -f confcache "$cache_file"$$ &&
18395 mv -f "$cache_file"$$ "$cache_file" ;; #(
18397 mv -f confcache "$cache_file" ;;
18398 esac
18401 else
18402 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18403 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18406 rm -f confcache
18408 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18409 # Let make expand exec_prefix.
18410 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18412 DEFS=-DHAVE_CONFIG_H
18414 ac_libobjs=
18415 ac_ltlibobjs=
18417 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18418 # 1. Remove the extension, and $U if already installed.
18419 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18420 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18421 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18422 # will be set to the directory where LIBOBJS objects are built.
18423 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18424 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18425 done
18426 LIBOBJS=$ac_libobjs
18428 LTLIBOBJS=$ac_ltlibobjs
18432 : "${CONFIG_STATUS=./config.status}"
18433 ac_write_fail=0
18434 ac_clean_files_save=$ac_clean_files
18435 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18436 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18437 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18438 as_write_fail=0
18439 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18440 #! $SHELL
18441 # Generated by $as_me.
18442 # Run this file to recreate the current configuration.
18443 # Compiler output produced by configure, useful for debugging
18444 # configure, is in config.log if it exists.
18446 debug=false
18447 ac_cs_recheck=false
18448 ac_cs_silent=false
18450 SHELL=\${CONFIG_SHELL-$SHELL}
18451 export SHELL
18452 _ASEOF
18453 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18454 ## -------------------- ##
18455 ## M4sh Initialization. ##
18456 ## -------------------- ##
18458 # Be more Bourne compatible
18459 DUALCASE=1; export DUALCASE # for MKS sh
18460 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18461 emulate sh
18462 NULLCMD=:
18463 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18464 # is contrary to our usage. Disable this feature.
18465 alias -g '${1+"$@"}'='"$@"'
18466 setopt NO_GLOB_SUBST
18467 else
18468 case `(set -o) 2>/dev/null` in #(
18469 *posix*) :
18470 set -o posix ;; #(
18471 *) :
18473 esac
18477 as_nl='
18479 export as_nl
18480 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18481 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18482 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18483 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18484 # Prefer a ksh shell builtin over an external printf program on Solaris,
18485 # but without wasting forks for bash or zsh.
18486 if test -z "$BASH_VERSION$ZSH_VERSION" \
18487 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18488 as_echo='print -r --'
18489 as_echo_n='print -rn --'
18490 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18491 as_echo='printf %s\n'
18492 as_echo_n='printf %s'
18493 else
18494 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18495 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18496 as_echo_n='/usr/ucb/echo -n'
18497 else
18498 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18499 as_echo_n_body='eval
18500 arg=$1;
18501 case $arg in #(
18502 *"$as_nl"*)
18503 expr "X$arg" : "X\\(.*\\)$as_nl";
18504 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18505 esac;
18506 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18508 export as_echo_n_body
18509 as_echo_n='sh -c $as_echo_n_body as_echo'
18511 export as_echo_body
18512 as_echo='sh -c $as_echo_body as_echo'
18515 # The user is always right.
18516 if test "${PATH_SEPARATOR+set}" != set; then
18517 PATH_SEPARATOR=:
18518 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18519 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18520 PATH_SEPARATOR=';'
18525 # IFS
18526 # We need space, tab and new line, in precisely that order. Quoting is
18527 # there to prevent editors from complaining about space-tab.
18528 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18529 # splitting by setting IFS to empty value.)
18530 IFS=" "" $as_nl"
18532 # Find who we are. Look in the path if we contain no directory separator.
18533 as_myself=
18534 case $0 in #((
18535 *[\\/]* ) as_myself=$0 ;;
18536 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18537 for as_dir in $PATH
18539 IFS=$as_save_IFS
18540 test -z "$as_dir" && as_dir=.
18541 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18542 done
18543 IFS=$as_save_IFS
18546 esac
18547 # We did not find ourselves, most probably we were run as `sh COMMAND'
18548 # in which case we are not to be found in the path.
18549 if test "x$as_myself" = x; then
18550 as_myself=$0
18552 if test ! -f "$as_myself"; then
18553 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18554 exit 1
18557 # Unset variables that we do not need and which cause bugs (e.g. in
18558 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18559 # suppresses any "Segmentation fault" message there. '((' could
18560 # trigger a bug in pdksh 5.2.14.
18561 for as_var in BASH_ENV ENV MAIL MAILPATH
18562 do eval test x\${$as_var+set} = xset \
18563 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18564 done
18565 PS1='$ '
18566 PS2='> '
18567 PS4='+ '
18569 # NLS nuisances.
18570 LC_ALL=C
18571 export LC_ALL
18572 LANGUAGE=C
18573 export LANGUAGE
18575 # CDPATH.
18576 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18579 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18580 # ----------------------------------------
18581 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18582 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18583 # script with STATUS, using 1 if that was 0.
18584 as_fn_error ()
18586 as_status=$1; test $as_status -eq 0 && as_status=1
18587 if test "$4"; then
18588 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18589 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18591 $as_echo "$as_me: error: $2" >&2
18592 as_fn_exit $as_status
18593 } # as_fn_error
18596 # as_fn_set_status STATUS
18597 # -----------------------
18598 # Set $? to STATUS, without forking.
18599 as_fn_set_status ()
18601 return $1
18602 } # as_fn_set_status
18604 # as_fn_exit STATUS
18605 # -----------------
18606 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18607 as_fn_exit ()
18609 set +e
18610 as_fn_set_status $1
18611 exit $1
18612 } # as_fn_exit
18614 # as_fn_unset VAR
18615 # ---------------
18616 # Portably unset VAR.
18617 as_fn_unset ()
18619 { eval $1=; unset $1;}
18621 as_unset=as_fn_unset
18622 # as_fn_append VAR VALUE
18623 # ----------------------
18624 # Append the text in VALUE to the end of the definition contained in VAR. Take
18625 # advantage of any shell optimizations that allow amortized linear growth over
18626 # repeated appends, instead of the typical quadratic growth present in naive
18627 # implementations.
18628 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18629 eval 'as_fn_append ()
18631 eval $1+=\$2
18633 else
18634 as_fn_append ()
18636 eval $1=\$$1\$2
18638 fi # as_fn_append
18640 # as_fn_arith ARG...
18641 # ------------------
18642 # Perform arithmetic evaluation on the ARGs, and store the result in the
18643 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18644 # must be portable across $(()) and expr.
18645 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18646 eval 'as_fn_arith ()
18648 as_val=$(( $* ))
18650 else
18651 as_fn_arith ()
18653 as_val=`expr "$@" || test $? -eq 1`
18655 fi # as_fn_arith
18658 if expr a : '\(a\)' >/dev/null 2>&1 &&
18659 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18660 as_expr=expr
18661 else
18662 as_expr=false
18665 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18666 as_basename=basename
18667 else
18668 as_basename=false
18671 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18672 as_dirname=dirname
18673 else
18674 as_dirname=false
18677 as_me=`$as_basename -- "$0" ||
18678 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18679 X"$0" : 'X\(//\)$' \| \
18680 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18681 $as_echo X/"$0" |
18682 sed '/^.*\/\([^/][^/]*\)\/*$/{
18683 s//\1/
18686 /^X\/\(\/\/\)$/{
18687 s//\1/
18690 /^X\/\(\/\).*/{
18691 s//\1/
18694 s/.*/./; q'`
18696 # Avoid depending upon Character Ranges.
18697 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18698 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18699 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18700 as_cr_digits='0123456789'
18701 as_cr_alnum=$as_cr_Letters$as_cr_digits
18703 ECHO_C= ECHO_N= ECHO_T=
18704 case `echo -n x` in #(((((
18705 -n*)
18706 case `echo 'xy\c'` in
18707 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18708 xy) ECHO_C='\c';;
18709 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18710 ECHO_T=' ';;
18711 esac;;
18713 ECHO_N='-n';;
18714 esac
18716 rm -f conf$$ conf$$.exe conf$$.file
18717 if test -d conf$$.dir; then
18718 rm -f conf$$.dir/conf$$.file
18719 else
18720 rm -f conf$$.dir
18721 mkdir conf$$.dir 2>/dev/null
18723 if (echo >conf$$.file) 2>/dev/null; then
18724 if ln -s conf$$.file conf$$ 2>/dev/null; then
18725 as_ln_s='ln -s'
18726 # ... but there are two gotchas:
18727 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18728 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18729 # In both cases, we have to default to `cp -pR'.
18730 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18731 as_ln_s='cp -pR'
18732 elif ln conf$$.file conf$$ 2>/dev/null; then
18733 as_ln_s=ln
18734 else
18735 as_ln_s='cp -pR'
18737 else
18738 as_ln_s='cp -pR'
18740 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18741 rmdir conf$$.dir 2>/dev/null
18744 # as_fn_mkdir_p
18745 # -------------
18746 # Create "$as_dir" as a directory, including parents if necessary.
18747 as_fn_mkdir_p ()
18750 case $as_dir in #(
18751 -*) as_dir=./$as_dir;;
18752 esac
18753 test -d "$as_dir" || eval $as_mkdir_p || {
18754 as_dirs=
18755 while :; do
18756 case $as_dir in #(
18757 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18758 *) as_qdir=$as_dir;;
18759 esac
18760 as_dirs="'$as_qdir' $as_dirs"
18761 as_dir=`$as_dirname -- "$as_dir" ||
18762 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18763 X"$as_dir" : 'X\(//\)[^/]' \| \
18764 X"$as_dir" : 'X\(//\)$' \| \
18765 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18766 $as_echo X"$as_dir" |
18767 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18768 s//\1/
18771 /^X\(\/\/\)[^/].*/{
18772 s//\1/
18775 /^X\(\/\/\)$/{
18776 s//\1/
18779 /^X\(\/\).*/{
18780 s//\1/
18783 s/.*/./; q'`
18784 test -d "$as_dir" && break
18785 done
18786 test -z "$as_dirs" || eval "mkdir $as_dirs"
18787 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18790 } # as_fn_mkdir_p
18791 if mkdir -p . 2>/dev/null; then
18792 as_mkdir_p='mkdir -p "$as_dir"'
18793 else
18794 test -d ./-p && rmdir ./-p
18795 as_mkdir_p=false
18799 # as_fn_executable_p FILE
18800 # -----------------------
18801 # Test if FILE is an executable regular file.
18802 as_fn_executable_p ()
18804 test -f "$1" && test -x "$1"
18805 } # as_fn_executable_p
18806 as_test_x='test -x'
18807 as_executable_p=as_fn_executable_p
18809 # Sed expression to map a string onto a valid CPP name.
18810 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18812 # Sed expression to map a string onto a valid variable name.
18813 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18816 exec 6>&1
18817 ## ----------------------------------- ##
18818 ## Main body of $CONFIG_STATUS script. ##
18819 ## ----------------------------------- ##
18820 _ASEOF
18821 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18823 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18824 # Save the log message, to keep $0 and so on meaningful, and to
18825 # report actual input values of CONFIG_FILES etc. instead of their
18826 # values after options handling.
18827 ac_log="
18828 This file was extended by Wine $as_me 1.9.1, which was
18829 generated by GNU Autoconf 2.69. Invocation command line was
18831 CONFIG_FILES = $CONFIG_FILES
18832 CONFIG_HEADERS = $CONFIG_HEADERS
18833 CONFIG_LINKS = $CONFIG_LINKS
18834 CONFIG_COMMANDS = $CONFIG_COMMANDS
18835 $ $0 $@
18837 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18840 _ACEOF
18842 case $ac_config_files in *"
18843 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18844 esac
18846 case $ac_config_headers in *"
18847 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18848 esac
18851 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18852 # Files that config.status was made for.
18853 config_files="$ac_config_files"
18854 config_headers="$ac_config_headers"
18855 config_links="$ac_config_links"
18856 config_commands="$ac_config_commands"
18858 _ACEOF
18860 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18861 ac_cs_usage="\
18862 \`$as_me' instantiates files and other configuration actions
18863 from templates according to the current configuration. Unless the files
18864 and actions are specified as TAGs, all are instantiated by default.
18866 Usage: $0 [OPTION]... [TAG]...
18868 -h, --help print this help, then exit
18869 -V, --version print version number and configuration settings, then exit
18870 --config print configuration, then exit
18871 -q, --quiet, --silent
18872 do not print progress messages
18873 -d, --debug don't remove temporary files
18874 --recheck update $as_me by reconfiguring in the same conditions
18875 --file=FILE[:TEMPLATE]
18876 instantiate the configuration file FILE
18877 --header=FILE[:TEMPLATE]
18878 instantiate the configuration header FILE
18880 Configuration files:
18881 $config_files
18883 Configuration headers:
18884 $config_headers
18886 Configuration links:
18887 $config_links
18889 Configuration commands:
18890 $config_commands
18892 Report bugs to <wine-devel@winehq.org>.
18893 Wine home page: <http://www.winehq.org>."
18895 _ACEOF
18896 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18897 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18898 ac_cs_version="\\
18899 Wine config.status 1.9.1
18900 configured by $0, generated by GNU Autoconf 2.69,
18901 with options \\"\$ac_cs_config\\"
18903 Copyright (C) 2012 Free Software Foundation, Inc.
18904 This config.status script is free software; the Free Software Foundation
18905 gives unlimited permission to copy, distribute and modify it."
18907 ac_pwd='$ac_pwd'
18908 srcdir='$srcdir'
18909 test -n "\$AWK" || AWK=awk
18910 _ACEOF
18912 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18913 # The default lists apply if the user does not specify any file.
18914 ac_need_defaults=:
18915 while test $# != 0
18917 case $1 in
18918 --*=?*)
18919 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18920 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18921 ac_shift=:
18923 --*=)
18924 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18925 ac_optarg=
18926 ac_shift=:
18929 ac_option=$1
18930 ac_optarg=$2
18931 ac_shift=shift
18933 esac
18935 case $ac_option in
18936 # Handling of the options.
18937 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18938 ac_cs_recheck=: ;;
18939 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18940 $as_echo "$ac_cs_version"; exit ;;
18941 --config | --confi | --conf | --con | --co | --c )
18942 $as_echo "$ac_cs_config"; exit ;;
18943 --debug | --debu | --deb | --de | --d | -d )
18944 debug=: ;;
18945 --file | --fil | --fi | --f )
18946 $ac_shift
18947 case $ac_optarg in
18948 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18949 '') as_fn_error $? "missing file argument" ;;
18950 esac
18951 as_fn_append CONFIG_FILES " '$ac_optarg'"
18952 ac_need_defaults=false;;
18953 --header | --heade | --head | --hea )
18954 $ac_shift
18955 case $ac_optarg in
18956 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18957 esac
18958 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18959 ac_need_defaults=false;;
18960 --he | --h)
18961 # Conflict between --help and --header
18962 as_fn_error $? "ambiguous option: \`$1'
18963 Try \`$0 --help' for more information.";;
18964 --help | --hel | -h )
18965 $as_echo "$ac_cs_usage"; exit ;;
18966 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18967 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18968 ac_cs_silent=: ;;
18970 # This is an error.
18971 -*) as_fn_error $? "unrecognized option: \`$1'
18972 Try \`$0 --help' for more information." ;;
18974 *) as_fn_append ac_config_targets " $1"
18975 ac_need_defaults=false ;;
18977 esac
18978 shift
18979 done
18981 ac_configure_extra_args=
18983 if $ac_cs_silent; then
18984 exec 6>/dev/null
18985 ac_configure_extra_args="$ac_configure_extra_args --silent"
18988 _ACEOF
18989 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18990 if \$ac_cs_recheck; then
18991 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18992 shift
18993 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18994 CONFIG_SHELL='$SHELL'
18995 export CONFIG_SHELL
18996 exec "\$@"
18999 _ACEOF
19000 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19001 exec 5>>config.log
19003 echo
19004 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19005 ## Running $as_me. ##
19006 _ASBOX
19007 $as_echo "$ac_log"
19008 } >&5
19010 _ACEOF
19011 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19013 # INIT-COMMANDS
19015 wine_fn_output_makedep ()
19017 as_dir=tools; as_fn_mkdir_p
19018 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19020 wine_fn_output_makefile ()
19022 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19023 `cat $wine_rules_file`
19024 _WINE_EOF
19025 as_fn_error $? "could not create Makefile" "$LINENO" 5
19027 wine_fn_output_gitignore ()
19029 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
19030 $GITIGNORE
19031 _WINE_EOF
19032 as_fn_error $? "could not create .gitignore" "$LINENO" 5
19035 _ACEOF
19037 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19039 # Handling of arguments.
19040 for ac_config_target in $ac_config_targets
19042 case $ac_config_target in
19043 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19044 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19045 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19046 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19047 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19048 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19049 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19050 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19051 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
19052 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19053 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19054 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19055 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19056 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19057 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
19059 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19060 esac
19061 done
19064 # If the user did not use the arguments to specify the items to instantiate,
19065 # then the envvar interface is used. Set only those that are not.
19066 # We use the long form for the default assignment because of an extremely
19067 # bizarre bug on SunOS 4.1.3.
19068 if $ac_need_defaults; then
19069 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19070 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19071 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19072 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19075 # Have a temporary directory for convenience. Make it in the build tree
19076 # simply because there is no reason against having it here, and in addition,
19077 # creating and moving files from /tmp can sometimes cause problems.
19078 # Hook for its removal unless debugging.
19079 # Note that there is a small window in which the directory will not be cleaned:
19080 # after its creation but before its name has been assigned to `$tmp'.
19081 $debug ||
19083 tmp= ac_tmp=
19084 trap 'exit_status=$?
19085 : "${ac_tmp:=$tmp}"
19086 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19088 trap 'as_fn_exit 1' 1 2 13 15
19090 # Create a (secure) tmp directory for tmp files.
19093 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19094 test -d "$tmp"
19095 } ||
19097 tmp=./conf$$-$RANDOM
19098 (umask 077 && mkdir "$tmp")
19099 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19100 ac_tmp=$tmp
19102 # Set up the scripts for CONFIG_FILES section.
19103 # No need to generate them if there are no CONFIG_FILES.
19104 # This happens for instance with `./config.status config.h'.
19105 if test -n "$CONFIG_FILES"; then
19108 ac_cr=`echo X | tr X '\015'`
19109 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19110 # But we know of no other shell where ac_cr would be empty at this
19111 # point, so we can use a bashism as a fallback.
19112 if test "x$ac_cr" = x; then
19113 eval ac_cr=\$\'\\r\'
19115 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19116 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19117 ac_cs_awk_cr='\\r'
19118 else
19119 ac_cs_awk_cr=$ac_cr
19122 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19123 _ACEOF
19127 echo "cat >conf$$subs.awk <<_ACEOF" &&
19128 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19129 echo "_ACEOF"
19130 } >conf$$subs.sh ||
19131 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19132 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19133 ac_delim='%!_!# '
19134 for ac_last_try in false false false false false :; do
19135 . ./conf$$subs.sh ||
19136 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19138 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19139 if test $ac_delim_n = $ac_delim_num; then
19140 break
19141 elif $ac_last_try; then
19142 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19143 else
19144 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19146 done
19147 rm -f conf$$subs.sh
19149 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19150 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19151 _ACEOF
19152 sed -n '
19154 s/^/S["/; s/!.*/"]=/
19157 s/^[^!]*!//
19158 :repl
19159 t repl
19160 s/'"$ac_delim"'$//
19161 t delim
19164 s/\(.\{148\}\)..*/\1/
19165 t more1
19166 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19169 b repl
19170 :more1
19171 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19174 s/.\{148\}//
19175 t nl
19176 :delim
19178 s/\(.\{148\}\)..*/\1/
19179 t more2
19180 s/["\\]/\\&/g; s/^/"/; s/$/"/
19183 :more2
19184 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19187 s/.\{148\}//
19188 t delim
19189 ' <conf$$subs.awk | sed '
19190 /^[^""]/{
19192 s/\n//
19194 ' >>$CONFIG_STATUS || ac_write_fail=1
19195 rm -f conf$$subs.awk
19196 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19197 _ACAWK
19198 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19199 for (key in S) S_is_set[key] = 1
19200 FS = "\a"
19204 line = $ 0
19205 nfields = split(line, field, "@")
19206 substed = 0
19207 len = length(field[1])
19208 for (i = 2; i < nfields; i++) {
19209 key = field[i]
19210 keylen = length(key)
19211 if (S_is_set[key]) {
19212 value = S[key]
19213 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19214 len += length(value) + length(field[++i])
19215 substed = 1
19216 } else
19217 len += 1 + keylen
19220 print line
19223 _ACAWK
19224 _ACEOF
19225 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19226 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19227 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19228 else
19230 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19231 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19232 _ACEOF
19234 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19235 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19236 # trailing colons and then remove the whole line if VPATH becomes empty
19237 # (actually we leave an empty line to preserve line numbers).
19238 if test "x$srcdir" = x.; then
19239 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19241 s///
19242 s/^/:/
19243 s/[ ]*$/:/
19244 s/:\$(srcdir):/:/g
19245 s/:\${srcdir}:/:/g
19246 s/:@srcdir@:/:/g
19247 s/^:*//
19248 s/:*$//
19250 s/\(=[ ]*\).*/\1/
19252 s/\n//
19253 s/^[^=]*=[ ]*$//
19257 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19258 fi # test -n "$CONFIG_FILES"
19260 # Set up the scripts for CONFIG_HEADERS section.
19261 # No need to generate them if there are no CONFIG_HEADERS.
19262 # This happens for instance with `./config.status Makefile'.
19263 if test -n "$CONFIG_HEADERS"; then
19264 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19265 BEGIN {
19266 _ACEOF
19268 # Transform confdefs.h into an awk script `defines.awk', embedded as
19269 # here-document in config.status, that substitutes the proper values into
19270 # config.h.in to produce config.h.
19272 # Create a delimiter string that does not exist in confdefs.h, to ease
19273 # handling of long lines.
19274 ac_delim='%!_!# '
19275 for ac_last_try in false false :; do
19276 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19277 if test -z "$ac_tt"; then
19278 break
19279 elif $ac_last_try; then
19280 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19281 else
19282 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19284 done
19286 # For the awk script, D is an array of macro values keyed by name,
19287 # likewise P contains macro parameters if any. Preserve backslash
19288 # newline sequences.
19290 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19291 sed -n '
19292 s/.\{148\}/&'"$ac_delim"'/g
19293 t rset
19294 :rset
19295 s/^[ ]*#[ ]*define[ ][ ]*/ /
19296 t def
19298 :def
19299 s/\\$//
19300 t bsnl
19301 s/["\\]/\\&/g
19302 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19303 D["\1"]=" \3"/p
19304 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19306 :bsnl
19307 s/["\\]/\\&/g
19308 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19309 D["\1"]=" \3\\\\\\n"\\/p
19310 t cont
19311 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19312 t cont
19314 :cont
19316 s/.\{148\}/&'"$ac_delim"'/g
19317 t clear
19318 :clear
19319 s/\\$//
19320 t bsnlc
19321 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19323 :bsnlc
19324 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19325 b cont
19326 ' <confdefs.h | sed '
19327 s/'"$ac_delim"'/"\\\
19328 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19330 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19331 for (key in D) D_is_set[key] = 1
19332 FS = "\a"
19334 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19335 line = \$ 0
19336 split(line, arg, " ")
19337 if (arg[1] == "#") {
19338 defundef = arg[2]
19339 mac1 = arg[3]
19340 } else {
19341 defundef = substr(arg[1], 2)
19342 mac1 = arg[2]
19344 split(mac1, mac2, "(") #)
19345 macro = mac2[1]
19346 prefix = substr(line, 1, index(line, defundef) - 1)
19347 if (D_is_set[macro]) {
19348 # Preserve the white space surrounding the "#".
19349 print prefix "define", macro P[macro] D[macro]
19350 next
19351 } else {
19352 # Replace #undef with comments. This is necessary, for example,
19353 # in the case of _POSIX_SOURCE, which is predefined and required
19354 # on some systems where configure will not decide to define it.
19355 if (defundef == "undef") {
19356 print "/*", prefix defundef, macro, "*/"
19357 next
19361 { print }
19362 _ACAWK
19363 _ACEOF
19364 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19365 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19366 fi # test -n "$CONFIG_HEADERS"
19369 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19370 shift
19371 for ac_tag
19373 case $ac_tag in
19374 :[FHLC]) ac_mode=$ac_tag; continue;;
19375 esac
19376 case $ac_mode$ac_tag in
19377 :[FHL]*:*);;
19378 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19379 :[FH]-) ac_tag=-:-;;
19380 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19381 esac
19382 ac_save_IFS=$IFS
19383 IFS=:
19384 set x $ac_tag
19385 IFS=$ac_save_IFS
19386 shift
19387 ac_file=$1
19388 shift
19390 case $ac_mode in
19391 :L) ac_source=$1;;
19392 :[FH])
19393 ac_file_inputs=
19394 for ac_f
19396 case $ac_f in
19397 -) ac_f="$ac_tmp/stdin";;
19398 *) # Look for the file first in the build tree, then in the source tree
19399 # (if the path is not absolute). The absolute path cannot be DOS-style,
19400 # because $ac_f cannot contain `:'.
19401 test -f "$ac_f" ||
19402 case $ac_f in
19403 [\\/$]*) false;;
19404 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19405 esac ||
19406 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19407 esac
19408 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19409 as_fn_append ac_file_inputs " '$ac_f'"
19410 done
19412 # Let's still pretend it is `configure' which instantiates (i.e., don't
19413 # use $as_me), people would be surprised to read:
19414 # /* config.h. Generated by config.status. */
19415 configure_input='Generated from '`
19416 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19417 `' by configure.'
19418 if test x"$ac_file" != x-; then
19419 configure_input="$ac_file. $configure_input"
19420 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19421 $as_echo "$as_me: creating $ac_file" >&6;}
19423 # Neutralize special characters interpreted by sed in replacement strings.
19424 case $configure_input in #(
19425 *\&* | *\|* | *\\* )
19426 ac_sed_conf_input=`$as_echo "$configure_input" |
19427 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19428 *) ac_sed_conf_input=$configure_input;;
19429 esac
19431 case $ac_tag in
19432 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19433 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19434 esac
19436 esac
19438 ac_dir=`$as_dirname -- "$ac_file" ||
19439 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19440 X"$ac_file" : 'X\(//\)[^/]' \| \
19441 X"$ac_file" : 'X\(//\)$' \| \
19442 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19443 $as_echo X"$ac_file" |
19444 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19445 s//\1/
19448 /^X\(\/\/\)[^/].*/{
19449 s//\1/
19452 /^X\(\/\/\)$/{
19453 s//\1/
19456 /^X\(\/\).*/{
19457 s//\1/
19460 s/.*/./; q'`
19461 as_dir="$ac_dir"; as_fn_mkdir_p
19462 ac_builddir=.
19464 case "$ac_dir" in
19465 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19467 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19468 # A ".." for each directory in $ac_dir_suffix.
19469 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19470 case $ac_top_builddir_sub in
19471 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19472 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19473 esac ;;
19474 esac
19475 ac_abs_top_builddir=$ac_pwd
19476 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19477 # for backward compatibility:
19478 ac_top_builddir=$ac_top_build_prefix
19480 case $srcdir in
19481 .) # We are building in place.
19482 ac_srcdir=.
19483 ac_top_srcdir=$ac_top_builddir_sub
19484 ac_abs_top_srcdir=$ac_pwd ;;
19485 [\\/]* | ?:[\\/]* ) # Absolute name.
19486 ac_srcdir=$srcdir$ac_dir_suffix;
19487 ac_top_srcdir=$srcdir
19488 ac_abs_top_srcdir=$srcdir ;;
19489 *) # Relative name.
19490 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19491 ac_top_srcdir=$ac_top_build_prefix$srcdir
19492 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19493 esac
19494 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19497 case $ac_mode in
19500 # CONFIG_FILE
19503 _ACEOF
19505 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19506 # If the template does not know about datarootdir, expand it.
19507 # FIXME: This hack should be removed a few years after 2.60.
19508 ac_datarootdir_hack=; ac_datarootdir_seen=
19509 ac_sed_dataroot='
19510 /datarootdir/ {
19514 /@datadir@/p
19515 /@docdir@/p
19516 /@infodir@/p
19517 /@localedir@/p
19518 /@mandir@/p'
19519 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19520 *datarootdir*) ac_datarootdir_seen=yes;;
19521 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19523 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19524 _ACEOF
19525 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19526 ac_datarootdir_hack='
19527 s&@datadir@&$datadir&g
19528 s&@docdir@&$docdir&g
19529 s&@infodir@&$infodir&g
19530 s&@localedir@&$localedir&g
19531 s&@mandir@&$mandir&g
19532 s&\\\${datarootdir}&$datarootdir&g' ;;
19533 esac
19534 _ACEOF
19536 # Neutralize VPATH when `$srcdir' = `.'.
19537 # Shell code in configure.ac might set extrasub.
19538 # FIXME: do we really want to maintain this feature?
19539 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19540 ac_sed_extra="$ac_vpsub
19541 $extrasub
19542 _ACEOF
19543 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19545 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19546 s|@configure_input@|$ac_sed_conf_input|;t t
19547 s&@top_builddir@&$ac_top_builddir_sub&;t t
19548 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19549 s&@srcdir@&$ac_srcdir&;t t
19550 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19551 s&@top_srcdir@&$ac_top_srcdir&;t t
19552 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19553 s&@builddir@&$ac_builddir&;t t
19554 s&@abs_builddir@&$ac_abs_builddir&;t t
19555 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19556 $ac_datarootdir_hack
19558 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19559 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19561 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19562 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19563 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19564 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19566 which seems to be undefined. Please make sure it is defined" >&5
19567 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19568 which seems to be undefined. Please make sure it is defined" >&2;}
19570 rm -f "$ac_tmp/stdin"
19571 case $ac_file in
19572 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19573 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19574 esac \
19575 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19579 # CONFIG_HEADER
19581 if test x"$ac_file" != x-; then
19583 $as_echo "/* $configure_input */" \
19584 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19585 } >"$ac_tmp/config.h" \
19586 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19587 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19588 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19589 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19590 else
19591 rm -f "$ac_file"
19592 mv "$ac_tmp/config.h" "$ac_file" \
19593 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19595 else
19596 $as_echo "/* $configure_input */" \
19597 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19598 || as_fn_error $? "could not create -" "$LINENO" 5
19603 # CONFIG_LINK
19606 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19608 else
19609 # Prefer the file from the source tree if names are identical.
19610 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19611 ac_source=$srcdir/$ac_source
19614 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19615 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19617 if test ! -r "$ac_source"; then
19618 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19620 rm -f "$ac_file"
19622 # Try a relative symlink, then a hard link, then a copy.
19623 case $ac_source in
19624 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19625 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19626 esac
19627 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19628 ln "$ac_source" "$ac_file" 2>/dev/null ||
19629 cp -p "$ac_source" "$ac_file" ||
19630 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19633 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19634 $as_echo "$as_me: executing $ac_file commands" >&6;}
19636 esac
19639 case $ac_file$ac_mode in
19640 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19641 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19642 "Makefile":C) wine_fn_output_makefile Makefile ;;
19643 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19645 esac
19646 done # for ac_tag
19649 as_fn_exit 0
19650 _ACEOF
19651 ac_clean_files=$ac_clean_files_save
19653 test $ac_write_fail = 0 ||
19654 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19657 # configure is writing to config.log, and then calls config.status.
19658 # config.status does its own redirection, appending to config.log.
19659 # Unfortunately, on DOS this fails, as config.log is still kept open
19660 # by configure, so config.status won't be able to write to it; its
19661 # output is simply discarded. So we exec the FD to /dev/null,
19662 # effectively closing config.log, so it can be properly (re)opened and
19663 # appended to by config.status. When coming back to configure, we
19664 # need to make the FD available again.
19665 if test "$no_create" != yes; then
19666 ac_cs_success=:
19667 ac_config_status_args=
19668 test "$silent" = yes &&
19669 ac_config_status_args="$ac_config_status_args --quiet"
19670 exec 5>/dev/null
19671 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19672 exec 5>>config.log
19673 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19674 # would make configure fail if this is the last instruction.
19675 $ac_cs_success || as_fn_exit 1
19677 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19679 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19683 if test "$no_create" = "yes"
19684 then
19685 exit 0
19688 ac_save_IFS="$IFS"
19689 if test "x$wine_notices" != x; then
19690 echo >&6
19691 IFS="|"
19692 for msg in $wine_notices; do
19693 IFS="$ac_save_IFS"
19694 if ${msg:+false} :; then :
19696 else
19697 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19698 $as_echo "$as_me: $msg" >&6;}
19700 done
19702 IFS="|"
19703 for msg in $wine_warnings; do
19704 IFS="$ac_save_IFS"
19705 if ${msg:+false} :; then :
19707 else
19708 echo >&2
19709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19710 $as_echo "$as_me: WARNING: $msg" >&2;}
19712 done
19713 IFS="$ac_save_IFS"
19715 $as_echo "
19716 $as_me: Finished. Do '${ac_make}' to compile Wine.
19717 " >&6