ntdll: Store the kernel32 process entry point in a global variable.
[wine.git] / configure
blob66437786a5e6544fdae056feca03385df3e02e24
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.17.
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='2.17'
584 PACKAGE_STRING='Wine 2.17'
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 ALL_VARS_RULES
629 LDAP_LIBS
630 LDAP_CFLAGS
631 RT_LIBS
632 POLL_LIBS
633 DL_LIBS
634 TOOLSEXT
635 UNWINDFLAGS
636 EXCESS_PRECISION_CFLAGS
637 BUILTINFLAG
638 EXTRACFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JPEG_LIBS
650 JPEG_CFLAGS
651 FONTCONFIG_LIBS
652 FONTCONFIG_CFLAGS
653 CUPS_CFLAGS
654 CAPI20_LIBS
655 CAPI20_CFLAGS
656 UDEV_LIBS
657 UDEV_CFLAGS
658 OSS4_CFLAGS
659 ALSA_LIBS
660 GSTREAMER_LIBS
661 GSTREAMER_CFLAGS
662 PULSE_LIBS
663 PULSE_CFLAGS
664 GETTEXTPO_LIBS
665 Z_LIBS
666 FREETYPE_LIBS
667 FREETYPE_CFLAGS
668 LCMS2_LIBS
669 LCMS2_CFLAGS
670 RESOLV_LIBS
671 GPHOTO2_PORT_LIBS
672 GPHOTO2_PORT_CFLAGS
673 GPHOTO2_LIBS
674 GPHOTO2_CFLAGS
675 SANE_LIBS
676 SANE_CFLAGS
677 GNUTLS_LIBS
678 GNUTLS_CFLAGS
679 HAL_LIBS
680 HAL_CFLAGS
681 DBUS_LIBS
682 DBUS_CFLAGS
683 XSLT_LIBS
684 XSLT_CFLAGS
685 XML2_LIBS
686 XML2_CFLAGS
687 PCAP_LIBS
688 X_EXTRA_LIBS
689 X_LIBS
690 X_PRE_LIBS
691 X_CFLAGS
692 XMKMF
693 PTHREAD_LIBS
694 CROSSCFLAGS
695 CROSSCC
696 CROSSTARGET
697 PRELINK
698 WINELOADER_DEPENDS
699 CARBON_LIBS
700 QUICKTIME_LIBS
701 OPENCL_LIBS
702 OPENAL_LIBS
703 COREAUDIO_LIBS
704 SECURITY_LIBS
705 DISKARBITRATION_LIBS
706 APPKIT_LIBS
707 CORESERVICES_LIBS
708 APPLICATIONSERVICES_LIBS
709 FORCEFEEDBACK_LIBS
710 IOKIT_LIBS
711 COREFOUNDATION_LIBS
712 LIBWINE_DEPENDS
713 LIBWINE_LDFLAGS
714 LIBWINE_INSTALL_DEV
715 LIBWINE_INSTALL_LIB
716 LIBWINE_IMPORTLIB
717 LIBWINE_SHAREDLIB
718 SOCKET_LIBS
719 DLLTOOL
720 WINELOADER_PROGRAMS
721 ALL_TEST_RESOURCES
722 CONFIGURE_TARGETS
723 DISABLED_SUBDIRS
724 SUBDIRS
725 READELF
726 OTOOL
728 WINELOADER_LDFLAGS
729 LDEXECFLAGS
730 LDRPATH_LOCAL
731 LDRPATH_INSTALL
732 DLLFLAGS
733 dlldir
735 OPENGL_LIBS
736 ICOTOOL
737 CONVERT
738 RSVG
739 FONTFORGE
740 PKG_CONFIG
741 MSGFMT
742 LDCONFIG
743 EGREP
744 GREP
745 LN_S
746 RANLIB
747 ARFLAGS
748 STRIP
749 ac_ct_AR
751 BISON
752 FLEX
753 TOOLSDIR
754 TARGETFLAGS
756 CPPBIN
757 ac_ct_CXX
758 CXXFLAGS
760 OBJEXT
761 EXEEXT
762 ac_ct_CC
763 CPPFLAGS
764 LDFLAGS
765 CFLAGS
767 SET_MAKE
768 host_os
769 host_vendor
770 host_cpu
771 host
772 build_os
773 build_vendor
774 build_cpu
775 build
776 target_alias
777 host_alias
778 build_alias
779 LIBS
780 ECHO_T
781 ECHO_N
782 ECHO_C
783 DEFS
784 mandir
785 localedir
786 libdir
787 psdir
788 pdfdir
789 dvidir
790 htmldir
791 infodir
792 docdir
793 oldincludedir
794 includedir
795 runstatedir
796 localstatedir
797 sharedstatedir
798 sysconfdir
799 datadir
800 datarootdir
801 libexecdir
802 sbindir
803 bindir
804 program_transform_name
805 prefix
806 exec_prefix
807 PACKAGE_URL
808 PACKAGE_BUGREPORT
809 PACKAGE_STRING
810 PACKAGE_VERSION
811 PACKAGE_TARNAME
812 PACKAGE_NAME
813 PATH_SEPARATOR
814 SHELL'
815 ac_subst_files=''
816 ac_user_opts='
817 enable_option_checking
818 enable_win16
819 enable_win64
820 enable_tests
821 enable_maintainer_mode
822 with_alsa
823 with_capi
824 with_cms
825 with_coreaudio
826 with_cups
827 with_curses
828 with_dbus
829 with_fontconfig
830 with_freetype
831 with_gettext
832 with_gettextpo
833 with_gphoto
834 with_glu
835 with_gnutls
836 with_gsm
837 with_gstreamer
838 with_hal
839 with_jpeg
840 with_ldap
841 with_mpg123
842 with_netapi
843 with_openal
844 with_opencl
845 with_opengl
846 with_osmesa
847 with_oss
848 with_pcap
849 with_png
850 with_pthread
851 with_pulse
852 with_sane
853 with_tiff
854 with_udev
855 with_v4l
856 with_xcomposite
857 with_xcursor
858 with_xfixes
859 with_xinerama
860 with_xinput
861 with_xinput2
862 with_xml
863 with_xrandr
864 with_xrender
865 with_xshape
866 with_xshm
867 with_xslt
868 with_xxf86vm
869 with_zlib
870 with_wine_tools
871 with_wine64
872 enable_largefile
873 with_x
874 enable_acledit
875 enable_aclui
876 enable_activeds
877 enable_actxprxy
878 enable_adsldpc
879 enable_advapi32
880 enable_advpack
881 enable_amstream
882 enable_api_ms_win_appmodel_identity_l1_1_0
883 enable_api_ms_win_appmodel_runtime_l1_1_1
884 enable_api_ms_win_core_apiquery_l1_1_0
885 enable_api_ms_win_core_appcompat_l1_1_1
886 enable_api_ms_win_core_appinit_l1_1_0
887 enable_api_ms_win_core_atoms_l1_1_0
888 enable_api_ms_win_core_bem_l1_1_0
889 enable_api_ms_win_core_com_l1_1_0
890 enable_api_ms_win_core_com_l1_1_1
891 enable_api_ms_win_core_com_private_l1_1_0
892 enable_api_ms_win_core_console_l1_1_0
893 enable_api_ms_win_core_console_l2_1_0
894 enable_api_ms_win_core_crt_l1_1_0
895 enable_api_ms_win_core_crt_l2_1_0
896 enable_api_ms_win_core_datetime_l1_1_0
897 enable_api_ms_win_core_datetime_l1_1_1
898 enable_api_ms_win_core_debug_l1_1_0
899 enable_api_ms_win_core_debug_l1_1_1
900 enable_api_ms_win_core_delayload_l1_1_0
901 enable_api_ms_win_core_delayload_l1_1_1
902 enable_api_ms_win_core_errorhandling_l1_1_0
903 enable_api_ms_win_core_errorhandling_l1_1_1
904 enable_api_ms_win_core_errorhandling_l1_1_2
905 enable_api_ms_win_core_fibers_l1_1_0
906 enable_api_ms_win_core_fibers_l1_1_1
907 enable_api_ms_win_core_file_l1_1_0
908 enable_api_ms_win_core_file_l1_2_0
909 enable_api_ms_win_core_file_l1_2_1
910 enable_api_ms_win_core_file_l2_1_0
911 enable_api_ms_win_core_file_l2_1_1
912 enable_api_ms_win_core_handle_l1_1_0
913 enable_api_ms_win_core_heap_l1_1_0
914 enable_api_ms_win_core_heap_l1_2_0
915 enable_api_ms_win_core_heap_l2_1_0
916 enable_api_ms_win_core_heap_obsolete_l1_1_0
917 enable_api_ms_win_core_interlocked_l1_1_0
918 enable_api_ms_win_core_interlocked_l1_2_0
919 enable_api_ms_win_core_io_l1_1_0
920 enable_api_ms_win_core_io_l1_1_1
921 enable_api_ms_win_core_job_l1_1_0
922 enable_api_ms_win_core_job_l2_1_0
923 enable_api_ms_win_core_kernel32_legacy_l1_1_0
924 enable_api_ms_win_core_kernel32_legacy_l1_1_1
925 enable_api_ms_win_core_kernel32_private_l1_1_1
926 enable_api_ms_win_core_libraryloader_l1_1_0
927 enable_api_ms_win_core_libraryloader_l1_1_1
928 enable_api_ms_win_core_libraryloader_l1_2_0
929 enable_api_ms_win_core_libraryloader_l1_2_2
930 enable_api_ms_win_core_localization_l1_1_0
931 enable_api_ms_win_core_localization_l1_2_0
932 enable_api_ms_win_core_localization_l1_2_1
933 enable_api_ms_win_core_localization_l2_1_0
934 enable_api_ms_win_core_localization_obsolete_l1_1_0
935 enable_api_ms_win_core_localization_obsolete_l1_2_0
936 enable_api_ms_win_core_localization_obsolete_l1_3_0
937 enable_api_ms_win_core_localization_private_l1_1_0
938 enable_api_ms_win_core_localregistry_l1_1_0
939 enable_api_ms_win_core_memory_l1_1_0
940 enable_api_ms_win_core_memory_l1_1_1
941 enable_api_ms_win_core_memory_l1_1_2
942 enable_api_ms_win_core_misc_l1_1_0
943 enable_api_ms_win_core_namedpipe_l1_1_0
944 enable_api_ms_win_core_namedpipe_l1_2_0
945 enable_api_ms_win_core_namespace_l1_1_0
946 enable_api_ms_win_core_normalization_l1_1_0
947 enable_api_ms_win_core_path_l1_1_0
948 enable_api_ms_win_core_privateprofile_l1_1_1
949 enable_api_ms_win_core_processenvironment_l1_1_0
950 enable_api_ms_win_core_processenvironment_l1_2_0
951 enable_api_ms_win_core_processthreads_l1_1_0
952 enable_api_ms_win_core_processthreads_l1_1_1
953 enable_api_ms_win_core_processthreads_l1_1_2
954 enable_api_ms_win_core_profile_l1_1_0
955 enable_api_ms_win_core_psapi_ansi_l1_1_0
956 enable_api_ms_win_core_psapi_l1_1_0
957 enable_api_ms_win_core_psapi_obsolete_l1_1_0
958 enable_api_ms_win_core_quirks_l1_1_0
959 enable_api_ms_win_core_realtime_l1_1_0
960 enable_api_ms_win_core_registry_l1_1_0
961 enable_api_ms_win_core_registry_l2_1_0
962 enable_api_ms_win_core_registryuserspecific_l1_1_0
963 enable_api_ms_win_core_rtlsupport_l1_1_0
964 enable_api_ms_win_core_rtlsupport_l1_2_0
965 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
966 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
967 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
968 enable_api_ms_win_core_sidebyside_l1_1_0
969 enable_api_ms_win_core_string_l1_1_0
970 enable_api_ms_win_core_string_l2_1_0
971 enable_api_ms_win_core_string_obsolete_l1_1_0
972 enable_api_ms_win_core_stringansi_l1_1_0
973 enable_api_ms_win_core_synch_l1_1_0
974 enable_api_ms_win_core_synch_l1_2_0
975 enable_api_ms_win_core_synch_l1_2_1
976 enable_api_ms_win_core_sysinfo_l1_1_0
977 enable_api_ms_win_core_sysinfo_l1_2_0
978 enable_api_ms_win_core_sysinfo_l1_2_1
979 enable_api_ms_win_core_threadpool_l1_1_0
980 enable_api_ms_win_core_threadpool_l1_2_0
981 enable_api_ms_win_core_threadpool_legacy_l1_1_0
982 enable_api_ms_win_core_threadpool_private_l1_1_0
983 enable_api_ms_win_core_timezone_l1_1_0
984 enable_api_ms_win_core_toolhelp_l1_1_0
985 enable_api_ms_win_core_url_l1_1_0
986 enable_api_ms_win_core_util_l1_1_0
987 enable_api_ms_win_core_version_l1_1_0
988 enable_api_ms_win_core_version_private_l1_1_0
989 enable_api_ms_win_core_versionansi_l1_1_0
990 enable_api_ms_win_core_windowserrorreporting_l1_1_0
991 enable_api_ms_win_core_winrt_error_l1_1_0
992 enable_api_ms_win_core_winrt_error_l1_1_1
993 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
994 enable_api_ms_win_core_winrt_l1_1_0
995 enable_api_ms_win_core_winrt_registration_l1_1_0
996 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
997 enable_api_ms_win_core_winrt_string_l1_1_0
998 enable_api_ms_win_core_wow64_l1_1_0
999 enable_api_ms_win_core_xstate_l1_1_0
1000 enable_api_ms_win_core_xstate_l2_1_0
1001 enable_api_ms_win_crt_conio_l1_1_0
1002 enable_api_ms_win_crt_convert_l1_1_0
1003 enable_api_ms_win_crt_environment_l1_1_0
1004 enable_api_ms_win_crt_filesystem_l1_1_0
1005 enable_api_ms_win_crt_heap_l1_1_0
1006 enable_api_ms_win_crt_locale_l1_1_0
1007 enable_api_ms_win_crt_math_l1_1_0
1008 enable_api_ms_win_crt_multibyte_l1_1_0
1009 enable_api_ms_win_crt_private_l1_1_0
1010 enable_api_ms_win_crt_process_l1_1_0
1011 enable_api_ms_win_crt_runtime_l1_1_0
1012 enable_api_ms_win_crt_stdio_l1_1_0
1013 enable_api_ms_win_crt_string_l1_1_0
1014 enable_api_ms_win_crt_time_l1_1_0
1015 enable_api_ms_win_crt_utility_l1_1_0
1016 enable_api_ms_win_devices_config_l1_1_1
1017 enable_api_ms_win_devices_query_l1_1_1
1018 enable_api_ms_win_downlevel_advapi32_l1_1_0
1019 enable_api_ms_win_downlevel_advapi32_l2_1_0
1020 enable_api_ms_win_downlevel_normaliz_l1_1_0
1021 enable_api_ms_win_downlevel_ole32_l1_1_0
1022 enable_api_ms_win_downlevel_shell32_l1_1_0
1023 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1024 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1025 enable_api_ms_win_downlevel_user32_l1_1_0
1026 enable_api_ms_win_downlevel_version_l1_1_0
1027 enable_api_ms_win_dx_d3dkmt_l1_1_0
1028 enable_api_ms_win_eventing_classicprovider_l1_1_0
1029 enable_api_ms_win_eventing_consumer_l1_1_0
1030 enable_api_ms_win_eventing_controller_l1_1_0
1031 enable_api_ms_win_eventing_legacy_l1_1_0
1032 enable_api_ms_win_eventing_provider_l1_1_0
1033 enable_api_ms_win_eventlog_legacy_l1_1_0
1034 enable_api_ms_win_mm_joystick_l1_1_0
1035 enable_api_ms_win_mm_misc_l1_1_1
1036 enable_api_ms_win_mm_mme_l1_1_0
1037 enable_api_ms_win_mm_time_l1_1_0
1038 enable_api_ms_win_ntuser_dc_access_l1_1_0
1039 enable_api_ms_win_power_base_l1_1_0
1040 enable_api_ms_win_power_setting_l1_1_0
1041 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1042 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1043 enable_api_ms_win_security_audit_l1_1_1
1044 enable_api_ms_win_security_base_l1_1_0
1045 enable_api_ms_win_security_base_l1_2_0
1046 enable_api_ms_win_security_base_private_l1_1_1
1047 enable_api_ms_win_security_credentials_l1_1_0
1048 enable_api_ms_win_security_grouppolicy_l1_1_0
1049 enable_api_ms_win_security_lsalookup_l1_1_0
1050 enable_api_ms_win_security_lsalookup_l1_1_1
1051 enable_api_ms_win_security_lsalookup_l2_1_1
1052 enable_api_ms_win_security_lsapolicy_l1_1_0
1053 enable_api_ms_win_security_provider_l1_1_0
1054 enable_api_ms_win_security_sddl_l1_1_0
1055 enable_api_ms_win_security_systemfunctions_l1_1_0
1056 enable_api_ms_win_service_core_l1_1_0
1057 enable_api_ms_win_service_core_l1_1_1
1058 enable_api_ms_win_service_management_l1_1_0
1059 enable_api_ms_win_service_management_l2_1_0
1060 enable_api_ms_win_service_private_l1_1_1
1061 enable_api_ms_win_service_winsvc_l1_1_0
1062 enable_api_ms_win_service_winsvc_l1_2_0
1063 enable_api_ms_win_shell_shellcom_l1_1_0
1064 enable_api_ms_win_shell_shellfolders_l1_1_0
1065 enable_apphelp
1066 enable_appwiz_cpl
1067 enable_atl
1068 enable_atl100
1069 enable_atl110
1070 enable_atl80
1071 enable_atl90
1072 enable_authz
1073 enable_avicap32
1074 enable_avifil32
1075 enable_avrt
1076 enable_bcrypt
1077 enable_bluetoothapis
1078 enable_browseui
1079 enable_bthprops_cpl
1080 enable_cabinet
1081 enable_capi2032
1082 enable_cards
1083 enable_cfgmgr32
1084 enable_clusapi
1085 enable_combase
1086 enable_comcat
1087 enable_comctl32
1088 enable_comdlg32
1089 enable_compstui
1090 enable_comsvcs
1091 enable_concrt140
1092 enable_connect
1093 enable_credui
1094 enable_crtdll
1095 enable_crypt32
1096 enable_cryptdlg
1097 enable_cryptdll
1098 enable_cryptext
1099 enable_cryptnet
1100 enable_cryptui
1101 enable_ctapi32
1102 enable_ctl3d32
1103 enable_d2d1
1104 enable_d3d10
1105 enable_d3d10_1
1106 enable_d3d10core
1107 enable_d3d11
1108 enable_d3d8
1109 enable_d3d9
1110 enable_d3dcompiler_33
1111 enable_d3dcompiler_34
1112 enable_d3dcompiler_35
1113 enable_d3dcompiler_36
1114 enable_d3dcompiler_37
1115 enable_d3dcompiler_38
1116 enable_d3dcompiler_39
1117 enable_d3dcompiler_40
1118 enable_d3dcompiler_41
1119 enable_d3dcompiler_42
1120 enable_d3dcompiler_43
1121 enable_d3dcompiler_46
1122 enable_d3dcompiler_47
1123 enable_d3dim
1124 enable_d3drm
1125 enable_d3dx10_33
1126 enable_d3dx10_34
1127 enable_d3dx10_35
1128 enable_d3dx10_36
1129 enable_d3dx10_37
1130 enable_d3dx10_38
1131 enable_d3dx10_39
1132 enable_d3dx10_40
1133 enable_d3dx10_41
1134 enable_d3dx10_42
1135 enable_d3dx10_43
1136 enable_d3dx11_42
1137 enable_d3dx11_43
1138 enable_d3dx9_24
1139 enable_d3dx9_25
1140 enable_d3dx9_26
1141 enable_d3dx9_27
1142 enable_d3dx9_28
1143 enable_d3dx9_29
1144 enable_d3dx9_30
1145 enable_d3dx9_31
1146 enable_d3dx9_32
1147 enable_d3dx9_33
1148 enable_d3dx9_34
1149 enable_d3dx9_35
1150 enable_d3dx9_36
1151 enable_d3dx9_37
1152 enable_d3dx9_38
1153 enable_d3dx9_39
1154 enable_d3dx9_40
1155 enable_d3dx9_41
1156 enable_d3dx9_42
1157 enable_d3dx9_43
1158 enable_d3dxof
1159 enable_davclnt
1160 enable_dbgeng
1161 enable_dbghelp
1162 enable_dciman32
1163 enable_ddraw
1164 enable_ddrawex
1165 enable_devenum
1166 enable_dhcpcsvc
1167 enable_difxapi
1168 enable_dinput
1169 enable_dinput8
1170 enable_dispex
1171 enable_dmband
1172 enable_dmcompos
1173 enable_dmime
1174 enable_dmloader
1175 enable_dmscript
1176 enable_dmstyle
1177 enable_dmsynth
1178 enable_dmusic
1179 enable_dmusic32
1180 enable_dnsapi
1181 enable_dplay
1182 enable_dplayx
1183 enable_dpnaddr
1184 enable_dpnet
1185 enable_dpnhpast
1186 enable_dpnlobby
1187 enable_dpvoice
1188 enable_dpwsockx
1189 enable_drmclien
1190 enable_dsound
1191 enable_dsquery
1192 enable_dssenh
1193 enable_dswave
1194 enable_dwmapi
1195 enable_dwrite
1196 enable_dxdiagn
1197 enable_dxgi
1198 enable_dxva2
1199 enable_esent
1200 enable_evr
1201 enable_explorerframe
1202 enable_ext_ms_win_authz_context_l1_1_0
1203 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1204 enable_ext_ms_win_gdi_dc_create_l1_1_1
1205 enable_ext_ms_win_gdi_dc_l1_2_0
1206 enable_ext_ms_win_gdi_devcaps_l1_1_0
1207 enable_ext_ms_win_gdi_draw_l1_1_1
1208 enable_ext_ms_win_gdi_render_l1_1_0
1209 enable_ext_ms_win_kernel32_package_current_l1_1_0
1210 enable_ext_ms_win_kernel32_package_l1_1_1
1211 enable_ext_ms_win_ntuser_message_l1_1_1
1212 enable_ext_ms_win_ntuser_private_l1_1_1
1213 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1214 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1215 enable_ext_ms_win_ntuser_window_l1_1_1
1216 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1217 enable_ext_ms_win_ras_rasapi32_l1_1_0
1218 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1219 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1220 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1221 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1222 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1223 enable_ext_ms_win_security_credui_l1_1_0
1224 enable_ext_ms_win_security_cryptui_l1_1_0
1225 enable_faultrep
1226 enable_fltlib
1227 enable_fltmgr_sys
1228 enable_fntcache
1229 enable_fontsub
1230 enable_fusion
1231 enable_fwpuclnt
1232 enable_gameux
1233 enable_gdi32
1234 enable_gdiplus
1235 enable_glu32
1236 enable_gphoto2_ds
1237 enable_gpkcsp
1238 enable_hal
1239 enable_hhctrl_ocx
1240 enable_hid
1241 enable_hidclass_sys
1242 enable_hlink
1243 enable_hnetcfg
1244 enable_httpapi
1245 enable_iccvid
1246 enable_icmp
1247 enable_ieframe
1248 enable_ieproxy
1249 enable_imaadp32_acm
1250 enable_imagehlp
1251 enable_imm32
1252 enable_inetcomm
1253 enable_inetcpl_cpl
1254 enable_inetmib1
1255 enable_infosoft
1256 enable_initpki
1257 enable_inkobj
1258 enable_inseng
1259 enable_iphlpapi
1260 enable_iprop
1261 enable_irprops_cpl
1262 enable_itircl
1263 enable_itss
1264 enable_joy_cpl
1265 enable_jscript
1266 enable_jsproxy
1267 enable_kernel32
1268 enable_kernelbase
1269 enable_ksuser
1270 enable_ktmw32
1271 enable_loadperf
1272 enable_localspl
1273 enable_localui
1274 enable_lz32
1275 enable_mapi32
1276 enable_mapistub
1277 enable_mciavi32
1278 enable_mcicda
1279 enable_mciqtz32
1280 enable_mciseq
1281 enable_mciwave
1282 enable_mf
1283 enable_mf3216
1284 enable_mfplat
1285 enable_mfreadwrite
1286 enable_mgmtapi
1287 enable_midimap
1288 enable_mlang
1289 enable_mmcndmgr
1290 enable_mmdevapi
1291 enable_mountmgr_sys
1292 enable_mpr
1293 enable_mprapi
1294 enable_msacm32_drv
1295 enable_msacm32
1296 enable_msadp32_acm
1297 enable_msasn1
1298 enable_mscat32
1299 enable_mscms
1300 enable_mscoree
1301 enable_msctf
1302 enable_msctfp
1303 enable_msdaps
1304 enable_msdelta
1305 enable_msdmo
1306 enable_msdrm
1307 enable_msftedit
1308 enable_msg711_acm
1309 enable_msgsm32_acm
1310 enable_mshtml_tlb
1311 enable_mshtml
1312 enable_msi
1313 enable_msident
1314 enable_msimg32
1315 enable_msimsg
1316 enable_msimtf
1317 enable_msisip
1318 enable_msisys_ocx
1319 enable_msls31
1320 enable_msnet32
1321 enable_mspatcha
1322 enable_msports
1323 enable_msrle32
1324 enable_msscript_ocx
1325 enable_mssign32
1326 enable_mssip32
1327 enable_mstask
1328 enable_msvcirt
1329 enable_msvcm80
1330 enable_msvcm90
1331 enable_msvcp100
1332 enable_msvcp110
1333 enable_msvcp120
1334 enable_msvcp120_app
1335 enable_msvcp140
1336 enable_msvcp60
1337 enable_msvcp70
1338 enable_msvcp71
1339 enable_msvcp80
1340 enable_msvcp90
1341 enable_msvcr100
1342 enable_msvcr110
1343 enable_msvcr120
1344 enable_msvcr120_app
1345 enable_msvcr70
1346 enable_msvcr71
1347 enable_msvcr80
1348 enable_msvcr90
1349 enable_msvcrt
1350 enable_msvcrt20
1351 enable_msvcrt40
1352 enable_msvcrtd
1353 enable_msvfw32
1354 enable_msvidc32
1355 enable_mswsock
1356 enable_msxml
1357 enable_msxml2
1358 enable_msxml3
1359 enable_msxml4
1360 enable_msxml6
1361 enable_mtxdm
1362 enable_ncrypt
1363 enable_nddeapi
1364 enable_ndis_sys
1365 enable_netapi32
1366 enable_netcfgx
1367 enable_netprofm
1368 enable_newdev
1369 enable_normaliz
1370 enable_npmshtml
1371 enable_npptools
1372 enable_ntdll
1373 enable_ntdsapi
1374 enable_ntoskrnl_exe
1375 enable_ntprint
1376 enable_objsel
1377 enable_odbc32
1378 enable_odbccp32
1379 enable_odbccu32
1380 enable_ole32
1381 enable_oleacc
1382 enable_oleaut32
1383 enable_olecli32
1384 enable_oledb32
1385 enable_oledlg
1386 enable_olepro32
1387 enable_olesvr32
1388 enable_olethk32
1389 enable_openal32
1390 enable_opencl
1391 enable_opengl32
1392 enable_packager
1393 enable_pdh
1394 enable_photometadatahandler
1395 enable_pidgen
1396 enable_powrprof
1397 enable_printui
1398 enable_prntvpt
1399 enable_propsys
1400 enable_psapi
1401 enable_pstorec
1402 enable_qcap
1403 enable_qedit
1404 enable_qmgr
1405 enable_qmgrprxy
1406 enable_quartz
1407 enable_query
1408 enable_rasapi32
1409 enable_rasdlg
1410 enable_regapi
1411 enable_resutils
1412 enable_riched20
1413 enable_riched32
1414 enable_rpcrt4
1415 enable_rsabase
1416 enable_rsaenh
1417 enable_rstrtmgr
1418 enable_rtutils
1419 enable_samlib
1420 enable_sane_ds
1421 enable_scarddlg
1422 enable_sccbase
1423 enable_schannel
1424 enable_schedsvc
1425 enable_scrobj
1426 enable_scrrun
1427 enable_scsiport_sys
1428 enable_secur32
1429 enable_security
1430 enable_sensapi
1431 enable_serialui
1432 enable_setupapi
1433 enable_sfc
1434 enable_sfc_os
1435 enable_shdoclc
1436 enable_shdocvw
1437 enable_shell32
1438 enable_shfolder
1439 enable_shlwapi
1440 enable_slbcsp
1441 enable_slc
1442 enable_snmpapi
1443 enable_softpub
1444 enable_spoolss
1445 enable_sspicli
1446 enable_stdole2_tlb
1447 enable_stdole32_tlb
1448 enable_sti
1449 enable_svrapi
1450 enable_sxs
1451 enable_t2embed
1452 enable_tapi32
1453 enable_taskschd
1454 enable_tdh
1455 enable_tdi_sys
1456 enable_traffic
1457 enable_twain_32
1458 enable_ucrtbase
1459 enable_uiautomationcore
1460 enable_uiribbon
1461 enable_unicows
1462 enable_updspapi
1463 enable_url
1464 enable_urlmon
1465 enable_usbd_sys
1466 enable_user32
1467 enable_userenv
1468 enable_usp10
1469 enable_uxtheme
1470 enable_vbscript
1471 enable_vcomp
1472 enable_vcomp100
1473 enable_vcomp110
1474 enable_vcomp120
1475 enable_vcomp140
1476 enable_vcomp90
1477 enable_vcruntime140
1478 enable_vdmdbg
1479 enable_version
1480 enable_virtdisk
1481 enable_vssapi
1482 enable_wbemdisp
1483 enable_wbemprox
1484 enable_webservices
1485 enable_wer
1486 enable_wevtapi
1487 enable_wiaservc
1488 enable_wimgapi
1489 enable_windowscodecs
1490 enable_windowscodecsext
1491 enable_winealsa_drv
1492 enable_wineandroid_drv
1493 enable_winebus_sys
1494 enable_winecoreaudio_drv
1495 enable_wined3d
1496 enable_winegstreamer
1497 enable_winehid_sys
1498 enable_winejoystick_drv
1499 enable_winemac_drv
1500 enable_winemapi
1501 enable_winemp3_acm
1502 enable_wineoss_drv
1503 enable_wineps_drv
1504 enable_winepulse_drv
1505 enable_wineqtdecoder
1506 enable_winex11_drv
1507 enable_wing32
1508 enable_winhttp
1509 enable_wininet
1510 enable_winmm
1511 enable_winnls32
1512 enable_winscard
1513 enable_winspool_drv
1514 enable_winsta
1515 enable_wintab32
1516 enable_wintrust
1517 enable_winusb
1518 enable_wlanapi
1519 enable_wldap32
1520 enable_wmasf
1521 enable_wmi
1522 enable_wmiutils
1523 enable_wmp
1524 enable_wmphoto
1525 enable_wmvcore
1526 enable_wnaspi32
1527 enable_wpc
1528 enable_wpcap
1529 enable_ws2_32
1530 enable_wsdapi
1531 enable_wshom_ocx
1532 enable_wsnmp32
1533 enable_wsock32
1534 enable_wtsapi32
1535 enable_wuapi
1536 enable_wuaueng
1537 enable_x3daudio1_0
1538 enable_x3daudio1_1
1539 enable_x3daudio1_2
1540 enable_x3daudio1_3
1541 enable_x3daudio1_4
1542 enable_x3daudio1_5
1543 enable_x3daudio1_6
1544 enable_x3daudio1_7
1545 enable_xapofx1_1
1546 enable_xapofx1_2
1547 enable_xapofx1_3
1548 enable_xapofx1_4
1549 enable_xapofx1_5
1550 enable_xaudio2_0
1551 enable_xaudio2_1
1552 enable_xaudio2_2
1553 enable_xaudio2_3
1554 enable_xaudio2_4
1555 enable_xaudio2_5
1556 enable_xaudio2_6
1557 enable_xaudio2_7
1558 enable_xaudio2_8
1559 enable_xaudio2_9
1560 enable_xinput1_1
1561 enable_xinput1_2
1562 enable_xinput1_3
1563 enable_xinput1_4
1564 enable_xinput9_1_0
1565 enable_xmllite
1566 enable_xolehlp
1567 enable_xpsprint
1568 enable_xpssvcs
1569 enable_fonts
1570 enable_include
1571 enable_libs_port
1572 enable_libs_wine
1573 enable_libs_wpp
1574 enable_loader
1575 enable_po
1576 enable_arp
1577 enable_aspnet_regiis
1578 enable_attrib
1579 enable_cabarc
1580 enable_cacls
1581 enable_clock
1582 enable_cmd
1583 enable_conhost
1584 enable_control
1585 enable_cscript
1586 enable_dpnsvr
1587 enable_dxdiag
1588 enable_eject
1589 enable_expand
1590 enable_explorer
1591 enable_extrac32
1592 enable_findstr
1593 enable_fsutil
1594 enable_hh
1595 enable_hostname
1596 enable_icacls
1597 enable_icinfo
1598 enable_iexplore
1599 enable_ipconfig
1600 enable_lodctr
1601 enable_mofcomp
1602 enable_mshta
1603 enable_msiexec
1604 enable_msinfo32
1605 enable_net
1606 enable_netsh
1607 enable_netstat
1608 enable_ngen
1609 enable_notepad
1610 enable_oleview
1611 enable_ping
1612 enable_plugplay
1613 enable_powershell
1614 enable_presentationfontcache
1615 enable_progman
1616 enable_reg
1617 enable_regasm
1618 enable_regedit
1619 enable_regsvcs
1620 enable_regsvr32
1621 enable_rpcss
1622 enable_rundll32
1623 enable_sc
1624 enable_schtasks
1625 enable_sdbinst
1626 enable_secedit
1627 enable_servicemodelreg
1628 enable_services
1629 enable_shutdown
1630 enable_spoolsv
1631 enable_start
1632 enable_subst
1633 enable_svchost
1634 enable_systeminfo
1635 enable_taskkill
1636 enable_tasklist
1637 enable_taskmgr
1638 enable_termsv
1639 enable_uninstaller
1640 enable_unlodctr
1641 enable_view
1642 enable_wevtutil
1643 enable_wineboot
1644 enable_winebrowser
1645 enable_winecfg
1646 enable_wineconsole
1647 enable_winedbg
1648 enable_winedevice
1649 enable_winefile
1650 enable_winemenubuilder
1651 enable_winemine
1652 enable_winemsibuilder
1653 enable_winepath
1654 enable_winetest
1655 enable_winhlp32
1656 enable_winver
1657 enable_wmic
1658 enable_wmplayer
1659 enable_wordpad
1660 enable_write
1661 enable_wscript
1662 enable_wusa
1663 enable_xcopy
1664 enable_server
1665 enable_tools
1667 ac_precious_vars='build_alias
1668 host_alias
1669 target_alias
1671 CFLAGS
1672 LDFLAGS
1673 LIBS
1674 CPPFLAGS
1676 CXXFLAGS
1679 XMKMF
1680 XML2_CFLAGS
1681 XML2_LIBS
1682 XSLT_CFLAGS
1683 XSLT_LIBS
1684 DBUS_CFLAGS
1685 DBUS_LIBS
1686 HAL_CFLAGS
1687 HAL_LIBS
1688 GNUTLS_CFLAGS
1689 GNUTLS_LIBS
1690 SANE_CFLAGS
1691 SANE_LIBS
1692 GPHOTO2_CFLAGS
1693 GPHOTO2_LIBS
1694 GPHOTO2_PORT_CFLAGS
1695 GPHOTO2_PORT_LIBS
1696 LCMS2_CFLAGS
1697 LCMS2_LIBS
1698 FREETYPE_CFLAGS
1699 FREETYPE_LIBS
1700 PULSE_CFLAGS
1701 PULSE_LIBS
1702 GSTREAMER_CFLAGS
1703 GSTREAMER_LIBS
1704 UDEV_CFLAGS
1705 UDEV_LIBS
1706 CAPI20_CFLAGS
1707 CAPI20_LIBS
1708 FONTCONFIG_CFLAGS
1709 FONTCONFIG_LIBS
1710 JPEG_CFLAGS
1711 JPEG_LIBS
1712 PNG_CFLAGS
1713 PNG_LIBS
1714 TIFF_CFLAGS
1715 TIFF_LIBS
1716 MPG123_CFLAGS
1717 MPG123_LIBS
1718 NETAPI_CFLAGS
1719 NETAPI_LIBS
1720 LDAP_CFLAGS
1721 LDAP_LIBS'
1724 # Initialize some variables set by options.
1725 ac_init_help=
1726 ac_init_version=false
1727 ac_unrecognized_opts=
1728 ac_unrecognized_sep=
1729 # The variables have the same names as the options, with
1730 # dashes changed to underlines.
1731 cache_file=/dev/null
1732 exec_prefix=NONE
1733 no_create=
1734 no_recursion=
1735 prefix=NONE
1736 program_prefix=NONE
1737 program_suffix=NONE
1738 program_transform_name=s,x,x,
1739 silent=
1740 site=
1741 srcdir=
1742 verbose=
1743 x_includes=NONE
1744 x_libraries=NONE
1746 # Installation directory options.
1747 # These are left unexpanded so users can "make install exec_prefix=/foo"
1748 # and all the variables that are supposed to be based on exec_prefix
1749 # by default will actually change.
1750 # Use braces instead of parens because sh, perl, etc. also accept them.
1751 # (The list follows the same order as the GNU Coding Standards.)
1752 bindir='${exec_prefix}/bin'
1753 sbindir='${exec_prefix}/sbin'
1754 libexecdir='${exec_prefix}/libexec'
1755 datarootdir='${prefix}/share'
1756 datadir='${datarootdir}'
1757 sysconfdir='${prefix}/etc'
1758 sharedstatedir='${prefix}/com'
1759 localstatedir='${prefix}/var'
1760 runstatedir='${localstatedir}/run'
1761 includedir='${prefix}/include'
1762 oldincludedir='/usr/include'
1763 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1764 infodir='${datarootdir}/info'
1765 htmldir='${docdir}'
1766 dvidir='${docdir}'
1767 pdfdir='${docdir}'
1768 psdir='${docdir}'
1769 libdir='${exec_prefix}/lib'
1770 localedir='${datarootdir}/locale'
1771 mandir='${datarootdir}/man'
1773 ac_prev=
1774 ac_dashdash=
1775 for ac_option
1777 # If the previous option needs an argument, assign it.
1778 if test -n "$ac_prev"; then
1779 eval $ac_prev=\$ac_option
1780 ac_prev=
1781 continue
1784 case $ac_option in
1785 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1786 *=) ac_optarg= ;;
1787 *) ac_optarg=yes ;;
1788 esac
1790 # Accept the important Cygnus configure options, so we can diagnose typos.
1792 case $ac_dashdash$ac_option in
1794 ac_dashdash=yes ;;
1796 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1797 ac_prev=bindir ;;
1798 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1799 bindir=$ac_optarg ;;
1801 -build | --build | --buil | --bui | --bu)
1802 ac_prev=build_alias ;;
1803 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1804 build_alias=$ac_optarg ;;
1806 -cache-file | --cache-file | --cache-fil | --cache-fi \
1807 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1808 ac_prev=cache_file ;;
1809 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1810 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1811 cache_file=$ac_optarg ;;
1813 --config-cache | -C)
1814 cache_file=config.cache ;;
1816 -datadir | --datadir | --datadi | --datad)
1817 ac_prev=datadir ;;
1818 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1819 datadir=$ac_optarg ;;
1821 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1822 | --dataroo | --dataro | --datar)
1823 ac_prev=datarootdir ;;
1824 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1825 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1826 datarootdir=$ac_optarg ;;
1828 -disable-* | --disable-*)
1829 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1830 # Reject names that are not valid shell variable names.
1831 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1832 as_fn_error $? "invalid feature name: $ac_useropt"
1833 ac_useropt_orig=$ac_useropt
1834 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1835 case $ac_user_opts in
1837 "enable_$ac_useropt"
1838 "*) ;;
1839 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1840 ac_unrecognized_sep=', ';;
1841 esac
1842 eval enable_$ac_useropt=no ;;
1844 -docdir | --docdir | --docdi | --doc | --do)
1845 ac_prev=docdir ;;
1846 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1847 docdir=$ac_optarg ;;
1849 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1850 ac_prev=dvidir ;;
1851 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1852 dvidir=$ac_optarg ;;
1854 -enable-* | --enable-*)
1855 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1856 # Reject names that are not valid shell variable names.
1857 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1858 as_fn_error $? "invalid feature name: $ac_useropt"
1859 ac_useropt_orig=$ac_useropt
1860 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1861 case $ac_user_opts in
1863 "enable_$ac_useropt"
1864 "*) ;;
1865 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1866 ac_unrecognized_sep=', ';;
1867 esac
1868 eval enable_$ac_useropt=\$ac_optarg ;;
1870 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1871 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1872 | --exec | --exe | --ex)
1873 ac_prev=exec_prefix ;;
1874 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1875 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1876 | --exec=* | --exe=* | --ex=*)
1877 exec_prefix=$ac_optarg ;;
1879 -gas | --gas | --ga | --g)
1880 # Obsolete; use --with-gas.
1881 with_gas=yes ;;
1883 -help | --help | --hel | --he | -h)
1884 ac_init_help=long ;;
1885 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1886 ac_init_help=recursive ;;
1887 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1888 ac_init_help=short ;;
1890 -host | --host | --hos | --ho)
1891 ac_prev=host_alias ;;
1892 -host=* | --host=* | --hos=* | --ho=*)
1893 host_alias=$ac_optarg ;;
1895 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1896 ac_prev=htmldir ;;
1897 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1898 | --ht=*)
1899 htmldir=$ac_optarg ;;
1901 -includedir | --includedir | --includedi | --included | --include \
1902 | --includ | --inclu | --incl | --inc)
1903 ac_prev=includedir ;;
1904 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1905 | --includ=* | --inclu=* | --incl=* | --inc=*)
1906 includedir=$ac_optarg ;;
1908 -infodir | --infodir | --infodi | --infod | --info | --inf)
1909 ac_prev=infodir ;;
1910 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1911 infodir=$ac_optarg ;;
1913 -libdir | --libdir | --libdi | --libd)
1914 ac_prev=libdir ;;
1915 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1916 libdir=$ac_optarg ;;
1918 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1919 | --libexe | --libex | --libe)
1920 ac_prev=libexecdir ;;
1921 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1922 | --libexe=* | --libex=* | --libe=*)
1923 libexecdir=$ac_optarg ;;
1925 -localedir | --localedir | --localedi | --localed | --locale)
1926 ac_prev=localedir ;;
1927 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1928 localedir=$ac_optarg ;;
1930 -localstatedir | --localstatedir | --localstatedi | --localstated \
1931 | --localstate | --localstat | --localsta | --localst | --locals)
1932 ac_prev=localstatedir ;;
1933 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1934 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1935 localstatedir=$ac_optarg ;;
1937 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1938 ac_prev=mandir ;;
1939 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1940 mandir=$ac_optarg ;;
1942 -nfp | --nfp | --nf)
1943 # Obsolete; use --without-fp.
1944 with_fp=no ;;
1946 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1947 | --no-cr | --no-c | -n)
1948 no_create=yes ;;
1950 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1951 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1952 no_recursion=yes ;;
1954 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1955 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1956 | --oldin | --oldi | --old | --ol | --o)
1957 ac_prev=oldincludedir ;;
1958 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1959 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1960 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1961 oldincludedir=$ac_optarg ;;
1963 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1964 ac_prev=prefix ;;
1965 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1966 prefix=$ac_optarg ;;
1968 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1969 | --program-pre | --program-pr | --program-p)
1970 ac_prev=program_prefix ;;
1971 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1972 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1973 program_prefix=$ac_optarg ;;
1975 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1976 | --program-suf | --program-su | --program-s)
1977 ac_prev=program_suffix ;;
1978 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1979 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1980 program_suffix=$ac_optarg ;;
1982 -program-transform-name | --program-transform-name \
1983 | --program-transform-nam | --program-transform-na \
1984 | --program-transform-n | --program-transform- \
1985 | --program-transform | --program-transfor \
1986 | --program-transfo | --program-transf \
1987 | --program-trans | --program-tran \
1988 | --progr-tra | --program-tr | --program-t)
1989 ac_prev=program_transform_name ;;
1990 -program-transform-name=* | --program-transform-name=* \
1991 | --program-transform-nam=* | --program-transform-na=* \
1992 | --program-transform-n=* | --program-transform-=* \
1993 | --program-transform=* | --program-transfor=* \
1994 | --program-transfo=* | --program-transf=* \
1995 | --program-trans=* | --program-tran=* \
1996 | --progr-tra=* | --program-tr=* | --program-t=*)
1997 program_transform_name=$ac_optarg ;;
1999 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2000 ac_prev=pdfdir ;;
2001 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2002 pdfdir=$ac_optarg ;;
2004 -psdir | --psdir | --psdi | --psd | --ps)
2005 ac_prev=psdir ;;
2006 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2007 psdir=$ac_optarg ;;
2009 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2010 | -silent | --silent | --silen | --sile | --sil)
2011 silent=yes ;;
2013 -runstatedir | --runstatedir | --runstatedi | --runstated \
2014 | --runstate | --runstat | --runsta | --runst | --runs \
2015 | --run | --ru | --r)
2016 ac_prev=runstatedir ;;
2017 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2018 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2019 | --run=* | --ru=* | --r=*)
2020 runstatedir=$ac_optarg ;;
2022 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2023 ac_prev=sbindir ;;
2024 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2025 | --sbi=* | --sb=*)
2026 sbindir=$ac_optarg ;;
2028 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2029 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2030 | --sharedst | --shareds | --shared | --share | --shar \
2031 | --sha | --sh)
2032 ac_prev=sharedstatedir ;;
2033 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2034 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2035 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2036 | --sha=* | --sh=*)
2037 sharedstatedir=$ac_optarg ;;
2039 -site | --site | --sit)
2040 ac_prev=site ;;
2041 -site=* | --site=* | --sit=*)
2042 site=$ac_optarg ;;
2044 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2045 ac_prev=srcdir ;;
2046 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2047 srcdir=$ac_optarg ;;
2049 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2050 | --syscon | --sysco | --sysc | --sys | --sy)
2051 ac_prev=sysconfdir ;;
2052 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2053 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2054 sysconfdir=$ac_optarg ;;
2056 -target | --target | --targe | --targ | --tar | --ta | --t)
2057 ac_prev=target_alias ;;
2058 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2059 target_alias=$ac_optarg ;;
2061 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2062 verbose=yes ;;
2064 -version | --version | --versio | --versi | --vers | -V)
2065 ac_init_version=: ;;
2067 -with-* | --with-*)
2068 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2069 # Reject names that are not valid shell variable names.
2070 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2071 as_fn_error $? "invalid package name: $ac_useropt"
2072 ac_useropt_orig=$ac_useropt
2073 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2074 case $ac_user_opts in
2076 "with_$ac_useropt"
2077 "*) ;;
2078 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2079 ac_unrecognized_sep=', ';;
2080 esac
2081 eval with_$ac_useropt=\$ac_optarg ;;
2083 -without-* | --without-*)
2084 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2085 # Reject names that are not valid shell variable names.
2086 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2087 as_fn_error $? "invalid package name: $ac_useropt"
2088 ac_useropt_orig=$ac_useropt
2089 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2090 case $ac_user_opts in
2092 "with_$ac_useropt"
2093 "*) ;;
2094 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2095 ac_unrecognized_sep=', ';;
2096 esac
2097 eval with_$ac_useropt=no ;;
2099 --x)
2100 # Obsolete; use --with-x.
2101 with_x=yes ;;
2103 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2104 | --x-incl | --x-inc | --x-in | --x-i)
2105 ac_prev=x_includes ;;
2106 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2107 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2108 x_includes=$ac_optarg ;;
2110 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2111 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2112 ac_prev=x_libraries ;;
2113 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2114 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2115 x_libraries=$ac_optarg ;;
2117 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2118 Try \`$0 --help' for more information"
2121 *=*)
2122 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2123 # Reject names that are not valid shell variable names.
2124 case $ac_envvar in #(
2125 '' | [0-9]* | *[!_$as_cr_alnum]* )
2126 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2127 esac
2128 eval $ac_envvar=\$ac_optarg
2129 export $ac_envvar ;;
2132 # FIXME: should be removed in autoconf 3.0.
2133 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2134 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2135 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2136 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2139 esac
2140 done
2142 if test -n "$ac_prev"; then
2143 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2144 as_fn_error $? "missing argument to $ac_option"
2147 if test -n "$ac_unrecognized_opts"; then
2148 case $enable_option_checking in
2149 no) ;;
2150 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2151 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2152 esac
2155 # Check all directory arguments for consistency.
2156 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2157 datadir sysconfdir sharedstatedir localstatedir includedir \
2158 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2159 libdir localedir mandir runstatedir
2161 eval ac_val=\$$ac_var
2162 # Remove trailing slashes.
2163 case $ac_val in
2164 */ )
2165 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2166 eval $ac_var=\$ac_val;;
2167 esac
2168 # Be sure to have absolute directory names.
2169 case $ac_val in
2170 [\\/$]* | ?:[\\/]* ) continue;;
2171 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2172 esac
2173 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2174 done
2176 # There might be people who depend on the old broken behavior: `$host'
2177 # used to hold the argument of --host etc.
2178 # FIXME: To remove some day.
2179 build=$build_alias
2180 host=$host_alias
2181 target=$target_alias
2183 # FIXME: To remove some day.
2184 if test "x$host_alias" != x; then
2185 if test "x$build_alias" = x; then
2186 cross_compiling=maybe
2187 elif test "x$build_alias" != "x$host_alias"; then
2188 cross_compiling=yes
2192 ac_tool_prefix=
2193 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2195 test "$silent" = yes && exec 6>/dev/null
2198 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2199 ac_ls_di=`ls -di .` &&
2200 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2201 as_fn_error $? "working directory cannot be determined"
2202 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2203 as_fn_error $? "pwd does not report name of working directory"
2206 # Find the source files, if location was not specified.
2207 if test -z "$srcdir"; then
2208 ac_srcdir_defaulted=yes
2209 # Try the directory containing this script, then the parent directory.
2210 ac_confdir=`$as_dirname -- "$as_myself" ||
2211 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2212 X"$as_myself" : 'X\(//\)[^/]' \| \
2213 X"$as_myself" : 'X\(//\)$' \| \
2214 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2215 $as_echo X"$as_myself" |
2216 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2217 s//\1/
2220 /^X\(\/\/\)[^/].*/{
2221 s//\1/
2224 /^X\(\/\/\)$/{
2225 s//\1/
2228 /^X\(\/\).*/{
2229 s//\1/
2232 s/.*/./; q'`
2233 srcdir=$ac_confdir
2234 if test ! -r "$srcdir/$ac_unique_file"; then
2235 srcdir=..
2237 else
2238 ac_srcdir_defaulted=no
2240 if test ! -r "$srcdir/$ac_unique_file"; then
2241 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2242 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2244 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2245 ac_abs_confdir=`(
2246 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2247 pwd)`
2248 # When building in place, set srcdir=.
2249 if test "$ac_abs_confdir" = "$ac_pwd"; then
2250 srcdir=.
2252 # Remove unnecessary trailing slashes from srcdir.
2253 # Double slashes in file names in object file debugging info
2254 # mess up M-x gdb in Emacs.
2255 case $srcdir in
2256 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2257 esac
2258 for ac_var in $ac_precious_vars; do
2259 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2260 eval ac_env_${ac_var}_value=\$${ac_var}
2261 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2262 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2263 done
2266 # Report the --help message.
2268 if test "$ac_init_help" = "long"; then
2269 # Omit some internal or obsolete options to make the list less imposing.
2270 # This message is too long to be a string in the A/UX 3.1 sh.
2271 cat <<_ACEOF
2272 \`configure' configures Wine 2.17 to adapt to many kinds of systems.
2274 Usage: $0 [OPTION]... [VAR=VALUE]...
2276 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2277 VAR=VALUE. See below for descriptions of some of the useful variables.
2279 Defaults for the options are specified in brackets.
2281 Configuration:
2282 -h, --help display this help and exit
2283 --help=short display options specific to this package
2284 --help=recursive display the short help of all the included packages
2285 -V, --version display version information and exit
2286 -q, --quiet, --silent do not print \`checking ...' messages
2287 --cache-file=FILE cache test results in FILE [disabled]
2288 -C, --config-cache alias for \`--cache-file=config.cache'
2289 -n, --no-create do not create output files
2290 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2292 Installation directories:
2293 --prefix=PREFIX install architecture-independent files in PREFIX
2294 [$ac_default_prefix]
2295 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2296 [PREFIX]
2298 By default, \`make install' will install all the files in
2299 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2300 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2301 for instance \`--prefix=\$HOME'.
2303 For better control, use the options below.
2305 Fine tuning of the installation directories:
2306 --bindir=DIR user executables [EPREFIX/bin]
2307 --sbindir=DIR system admin executables [EPREFIX/sbin]
2308 --libexecdir=DIR program executables [EPREFIX/libexec]
2309 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2310 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2311 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2312 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2313 --libdir=DIR object code libraries [EPREFIX/lib]
2314 --includedir=DIR C header files [PREFIX/include]
2315 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2316 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2317 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2318 --infodir=DIR info documentation [DATAROOTDIR/info]
2319 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2320 --mandir=DIR man documentation [DATAROOTDIR/man]
2321 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2322 --htmldir=DIR html documentation [DOCDIR]
2323 --dvidir=DIR dvi documentation [DOCDIR]
2324 --pdfdir=DIR pdf documentation [DOCDIR]
2325 --psdir=DIR ps documentation [DOCDIR]
2326 _ACEOF
2328 cat <<\_ACEOF
2330 X features:
2331 --x-includes=DIR X include files are in DIR
2332 --x-libraries=DIR X library files are in DIR
2334 System types:
2335 --build=BUILD configure for building on BUILD [guessed]
2336 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2337 _ACEOF
2340 if test -n "$ac_init_help"; then
2341 case $ac_init_help in
2342 short | recursive ) echo "Configuration of Wine 2.17:";;
2343 esac
2344 cat <<\_ACEOF
2346 Optional Features:
2347 --disable-option-checking ignore unrecognized --enable/--with options
2348 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2349 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2350 --disable-win16 do not include Win16 support
2351 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2352 binaries)
2353 --disable-tests do not build the regression tests
2354 --enable-maintainer-mode
2355 enable maintainer-specific build rules
2356 --disable-largefile omit support for large files
2358 Optional Packages:
2359 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2360 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2361 --without-alsa do not use the Alsa sound support
2362 --without-capi do not use CAPI (ISDN support)
2363 --without-cms do not use CMS (color management support)
2364 --without-coreaudio do not use the CoreAudio sound support
2365 --without-cups do not use CUPS
2366 --without-curses do not use (n)curses
2367 --without-dbus do not use DBus (dynamic device support)
2368 --without-fontconfig do not use fontconfig
2369 --without-freetype do not use the FreeType library
2370 --without-gettext do not use gettext
2371 --with-gettextpo use the GetTextPO library to rebuild po files
2372 --without-gphoto do not use gphoto (Digital Camera support)
2373 --without-glu do not use the GLU library
2374 --without-gnutls do not use GnuTLS (schannel support)
2375 --without-gsm do not use libgsm (GSM 06.10 codec support)
2376 --without-gstreamer do not use GStreamer (codecs support)
2377 --without-hal do not use HAL (dynamic device support)
2378 --without-jpeg do not use JPEG
2379 --without-ldap do not use LDAP
2380 --without-mpg123 do not use the mpg123 library
2381 --without-netapi do not use the Samba NetAPI library
2382 --without-openal do not use OpenAL
2383 --without-opencl do not use OpenCL
2384 --without-opengl do not use OpenGL
2385 --without-osmesa do not use the OSMesa library
2386 --without-oss do not use the OSS sound support
2387 --without-pcap do not use the Packet Capture library
2388 --without-png do not use PNG
2389 --without-pthread do not use the pthread library
2390 --without-pulse do not use PulseAudio sound support
2391 --without-sane do not use SANE (scanner support)
2392 --without-tiff do not use TIFF
2393 --without-udev do not use udev (plug and play support)
2394 --without-v4l do not use v4l1 (v4l support)
2395 --without-xcomposite do not use the Xcomposite extension
2396 --without-xcursor do not use the Xcursor extension
2397 --without-xfixes do not use Xfixes for clipboard change notifications
2398 --without-xinerama do not use Xinerama (multi-monitor support)
2399 --without-xinput do not use the Xinput extension
2400 --without-xinput2 do not use the Xinput 2 extension
2401 --without-xml do not use XML
2402 --without-xrandr do not use Xrandr (resolution changes)
2403 --without-xrender do not use the Xrender extension
2404 --without-xshape do not use the Xshape extension
2405 --without-xshm do not use XShm (shared memory extension)
2406 --without-xslt do not use XSLT
2407 --without-xxf86vm do not use XFree video mode extension
2408 --without-zlib do not use Zlib (data compression)
2409 --with-wine-tools=DIR use Wine tools from directory DIR
2410 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2411 --with-x use the X Window System
2413 Some influential environment variables:
2414 CC C compiler command
2415 CFLAGS C compiler flags
2416 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2417 nonstandard directory <lib dir>
2418 LIBS libraries to pass to the linker, e.g. -l<library>
2419 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2420 you have headers in a nonstandard directory <include dir>
2421 CXX C++ compiler command
2422 CXXFLAGS C++ compiler flags
2423 CPP C preprocessor
2424 XMKMF Path to xmkmf, Makefile generator for X Window System
2425 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2426 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2427 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2428 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2429 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2430 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2431 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2432 HAL_LIBS Linker flags for hal, overriding pkg-config
2433 GNUTLS_CFLAGS
2434 C compiler flags for gnutls, overriding pkg-config
2435 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2436 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2437 SANE_LIBS Linker flags for libsane, overriding pkg-config
2438 GPHOTO2_CFLAGS
2439 C compiler flags for libgphoto2, overriding pkg-config
2440 GPHOTO2_LIBS
2441 Linker flags for libgphoto2, overriding pkg-config
2442 GPHOTO2_PORT_CFLAGS
2443 C compiler flags for libgphoto2_port, overriding pkg-config
2444 GPHOTO2_PORT_LIBS
2445 Linker flags for libgphoto2_port, overriding pkg-config
2446 LCMS2_CFLAGS
2447 C compiler flags for lcms2, overriding pkg-config
2448 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2449 FREETYPE_CFLAGS
2450 C compiler flags for freetype2, overriding pkg-config
2451 FREETYPE_LIBS
2452 Linker flags for freetype2, overriding pkg-config
2453 PULSE_CFLAGS
2454 C compiler flags for libpulse, overriding pkg-config
2455 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2456 GSTREAMER_CFLAGS
2457 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2458 gstreamer-audio-1.0, overriding pkg-config
2459 GSTREAMER_LIBS
2460 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2461 gstreamer-audio-1.0, overriding pkg-config
2462 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2463 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2464 CAPI20_CFLAGS
2465 C compiler flags for capi20, overriding pkg-config
2466 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2467 FONTCONFIG_CFLAGS
2468 C compiler flags for fontconfig, overriding pkg-config
2469 FONTCONFIG_LIBS
2470 Linker flags for fontconfig, overriding pkg-config
2471 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2472 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2473 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2474 PNG_LIBS Linker flags for libpng, overriding pkg-config
2475 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2476 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2477 MPG123_CFLAGS
2478 C compiler flags for libmpg123, overriding pkg-config
2479 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2480 NETAPI_CFLAGS
2481 C compiler flags for netapi, overriding pkg-config
2482 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2483 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2484 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2486 Use these variables to override the choices made by `configure' or to help
2487 it to find libraries and programs with nonstandard names/locations.
2489 Report bugs to <wine-devel@winehq.org>.
2490 Wine home page: <http://www.winehq.org>.
2491 _ACEOF
2492 ac_status=$?
2495 if test "$ac_init_help" = "recursive"; then
2496 # If there are subdirs, report their specific --help.
2497 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2498 test -d "$ac_dir" ||
2499 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2500 continue
2501 ac_builddir=.
2503 case "$ac_dir" in
2504 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2506 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2507 # A ".." for each directory in $ac_dir_suffix.
2508 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2509 case $ac_top_builddir_sub in
2510 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2511 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2512 esac ;;
2513 esac
2514 ac_abs_top_builddir=$ac_pwd
2515 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2516 # for backward compatibility:
2517 ac_top_builddir=$ac_top_build_prefix
2519 case $srcdir in
2520 .) # We are building in place.
2521 ac_srcdir=.
2522 ac_top_srcdir=$ac_top_builddir_sub
2523 ac_abs_top_srcdir=$ac_pwd ;;
2524 [\\/]* | ?:[\\/]* ) # Absolute name.
2525 ac_srcdir=$srcdir$ac_dir_suffix;
2526 ac_top_srcdir=$srcdir
2527 ac_abs_top_srcdir=$srcdir ;;
2528 *) # Relative name.
2529 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2530 ac_top_srcdir=$ac_top_build_prefix$srcdir
2531 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2532 esac
2533 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2535 cd "$ac_dir" || { ac_status=$?; continue; }
2536 # Check for guested configure.
2537 if test -f "$ac_srcdir/configure.gnu"; then
2538 echo &&
2539 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2540 elif test -f "$ac_srcdir/configure"; then
2541 echo &&
2542 $SHELL "$ac_srcdir/configure" --help=recursive
2543 else
2544 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2545 fi || ac_status=$?
2546 cd "$ac_pwd" || { ac_status=$?; break; }
2547 done
2550 test -n "$ac_init_help" && exit $ac_status
2551 if $ac_init_version; then
2552 cat <<\_ACEOF
2553 Wine configure 2.17
2554 generated by GNU Autoconf 2.69
2556 Copyright (C) 2012 Free Software Foundation, Inc.
2557 This configure script is free software; the Free Software Foundation
2558 gives unlimited permission to copy, distribute and modify it.
2559 _ACEOF
2560 exit
2563 ## ------------------------ ##
2564 ## Autoconf initialization. ##
2565 ## ------------------------ ##
2567 # ac_fn_c_try_compile LINENO
2568 # --------------------------
2569 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2570 ac_fn_c_try_compile ()
2572 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2573 rm -f conftest.$ac_objext
2574 if { { ac_try="$ac_compile"
2575 case "(($ac_try" in
2576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2577 *) ac_try_echo=$ac_try;;
2578 esac
2579 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2580 $as_echo "$ac_try_echo"; } >&5
2581 (eval "$ac_compile") 2>conftest.err
2582 ac_status=$?
2583 if test -s conftest.err; then
2584 grep -v '^ *+' conftest.err >conftest.er1
2585 cat conftest.er1 >&5
2586 mv -f conftest.er1 conftest.err
2588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2589 test $ac_status = 0; } && {
2590 test -z "$ac_c_werror_flag" ||
2591 test ! -s conftest.err
2592 } && test -s conftest.$ac_objext; then :
2593 ac_retval=0
2594 else
2595 $as_echo "$as_me: failed program was:" >&5
2596 sed 's/^/| /' conftest.$ac_ext >&5
2598 ac_retval=1
2600 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2601 as_fn_set_status $ac_retval
2603 } # ac_fn_c_try_compile
2605 # ac_fn_cxx_try_compile LINENO
2606 # ----------------------------
2607 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2608 ac_fn_cxx_try_compile ()
2610 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2611 rm -f conftest.$ac_objext
2612 if { { ac_try="$ac_compile"
2613 case "(($ac_try" in
2614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2615 *) ac_try_echo=$ac_try;;
2616 esac
2617 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2618 $as_echo "$ac_try_echo"; } >&5
2619 (eval "$ac_compile") 2>conftest.err
2620 ac_status=$?
2621 if test -s conftest.err; then
2622 grep -v '^ *+' conftest.err >conftest.er1
2623 cat conftest.er1 >&5
2624 mv -f conftest.er1 conftest.err
2626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2627 test $ac_status = 0; } && {
2628 test -z "$ac_cxx_werror_flag" ||
2629 test ! -s conftest.err
2630 } && test -s conftest.$ac_objext; then :
2631 ac_retval=0
2632 else
2633 $as_echo "$as_me: failed program was:" >&5
2634 sed 's/^/| /' conftest.$ac_ext >&5
2636 ac_retval=1
2638 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2639 as_fn_set_status $ac_retval
2641 } # ac_fn_cxx_try_compile
2643 # ac_fn_c_try_link LINENO
2644 # -----------------------
2645 # Try to link conftest.$ac_ext, and return whether this succeeded.
2646 ac_fn_c_try_link ()
2648 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2649 rm -f conftest.$ac_objext conftest$ac_exeext
2650 if { { ac_try="$ac_link"
2651 case "(($ac_try" in
2652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2653 *) ac_try_echo=$ac_try;;
2654 esac
2655 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2656 $as_echo "$ac_try_echo"; } >&5
2657 (eval "$ac_link") 2>conftest.err
2658 ac_status=$?
2659 if test -s conftest.err; then
2660 grep -v '^ *+' conftest.err >conftest.er1
2661 cat conftest.er1 >&5
2662 mv -f conftest.er1 conftest.err
2664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2665 test $ac_status = 0; } && {
2666 test -z "$ac_c_werror_flag" ||
2667 test ! -s conftest.err
2668 } && test -s conftest$ac_exeext && {
2669 test "$cross_compiling" = yes ||
2670 test -x conftest$ac_exeext
2671 }; then :
2672 ac_retval=0
2673 else
2674 $as_echo "$as_me: failed program was:" >&5
2675 sed 's/^/| /' conftest.$ac_ext >&5
2677 ac_retval=1
2679 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2680 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2681 # interfere with the next link command; also delete a directory that is
2682 # left behind by Apple's compiler. We do this before executing the actions.
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_link
2689 # ac_fn_c_try_cpp LINENO
2690 # ----------------------
2691 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2692 ac_fn_c_try_cpp ()
2694 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2695 if { { ac_try="$ac_cpp conftest.$ac_ext"
2696 case "(($ac_try" in
2697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2698 *) ac_try_echo=$ac_try;;
2699 esac
2700 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2701 $as_echo "$ac_try_echo"; } >&5
2702 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2703 ac_status=$?
2704 if test -s conftest.err; then
2705 grep -v '^ *+' conftest.err >conftest.er1
2706 cat conftest.er1 >&5
2707 mv -f conftest.er1 conftest.err
2709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2710 test $ac_status = 0; } > conftest.i && {
2711 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2712 test ! -s conftest.err
2713 }; then :
2714 ac_retval=0
2715 else
2716 $as_echo "$as_me: failed program was:" >&5
2717 sed 's/^/| /' conftest.$ac_ext >&5
2719 ac_retval=1
2721 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2722 as_fn_set_status $ac_retval
2724 } # ac_fn_c_try_cpp
2726 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2727 # -------------------------------------------------------
2728 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2729 # the include files in INCLUDES and setting the cache variable VAR
2730 # accordingly.
2731 ac_fn_c_check_header_mongrel ()
2733 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2734 if eval \${$3+:} false; then :
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2736 $as_echo_n "checking for $2... " >&6; }
2737 if eval \${$3+:} false; then :
2738 $as_echo_n "(cached) " >&6
2740 eval ac_res=\$$3
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2742 $as_echo "$ac_res" >&6; }
2743 else
2744 # Is the header compilable?
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2746 $as_echo_n "checking $2 usability... " >&6; }
2747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2748 /* end confdefs.h. */
2750 #include <$2>
2751 _ACEOF
2752 if ac_fn_c_try_compile "$LINENO"; then :
2753 ac_header_compiler=yes
2754 else
2755 ac_header_compiler=no
2757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2759 $as_echo "$ac_header_compiler" >&6; }
2761 # Is the header present?
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2763 $as_echo_n "checking $2 presence... " >&6; }
2764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2765 /* end confdefs.h. */
2766 #include <$2>
2767 _ACEOF
2768 if ac_fn_c_try_cpp "$LINENO"; then :
2769 ac_header_preproc=yes
2770 else
2771 ac_header_preproc=no
2773 rm -f conftest.err conftest.i conftest.$ac_ext
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2775 $as_echo "$ac_header_preproc" >&6; }
2777 # So? What about this header?
2778 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2779 yes:no: )
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2781 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2783 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2785 no:yes:* )
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2787 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2789 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2791 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2793 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2795 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2796 ( $as_echo "## ------------------------------------ ##
2797 ## Report this to wine-devel@winehq.org ##
2798 ## ------------------------------------ ##"
2799 ) | sed "s/^/$as_me: WARNING: /" >&2
2801 esac
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2803 $as_echo_n "checking for $2... " >&6; }
2804 if eval \${$3+:} false; then :
2805 $as_echo_n "(cached) " >&6
2806 else
2807 eval "$3=\$ac_header_compiler"
2809 eval ac_res=\$$3
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2811 $as_echo "$ac_res" >&6; }
2813 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2815 } # ac_fn_c_check_header_mongrel
2817 # ac_fn_c_try_run LINENO
2818 # ----------------------
2819 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2820 # that executables *can* be run.
2821 ac_fn_c_try_run ()
2823 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2824 if { { ac_try="$ac_link"
2825 case "(($ac_try" in
2826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2827 *) ac_try_echo=$ac_try;;
2828 esac
2829 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2830 $as_echo "$ac_try_echo"; } >&5
2831 (eval "$ac_link") 2>&5
2832 ac_status=$?
2833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2834 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2835 { { case "(($ac_try" in
2836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2837 *) ac_try_echo=$ac_try;;
2838 esac
2839 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2840 $as_echo "$ac_try_echo"; } >&5
2841 (eval "$ac_try") 2>&5
2842 ac_status=$?
2843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2844 test $ac_status = 0; }; }; then :
2845 ac_retval=0
2846 else
2847 $as_echo "$as_me: program exited with status $ac_status" >&5
2848 $as_echo "$as_me: failed program was:" >&5
2849 sed 's/^/| /' conftest.$ac_ext >&5
2851 ac_retval=$ac_status
2853 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2854 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2855 as_fn_set_status $ac_retval
2857 } # ac_fn_c_try_run
2859 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2860 # -------------------------------------------------------
2861 # Tests whether HEADER exists and can be compiled using the include files in
2862 # INCLUDES, setting the cache variable VAR accordingly.
2863 ac_fn_c_check_header_compile ()
2865 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2867 $as_echo_n "checking for $2... " >&6; }
2868 if eval \${$3+:} false; then :
2869 $as_echo_n "(cached) " >&6
2870 else
2871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2872 /* end confdefs.h. */
2874 #include <$2>
2875 _ACEOF
2876 if ac_fn_c_try_compile "$LINENO"; then :
2877 eval "$3=yes"
2878 else
2879 eval "$3=no"
2881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2883 eval ac_res=\$$3
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2885 $as_echo "$ac_res" >&6; }
2886 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2888 } # ac_fn_c_check_header_compile
2890 # ac_fn_c_check_func LINENO FUNC VAR
2891 # ----------------------------------
2892 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2893 ac_fn_c_check_func ()
2895 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2897 $as_echo_n "checking for $2... " >&6; }
2898 if eval \${$3+:} false; then :
2899 $as_echo_n "(cached) " >&6
2900 else
2901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2902 /* end confdefs.h. */
2903 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2905 #define $2 innocuous_$2
2907 /* System header to define __stub macros and hopefully few prototypes,
2908 which can conflict with char $2 (); below.
2909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2910 <limits.h> exists even on freestanding compilers. */
2912 #ifdef __STDC__
2913 # include <limits.h>
2914 #else
2915 # include <assert.h>
2916 #endif
2918 #undef $2
2920 /* Override any GCC internal prototype to avoid an error.
2921 Use char because int might match the return type of a GCC
2922 builtin and then its argument prototype would still apply. */
2923 #ifdef __cplusplus
2924 extern "C"
2925 #endif
2926 char $2 ();
2927 /* The GNU C library defines this for functions which it implements
2928 to always fail with ENOSYS. Some functions are actually named
2929 something starting with __ and the normal name is an alias. */
2930 #if defined __stub_$2 || defined __stub___$2
2931 choke me
2932 #endif
2935 main ()
2937 return $2 ();
2939 return 0;
2941 _ACEOF
2942 if ac_fn_c_try_link "$LINENO"; then :
2943 eval "$3=yes"
2944 else
2945 eval "$3=no"
2947 rm -f core conftest.err conftest.$ac_objext \
2948 conftest$ac_exeext conftest.$ac_ext
2950 eval ac_res=\$$3
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2952 $as_echo "$ac_res" >&6; }
2953 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2955 } # ac_fn_c_check_func
2957 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2958 # ----------------------------------------------------
2959 # Tries to find if the field MEMBER exists in type AGGR, after including
2960 # INCLUDES, setting cache variable VAR accordingly.
2961 ac_fn_c_check_member ()
2963 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2965 $as_echo_n "checking for $2.$3... " >&6; }
2966 if eval \${$4+:} false; then :
2967 $as_echo_n "(cached) " >&6
2968 else
2969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2970 /* end confdefs.h. */
2973 main ()
2975 static $2 ac_aggr;
2976 if (ac_aggr.$3)
2977 return 0;
2979 return 0;
2981 _ACEOF
2982 if ac_fn_c_try_compile "$LINENO"; then :
2983 eval "$4=yes"
2984 else
2985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2986 /* end confdefs.h. */
2989 main ()
2991 static $2 ac_aggr;
2992 if (sizeof ac_aggr.$3)
2993 return 0;
2995 return 0;
2997 _ACEOF
2998 if ac_fn_c_try_compile "$LINENO"; then :
2999 eval "$4=yes"
3000 else
3001 eval "$4=no"
3003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3007 eval ac_res=\$$4
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3009 $as_echo "$ac_res" >&6; }
3010 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3012 } # ac_fn_c_check_member
3014 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3015 # -------------------------------------------
3016 # Tests whether TYPE exists after having included INCLUDES, setting cache
3017 # variable VAR accordingly.
3018 ac_fn_c_check_type ()
3020 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3022 $as_echo_n "checking for $2... " >&6; }
3023 if eval \${$3+:} false; then :
3024 $as_echo_n "(cached) " >&6
3025 else
3026 eval "$3=no"
3027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3028 /* end confdefs.h. */
3031 main ()
3033 if (sizeof ($2))
3034 return 0;
3036 return 0;
3038 _ACEOF
3039 if ac_fn_c_try_compile "$LINENO"; then :
3040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3041 /* end confdefs.h. */
3044 main ()
3046 if (sizeof (($2)))
3047 return 0;
3049 return 0;
3051 _ACEOF
3052 if ac_fn_c_try_compile "$LINENO"; then :
3054 else
3055 eval "$3=yes"
3057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3061 eval ac_res=\$$3
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3063 $as_echo "$ac_res" >&6; }
3064 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3066 } # ac_fn_c_check_type
3067 cat >config.log <<_ACEOF
3068 This file contains any messages produced by compilers while
3069 running configure, to aid debugging if configure makes a mistake.
3071 It was created by Wine $as_me 2.17, which was
3072 generated by GNU Autoconf 2.69. Invocation command line was
3074 $ $0 $@
3076 _ACEOF
3077 exec 5>>config.log
3079 cat <<_ASUNAME
3080 ## --------- ##
3081 ## Platform. ##
3082 ## --------- ##
3084 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3085 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3086 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3087 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3088 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3090 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3091 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3093 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3094 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3095 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3096 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3097 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3098 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3099 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3101 _ASUNAME
3103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3104 for as_dir in $PATH
3106 IFS=$as_save_IFS
3107 test -z "$as_dir" && as_dir=.
3108 $as_echo "PATH: $as_dir"
3109 done
3110 IFS=$as_save_IFS
3112 } >&5
3114 cat >&5 <<_ACEOF
3117 ## ----------- ##
3118 ## Core tests. ##
3119 ## ----------- ##
3121 _ACEOF
3124 # Keep a trace of the command line.
3125 # Strip out --no-create and --no-recursion so they do not pile up.
3126 # Strip out --silent because we don't want to record it for future runs.
3127 # Also quote any args containing shell meta-characters.
3128 # Make two passes to allow for proper duplicate-argument suppression.
3129 ac_configure_args=
3130 ac_configure_args0=
3131 ac_configure_args1=
3132 ac_must_keep_next=false
3133 for ac_pass in 1 2
3135 for ac_arg
3137 case $ac_arg in
3138 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3139 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3140 | -silent | --silent | --silen | --sile | --sil)
3141 continue ;;
3142 *\'*)
3143 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3144 esac
3145 case $ac_pass in
3146 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3148 as_fn_append ac_configure_args1 " '$ac_arg'"
3149 if test $ac_must_keep_next = true; then
3150 ac_must_keep_next=false # Got value, back to normal.
3151 else
3152 case $ac_arg in
3153 *=* | --config-cache | -C | -disable-* | --disable-* \
3154 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3155 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3156 | -with-* | --with-* | -without-* | --without-* | --x)
3157 case "$ac_configure_args0 " in
3158 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3159 esac
3161 -* ) ac_must_keep_next=true ;;
3162 esac
3164 as_fn_append ac_configure_args " '$ac_arg'"
3166 esac
3167 done
3168 done
3169 { ac_configure_args0=; unset ac_configure_args0;}
3170 { ac_configure_args1=; unset ac_configure_args1;}
3172 # When interrupted or exit'd, cleanup temporary files, and complete
3173 # config.log. We remove comments because anyway the quotes in there
3174 # would cause problems or look ugly.
3175 # WARNING: Use '\'' to represent an apostrophe within the trap.
3176 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3177 trap 'exit_status=$?
3178 # Save into config.log some information that might help in debugging.
3180 echo
3182 $as_echo "## ---------------- ##
3183 ## Cache variables. ##
3184 ## ---------------- ##"
3185 echo
3186 # The following way of writing the cache mishandles newlines in values,
3188 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3189 eval ac_val=\$$ac_var
3190 case $ac_val in #(
3191 *${as_nl}*)
3192 case $ac_var in #(
3193 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3194 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3195 esac
3196 case $ac_var in #(
3197 _ | IFS | as_nl) ;; #(
3198 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3199 *) { eval $ac_var=; unset $ac_var;} ;;
3200 esac ;;
3201 esac
3202 done
3203 (set) 2>&1 |
3204 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3205 *${as_nl}ac_space=\ *)
3206 sed -n \
3207 "s/'\''/'\''\\\\'\'''\''/g;
3208 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3209 ;; #(
3211 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3213 esac |
3214 sort
3216 echo
3218 $as_echo "## ----------------- ##
3219 ## Output variables. ##
3220 ## ----------------- ##"
3221 echo
3222 for ac_var in $ac_subst_vars
3224 eval ac_val=\$$ac_var
3225 case $ac_val in
3226 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3227 esac
3228 $as_echo "$ac_var='\''$ac_val'\''"
3229 done | sort
3230 echo
3232 if test -n "$ac_subst_files"; then
3233 $as_echo "## ------------------- ##
3234 ## File substitutions. ##
3235 ## ------------------- ##"
3236 echo
3237 for ac_var in $ac_subst_files
3239 eval ac_val=\$$ac_var
3240 case $ac_val in
3241 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3242 esac
3243 $as_echo "$ac_var='\''$ac_val'\''"
3244 done | sort
3245 echo
3248 if test -s confdefs.h; then
3249 $as_echo "## ----------- ##
3250 ## confdefs.h. ##
3251 ## ----------- ##"
3252 echo
3253 cat confdefs.h
3254 echo
3256 test "$ac_signal" != 0 &&
3257 $as_echo "$as_me: caught signal $ac_signal"
3258 $as_echo "$as_me: exit $exit_status"
3259 } >&5
3260 rm -f core *.core core.conftest.* &&
3261 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3262 exit $exit_status
3264 for ac_signal in 1 2 13 15; do
3265 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3266 done
3267 ac_signal=0
3269 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3270 rm -f -r conftest* confdefs.h
3272 $as_echo "/* confdefs.h */" > confdefs.h
3274 # Predefined preprocessor variables.
3276 cat >>confdefs.h <<_ACEOF
3277 #define PACKAGE_NAME "$PACKAGE_NAME"
3278 _ACEOF
3280 cat >>confdefs.h <<_ACEOF
3281 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3282 _ACEOF
3284 cat >>confdefs.h <<_ACEOF
3285 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3286 _ACEOF
3288 cat >>confdefs.h <<_ACEOF
3289 #define PACKAGE_STRING "$PACKAGE_STRING"
3290 _ACEOF
3292 cat >>confdefs.h <<_ACEOF
3293 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3294 _ACEOF
3296 cat >>confdefs.h <<_ACEOF
3297 #define PACKAGE_URL "$PACKAGE_URL"
3298 _ACEOF
3301 # Let the site file select an alternate cache file if it wants to.
3302 # Prefer an explicitly selected file to automatically selected ones.
3303 ac_site_file1=NONE
3304 ac_site_file2=NONE
3305 if test -n "$CONFIG_SITE"; then
3306 # We do not want a PATH search for config.site.
3307 case $CONFIG_SITE in #((
3308 -*) ac_site_file1=./$CONFIG_SITE;;
3309 */*) ac_site_file1=$CONFIG_SITE;;
3310 *) ac_site_file1=./$CONFIG_SITE;;
3311 esac
3312 elif test "x$prefix" != xNONE; then
3313 ac_site_file1=$prefix/share/config.site
3314 ac_site_file2=$prefix/etc/config.site
3315 else
3316 ac_site_file1=$ac_default_prefix/share/config.site
3317 ac_site_file2=$ac_default_prefix/etc/config.site
3319 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3321 test "x$ac_site_file" = xNONE && continue
3322 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3324 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3325 sed 's/^/| /' "$ac_site_file" >&5
3326 . "$ac_site_file" \
3327 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3328 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3329 as_fn_error $? "failed to load site script $ac_site_file
3330 See \`config.log' for more details" "$LINENO" 5; }
3332 done
3334 if test -r "$cache_file"; then
3335 # Some versions of bash will fail to source /dev/null (special files
3336 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3337 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3339 $as_echo "$as_me: loading cache $cache_file" >&6;}
3340 case $cache_file in
3341 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3342 *) . "./$cache_file";;
3343 esac
3345 else
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3347 $as_echo "$as_me: creating cache $cache_file" >&6;}
3348 >$cache_file
3351 # Check that the precious variables saved in the cache have kept the same
3352 # value.
3353 ac_cache_corrupted=false
3354 for ac_var in $ac_precious_vars; do
3355 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3356 eval ac_new_set=\$ac_env_${ac_var}_set
3357 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3358 eval ac_new_val=\$ac_env_${ac_var}_value
3359 case $ac_old_set,$ac_new_set in
3360 set,)
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3362 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3363 ac_cache_corrupted=: ;;
3364 ,set)
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3366 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3367 ac_cache_corrupted=: ;;
3368 ,);;
3370 if test "x$ac_old_val" != "x$ac_new_val"; then
3371 # differences in whitespace do not lead to failure.
3372 ac_old_val_w=`echo x $ac_old_val`
3373 ac_new_val_w=`echo x $ac_new_val`
3374 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3376 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3377 ac_cache_corrupted=:
3378 else
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3380 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3381 eval $ac_var=\$ac_old_val
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3384 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3386 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3387 fi;;
3388 esac
3389 # Pass precious variables to config.status.
3390 if test "$ac_new_set" = set; then
3391 case $ac_new_val in
3392 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3393 *) ac_arg=$ac_var=$ac_new_val ;;
3394 esac
3395 case " $ac_configure_args " in
3396 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3397 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3398 esac
3400 done
3401 if $ac_cache_corrupted; then
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3403 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3405 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3406 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3408 ## -------------------- ##
3409 ## Main body of script. ##
3410 ## -------------------- ##
3412 ac_ext=c
3413 ac_cpp='$CPP $CPPFLAGS'
3414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3420 ac_config_headers="$ac_config_headers include/config.h"
3422 ac_aux_dir=
3423 for ac_dir in tools "$srcdir"/tools; do
3424 if test -f "$ac_dir/install-sh"; then
3425 ac_aux_dir=$ac_dir
3426 ac_install_sh="$ac_aux_dir/install-sh -c"
3427 break
3428 elif test -f "$ac_dir/install.sh"; then
3429 ac_aux_dir=$ac_dir
3430 ac_install_sh="$ac_aux_dir/install.sh -c"
3431 break
3432 elif test -f "$ac_dir/shtool"; then
3433 ac_aux_dir=$ac_dir
3434 ac_install_sh="$ac_aux_dir/shtool install -c"
3435 break
3437 done
3438 if test -z "$ac_aux_dir"; then
3439 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3442 # These three variables are undocumented and unsupported,
3443 # and are intended to be withdrawn in a future Autoconf release.
3444 # They can cause serious problems if a builder's source tree is in a directory
3445 # whose full name contains unusual characters.
3446 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3447 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3448 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3452 libwine_version="1.0"
3456 # Check whether --enable-win16 was given.
3457 if test "${enable_win16+set}" = set; then :
3458 enableval=$enable_win16;
3461 # Check whether --enable-win64 was given.
3462 if test "${enable_win64+set}" = set; then :
3463 enableval=$enable_win64;
3466 # Check whether --enable-tests was given.
3467 if test "${enable_tests+set}" = set; then :
3468 enableval=$enable_tests;
3471 # Check whether --enable-maintainer-mode was given.
3472 if test "${enable_maintainer_mode+set}" = set; then :
3473 enableval=$enable_maintainer_mode;
3478 # Check whether --with-alsa was given.
3479 if test "${with_alsa+set}" = set; then :
3480 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3484 # Check whether --with-capi was given.
3485 if test "${with_capi+set}" = set; then :
3486 withval=$with_capi;
3490 # Check whether --with-cms was given.
3491 if test "${with_cms+set}" = set; then :
3492 withval=$with_cms;
3496 # Check whether --with-coreaudio was given.
3497 if test "${with_coreaudio+set}" = set; then :
3498 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3502 # Check whether --with-cups was given.
3503 if test "${with_cups+set}" = set; then :
3504 withval=$with_cups;
3508 # Check whether --with-curses was given.
3509 if test "${with_curses+set}" = set; then :
3510 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3514 # Check whether --with-dbus was given.
3515 if test "${with_dbus+set}" = set; then :
3516 withval=$with_dbus;
3520 # Check whether --with-fontconfig was given.
3521 if test "${with_fontconfig+set}" = set; then :
3522 withval=$with_fontconfig;
3526 # Check whether --with-freetype was given.
3527 if test "${with_freetype+set}" = set; then :
3528 withval=$with_freetype;
3532 # Check whether --with-gettext was given.
3533 if test "${with_gettext+set}" = set; then :
3534 withval=$with_gettext;
3538 # Check whether --with-gettextpo was given.
3539 if test "${with_gettextpo+set}" = set; then :
3540 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3544 # Check whether --with-gphoto was given.
3545 if test "${with_gphoto+set}" = set; then :
3546 withval=$with_gphoto;
3550 # Check whether --with-glu was given.
3551 if test "${with_glu+set}" = set; then :
3552 withval=$with_glu;
3556 # Check whether --with-gnutls was given.
3557 if test "${with_gnutls+set}" = set; then :
3558 withval=$with_gnutls;
3562 # Check whether --with-gsm was given.
3563 if test "${with_gsm+set}" = set; then :
3564 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3568 # Check whether --with-gstreamer was given.
3569 if test "${with_gstreamer+set}" = set; then :
3570 withval=$with_gstreamer;
3574 # Check whether --with-hal was given.
3575 if test "${with_hal+set}" = set; then :
3576 withval=$with_hal;
3580 # Check whether --with-jpeg was given.
3581 if test "${with_jpeg+set}" = set; then :
3582 withval=$with_jpeg;
3586 # Check whether --with-ldap was given.
3587 if test "${with_ldap+set}" = set; then :
3588 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3592 # Check whether --with-mpg123 was given.
3593 if test "${with_mpg123+set}" = set; then :
3594 withval=$with_mpg123;
3598 # Check whether --with-netapi was given.
3599 if test "${with_netapi+set}" = set; then :
3600 withval=$with_netapi;
3604 # Check whether --with-openal was given.
3605 if test "${with_openal+set}" = set; then :
3606 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3610 # Check whether --with-opencl was given.
3611 if test "${with_opencl+set}" = set; then :
3612 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3616 # Check whether --with-opengl was given.
3617 if test "${with_opengl+set}" = set; then :
3618 withval=$with_opengl;
3622 # Check whether --with-osmesa was given.
3623 if test "${with_osmesa+set}" = set; then :
3624 withval=$with_osmesa;
3628 # Check whether --with-oss was given.
3629 if test "${with_oss+set}" = set; then :
3630 withval=$with_oss;
3634 # Check whether --with-pcap was given.
3635 if test "${with_pcap+set}" = set; then :
3636 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3640 # Check whether --with-png was given.
3641 if test "${with_png+set}" = set; then :
3642 withval=$with_png;
3646 # Check whether --with-pthread was given.
3647 if test "${with_pthread+set}" = set; then :
3648 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3652 # Check whether --with-pulse was given.
3653 if test "${with_pulse+set}" = set; then :
3654 withval=$with_pulse;
3658 # Check whether --with-sane was given.
3659 if test "${with_sane+set}" = set; then :
3660 withval=$with_sane;
3664 # Check whether --with-tiff was given.
3665 if test "${with_tiff+set}" = set; then :
3666 withval=$with_tiff;
3670 # Check whether --with-udev was given.
3671 if test "${with_udev+set}" = set; then :
3672 withval=$with_udev;
3676 # Check whether --with-v4l was given.
3677 if test "${with_v4l+set}" = set; then :
3678 withval=$with_v4l;
3682 # Check whether --with-xcomposite was given.
3683 if test "${with_xcomposite+set}" = set; then :
3684 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3688 # Check whether --with-xcursor was given.
3689 if test "${with_xcursor+set}" = set; then :
3690 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3694 # Check whether --with-xfixes was given.
3695 if test "${with_xfixes+set}" = set; then :
3696 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3700 # Check whether --with-xinerama was given.
3701 if test "${with_xinerama+set}" = set; then :
3702 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3706 # Check whether --with-xinput was given.
3707 if test "${with_xinput+set}" = set; then :
3708 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3712 # Check whether --with-xinput2 was given.
3713 if test "${with_xinput2+set}" = set; then :
3714 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3718 # Check whether --with-xml was given.
3719 if test "${with_xml+set}" = set; then :
3720 withval=$with_xml;
3724 # Check whether --with-xrandr was given.
3725 if test "${with_xrandr+set}" = set; then :
3726 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3730 # Check whether --with-xrender was given.
3731 if test "${with_xrender+set}" = set; then :
3732 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3736 # Check whether --with-xshape was given.
3737 if test "${with_xshape+set}" = set; then :
3738 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3742 # Check whether --with-xshm was given.
3743 if test "${with_xshm+set}" = set; then :
3744 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3748 # Check whether --with-xslt was given.
3749 if test "${with_xslt+set}" = set; then :
3750 withval=$with_xslt;
3754 # Check whether --with-xxf86vm was given.
3755 if test "${with_xxf86vm+set}" = set; then :
3756 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
3760 # Check whether --with-zlib was given.
3761 if test "${with_zlib+set}" = set; then :
3762 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3767 # Check whether --with-wine-tools was given.
3768 if test "${with_wine_tools+set}" = set; then :
3769 withval=$with_wine_tools;
3773 # Check whether --with-wine64 was given.
3774 if test "${with_wine64+set}" = set; then :
3775 withval=$with_wine64;
3779 # Make sure we can run config.sub.
3780 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3781 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3784 $as_echo_n "checking build system type... " >&6; }
3785 if ${ac_cv_build+:} false; then :
3786 $as_echo_n "(cached) " >&6
3787 else
3788 ac_build_alias=$build_alias
3789 test "x$ac_build_alias" = x &&
3790 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3791 test "x$ac_build_alias" = x &&
3792 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3793 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3794 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3798 $as_echo "$ac_cv_build" >&6; }
3799 case $ac_cv_build in
3800 *-*-*) ;;
3801 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3802 esac
3803 build=$ac_cv_build
3804 ac_save_IFS=$IFS; IFS='-'
3805 set x $ac_cv_build
3806 shift
3807 build_cpu=$1
3808 build_vendor=$2
3809 shift; shift
3810 # Remember, the first character of IFS is used to create $*,
3811 # except with old shells:
3812 build_os=$*
3813 IFS=$ac_save_IFS
3814 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3818 $as_echo_n "checking host system type... " >&6; }
3819 if ${ac_cv_host+:} false; then :
3820 $as_echo_n "(cached) " >&6
3821 else
3822 if test "x$host_alias" = x; then
3823 ac_cv_host=$ac_cv_build
3824 else
3825 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3826 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3831 $as_echo "$ac_cv_host" >&6; }
3832 case $ac_cv_host in
3833 *-*-*) ;;
3834 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3835 esac
3836 host=$ac_cv_host
3837 ac_save_IFS=$IFS; IFS='-'
3838 set x $ac_cv_host
3839 shift
3840 host_cpu=$1
3841 host_vendor=$2
3842 shift; shift
3843 # Remember, the first character of IFS is used to create $*,
3844 # except with old shells:
3845 host_os=$*
3846 IFS=$ac_save_IFS
3847 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3851 case "$srcdir" in
3852 .) ;;
3853 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3854 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3855 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3856 fi ;;
3857 esac
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3861 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3862 set x ${MAKE-make}
3863 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3864 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3865 $as_echo_n "(cached) " >&6
3866 else
3867 cat >conftest.make <<\_ACEOF
3868 SHELL = /bin/sh
3869 all:
3870 @echo '@@@%%%=$(MAKE)=@@@%%%'
3871 _ACEOF
3872 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3873 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3874 *@@@%%%=?*=@@@%%%*)
3875 eval ac_cv_prog_make_${ac_make}_set=yes;;
3877 eval ac_cv_prog_make_${ac_make}_set=no;;
3878 esac
3879 rm -f conftest.make
3881 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3883 $as_echo "yes" >&6; }
3884 SET_MAKE=
3885 else
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3887 $as_echo "no" >&6; }
3888 SET_MAKE="MAKE=${MAKE-make}"
3891 ac_ext=c
3892 ac_cpp='$CPP $CPPFLAGS'
3893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3896 if test -n "$ac_tool_prefix"; then
3897 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3898 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3900 $as_echo_n "checking for $ac_word... " >&6; }
3901 if ${ac_cv_prog_CC+:} false; then :
3902 $as_echo_n "(cached) " >&6
3903 else
3904 if test -n "$CC"; then
3905 ac_cv_prog_CC="$CC" # Let the user override the test.
3906 else
3907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3908 for as_dir in $PATH
3910 IFS=$as_save_IFS
3911 test -z "$as_dir" && as_dir=.
3912 for ac_exec_ext in '' $ac_executable_extensions; do
3913 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3914 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3916 break 2
3918 done
3919 done
3920 IFS=$as_save_IFS
3924 CC=$ac_cv_prog_CC
3925 if test -n "$CC"; then
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3927 $as_echo "$CC" >&6; }
3928 else
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3930 $as_echo "no" >&6; }
3935 if test -z "$ac_cv_prog_CC"; then
3936 ac_ct_CC=$CC
3937 # Extract the first word of "gcc", so it can be a program name with args.
3938 set dummy gcc; ac_word=$2
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3940 $as_echo_n "checking for $ac_word... " >&6; }
3941 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3942 $as_echo_n "(cached) " >&6
3943 else
3944 if test -n "$ac_ct_CC"; then
3945 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3946 else
3947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3948 for as_dir in $PATH
3950 IFS=$as_save_IFS
3951 test -z "$as_dir" && as_dir=.
3952 for ac_exec_ext in '' $ac_executable_extensions; do
3953 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3954 ac_cv_prog_ac_ct_CC="gcc"
3955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3956 break 2
3958 done
3959 done
3960 IFS=$as_save_IFS
3964 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3965 if test -n "$ac_ct_CC"; then
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3967 $as_echo "$ac_ct_CC" >&6; }
3968 else
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3970 $as_echo "no" >&6; }
3973 if test "x$ac_ct_CC" = x; then
3974 CC=""
3975 else
3976 case $cross_compiling:$ac_tool_warned in
3977 yes:)
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3979 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3980 ac_tool_warned=yes ;;
3981 esac
3982 CC=$ac_ct_CC
3984 else
3985 CC="$ac_cv_prog_CC"
3988 if test -z "$CC"; then
3989 if test -n "$ac_tool_prefix"; then
3990 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3991 set dummy ${ac_tool_prefix}cc; ac_word=$2
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3993 $as_echo_n "checking for $ac_word... " >&6; }
3994 if ${ac_cv_prog_CC+:} false; then :
3995 $as_echo_n "(cached) " >&6
3996 else
3997 if test -n "$CC"; then
3998 ac_cv_prog_CC="$CC" # Let the user override the test.
3999 else
4000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4001 for as_dir in $PATH
4003 IFS=$as_save_IFS
4004 test -z "$as_dir" && as_dir=.
4005 for ac_exec_ext in '' $ac_executable_extensions; do
4006 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4007 ac_cv_prog_CC="${ac_tool_prefix}cc"
4008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4009 break 2
4011 done
4012 done
4013 IFS=$as_save_IFS
4017 CC=$ac_cv_prog_CC
4018 if test -n "$CC"; then
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4020 $as_echo "$CC" >&6; }
4021 else
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4023 $as_echo "no" >&6; }
4029 if test -z "$CC"; then
4030 # Extract the first word of "cc", so it can be a program name with args.
4031 set dummy cc; ac_word=$2
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4033 $as_echo_n "checking for $ac_word... " >&6; }
4034 if ${ac_cv_prog_CC+:} false; then :
4035 $as_echo_n "(cached) " >&6
4036 else
4037 if test -n "$CC"; then
4038 ac_cv_prog_CC="$CC" # Let the user override the test.
4039 else
4040 ac_prog_rejected=no
4041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4042 for as_dir in $PATH
4044 IFS=$as_save_IFS
4045 test -z "$as_dir" && as_dir=.
4046 for ac_exec_ext in '' $ac_executable_extensions; do
4047 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4048 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4049 ac_prog_rejected=yes
4050 continue
4052 ac_cv_prog_CC="cc"
4053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4054 break 2
4056 done
4057 done
4058 IFS=$as_save_IFS
4060 if test $ac_prog_rejected = yes; then
4061 # We found a bogon in the path, so make sure we never use it.
4062 set dummy $ac_cv_prog_CC
4063 shift
4064 if test $# != 0; then
4065 # We chose a different compiler from the bogus one.
4066 # However, it has the same basename, so the bogon will be chosen
4067 # first if we set CC to just the basename; use the full file name.
4068 shift
4069 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4074 CC=$ac_cv_prog_CC
4075 if test -n "$CC"; then
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4077 $as_echo "$CC" >&6; }
4078 else
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4080 $as_echo "no" >&6; }
4085 if test -z "$CC"; then
4086 if test -n "$ac_tool_prefix"; then
4087 for ac_prog in cl.exe
4089 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4090 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4092 $as_echo_n "checking for $ac_word... " >&6; }
4093 if ${ac_cv_prog_CC+:} false; then :
4094 $as_echo_n "(cached) " >&6
4095 else
4096 if test -n "$CC"; then
4097 ac_cv_prog_CC="$CC" # Let the user override the test.
4098 else
4099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4100 for as_dir in $PATH
4102 IFS=$as_save_IFS
4103 test -z "$as_dir" && as_dir=.
4104 for ac_exec_ext in '' $ac_executable_extensions; do
4105 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4106 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4108 break 2
4110 done
4111 done
4112 IFS=$as_save_IFS
4116 CC=$ac_cv_prog_CC
4117 if test -n "$CC"; then
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4119 $as_echo "$CC" >&6; }
4120 else
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4122 $as_echo "no" >&6; }
4126 test -n "$CC" && break
4127 done
4129 if test -z "$CC"; then
4130 ac_ct_CC=$CC
4131 for ac_prog in cl.exe
4133 # Extract the first word of "$ac_prog", so it can be a program name with args.
4134 set dummy $ac_prog; ac_word=$2
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4136 $as_echo_n "checking for $ac_word... " >&6; }
4137 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4138 $as_echo_n "(cached) " >&6
4139 else
4140 if test -n "$ac_ct_CC"; then
4141 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4142 else
4143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4144 for as_dir in $PATH
4146 IFS=$as_save_IFS
4147 test -z "$as_dir" && as_dir=.
4148 for ac_exec_ext in '' $ac_executable_extensions; do
4149 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4150 ac_cv_prog_ac_ct_CC="$ac_prog"
4151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4152 break 2
4154 done
4155 done
4156 IFS=$as_save_IFS
4160 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4161 if test -n "$ac_ct_CC"; then
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4163 $as_echo "$ac_ct_CC" >&6; }
4164 else
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4166 $as_echo "no" >&6; }
4170 test -n "$ac_ct_CC" && break
4171 done
4173 if test "x$ac_ct_CC" = x; then
4174 CC=""
4175 else
4176 case $cross_compiling:$ac_tool_warned in
4177 yes:)
4178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4179 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4180 ac_tool_warned=yes ;;
4181 esac
4182 CC=$ac_ct_CC
4189 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4190 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4191 as_fn_error $? "no acceptable C compiler found in \$PATH
4192 See \`config.log' for more details" "$LINENO" 5; }
4194 # Provide some information about the compiler.
4195 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4196 set X $ac_compile
4197 ac_compiler=$2
4198 for ac_option in --version -v -V -qversion; do
4199 { { ac_try="$ac_compiler $ac_option >&5"
4200 case "(($ac_try" in
4201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4202 *) ac_try_echo=$ac_try;;
4203 esac
4204 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4205 $as_echo "$ac_try_echo"; } >&5
4206 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4207 ac_status=$?
4208 if test -s conftest.err; then
4209 sed '10a\
4210 ... rest of stderr output deleted ...
4211 10q' conftest.err >conftest.er1
4212 cat conftest.er1 >&5
4214 rm -f conftest.er1 conftest.err
4215 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4216 test $ac_status = 0; }
4217 done
4219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4220 /* end confdefs.h. */
4223 main ()
4227 return 0;
4229 _ACEOF
4230 ac_clean_files_save=$ac_clean_files
4231 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4232 # Try to create an executable without -o first, disregard a.out.
4233 # It will help us diagnose broken compilers, and finding out an intuition
4234 # of exeext.
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4236 $as_echo_n "checking whether the C compiler works... " >&6; }
4237 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4239 # The possible output files:
4240 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4242 ac_rmfiles=
4243 for ac_file in $ac_files
4245 case $ac_file in
4246 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4247 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4248 esac
4249 done
4250 rm -f $ac_rmfiles
4252 if { { ac_try="$ac_link_default"
4253 case "(($ac_try" in
4254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4255 *) ac_try_echo=$ac_try;;
4256 esac
4257 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4258 $as_echo "$ac_try_echo"; } >&5
4259 (eval "$ac_link_default") 2>&5
4260 ac_status=$?
4261 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4262 test $ac_status = 0; }; then :
4263 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4264 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4265 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4266 # so that the user can short-circuit this test for compilers unknown to
4267 # Autoconf.
4268 for ac_file in $ac_files ''
4270 test -f "$ac_file" || continue
4271 case $ac_file in
4272 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4274 [ab].out )
4275 # We found the default executable, but exeext='' is most
4276 # certainly right.
4277 break;;
4278 *.* )
4279 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4280 then :; else
4281 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4283 # We set ac_cv_exeext here because the later test for it is not
4284 # safe: cross compilers may not add the suffix if given an `-o'
4285 # argument, so we may need to know it at that point already.
4286 # Even if this section looks crufty: it has the advantage of
4287 # actually working.
4288 break;;
4290 break;;
4291 esac
4292 done
4293 test "$ac_cv_exeext" = no && ac_cv_exeext=
4295 else
4296 ac_file=''
4298 if test -z "$ac_file"; then :
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4300 $as_echo "no" >&6; }
4301 $as_echo "$as_me: failed program was:" >&5
4302 sed 's/^/| /' conftest.$ac_ext >&5
4304 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4305 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4306 as_fn_error 77 "C compiler cannot create executables
4307 See \`config.log' for more details" "$LINENO" 5; }
4308 else
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4310 $as_echo "yes" >&6; }
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4313 $as_echo_n "checking for C compiler default output file name... " >&6; }
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4315 $as_echo "$ac_file" >&6; }
4316 ac_exeext=$ac_cv_exeext
4318 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4319 ac_clean_files=$ac_clean_files_save
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4321 $as_echo_n "checking for suffix of executables... " >&6; }
4322 if { { ac_try="$ac_link"
4323 case "(($ac_try" in
4324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4325 *) ac_try_echo=$ac_try;;
4326 esac
4327 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4328 $as_echo "$ac_try_echo"; } >&5
4329 (eval "$ac_link") 2>&5
4330 ac_status=$?
4331 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4332 test $ac_status = 0; }; then :
4333 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4334 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4335 # work properly (i.e., refer to `conftest.exe'), while it won't with
4336 # `rm'.
4337 for ac_file in conftest.exe conftest conftest.*; do
4338 test -f "$ac_file" || continue
4339 case $ac_file in
4340 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4341 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4342 break;;
4343 * ) break;;
4344 esac
4345 done
4346 else
4347 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4348 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4349 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4350 See \`config.log' for more details" "$LINENO" 5; }
4352 rm -f conftest conftest$ac_cv_exeext
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4354 $as_echo "$ac_cv_exeext" >&6; }
4356 rm -f conftest.$ac_ext
4357 EXEEXT=$ac_cv_exeext
4358 ac_exeext=$EXEEXT
4359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4360 /* end confdefs.h. */
4361 #include <stdio.h>
4363 main ()
4365 FILE *f = fopen ("conftest.out", "w");
4366 return ferror (f) || fclose (f) != 0;
4369 return 0;
4371 _ACEOF
4372 ac_clean_files="$ac_clean_files conftest.out"
4373 # Check that the compiler produces executables we can run. If not, either
4374 # the compiler is broken, or we cross compile.
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4376 $as_echo_n "checking whether we are cross compiling... " >&6; }
4377 if test "$cross_compiling" != yes; then
4378 { { ac_try="$ac_link"
4379 case "(($ac_try" in
4380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4381 *) ac_try_echo=$ac_try;;
4382 esac
4383 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4384 $as_echo "$ac_try_echo"; } >&5
4385 (eval "$ac_link") 2>&5
4386 ac_status=$?
4387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4388 test $ac_status = 0; }
4389 if { ac_try='./conftest$ac_cv_exeext'
4390 { { case "(($ac_try" in
4391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4392 *) ac_try_echo=$ac_try;;
4393 esac
4394 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4395 $as_echo "$ac_try_echo"; } >&5
4396 (eval "$ac_try") 2>&5
4397 ac_status=$?
4398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4399 test $ac_status = 0; }; }; then
4400 cross_compiling=no
4401 else
4402 if test "$cross_compiling" = maybe; then
4403 cross_compiling=yes
4404 else
4405 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4406 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4407 as_fn_error $? "cannot run C compiled programs.
4408 If you meant to cross compile, use \`--host'.
4409 See \`config.log' for more details" "$LINENO" 5; }
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4414 $as_echo "$cross_compiling" >&6; }
4416 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4417 ac_clean_files=$ac_clean_files_save
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4419 $as_echo_n "checking for suffix of object files... " >&6; }
4420 if ${ac_cv_objext+:} false; then :
4421 $as_echo_n "(cached) " >&6
4422 else
4423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4424 /* end confdefs.h. */
4427 main ()
4431 return 0;
4433 _ACEOF
4434 rm -f conftest.o conftest.obj
4435 if { { ac_try="$ac_compile"
4436 case "(($ac_try" in
4437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4438 *) ac_try_echo=$ac_try;;
4439 esac
4440 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4441 $as_echo "$ac_try_echo"; } >&5
4442 (eval "$ac_compile") 2>&5
4443 ac_status=$?
4444 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4445 test $ac_status = 0; }; then :
4446 for ac_file in conftest.o conftest.obj conftest.*; do
4447 test -f "$ac_file" || continue;
4448 case $ac_file in
4449 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4450 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4451 break;;
4452 esac
4453 done
4454 else
4455 $as_echo "$as_me: failed program was:" >&5
4456 sed 's/^/| /' conftest.$ac_ext >&5
4458 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4459 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4460 as_fn_error $? "cannot compute suffix of object files: cannot compile
4461 See \`config.log' for more details" "$LINENO" 5; }
4463 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4466 $as_echo "$ac_cv_objext" >&6; }
4467 OBJEXT=$ac_cv_objext
4468 ac_objext=$OBJEXT
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4470 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4471 if ${ac_cv_c_compiler_gnu+:} false; then :
4472 $as_echo_n "(cached) " >&6
4473 else
4474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4475 /* end confdefs.h. */
4478 main ()
4480 #ifndef __GNUC__
4481 choke me
4482 #endif
4485 return 0;
4487 _ACEOF
4488 if ac_fn_c_try_compile "$LINENO"; then :
4489 ac_compiler_gnu=yes
4490 else
4491 ac_compiler_gnu=no
4493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4494 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4498 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4499 if test $ac_compiler_gnu = yes; then
4500 GCC=yes
4501 else
4502 GCC=
4504 ac_test_CFLAGS=${CFLAGS+set}
4505 ac_save_CFLAGS=$CFLAGS
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4507 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4508 if ${ac_cv_prog_cc_g+:} false; then :
4509 $as_echo_n "(cached) " >&6
4510 else
4511 ac_save_c_werror_flag=$ac_c_werror_flag
4512 ac_c_werror_flag=yes
4513 ac_cv_prog_cc_g=no
4514 CFLAGS="-g"
4515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4516 /* end confdefs.h. */
4519 main ()
4523 return 0;
4525 _ACEOF
4526 if ac_fn_c_try_compile "$LINENO"; then :
4527 ac_cv_prog_cc_g=yes
4528 else
4529 CFLAGS=""
4530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4531 /* end confdefs.h. */
4534 main ()
4538 return 0;
4540 _ACEOF
4541 if ac_fn_c_try_compile "$LINENO"; then :
4543 else
4544 ac_c_werror_flag=$ac_save_c_werror_flag
4545 CFLAGS="-g"
4546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4547 /* end confdefs.h. */
4550 main ()
4554 return 0;
4556 _ACEOF
4557 if ac_fn_c_try_compile "$LINENO"; then :
4558 ac_cv_prog_cc_g=yes
4560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4565 ac_c_werror_flag=$ac_save_c_werror_flag
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4568 $as_echo "$ac_cv_prog_cc_g" >&6; }
4569 if test "$ac_test_CFLAGS" = set; then
4570 CFLAGS=$ac_save_CFLAGS
4571 elif test $ac_cv_prog_cc_g = yes; then
4572 if test "$GCC" = yes; then
4573 CFLAGS="-g -O2"
4574 else
4575 CFLAGS="-g"
4577 else
4578 if test "$GCC" = yes; then
4579 CFLAGS="-O2"
4580 else
4581 CFLAGS=
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4585 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4586 if ${ac_cv_prog_cc_c89+:} false; then :
4587 $as_echo_n "(cached) " >&6
4588 else
4589 ac_cv_prog_cc_c89=no
4590 ac_save_CC=$CC
4591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4592 /* end confdefs.h. */
4593 #include <stdarg.h>
4594 #include <stdio.h>
4595 struct stat;
4596 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4597 struct buf { int x; };
4598 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4599 static char *e (p, i)
4600 char **p;
4601 int i;
4603 return p[i];
4605 static char *f (char * (*g) (char **, int), char **p, ...)
4607 char *s;
4608 va_list v;
4609 va_start (v,p);
4610 s = g (p, va_arg (v,int));
4611 va_end (v);
4612 return s;
4615 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4616 function prototypes and stuff, but not '\xHH' hex character constants.
4617 These don't provoke an error unfortunately, instead are silently treated
4618 as 'x'. The following induces an error, until -std is added to get
4619 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4620 array size at least. It's necessary to write '\x00'==0 to get something
4621 that's true only with -std. */
4622 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4624 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4625 inside strings and character constants. */
4626 #define FOO(x) 'x'
4627 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4629 int test (int i, double x);
4630 struct s1 {int (*f) (int a);};
4631 struct s2 {int (*f) (double a);};
4632 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4633 int argc;
4634 char **argv;
4636 main ()
4638 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4640 return 0;
4642 _ACEOF
4643 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4644 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4646 CC="$ac_save_CC $ac_arg"
4647 if ac_fn_c_try_compile "$LINENO"; then :
4648 ac_cv_prog_cc_c89=$ac_arg
4650 rm -f core conftest.err conftest.$ac_objext
4651 test "x$ac_cv_prog_cc_c89" != "xno" && break
4652 done
4653 rm -f conftest.$ac_ext
4654 CC=$ac_save_CC
4657 # AC_CACHE_VAL
4658 case "x$ac_cv_prog_cc_c89" in
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4661 $as_echo "none needed" >&6; } ;;
4662 xno)
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4664 $as_echo "unsupported" >&6; } ;;
4666 CC="$CC $ac_cv_prog_cc_c89"
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4668 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4669 esac
4670 if test "x$ac_cv_prog_cc_c89" != xno; then :
4674 ac_ext=c
4675 ac_cpp='$CPP $CPPFLAGS'
4676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4680 ac_ext=cpp
4681 ac_cpp='$CXXCPP $CPPFLAGS'
4682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4685 if test -z "$CXX"; then
4686 if test -n "$CCC"; then
4687 CXX=$CCC
4688 else
4689 if test -n "$ac_tool_prefix"; then
4690 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4692 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4693 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4695 $as_echo_n "checking for $ac_word... " >&6; }
4696 if ${ac_cv_prog_CXX+:} false; then :
4697 $as_echo_n "(cached) " >&6
4698 else
4699 if test -n "$CXX"; then
4700 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4701 else
4702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4703 for as_dir in $PATH
4705 IFS=$as_save_IFS
4706 test -z "$as_dir" && as_dir=.
4707 for ac_exec_ext in '' $ac_executable_extensions; do
4708 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4709 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4711 break 2
4713 done
4714 done
4715 IFS=$as_save_IFS
4719 CXX=$ac_cv_prog_CXX
4720 if test -n "$CXX"; then
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4722 $as_echo "$CXX" >&6; }
4723 else
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4725 $as_echo "no" >&6; }
4729 test -n "$CXX" && break
4730 done
4732 if test -z "$CXX"; then
4733 ac_ct_CXX=$CXX
4734 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4736 # Extract the first word of "$ac_prog", so it can be a program name with args.
4737 set dummy $ac_prog; ac_word=$2
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4739 $as_echo_n "checking for $ac_word... " >&6; }
4740 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4741 $as_echo_n "(cached) " >&6
4742 else
4743 if test -n "$ac_ct_CXX"; then
4744 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4745 else
4746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4747 for as_dir in $PATH
4749 IFS=$as_save_IFS
4750 test -z "$as_dir" && as_dir=.
4751 for ac_exec_ext in '' $ac_executable_extensions; do
4752 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4753 ac_cv_prog_ac_ct_CXX="$ac_prog"
4754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4755 break 2
4757 done
4758 done
4759 IFS=$as_save_IFS
4763 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4764 if test -n "$ac_ct_CXX"; then
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4766 $as_echo "$ac_ct_CXX" >&6; }
4767 else
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4769 $as_echo "no" >&6; }
4773 test -n "$ac_ct_CXX" && break
4774 done
4776 if test "x$ac_ct_CXX" = x; then
4777 CXX="g++"
4778 else
4779 case $cross_compiling:$ac_tool_warned in
4780 yes:)
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4782 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4783 ac_tool_warned=yes ;;
4784 esac
4785 CXX=$ac_ct_CXX
4791 # Provide some information about the compiler.
4792 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4793 set X $ac_compile
4794 ac_compiler=$2
4795 for ac_option in --version -v -V -qversion; do
4796 { { ac_try="$ac_compiler $ac_option >&5"
4797 case "(($ac_try" in
4798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4799 *) ac_try_echo=$ac_try;;
4800 esac
4801 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4802 $as_echo "$ac_try_echo"; } >&5
4803 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4804 ac_status=$?
4805 if test -s conftest.err; then
4806 sed '10a\
4807 ... rest of stderr output deleted ...
4808 10q' conftest.err >conftest.er1
4809 cat conftest.er1 >&5
4811 rm -f conftest.er1 conftest.err
4812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4813 test $ac_status = 0; }
4814 done
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4817 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4818 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4819 $as_echo_n "(cached) " >&6
4820 else
4821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4822 /* end confdefs.h. */
4825 main ()
4827 #ifndef __GNUC__
4828 choke me
4829 #endif
4832 return 0;
4834 _ACEOF
4835 if ac_fn_cxx_try_compile "$LINENO"; then :
4836 ac_compiler_gnu=yes
4837 else
4838 ac_compiler_gnu=no
4840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4841 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4845 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4846 if test $ac_compiler_gnu = yes; then
4847 GXX=yes
4848 else
4849 GXX=
4851 ac_test_CXXFLAGS=${CXXFLAGS+set}
4852 ac_save_CXXFLAGS=$CXXFLAGS
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4854 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4855 if ${ac_cv_prog_cxx_g+:} false; then :
4856 $as_echo_n "(cached) " >&6
4857 else
4858 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4859 ac_cxx_werror_flag=yes
4860 ac_cv_prog_cxx_g=no
4861 CXXFLAGS="-g"
4862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4863 /* end confdefs.h. */
4866 main ()
4870 return 0;
4872 _ACEOF
4873 if ac_fn_cxx_try_compile "$LINENO"; then :
4874 ac_cv_prog_cxx_g=yes
4875 else
4876 CXXFLAGS=""
4877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4878 /* end confdefs.h. */
4881 main ()
4885 return 0;
4887 _ACEOF
4888 if ac_fn_cxx_try_compile "$LINENO"; then :
4890 else
4891 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4892 CXXFLAGS="-g"
4893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4894 /* end confdefs.h. */
4897 main ()
4901 return 0;
4903 _ACEOF
4904 if ac_fn_cxx_try_compile "$LINENO"; then :
4905 ac_cv_prog_cxx_g=yes
4907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4912 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4915 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4916 if test "$ac_test_CXXFLAGS" = set; then
4917 CXXFLAGS=$ac_save_CXXFLAGS
4918 elif test $ac_cv_prog_cxx_g = yes; then
4919 if test "$GXX" = yes; then
4920 CXXFLAGS="-g -O2"
4921 else
4922 CXXFLAGS="-g"
4924 else
4925 if test "$GXX" = yes; then
4926 CXXFLAGS="-O2"
4927 else
4928 CXXFLAGS=
4931 ac_ext=c
4932 ac_cpp='$CPP $CPPFLAGS'
4933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4937 if test -n "$ac_tool_prefix"; then
4938 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4939 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4941 $as_echo_n "checking for $ac_word... " >&6; }
4942 if ${ac_cv_prog_CPPBIN+:} false; then :
4943 $as_echo_n "(cached) " >&6
4944 else
4945 if test -n "$CPPBIN"; then
4946 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4947 else
4948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4949 for as_dir in $PATH
4951 IFS=$as_save_IFS
4952 test -z "$as_dir" && as_dir=.
4953 for ac_exec_ext in '' $ac_executable_extensions; do
4954 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4955 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4957 break 2
4959 done
4960 done
4961 IFS=$as_save_IFS
4965 CPPBIN=$ac_cv_prog_CPPBIN
4966 if test -n "$CPPBIN"; then
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4968 $as_echo "$CPPBIN" >&6; }
4969 else
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4971 $as_echo "no" >&6; }
4976 if test -z "$ac_cv_prog_CPPBIN"; then
4977 ac_ct_CPPBIN=$CPPBIN
4978 # Extract the first word of "cpp", so it can be a program name with args.
4979 set dummy cpp; ac_word=$2
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4981 $as_echo_n "checking for $ac_word... " >&6; }
4982 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4983 $as_echo_n "(cached) " >&6
4984 else
4985 if test -n "$ac_ct_CPPBIN"; then
4986 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4987 else
4988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4989 for as_dir in $PATH
4991 IFS=$as_save_IFS
4992 test -z "$as_dir" && as_dir=.
4993 for ac_exec_ext in '' $ac_executable_extensions; do
4994 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4995 ac_cv_prog_ac_ct_CPPBIN="cpp"
4996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4997 break 2
4999 done
5000 done
5001 IFS=$as_save_IFS
5005 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5006 if test -n "$ac_ct_CPPBIN"; then
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5008 $as_echo "$ac_ct_CPPBIN" >&6; }
5009 else
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5011 $as_echo "no" >&6; }
5014 if test "x$ac_ct_CPPBIN" = x; then
5015 CPPBIN="cpp"
5016 else
5017 case $cross_compiling:$ac_tool_warned in
5018 yes:)
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5020 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5021 ac_tool_warned=yes ;;
5022 esac
5023 CPPBIN=$ac_ct_CPPBIN
5025 else
5026 CPPBIN="$ac_cv_prog_CPPBIN"
5030 cat >>confdefs.h <<_ACEOF
5031 #define EXEEXT "$ac_exeext"
5032 _ACEOF
5034 if test -n "$ac_tool_prefix"; then
5035 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5036 set dummy ${ac_tool_prefix}ld; ac_word=$2
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5038 $as_echo_n "checking for $ac_word... " >&6; }
5039 if ${ac_cv_prog_LD+:} false; then :
5040 $as_echo_n "(cached) " >&6
5041 else
5042 if test -n "$LD"; then
5043 ac_cv_prog_LD="$LD" # Let the user override the test.
5044 else
5045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5046 for as_dir in $PATH
5048 IFS=$as_save_IFS
5049 test -z "$as_dir" && as_dir=.
5050 for ac_exec_ext in '' $ac_executable_extensions; do
5051 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5052 ac_cv_prog_LD="${ac_tool_prefix}ld"
5053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5054 break 2
5056 done
5057 done
5058 IFS=$as_save_IFS
5062 LD=$ac_cv_prog_LD
5063 if test -n "$LD"; then
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5065 $as_echo "$LD" >&6; }
5066 else
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5068 $as_echo "no" >&6; }
5073 if test -z "$ac_cv_prog_LD"; then
5074 ac_ct_LD=$LD
5075 # Extract the first word of "ld", so it can be a program name with args.
5076 set dummy ld; ac_word=$2
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5078 $as_echo_n "checking for $ac_word... " >&6; }
5079 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5080 $as_echo_n "(cached) " >&6
5081 else
5082 if test -n "$ac_ct_LD"; then
5083 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5084 else
5085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5086 for as_dir in $PATH
5088 IFS=$as_save_IFS
5089 test -z "$as_dir" && as_dir=.
5090 for ac_exec_ext in '' $ac_executable_extensions; do
5091 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5092 ac_cv_prog_ac_ct_LD="ld"
5093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5094 break 2
5096 done
5097 done
5098 IFS=$as_save_IFS
5102 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5103 if test -n "$ac_ct_LD"; then
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5105 $as_echo "$ac_ct_LD" >&6; }
5106 else
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5108 $as_echo "no" >&6; }
5111 if test "x$ac_ct_LD" = x; then
5112 LD=""
5113 else
5114 case $cross_compiling:$ac_tool_warned in
5115 yes:)
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5117 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5118 ac_tool_warned=yes ;;
5119 esac
5120 LD=$ac_ct_LD
5122 else
5123 LD="$ac_cv_prog_LD"
5127 case $host in
5128 *-darwin*)
5129 with_fontconfig=${with_fontconfig:-no}
5131 *-mingw32*|*-cygwin*)
5132 enable_win16=${enable_win16:-no}
5133 CFLAGS="$CFLAGS -D_WIN32"
5135 esac
5137 case $host in
5138 x86_64*|amd64*)
5139 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5140 then
5141 CC="$CC -m32"
5142 CXX="$CXX -m32"
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5144 $as_echo_n "checking whether $CC works... " >&6; }
5146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5147 /* end confdefs.h. */
5150 main ()
5154 return 0;
5156 _ACEOF
5157 if ac_fn_c_try_link "$LINENO"; then :
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5159 $as_echo "yes" >&6; }
5160 else
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5162 $as_echo "no" >&6; }
5163 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5165 rm -f core conftest.err conftest.$ac_objext \
5166 conftest$ac_exeext conftest.$ac_ext
5167 host_cpu="i386"
5168 notice_platform="32-bit "
5169 TARGETFLAGS="-m32"
5171 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5172 export PKG_CONFIG_PATH
5173 enable_win16=${enable_win16:-yes}
5174 else
5175 if test "x${GCC}" = "xyes"
5176 then
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5178 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5180 /* end confdefs.h. */
5181 #include <stdarg.h>
5183 main ()
5185 void func(__builtin_ms_va_list *args);
5187 return 0;
5189 _ACEOF
5190 if ac_fn_c_try_compile "$LINENO"; then :
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5192 $as_echo "yes" >&6; }
5193 else
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5195 $as_echo "no" >&6; }
5196 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5200 CC="$CC -m64"
5201 CXX="$CXX -m64"
5202 host_cpu="x86_64"
5203 notice_platform="64-bit "
5204 TARGETFLAGS="-m64"
5208 arm*)
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5210 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5212 /* end confdefs.h. */
5213 int ac_test(int i) { return i; }
5215 main ()
5217 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5219 return 0;
5221 _ACEOF
5222 if ac_fn_c_try_link "$LINENO"; then :
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5224 $as_echo "yes" >&6; }
5225 else
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5227 $as_echo "no" >&6; }
5228 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5230 rm -f core conftest.err conftest.$ac_objext \
5231 conftest$ac_exeext conftest.$ac_ext
5232 CFLAGS="$CFLAGS -marm"
5233 TARGETFLAGS="-marm"
5236 i[3456789]86*)
5237 enable_win16=${enable_win16:-yes}
5239 esac
5241 enable_win16=${enable_win16:-no}
5242 enable_win64=${enable_win64:-no}
5244 enable_winetest=${enable_winetest:-$enable_tests}
5246 if test -n "$with_wine64"
5247 then
5248 if test "x$enable_win64" = "xyes"
5249 then
5250 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5251 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5253 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5254 You should create a separate build directory and run configure from there." "$LINENO" 5
5255 enable_fonts=${enable_fonts:-no}
5256 enable_server=${enable_server:-no}
5257 elif test "x$enable_win64" = "xyes"
5258 then
5259 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5263 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5264 if ${wine_cv_toolsdir+:} false; then :
5265 $as_echo_n "(cached) " >&6
5266 else
5267 wine_cv_toolsdir="$with_wine_tools"
5268 if test -z "$with_wine_tools"; then
5269 if test "$cross_compiling" = "yes"; then
5270 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5271 elif test -n "$with_wine64"; then
5272 wine_cv_toolsdir="$with_wine64"
5275 if test -z "$wine_cv_toolsdir"; then
5276 wine_makedep=tools/makedep
5277 wine_cv_toolsdir="\$(top_builddir)"
5278 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5279 wine_makedep=$wine_cv_toolsdir/tools/makedep
5280 case "$wine_cv_toolsdir" in
5281 /*) ;;
5282 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5283 esac
5284 enable_tools=${enable_tools:-no}
5285 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5286 else
5287 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5291 $as_echo "$wine_cv_toolsdir" >&6; }
5292 TOOLSDIR=$wine_cv_toolsdir
5294 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5295 then
5296 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5300 for ac_prog in flex
5302 # Extract the first word of "$ac_prog", so it can be a program name with args.
5303 set dummy $ac_prog; ac_word=$2
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5305 $as_echo_n "checking for $ac_word... " >&6; }
5306 if ${ac_cv_prog_FLEX+:} false; then :
5307 $as_echo_n "(cached) " >&6
5308 else
5309 if test -n "$FLEX"; then
5310 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5311 else
5312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5313 for as_dir in $PATH
5315 IFS=$as_save_IFS
5316 test -z "$as_dir" && as_dir=.
5317 for ac_exec_ext in '' $ac_executable_extensions; do
5318 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5319 ac_cv_prog_FLEX="$ac_prog"
5320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5321 break 2
5323 done
5324 done
5325 IFS=$as_save_IFS
5329 FLEX=$ac_cv_prog_FLEX
5330 if test -n "$FLEX"; then
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5332 $as_echo "$FLEX" >&6; }
5333 else
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5335 $as_echo "no" >&6; }
5339 test -n "$FLEX" && break
5340 done
5341 test -n "$FLEX" || FLEX="none"
5343 if test "$FLEX" = "none"
5344 then
5345 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5348 $as_echo_n "checking whether flex is recent enough... " >&6; }
5349 cat >conftest.l <<EOF
5350 %top{
5351 #include "prediluvian.h"
5355 if $FLEX -t conftest.l >/dev/null 2>&5
5356 then
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5358 $as_echo "yes" >&6; }
5359 else
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5361 $as_echo "no" >&6; }
5362 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5365 for ac_prog in bison
5367 # Extract the first word of "$ac_prog", so it can be a program name with args.
5368 set dummy $ac_prog; ac_word=$2
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5370 $as_echo_n "checking for $ac_word... " >&6; }
5371 if ${ac_cv_prog_BISON+:} false; then :
5372 $as_echo_n "(cached) " >&6
5373 else
5374 if test -n "$BISON"; then
5375 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5376 else
5377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5378 for as_dir in $PATH
5380 IFS=$as_save_IFS
5381 test -z "$as_dir" && as_dir=.
5382 for ac_exec_ext in '' $ac_executable_extensions; do
5383 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5384 ac_cv_prog_BISON="$ac_prog"
5385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5386 break 2
5388 done
5389 done
5390 IFS=$as_save_IFS
5394 BISON=$ac_cv_prog_BISON
5395 if test -n "$BISON"; then
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5397 $as_echo "$BISON" >&6; }
5398 else
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5400 $as_echo "no" >&6; }
5404 test -n "$BISON" && break
5405 done
5406 test -n "$BISON" || BISON="none"
5408 if test "$BISON" = "none"
5409 then
5410 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5413 if test -n "$ac_tool_prefix"; then
5414 for ac_prog in ar gar
5416 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5417 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5419 $as_echo_n "checking for $ac_word... " >&6; }
5420 if ${ac_cv_prog_AR+:} false; then :
5421 $as_echo_n "(cached) " >&6
5422 else
5423 if test -n "$AR"; then
5424 ac_cv_prog_AR="$AR" # Let the user override the test.
5425 else
5426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5427 for as_dir in $PATH
5429 IFS=$as_save_IFS
5430 test -z "$as_dir" && as_dir=.
5431 for ac_exec_ext in '' $ac_executable_extensions; do
5432 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5433 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5435 break 2
5437 done
5438 done
5439 IFS=$as_save_IFS
5443 AR=$ac_cv_prog_AR
5444 if test -n "$AR"; then
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5446 $as_echo "$AR" >&6; }
5447 else
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5449 $as_echo "no" >&6; }
5453 test -n "$AR" && break
5454 done
5456 if test -z "$AR"; then
5457 ac_ct_AR=$AR
5458 for ac_prog in ar gar
5460 # Extract the first word of "$ac_prog", so it can be a program name with args.
5461 set dummy $ac_prog; ac_word=$2
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5463 $as_echo_n "checking for $ac_word... " >&6; }
5464 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5465 $as_echo_n "(cached) " >&6
5466 else
5467 if test -n "$ac_ct_AR"; then
5468 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5469 else
5470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5471 for as_dir in $PATH
5473 IFS=$as_save_IFS
5474 test -z "$as_dir" && as_dir=.
5475 for ac_exec_ext in '' $ac_executable_extensions; do
5476 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5477 ac_cv_prog_ac_ct_AR="$ac_prog"
5478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5479 break 2
5481 done
5482 done
5483 IFS=$as_save_IFS
5487 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5488 if test -n "$ac_ct_AR"; then
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5490 $as_echo "$ac_ct_AR" >&6; }
5491 else
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5493 $as_echo "no" >&6; }
5497 test -n "$ac_ct_AR" && break
5498 done
5500 if test "x$ac_ct_AR" = x; then
5501 AR="ar"
5502 else
5503 case $cross_compiling:$ac_tool_warned in
5504 yes:)
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5506 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5507 ac_tool_warned=yes ;;
5508 esac
5509 AR=$ac_ct_AR
5513 if test -n "$ac_tool_prefix"; then
5514 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5515 set dummy ${ac_tool_prefix}strip; ac_word=$2
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5517 $as_echo_n "checking for $ac_word... " >&6; }
5518 if ${ac_cv_prog_STRIP+:} false; then :
5519 $as_echo_n "(cached) " >&6
5520 else
5521 if test -n "$STRIP"; then
5522 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5523 else
5524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5525 for as_dir in $PATH
5527 IFS=$as_save_IFS
5528 test -z "$as_dir" && as_dir=.
5529 for ac_exec_ext in '' $ac_executable_extensions; do
5530 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5531 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5533 break 2
5535 done
5536 done
5537 IFS=$as_save_IFS
5541 STRIP=$ac_cv_prog_STRIP
5542 if test -n "$STRIP"; then
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5544 $as_echo "$STRIP" >&6; }
5545 else
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5547 $as_echo "no" >&6; }
5552 if test -z "$ac_cv_prog_STRIP"; then
5553 ac_ct_STRIP=$STRIP
5554 # Extract the first word of "strip", so it can be a program name with args.
5555 set dummy strip; ac_word=$2
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5557 $as_echo_n "checking for $ac_word... " >&6; }
5558 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5559 $as_echo_n "(cached) " >&6
5560 else
5561 if test -n "$ac_ct_STRIP"; then
5562 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5563 else
5564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5565 for as_dir in $PATH
5567 IFS=$as_save_IFS
5568 test -z "$as_dir" && as_dir=.
5569 for ac_exec_ext in '' $ac_executable_extensions; do
5570 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5571 ac_cv_prog_ac_ct_STRIP="strip"
5572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5573 break 2
5575 done
5576 done
5577 IFS=$as_save_IFS
5581 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5582 if test -n "$ac_ct_STRIP"; then
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5584 $as_echo "$ac_ct_STRIP" >&6; }
5585 else
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5587 $as_echo "no" >&6; }
5590 if test "x$ac_ct_STRIP" = x; then
5591 STRIP="strip"
5592 else
5593 case $cross_compiling:$ac_tool_warned in
5594 yes:)
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5596 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5597 ac_tool_warned=yes ;;
5598 esac
5599 STRIP=$ac_ct_STRIP
5601 else
5602 STRIP="$ac_cv_prog_STRIP"
5605 ARFLAGS=rc
5607 if test -n "$ac_tool_prefix"; then
5608 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5609 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5611 $as_echo_n "checking for $ac_word... " >&6; }
5612 if ${ac_cv_prog_RANLIB+:} false; then :
5613 $as_echo_n "(cached) " >&6
5614 else
5615 if test -n "$RANLIB"; then
5616 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5617 else
5618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5619 for as_dir in $PATH
5621 IFS=$as_save_IFS
5622 test -z "$as_dir" && as_dir=.
5623 for ac_exec_ext in '' $ac_executable_extensions; do
5624 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5625 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5627 break 2
5629 done
5630 done
5631 IFS=$as_save_IFS
5635 RANLIB=$ac_cv_prog_RANLIB
5636 if test -n "$RANLIB"; then
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5638 $as_echo "$RANLIB" >&6; }
5639 else
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5641 $as_echo "no" >&6; }
5646 if test -z "$ac_cv_prog_RANLIB"; then
5647 ac_ct_RANLIB=$RANLIB
5648 # Extract the first word of "ranlib", so it can be a program name with args.
5649 set dummy ranlib; ac_word=$2
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5651 $as_echo_n "checking for $ac_word... " >&6; }
5652 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5653 $as_echo_n "(cached) " >&6
5654 else
5655 if test -n "$ac_ct_RANLIB"; then
5656 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5657 else
5658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5659 for as_dir in $PATH
5661 IFS=$as_save_IFS
5662 test -z "$as_dir" && as_dir=.
5663 for ac_exec_ext in '' $ac_executable_extensions; do
5664 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5665 ac_cv_prog_ac_ct_RANLIB="ranlib"
5666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5667 break 2
5669 done
5670 done
5671 IFS=$as_save_IFS
5675 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5676 if test -n "$ac_ct_RANLIB"; then
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5678 $as_echo "$ac_ct_RANLIB" >&6; }
5679 else
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5681 $as_echo "no" >&6; }
5684 if test "x$ac_ct_RANLIB" = x; then
5685 RANLIB=":"
5686 else
5687 case $cross_compiling:$ac_tool_warned in
5688 yes:)
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5690 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5691 ac_tool_warned=yes ;;
5692 esac
5693 RANLIB=$ac_ct_RANLIB
5695 else
5696 RANLIB="$ac_cv_prog_RANLIB"
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5700 $as_echo_n "checking whether ln -s works... " >&6; }
5701 LN_S=$as_ln_s
5702 if test "$LN_S" = "ln -s"; then
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5704 $as_echo "yes" >&6; }
5705 else
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5707 $as_echo "no, using $LN_S" >&6; }
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5711 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5712 if ${ac_cv_path_GREP+:} false; then :
5713 $as_echo_n "(cached) " >&6
5714 else
5715 if test -z "$GREP"; then
5716 ac_path_GREP_found=false
5717 # Loop through the user's path and test for each of PROGNAME-LIST
5718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5719 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5721 IFS=$as_save_IFS
5722 test -z "$as_dir" && as_dir=.
5723 for ac_prog in grep ggrep; do
5724 for ac_exec_ext in '' $ac_executable_extensions; do
5725 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5726 as_fn_executable_p "$ac_path_GREP" || continue
5727 # Check for GNU ac_path_GREP and select it if it is found.
5728 # Check for GNU $ac_path_GREP
5729 case `"$ac_path_GREP" --version 2>&1` in
5730 *GNU*)
5731 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5733 ac_count=0
5734 $as_echo_n 0123456789 >"conftest.in"
5735 while :
5737 cat "conftest.in" "conftest.in" >"conftest.tmp"
5738 mv "conftest.tmp" "conftest.in"
5739 cp "conftest.in" "conftest.nl"
5740 $as_echo 'GREP' >> "conftest.nl"
5741 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5742 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5743 as_fn_arith $ac_count + 1 && ac_count=$as_val
5744 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5745 # Best one so far, save it but keep looking for a better one
5746 ac_cv_path_GREP="$ac_path_GREP"
5747 ac_path_GREP_max=$ac_count
5749 # 10*(2^10) chars as input seems more than enough
5750 test $ac_count -gt 10 && break
5751 done
5752 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5753 esac
5755 $ac_path_GREP_found && break 3
5756 done
5757 done
5758 done
5759 IFS=$as_save_IFS
5760 if test -z "$ac_cv_path_GREP"; then
5761 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5763 else
5764 ac_cv_path_GREP=$GREP
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5769 $as_echo "$ac_cv_path_GREP" >&6; }
5770 GREP="$ac_cv_path_GREP"
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5774 $as_echo_n "checking for egrep... " >&6; }
5775 if ${ac_cv_path_EGREP+:} false; then :
5776 $as_echo_n "(cached) " >&6
5777 else
5778 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5779 then ac_cv_path_EGREP="$GREP -E"
5780 else
5781 if test -z "$EGREP"; then
5782 ac_path_EGREP_found=false
5783 # Loop through the user's path and test for each of PROGNAME-LIST
5784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5785 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5787 IFS=$as_save_IFS
5788 test -z "$as_dir" && as_dir=.
5789 for ac_prog in egrep; do
5790 for ac_exec_ext in '' $ac_executable_extensions; do
5791 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5792 as_fn_executable_p "$ac_path_EGREP" || continue
5793 # Check for GNU ac_path_EGREP and select it if it is found.
5794 # Check for GNU $ac_path_EGREP
5795 case `"$ac_path_EGREP" --version 2>&1` in
5796 *GNU*)
5797 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5799 ac_count=0
5800 $as_echo_n 0123456789 >"conftest.in"
5801 while :
5803 cat "conftest.in" "conftest.in" >"conftest.tmp"
5804 mv "conftest.tmp" "conftest.in"
5805 cp "conftest.in" "conftest.nl"
5806 $as_echo 'EGREP' >> "conftest.nl"
5807 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5808 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5809 as_fn_arith $ac_count + 1 && ac_count=$as_val
5810 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5811 # Best one so far, save it but keep looking for a better one
5812 ac_cv_path_EGREP="$ac_path_EGREP"
5813 ac_path_EGREP_max=$ac_count
5815 # 10*(2^10) chars as input seems more than enough
5816 test $ac_count -gt 10 && break
5817 done
5818 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5819 esac
5821 $ac_path_EGREP_found && break 3
5822 done
5823 done
5824 done
5825 IFS=$as_save_IFS
5826 if test -z "$ac_cv_path_EGREP"; then
5827 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5829 else
5830 ac_cv_path_EGREP=$EGREP
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5836 $as_echo "$ac_cv_path_EGREP" >&6; }
5837 EGREP="$ac_cv_path_EGREP"
5840 # Extract the first word of "ldconfig", so it can be a program name with args.
5841 set dummy ldconfig; ac_word=$2
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5843 $as_echo_n "checking for $ac_word... " >&6; }
5844 if ${ac_cv_path_LDCONFIG+:} false; then :
5845 $as_echo_n "(cached) " >&6
5846 else
5847 case $LDCONFIG in
5848 [\\/]* | ?:[\\/]*)
5849 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5853 for as_dir in /sbin /usr/sbin $PATH
5855 IFS=$as_save_IFS
5856 test -z "$as_dir" && as_dir=.
5857 for ac_exec_ext in '' $ac_executable_extensions; do
5858 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5859 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5861 break 2
5863 done
5864 done
5865 IFS=$as_save_IFS
5867 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5869 esac
5871 LDCONFIG=$ac_cv_path_LDCONFIG
5872 if test -n "$LDCONFIG"; then
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5874 $as_echo "$LDCONFIG" >&6; }
5875 else
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5877 $as_echo "no" >&6; }
5881 for ac_prog in msgfmt
5883 # Extract the first word of "$ac_prog", so it can be a program name with args.
5884 set dummy $ac_prog; ac_word=$2
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5886 $as_echo_n "checking for $ac_word... " >&6; }
5887 if ${ac_cv_prog_MSGFMT+:} false; then :
5888 $as_echo_n "(cached) " >&6
5889 else
5890 if test -n "$MSGFMT"; then
5891 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5892 else
5893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5894 for as_dir in $PATH
5896 IFS=$as_save_IFS
5897 test -z "$as_dir" && as_dir=.
5898 for ac_exec_ext in '' $ac_executable_extensions; do
5899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5900 ac_cv_prog_MSGFMT="$ac_prog"
5901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5902 break 2
5904 done
5905 done
5906 IFS=$as_save_IFS
5910 MSGFMT=$ac_cv_prog_MSGFMT
5911 if test -n "$MSGFMT"; then
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5913 $as_echo "$MSGFMT" >&6; }
5914 else
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5916 $as_echo "no" >&6; }
5920 test -n "$MSGFMT" && break
5921 done
5922 test -n "$MSGFMT" || MSGFMT="false"
5924 if ${ac_tool_prefix+:} false; then :
5925 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5926 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5928 $as_echo_n "checking for $ac_word... " >&6; }
5929 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5930 $as_echo_n "(cached) " >&6
5931 else
5932 if test -n "$PKG_CONFIG"; then
5933 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5934 else
5935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5936 for as_dir in $PATH
5938 IFS=$as_save_IFS
5939 test -z "$as_dir" && as_dir=.
5940 for ac_exec_ext in '' $ac_executable_extensions; do
5941 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5942 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5944 break 2
5946 done
5947 done
5948 IFS=$as_save_IFS
5952 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5953 if test -n "$PKG_CONFIG"; then
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5955 $as_echo "$PKG_CONFIG" >&6; }
5956 else
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5958 $as_echo "no" >&6; }
5963 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5964 if test "x$cross_compiling" = xyes; then :
5966 else
5967 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5968 # Extract the first word of "pkg-config", so it can be a program name with args.
5969 set dummy pkg-config; ac_word=$2
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5971 $as_echo_n "checking for $ac_word... " >&6; }
5972 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5973 $as_echo_n "(cached) " >&6
5974 else
5975 if test -n "$PKG_CONFIG"; then
5976 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5977 else
5978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5979 for as_dir in $PATH
5981 IFS=$as_save_IFS
5982 test -z "$as_dir" && as_dir=.
5983 for ac_exec_ext in '' $ac_executable_extensions; do
5984 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5985 ac_cv_prog_PKG_CONFIG="pkg-config"
5986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5987 break 2
5989 done
5990 done
5991 IFS=$as_save_IFS
5995 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5996 if test -n "$PKG_CONFIG"; then
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5998 $as_echo "$PKG_CONFIG" >&6; }
5999 else
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6001 $as_echo "no" >&6; }
6006 else
6007 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6010 if test "x$enable_maintainer_mode" != "xyes"
6011 then
6012 FONTFORGE=""
6013 RSVG=""
6014 CONVERT=""
6015 ICOTOOL=""
6016 else
6017 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6018 for ac_prog in fontforge
6020 # Extract the first word of "$ac_prog", so it can be a program name with args.
6021 set dummy $ac_prog; ac_word=$2
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6023 $as_echo_n "checking for $ac_word... " >&6; }
6024 if ${ac_cv_prog_FONTFORGE+:} false; then :
6025 $as_echo_n "(cached) " >&6
6026 else
6027 if test -n "$FONTFORGE"; then
6028 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6029 else
6030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6031 for as_dir in $PATH
6033 IFS=$as_save_IFS
6034 test -z "$as_dir" && as_dir=.
6035 for ac_exec_ext in '' $ac_executable_extensions; do
6036 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6037 ac_cv_prog_FONTFORGE="$ac_prog"
6038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6039 break 2
6041 done
6042 done
6043 IFS=$as_save_IFS
6047 FONTFORGE=$ac_cv_prog_FONTFORGE
6048 if test -n "$FONTFORGE"; then
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6050 $as_echo "$FONTFORGE" >&6; }
6051 else
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6053 $as_echo "no" >&6; }
6057 test -n "$FONTFORGE" && break
6058 done
6059 test -n "$FONTFORGE" || FONTFORGE="false"
6061 for ac_prog in rsvg-convert rsvg
6063 # Extract the first word of "$ac_prog", so it can be a program name with args.
6064 set dummy $ac_prog; ac_word=$2
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6066 $as_echo_n "checking for $ac_word... " >&6; }
6067 if ${ac_cv_prog_RSVG+:} false; then :
6068 $as_echo_n "(cached) " >&6
6069 else
6070 if test -n "$RSVG"; then
6071 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6072 else
6073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6074 for as_dir in $PATH
6076 IFS=$as_save_IFS
6077 test -z "$as_dir" && as_dir=.
6078 for ac_exec_ext in '' $ac_executable_extensions; do
6079 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6080 ac_cv_prog_RSVG="$ac_prog"
6081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6082 break 2
6084 done
6085 done
6086 IFS=$as_save_IFS
6090 RSVG=$ac_cv_prog_RSVG
6091 if test -n "$RSVG"; then
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6093 $as_echo "$RSVG" >&6; }
6094 else
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6096 $as_echo "no" >&6; }
6100 test -n "$RSVG" && break
6101 done
6102 test -n "$RSVG" || RSVG="false"
6104 for ac_prog in convert
6106 # Extract the first word of "$ac_prog", so it can be a program name with args.
6107 set dummy $ac_prog; ac_word=$2
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6109 $as_echo_n "checking for $ac_word... " >&6; }
6110 if ${ac_cv_prog_CONVERT+:} false; then :
6111 $as_echo_n "(cached) " >&6
6112 else
6113 if test -n "$CONVERT"; then
6114 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6115 else
6116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6117 for as_dir in $PATH
6119 IFS=$as_save_IFS
6120 test -z "$as_dir" && as_dir=.
6121 for ac_exec_ext in '' $ac_executable_extensions; do
6122 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6123 ac_cv_prog_CONVERT="$ac_prog"
6124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6125 break 2
6127 done
6128 done
6129 IFS=$as_save_IFS
6133 CONVERT=$ac_cv_prog_CONVERT
6134 if test -n "$CONVERT"; then
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6136 $as_echo "$CONVERT" >&6; }
6137 else
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6139 $as_echo "no" >&6; }
6143 test -n "$CONVERT" && break
6144 done
6145 test -n "$CONVERT" || CONVERT="false"
6147 for ac_prog in icotool
6149 # Extract the first word of "$ac_prog", so it can be a program name with args.
6150 set dummy $ac_prog; ac_word=$2
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6152 $as_echo_n "checking for $ac_word... " >&6; }
6153 if ${ac_cv_prog_ICOTOOL+:} false; then :
6154 $as_echo_n "(cached) " >&6
6155 else
6156 if test -n "$ICOTOOL"; then
6157 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6158 else
6159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6160 for as_dir in $PATH
6162 IFS=$as_save_IFS
6163 test -z "$as_dir" && as_dir=.
6164 for ac_exec_ext in '' $ac_executable_extensions; do
6165 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6166 ac_cv_prog_ICOTOOL="$ac_prog"
6167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6168 break 2
6170 done
6171 done
6172 IFS=$as_save_IFS
6176 ICOTOOL=$ac_cv_prog_ICOTOOL
6177 if test -n "$ICOTOOL"; then
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6179 $as_echo "$ICOTOOL" >&6; }
6180 else
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6182 $as_echo "no" >&6; }
6186 test -n "$ICOTOOL" && break
6187 done
6188 test -n "$ICOTOOL" || ICOTOOL="false"
6190 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6191 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6193 if test "$CONVERT" = false
6194 then
6195 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6196 else
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6198 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6199 convert_version=`convert --version | head -n1`
6200 if test "x$convert_version" != "x"
6201 then
6202 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6203 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6204 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6205 then
6206 CONVERT=false
6209 if test "$CONVERT" = false
6210 then
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6212 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6213 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6214 else
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6216 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6220 if test "$ICOTOOL" = false
6221 then
6222 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6223 else
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6225 $as_echo_n "checking for recent enough icotool... " >&6; }
6226 icotool_version=`icotool --version | head -n1`
6227 if test "x$icotool_version" != "x"
6228 then
6229 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6230 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6231 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6232 then
6233 ICOTOOL=false
6234 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6237 if test "$ICOTOOL" = false
6238 then
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6240 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6241 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6242 else
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6244 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6248 with_gettext=yes
6249 with_gettextpo=yes
6250 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6253 test "x$with_gettext" != xno || MSGFMT=false
6254 if test "$MSGFMT" != "false"
6255 then
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6257 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6258 cat >conftest.po <<EOF
6259 # comment
6260 msgctxt "ctxt"
6261 msgid "id"
6262 msgstr "str"
6264 if $MSGFMT -o /dev/null conftest.po 2>&5
6265 then
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6267 $as_echo "yes" >&6; }
6268 else
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6270 $as_echo "no" >&6; }
6271 MSGFMT=false
6274 if test "$MSGFMT" = false; then :
6275 case "x$with_gettext" in
6276 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6277 xno) ;;
6278 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6279 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6280 esac
6281 enable_po=${enable_po:-no}
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6286 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6287 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6288 $as_echo_n "(cached) " >&6
6289 else
6290 ac_check_lib_save_LIBS=$LIBS
6291 LIBS="-li386 $LIBS"
6292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6293 /* end confdefs.h. */
6295 /* Override any GCC internal prototype to avoid an error.
6296 Use char because int might match the return type of a GCC
6297 builtin and then its argument prototype would still apply. */
6298 #ifdef __cplusplus
6299 extern "C"
6300 #endif
6301 char i386_set_ldt ();
6303 main ()
6305 return i386_set_ldt ();
6307 return 0;
6309 _ACEOF
6310 if ac_fn_c_try_link "$LINENO"; then :
6311 ac_cv_lib_i386_i386_set_ldt=yes
6312 else
6313 ac_cv_lib_i386_i386_set_ldt=no
6315 rm -f core conftest.err conftest.$ac_objext \
6316 conftest$ac_exeext conftest.$ac_ext
6317 LIBS=$ac_check_lib_save_LIBS
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6320 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6321 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6322 cat >>confdefs.h <<_ACEOF
6323 #define HAVE_LIBI386 1
6324 _ACEOF
6326 LIBS="-li386 $LIBS"
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6331 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6332 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6333 $as_echo_n "(cached) " >&6
6334 else
6335 ac_check_lib_save_LIBS=$LIBS
6336 LIBS="-lossaudio $LIBS"
6337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6338 /* end confdefs.h. */
6340 /* Override any GCC internal prototype to avoid an error.
6341 Use char because int might match the return type of a GCC
6342 builtin and then its argument prototype would still apply. */
6343 #ifdef __cplusplus
6344 extern "C"
6345 #endif
6346 char _oss_ioctl ();
6348 main ()
6350 return _oss_ioctl ();
6352 return 0;
6354 _ACEOF
6355 if ac_fn_c_try_link "$LINENO"; then :
6356 ac_cv_lib_ossaudio__oss_ioctl=yes
6357 else
6358 ac_cv_lib_ossaudio__oss_ioctl=no
6360 rm -f core conftest.err conftest.$ac_objext \
6361 conftest$ac_exeext conftest.$ac_ext
6362 LIBS=$ac_check_lib_save_LIBS
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6365 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6366 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6367 cat >>confdefs.h <<_ACEOF
6368 #define HAVE_LIBOSSAUDIO 1
6369 _ACEOF
6371 LIBS="-lossaudio $LIBS"
6376 OPENGL_LIBS=""
6380 # Check whether --enable-largefile was given.
6381 if test "${enable_largefile+set}" = set; then :
6382 enableval=$enable_largefile;
6385 if test "$enable_largefile" != no; then
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6388 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6389 if ${ac_cv_sys_largefile_CC+:} false; then :
6390 $as_echo_n "(cached) " >&6
6391 else
6392 ac_cv_sys_largefile_CC=no
6393 if test "$GCC" != yes; then
6394 ac_save_CC=$CC
6395 while :; do
6396 # IRIX 6.2 and later do not support large files by default,
6397 # so use the C compiler's -n32 option if that helps.
6398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6399 /* end confdefs.h. */
6400 #include <sys/types.h>
6401 /* Check that off_t can represent 2**63 - 1 correctly.
6402 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6403 since some C++ compilers masquerading as C compilers
6404 incorrectly reject 9223372036854775807. */
6405 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6406 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6407 && LARGE_OFF_T % 2147483647 == 1)
6408 ? 1 : -1];
6410 main ()
6414 return 0;
6416 _ACEOF
6417 if ac_fn_c_try_compile "$LINENO"; then :
6418 break
6420 rm -f core conftest.err conftest.$ac_objext
6421 CC="$CC -n32"
6422 if ac_fn_c_try_compile "$LINENO"; then :
6423 ac_cv_sys_largefile_CC=' -n32'; break
6425 rm -f core conftest.err conftest.$ac_objext
6426 break
6427 done
6428 CC=$ac_save_CC
6429 rm -f conftest.$ac_ext
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6433 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6434 if test "$ac_cv_sys_largefile_CC" != no; then
6435 CC=$CC$ac_cv_sys_largefile_CC
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6439 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6440 if ${ac_cv_sys_file_offset_bits+:} false; then :
6441 $as_echo_n "(cached) " >&6
6442 else
6443 while :; do
6444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6445 /* end confdefs.h. */
6446 #include <sys/types.h>
6447 /* Check that off_t can represent 2**63 - 1 correctly.
6448 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6449 since some C++ compilers masquerading as C compilers
6450 incorrectly reject 9223372036854775807. */
6451 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6452 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6453 && LARGE_OFF_T % 2147483647 == 1)
6454 ? 1 : -1];
6456 main ()
6460 return 0;
6462 _ACEOF
6463 if ac_fn_c_try_compile "$LINENO"; then :
6464 ac_cv_sys_file_offset_bits=no; break
6466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6468 /* end confdefs.h. */
6469 #define _FILE_OFFSET_BITS 64
6470 #include <sys/types.h>
6471 /* Check that off_t can represent 2**63 - 1 correctly.
6472 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6473 since some C++ compilers masquerading as C compilers
6474 incorrectly reject 9223372036854775807. */
6475 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6476 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6477 && LARGE_OFF_T % 2147483647 == 1)
6478 ? 1 : -1];
6480 main ()
6484 return 0;
6486 _ACEOF
6487 if ac_fn_c_try_compile "$LINENO"; then :
6488 ac_cv_sys_file_offset_bits=64; break
6490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6491 ac_cv_sys_file_offset_bits=unknown
6492 break
6493 done
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6496 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6497 case $ac_cv_sys_file_offset_bits in #(
6498 no | unknown) ;;
6500 cat >>confdefs.h <<_ACEOF
6501 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6502 _ACEOF
6504 esac
6505 rm -rf conftest*
6506 if test $ac_cv_sys_file_offset_bits = unknown; then
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6508 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6509 if ${ac_cv_sys_large_files+:} false; then :
6510 $as_echo_n "(cached) " >&6
6511 else
6512 while :; do
6513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6514 /* end confdefs.h. */
6515 #include <sys/types.h>
6516 /* Check that off_t can represent 2**63 - 1 correctly.
6517 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6518 since some C++ compilers masquerading as C compilers
6519 incorrectly reject 9223372036854775807. */
6520 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6521 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6522 && LARGE_OFF_T % 2147483647 == 1)
6523 ? 1 : -1];
6525 main ()
6529 return 0;
6531 _ACEOF
6532 if ac_fn_c_try_compile "$LINENO"; then :
6533 ac_cv_sys_large_files=no; break
6535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6537 /* end confdefs.h. */
6538 #define _LARGE_FILES 1
6539 #include <sys/types.h>
6540 /* Check that off_t can represent 2**63 - 1 correctly.
6541 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6542 since some C++ compilers masquerading as C compilers
6543 incorrectly reject 9223372036854775807. */
6544 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6545 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6546 && LARGE_OFF_T % 2147483647 == 1)
6547 ? 1 : -1];
6549 main ()
6553 return 0;
6555 _ACEOF
6556 if ac_fn_c_try_compile "$LINENO"; then :
6557 ac_cv_sys_large_files=1; break
6559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6560 ac_cv_sys_large_files=unknown
6561 break
6562 done
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6565 $as_echo "$ac_cv_sys_large_files" >&6; }
6566 case $ac_cv_sys_large_files in #(
6567 no | unknown) ;;
6569 cat >>confdefs.h <<_ACEOF
6570 #define _LARGE_FILES $ac_cv_sys_large_files
6571 _ACEOF
6573 esac
6574 rm -rf conftest*
6581 ac_ext=c
6582 ac_cpp='$CPP $CPPFLAGS'
6583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6587 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6588 # On Suns, sometimes $CPP names a directory.
6589 if test -n "$CPP" && test -d "$CPP"; then
6590 CPP=
6592 if test -z "$CPP"; then
6593 if ${ac_cv_prog_CPP+:} false; then :
6594 $as_echo_n "(cached) " >&6
6595 else
6596 # Double quotes because CPP needs to be expanded
6597 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6599 ac_preproc_ok=false
6600 for ac_c_preproc_warn_flag in '' yes
6602 # Use a header file that comes with gcc, so configuring glibc
6603 # with a fresh cross-compiler works.
6604 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6605 # <limits.h> exists even on freestanding compilers.
6606 # On the NeXT, cc -E runs the code through the compiler's parser,
6607 # not just through cpp. "Syntax error" is here to catch this case.
6608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6609 /* end confdefs.h. */
6610 #ifdef __STDC__
6611 # include <limits.h>
6612 #else
6613 # include <assert.h>
6614 #endif
6615 Syntax error
6616 _ACEOF
6617 if ac_fn_c_try_cpp "$LINENO"; then :
6619 else
6620 # Broken: fails on valid input.
6621 continue
6623 rm -f conftest.err conftest.i conftest.$ac_ext
6625 # OK, works on sane cases. Now check whether nonexistent headers
6626 # can be detected and how.
6627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6628 /* end confdefs.h. */
6629 #include <ac_nonexistent.h>
6630 _ACEOF
6631 if ac_fn_c_try_cpp "$LINENO"; then :
6632 # Broken: success on invalid input.
6633 continue
6634 else
6635 # Passes both tests.
6636 ac_preproc_ok=:
6637 break
6639 rm -f conftest.err conftest.i conftest.$ac_ext
6641 done
6642 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6643 rm -f conftest.i conftest.err conftest.$ac_ext
6644 if $ac_preproc_ok; then :
6645 break
6648 done
6649 ac_cv_prog_CPP=$CPP
6652 CPP=$ac_cv_prog_CPP
6653 else
6654 ac_cv_prog_CPP=$CPP
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6657 $as_echo "$CPP" >&6; }
6658 ac_preproc_ok=false
6659 for ac_c_preproc_warn_flag in '' yes
6661 # Use a header file that comes with gcc, so configuring glibc
6662 # with a fresh cross-compiler works.
6663 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6664 # <limits.h> exists even on freestanding compilers.
6665 # On the NeXT, cc -E runs the code through the compiler's parser,
6666 # not just through cpp. "Syntax error" is here to catch this case.
6667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6668 /* end confdefs.h. */
6669 #ifdef __STDC__
6670 # include <limits.h>
6671 #else
6672 # include <assert.h>
6673 #endif
6674 Syntax error
6675 _ACEOF
6676 if ac_fn_c_try_cpp "$LINENO"; then :
6678 else
6679 # Broken: fails on valid input.
6680 continue
6682 rm -f conftest.err conftest.i conftest.$ac_ext
6684 # OK, works on sane cases. Now check whether nonexistent headers
6685 # can be detected and how.
6686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6687 /* end confdefs.h. */
6688 #include <ac_nonexistent.h>
6689 _ACEOF
6690 if ac_fn_c_try_cpp "$LINENO"; then :
6691 # Broken: success on invalid input.
6692 continue
6693 else
6694 # Passes both tests.
6695 ac_preproc_ok=:
6696 break
6698 rm -f conftest.err conftest.i conftest.$ac_ext
6700 done
6701 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6702 rm -f conftest.i conftest.err conftest.$ac_ext
6703 if $ac_preproc_ok; then :
6705 else
6706 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6707 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6708 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6709 See \`config.log' for more details" "$LINENO" 5; }
6712 ac_ext=c
6713 ac_cpp='$CPP $CPPFLAGS'
6714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6720 $as_echo_n "checking for ANSI C header files... " >&6; }
6721 if ${ac_cv_header_stdc+:} false; then :
6722 $as_echo_n "(cached) " >&6
6723 else
6724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6725 /* end confdefs.h. */
6726 #include <stdlib.h>
6727 #include <stdarg.h>
6728 #include <string.h>
6729 #include <float.h>
6732 main ()
6736 return 0;
6738 _ACEOF
6739 if ac_fn_c_try_compile "$LINENO"; then :
6740 ac_cv_header_stdc=yes
6741 else
6742 ac_cv_header_stdc=no
6744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6746 if test $ac_cv_header_stdc = yes; then
6747 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6749 /* end confdefs.h. */
6750 #include <string.h>
6752 _ACEOF
6753 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6754 $EGREP "memchr" >/dev/null 2>&1; then :
6756 else
6757 ac_cv_header_stdc=no
6759 rm -f conftest*
6763 if test $ac_cv_header_stdc = yes; then
6764 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6766 /* end confdefs.h. */
6767 #include <stdlib.h>
6769 _ACEOF
6770 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6771 $EGREP "free" >/dev/null 2>&1; then :
6773 else
6774 ac_cv_header_stdc=no
6776 rm -f conftest*
6780 if test $ac_cv_header_stdc = yes; then
6781 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6782 if test "$cross_compiling" = yes; then :
6784 else
6785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6786 /* end confdefs.h. */
6787 #include <ctype.h>
6788 #include <stdlib.h>
6789 #if ((' ' & 0x0FF) == 0x020)
6790 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6791 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6792 #else
6793 # define ISLOWER(c) \
6794 (('a' <= (c) && (c) <= 'i') \
6795 || ('j' <= (c) && (c) <= 'r') \
6796 || ('s' <= (c) && (c) <= 'z'))
6797 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6798 #endif
6800 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6802 main ()
6804 int i;
6805 for (i = 0; i < 256; i++)
6806 if (XOR (islower (i), ISLOWER (i))
6807 || toupper (i) != TOUPPER (i))
6808 return 2;
6809 return 0;
6811 _ACEOF
6812 if ac_fn_c_try_run "$LINENO"; then :
6814 else
6815 ac_cv_header_stdc=no
6817 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6818 conftest.$ac_objext conftest.beam conftest.$ac_ext
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6824 $as_echo "$ac_cv_header_stdc" >&6; }
6825 if test $ac_cv_header_stdc = yes; then
6827 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6831 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6832 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6833 inttypes.h stdint.h unistd.h
6834 do :
6835 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6836 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6838 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6839 cat >>confdefs.h <<_ACEOF
6840 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6841 _ACEOF
6845 done
6848 for ac_header in \
6849 AL/al.h \
6850 ApplicationServices/ApplicationServices.h \
6851 AudioToolbox/AudioConverter.h \
6852 AudioUnit/AudioUnit.h \
6853 AudioUnit/AudioComponent.h \
6854 CL/cl.h \
6855 Carbon/Carbon.h \
6856 CommonCrypto/CommonDigest.h \
6857 CoreAudio/CoreAudio.h \
6858 CoreServices/CoreServices.h \
6859 DiskArbitration/DiskArbitration.h \
6860 EGL/egl.h \
6861 IOKit/IOKitLib.h \
6862 IOKit/hid/IOHIDLib.h \
6863 OpenAL/al.h \
6864 OpenCL/opencl.h \
6865 QuickTime/ImageCompression.h \
6866 Security/Security.h \
6867 alias.h \
6868 alsa/asoundlib.h \
6869 arpa/inet.h \
6870 arpa/nameser.h \
6871 asm/types.h \
6872 asm/user.h \
6873 curses.h \
6874 direct.h \
6875 dirent.h \
6876 dlfcn.h \
6877 elf.h \
6878 float.h \
6879 fnmatch.h \
6880 getopt.h \
6881 gettext-po.h \
6882 grp.h \
6883 gsm.h \
6884 gsm/gsm.h \
6885 ieeefp.h \
6886 inet/mib2.h \
6887 io.h \
6888 kstat.h \
6889 libproc.h \
6890 link.h \
6891 linux/cdrom.h \
6892 linux/compiler.h \
6893 linux/filter.h \
6894 linux/hdreg.h \
6895 linux/hidraw.h \
6896 linux/input.h \
6897 linux/ioctl.h \
6898 linux/joystick.h \
6899 linux/major.h \
6900 linux/param.h \
6901 linux/serial.h \
6902 linux/types.h \
6903 linux/ucdrom.h \
6904 lwp.h \
6905 mach-o/nlist.h \
6906 mach-o/loader.h \
6907 mach/mach.h \
6908 mach/machine.h \
6909 machine/cpu.h \
6910 machine/limits.h \
6911 machine/sysarch.h \
6912 mntent.h \
6913 ncurses.h \
6914 netdb.h \
6915 netinet/in.h \
6916 netinet/in_systm.h \
6917 netinet/tcp.h \
6918 netinet/tcp_fsm.h \
6919 pcap/pcap.h \
6920 poll.h \
6921 port.h \
6922 process.h \
6923 pthread.h \
6924 pwd.h \
6925 sched.h \
6926 scsi/scsi.h \
6927 scsi/scsi_ioctl.h \
6928 scsi/sg.h \
6929 stdbool.h \
6930 stdint.h \
6931 stropts.h \
6932 sys/asoundlib.h \
6933 sys/attr.h \
6934 sys/auxv.h \
6935 sys/cdio.h \
6936 sys/elf32.h \
6937 sys/epoll.h \
6938 sys/event.h \
6939 sys/exec_elf.h \
6940 sys/filio.h \
6941 sys/inotify.h \
6942 sys/ioctl.h \
6943 sys/ipc.h \
6944 sys/limits.h \
6945 sys/link.h \
6946 sys/mman.h \
6947 sys/modem.h \
6948 sys/msg.h \
6949 sys/mtio.h \
6950 sys/param.h \
6951 sys/poll.h \
6952 sys/prctl.h \
6953 sys/protosw.h \
6954 sys/ptrace.h \
6955 sys/queue.h \
6956 sys/resource.h \
6957 sys/scsiio.h \
6958 sys/shm.h \
6959 sys/signal.h \
6960 sys/socket.h \
6961 sys/socketvar.h \
6962 sys/sockio.h \
6963 sys/statvfs.h \
6964 sys/strtio.h \
6965 sys/syscall.h \
6966 sys/sysinfo.h \
6967 sys/tihdr.h \
6968 sys/time.h \
6969 sys/timeout.h \
6970 sys/times.h \
6971 sys/uio.h \
6972 sys/user.h \
6973 sys/utsname.h \
6974 sys/vm86.h \
6975 sys/vnode.h \
6976 sys/wait.h \
6977 syscall.h \
6978 termios.h \
6979 unistd.h \
6980 utime.h \
6981 valgrind/memcheck.h \
6982 valgrind/valgrind.h \
6983 zlib.h
6985 do :
6986 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6987 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6988 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6989 cat >>confdefs.h <<_ACEOF
6990 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6991 _ACEOF
6995 done
6997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6998 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6999 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
7000 $as_echo_n "(cached) " >&6
7001 else
7002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7003 /* end confdefs.h. */
7004 #include <sys/types.h>
7006 main ()
7008 return makedev(0, 0);
7010 return 0;
7012 _ACEOF
7013 if ac_fn_c_try_link "$LINENO"; then :
7014 ac_cv_header_sys_types_h_makedev=yes
7015 else
7016 ac_cv_header_sys_types_h_makedev=no
7018 rm -f core conftest.err conftest.$ac_objext \
7019 conftest$ac_exeext conftest.$ac_ext
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
7023 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
7025 if test $ac_cv_header_sys_types_h_makedev = no; then
7026 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7027 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7029 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7035 if test $ac_cv_header_sys_mkdev_h = no; then
7036 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7037 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7039 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7048 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7049 if ${ac_cv_header_stat_broken+:} false; then :
7050 $as_echo_n "(cached) " >&6
7051 else
7052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7053 /* end confdefs.h. */
7054 #include <sys/types.h>
7055 #include <sys/stat.h>
7057 #if defined S_ISBLK && defined S_IFDIR
7058 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7059 #endif
7061 #if defined S_ISBLK && defined S_IFCHR
7062 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7063 #endif
7065 #if defined S_ISLNK && defined S_IFREG
7066 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7067 #endif
7069 #if defined S_ISSOCK && defined S_IFREG
7070 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7071 #endif
7073 _ACEOF
7074 if ac_fn_c_try_compile "$LINENO"; then :
7075 ac_cv_header_stat_broken=no
7076 else
7077 ac_cv_header_stat_broken=yes
7079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7082 $as_echo "$ac_cv_header_stat_broken" >&6; }
7083 if test $ac_cv_header_stat_broken = yes; then
7085 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7091 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7092 do :
7093 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7094 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7095 #ifdef HAVE_SYS_PARAM_H
7096 # include <sys/param.h>
7097 #endif
7099 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7100 cat >>confdefs.h <<_ACEOF
7101 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7102 _ACEOF
7106 done
7109 for ac_header in \
7110 netinet/ip.h \
7111 net/if.h \
7112 net/if_arp.h \
7113 net/if_dl.h \
7114 net/if_types.h \
7115 net/route.h \
7116 netinet/if_ether.h \
7117 netinet/if_inarp.h \
7118 netinet/in_pcb.h \
7119 netinet/ip_icmp.h \
7120 netinet/ip_var.h \
7121 netinet/udp.h \
7122 netipx/ipx.h \
7123 sys/un.h \
7125 do :
7126 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7127 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7128 #ifdef HAVE_SYS_SOCKET_H
7129 # include <sys/socket.h>
7130 #endif
7131 #ifdef HAVE_SYS_SOCKETVAR_H
7132 # include <sys/socketvar.h>
7133 #endif
7134 #ifdef HAVE_NET_ROUTE_H
7135 # include <net/route.h>
7136 #endif
7137 #ifdef HAVE_NETINET_IN_H
7138 # include <netinet/in.h>
7139 #endif
7140 #ifdef HAVE_NETINET_IN_SYSTM_H
7141 # include <netinet/in_systm.h>
7142 #endif
7143 #ifdef HAVE_NET_IF_H
7144 # include <net/if.h>
7145 #endif
7146 #ifdef HAVE_NETINET_IP_H
7147 # include <netinet/ip.h>
7148 #endif
7150 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7151 cat >>confdefs.h <<_ACEOF
7152 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7153 _ACEOF
7157 done
7160 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7161 do :
7162 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7163 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7164 #ifdef HAVE_ALIAS_H
7165 # include <alias.h>
7166 #endif
7167 #ifdef HAVE_SYS_SOCKET_H
7168 # include <sys/socket.h>
7169 #endif
7170 #ifdef HAVE_SYS_SOCKETVAR_H
7171 # include <sys/socketvar.h>
7172 #endif
7173 #ifdef HAVE_SYS_TIMEOUT_H
7174 # include <sys/timeout.h>
7175 #endif
7176 #ifdef HAVE_NETINET_IN_H
7177 # include <netinet/in.h>
7178 #endif
7179 #ifdef HAVE_NETINET_IN_SYSTM_H
7180 # include <netinet/in_systm.h>
7181 #endif
7182 #ifdef HAVE_NETINET_IP_H
7183 # include <netinet/ip.h>
7184 #endif
7185 #ifdef HAVE_NETINET_IP_VAR_H
7186 # include <netinet/ip_var.h>
7187 #endif
7188 #ifdef HAVE_NETINET_IP_ICMP_H
7189 # include <netinet/ip_icmp.h>
7190 #endif
7191 #ifdef HAVE_NETINET_UDP_H
7192 # include <netinet/udp.h>
7193 #endif
7194 #ifdef HAVE_NETINET_TCP_H
7195 # include <netinet/tcp.h>
7196 #endif
7197 #ifdef HAVE_NETINET_TCP_TIMER_H
7198 #include <netinet/tcp_timer.h>
7199 #endif
7201 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7202 cat >>confdefs.h <<_ACEOF
7203 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7204 _ACEOF
7208 done
7211 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7212 do :
7213 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7214 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7215 #ifdef HAVE_ASM_TYPES_H
7216 # include <asm/types.h>
7217 #endif
7218 #ifdef HAVE_SYS_SOCKET_H
7219 # include <sys/socket.h>
7220 #endif
7221 #ifdef HAVE_LINUX_TYPES_H
7222 # include <linux/types.h>
7223 #endif
7225 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7226 cat >>confdefs.h <<_ACEOF
7227 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7228 _ACEOF
7232 done
7235 for ac_header in mach-o/dyld_images.h
7236 do :
7237 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7238 # include <stdbool.h>
7239 #endif
7240 #ifdef HAVE_STDINT_H
7241 # include <stdint.h>
7242 #endif
7244 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7245 cat >>confdefs.h <<_ACEOF
7246 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7247 _ACEOF
7251 done
7254 for ac_header in resolv.h
7255 do :
7256 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7257 #ifdef HAVE_SYS_SOCKET_H
7258 # include <sys/socket.h>
7259 #endif
7260 #ifdef HAVE_NETINET_IN_H
7261 # include <netinet/in.h>
7262 #endif
7263 #ifdef HAVE_ARPA_NAMESER_H
7264 # include <arpa/nameser.h>
7265 #endif
7267 if test "x$ac_cv_header_resolv_h" = xyes; then :
7268 cat >>confdefs.h <<_ACEOF
7269 #define HAVE_RESOLV_H 1
7270 _ACEOF
7274 done
7277 for ac_header in ifaddrs.h
7278 do :
7279 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7281 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7282 cat >>confdefs.h <<_ACEOF
7283 #define HAVE_IFADDRS_H 1
7284 _ACEOF
7288 done
7291 for ac_header in sys/ucontext.h
7292 do :
7293 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7295 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7296 cat >>confdefs.h <<_ACEOF
7297 #define HAVE_SYS_UCONTEXT_H 1
7298 _ACEOF
7302 done
7305 for ac_header in sys/thr.h
7306 do :
7307 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7308 #ifdef HAVE_SYS_UCONTEXT_H
7309 #include <sys/ucontext.h>
7310 #endif
7312 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7313 cat >>confdefs.h <<_ACEOF
7314 #define HAVE_SYS_THR_H 1
7315 _ACEOF
7319 done
7322 for ac_header in pthread_np.h
7323 do :
7324 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7325 #include <pthread.h>
7326 #endif
7328 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7329 cat >>confdefs.h <<_ACEOF
7330 #define HAVE_PTHREAD_NP_H 1
7331 _ACEOF
7335 done
7338 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7339 do :
7340 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7341 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7342 #include <sys/time.h>
7343 #endif
7344 #include <sys/types.h>
7345 #ifdef HAVE_ASM_TYPES_H
7346 #include <asm/types.h>
7347 #endif
7349 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7350 cat >>confdefs.h <<_ACEOF
7351 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7352 _ACEOF
7356 done
7359 for ac_header in libprocstat.h
7360 do :
7361 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7362 #include <sys/param.h>
7363 #endif
7364 #ifdef HAVE_SYS_QUEUE_H
7365 #include <sys/queue.h>
7366 #endif
7367 #ifdef HAVE_SYS_SOCKET_H
7368 #include <sys/socket.h>
7369 #endif
7371 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7372 cat >>confdefs.h <<_ACEOF
7373 #define HAVE_LIBPROCSTAT_H 1
7374 _ACEOF
7378 done
7382 dlldir="\${libdir}/wine"
7384 DLLFLAGS="-D_REENTRANT"
7386 LDRPATH_INSTALL=""
7388 LDRPATH_LOCAL=""
7390 LDEXECFLAGS=""
7392 WINELOADER_LDFLAGS=""
7394 LIBEXT="so"
7395 DLLEXT=".so"
7396 IMPLIBEXT="def"
7397 # Extract the first word of "ldd", so it can be a program name with args.
7398 set dummy ldd; ac_word=$2
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7400 $as_echo_n "checking for $ac_word... " >&6; }
7401 if ${ac_cv_path_LDD+:} false; then :
7402 $as_echo_n "(cached) " >&6
7403 else
7404 case $LDD in
7405 [\\/]* | ?:[\\/]*)
7406 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7410 as_dummy="/sbin:/usr/sbin:$PATH"
7411 for as_dir in $as_dummy
7413 IFS=$as_save_IFS
7414 test -z "$as_dir" && as_dir=.
7415 for ac_exec_ext in '' $ac_executable_extensions; do
7416 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7417 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7419 break 2
7421 done
7422 done
7423 IFS=$as_save_IFS
7425 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7427 esac
7429 LDD=$ac_cv_path_LDD
7430 if test -n "$LDD"; then
7431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7432 $as_echo "$LDD" >&6; }
7433 else
7434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7435 $as_echo "no" >&6; }
7439 if test -n "$ac_tool_prefix"; then
7440 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7441 set dummy ${ac_tool_prefix}otool; ac_word=$2
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7443 $as_echo_n "checking for $ac_word... " >&6; }
7444 if ${ac_cv_prog_OTOOL+:} false; then :
7445 $as_echo_n "(cached) " >&6
7446 else
7447 if test -n "$OTOOL"; then
7448 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7449 else
7450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7451 for as_dir in $PATH
7453 IFS=$as_save_IFS
7454 test -z "$as_dir" && as_dir=.
7455 for ac_exec_ext in '' $ac_executable_extensions; do
7456 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7457 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7459 break 2
7461 done
7462 done
7463 IFS=$as_save_IFS
7467 OTOOL=$ac_cv_prog_OTOOL
7468 if test -n "$OTOOL"; then
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7470 $as_echo "$OTOOL" >&6; }
7471 else
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7473 $as_echo "no" >&6; }
7478 if test -z "$ac_cv_prog_OTOOL"; then
7479 ac_ct_OTOOL=$OTOOL
7480 # Extract the first word of "otool", so it can be a program name with args.
7481 set dummy otool; ac_word=$2
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7483 $as_echo_n "checking for $ac_word... " >&6; }
7484 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7485 $as_echo_n "(cached) " >&6
7486 else
7487 if test -n "$ac_ct_OTOOL"; then
7488 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7489 else
7490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7491 for as_dir in $PATH
7493 IFS=$as_save_IFS
7494 test -z "$as_dir" && as_dir=.
7495 for ac_exec_ext in '' $ac_executable_extensions; do
7496 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7497 ac_cv_prog_ac_ct_OTOOL="otool"
7498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7499 break 2
7501 done
7502 done
7503 IFS=$as_save_IFS
7507 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7508 if test -n "$ac_ct_OTOOL"; then
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7510 $as_echo "$ac_ct_OTOOL" >&6; }
7511 else
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7513 $as_echo "no" >&6; }
7516 if test "x$ac_ct_OTOOL" = x; then
7517 OTOOL="otool"
7518 else
7519 case $cross_compiling:$ac_tool_warned in
7520 yes:)
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7522 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7523 ac_tool_warned=yes ;;
7524 esac
7525 OTOOL=$ac_ct_OTOOL
7527 else
7528 OTOOL="$ac_cv_prog_OTOOL"
7531 if test -n "$ac_tool_prefix"; then
7532 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7533 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7535 $as_echo_n "checking for $ac_word... " >&6; }
7536 if ${ac_cv_prog_READELF+:} false; then :
7537 $as_echo_n "(cached) " >&6
7538 else
7539 if test -n "$READELF"; then
7540 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7541 else
7542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7543 for as_dir in $PATH
7545 IFS=$as_save_IFS
7546 test -z "$as_dir" && as_dir=.
7547 for ac_exec_ext in '' $ac_executable_extensions; do
7548 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7549 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7551 break 2
7553 done
7554 done
7555 IFS=$as_save_IFS
7559 READELF=$ac_cv_prog_READELF
7560 if test -n "$READELF"; then
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7562 $as_echo "$READELF" >&6; }
7563 else
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7565 $as_echo "no" >&6; }
7570 if test -z "$ac_cv_prog_READELF"; then
7571 ac_ct_READELF=$READELF
7572 # Extract the first word of "readelf", so it can be a program name with args.
7573 set dummy readelf; ac_word=$2
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7575 $as_echo_n "checking for $ac_word... " >&6; }
7576 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7577 $as_echo_n "(cached) " >&6
7578 else
7579 if test -n "$ac_ct_READELF"; then
7580 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7581 else
7582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7583 for as_dir in $PATH
7585 IFS=$as_save_IFS
7586 test -z "$as_dir" && as_dir=.
7587 for ac_exec_ext in '' $ac_executable_extensions; do
7588 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7589 ac_cv_prog_ac_ct_READELF="readelf"
7590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7591 break 2
7593 done
7594 done
7595 IFS=$as_save_IFS
7599 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7600 if test -n "$ac_ct_READELF"; then
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7602 $as_echo "$ac_ct_READELF" >&6; }
7603 else
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7605 $as_echo "no" >&6; }
7608 if test "x$ac_ct_READELF" = x; then
7609 READELF="true"
7610 else
7611 case $cross_compiling:$ac_tool_warned in
7612 yes:)
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7614 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7615 ac_tool_warned=yes ;;
7616 esac
7617 READELF=$ac_ct_READELF
7619 else
7620 READELF="$ac_cv_prog_READELF"
7623 wine_rules_file=conf$$rules.make
7624 rm -f $wine_rules_file
7625 SUBDIRS=""
7627 DISABLED_SUBDIRS=""
7629 CONFIGURE_TARGETS=""
7631 ALL_TEST_RESOURCES=""
7634 wine_fn_append_file ()
7636 as_fn_append $1 " \\$as_nl $2"
7639 wine_fn_append_rule ()
7641 $as_echo "$1" >>$wine_rules_file
7644 wine_fn_has_flag ()
7646 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7649 wine_fn_all_rules ()
7651 wine_fn_append_file SUBDIRS $ac_dir
7652 wine_fn_append_rule \
7653 "all: $ac_dir
7654 .PHONY: $ac_dir
7655 $ac_dir: dummy
7656 @cd $ac_dir && \$(MAKE)"
7659 wine_fn_install_rules ()
7661 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7663 wine_fn_append_rule \
7664 ".PHONY: $ac_dir/install $ac_dir/uninstall
7665 $ac_dir/install:: $ac_dir
7666 @cd $ac_dir && \$(MAKE) install
7667 $ac_dir/uninstall::
7668 @cd $ac_dir && \$(MAKE) uninstall
7669 install:: $ac_dir/install
7670 __uninstall__: $ac_dir/uninstall"
7672 if wine_fn_has_flag install-lib
7673 then
7674 wine_fn_append_rule \
7675 ".PHONY: $ac_dir/install-lib
7676 $ac_dir/install-lib:: $ac_dir
7677 @cd $ac_dir && \$(MAKE) install-lib
7678 install-lib:: $ac_dir/install-lib"
7681 if wine_fn_has_flag install-dev
7682 then
7683 wine_fn_append_rule \
7684 ".PHONY: $ac_dir/install-dev
7685 $ac_dir/install-dev:: $ac_dir
7686 @cd $ac_dir && \$(MAKE) install-dev
7687 install-dev:: $ac_dir/install-dev"
7691 wine_fn_clean_rules ()
7693 ac_clean=$@
7695 if wine_fn_has_flag clean
7696 then
7697 wine_fn_append_rule \
7698 "$ac_dir/clean: dummy
7699 @cd $ac_dir && \$(MAKE) clean"
7700 else
7701 wine_fn_append_rule \
7702 "$ac_dir/clean: dummy
7703 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7705 wine_fn_append_rule \
7706 "__clean__: $ac_dir/clean
7707 .PHONY: $ac_dir/clean"
7710 wine_fn_disabled_rules ()
7712 ac_clean=$@
7714 wine_fn_append_file SUBDIRS $ac_dir
7715 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7716 wine_fn_append_rule \
7717 "__clean__: $ac_dir/clean
7718 .PHONY: $ac_dir/clean
7719 $ac_dir/clean: dummy
7720 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7723 wine_fn_config_makefile ()
7725 ac_dir=$1
7726 ac_enable=$2
7727 ac_flags=$3
7729 case $ac_dir in
7730 fonts|server) test -z "$with_wine64" || return ;;
7731 esac
7732 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7733 wine_fn_disabled_rules; return
7735 wine_fn_all_rules
7736 wine_fn_install_rules
7737 wine_fn_clean_rules
7740 wine_fn_config_lib ()
7742 ac_name=$1
7743 ac_flags=$2
7744 ac_dir=dlls/$ac_name
7745 ac_deps="include"
7747 if test "x$enable_tools" = xno; then :
7749 else
7750 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7752 wine_fn_all_rules
7753 wine_fn_clean_rules
7755 wine_fn_append_rule \
7756 ".PHONY: $ac_dir/install $ac_dir/uninstall
7757 $ac_dir/install:: $ac_dir
7758 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7759 $ac_dir/uninstall::
7760 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7761 install install-dev:: $ac_dir/install
7762 __uninstall__: $ac_dir/uninstall
7763 __builddeps__: $ac_dir
7764 $ac_dir: $ac_deps"
7767 wine_fn_config_dll ()
7769 ac_name=$1
7770 ac_dir=dlls/$ac_name
7771 ac_enable=$2
7772 ac_flags=$3
7773 ac_implib=${4:-$ac_name}
7774 ac_file=$ac_dir/lib$ac_implib
7775 ac_dll=$ac_name
7776 ac_deps="include"
7777 ac_implibflags=""
7779 if test "x$enable_tools" = xno; then :
7781 else
7782 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7784 case $ac_name in
7785 *.*16) ac_implibflags=" -m16" ;;
7786 *.*) ;;
7787 *) ac_dll=$ac_dll.dll ;;
7788 esac
7790 ac_clean=
7791 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7792 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7794 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7795 if test "$ac_enable" != enable_win16
7796 then
7797 wine_fn_clean_rules $ac_clean
7798 wine_fn_append_file SUBDIRS $ac_dir
7799 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7800 else
7801 wine_fn_disabled_rules $ac_clean
7802 return
7804 else
7805 wine_fn_all_rules
7806 wine_fn_clean_rules $ac_clean
7807 wine_fn_append_rule \
7808 "$ac_dir: __builddeps__
7809 manpages htmlpages sgmlpages xmlpages::
7810 @cd $ac_dir && \$(MAKE) \$@
7811 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7812 install install-lib:: $ac_dir/install-lib
7813 __uninstall__: $ac_dir/uninstall"
7814 if test -n "$DLLEXT"
7815 then
7816 wine_fn_append_rule \
7817 "$ac_dir/install-lib:: $ac_dir
7818 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7819 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7820 $ac_dir/uninstall::
7821 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7822 else
7823 wine_fn_append_rule \
7824 "$ac_dir/install-lib:: $ac_dir
7825 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7826 $ac_dir/uninstall::
7827 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7831 if wine_fn_has_flag staticimplib
7832 then
7833 wine_fn_append_rule \
7834 "__builddeps__: $ac_file.a
7835 $ac_file.a $ac_file.cross.a: $ac_deps
7836 $ac_file.a: dummy
7837 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7838 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7839 $ac_dir/install-dev:: $ac_file.a
7840 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7841 $ac_dir/uninstall::
7842 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7843 install install-dev:: $ac_dir/install-dev
7844 __uninstall__: $ac_dir/uninstall"
7846 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7847 then
7848 wine_fn_append_rule \
7849 "__builddeps__: $ac_file.cross.a
7850 $ac_file.cross.a: dummy
7851 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7854 elif wine_fn_has_flag implib
7855 then
7856 wine_fn_append_rule \
7857 "__builddeps__: $ac_file.$IMPLIBEXT
7858 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7859 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7860 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7861 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7862 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7863 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7864 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7865 $ac_dir/uninstall::
7866 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7867 install install-dev:: $ac_dir/install-dev
7868 __uninstall__: $ac_dir/uninstall"
7869 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7870 then
7871 wine_fn_append_rule \
7872 "__builddeps__: $ac_file.cross.a
7873 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7874 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7879 wine_fn_config_program ()
7881 ac_name=$1
7882 ac_dir=programs/$ac_name
7883 ac_enable=$2
7884 ac_flags=$3
7885 ac_program=$ac_name
7887 case $ac_name in
7888 *.*) ;;
7889 *) ac_program=$ac_program.exe ;;
7890 esac
7892 ac_clean=
7893 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7894 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7896 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7897 wine_fn_disabled_rules $ac_clean; return
7900 wine_fn_all_rules
7901 wine_fn_clean_rules $ac_clean
7902 wine_fn_append_rule "$ac_dir: __builddeps__"
7904 wine_fn_has_flag install || return
7905 wine_fn_append_rule \
7906 ".PHONY: $ac_dir/install $ac_dir/uninstall
7907 install install-lib:: $ac_dir/install
7908 __uninstall__: $ac_dir/uninstall"
7910 if test -n "$DLLEXT"
7911 then
7912 wine_fn_append_rule \
7913 "$ac_dir/install:: $ac_dir
7914 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7915 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7916 $ac_dir/uninstall::
7917 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7919 if test -z "$with_wine64" && wine_fn_has_flag installbin
7920 then
7921 wine_fn_append_rule \
7922 "$ac_dir/install:: __tooldeps__
7923 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7924 $ac_dir/uninstall::
7925 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7927 else
7928 wine_fn_append_rule \
7929 "$ac_dir/install:: $ac_dir
7930 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7931 $ac_dir/uninstall::
7932 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7935 if test -z "$with_wine64" && wine_fn_has_flag manpage
7936 then
7937 wine_fn_append_rule \
7938 "$ac_dir/install:: $ac_dir
7939 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7940 $ac_dir/uninstall::
7941 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7945 wine_fn_config_test ()
7947 ac_dir=$1
7948 ac_name=$2
7949 ac_flags=$3
7951 ac_clean=
7952 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7953 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7955 if test "x$enable_tests" = xno; then :
7956 wine_fn_disabled_rules $ac_clean; return
7959 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7960 wine_fn_all_rules
7961 wine_fn_clean_rules $ac_clean
7963 wine_fn_append_rule \
7964 "$ac_dir: __builddeps__
7965 programs/winetest: $ac_dir
7966 check test: $ac_dir/test
7967 .PHONY: $ac_dir/test
7968 $ac_dir/test: dummy
7969 @cd $ac_dir && \$(MAKE) test
7970 testclean::
7971 \$(RM) $ac_dir/*.ok"
7973 if test -n "$CROSSTARGET"
7974 then
7975 wine_fn_append_rule \
7976 "crosstest: $ac_dir/crosstest
7977 .PHONY: $ac_dir/crosstest
7978 $ac_dir/crosstest: __builddeps__ dummy
7979 @cd $ac_dir && \$(MAKE) crosstest"
7983 wine_fn_config_tool ()
7985 ac_dir=$1
7986 ac_flags=$2
7987 if test "x$enable_tools" = xno; then :
7988 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7991 wine_fn_all_rules
7992 wine_fn_install_rules
7993 wine_fn_clean_rules
7995 wine_fn_append_rule "__tooldeps__: $ac_dir"
7996 wine_fn_append_rule "$ac_dir: libs/port"
7997 case $ac_dir in
7998 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7999 esac
8002 wine_fn_config_symlink ()
8004 ac_linkdir=
8005 if test "x$1" = "x-d"
8006 then
8007 ac_linkdir=$2
8008 shift; shift
8010 ac_links=$@
8011 wine_fn_append_rule \
8012 "$ac_links:
8013 @./config.status \$@"
8014 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8015 test -n "$ac_linkdir" || return
8016 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
8019 wine_binary="wine"
8020 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8021 WINELOADER_PROGRAMS="$wine_binary"
8023 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8025 case $host_os in
8026 cygwin*|mingw32*)
8027 if test -n "$ac_tool_prefix"; then
8028 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8029 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8031 $as_echo_n "checking for $ac_word... " >&6; }
8032 if ${ac_cv_prog_DLLTOOL+:} false; then :
8033 $as_echo_n "(cached) " >&6
8034 else
8035 if test -n "$DLLTOOL"; then
8036 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8037 else
8038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8039 for as_dir in $PATH
8041 IFS=$as_save_IFS
8042 test -z "$as_dir" && as_dir=.
8043 for ac_exec_ext in '' $ac_executable_extensions; do
8044 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8045 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8047 break 2
8049 done
8050 done
8051 IFS=$as_save_IFS
8055 DLLTOOL=$ac_cv_prog_DLLTOOL
8056 if test -n "$DLLTOOL"; then
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8058 $as_echo "$DLLTOOL" >&6; }
8059 else
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8061 $as_echo "no" >&6; }
8066 if test -z "$ac_cv_prog_DLLTOOL"; then
8067 ac_ct_DLLTOOL=$DLLTOOL
8068 # Extract the first word of "dlltool", so it can be a program name with args.
8069 set dummy dlltool; ac_word=$2
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8071 $as_echo_n "checking for $ac_word... " >&6; }
8072 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8073 $as_echo_n "(cached) " >&6
8074 else
8075 if test -n "$ac_ct_DLLTOOL"; then
8076 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8077 else
8078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8079 for as_dir in $PATH
8081 IFS=$as_save_IFS
8082 test -z "$as_dir" && as_dir=.
8083 for ac_exec_ext in '' $ac_executable_extensions; do
8084 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8085 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8087 break 2
8089 done
8090 done
8091 IFS=$as_save_IFS
8095 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8096 if test -n "$ac_ct_DLLTOOL"; then
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8098 $as_echo "$ac_ct_DLLTOOL" >&6; }
8099 else
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8101 $as_echo "no" >&6; }
8104 if test "x$ac_ct_DLLTOOL" = x; then
8105 DLLTOOL="false"
8106 else
8107 case $cross_compiling:$ac_tool_warned in
8108 yes:)
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8110 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8111 ac_tool_warned=yes ;;
8112 esac
8113 DLLTOOL=$ac_ct_DLLTOOL
8115 else
8116 DLLTOOL="$ac_cv_prog_DLLTOOL"
8119 LIBEXT="dll"
8120 DLLEXT=""
8121 IMPLIBEXT="a"
8122 enable_iphlpapi=${enable_iphlpapi:-no}
8123 enable_kernel32=${enable_kernel32:-no}
8124 enable_msvcrt=${enable_msvcrt:-no}
8125 enable_ntdll=${enable_ntdll:-no}
8126 enable_ws2_32=${enable_ws2_32:-no}
8127 enable_loader=${enable_loader:-no}
8128 enable_server=${enable_server:-no}
8129 with_x=${with_x:-no}
8130 with_pthread=${with_pthread:-no}
8132 crtlibs=""
8133 case $host_os in
8134 mingw32*)
8135 crtlibs="-lmsvcrt"
8136 SOCKET_LIBS="-lws2_32"
8138 esac
8140 LIBWINE_SHAREDLIB="libwine.dll"
8142 LIBWINE_IMPORTLIB="libwine.a"
8144 LIBWINE_INSTALL_LIB="libwine.dll"
8146 LIBWINE_INSTALL_DEV="libwine.a"
8148 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8150 LIBWINE_DEPENDS="wine.def"
8154 darwin*|macosx*)
8155 for ac_header in libunwind.h
8156 do :
8157 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8158 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8159 cat >>confdefs.h <<_ACEOF
8160 #define HAVE_LIBUNWIND_H 1
8161 _ACEOF
8165 done
8167 LIBEXT="dylib"
8168 DLLFLAGS="$DLLFLAGS -fPIC"
8169 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8170 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8171 COREFOUNDATION_LIBS="-framework CoreFoundation"
8173 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8175 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8177 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8179 CORESERVICES_LIBS="-framework CoreServices"
8181 APPKIT_LIBS="-framework AppKit"
8183 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8185 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8186 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8187 $as_echo_n "(cached) " >&6
8188 else
8189 ac_wine_try_cflags_saved=$CFLAGS
8190 CFLAGS="$CFLAGS -Wl,-no_pie"
8191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8192 /* end confdefs.h. */
8193 int main(int argc, char **argv) { return 0; }
8194 _ACEOF
8195 if ac_fn_c_try_link "$LINENO"; then :
8196 ac_cv_cflags__Wl__no_pie=yes
8197 else
8198 ac_cv_cflags__Wl__no_pie=no
8200 rm -f core conftest.err conftest.$ac_objext \
8201 conftest$ac_exeext conftest.$ac_ext
8202 CFLAGS=$ac_wine_try_cflags_saved
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8205 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8206 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8207 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8209 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8210 then
8211 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8214 if test "$ac_cv_header_Security_Security_h" = "yes"
8215 then
8216 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8218 ac_save_LIBS="$LIBS"
8219 LIBS="$LIBS $SECURITY_LIBS"
8220 for ac_func in SSLCopyPeerCertificates
8221 do :
8222 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8223 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8224 cat >>confdefs.h <<_ACEOF
8225 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8226 _ACEOF
8229 done
8231 LIBS="$ac_save_LIBS"
8232 with_gnutls=${with_gnutls:-no}
8234 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8235 then
8236 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8237 then
8238 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8240 else
8241 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8244 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8245 ac_save_LIBS="$LIBS"
8246 LIBS="$LIBS $COREAUDIO_LIBS"
8247 for ac_func in AUGraphAddNode
8248 do :
8249 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8250 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8251 cat >>confdefs.h <<_ACEOF
8252 #define HAVE_AUGRAPHADDNODE 1
8253 _ACEOF
8256 done
8258 LIBS="$ac_save_LIBS"
8260 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8261 then
8262 OPENAL_LIBS="-framework OpenAL"
8265 cat >>confdefs.h <<_ACEOF
8266 #define HAVE_OPENAL 1
8267 _ACEOF
8269 ac_cv_lib_openal=yes
8271 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8272 then
8273 OPENCL_LIBS="-framework OpenCL"
8275 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8277 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8278 then
8279 ac_save_LIBS="$LIBS"
8280 LIBS="$LIBS $IOKIT_LIBS"
8281 for ac_func in IOHIDManagerCreate
8282 do :
8283 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8284 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8285 cat >>confdefs.h <<_ACEOF
8286 #define HAVE_IOHIDMANAGERCREATE 1
8287 _ACEOF
8290 done
8292 LIBS="$ac_save_LIBS"
8294 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8295 then
8296 ac_save_LIBS="$LIBS"
8297 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8299 $as_echo_n "checking for the QuickTime framework... " >&6; }
8300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8301 /* end confdefs.h. */
8302 #include <QuickTime/ImageCompression.h>
8304 main ()
8306 CodecManagerVersion(NULL);
8308 return 0;
8310 _ACEOF
8311 if ac_fn_c_try_link "$LINENO"; then :
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8313 $as_echo "yes" >&6; }
8314 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8316 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8317 else
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8319 $as_echo "no" >&6; }
8320 ac_cv_header_QuickTime_ImageCompression_h=no
8322 rm -f core conftest.err conftest.$ac_objext \
8323 conftest$ac_exeext conftest.$ac_ext
8324 LIBS="$ac_save_LIBS"
8326 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8327 then
8328 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8330 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8331 then
8332 CARBON_LIBS="-framework Carbon"
8336 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8337 then
8338 ac_save_LIBS="$LIBS"
8339 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8340 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8341 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8342 enable_winemac_drv=${enable_winemac_drv:-yes}
8345 LIBS="$ac_save_LIBS"
8348 if test "x$enable_win16" = "xyes"
8349 then
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8351 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8352 if test "$cross_compiling" = yes; then :
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8354 $as_echo "cross-compiling, assuming yes" >&6; }
8355 else
8356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8357 /* end confdefs.h. */
8358 asm(".text\n"
8359 "bad:\tnop;nop\n"
8360 "good:\tnop;nop\n\t"
8361 ".globl _testfunc\n"
8362 "_testfunc:\tcallw good");
8363 extern void testfunc();
8365 main ()
8367 unsigned short *p = (unsigned short *)testfunc;
8368 return p[0] != 0xe866 || p[1] != 0xfffa
8370 return 0;
8372 _ACEOF
8373 if ac_fn_c_try_run "$LINENO"; then :
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8375 $as_echo "yes" >&6; }
8376 else
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8378 $as_echo "no" >&6; }
8379 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
8381 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8382 conftest.$ac_objext conftest.beam conftest.$ac_ext
8387 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8389 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8391 LIBWINE_INSTALL_DEV="libwine.dylib"
8393 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8395 WINELOADER_DEPENDS="wine_info.plist"
8399 linux-android*)
8400 DLLFLAGS="$DLLFLAGS -fPIC"
8401 LDEXECFLAGS="-Wl,-pie"
8402 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8404 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8405 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8406 $as_echo_n "(cached) " >&6
8407 else
8408 ac_wine_try_cflags_saved=$CFLAGS
8409 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8411 /* end confdefs.h. */
8412 int main(int argc, char **argv) { return 0; }
8413 _ACEOF
8414 if ac_fn_c_try_link "$LINENO"; then :
8415 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8416 else
8417 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8419 rm -f core conftest.err conftest.$ac_objext \
8420 conftest$ac_exeext conftest.$ac_ext
8421 CFLAGS=$ac_wine_try_cflags_saved
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8424 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8425 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8426 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8428 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8430 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8431 if eval \${$as_ac_var+:} false; then :
8432 $as_echo_n "(cached) " >&6
8433 else
8434 ac_wine_try_cflags_saved=$CFLAGS
8435 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8437 /* end confdefs.h. */
8438 int main(int argc, char **argv) { return 0; }
8439 _ACEOF
8440 if ac_fn_c_try_link "$LINENO"; then :
8441 eval "$as_ac_var=yes"
8442 else
8443 eval "$as_ac_var=no"
8445 rm -f core conftest.err conftest.$ac_objext \
8446 conftest$ac_exeext conftest.$ac_ext
8447 CFLAGS=$ac_wine_try_cflags_saved
8449 eval ac_res=\$$as_ac_var
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8451 $as_echo "$ac_res" >&6; }
8452 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8453 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8454 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8455 else
8456 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8458 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8459 if eval \${$as_ac_var+:} false; then :
8460 $as_echo_n "(cached) " >&6
8461 else
8462 ac_wine_try_cflags_saved=$CFLAGS
8463 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8465 /* end confdefs.h. */
8466 int main(int argc, char **argv) { return 0; }
8467 _ACEOF
8468 if ac_fn_c_try_link "$LINENO"; then :
8469 eval "$as_ac_var=yes"
8470 else
8471 eval "$as_ac_var=no"
8473 rm -f core conftest.err conftest.$ac_objext \
8474 conftest$ac_exeext conftest.$ac_ext
8475 CFLAGS=$ac_wine_try_cflags_saved
8477 eval ac_res=\$$as_ac_var
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8479 $as_echo "$ac_res" >&6; }
8480 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8481 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8482 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8486 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8487 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8488 $as_echo_n "(cached) " >&6
8489 else
8490 ac_wine_try_cflags_saved=$CFLAGS
8491 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8493 /* end confdefs.h. */
8494 int main(int argc, char **argv) { return 0; }
8495 _ACEOF
8496 if ac_fn_c_try_link "$LINENO"; then :
8497 ac_cv_cflags__Wl___enable_new_dtags=yes
8498 else
8499 ac_cv_cflags__Wl___enable_new_dtags=no
8501 rm -f core conftest.err conftest.$ac_objext \
8502 conftest$ac_exeext conftest.$ac_ext
8503 CFLAGS=$ac_wine_try_cflags_saved
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8506 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8507 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8508 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8511 LIBWINE_SHAREDLIB="libwine.so"
8513 LIBWINE_INSTALL_LIB="libwine.so"
8515 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8519 $as_echo_n "checking for -lEGL... " >&6; }
8520 if ${ac_cv_lib_soname_EGL+:} false; then :
8521 $as_echo_n "(cached) " >&6
8522 else
8523 ac_check_soname_save_LIBS=$LIBS
8524 LIBS="-lEGL $LIBS"
8525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8526 /* end confdefs.h. */
8528 /* Override any GCC internal prototype to avoid an error.
8529 Use char because int might match the return type of a GCC
8530 builtin and then its argument prototype would still apply. */
8531 #ifdef __cplusplus
8532 extern "C"
8533 #endif
8534 char eglGetProcAddress ();
8536 main ()
8538 return eglGetProcAddress ();
8540 return 0;
8542 _ACEOF
8543 if ac_fn_c_try_link "$LINENO"; then :
8544 case "$LIBEXT" in
8545 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8546 dylib) ac_cv_lib_soname_EGL=`$OTOOL -L conftest$ac_exeext | grep "libEGL\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libEGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
8547 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8548 if ${ac_cv_lib_soname_EGL:+false} :; then :
8549 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8550 fi ;;
8551 esac
8553 rm -f core conftest.err conftest.$ac_objext \
8554 conftest$ac_exeext conftest.$ac_ext
8555 LIBS=$ac_check_soname_save_LIBS
8557 if ${ac_cv_lib_soname_EGL:+false} :; then :
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8559 $as_echo "not found" >&6; }
8561 else
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8563 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8565 cat >>confdefs.h <<_ACEOF
8566 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8567 _ACEOF
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8572 $as_echo_n "checking for -lGLESv2... " >&6; }
8573 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8574 $as_echo_n "(cached) " >&6
8575 else
8576 ac_check_soname_save_LIBS=$LIBS
8577 LIBS="-lGLESv2 $LIBS"
8578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8579 /* end confdefs.h. */
8581 /* Override any GCC internal prototype to avoid an error.
8582 Use char because int might match the return type of a GCC
8583 builtin and then its argument prototype would still apply. */
8584 #ifdef __cplusplus
8585 extern "C"
8586 #endif
8587 char glFlush ();
8589 main ()
8591 return glFlush ();
8593 return 0;
8595 _ACEOF
8596 if ac_fn_c_try_link "$LINENO"; then :
8597 case "$LIBEXT" in
8598 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8599 dylib) ac_cv_lib_soname_GLESv2=`$OTOOL -L conftest$ac_exeext | grep "libGLESv2\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLESv2\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
8600 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8601 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8602 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8603 fi ;;
8604 esac
8606 rm -f core conftest.err conftest.$ac_objext \
8607 conftest$ac_exeext conftest.$ac_ext
8608 LIBS=$ac_check_soname_save_LIBS
8610 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8612 $as_echo "not found" >&6; }
8614 else
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8616 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8618 cat >>confdefs.h <<_ACEOF
8619 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8620 _ACEOF
8625 if test "x$exec_prefix" = xNONE
8626 then
8627 case $host_cpu in
8628 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8629 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8630 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8631 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8632 esac
8637 DLLFLAGS="$DLLFLAGS -fPIC"
8638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8639 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8640 if ${ac_cv_c_dll_gnuelf+:} false; then :
8641 $as_echo_n "(cached) " >&6
8642 else
8643 ac_wine_try_cflags_saved=$CFLAGS
8644 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8646 /* end confdefs.h. */
8647 void myfunc() {}
8648 _ACEOF
8649 if ac_fn_c_try_link "$LINENO"; then :
8650 ac_cv_c_dll_gnuelf="yes"
8651 else
8652 ac_cv_c_dll_gnuelf="no"
8654 rm -f core conftest.err conftest.$ac_objext \
8655 conftest$ac_exeext conftest.$ac_ext
8656 CFLAGS=$ac_wine_try_cflags_saved
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8659 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8660 if test "$ac_cv_c_dll_gnuelf" = "yes"
8661 then
8662 LIBWINE_LDFLAGS="-shared"
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8664 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8665 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8666 $as_echo_n "(cached) " >&6
8667 else
8668 ac_wine_try_cflags_saved=$CFLAGS
8669 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8671 /* end confdefs.h. */
8672 int main(int argc, char **argv) { return 0; }
8673 _ACEOF
8674 if ac_fn_c_try_link "$LINENO"; then :
8675 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8676 else
8677 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8679 rm -f core conftest.err conftest.$ac_objext \
8680 conftest$ac_exeext conftest.$ac_ext
8681 CFLAGS=$ac_wine_try_cflags_saved
8683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8684 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8685 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8686 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8687 else
8688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8689 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8690 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8691 $as_echo_n "(cached) " >&6
8692 else
8693 ac_wine_try_cflags_saved=$CFLAGS
8694 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8696 /* end confdefs.h. */
8697 int main(int argc, char **argv) { return 0; }
8698 _ACEOF
8699 if ac_fn_c_try_link "$LINENO"; then :
8700 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8701 else
8702 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8704 rm -f core conftest.err conftest.$ac_objext \
8705 conftest$ac_exeext conftest.$ac_ext
8706 CFLAGS=$ac_wine_try_cflags_saved
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8709 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8710 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8711 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8715 echo '{ global: *; };' >conftest.map
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8717 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8718 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8719 $as_echo_n "(cached) " >&6
8720 else
8721 ac_wine_try_cflags_saved=$CFLAGS
8722 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8724 /* end confdefs.h. */
8725 int main(int argc, char **argv) { return 0; }
8726 _ACEOF
8727 if ac_fn_c_try_link "$LINENO"; then :
8728 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8729 else
8730 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8732 rm -f core conftest.err conftest.$ac_objext \
8733 conftest$ac_exeext conftest.$ac_ext
8734 CFLAGS=$ac_wine_try_cflags_saved
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8737 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8738 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8739 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8741 rm -f conftest.map
8743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8744 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8745 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8746 $as_echo_n "(cached) " >&6
8747 else
8748 ac_wine_try_cflags_saved=$CFLAGS
8749 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8751 /* end confdefs.h. */
8752 int main(int argc, char **argv) { return 0; }
8753 _ACEOF
8754 if ac_fn_c_try_link "$LINENO"; then :
8755 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8756 else
8757 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8759 rm -f core conftest.err conftest.$ac_objext \
8760 conftest$ac_exeext conftest.$ac_ext
8761 CFLAGS=$ac_wine_try_cflags_saved
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8764 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8765 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8766 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8769 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8771 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8772 if eval \${$as_ac_var+:} false; then :
8773 $as_echo_n "(cached) " >&6
8774 else
8775 ac_wine_try_cflags_saved=$CFLAGS
8776 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8778 /* end confdefs.h. */
8779 int main(int argc, char **argv) { return 0; }
8780 _ACEOF
8781 if ac_fn_c_try_link "$LINENO"; then :
8782 eval "$as_ac_var=yes"
8783 else
8784 eval "$as_ac_var=no"
8786 rm -f core conftest.err conftest.$ac_objext \
8787 conftest$ac_exeext conftest.$ac_ext
8788 CFLAGS=$ac_wine_try_cflags_saved
8790 eval ac_res=\$$as_ac_var
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8792 $as_echo "$ac_res" >&6; }
8793 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8794 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8795 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8796 else
8797 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8799 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8800 if eval \${$as_ac_var+:} false; then :
8801 $as_echo_n "(cached) " >&6
8802 else
8803 ac_wine_try_cflags_saved=$CFLAGS
8804 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8806 /* end confdefs.h. */
8807 int main(int argc, char **argv) { return 0; }
8808 _ACEOF
8809 if ac_fn_c_try_link "$LINENO"; then :
8810 eval "$as_ac_var=yes"
8811 else
8812 eval "$as_ac_var=no"
8814 rm -f core conftest.err conftest.$ac_objext \
8815 conftest$ac_exeext conftest.$ac_ext
8816 CFLAGS=$ac_wine_try_cflags_saved
8818 eval ac_res=\$$as_ac_var
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8820 $as_echo "$ac_res" >&6; }
8821 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8822 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8823 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8828 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8829 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8830 $as_echo_n "(cached) " >&6
8831 else
8832 ac_wine_try_cflags_saved=$CFLAGS
8833 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8835 /* end confdefs.h. */
8836 int main(int argc, char **argv) { return 0; }
8837 _ACEOF
8838 if ac_fn_c_try_link "$LINENO"; then :
8839 ac_cv_cflags__Wl___enable_new_dtags=yes
8840 else
8841 ac_cv_cflags__Wl___enable_new_dtags=no
8843 rm -f core conftest.err conftest.$ac_objext \
8844 conftest$ac_exeext conftest.$ac_ext
8845 CFLAGS=$ac_wine_try_cflags_saved
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8848 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8849 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8850 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8853 case $host_cpu in
8854 *i[3456789]86* | x86_64)
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8856 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8857 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8858 $as_echo_n "(cached) " >&6
8859 else
8860 ac_wine_try_cflags_saved=$CFLAGS
8861 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8863 /* end confdefs.h. */
8864 int main(int argc, char **argv) { return 0; }
8865 _ACEOF
8866 if ac_fn_c_try_link "$LINENO"; then :
8867 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8868 else
8869 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8871 rm -f core conftest.err conftest.$ac_objext \
8872 conftest$ac_exeext conftest.$ac_ext
8873 CFLAGS=$ac_wine_try_cflags_saved
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8876 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8877 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8878 case $host_os in
8879 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8880 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8881 esac
8882 else
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8884 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8885 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8886 $as_echo_n "(cached) " >&6
8887 else
8888 ac_wine_try_cflags_saved=$CFLAGS
8889 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8891 /* end confdefs.h. */
8892 int main(int argc, char **argv) { return 0; }
8893 _ACEOF
8894 if ac_fn_c_try_link "$LINENO"; then :
8895 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8896 else
8897 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8899 rm -f core conftest.err conftest.$ac_objext \
8900 conftest$ac_exeext conftest.$ac_ext
8901 CFLAGS=$ac_wine_try_cflags_saved
8903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8904 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8905 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8906 case $host_os in
8907 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8908 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8909 esac
8911 # Extract the first word of "prelink", so it can be a program name with args.
8912 set dummy prelink; ac_word=$2
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8914 $as_echo_n "checking for $ac_word... " >&6; }
8915 if ${ac_cv_path_PRELINK+:} false; then :
8916 $as_echo_n "(cached) " >&6
8917 else
8918 case $PRELINK in
8919 [\\/]* | ?:[\\/]*)
8920 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8924 for as_dir in /sbin /usr/sbin $PATH
8926 IFS=$as_save_IFS
8927 test -z "$as_dir" && as_dir=.
8928 for ac_exec_ext in '' $ac_executable_extensions; do
8929 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8930 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8932 break 2
8934 done
8935 done
8936 IFS=$as_save_IFS
8938 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8940 esac
8942 PRELINK=$ac_cv_path_PRELINK
8943 if test -n "$PRELINK"; then
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8945 $as_echo "$PRELINK" >&6; }
8946 else
8947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8948 $as_echo "no" >&6; }
8952 if test "x$PRELINK" = xfalse
8953 then
8954 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8958 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8959 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8960 $as_echo_n "(cached) " >&6
8961 else
8962 ac_wine_try_cflags_saved=$CFLAGS
8963 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8965 /* end confdefs.h. */
8966 int main(int argc, char **argv) { return 0; }
8967 _ACEOF
8968 if ac_fn_c_try_link "$LINENO"; then :
8969 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8970 else
8971 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8973 rm -f core conftest.err conftest.$ac_objext \
8974 conftest$ac_exeext conftest.$ac_ext
8975 CFLAGS=$ac_wine_try_cflags_saved
8977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8978 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8979 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8980 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8983 esac
8985 else
8986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8987 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8988 if ${ac_cv_c_dll_unixware+:} false; then :
8989 $as_echo_n "(cached) " >&6
8990 else
8991 ac_wine_try_cflags_saved=$CFLAGS
8992 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8994 /* end confdefs.h. */
8995 void myfunc() {}
8996 _ACEOF
8997 if ac_fn_c_try_link "$LINENO"; then :
8998 ac_cv_c_dll_unixware="yes"
8999 else
9000 ac_cv_c_dll_unixware="no"
9002 rm -f core conftest.err conftest.$ac_objext \
9003 conftest$ac_exeext conftest.$ac_ext
9004 CFLAGS=$ac_wine_try_cflags_saved
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9007 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9008 if test "$ac_cv_c_dll_unixware" = "yes"
9009 then
9010 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9013 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9015 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
9017 LIBWINE_INSTALL_DEV="libwine.so"
9019 LIBWINE_DEPENDS="wine.map"
9022 esac
9024 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9025 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9026 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9027 enable_winemac_drv=${enable_winemac_drv:-no}
9028 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9030 CROSSTARGET=""
9032 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9033 then
9034 case "$host_cpu" in
9035 arm*)
9036 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9037 i[3456789]86*)
9038 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
9039 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9040 mingw32-gcc" ;;
9041 x86_64)
9042 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
9043 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9045 ac_prefix_list="" ;;
9046 esac
9047 for ac_prog in $ac_prefix_list
9049 # Extract the first word of "$ac_prog", so it can be a program name with args.
9050 set dummy $ac_prog; ac_word=$2
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9052 $as_echo_n "checking for $ac_word... " >&6; }
9053 if ${ac_cv_prog_CROSSCC+:} false; then :
9054 $as_echo_n "(cached) " >&6
9055 else
9056 if test -n "$CROSSCC"; then
9057 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9058 else
9059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9060 for as_dir in $PATH
9062 IFS=$as_save_IFS
9063 test -z "$as_dir" && as_dir=.
9064 for ac_exec_ext in '' $ac_executable_extensions; do
9065 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9066 ac_cv_prog_CROSSCC="$ac_prog"
9067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9068 break 2
9070 done
9071 done
9072 IFS=$as_save_IFS
9076 CROSSCC=$ac_cv_prog_CROSSCC
9077 if test -n "$CROSSCC"; then
9078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9079 $as_echo "$CROSSCC" >&6; }
9080 else
9081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9082 $as_echo "no" >&6; }
9086 test -n "$CROSSCC" && break
9087 done
9088 test -n "$CROSSCC" || CROSSCC="false"
9090 if test "$CROSSCC" != "false"
9091 then
9092 ac_save_CC="$CC"
9093 CC="$CROSSCC"
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9095 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9097 /* end confdefs.h. */
9100 main ()
9104 return 0;
9106 _ACEOF
9107 if ac_fn_c_try_compile "$LINENO"; then :
9108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9109 $as_echo "yes" >&6; }
9110 set x $CROSSCC
9111 shift
9112 while test $# -ge 1
9114 case "$1" in
9115 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9116 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9117 esac
9118 shift
9119 done
9120 else
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9122 $as_echo "no" >&6; }
9124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9125 CC="$ac_save_CC"
9126 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9132 if test "$ac_cv_header_pthread_h" = "yes"
9133 then
9134 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9135 if test "x$ac_cv_func_pthread_create" = xyes; then :
9137 else
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9139 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9140 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9141 $as_echo_n "(cached) " >&6
9142 else
9143 ac_check_lib_save_LIBS=$LIBS
9144 LIBS="-lpthread $LIBS"
9145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9146 /* end confdefs.h. */
9148 /* Override any GCC internal prototype to avoid an error.
9149 Use char because int might match the return type of a GCC
9150 builtin and then its argument prototype would still apply. */
9151 #ifdef __cplusplus
9152 extern "C"
9153 #endif
9154 char pthread_create ();
9156 main ()
9158 return pthread_create ();
9160 return 0;
9162 _ACEOF
9163 if ac_fn_c_try_link "$LINENO"; then :
9164 ac_cv_lib_pthread_pthread_create=yes
9165 else
9166 ac_cv_lib_pthread_pthread_create=no
9168 rm -f core conftest.err conftest.$ac_objext \
9169 conftest$ac_exeext conftest.$ac_ext
9170 LIBS=$ac_check_lib_save_LIBS
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9173 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9174 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9175 PTHREAD_LIBS="-lpthread"
9182 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9183 case "x$with_pthread" in
9184 xno) ;;
9185 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9186 Wine cannot support threads without libpthread.
9187 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9188 esac
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9194 $as_echo_n "checking for X... " >&6; }
9197 # Check whether --with-x was given.
9198 if test "${with_x+set}" = set; then :
9199 withval=$with_x;
9202 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9203 if test "x$with_x" = xno; then
9204 # The user explicitly disabled X.
9205 have_x=disabled
9206 else
9207 case $x_includes,$x_libraries in #(
9208 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9209 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9210 $as_echo_n "(cached) " >&6
9211 else
9212 # One or both of the vars are not set, and there is no cached value.
9213 ac_x_includes=no ac_x_libraries=no
9214 rm -f -r conftest.dir
9215 if mkdir conftest.dir; then
9216 cd conftest.dir
9217 cat >Imakefile <<'_ACEOF'
9218 incroot:
9219 @echo incroot='${INCROOT}'
9220 usrlibdir:
9221 @echo usrlibdir='${USRLIBDIR}'
9222 libdir:
9223 @echo libdir='${LIBDIR}'
9224 _ACEOF
9225 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9226 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9227 for ac_var in incroot usrlibdir libdir; do
9228 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9229 done
9230 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9231 for ac_extension in a so sl dylib la dll; do
9232 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9233 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9234 ac_im_usrlibdir=$ac_im_libdir; break
9236 done
9237 # Screen out bogus values from the imake configuration. They are
9238 # bogus both because they are the default anyway, and because
9239 # using them would break gcc on systems where it needs fixed includes.
9240 case $ac_im_incroot in
9241 /usr/include) ac_x_includes= ;;
9242 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9243 esac
9244 case $ac_im_usrlibdir in
9245 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9246 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9247 esac
9249 cd ..
9250 rm -f -r conftest.dir
9253 # Standard set of common directories for X headers.
9254 # Check X11 before X11Rn because it is often a symlink to the current release.
9255 ac_x_header_dirs='
9256 /usr/X11/include
9257 /usr/X11R7/include
9258 /usr/X11R6/include
9259 /usr/X11R5/include
9260 /usr/X11R4/include
9262 /usr/include/X11
9263 /usr/include/X11R7
9264 /usr/include/X11R6
9265 /usr/include/X11R5
9266 /usr/include/X11R4
9268 /usr/local/X11/include
9269 /usr/local/X11R7/include
9270 /usr/local/X11R6/include
9271 /usr/local/X11R5/include
9272 /usr/local/X11R4/include
9274 /usr/local/include/X11
9275 /usr/local/include/X11R7
9276 /usr/local/include/X11R6
9277 /usr/local/include/X11R5
9278 /usr/local/include/X11R4
9280 /usr/X386/include
9281 /usr/x386/include
9282 /usr/XFree86/include/X11
9284 /usr/include
9285 /usr/local/include
9286 /usr/unsupported/include
9287 /usr/athena/include
9288 /usr/local/x11r5/include
9289 /usr/lpp/Xamples/include
9291 /usr/openwin/include
9292 /usr/openwin/share/include'
9294 if test "$ac_x_includes" = no; then
9295 # Guess where to find include files, by looking for Xlib.h.
9296 # First, try using that file with no special directory specified.
9297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9298 /* end confdefs.h. */
9299 #include <X11/Xlib.h>
9300 _ACEOF
9301 if ac_fn_c_try_cpp "$LINENO"; then :
9302 # We can compile using X headers with no special include directory.
9303 ac_x_includes=
9304 else
9305 for ac_dir in $ac_x_header_dirs; do
9306 if test -r "$ac_dir/X11/Xlib.h"; then
9307 ac_x_includes=$ac_dir
9308 break
9310 done
9312 rm -f conftest.err conftest.i conftest.$ac_ext
9313 fi # $ac_x_includes = no
9315 if test "$ac_x_libraries" = no; then
9316 # Check for the libraries.
9317 # See if we find them without any special options.
9318 # Don't add to $LIBS permanently.
9319 ac_save_LIBS=$LIBS
9320 LIBS="-lX11 $LIBS"
9321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9322 /* end confdefs.h. */
9323 #include <X11/Xlib.h>
9325 main ()
9327 XrmInitialize ()
9329 return 0;
9331 _ACEOF
9332 if ac_fn_c_try_link "$LINENO"; then :
9333 LIBS=$ac_save_LIBS
9334 # We can link X programs with no special library path.
9335 ac_x_libraries=
9336 else
9337 LIBS=$ac_save_LIBS
9338 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9340 # Don't even attempt the hair of trying to link an X program!
9341 for ac_extension in a so sl dylib la dll; do
9342 if test -r "$ac_dir/libX11.$ac_extension"; then
9343 ac_x_libraries=$ac_dir
9344 break 2
9346 done
9347 done
9349 rm -f core conftest.err conftest.$ac_objext \
9350 conftest$ac_exeext conftest.$ac_ext
9351 fi # $ac_x_libraries = no
9353 case $ac_x_includes,$ac_x_libraries in #(
9354 no,* | *,no | *\'*)
9355 # Didn't find X, or a directory has "'" in its name.
9356 ac_cv_have_x="have_x=no";; #(
9358 # Record where we found X for the cache.
9359 ac_cv_have_x="have_x=yes\
9360 ac_x_includes='$ac_x_includes'\
9361 ac_x_libraries='$ac_x_libraries'"
9362 esac
9364 ;; #(
9365 *) have_x=yes;;
9366 esac
9367 eval "$ac_cv_have_x"
9368 fi # $with_x != no
9370 if test "$have_x" != yes; then
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9372 $as_echo "$have_x" >&6; }
9373 no_x=yes
9374 else
9375 # If each of the values was on the command line, it overrides each guess.
9376 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9377 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9378 # Update the cache value to reflect the command line values.
9379 ac_cv_have_x="have_x=yes\
9380 ac_x_includes='$x_includes'\
9381 ac_x_libraries='$x_libraries'"
9382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9383 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9386 if test "$no_x" = yes; then
9387 # Not all programs may use this symbol, but it does not hurt to define it.
9389 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9391 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9392 else
9393 if test -n "$x_includes"; then
9394 X_CFLAGS="$X_CFLAGS -I$x_includes"
9397 # It would also be nice to do this for all -L options, not just this one.
9398 if test -n "$x_libraries"; then
9399 X_LIBS="$X_LIBS -L$x_libraries"
9400 # For Solaris; some versions of Sun CC require a space after -R and
9401 # others require no space. Words are not sufficient . . . .
9402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9403 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9404 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9405 ac_xsave_c_werror_flag=$ac_c_werror_flag
9406 ac_c_werror_flag=yes
9407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9408 /* end confdefs.h. */
9411 main ()
9415 return 0;
9417 _ACEOF
9418 if ac_fn_c_try_link "$LINENO"; then :
9419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9420 $as_echo "no" >&6; }
9421 X_LIBS="$X_LIBS -R$x_libraries"
9422 else
9423 LIBS="$ac_xsave_LIBS -R $x_libraries"
9424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9425 /* end confdefs.h. */
9428 main ()
9432 return 0;
9434 _ACEOF
9435 if ac_fn_c_try_link "$LINENO"; then :
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9437 $as_echo "yes" >&6; }
9438 X_LIBS="$X_LIBS -R $x_libraries"
9439 else
9440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9441 $as_echo "neither works" >&6; }
9443 rm -f core conftest.err conftest.$ac_objext \
9444 conftest$ac_exeext conftest.$ac_ext
9446 rm -f core conftest.err conftest.$ac_objext \
9447 conftest$ac_exeext conftest.$ac_ext
9448 ac_c_werror_flag=$ac_xsave_c_werror_flag
9449 LIBS=$ac_xsave_LIBS
9452 # Check for system-dependent libraries X programs must link with.
9453 # Do this before checking for the system-independent R6 libraries
9454 # (-lICE), since we may need -lsocket or whatever for X linking.
9456 if test "$ISC" = yes; then
9457 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9458 else
9459 # Martyn Johnson says this is needed for Ultrix, if the X
9460 # libraries were built with DECnet support. And Karl Berry says
9461 # the Alpha needs dnet_stub (dnet does not exist).
9462 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9464 /* end confdefs.h. */
9466 /* Override any GCC internal prototype to avoid an error.
9467 Use char because int might match the return type of a GCC
9468 builtin and then its argument prototype would still apply. */
9469 #ifdef __cplusplus
9470 extern "C"
9471 #endif
9472 char XOpenDisplay ();
9474 main ()
9476 return XOpenDisplay ();
9478 return 0;
9480 _ACEOF
9481 if ac_fn_c_try_link "$LINENO"; then :
9483 else
9484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9485 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9486 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9487 $as_echo_n "(cached) " >&6
9488 else
9489 ac_check_lib_save_LIBS=$LIBS
9490 LIBS="-ldnet $LIBS"
9491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9492 /* end confdefs.h. */
9494 /* Override any GCC internal prototype to avoid an error.
9495 Use char because int might match the return type of a GCC
9496 builtin and then its argument prototype would still apply. */
9497 #ifdef __cplusplus
9498 extern "C"
9499 #endif
9500 char dnet_ntoa ();
9502 main ()
9504 return dnet_ntoa ();
9506 return 0;
9508 _ACEOF
9509 if ac_fn_c_try_link "$LINENO"; then :
9510 ac_cv_lib_dnet_dnet_ntoa=yes
9511 else
9512 ac_cv_lib_dnet_dnet_ntoa=no
9514 rm -f core conftest.err conftest.$ac_objext \
9515 conftest$ac_exeext conftest.$ac_ext
9516 LIBS=$ac_check_lib_save_LIBS
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9519 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9520 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9521 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9524 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9526 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9527 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9528 $as_echo_n "(cached) " >&6
9529 else
9530 ac_check_lib_save_LIBS=$LIBS
9531 LIBS="-ldnet_stub $LIBS"
9532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9533 /* end confdefs.h. */
9535 /* Override any GCC internal prototype to avoid an error.
9536 Use char because int might match the return type of a GCC
9537 builtin and then its argument prototype would still apply. */
9538 #ifdef __cplusplus
9539 extern "C"
9540 #endif
9541 char dnet_ntoa ();
9543 main ()
9545 return dnet_ntoa ();
9547 return 0;
9549 _ACEOF
9550 if ac_fn_c_try_link "$LINENO"; then :
9551 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9552 else
9553 ac_cv_lib_dnet_stub_dnet_ntoa=no
9555 rm -f core conftest.err conftest.$ac_objext \
9556 conftest$ac_exeext conftest.$ac_ext
9557 LIBS=$ac_check_lib_save_LIBS
9559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9560 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9561 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9562 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9567 rm -f core conftest.err conftest.$ac_objext \
9568 conftest$ac_exeext conftest.$ac_ext
9569 LIBS="$ac_xsave_LIBS"
9571 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9572 # to get the SysV transport functions.
9573 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9574 # needs -lnsl.
9575 # The nsl library prevents programs from opening the X display
9576 # on Irix 5.2, according to T.E. Dickey.
9577 # The functions gethostbyname, getservbyname, and inet_addr are
9578 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9579 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9580 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9584 if test $ac_cv_func_gethostbyname = no; then
9585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9586 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9587 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9588 $as_echo_n "(cached) " >&6
9589 else
9590 ac_check_lib_save_LIBS=$LIBS
9591 LIBS="-lnsl $LIBS"
9592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9593 /* end confdefs.h. */
9595 /* Override any GCC internal prototype to avoid an error.
9596 Use char because int might match the return type of a GCC
9597 builtin and then its argument prototype would still apply. */
9598 #ifdef __cplusplus
9599 extern "C"
9600 #endif
9601 char gethostbyname ();
9603 main ()
9605 return gethostbyname ();
9607 return 0;
9609 _ACEOF
9610 if ac_fn_c_try_link "$LINENO"; then :
9611 ac_cv_lib_nsl_gethostbyname=yes
9612 else
9613 ac_cv_lib_nsl_gethostbyname=no
9615 rm -f core conftest.err conftest.$ac_objext \
9616 conftest$ac_exeext conftest.$ac_ext
9617 LIBS=$ac_check_lib_save_LIBS
9619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9620 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9621 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9622 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9625 if test $ac_cv_lib_nsl_gethostbyname = no; then
9626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9627 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9628 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9629 $as_echo_n "(cached) " >&6
9630 else
9631 ac_check_lib_save_LIBS=$LIBS
9632 LIBS="-lbsd $LIBS"
9633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9634 /* end confdefs.h. */
9636 /* Override any GCC internal prototype to avoid an error.
9637 Use char because int might match the return type of a GCC
9638 builtin and then its argument prototype would still apply. */
9639 #ifdef __cplusplus
9640 extern "C"
9641 #endif
9642 char gethostbyname ();
9644 main ()
9646 return gethostbyname ();
9648 return 0;
9650 _ACEOF
9651 if ac_fn_c_try_link "$LINENO"; then :
9652 ac_cv_lib_bsd_gethostbyname=yes
9653 else
9654 ac_cv_lib_bsd_gethostbyname=no
9656 rm -f core conftest.err conftest.$ac_objext \
9657 conftest$ac_exeext conftest.$ac_ext
9658 LIBS=$ac_check_lib_save_LIBS
9660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9661 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9662 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9663 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9669 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9670 # socket/setsockopt and other routines are undefined under SCO ODT
9671 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9672 # on later versions), says Simon Leinen: it contains gethostby*
9673 # variants that don't use the name server (or something). -lsocket
9674 # must be given before -lnsl if both are needed. We assume that
9675 # if connect needs -lnsl, so does gethostbyname.
9676 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9677 if test "x$ac_cv_func_connect" = xyes; then :
9681 if test $ac_cv_func_connect = no; then
9682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9683 $as_echo_n "checking for connect in -lsocket... " >&6; }
9684 if ${ac_cv_lib_socket_connect+:} false; then :
9685 $as_echo_n "(cached) " >&6
9686 else
9687 ac_check_lib_save_LIBS=$LIBS
9688 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9690 /* end confdefs.h. */
9692 /* Override any GCC internal prototype to avoid an error.
9693 Use char because int might match the return type of a GCC
9694 builtin and then its argument prototype would still apply. */
9695 #ifdef __cplusplus
9696 extern "C"
9697 #endif
9698 char connect ();
9700 main ()
9702 return connect ();
9704 return 0;
9706 _ACEOF
9707 if ac_fn_c_try_link "$LINENO"; then :
9708 ac_cv_lib_socket_connect=yes
9709 else
9710 ac_cv_lib_socket_connect=no
9712 rm -f core conftest.err conftest.$ac_objext \
9713 conftest$ac_exeext conftest.$ac_ext
9714 LIBS=$ac_check_lib_save_LIBS
9716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9717 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9718 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9719 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9724 # Guillermo Gomez says -lposix is necessary on A/UX.
9725 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9726 if test "x$ac_cv_func_remove" = xyes; then :
9730 if test $ac_cv_func_remove = no; then
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9732 $as_echo_n "checking for remove in -lposix... " >&6; }
9733 if ${ac_cv_lib_posix_remove+:} false; then :
9734 $as_echo_n "(cached) " >&6
9735 else
9736 ac_check_lib_save_LIBS=$LIBS
9737 LIBS="-lposix $LIBS"
9738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9739 /* end confdefs.h. */
9741 /* Override any GCC internal prototype to avoid an error.
9742 Use char because int might match the return type of a GCC
9743 builtin and then its argument prototype would still apply. */
9744 #ifdef __cplusplus
9745 extern "C"
9746 #endif
9747 char remove ();
9749 main ()
9751 return remove ();
9753 return 0;
9755 _ACEOF
9756 if ac_fn_c_try_link "$LINENO"; then :
9757 ac_cv_lib_posix_remove=yes
9758 else
9759 ac_cv_lib_posix_remove=no
9761 rm -f core conftest.err conftest.$ac_objext \
9762 conftest$ac_exeext conftest.$ac_ext
9763 LIBS=$ac_check_lib_save_LIBS
9765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9766 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9767 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9768 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9773 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9774 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9775 if test "x$ac_cv_func_shmat" = xyes; then :
9779 if test $ac_cv_func_shmat = no; then
9780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9781 $as_echo_n "checking for shmat in -lipc... " >&6; }
9782 if ${ac_cv_lib_ipc_shmat+:} false; then :
9783 $as_echo_n "(cached) " >&6
9784 else
9785 ac_check_lib_save_LIBS=$LIBS
9786 LIBS="-lipc $LIBS"
9787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9788 /* end confdefs.h. */
9790 /* Override any GCC internal prototype to avoid an error.
9791 Use char because int might match the return type of a GCC
9792 builtin and then its argument prototype would still apply. */
9793 #ifdef __cplusplus
9794 extern "C"
9795 #endif
9796 char shmat ();
9798 main ()
9800 return shmat ();
9802 return 0;
9804 _ACEOF
9805 if ac_fn_c_try_link "$LINENO"; then :
9806 ac_cv_lib_ipc_shmat=yes
9807 else
9808 ac_cv_lib_ipc_shmat=no
9810 rm -f core conftest.err conftest.$ac_objext \
9811 conftest$ac_exeext conftest.$ac_ext
9812 LIBS=$ac_check_lib_save_LIBS
9814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9815 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9816 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9817 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9823 # Check for libraries that X11R6 Xt/Xaw programs need.
9824 ac_save_LDFLAGS=$LDFLAGS
9825 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9826 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9827 # check for ICE first), but we must link in the order -lSM -lICE or
9828 # we get undefined symbols. So assume we have SM if we have ICE.
9829 # These have to be linked with before -lX11, unlike the other
9830 # libraries we check for below, so use a different variable.
9831 # John Interrante, Karl Berry
9832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9833 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9834 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9835 $as_echo_n "(cached) " >&6
9836 else
9837 ac_check_lib_save_LIBS=$LIBS
9838 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9840 /* end confdefs.h. */
9842 /* Override any GCC internal prototype to avoid an error.
9843 Use char because int might match the return type of a GCC
9844 builtin and then its argument prototype would still apply. */
9845 #ifdef __cplusplus
9846 extern "C"
9847 #endif
9848 char IceConnectionNumber ();
9850 main ()
9852 return IceConnectionNumber ();
9854 return 0;
9856 _ACEOF
9857 if ac_fn_c_try_link "$LINENO"; then :
9858 ac_cv_lib_ICE_IceConnectionNumber=yes
9859 else
9860 ac_cv_lib_ICE_IceConnectionNumber=no
9862 rm -f core conftest.err conftest.$ac_objext \
9863 conftest$ac_exeext conftest.$ac_ext
9864 LIBS=$ac_check_lib_save_LIBS
9866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9867 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9868 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9869 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9872 LDFLAGS=$ac_save_LDFLAGS
9877 if test "$have_x" = "yes"
9878 then
9879 ac_save_CPPFLAGS="$CPPFLAGS"
9880 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9883 $as_echo_n "checking for -lX11... " >&6; }
9884 if ${ac_cv_lib_soname_X11+:} false; then :
9885 $as_echo_n "(cached) " >&6
9886 else
9887 ac_check_soname_save_LIBS=$LIBS
9888 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9890 /* end confdefs.h. */
9892 /* Override any GCC internal prototype to avoid an error.
9893 Use char because int might match the return type of a GCC
9894 builtin and then its argument prototype would still apply. */
9895 #ifdef __cplusplus
9896 extern "C"
9897 #endif
9898 char XCreateWindow ();
9900 main ()
9902 return XCreateWindow ();
9904 return 0;
9906 _ACEOF
9907 if ac_fn_c_try_link "$LINENO"; then :
9908 case "$LIBEXT" in
9909 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9910 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'` ;;
9911 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9912 if ${ac_cv_lib_soname_X11:+false} :; then :
9913 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9914 fi ;;
9915 esac
9917 rm -f core conftest.err conftest.$ac_objext \
9918 conftest$ac_exeext conftest.$ac_ext
9919 LIBS=$ac_check_soname_save_LIBS
9921 if ${ac_cv_lib_soname_X11:+false} :; then :
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9923 $as_echo "not found" >&6; }
9925 else
9926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9927 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9929 cat >>confdefs.h <<_ACEOF
9930 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9931 _ACEOF
9935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9936 $as_echo_n "checking for -lXext... " >&6; }
9937 if ${ac_cv_lib_soname_Xext+:} false; then :
9938 $as_echo_n "(cached) " >&6
9939 else
9940 ac_check_soname_save_LIBS=$LIBS
9941 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9943 /* end confdefs.h. */
9945 /* Override any GCC internal prototype to avoid an error.
9946 Use char because int might match the return type of a GCC
9947 builtin and then its argument prototype would still apply. */
9948 #ifdef __cplusplus
9949 extern "C"
9950 #endif
9951 char XextCreateExtension ();
9953 main ()
9955 return XextCreateExtension ();
9957 return 0;
9959 _ACEOF
9960 if ac_fn_c_try_link "$LINENO"; then :
9961 case "$LIBEXT" in
9962 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9963 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'` ;;
9964 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9965 if ${ac_cv_lib_soname_Xext:+false} :; then :
9966 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9967 fi ;;
9968 esac
9970 rm -f core conftest.err conftest.$ac_objext \
9971 conftest$ac_exeext conftest.$ac_ext
9972 LIBS=$ac_check_soname_save_LIBS
9974 if ${ac_cv_lib_soname_Xext:+false} :; then :
9975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9976 $as_echo "not found" >&6; }
9978 else
9979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9980 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9982 cat >>confdefs.h <<_ACEOF
9983 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9984 _ACEOF
9986 X_LIBS="$X_LIBS -lXext"
9988 X_LIBS="$X_LIBS -lX11"
9990 for ac_header in X11/Xlib.h \
9991 X11/XKBlib.h \
9992 X11/Xutil.h \
9993 X11/Xcursor/Xcursor.h \
9994 X11/extensions/shape.h \
9995 X11/extensions/XInput.h \
9996 X11/extensions/XInput2.h \
9997 X11/extensions/XShm.h \
9998 X11/extensions/Xcomposite.h \
9999 X11/extensions/Xfixes.h \
10000 X11/extensions/Xinerama.h \
10001 X11/extensions/Xrandr.h \
10002 X11/extensions/Xrender.h \
10003 X11/extensions/xf86vmode.h \
10004 X11/extensions/xf86vmproto.h
10005 do :
10006 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10007 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10008 # include <X11/Xlib.h>
10009 #endif
10010 #ifdef HAVE_X11_XUTIL_H
10011 # include <X11/Xutil.h>
10012 #endif
10014 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10015 cat >>confdefs.h <<_ACEOF
10016 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10017 _ACEOF
10021 done
10024 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10025 then
10026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10027 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10028 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10029 $as_echo_n "(cached) " >&6
10030 else
10031 ac_check_lib_save_LIBS=$LIBS
10032 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10034 /* end confdefs.h. */
10036 /* Override any GCC internal prototype to avoid an error.
10037 Use char because int might match the return type of a GCC
10038 builtin and then its argument prototype would still apply. */
10039 #ifdef __cplusplus
10040 extern "C"
10041 #endif
10042 char XkbQueryExtension ();
10044 main ()
10046 return XkbQueryExtension ();
10048 return 0;
10050 _ACEOF
10051 if ac_fn_c_try_link "$LINENO"; then :
10052 ac_cv_lib_X11_XkbQueryExtension=yes
10053 else
10054 ac_cv_lib_X11_XkbQueryExtension=no
10056 rm -f core conftest.err conftest.$ac_objext \
10057 conftest$ac_exeext conftest.$ac_ext
10058 LIBS=$ac_check_lib_save_LIBS
10060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10061 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10062 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10064 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10070 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10071 then
10072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10073 $as_echo_n "checking for -lXcursor... " >&6; }
10074 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10075 $as_echo_n "(cached) " >&6
10076 else
10077 ac_check_soname_save_LIBS=$LIBS
10078 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10080 /* end confdefs.h. */
10082 /* Override any GCC internal prototype to avoid an error.
10083 Use char because int might match the return type of a GCC
10084 builtin and then its argument prototype would still apply. */
10085 #ifdef __cplusplus
10086 extern "C"
10087 #endif
10088 char XcursorImageLoadCursor ();
10090 main ()
10092 return XcursorImageLoadCursor ();
10094 return 0;
10096 _ACEOF
10097 if ac_fn_c_try_link "$LINENO"; then :
10098 case "$LIBEXT" in
10099 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10100 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'` ;;
10101 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10102 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10103 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10104 fi ;;
10105 esac
10107 rm -f core conftest.err conftest.$ac_objext \
10108 conftest$ac_exeext conftest.$ac_ext
10109 LIBS=$ac_check_soname_save_LIBS
10111 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10113 $as_echo "not found" >&6; }
10115 else
10116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10117 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10119 cat >>confdefs.h <<_ACEOF
10120 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10121 _ACEOF
10126 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10127 case "x$with_xcursor" in
10128 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10129 xno) ;;
10130 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10131 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10132 esac
10136 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10137 then
10138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10139 $as_echo_n "checking for -lXi... " >&6; }
10140 if ${ac_cv_lib_soname_Xi+:} false; then :
10141 $as_echo_n "(cached) " >&6
10142 else
10143 ac_check_soname_save_LIBS=$LIBS
10144 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10146 /* end confdefs.h. */
10148 /* Override any GCC internal prototype to avoid an error.
10149 Use char because int might match the return type of a GCC
10150 builtin and then its argument prototype would still apply. */
10151 #ifdef __cplusplus
10152 extern "C"
10153 #endif
10154 char XOpenDevice ();
10156 main ()
10158 return XOpenDevice ();
10160 return 0;
10162 _ACEOF
10163 if ac_fn_c_try_link "$LINENO"; then :
10164 case "$LIBEXT" in
10165 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10166 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'` ;;
10167 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10168 if ${ac_cv_lib_soname_Xi:+false} :; then :
10169 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10170 fi ;;
10171 esac
10173 rm -f core conftest.err conftest.$ac_objext \
10174 conftest$ac_exeext conftest.$ac_ext
10175 LIBS=$ac_check_soname_save_LIBS
10177 if ${ac_cv_lib_soname_Xi:+false} :; then :
10178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10179 $as_echo "not found" >&6; }
10181 else
10182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10183 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10185 cat >>confdefs.h <<_ACEOF
10186 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10187 _ACEOF
10192 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10193 case "x$with_xinput" in
10194 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10195 xno) ;;
10196 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10197 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10198 esac
10202 if test "x$ac_cv_lib_soname_Xi" != x
10203 then
10204 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10205 case "x$with_xinput2" in
10206 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10207 xno) ;;
10208 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10209 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10210 esac
10215 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10216 then
10217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10218 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10219 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10220 $as_echo_n "(cached) " >&6
10221 else
10222 ac_check_lib_save_LIBS=$LIBS
10223 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10225 /* end confdefs.h. */
10227 /* Override any GCC internal prototype to avoid an error.
10228 Use char because int might match the return type of a GCC
10229 builtin and then its argument prototype would still apply. */
10230 #ifdef __cplusplus
10231 extern "C"
10232 #endif
10233 char XShmQueryExtension ();
10235 main ()
10237 return XShmQueryExtension ();
10239 return 0;
10241 _ACEOF
10242 if ac_fn_c_try_link "$LINENO"; then :
10243 ac_cv_lib_Xext_XShmQueryExtension=yes
10244 else
10245 ac_cv_lib_Xext_XShmQueryExtension=no
10247 rm -f core conftest.err conftest.$ac_objext \
10248 conftest$ac_exeext conftest.$ac_ext
10249 LIBS=$ac_check_lib_save_LIBS
10251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10252 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10253 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10255 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10260 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10261 case "x$with_xshm" in
10262 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10263 xno) ;;
10264 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10265 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10266 esac
10270 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10271 then
10272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10273 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10274 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10275 $as_echo_n "(cached) " >&6
10276 else
10277 ac_check_lib_save_LIBS=$LIBS
10278 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10280 /* end confdefs.h. */
10282 /* Override any GCC internal prototype to avoid an error.
10283 Use char because int might match the return type of a GCC
10284 builtin and then its argument prototype would still apply. */
10285 #ifdef __cplusplus
10286 extern "C"
10287 #endif
10288 char XShapeQueryExtension ();
10290 main ()
10292 return XShapeQueryExtension ();
10294 return 0;
10296 _ACEOF
10297 if ac_fn_c_try_link "$LINENO"; then :
10298 ac_cv_lib_Xext_XShapeQueryExtension=yes
10299 else
10300 ac_cv_lib_Xext_XShapeQueryExtension=no
10302 rm -f core conftest.err conftest.$ac_objext \
10303 conftest$ac_exeext conftest.$ac_ext
10304 LIBS=$ac_check_lib_save_LIBS
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10307 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10308 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10310 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10315 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10316 case "x$with_xshape" in
10317 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10318 xno) ;;
10319 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10320 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10321 esac
10325 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10326 then
10327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10328 $as_echo_n "checking for -lXxf86vm... " >&6; }
10329 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10330 $as_echo_n "(cached) " >&6
10331 else
10332 ac_check_soname_save_LIBS=$LIBS
10333 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10335 /* end confdefs.h. */
10337 /* Override any GCC internal prototype to avoid an error.
10338 Use char because int might match the return type of a GCC
10339 builtin and then its argument prototype would still apply. */
10340 #ifdef __cplusplus
10341 extern "C"
10342 #endif
10343 char XF86VidModeQueryExtension ();
10345 main ()
10347 return XF86VidModeQueryExtension ();
10349 return 0;
10351 _ACEOF
10352 if ac_fn_c_try_link "$LINENO"; then :
10353 case "$LIBEXT" in
10354 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10355 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'` ;;
10356 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10357 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10358 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10359 fi ;;
10360 esac
10362 rm -f core conftest.err conftest.$ac_objext \
10363 conftest$ac_exeext conftest.$ac_ext
10364 LIBS=$ac_check_soname_save_LIBS
10366 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10368 $as_echo "not found" >&6; }
10370 else
10371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10372 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10374 cat >>confdefs.h <<_ACEOF
10375 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10376 _ACEOF
10381 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10382 case "x$with_xxf86vm" in
10383 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10384 xno) ;;
10385 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10386 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10387 esac
10391 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10392 then
10393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10394 $as_echo_n "checking for -lXrender... " >&6; }
10395 if ${ac_cv_lib_soname_Xrender+:} false; then :
10396 $as_echo_n "(cached) " >&6
10397 else
10398 ac_check_soname_save_LIBS=$LIBS
10399 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10401 /* end confdefs.h. */
10403 /* Override any GCC internal prototype to avoid an error.
10404 Use char because int might match the return type of a GCC
10405 builtin and then its argument prototype would still apply. */
10406 #ifdef __cplusplus
10407 extern "C"
10408 #endif
10409 char XRenderQueryExtension ();
10411 main ()
10413 return XRenderQueryExtension ();
10415 return 0;
10417 _ACEOF
10418 if ac_fn_c_try_link "$LINENO"; then :
10419 case "$LIBEXT" in
10420 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10421 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'` ;;
10422 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10423 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10424 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10425 fi ;;
10426 esac
10428 rm -f core conftest.err conftest.$ac_objext \
10429 conftest$ac_exeext conftest.$ac_ext
10430 LIBS=$ac_check_soname_save_LIBS
10432 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10434 $as_echo "not found" >&6; }
10436 else
10437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10438 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10440 cat >>confdefs.h <<_ACEOF
10441 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10442 _ACEOF
10444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10445 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10446 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10447 $as_echo_n "(cached) " >&6
10448 else
10449 ac_check_lib_save_LIBS=$LIBS
10450 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10452 /* end confdefs.h. */
10454 /* Override any GCC internal prototype to avoid an error.
10455 Use char because int might match the return type of a GCC
10456 builtin and then its argument prototype would still apply. */
10457 #ifdef __cplusplus
10458 extern "C"
10459 #endif
10460 char XRenderSetPictureTransform ();
10462 main ()
10464 return XRenderSetPictureTransform ();
10466 return 0;
10468 _ACEOF
10469 if ac_fn_c_try_link "$LINENO"; then :
10470 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10471 else
10472 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10474 rm -f core conftest.err conftest.$ac_objext \
10475 conftest$ac_exeext conftest.$ac_ext
10476 LIBS=$ac_check_lib_save_LIBS
10478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10479 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10480 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10482 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10487 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10488 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10489 $as_echo_n "(cached) " >&6
10490 else
10491 ac_check_lib_save_LIBS=$LIBS
10492 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10494 /* end confdefs.h. */
10496 /* Override any GCC internal prototype to avoid an error.
10497 Use char because int might match the return type of a GCC
10498 builtin and then its argument prototype would still apply. */
10499 #ifdef __cplusplus
10500 extern "C"
10501 #endif
10502 char XRenderCreateLinearGradient ();
10504 main ()
10506 return XRenderCreateLinearGradient ();
10508 return 0;
10510 _ACEOF
10511 if ac_fn_c_try_link "$LINENO"; then :
10512 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10513 else
10514 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10516 rm -f core conftest.err conftest.$ac_objext \
10517 conftest$ac_exeext conftest.$ac_ext
10518 LIBS=$ac_check_lib_save_LIBS
10520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10521 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10522 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10524 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10531 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10532 case "x$with_xrender" in
10533 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10534 xno) ;;
10535 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10536 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10537 esac
10541 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10542 then
10543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10544 /* end confdefs.h. */
10545 #include <X11/Xlib.h>
10546 #include <X11/extensions/Xrandr.h>
10548 main ()
10550 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10552 return 0;
10554 _ACEOF
10555 if ac_fn_c_try_compile "$LINENO"; then :
10556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10557 $as_echo_n "checking for -lXrandr... " >&6; }
10558 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10559 $as_echo_n "(cached) " >&6
10560 else
10561 ac_check_soname_save_LIBS=$LIBS
10562 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10564 /* end confdefs.h. */
10566 /* Override any GCC internal prototype to avoid an error.
10567 Use char because int might match the return type of a GCC
10568 builtin and then its argument prototype would still apply. */
10569 #ifdef __cplusplus
10570 extern "C"
10571 #endif
10572 char XRRQueryExtension ();
10574 main ()
10576 return XRRQueryExtension ();
10578 return 0;
10580 _ACEOF
10581 if ac_fn_c_try_link "$LINENO"; then :
10582 case "$LIBEXT" in
10583 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10584 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'` ;;
10585 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10586 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10587 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10588 fi ;;
10589 esac
10591 rm -f core conftest.err conftest.$ac_objext \
10592 conftest$ac_exeext conftest.$ac_ext
10593 LIBS=$ac_check_soname_save_LIBS
10595 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10597 $as_echo "not found" >&6; }
10599 else
10600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10601 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10603 cat >>confdefs.h <<_ACEOF
10604 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10605 _ACEOF
10607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10608 /* end confdefs.h. */
10609 #include <X11/Xlib.h>
10610 #include <X11/extensions/Xrandr.h>
10612 main ()
10614 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10616 return 0;
10618 _ACEOF
10619 if ac_fn_c_try_compile "$LINENO"; then :
10621 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10629 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10630 case "x$with_xrandr" in
10631 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10632 xno) ;;
10633 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10634 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10635 esac
10639 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10640 then
10641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10642 /* end confdefs.h. */
10643 #include <X11/Xlib.h>
10644 #include <X11/extensions/Xfixes.h>
10646 main ()
10648 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10650 return 0;
10652 _ACEOF
10653 if ac_fn_c_try_compile "$LINENO"; then :
10654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10655 $as_echo_n "checking for -lXfixes... " >&6; }
10656 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10657 $as_echo_n "(cached) " >&6
10658 else
10659 ac_check_soname_save_LIBS=$LIBS
10660 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10662 /* end confdefs.h. */
10664 /* Override any GCC internal prototype to avoid an error.
10665 Use char because int might match the return type of a GCC
10666 builtin and then its argument prototype would still apply. */
10667 #ifdef __cplusplus
10668 extern "C"
10669 #endif
10670 char XFixesQueryVersion ();
10672 main ()
10674 return XFixesQueryVersion ();
10676 return 0;
10678 _ACEOF
10679 if ac_fn_c_try_link "$LINENO"; then :
10680 case "$LIBEXT" in
10681 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10682 dylib) ac_cv_lib_soname_Xfixes=`$OTOOL -L conftest$ac_exeext | grep "libXfixes\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXfixes\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10683 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10684 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10685 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10686 fi ;;
10687 esac
10689 rm -f core conftest.err conftest.$ac_objext \
10690 conftest$ac_exeext conftest.$ac_ext
10691 LIBS=$ac_check_soname_save_LIBS
10693 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10695 $as_echo "not found" >&6; }
10697 else
10698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10699 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10701 cat >>confdefs.h <<_ACEOF
10702 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10703 _ACEOF
10708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10710 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10711 case "x$with_xfixes" in
10712 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10713 xno) ;;
10714 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10715 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10716 esac
10720 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10721 then
10722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10723 /* end confdefs.h. */
10724 #include <X11/Xlib.h>
10725 #include <X11/extensions/Xinerama.h>
10727 main ()
10729 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10731 return 0;
10733 _ACEOF
10734 if ac_fn_c_try_compile "$LINENO"; then :
10735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10736 $as_echo_n "checking for -lXinerama... " >&6; }
10737 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10738 $as_echo_n "(cached) " >&6
10739 else
10740 ac_check_soname_save_LIBS=$LIBS
10741 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10743 /* end confdefs.h. */
10745 /* Override any GCC internal prototype to avoid an error.
10746 Use char because int might match the return type of a GCC
10747 builtin and then its argument prototype would still apply. */
10748 #ifdef __cplusplus
10749 extern "C"
10750 #endif
10751 char XineramaQueryScreens ();
10753 main ()
10755 return XineramaQueryScreens ();
10757 return 0;
10759 _ACEOF
10760 if ac_fn_c_try_link "$LINENO"; then :
10761 case "$LIBEXT" in
10762 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10763 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'` ;;
10764 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10765 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10766 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10767 fi ;;
10768 esac
10770 rm -f core conftest.err conftest.$ac_objext \
10771 conftest$ac_exeext conftest.$ac_ext
10772 LIBS=$ac_check_soname_save_LIBS
10774 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10776 $as_echo "not found" >&6; }
10778 else
10779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10780 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10782 cat >>confdefs.h <<_ACEOF
10783 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10784 _ACEOF
10789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10791 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10792 case "x$with_xinerama" in
10793 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10794 xno) ;;
10795 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10796 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10797 esac
10801 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10802 then
10803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10804 $as_echo_n "checking for -lXcomposite... " >&6; }
10805 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10806 $as_echo_n "(cached) " >&6
10807 else
10808 ac_check_soname_save_LIBS=$LIBS
10809 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10811 /* end confdefs.h. */
10813 /* Override any GCC internal prototype to avoid an error.
10814 Use char because int might match the return type of a GCC
10815 builtin and then its argument prototype would still apply. */
10816 #ifdef __cplusplus
10817 extern "C"
10818 #endif
10819 char XCompositeRedirectWindow ();
10821 main ()
10823 return XCompositeRedirectWindow ();
10825 return 0;
10827 _ACEOF
10828 if ac_fn_c_try_link "$LINENO"; then :
10829 case "$LIBEXT" in
10830 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10831 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'` ;;
10832 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10833 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10834 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10835 fi ;;
10836 esac
10838 rm -f core conftest.err conftest.$ac_objext \
10839 conftest$ac_exeext conftest.$ac_ext
10840 LIBS=$ac_check_soname_save_LIBS
10842 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10844 $as_echo "not found" >&6; }
10846 else
10847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10848 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10850 cat >>confdefs.h <<_ACEOF
10851 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10852 _ACEOF
10857 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10858 case "x$with_xcomposite" in
10859 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10860 xno) ;;
10861 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10862 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10863 esac
10867 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10868 #include <X11/Xlib.h>
10869 #endif
10871 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10873 cat >>confdefs.h <<_ACEOF
10874 #define HAVE_XICCALLBACK_CALLBACK 1
10875 _ACEOF
10879 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10880 #include <X11/Xlib.h>
10881 #endif
10883 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10885 cat >>confdefs.h <<_ACEOF
10886 #define HAVE_XEVENT_XCOOKIE 1
10887 _ACEOF
10894 opengl_msg=""
10895 if test "x$with_opengl" != "xno"
10896 then
10897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10898 $as_echo_n "checking for -lGL... " >&6; }
10899 if ${ac_cv_lib_soname_GL+:} false; then :
10900 $as_echo_n "(cached) " >&6
10901 else
10902 ac_check_soname_save_LIBS=$LIBS
10903 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10905 /* end confdefs.h. */
10907 /* Override any GCC internal prototype to avoid an error.
10908 Use char because int might match the return type of a GCC
10909 builtin and then its argument prototype would still apply. */
10910 #ifdef __cplusplus
10911 extern "C"
10912 #endif
10913 char glXCreateContext ();
10915 main ()
10917 return glXCreateContext ();
10919 return 0;
10921 _ACEOF
10922 if ac_fn_c_try_link "$LINENO"; then :
10923 case "$LIBEXT" in
10924 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10925 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'` ;;
10926 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10927 if ${ac_cv_lib_soname_GL:+false} :; then :
10928 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10929 fi ;;
10930 esac
10932 rm -f core conftest.err conftest.$ac_objext \
10933 conftest$ac_exeext conftest.$ac_ext
10934 LIBS=$ac_check_soname_save_LIBS
10936 if ${ac_cv_lib_soname_GL:+false} :; then :
10937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10938 $as_echo "not found" >&6; }
10939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10940 $as_echo_n "checking for -lGL... " >&6; }
10941 if ${ac_cv_lib_soname_GL+:} false; then :
10942 $as_echo_n "(cached) " >&6
10943 else
10944 ac_check_soname_save_LIBS=$LIBS
10945 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"
10946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10947 /* end confdefs.h. */
10949 /* Override any GCC internal prototype to avoid an error.
10950 Use char because int might match the return type of a GCC
10951 builtin and then its argument prototype would still apply. */
10952 #ifdef __cplusplus
10953 extern "C"
10954 #endif
10955 char glXCreateContext ();
10957 main ()
10959 return glXCreateContext ();
10961 return 0;
10963 _ACEOF
10964 if ac_fn_c_try_link "$LINENO"; then :
10965 case "$LIBEXT" in
10966 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10967 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'` ;;
10968 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10969 if ${ac_cv_lib_soname_GL:+false} :; then :
10970 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10971 fi ;;
10972 esac
10974 rm -f core conftest.err conftest.$ac_objext \
10975 conftest$ac_exeext conftest.$ac_ext
10976 LIBS=$ac_check_soname_save_LIBS
10978 if ${ac_cv_lib_soname_GL:+false} :; then :
10979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10980 $as_echo "not found" >&6; }
10981 if test -f /usr/X11R6/lib/libGL.a
10982 then
10983 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10984 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10985 else
10986 opengl_msg="No OpenGL library found on this system."
10988 else
10989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10990 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10992 cat >>confdefs.h <<_ACEOF
10993 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10994 _ACEOF
10996 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"
10998 else
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11000 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11002 cat >>confdefs.h <<_ACEOF
11003 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11004 _ACEOF
11006 OPENGL_LIBS="-lGL"
11008 if test "x$with_glu" != "xno"
11009 then
11010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11011 $as_echo_n "checking for -lGLU... " >&6; }
11012 if ${ac_cv_lib_soname_GLU+:} false; then :
11013 $as_echo_n "(cached) " >&6
11014 else
11015 ac_check_soname_save_LIBS=$LIBS
11016 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11018 /* end confdefs.h. */
11020 /* Override any GCC internal prototype to avoid an error.
11021 Use char because int might match the return type of a GCC
11022 builtin and then its argument prototype would still apply. */
11023 #ifdef __cplusplus
11024 extern "C"
11025 #endif
11026 char gluLookAt ();
11028 main ()
11030 return gluLookAt ();
11032 return 0;
11034 _ACEOF
11035 if ac_fn_c_try_link "$LINENO"; then :
11036 case "$LIBEXT" in
11037 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11038 dylib) ac_cv_lib_soname_GLU=`$OTOOL -L conftest$ac_exeext | grep "libGLU\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLU\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11039 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11040 if ${ac_cv_lib_soname_GLU:+false} :; then :
11041 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11042 fi ;;
11043 esac
11045 rm -f core conftest.err conftest.$ac_objext \
11046 conftest$ac_exeext conftest.$ac_ext
11047 LIBS=$ac_check_soname_save_LIBS
11049 if ${ac_cv_lib_soname_GLU:+false} :; then :
11050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11051 $as_echo "not found" >&6; }
11053 else
11054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11055 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11057 cat >>confdefs.h <<_ACEOF
11058 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11059 _ACEOF
11063 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11064 case "x$with_glu" in
11065 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11066 xno) ;;
11067 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11068 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11069 esac
11074 if test "x$with_osmesa" != "xno"
11075 then
11076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11077 $as_echo_n "checking for -lOSMesa... " >&6; }
11078 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11079 $as_echo_n "(cached) " >&6
11080 else
11081 ac_check_soname_save_LIBS=$LIBS
11082 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11084 /* end confdefs.h. */
11086 /* Override any GCC internal prototype to avoid an error.
11087 Use char because int might match the return type of a GCC
11088 builtin and then its argument prototype would still apply. */
11089 #ifdef __cplusplus
11090 extern "C"
11091 #endif
11092 char OSMesaGetProcAddress ();
11094 main ()
11096 return OSMesaGetProcAddress ();
11098 return 0;
11100 _ACEOF
11101 if ac_fn_c_try_link "$LINENO"; then :
11102 case "$LIBEXT" in
11103 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11104 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'` ;;
11105 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11106 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11107 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11108 fi ;;
11109 esac
11111 rm -f core conftest.err conftest.$ac_objext \
11112 conftest$ac_exeext conftest.$ac_ext
11113 LIBS=$ac_check_soname_save_LIBS
11115 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11117 $as_echo "not found" >&6; }
11119 else
11120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11121 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11123 cat >>confdefs.h <<_ACEOF
11124 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11125 _ACEOF
11129 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11130 case "x$with_osmesa" in
11131 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11132 xno) ;;
11133 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11134 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11135 esac
11140 if test -n "$opengl_msg"; then :
11141 case "x$with_opengl" in
11142 x) as_fn_append wine_warnings "|$opengl_msg
11143 OpenGL and Direct3D won't be supported." ;;
11144 xno) ;;
11145 *) as_fn_error $? "$opengl_msg
11146 OpenGL and Direct3D won't be supported.
11147 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11148 esac
11152 CPPFLAGS="$ac_save_CPPFLAGS"
11153 else
11154 X_CFLAGS=""
11155 X_LIBS=""
11158 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11159 then
11160 if test "x$X_LIBS" = "x"; then :
11161 case "x$with_x" in
11162 xno) ;;
11163 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11164 without X support, which probably isn't what you want. You will need
11165 to install ${notice_platform}development packages of Xlib at the very least.
11166 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11167 esac
11168 enable_winex11_drv=${enable_winex11_drv:-no}
11170 else
11171 if test "x$X_LIBS" = "x"; then :
11172 case "x$with_x" in
11173 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11174 xno) ;;
11175 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11176 This is an error since --with-x was requested." "$LINENO" 5 ;;
11177 esac
11178 enable_winex11_drv=${enable_winex11_drv:-no}
11182 if test "$ac_cv_header_CL_cl_h" = "yes"
11183 then
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11185 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11186 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11187 $as_echo_n "(cached) " >&6
11188 else
11189 ac_check_lib_save_LIBS=$LIBS
11190 LIBS="-lOpenCL $LIBS"
11191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11192 /* end confdefs.h. */
11194 /* Override any GCC internal prototype to avoid an error.
11195 Use char because int might match the return type of a GCC
11196 builtin and then its argument prototype would still apply. */
11197 #ifdef __cplusplus
11198 extern "C"
11199 #endif
11200 char clGetPlatformInfo ();
11202 main ()
11204 return clGetPlatformInfo ();
11206 return 0;
11208 _ACEOF
11209 if ac_fn_c_try_link "$LINENO"; then :
11210 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11211 else
11212 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11214 rm -f core conftest.err conftest.$ac_objext \
11215 conftest$ac_exeext conftest.$ac_ext
11216 LIBS=$ac_check_lib_save_LIBS
11218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11219 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11220 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11221 OPENCL_LIBS="-lOpenCL"
11226 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11227 case "x$with_opencl" in
11228 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11229 xno) ;;
11230 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11231 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11232 esac
11233 enable_opencl=${enable_opencl:-no}
11236 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11237 then
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11239 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11240 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11241 $as_echo_n "(cached) " >&6
11242 else
11243 ac_check_lib_save_LIBS=$LIBS
11244 LIBS="-lpcap $LIBS"
11245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11246 /* end confdefs.h. */
11248 /* Override any GCC internal prototype to avoid an error.
11249 Use char because int might match the return type of a GCC
11250 builtin and then its argument prototype would still apply. */
11251 #ifdef __cplusplus
11252 extern "C"
11253 #endif
11254 char pcap_create ();
11256 main ()
11258 return pcap_create ();
11260 return 0;
11262 _ACEOF
11263 if ac_fn_c_try_link "$LINENO"; then :
11264 ac_cv_lib_pcap_pcap_create=yes
11265 else
11266 ac_cv_lib_pcap_pcap_create=no
11268 rm -f core conftest.err conftest.$ac_objext \
11269 conftest$ac_exeext conftest.$ac_ext
11270 LIBS=$ac_check_lib_save_LIBS
11272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11273 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11274 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11275 PCAP_LIBS="-lpcap"
11280 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11281 case "x$with_pcap" in
11282 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11283 xno) ;;
11284 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11285 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11286 esac
11287 enable_wpcap=${enable_wpcap:-no}
11291 if test "x$with_xml" != "xno"
11292 then
11293 if ${XML2_CFLAGS:+false} :; then :
11294 if ${PKG_CONFIG+:} false; then :
11295 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11298 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11299 if ${XML2_LIBS:+false} :; then :
11300 if ${PKG_CONFIG+:} false; then :
11301 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11304 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11305 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11306 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11307 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11308 ac_save_CPPFLAGS=$CPPFLAGS
11309 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11310 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11311 do :
11312 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11313 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11314 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11315 cat >>confdefs.h <<_ACEOF
11316 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11317 _ACEOF
11321 done
11323 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"
11324 then
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11326 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11327 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11328 $as_echo_n "(cached) " >&6
11329 else
11330 ac_check_lib_save_LIBS=$LIBS
11331 LIBS="-lxml2 $XML2_LIBS $LIBS"
11332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11333 /* end confdefs.h. */
11335 /* Override any GCC internal prototype to avoid an error.
11336 Use char because int might match the return type of a GCC
11337 builtin and then its argument prototype would still apply. */
11338 #ifdef __cplusplus
11339 extern "C"
11340 #endif
11341 char xmlParseMemory ();
11343 main ()
11345 return xmlParseMemory ();
11347 return 0;
11349 _ACEOF
11350 if ac_fn_c_try_link "$LINENO"; then :
11351 ac_cv_lib_xml2_xmlParseMemory=yes
11352 else
11353 ac_cv_lib_xml2_xmlParseMemory=no
11355 rm -f core conftest.err conftest.$ac_objext \
11356 conftest$ac_exeext conftest.$ac_ext
11357 LIBS=$ac_check_lib_save_LIBS
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11360 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11361 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11363 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11365 else
11366 XML2_LIBS=""
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11370 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11371 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11372 $as_echo_n "(cached) " >&6
11373 else
11374 ac_check_lib_save_LIBS=$LIBS
11375 LIBS="-lxml2 $XML2_LIBS $LIBS"
11376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11377 /* end confdefs.h. */
11379 /* Override any GCC internal prototype to avoid an error.
11380 Use char because int might match the return type of a GCC
11381 builtin and then its argument prototype would still apply. */
11382 #ifdef __cplusplus
11383 extern "C"
11384 #endif
11385 char xmlReadMemory ();
11387 main ()
11389 return xmlReadMemory ();
11391 return 0;
11393 _ACEOF
11394 if ac_fn_c_try_link "$LINENO"; then :
11395 ac_cv_lib_xml2_xmlReadMemory=yes
11396 else
11397 ac_cv_lib_xml2_xmlReadMemory=no
11399 rm -f core conftest.err conftest.$ac_objext \
11400 conftest$ac_exeext conftest.$ac_ext
11401 LIBS=$ac_check_lib_save_LIBS
11403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11404 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11405 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11407 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11412 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11413 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11414 $as_echo_n "(cached) " >&6
11415 else
11416 ac_check_lib_save_LIBS=$LIBS
11417 LIBS="-lxml2 $XML2_LIBS $LIBS"
11418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11419 /* end confdefs.h. */
11421 /* Override any GCC internal prototype to avoid an error.
11422 Use char because int might match the return type of a GCC
11423 builtin and then its argument prototype would still apply. */
11424 #ifdef __cplusplus
11425 extern "C"
11426 #endif
11427 char xmlNewDocPI ();
11429 main ()
11431 return xmlNewDocPI ();
11433 return 0;
11435 _ACEOF
11436 if ac_fn_c_try_link "$LINENO"; then :
11437 ac_cv_lib_xml2_xmlNewDocPI=yes
11438 else
11439 ac_cv_lib_xml2_xmlNewDocPI=no
11441 rm -f core conftest.err conftest.$ac_objext \
11442 conftest$ac_exeext conftest.$ac_ext
11443 LIBS=$ac_check_lib_save_LIBS
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11446 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11447 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11449 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11454 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11455 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11456 $as_echo_n "(cached) " >&6
11457 else
11458 ac_check_lib_save_LIBS=$LIBS
11459 LIBS="-lxml2 $XML2_LIBS $LIBS"
11460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11461 /* end confdefs.h. */
11463 /* Override any GCC internal prototype to avoid an error.
11464 Use char because int might match the return type of a GCC
11465 builtin and then its argument prototype would still apply. */
11466 #ifdef __cplusplus
11467 extern "C"
11468 #endif
11469 char xmlSchemaSetParserStructuredErrors ();
11471 main ()
11473 return xmlSchemaSetParserStructuredErrors ();
11475 return 0;
11477 _ACEOF
11478 if ac_fn_c_try_link "$LINENO"; then :
11479 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11480 else
11481 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11483 rm -f core conftest.err conftest.$ac_objext \
11484 conftest$ac_exeext conftest.$ac_ext
11485 LIBS=$ac_check_lib_save_LIBS
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11488 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11489 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11491 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11496 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11497 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11498 $as_echo_n "(cached) " >&6
11499 else
11500 ac_check_lib_save_LIBS=$LIBS
11501 LIBS="-lxml2 $XML2_LIBS $LIBS"
11502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11503 /* end confdefs.h. */
11505 /* Override any GCC internal prototype to avoid an error.
11506 Use char because int might match the return type of a GCC
11507 builtin and then its argument prototype would still apply. */
11508 #ifdef __cplusplus
11509 extern "C"
11510 #endif
11511 char xmlSchemaSetValidStructuredErrors ();
11513 main ()
11515 return xmlSchemaSetValidStructuredErrors ();
11517 return 0;
11519 _ACEOF
11520 if ac_fn_c_try_link "$LINENO"; then :
11521 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11522 else
11523 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11525 rm -f core conftest.err conftest.$ac_objext \
11526 conftest$ac_exeext conftest.$ac_ext
11527 LIBS=$ac_check_lib_save_LIBS
11529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11530 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11531 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11533 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11538 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11539 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11540 $as_echo_n "(cached) " >&6
11541 else
11542 ac_check_lib_save_LIBS=$LIBS
11543 LIBS="-lxml2 $XML2_LIBS $LIBS"
11544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11545 /* end confdefs.h. */
11547 /* Override any GCC internal prototype to avoid an error.
11548 Use char because int might match the return type of a GCC
11549 builtin and then its argument prototype would still apply. */
11550 #ifdef __cplusplus
11551 extern "C"
11552 #endif
11553 char xmlFirstElementChild ();
11555 main ()
11557 return xmlFirstElementChild ();
11559 return 0;
11561 _ACEOF
11562 if ac_fn_c_try_link "$LINENO"; then :
11563 ac_cv_lib_xml2_xmlFirstElementChild=yes
11564 else
11565 ac_cv_lib_xml2_xmlFirstElementChild=no
11567 rm -f core conftest.err conftest.$ac_objext \
11568 conftest$ac_exeext conftest.$ac_ext
11569 LIBS=$ac_check_lib_save_LIBS
11571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11572 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11573 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11575 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11579 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11581 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11583 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11587 else
11588 XML2_CFLAGS=""
11589 XML2_LIBS=""
11591 CPPFLAGS=$ac_save_CPPFLAGS
11592 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11593 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11596 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11597 case "x$with_xml" in
11598 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11599 xno) ;;
11600 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11601 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11602 esac
11606 if test "x$with_xslt" != "xno"
11607 then
11608 if ${XSLT_CFLAGS:+false} :; then :
11609 if ${PKG_CONFIG+:} false; then :
11610 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11613 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11614 if ${XSLT_LIBS:+false} :; then :
11615 if ${PKG_CONFIG+:} false; then :
11616 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11619 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11620 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11621 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11622 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11623 ac_save_CPPFLAGS=$CPPFLAGS
11624 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11625 for ac_header in libxslt/pattern.h libxslt/transform.h
11626 do :
11627 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11628 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11629 # include <libxslt/pattern.h>
11630 #endif
11632 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11633 cat >>confdefs.h <<_ACEOF
11634 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11635 _ACEOF
11639 done
11641 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11642 then
11643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11644 $as_echo_n "checking for -lxslt... " >&6; }
11645 if ${ac_cv_lib_soname_xslt+:} false; then :
11646 $as_echo_n "(cached) " >&6
11647 else
11648 ac_check_soname_save_LIBS=$LIBS
11649 LIBS="-lxslt $XSLT_LIBS $LIBS"
11650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11651 /* end confdefs.h. */
11653 /* Override any GCC internal prototype to avoid an error.
11654 Use char because int might match the return type of a GCC
11655 builtin and then its argument prototype would still apply. */
11656 #ifdef __cplusplus
11657 extern "C"
11658 #endif
11659 char xsltCompilePattern ();
11661 main ()
11663 return xsltCompilePattern ();
11665 return 0;
11667 _ACEOF
11668 if ac_fn_c_try_link "$LINENO"; then :
11669 case "$LIBEXT" in
11670 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11671 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'` ;;
11672 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11673 if ${ac_cv_lib_soname_xslt:+false} :; then :
11674 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11675 fi ;;
11676 esac
11678 rm -f core conftest.err conftest.$ac_objext \
11679 conftest$ac_exeext conftest.$ac_ext
11680 LIBS=$ac_check_soname_save_LIBS
11682 if ${ac_cv_lib_soname_xslt:+false} :; then :
11683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11684 $as_echo "not found" >&6; }
11686 else
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11688 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11690 cat >>confdefs.h <<_ACEOF
11691 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11692 _ACEOF
11696 else
11697 XSLT_CFLAGS=""
11699 CPPFLAGS=$ac_save_CPPFLAGS
11700 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11701 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11704 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11705 case "x$with_xslt" in
11706 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11707 xno) ;;
11708 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11709 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11710 esac
11714 if test "x$with_dbus" != "xno"
11715 then
11716 if ${DBUS_CFLAGS:+false} :; then :
11717 if ${PKG_CONFIG+:} false; then :
11718 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11722 if ${DBUS_LIBS:+false} :; then :
11723 if ${PKG_CONFIG+:} false; then :
11724 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11729 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11730 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11731 ac_save_CPPFLAGS=$CPPFLAGS
11732 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11733 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11734 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11736 $as_echo_n "checking for -ldbus-1... " >&6; }
11737 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11738 $as_echo_n "(cached) " >&6
11739 else
11740 ac_check_soname_save_LIBS=$LIBS
11741 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11743 /* end confdefs.h. */
11745 /* Override any GCC internal prototype to avoid an error.
11746 Use char because int might match the return type of a GCC
11747 builtin and then its argument prototype would still apply. */
11748 #ifdef __cplusplus
11749 extern "C"
11750 #endif
11751 char dbus_connection_close ();
11753 main ()
11755 return dbus_connection_close ();
11757 return 0;
11759 _ACEOF
11760 if ac_fn_c_try_link "$LINENO"; then :
11761 case "$LIBEXT" in
11762 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11763 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'` ;;
11764 *) 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'`
11765 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11766 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11767 fi ;;
11768 esac
11770 rm -f core conftest.err conftest.$ac_objext \
11771 conftest$ac_exeext conftest.$ac_ext
11772 LIBS=$ac_check_soname_save_LIBS
11774 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11776 $as_echo "not found" >&6; }
11777 DBUS_CFLAGS=""
11778 else
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11780 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11782 cat >>confdefs.h <<_ACEOF
11783 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11784 _ACEOF
11788 else
11789 DBUS_CFLAGS=""
11793 CPPFLAGS=$ac_save_CPPFLAGS
11794 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11795 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11798 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11799 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11800 case "x$with_dbus" in
11801 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11802 xno) ;;
11803 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11804 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11805 esac
11809 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11810 then
11811 if ${HAL_CFLAGS:+false} :; then :
11812 if ${PKG_CONFIG+:} false; then :
11813 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11817 if ${HAL_LIBS:+false} :; then :
11818 if ${PKG_CONFIG+:} false; then :
11819 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11823 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11824 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11825 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11826 ac_save_CPPFLAGS=$CPPFLAGS
11827 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11828 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11829 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11831 $as_echo_n "checking for -lhal... " >&6; }
11832 if ${ac_cv_lib_soname_hal+:} false; then :
11833 $as_echo_n "(cached) " >&6
11834 else
11835 ac_check_soname_save_LIBS=$LIBS
11836 LIBS="-lhal $HAL_LIBS $LIBS"
11837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11838 /* end confdefs.h. */
11840 /* Override any GCC internal prototype to avoid an error.
11841 Use char because int might match the return type of a GCC
11842 builtin and then its argument prototype would still apply. */
11843 #ifdef __cplusplus
11844 extern "C"
11845 #endif
11846 char libhal_ctx_new ();
11848 main ()
11850 return libhal_ctx_new ();
11852 return 0;
11854 _ACEOF
11855 if ac_fn_c_try_link "$LINENO"; then :
11856 case "$LIBEXT" in
11857 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11858 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'` ;;
11859 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11860 if ${ac_cv_lib_soname_hal:+false} :; then :
11861 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11862 fi ;;
11863 esac
11865 rm -f core conftest.err conftest.$ac_objext \
11866 conftest$ac_exeext conftest.$ac_ext
11867 LIBS=$ac_check_soname_save_LIBS
11869 if ${ac_cv_lib_soname_hal:+false} :; then :
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11871 $as_echo "not found" >&6; }
11872 HAL_CFLAGS=""
11873 else
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11875 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11877 cat >>confdefs.h <<_ACEOF
11878 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11879 _ACEOF
11883 else
11884 HAL_CFLAGS=""
11888 CPPFLAGS=$ac_save_CPPFLAGS
11889 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11890 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11892 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11893 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11894 case "x$with_hal" in
11895 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11896 xno) ;;
11897 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11898 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11899 esac
11904 if test "x$with_gnutls" != "xno"
11905 then
11906 if ${GNUTLS_CFLAGS:+false} :; then :
11907 if ${PKG_CONFIG+:} false; then :
11908 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11912 if ${GNUTLS_LIBS:+false} :; then :
11913 if ${PKG_CONFIG+:} false; then :
11914 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11919 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11920 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11921 ac_save_CPPFLAGS=$CPPFLAGS
11922 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11923 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11924 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11926 /* end confdefs.h. */
11927 #include <gnutls/gnutls.h>
11928 #include <gnutls/crypto.h>
11930 main ()
11932 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11934 return 0;
11936 _ACEOF
11937 if ac_fn_c_try_compile "$LINENO"; then :
11938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11939 $as_echo_n "checking for -lgnutls... " >&6; }
11940 if ${ac_cv_lib_soname_gnutls+:} false; then :
11941 $as_echo_n "(cached) " >&6
11942 else
11943 ac_check_soname_save_LIBS=$LIBS
11944 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11946 /* end confdefs.h. */
11948 /* Override any GCC internal prototype to avoid an error.
11949 Use char because int might match the return type of a GCC
11950 builtin and then its argument prototype would still apply. */
11951 #ifdef __cplusplus
11952 extern "C"
11953 #endif
11954 char gnutls_global_init ();
11956 main ()
11958 return gnutls_global_init ();
11960 return 0;
11962 _ACEOF
11963 if ac_fn_c_try_link "$LINENO"; then :
11964 case "$LIBEXT" in
11965 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11966 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'` ;;
11967 *) 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'`
11968 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11969 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'`
11970 fi ;;
11971 esac
11973 rm -f core conftest.err conftest.$ac_objext \
11974 conftest$ac_exeext conftest.$ac_ext
11975 LIBS=$ac_check_soname_save_LIBS
11977 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11979 $as_echo "not found" >&6; }
11980 GNUTLS_CFLAGS=""
11981 else
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11983 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11985 cat >>confdefs.h <<_ACEOF
11986 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11987 _ACEOF
11991 ac_wine_check_funcs_save_LIBS="$LIBS"
11992 LIBS="$LIBS $GNUTLS_LIBS"
11993 for ac_func in gnutls_cipher_init
11994 do :
11995 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
11996 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
11997 cat >>confdefs.h <<_ACEOF
11998 #define HAVE_GNUTLS_CIPHER_INIT 1
11999 _ACEOF
12001 else
12002 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
12004 done
12006 LIBS="$ac_wine_check_funcs_save_LIBS"
12008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12009 else
12010 GNUTLS_CFLAGS=""
12014 CPPFLAGS=$ac_save_CPPFLAGS
12015 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12016 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12019 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12020 case "x$with_gnutls" in
12021 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12022 xno) ;;
12023 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12024 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12025 esac
12029 CURSES_LIBS=""
12030 if test "$ac_cv_header_ncurses_h" = "yes"
12031 then
12032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12033 $as_echo_n "checking for -lncurses... " >&6; }
12034 if ${ac_cv_lib_soname_ncurses+:} false; then :
12035 $as_echo_n "(cached) " >&6
12036 else
12037 ac_check_soname_save_LIBS=$LIBS
12038 LIBS="-lncurses $LIBS"
12039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12040 /* end confdefs.h. */
12042 /* Override any GCC internal prototype to avoid an error.
12043 Use char because int might match the return type of a GCC
12044 builtin and then its argument prototype would still apply. */
12045 #ifdef __cplusplus
12046 extern "C"
12047 #endif
12048 char waddch ();
12050 main ()
12052 return waddch ();
12054 return 0;
12056 _ACEOF
12057 if ac_fn_c_try_link "$LINENO"; then :
12058 case "$LIBEXT" in
12059 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12060 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'` ;;
12061 *) 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'`
12062 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12063 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12064 fi ;;
12065 esac
12067 rm -f core conftest.err conftest.$ac_objext \
12068 conftest$ac_exeext conftest.$ac_ext
12069 LIBS=$ac_check_soname_save_LIBS
12071 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12073 $as_echo "not found" >&6; }
12075 else
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12077 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12079 cat >>confdefs.h <<_ACEOF
12080 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12081 _ACEOF
12083 CURSES_LIBS="-lncurses"
12085 elif test "$ac_cv_header_curses_h" = "yes"
12086 then
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12088 $as_echo_n "checking for -lcurses... " >&6; }
12089 if ${ac_cv_lib_soname_curses+:} false; then :
12090 $as_echo_n "(cached) " >&6
12091 else
12092 ac_check_soname_save_LIBS=$LIBS
12093 LIBS="-lcurses $LIBS"
12094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12095 /* end confdefs.h. */
12097 /* Override any GCC internal prototype to avoid an error.
12098 Use char because int might match the return type of a GCC
12099 builtin and then its argument prototype would still apply. */
12100 #ifdef __cplusplus
12101 extern "C"
12102 #endif
12103 char waddch ();
12105 main ()
12107 return waddch ();
12109 return 0;
12111 _ACEOF
12112 if ac_fn_c_try_link "$LINENO"; then :
12113 case "$LIBEXT" in
12114 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12115 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'` ;;
12116 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12117 if ${ac_cv_lib_soname_curses:+false} :; then :
12118 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12119 fi ;;
12120 esac
12122 rm -f core conftest.err conftest.$ac_objext \
12123 conftest$ac_exeext conftest.$ac_ext
12124 LIBS=$ac_check_soname_save_LIBS
12126 if ${ac_cv_lib_soname_curses:+false} :; then :
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12128 $as_echo "not found" >&6; }
12130 else
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12132 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12134 cat >>confdefs.h <<_ACEOF
12135 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12136 _ACEOF
12138 CURSES_LIBS="-lcurses"
12141 ac_save_LIBS="$LIBS"
12142 LIBS="$LIBS $CURSES_LIBS"
12143 for ac_func in mousemask
12144 do :
12145 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12146 if test "x$ac_cv_func_mousemask" = xyes; then :
12147 cat >>confdefs.h <<_ACEOF
12148 #define HAVE_MOUSEMASK 1
12149 _ACEOF
12152 done
12154 LIBS="$ac_save_LIBS"
12155 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12156 case "x$with_curses" in
12157 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12158 xno) ;;
12159 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12160 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12161 esac
12165 if test "x$with_sane" != "xno"
12166 then
12167 if ${SANE_CFLAGS:+false} :; then :
12168 if ${PKG_CONFIG+:} false; then :
12169 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12172 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12173 if ${SANE_LIBS:+false} :; then :
12174 if ${PKG_CONFIG+:} false; then :
12175 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12178 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12180 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12181 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12182 ac_save_CPPFLAGS=$CPPFLAGS
12183 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12184 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12185 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12187 $as_echo_n "checking for -lsane... " >&6; }
12188 if ${ac_cv_lib_soname_sane+:} false; then :
12189 $as_echo_n "(cached) " >&6
12190 else
12191 ac_check_soname_save_LIBS=$LIBS
12192 LIBS="-lsane $SANE_LIBS $LIBS"
12193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12194 /* end confdefs.h. */
12196 /* Override any GCC internal prototype to avoid an error.
12197 Use char because int might match the return type of a GCC
12198 builtin and then its argument prototype would still apply. */
12199 #ifdef __cplusplus
12200 extern "C"
12201 #endif
12202 char sane_init ();
12204 main ()
12206 return sane_init ();
12208 return 0;
12210 _ACEOF
12211 if ac_fn_c_try_link "$LINENO"; then :
12212 case "$LIBEXT" in
12213 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12214 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'` ;;
12215 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12216 if ${ac_cv_lib_soname_sane:+false} :; then :
12217 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12218 fi ;;
12219 esac
12221 rm -f core conftest.err conftest.$ac_objext \
12222 conftest$ac_exeext conftest.$ac_ext
12223 LIBS=$ac_check_soname_save_LIBS
12225 if ${ac_cv_lib_soname_sane:+false} :; then :
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12227 $as_echo "not found" >&6; }
12228 SANE_CFLAGS=""
12229 else
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12231 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12233 cat >>confdefs.h <<_ACEOF
12234 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12235 _ACEOF
12239 else
12240 SANE_CFLAGS=""
12244 CPPFLAGS=$ac_save_CPPFLAGS
12245 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12246 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12249 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12250 case "x$with_sane" in
12251 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12252 xno) ;;
12253 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12254 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12255 esac
12259 if test "x$with_v4l" != "xno"
12260 then
12261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12262 $as_echo_n "checking for -lv4l1... " >&6; }
12263 if ${ac_cv_lib_soname_v4l1+:} false; then :
12264 $as_echo_n "(cached) " >&6
12265 else
12266 ac_check_soname_save_LIBS=$LIBS
12267 LIBS="-lv4l1 $LIBS"
12268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12269 /* end confdefs.h. */
12271 /* Override any GCC internal prototype to avoid an error.
12272 Use char because int might match the return type of a GCC
12273 builtin and then its argument prototype would still apply. */
12274 #ifdef __cplusplus
12275 extern "C"
12276 #endif
12277 char v4l1_open ();
12279 main ()
12281 return v4l1_open ();
12283 return 0;
12285 _ACEOF
12286 if ac_fn_c_try_link "$LINENO"; then :
12287 case "$LIBEXT" in
12288 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12289 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'` ;;
12290 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12291 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12292 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12293 fi ;;
12294 esac
12296 rm -f core conftest.err conftest.$ac_objext \
12297 conftest$ac_exeext conftest.$ac_ext
12298 LIBS=$ac_check_soname_save_LIBS
12300 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12302 $as_echo "not found" >&6; }
12304 else
12305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12306 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12308 cat >>confdefs.h <<_ACEOF
12309 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12310 _ACEOF
12315 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12316 case "x$with_v4l" in
12317 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12318 xno) ;;
12319 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12320 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12321 esac
12325 if test "x$with_gphoto" != "xno"
12326 then
12327 if ${GPHOTO2_CFLAGS:+false} :; then :
12328 if ${PKG_CONFIG+:} false; then :
12329 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12332 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12333 if ${GPHOTO2_LIBS:+false} :; then :
12334 if ${PKG_CONFIG+:} false; then :
12335 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12338 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12339 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12340 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12341 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12342 ac_save_CPPFLAGS=$CPPFLAGS
12343 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12344 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12345 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12347 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12348 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12349 $as_echo_n "(cached) " >&6
12350 else
12351 ac_check_lib_save_LIBS=$LIBS
12352 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12354 /* end confdefs.h. */
12356 /* Override any GCC internal prototype to avoid an error.
12357 Use char because int might match the return type of a GCC
12358 builtin and then its argument prototype would still apply. */
12359 #ifdef __cplusplus
12360 extern "C"
12361 #endif
12362 char gp_camera_new ();
12364 main ()
12366 return gp_camera_new ();
12368 return 0;
12370 _ACEOF
12371 if ac_fn_c_try_link "$LINENO"; then :
12372 ac_cv_lib_gphoto2_gp_camera_new=yes
12373 else
12374 ac_cv_lib_gphoto2_gp_camera_new=no
12376 rm -f core conftest.err conftest.$ac_objext \
12377 conftest$ac_exeext conftest.$ac_ext
12378 LIBS=$ac_check_lib_save_LIBS
12380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12381 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12382 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12384 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12386 else
12387 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12390 else
12391 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12395 CPPFLAGS=$ac_save_CPPFLAGS
12396 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12397 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12399 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12400 if ${PKG_CONFIG+:} false; then :
12401 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12404 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12405 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12406 if ${PKG_CONFIG+:} false; then :
12407 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12410 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12411 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12412 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12413 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12414 ac_save_CPPFLAGS=$CPPFLAGS
12415 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12416 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12417 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12419 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12420 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12421 $as_echo_n "(cached) " >&6
12422 else
12423 ac_check_lib_save_LIBS=$LIBS
12424 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12426 /* end confdefs.h. */
12428 /* Override any GCC internal prototype to avoid an error.
12429 Use char because int might match the return type of a GCC
12430 builtin and then its argument prototype would still apply. */
12431 #ifdef __cplusplus
12432 extern "C"
12433 #endif
12434 char gp_port_info_list_new ();
12436 main ()
12438 return gp_port_info_list_new ();
12440 return 0;
12442 _ACEOF
12443 if ac_fn_c_try_link "$LINENO"; then :
12444 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12445 else
12446 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12448 rm -f core conftest.err conftest.$ac_objext \
12449 conftest$ac_exeext conftest.$ac_ext
12450 LIBS=$ac_check_lib_save_LIBS
12452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12453 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12454 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12456 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12458 else
12459 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12462 else
12463 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12467 CPPFLAGS=$ac_save_CPPFLAGS
12468 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12469 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12472 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12473 case "x$with_gphoto" in
12474 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12475 xno) ;;
12476 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12477 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12478 esac
12481 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12482 case "x$with_gphoto" in
12483 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12484 xno) ;;
12485 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12486 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12487 esac
12492 if test "$ac_cv_header_resolv_h" = "yes"
12493 then
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12495 $as_echo_n "checking for resolver library... " >&6; }
12496 if ${ac_cv_have_resolv+:} false; then :
12497 $as_echo_n "(cached) " >&6
12498 else
12499 ac_save_LIBS="$LIBS"
12500 for lib in '' -lresolv
12502 LIBS="$lib $ac_save_LIBS"
12503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12504 /* end confdefs.h. */
12505 #ifdef HAVE_NETINET_IN_H
12506 #include <netinet/in.h>
12507 #endif
12508 #include <resolv.h>
12510 main ()
12512 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12514 return 0;
12516 _ACEOF
12517 if ac_fn_c_try_link "$LINENO"; then :
12518 ac_cv_have_resolv=${lib:-"none required"}
12519 else
12520 ac_cv_have_resolv="not found"
12522 rm -f core conftest.err conftest.$ac_objext \
12523 conftest$ac_exeext conftest.$ac_ext
12524 test "x$ac_cv_have_resolv" = "xnot found" || break
12525 done
12526 LIBS="$ac_save_LIBS"
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12529 $as_echo "$ac_cv_have_resolv" >&6; }
12531 case "$ac_cv_have_resolv" in
12532 "not found") ;;
12533 "none required")
12535 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12538 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12540 RESOLV_LIBS=$ac_cv_have_resolv
12542 esac
12545 if test "x$with_cms" != "xno"
12546 then
12547 if ${LCMS2_CFLAGS:+false} :; then :
12548 if ${PKG_CONFIG+:} false; then :
12549 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12553 if ${LCMS2_LIBS:+false} :; then :
12554 if ${PKG_CONFIG+:} false; then :
12555 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12559 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12560 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12561 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12562 ac_save_CPPFLAGS=$CPPFLAGS
12563 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12564 for ac_header in lcms2.h
12565 do :
12566 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12567 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12568 cat >>confdefs.h <<_ACEOF
12569 #define HAVE_LCMS2_H 1
12570 _ACEOF
12574 done
12576 if test "$ac_cv_header_lcms2_h" = "yes"
12577 then
12578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12579 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12580 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12581 $as_echo_n "(cached) " >&6
12582 else
12583 ac_check_lib_save_LIBS=$LIBS
12584 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12586 /* end confdefs.h. */
12588 /* Override any GCC internal prototype to avoid an error.
12589 Use char because int might match the return type of a GCC
12590 builtin and then its argument prototype would still apply. */
12591 #ifdef __cplusplus
12592 extern "C"
12593 #endif
12594 char cmsOpenProfileFromFile ();
12596 main ()
12598 return cmsOpenProfileFromFile ();
12600 return 0;
12602 _ACEOF
12603 if ac_fn_c_try_link "$LINENO"; then :
12604 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12605 else
12606 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12608 rm -f core conftest.err conftest.$ac_objext \
12609 conftest$ac_exeext conftest.$ac_ext
12610 LIBS=$ac_check_lib_save_LIBS
12612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12613 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12614 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12616 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12618 else
12619 LCMS2_LIBS=""
12622 else
12623 LCMS2_CFLAGS=""
12624 LCMS2_LIBS=""
12626 CPPFLAGS=$ac_save_CPPFLAGS
12627 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12628 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12631 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12632 case "x$with_cms" in
12633 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12634 xno) ;;
12635 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12636 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12637 esac
12641 if test "x$with_freetype" != "xno"
12642 then
12643 if ${FREETYPE_CFLAGS:+false} :; then :
12644 if ${PKG_CONFIG+:} false; then :
12645 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12648 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12649 if ${FREETYPE_LIBS:+false} :; then :
12650 if ${PKG_CONFIG+:} false; then :
12651 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12654 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12655 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12656 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12657 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12658 ac_save_CPPFLAGS=$CPPFLAGS
12659 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12660 for ac_header in ft2build.h
12661 do :
12662 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12663 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12664 cat >>confdefs.h <<_ACEOF
12665 #define HAVE_FT2BUILD_H 1
12666 _ACEOF
12670 done
12672 if test "$ac_cv_header_ft2build_h" = "yes"
12673 then
12674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12675 $as_echo_n "checking for -lfreetype... " >&6; }
12676 if ${ac_cv_lib_soname_freetype+:} false; then :
12677 $as_echo_n "(cached) " >&6
12678 else
12679 ac_check_soname_save_LIBS=$LIBS
12680 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12682 /* end confdefs.h. */
12684 /* Override any GCC internal prototype to avoid an error.
12685 Use char because int might match the return type of a GCC
12686 builtin and then its argument prototype would still apply. */
12687 #ifdef __cplusplus
12688 extern "C"
12689 #endif
12690 char FT_Init_FreeType ();
12692 main ()
12694 return FT_Init_FreeType ();
12696 return 0;
12698 _ACEOF
12699 if ac_fn_c_try_link "$LINENO"; then :
12700 case "$LIBEXT" in
12701 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12702 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'` ;;
12703 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12704 if ${ac_cv_lib_soname_freetype:+false} :; then :
12705 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12706 fi ;;
12707 esac
12709 rm -f core conftest.err conftest.$ac_objext \
12710 conftest$ac_exeext conftest.$ac_ext
12711 LIBS=$ac_check_soname_save_LIBS
12713 if ${ac_cv_lib_soname_freetype:+false} :; then :
12714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12715 $as_echo "not found" >&6; }
12716 FREETYPE_LIBS=""
12717 else
12718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12719 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12721 cat >>confdefs.h <<_ACEOF
12722 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12723 _ACEOF
12726 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12728 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12729 #include FT_MODULE_H
12731 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12733 cat >>confdefs.h <<_ACEOF
12734 #define HAVE_FT_TRUETYPEENGINETYPE 1
12735 _ACEOF
12741 else
12742 FREETYPE_CFLAGS=""
12743 FREETYPE_LIBS=""
12745 CPPFLAGS=$ac_save_CPPFLAGS
12746 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12747 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12750 if test "x$ac_cv_lib_soname_freetype" = x; then :
12751 case "x$with_freetype" in
12752 xno) ;;
12753 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12754 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12755 esac
12756 enable_fonts=${enable_fonts:-no}
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12760 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12761 if ${ac_cv_c_ppdev+:} false; then :
12762 $as_echo_n "(cached) " >&6
12763 else
12764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12765 /* end confdefs.h. */
12766 #ifdef HAVE_SYS_IOCTL_H
12767 # include <sys/ioctl.h>
12768 #endif
12769 #include <linux/ppdev.h>
12771 main ()
12773 ioctl (1,PPCLAIM,0)
12775 return 0;
12777 _ACEOF
12778 if ac_fn_c_try_compile "$LINENO"; then :
12779 ac_cv_c_ppdev="yes"
12780 else
12781 ac_cv_c_ppdev="no"
12783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12786 $as_echo "$ac_cv_c_ppdev" >&6; }
12787 if test "$ac_cv_c_ppdev" = "yes"
12788 then
12790 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12794 ac_wine_check_funcs_save_LIBS="$LIBS"
12795 LIBS="$LIBS $PTHREAD_LIBS"
12796 for ac_func in \
12797 pthread_attr_get_np \
12798 pthread_getattr_np \
12799 pthread_getthreadid_np \
12800 pthread_get_stackaddr_np \
12801 pthread_get_stacksize_np
12802 do :
12803 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12804 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12805 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12806 cat >>confdefs.h <<_ACEOF
12807 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12808 _ACEOF
12811 done
12813 LIBS="$ac_wine_check_funcs_save_LIBS"
12815 if test "$ac_cv_header_zlib_h" = "yes"
12816 then
12817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12818 $as_echo_n "checking for inflate in -lz... " >&6; }
12819 if ${ac_cv_lib_z_inflate+:} false; then :
12820 $as_echo_n "(cached) " >&6
12821 else
12822 ac_check_lib_save_LIBS=$LIBS
12823 LIBS="-lz $LIBS"
12824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12825 /* end confdefs.h. */
12827 /* Override any GCC internal prototype to avoid an error.
12828 Use char because int might match the return type of a GCC
12829 builtin and then its argument prototype would still apply. */
12830 #ifdef __cplusplus
12831 extern "C"
12832 #endif
12833 char inflate ();
12835 main ()
12837 return inflate ();
12839 return 0;
12841 _ACEOF
12842 if ac_fn_c_try_link "$LINENO"; then :
12843 ac_cv_lib_z_inflate=yes
12844 else
12845 ac_cv_lib_z_inflate=no
12847 rm -f core conftest.err conftest.$ac_objext \
12848 conftest$ac_exeext conftest.$ac_ext
12849 LIBS=$ac_check_lib_save_LIBS
12851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12852 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12853 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12855 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12857 Z_LIBS="-lz"
12862 if test "x$Z_LIBS" = "x"; then :
12863 case "x$with_zlib" in
12864 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12865 xno) ;;
12866 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12867 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12868 esac
12872 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12873 then
12874 if test "$ac_cv_header_gettext_po_h" = "yes"
12875 then
12876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12877 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12878 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12879 $as_echo_n "(cached) " >&6
12880 else
12881 ac_check_lib_save_LIBS=$LIBS
12882 LIBS="-lgettextpo $LIBS"
12883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12884 /* end confdefs.h. */
12886 /* Override any GCC internal prototype to avoid an error.
12887 Use char because int might match the return type of a GCC
12888 builtin and then its argument prototype would still apply. */
12889 #ifdef __cplusplus
12890 extern "C"
12891 #endif
12892 char po_message_msgctxt ();
12894 main ()
12896 return po_message_msgctxt ();
12898 return 0;
12900 _ACEOF
12901 if ac_fn_c_try_link "$LINENO"; then :
12902 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12903 else
12904 ac_cv_lib_gettextpo_po_message_msgctxt=no
12906 rm -f core conftest.err conftest.$ac_objext \
12907 conftest$ac_exeext conftest.$ac_ext
12908 LIBS=$ac_check_lib_save_LIBS
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12911 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12912 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12914 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12916 GETTEXTPO_LIBS="-lgettextpo"
12921 if test "x$GETTEXTPO_LIBS" = "x"; then :
12922 case "x$with_gettextpo" in
12923 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12924 xno) ;;
12925 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12926 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12927 esac
12930 if test "$srcdir" != .; then :
12931 case "x$with_gettextpo" in
12932 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12933 xno) ;;
12934 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12935 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12936 esac
12941 if test "x$with_pulse" != "xno";
12942 then
12943 if ${PULSE_CFLAGS:+false} :; then :
12944 if ${PKG_CONFIG+:} false; then :
12945 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12949 if ${PULSE_LIBS:+false} :; then :
12950 if ${PKG_CONFIG+:} false; then :
12951 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12956 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12957 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12958 ac_save_CPPFLAGS=$CPPFLAGS
12959 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12960 for ac_header in pulse/pulseaudio.h
12961 do :
12962 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12963 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12964 cat >>confdefs.h <<_ACEOF
12965 #define HAVE_PULSE_PULSEAUDIO_H 1
12966 _ACEOF
12967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12968 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12969 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12970 $as_echo_n "(cached) " >&6
12971 else
12972 ac_check_lib_save_LIBS=$LIBS
12973 LIBS="-lpulse $PULSE_LIBS $LIBS"
12974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12975 /* end confdefs.h. */
12977 /* Override any GCC internal prototype to avoid an error.
12978 Use char because int might match the return type of a GCC
12979 builtin and then its argument prototype would still apply. */
12980 #ifdef __cplusplus
12981 extern "C"
12982 #endif
12983 char pa_stream_is_corked ();
12985 main ()
12987 return pa_stream_is_corked ();
12989 return 0;
12991 _ACEOF
12992 if ac_fn_c_try_link "$LINENO"; then :
12993 ac_cv_lib_pulse_pa_stream_is_corked=yes
12994 else
12995 ac_cv_lib_pulse_pa_stream_is_corked=no
12997 rm -f core conftest.err conftest.$ac_objext \
12998 conftest$ac_exeext conftest.$ac_ext
12999 LIBS=$ac_check_lib_save_LIBS
13001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
13002 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
13003 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
13005 else
13006 PULSE_LIBS=""
13009 else
13010 PULSE_LIBS=""
13013 done
13015 CPPFLAGS=$ac_save_CPPFLAGS
13016 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13017 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13020 if test -z "$PULSE_LIBS"; then :
13021 case "x$with_pulse" in
13022 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13023 xno) ;;
13024 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13025 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13026 esac
13027 enable_winepulse_drv=${enable_winepulse_drv:-no}
13030 if test "x$with_gstreamer" != "xno"
13031 then
13032 if ${GSTREAMER_CFLAGS:+false} :; then :
13033 if ${PKG_CONFIG+:} false; then :
13034 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13038 if ${GSTREAMER_LIBS:+false} :; then :
13039 if ${PKG_CONFIG+:} false; then :
13040 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13045 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13046 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13047 ac_save_CPPFLAGS=$CPPFLAGS
13048 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13049 ac_gst_incl=""
13050 for i in $GSTREAMER_CFLAGS
13052 case "$i" in
13053 -I*) ac_gst_incl="$ac_gst_incl $i";;
13054 esac
13055 done
13056 GSTREAMER_CFLAGS=$ac_gst_incl
13057 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13058 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13059 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13061 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13063 /* end confdefs.h. */
13064 #include <gst/gst.h>
13066 main ()
13068 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13070 return 0;
13072 _ACEOF
13073 if ac_fn_c_try_compile "$LINENO"; then :
13074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13075 $as_echo "yes" >&6; }
13076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13077 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13078 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13079 $as_echo_n "(cached) " >&6
13080 else
13081 ac_check_lib_save_LIBS=$LIBS
13082 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13084 /* end confdefs.h. */
13086 /* Override any GCC internal prototype to avoid an error.
13087 Use char because int might match the return type of a GCC
13088 builtin and then its argument prototype would still apply. */
13089 #ifdef __cplusplus
13090 extern "C"
13091 #endif
13092 char gst_pad_new ();
13094 main ()
13096 return gst_pad_new ();
13098 return 0;
13100 _ACEOF
13101 if ac_fn_c_try_link "$LINENO"; then :
13102 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13103 else
13104 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13106 rm -f core conftest.err conftest.$ac_objext \
13107 conftest$ac_exeext conftest.$ac_ext
13108 LIBS=$ac_check_lib_save_LIBS
13110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13111 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13112 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13116 else
13117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13118 $as_echo "no" >&6; }
13119 ac_glib2_broken=yes
13120 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13126 CPPFLAGS=$ac_save_CPPFLAGS
13127 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13128 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13131 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes ; then :
13132 case "x$with_gstreamer" in
13133 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13134 xno) ;;
13135 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13136 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13137 esac
13140 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13142 ALSA_LIBS=""
13144 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13145 then
13146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13147 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13148 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13149 $as_echo_n "(cached) " >&6
13150 else
13151 ac_check_lib_save_LIBS=$LIBS
13152 LIBS="-lasound $LIBS"
13153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13154 /* end confdefs.h. */
13156 /* Override any GCC internal prototype to avoid an error.
13157 Use char because int might match the return type of a GCC
13158 builtin and then its argument prototype would still apply. */
13159 #ifdef __cplusplus
13160 extern "C"
13161 #endif
13162 char snd_pcm_hw_params_get_access_mask ();
13164 main ()
13166 return snd_pcm_hw_params_get_access_mask ();
13168 return 0;
13170 _ACEOF
13171 if ac_fn_c_try_link "$LINENO"; then :
13172 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13173 else
13174 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13176 rm -f core conftest.err conftest.$ac_objext \
13177 conftest$ac_exeext conftest.$ac_ext
13178 LIBS=$ac_check_lib_save_LIBS
13180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13181 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13182 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13184 /* end confdefs.h. */
13185 #ifdef HAVE_ALSA_ASOUNDLIB_H
13186 #include <alsa/asoundlib.h>
13187 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13188 #include <sys/asoundlib.h>
13189 #endif
13191 main ()
13193 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13195 return 0;
13197 _ACEOF
13198 if ac_fn_c_try_compile "$LINENO"; then :
13199 ALSA_LIBS="-lasound"
13201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13205 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13207 if test "x$with_oss" != xno
13208 then
13209 ac_save_CPPFLAGS="$CPPFLAGS"
13210 if test -f /etc/oss.conf
13211 then
13212 . /etc/oss.conf
13214 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13215 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13216 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13217 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13218 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13220 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13222 cat >>confdefs.h <<_ACEOF
13223 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13224 _ACEOF
13226 OSS4_CFLAGS="$ac_oss_incl"
13233 CPPFLAGS="$ac_save_CPPFLAGS"
13235 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13236 case "x$with_oss" in
13237 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13238 xno) ;;
13239 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13240 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13241 esac
13242 enable_wineoss_drv=${enable_wineoss_drv:-no}
13245 if test "x$with_udev" != "xno"
13246 then
13247 if ${UDEV_CFLAGS:+false} :; then :
13248 if ${PKG_CONFIG+:} false; then :
13249 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13253 if ${UDEV_LIBS:+false} :; then :
13254 if ${PKG_CONFIG+:} false; then :
13255 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13259 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13260 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13261 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13262 ac_save_CPPFLAGS=$CPPFLAGS
13263 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13264 for ac_header in libudev.h
13265 do :
13266 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13267 if test "x$ac_cv_header_libudev_h" = xyes; then :
13268 cat >>confdefs.h <<_ACEOF
13269 #define HAVE_LIBUDEV_H 1
13270 _ACEOF
13271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13272 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13273 if ${ac_cv_lib_udev_udev_new+:} false; then :
13274 $as_echo_n "(cached) " >&6
13275 else
13276 ac_check_lib_save_LIBS=$LIBS
13277 LIBS="-ludev $UDEV_LIBS $LIBS"
13278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13279 /* end confdefs.h. */
13281 /* Override any GCC internal prototype to avoid an error.
13282 Use char because int might match the return type of a GCC
13283 builtin and then its argument prototype would still apply. */
13284 #ifdef __cplusplus
13285 extern "C"
13286 #endif
13287 char udev_new ();
13289 main ()
13291 return udev_new ();
13293 return 0;
13295 _ACEOF
13296 if ac_fn_c_try_link "$LINENO"; then :
13297 ac_cv_lib_udev_udev_new=yes
13298 else
13299 ac_cv_lib_udev_udev_new=no
13301 rm -f core conftest.err conftest.$ac_objext \
13302 conftest$ac_exeext conftest.$ac_ext
13303 LIBS=$ac_check_lib_save_LIBS
13305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13306 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13307 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13309 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13311 else
13312 UDEV_LIBS=""
13315 else
13316 UDEV_LIBS=""
13319 done
13321 CPPFLAGS=$ac_save_CPPFLAGS
13322 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13323 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13326 if test "x$UDEV_LIBS" = "x"; then :
13327 case "x$with_udev" in
13328 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13329 xno) ;;
13330 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13331 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13332 esac
13336 if test "x$with_capi" != "xno"
13337 then
13338 if ${CAPI20_CFLAGS:+false} :; then :
13339 if ${PKG_CONFIG+:} false; then :
13340 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13344 if ${CAPI20_LIBS:+false} :; then :
13345 if ${PKG_CONFIG+:} false; then :
13346 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13351 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13352 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13353 ac_save_CPPFLAGS=$CPPFLAGS
13354 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13355 for ac_header in capi20.h linux/capi.h
13356 do :
13357 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13358 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13360 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13361 cat >>confdefs.h <<_ACEOF
13362 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13363 _ACEOF
13367 done
13369 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13370 then
13371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13372 $as_echo_n "checking for -lcapi20... " >&6; }
13373 if ${ac_cv_lib_soname_capi20+:} false; then :
13374 $as_echo_n "(cached) " >&6
13375 else
13376 ac_check_soname_save_LIBS=$LIBS
13377 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13379 /* end confdefs.h. */
13381 /* Override any GCC internal prototype to avoid an error.
13382 Use char because int might match the return type of a GCC
13383 builtin and then its argument prototype would still apply. */
13384 #ifdef __cplusplus
13385 extern "C"
13386 #endif
13387 char capi20_register ();
13389 main ()
13391 return capi20_register ();
13393 return 0;
13395 _ACEOF
13396 if ac_fn_c_try_link "$LINENO"; then :
13397 case "$LIBEXT" in
13398 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13399 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'` ;;
13400 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13401 if ${ac_cv_lib_soname_capi20:+false} :; then :
13402 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13403 fi ;;
13404 esac
13406 rm -f core conftest.err conftest.$ac_objext \
13407 conftest$ac_exeext conftest.$ac_ext
13408 LIBS=$ac_check_soname_save_LIBS
13410 if ${ac_cv_lib_soname_capi20:+false} :; then :
13411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13412 $as_echo "not found" >&6; }
13414 else
13415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13416 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13418 cat >>confdefs.h <<_ACEOF
13419 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13420 _ACEOF
13425 CPPFLAGS=$ac_save_CPPFLAGS
13426 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13427 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13430 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13431 case "x$with_capi" in
13432 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13433 xno) ;;
13434 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13435 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13436 esac
13440 CUPS_CFLAGS=""
13442 if test "x$with_cups" != "xno"
13443 then
13444 ac_save_CPPFLAGS="$CPPFLAGS"
13445 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13446 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13447 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13448 for ac_header in cups/cups.h
13449 do :
13450 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13451 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13452 cat >>confdefs.h <<_ACEOF
13453 #define HAVE_CUPS_CUPS_H 1
13454 _ACEOF
13455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13456 $as_echo_n "checking for -lcups... " >&6; }
13457 if ${ac_cv_lib_soname_cups+:} false; then :
13458 $as_echo_n "(cached) " >&6
13459 else
13460 ac_check_soname_save_LIBS=$LIBS
13461 LIBS="-lcups $ac_cups_libs $LIBS"
13462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13463 /* end confdefs.h. */
13465 /* Override any GCC internal prototype to avoid an error.
13466 Use char because int might match the return type of a GCC
13467 builtin and then its argument prototype would still apply. */
13468 #ifdef __cplusplus
13469 extern "C"
13470 #endif
13471 char cupsGetDefault ();
13473 main ()
13475 return cupsGetDefault ();
13477 return 0;
13479 _ACEOF
13480 if ac_fn_c_try_link "$LINENO"; then :
13481 case "$LIBEXT" in
13482 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13483 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'` ;;
13484 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13485 if ${ac_cv_lib_soname_cups:+false} :; then :
13486 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13487 fi ;;
13488 esac
13490 rm -f core conftest.err conftest.$ac_objext \
13491 conftest$ac_exeext conftest.$ac_ext
13492 LIBS=$ac_check_soname_save_LIBS
13494 if ${ac_cv_lib_soname_cups:+false} :; then :
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13496 $as_echo "not found" >&6; }
13498 else
13499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13500 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13502 cat >>confdefs.h <<_ACEOF
13503 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13504 _ACEOF
13506 CUPS_CFLAGS="$ac_cups_cflags"
13508 for ac_header in cups/ppd.h
13509 do :
13510 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13511 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13512 cat >>confdefs.h <<_ACEOF
13513 #define HAVE_CUPS_PPD_H 1
13514 _ACEOF
13518 done
13522 done
13524 CPPFLAGS="$ac_save_CPPFLAGS"
13526 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13527 case "x$with_cups" in
13528 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13529 xno) ;;
13530 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13531 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13532 esac
13536 if test "x$with_fontconfig" != "xno"
13537 then
13538 if ${FONTCONFIG_CFLAGS:+false} :; then :
13539 if ${PKG_CONFIG+:} false; then :
13540 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13543 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13544 if ${FONTCONFIG_LIBS:+false} :; then :
13545 if ${PKG_CONFIG+:} false; then :
13546 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13549 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13551 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13552 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13553 ac_save_CPPFLAGS=$CPPFLAGS
13554 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13555 for ac_header in fontconfig/fontconfig.h
13556 do :
13557 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13558 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13559 cat >>confdefs.h <<_ACEOF
13560 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13561 _ACEOF
13565 done
13567 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13568 then
13569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13570 $as_echo_n "checking for -lfontconfig... " >&6; }
13571 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13572 $as_echo_n "(cached) " >&6
13573 else
13574 ac_check_soname_save_LIBS=$LIBS
13575 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13577 /* end confdefs.h. */
13579 /* Override any GCC internal prototype to avoid an error.
13580 Use char because int might match the return type of a GCC
13581 builtin and then its argument prototype would still apply. */
13582 #ifdef __cplusplus
13583 extern "C"
13584 #endif
13585 char FcInit ();
13587 main ()
13589 return FcInit ();
13591 return 0;
13593 _ACEOF
13594 if ac_fn_c_try_link "$LINENO"; then :
13595 case "$LIBEXT" in
13596 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13597 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'` ;;
13598 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13599 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13600 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13601 fi ;;
13602 esac
13604 rm -f core conftest.err conftest.$ac_objext \
13605 conftest$ac_exeext conftest.$ac_ext
13606 LIBS=$ac_check_soname_save_LIBS
13608 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13610 $as_echo "not found" >&6; }
13611 FONTCONFIG_CFLAGS=""
13612 else
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13614 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13616 cat >>confdefs.h <<_ACEOF
13617 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13618 _ACEOF
13622 else
13623 FONTCONFIG_CFLAGS=""
13625 CPPFLAGS=$ac_save_CPPFLAGS
13626 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13627 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13630 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13631 case "x$with_fontconfig" in
13632 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13633 xno) ;;
13634 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13635 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13636 esac
13640 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13641 then
13642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13643 $as_echo_n "checking for -lgsm... " >&6; }
13644 if ${ac_cv_lib_soname_gsm+:} false; then :
13645 $as_echo_n "(cached) " >&6
13646 else
13647 ac_check_soname_save_LIBS=$LIBS
13648 LIBS="-lgsm $LIBS"
13649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13650 /* end confdefs.h. */
13652 /* Override any GCC internal prototype to avoid an error.
13653 Use char because int might match the return type of a GCC
13654 builtin and then its argument prototype would still apply. */
13655 #ifdef __cplusplus
13656 extern "C"
13657 #endif
13658 char gsm_create ();
13660 main ()
13662 return gsm_create ();
13664 return 0;
13666 _ACEOF
13667 if ac_fn_c_try_link "$LINENO"; then :
13668 case "$LIBEXT" in
13669 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13670 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'` ;;
13671 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13672 if ${ac_cv_lib_soname_gsm:+false} :; then :
13673 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13674 fi ;;
13675 esac
13677 rm -f core conftest.err conftest.$ac_objext \
13678 conftest$ac_exeext conftest.$ac_ext
13679 LIBS=$ac_check_soname_save_LIBS
13681 if ${ac_cv_lib_soname_gsm:+false} :; then :
13682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13683 $as_echo "not found" >&6; }
13685 else
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13687 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13689 cat >>confdefs.h <<_ACEOF
13690 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13691 _ACEOF
13696 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13697 case "x$with_gsm" in
13698 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13699 xno) ;;
13700 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13701 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13702 esac
13706 if test "x$with_jpeg" != "xno"
13707 then
13708 if ${JPEG_CFLAGS:+false} :; then :
13709 if ${PKG_CONFIG+:} false; then :
13710 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13714 if ${JPEG_LIBS:+false} :; then :
13715 if ${PKG_CONFIG+:} false; then :
13716 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13721 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13722 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13723 ac_save_CPPFLAGS=$CPPFLAGS
13724 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13725 for ac_header in jpeglib.h
13726 do :
13727 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13728 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13729 cat >>confdefs.h <<_ACEOF
13730 #define HAVE_JPEGLIB_H 1
13731 _ACEOF
13735 done
13737 if test "$ac_cv_header_jpeglib_h" = "yes"
13738 then
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13740 $as_echo_n "checking for -ljpeg... " >&6; }
13741 if ${ac_cv_lib_soname_jpeg+:} false; then :
13742 $as_echo_n "(cached) " >&6
13743 else
13744 ac_check_soname_save_LIBS=$LIBS
13745 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13747 /* end confdefs.h. */
13749 /* Override any GCC internal prototype to avoid an error.
13750 Use char because int might match the return type of a GCC
13751 builtin and then its argument prototype would still apply. */
13752 #ifdef __cplusplus
13753 extern "C"
13754 #endif
13755 char jpeg_start_decompress ();
13757 main ()
13759 return jpeg_start_decompress ();
13761 return 0;
13763 _ACEOF
13764 if ac_fn_c_try_link "$LINENO"; then :
13765 case "$LIBEXT" in
13766 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13767 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'` ;;
13768 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13769 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13770 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13771 fi ;;
13772 esac
13774 rm -f core conftest.err conftest.$ac_objext \
13775 conftest$ac_exeext conftest.$ac_ext
13776 LIBS=$ac_check_soname_save_LIBS
13778 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13780 $as_echo "not found" >&6; }
13781 JPEG_CFLAGS=""
13782 else
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13784 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13786 cat >>confdefs.h <<_ACEOF
13787 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13788 _ACEOF
13792 else
13793 JPEG_CFLAGS=""
13795 CPPFLAGS=$ac_save_CPPFLAGS
13796 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13797 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13800 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13801 case "x$with_jpeg" in
13802 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13803 xno) ;;
13804 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13805 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13806 esac
13810 if test "x$with_png" != "xno"
13811 then
13812 if ${PNG_CFLAGS:+false} :; then :
13813 if ${PKG_CONFIG+:} false; then :
13814 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13817 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13818 if ${PNG_LIBS:+false} :; then :
13819 if ${PKG_CONFIG+:} false; then :
13820 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13823 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13825 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13826 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13827 ac_save_CPPFLAGS=$CPPFLAGS
13828 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13829 for ac_header in png.h
13830 do :
13831 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13832 if test "x$ac_cv_header_png_h" = xyes; then :
13833 cat >>confdefs.h <<_ACEOF
13834 #define HAVE_PNG_H 1
13835 _ACEOF
13839 done
13841 if test "$ac_cv_header_png_h" = "yes"
13842 then
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13844 $as_echo_n "checking for -lpng... " >&6; }
13845 if ${ac_cv_lib_soname_png+:} false; then :
13846 $as_echo_n "(cached) " >&6
13847 else
13848 ac_check_soname_save_LIBS=$LIBS
13849 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13851 /* end confdefs.h. */
13853 /* Override any GCC internal prototype to avoid an error.
13854 Use char because int might match the return type of a GCC
13855 builtin and then its argument prototype would still apply. */
13856 #ifdef __cplusplus
13857 extern "C"
13858 #endif
13859 char png_create_read_struct ();
13861 main ()
13863 return png_create_read_struct ();
13865 return 0;
13867 _ACEOF
13868 if ac_fn_c_try_link "$LINENO"; then :
13869 case "$LIBEXT" in
13870 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13871 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'` ;;
13872 *) 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'`
13873 if ${ac_cv_lib_soname_png:+false} :; then :
13874 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13875 fi ;;
13876 esac
13878 rm -f core conftest.err conftest.$ac_objext \
13879 conftest$ac_exeext conftest.$ac_ext
13880 LIBS=$ac_check_soname_save_LIBS
13882 if ${ac_cv_lib_soname_png:+false} :; then :
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13884 $as_echo "not found" >&6; }
13885 PNG_CFLAGS=""
13886 else
13887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13888 $as_echo "$ac_cv_lib_soname_png" >&6; }
13890 cat >>confdefs.h <<_ACEOF
13891 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13892 _ACEOF
13896 else
13897 PNG_CFLAGS=""
13899 CPPFLAGS=$ac_save_CPPFLAGS
13900 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13901 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13904 if test "x$ac_cv_lib_soname_png" = "x"; then :
13905 case "x$with_png" in
13906 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13907 xno) ;;
13908 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13909 This is an error since --with-png was requested." "$LINENO" 5 ;;
13910 esac
13914 if test "x$with_tiff" != "xno"
13915 then
13916 if ${TIFF_CFLAGS:+false} :; then :
13917 if ${PKG_CONFIG+:} false; then :
13918 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13922 if ${TIFF_LIBS:+false} :; then :
13923 if ${PKG_CONFIG+:} false; then :
13924 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13929 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13930 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13931 ac_save_CPPFLAGS=$CPPFLAGS
13932 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13933 for ac_header in tiffio.h
13934 do :
13935 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13936 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13937 cat >>confdefs.h <<_ACEOF
13938 #define HAVE_TIFFIO_H 1
13939 _ACEOF
13943 done
13945 if test "$ac_cv_header_tiffio_h" = "yes"
13946 then
13947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13948 $as_echo_n "checking for -ltiff... " >&6; }
13949 if ${ac_cv_lib_soname_tiff+:} false; then :
13950 $as_echo_n "(cached) " >&6
13951 else
13952 ac_check_soname_save_LIBS=$LIBS
13953 LIBS="-ltiff $TIFF_LIBS $LIBS"
13954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13955 /* end confdefs.h. */
13957 /* Override any GCC internal prototype to avoid an error.
13958 Use char because int might match the return type of a GCC
13959 builtin and then its argument prototype would still apply. */
13960 #ifdef __cplusplus
13961 extern "C"
13962 #endif
13963 char TIFFClientOpen ();
13965 main ()
13967 return TIFFClientOpen ();
13969 return 0;
13971 _ACEOF
13972 if ac_fn_c_try_link "$LINENO"; then :
13973 case "$LIBEXT" in
13974 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13975 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'` ;;
13976 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13977 if ${ac_cv_lib_soname_tiff:+false} :; then :
13978 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13979 fi ;;
13980 esac
13982 rm -f core conftest.err conftest.$ac_objext \
13983 conftest$ac_exeext conftest.$ac_ext
13984 LIBS=$ac_check_soname_save_LIBS
13986 if ${ac_cv_lib_soname_tiff:+false} :; then :
13987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13988 $as_echo "not found" >&6; }
13990 else
13991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13992 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13994 cat >>confdefs.h <<_ACEOF
13995 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13996 _ACEOF
14001 CPPFLAGS=$ac_save_CPPFLAGS
14002 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14003 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14006 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14007 case "x$with_tiff" in
14008 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14009 xno) ;;
14010 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14011 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14012 esac
14016 if test "x$with_mpg123" != "xno"
14017 then
14018 if ${MPG123_CFLAGS:+false} :; then :
14019 if ${PKG_CONFIG+:} false; then :
14020 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14024 if ${MPG123_LIBS:+false} :; then :
14025 if ${PKG_CONFIG+:} false; then :
14026 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14030 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14031 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14032 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14033 ac_save_CPPFLAGS=$CPPFLAGS
14034 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14035 for ac_header in mpg123.h
14036 do :
14037 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14038 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14039 cat >>confdefs.h <<_ACEOF
14040 #define HAVE_MPG123_H 1
14041 _ACEOF
14045 done
14047 if test "$ac_cv_header_mpg123_h" = "yes"
14048 then
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14050 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14051 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14052 $as_echo_n "(cached) " >&6
14053 else
14054 ac_check_lib_save_LIBS=$LIBS
14055 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14057 /* end confdefs.h. */
14059 /* Override any GCC internal prototype to avoid an error.
14060 Use char because int might match the return type of a GCC
14061 builtin and then its argument prototype would still apply. */
14062 #ifdef __cplusplus
14063 extern "C"
14064 #endif
14065 char mpg123_feed ();
14067 main ()
14069 return mpg123_feed ();
14071 return 0;
14073 _ACEOF
14074 if ac_fn_c_try_link "$LINENO"; then :
14075 ac_cv_lib_mpg123_mpg123_feed=yes
14076 else
14077 ac_cv_lib_mpg123_mpg123_feed=no
14079 rm -f core conftest.err conftest.$ac_objext \
14080 conftest$ac_exeext conftest.$ac_ext
14081 LIBS=$ac_check_lib_save_LIBS
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14084 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14085 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14087 else
14088 MPG123_LIBS=""
14091 else
14092 MPG123_CFLAGS=""
14093 MPG123_LIBS=""
14095 CPPFLAGS=$ac_save_CPPFLAGS
14096 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14097 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14100 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14101 case "x$with_mpg123" in
14102 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14103 xno) ;;
14104 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14105 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14106 esac
14107 enable_winemp3_acm=${enable_winemp3_acm:-no}
14110 if test "$ac_cv_header_AL_al_h" = "yes"
14111 then
14112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14113 $as_echo_n "checking for -lopenal... " >&6; }
14114 if ${ac_cv_lib_soname_openal+:} false; then :
14115 $as_echo_n "(cached) " >&6
14116 else
14117 ac_check_soname_save_LIBS=$LIBS
14118 LIBS="-lopenal $LIBS"
14119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14120 /* end confdefs.h. */
14122 /* Override any GCC internal prototype to avoid an error.
14123 Use char because int might match the return type of a GCC
14124 builtin and then its argument prototype would still apply. */
14125 #ifdef __cplusplus
14126 extern "C"
14127 #endif
14128 char alGetSource3i ();
14130 main ()
14132 return alGetSource3i ();
14134 return 0;
14136 _ACEOF
14137 if ac_fn_c_try_link "$LINENO"; then :
14138 case "$LIBEXT" in
14139 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14140 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'` ;;
14141 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14142 if ${ac_cv_lib_soname_openal:+false} :; then :
14143 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14144 fi ;;
14145 esac
14147 rm -f core conftest.err conftest.$ac_objext \
14148 conftest$ac_exeext conftest.$ac_ext
14149 LIBS=$ac_check_soname_save_LIBS
14151 if ${ac_cv_lib_soname_openal:+false} :; then :
14152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14153 $as_echo "not found" >&6; }
14155 else
14156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14157 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14159 cat >>confdefs.h <<_ACEOF
14160 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14161 _ACEOF
14163 OPENAL_LIBS="-lopenal"
14165 ac_cv_lib_openal=yes
14167 cat >>confdefs.h <<_ACEOF
14168 #define HAVE_OPENAL 1
14169 _ACEOF
14173 if test "x$ac_cv_lib_openal" != xyes; then :
14174 case "x$with_openal" in
14175 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14176 xno) ;;
14177 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14178 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14179 esac
14180 enable_openal32=${enable_openal32:-no}
14183 if test "x$ac_cv_lib_openal" = xyes
14184 then
14185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14186 $as_echo_n "checking for openal-soft... " >&6; }
14187 if ${ac_cv_have_openalsoft+:} false; then :
14188 $as_echo_n "(cached) " >&6
14189 else
14190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14191 /* end confdefs.h. */
14192 #include <AL/al.h>
14193 #include <AL/alc.h>
14194 #include <AL/alext.h>
14195 LPALCRENDERSAMPLESSOFT x;
14197 main ()
14201 return 0;
14203 _ACEOF
14204 if ac_fn_c_try_compile "$LINENO"; then :
14205 ac_cv_have_openalsoft=yes
14206 else
14207 ac_cv_have_openalsoft=no
14209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14212 $as_echo "$ac_cv_have_openalsoft" >&6; }
14214 if test "x$ac_cv_have_openalsoft" != xyes
14215 then
14216 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14217 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14218 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14219 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14220 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14221 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14222 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14223 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14224 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14225 enable_xapofx1_1=${enable_xapofx1_1:-no}
14226 enable_xapofx1_2=${enable_xapofx1_2:-no}
14227 enable_xapofx1_3=${enable_xapofx1_3:-no}
14228 enable_xapofx1_4=${enable_xapofx1_4:-no}
14229 enable_xapofx1_5=${enable_xapofx1_5:-no}
14230 enable_xaudio2_0=${enable_xaudio2_0:-no}
14231 enable_xaudio2_1=${enable_xaudio2_1:-no}
14232 enable_xaudio2_2=${enable_xaudio2_2:-no}
14233 enable_xaudio2_3=${enable_xaudio2_3:-no}
14234 enable_xaudio2_4=${enable_xaudio2_4:-no}
14235 enable_xaudio2_5=${enable_xaudio2_5:-no}
14236 enable_xaudio2_6=${enable_xaudio2_6:-no}
14237 enable_xaudio2_7=${enable_xaudio2_7:-no}
14238 enable_xaudio2_8=${enable_xaudio2_8:-no}
14239 enable_xaudio2_9=${enable_xaudio2_9:-no}
14242 if test "$ac_cv_header_kstat_h" = "yes"
14243 then
14244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14245 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14246 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14247 $as_echo_n "(cached) " >&6
14248 else
14249 ac_check_lib_save_LIBS=$LIBS
14250 LIBS="-lkstat $LIBS"
14251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14252 /* end confdefs.h. */
14254 /* Override any GCC internal prototype to avoid an error.
14255 Use char because int might match the return type of a GCC
14256 builtin and then its argument prototype would still apply. */
14257 #ifdef __cplusplus
14258 extern "C"
14259 #endif
14260 char kstat_open ();
14262 main ()
14264 return kstat_open ();
14266 return 0;
14268 _ACEOF
14269 if ac_fn_c_try_link "$LINENO"; then :
14270 ac_cv_lib_kstat_kstat_open=yes
14271 else
14272 ac_cv_lib_kstat_kstat_open=no
14274 rm -f core conftest.err conftest.$ac_objext \
14275 conftest$ac_exeext conftest.$ac_ext
14276 LIBS=$ac_check_lib_save_LIBS
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14279 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14280 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14282 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14284 KSTAT_LIBS="-lkstat"
14290 if test "$ac_cv_header_libprocstat_h" = "yes"
14291 then
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14293 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14294 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14295 $as_echo_n "(cached) " >&6
14296 else
14297 ac_check_lib_save_LIBS=$LIBS
14298 LIBS="-lprocstat $LIBS"
14299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14300 /* end confdefs.h. */
14302 /* Override any GCC internal prototype to avoid an error.
14303 Use char because int might match the return type of a GCC
14304 builtin and then its argument prototype would still apply. */
14305 #ifdef __cplusplus
14306 extern "C"
14307 #endif
14308 char procstat_open_sysctl ();
14310 main ()
14312 return procstat_open_sysctl ();
14314 return 0;
14316 _ACEOF
14317 if ac_fn_c_try_link "$LINENO"; then :
14318 ac_cv_lib_procstat_procstat_open_sysctl=yes
14319 else
14320 ac_cv_lib_procstat_procstat_open_sysctl=no
14322 rm -f core conftest.err conftest.$ac_objext \
14323 conftest$ac_exeext conftest.$ac_ext
14324 LIBS=$ac_check_lib_save_LIBS
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14327 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14328 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14330 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14332 PROCSTAT_LIBS="-lprocstat"
14338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14339 $as_echo_n "checking for -lodbc... " >&6; }
14340 if ${ac_cv_lib_soname_odbc+:} false; then :
14341 $as_echo_n "(cached) " >&6
14342 else
14343 ac_check_soname_save_LIBS=$LIBS
14344 LIBS="-lodbc $LIBS"
14345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14346 /* end confdefs.h. */
14348 /* Override any GCC internal prototype to avoid an error.
14349 Use char because int might match the return type of a GCC
14350 builtin and then its argument prototype would still apply. */
14351 #ifdef __cplusplus
14352 extern "C"
14353 #endif
14354 char SQLConnect ();
14356 main ()
14358 return SQLConnect ();
14360 return 0;
14362 _ACEOF
14363 if ac_fn_c_try_link "$LINENO"; then :
14364 case "$LIBEXT" in
14365 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14366 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'` ;;
14367 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14368 if ${ac_cv_lib_soname_odbc:+false} :; then :
14369 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14370 fi ;;
14371 esac
14373 rm -f core conftest.err conftest.$ac_objext \
14374 conftest$ac_exeext conftest.$ac_ext
14375 LIBS=$ac_check_soname_save_LIBS
14377 if ${ac_cv_lib_soname_odbc:+false} :; then :
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14379 $as_echo "not found" >&6; }
14380 cat >>confdefs.h <<_ACEOF
14381 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14382 _ACEOF
14384 else
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14386 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14388 cat >>confdefs.h <<_ACEOF
14389 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14390 _ACEOF
14395 if test "x$with_netapi" != "xno"
14396 then
14397 if ${NETAPI_CFLAGS:+false} :; then :
14398 if ${PKG_CONFIG+:} false; then :
14399 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14403 if ${NETAPI_LIBS:+false} :; then :
14404 if ${PKG_CONFIG+:} false; then :
14405 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14410 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14411 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14412 ac_save_CPPFLAGS=$CPPFLAGS
14413 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14415 $as_echo_n "checking for -lnetapi... " >&6; }
14416 if ${ac_cv_lib_soname_netapi+:} false; then :
14417 $as_echo_n "(cached) " >&6
14418 else
14419 ac_check_soname_save_LIBS=$LIBS
14420 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14422 /* end confdefs.h. */
14424 /* Override any GCC internal prototype to avoid an error.
14425 Use char because int might match the return type of a GCC
14426 builtin and then its argument prototype would still apply. */
14427 #ifdef __cplusplus
14428 extern "C"
14429 #endif
14430 char libnetapi_init ();
14432 main ()
14434 return libnetapi_init ();
14436 return 0;
14438 _ACEOF
14439 if ac_fn_c_try_link "$LINENO"; then :
14440 case "$LIBEXT" in
14441 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14442 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'` ;;
14443 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14444 if ${ac_cv_lib_soname_netapi:+false} :; then :
14445 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14446 fi ;;
14447 esac
14449 rm -f core conftest.err conftest.$ac_objext \
14450 conftest$ac_exeext conftest.$ac_ext
14451 LIBS=$ac_check_soname_save_LIBS
14453 if ${ac_cv_lib_soname_netapi:+false} :; then :
14454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14455 $as_echo "not found" >&6; }
14456 cat >>confdefs.h <<_ACEOF
14457 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14458 _ACEOF
14460 else
14461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14462 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14464 cat >>confdefs.h <<_ACEOF
14465 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14466 _ACEOF
14470 CPPFLAGS=$ac_save_CPPFLAGS
14471 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14472 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14476 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14477 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14478 then
14479 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14483 EXTRACFLAGS=""
14485 if test "x${GCC}" = "xyes"
14486 then
14487 EXTRACFLAGS="-Wall -pipe"
14489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14490 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14491 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14492 $as_echo_n "(cached) " >&6
14493 else
14494 if test "$cross_compiling" = yes; then :
14495 ac_cv_c_gcc_strength_bug="no"
14496 else
14497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14498 /* end confdefs.h. */
14499 int L[4] = {0,1,2,3};
14501 main ()
14503 static int Array[3];
14504 unsigned int B = 3;
14505 int i;
14506 for(i=0; i<B; i++) Array[i] = i - 3;
14507 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14508 L[i] = 4;
14509 return (Array[1] != -2 || L[2] != 3)
14511 return 0;
14513 _ACEOF
14514 if ac_fn_c_try_run "$LINENO"; then :
14515 ac_cv_c_gcc_strength_bug="no"
14516 else
14517 ac_cv_c_gcc_strength_bug="yes"
14519 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14520 conftest.$ac_objext conftest.beam conftest.$ac_ext
14524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14525 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14526 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14527 then
14528 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14532 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14533 if ${ac_cv_cflags__fno_builtin+:} false; then :
14534 $as_echo_n "(cached) " >&6
14535 else
14536 ac_wine_try_cflags_saved=$CFLAGS
14537 CFLAGS="$CFLAGS -fno-builtin"
14538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14539 /* end confdefs.h. */
14540 int main(int argc, char **argv) { return 0; }
14541 _ACEOF
14542 if ac_fn_c_try_link "$LINENO"; then :
14543 ac_cv_cflags__fno_builtin=yes
14544 else
14545 ac_cv_cflags__fno_builtin=no
14547 rm -f core conftest.err conftest.$ac_objext \
14548 conftest$ac_exeext conftest.$ac_ext
14549 CFLAGS=$ac_wine_try_cflags_saved
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14552 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14553 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14554 BUILTINFLAG="-fno-builtin"
14557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14558 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14559 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14560 $as_echo_n "(cached) " >&6
14561 else
14562 ac_wine_try_cflags_saved=$CFLAGS
14563 CFLAGS="$CFLAGS -fno-strict-aliasing"
14564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14565 /* end confdefs.h. */
14566 int main(int argc, char **argv) { return 0; }
14567 _ACEOF
14568 if ac_fn_c_try_link "$LINENO"; then :
14569 ac_cv_cflags__fno_strict_aliasing=yes
14570 else
14571 ac_cv_cflags__fno_strict_aliasing=no
14573 rm -f core conftest.err conftest.$ac_objext \
14574 conftest$ac_exeext conftest.$ac_ext
14575 CFLAGS=$ac_wine_try_cflags_saved
14577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14578 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14579 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14580 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14583 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14584 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14585 $as_echo_n "(cached) " >&6
14586 else
14587 ac_wine_try_cflags_saved=$CFLAGS
14588 CFLAGS="$CFLAGS -fexcess-precision=standard"
14589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14590 /* end confdefs.h. */
14591 int main(int argc, char **argv) { return 0; }
14592 _ACEOF
14593 if ac_fn_c_try_link "$LINENO"; then :
14594 ac_cv_cflags__fexcess_precision_standard=yes
14595 else
14596 ac_cv_cflags__fexcess_precision_standard=no
14598 rm -f core conftest.err conftest.$ac_objext \
14599 conftest$ac_exeext conftest.$ac_ext
14600 CFLAGS=$ac_wine_try_cflags_saved
14602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14603 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14604 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14605 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14608 saved_CFLAGS=$CFLAGS
14609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14610 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14611 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14612 $as_echo_n "(cached) " >&6
14613 else
14614 ac_wine_try_cflags_saved=$CFLAGS
14615 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14617 /* end confdefs.h. */
14618 int main(int argc, char **argv) { return 0; }
14619 _ACEOF
14620 if ac_fn_c_try_link "$LINENO"; then :
14621 ac_cv_cflags__Werror_unknown_warning_option=yes
14622 else
14623 ac_cv_cflags__Werror_unknown_warning_option=no
14625 rm -f core conftest.err conftest.$ac_objext \
14626 conftest$ac_exeext conftest.$ac_ext
14627 CFLAGS=$ac_wine_try_cflags_saved
14629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14630 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14631 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14632 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14635 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14636 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14637 $as_echo_n "(cached) " >&6
14638 else
14639 ac_wine_try_cflags_saved=$CFLAGS
14640 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14642 /* end confdefs.h. */
14643 int main(int argc, char **argv) { return 0; }
14644 _ACEOF
14645 if ac_fn_c_try_link "$LINENO"; then :
14646 ac_cv_cflags__Wdeclaration_after_statement=yes
14647 else
14648 ac_cv_cflags__Wdeclaration_after_statement=no
14650 rm -f core conftest.err conftest.$ac_objext \
14651 conftest$ac_exeext conftest.$ac_ext
14652 CFLAGS=$ac_wine_try_cflags_saved
14654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14655 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14656 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14657 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14660 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14661 if ${ac_cv_cflags__Wempty_body+:} false; then :
14662 $as_echo_n "(cached) " >&6
14663 else
14664 ac_wine_try_cflags_saved=$CFLAGS
14665 CFLAGS="$CFLAGS -Wempty-body"
14666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14667 /* end confdefs.h. */
14668 int main(int argc, char **argv) { return 0; }
14669 _ACEOF
14670 if ac_fn_c_try_link "$LINENO"; then :
14671 ac_cv_cflags__Wempty_body=yes
14672 else
14673 ac_cv_cflags__Wempty_body=no
14675 rm -f core conftest.err conftest.$ac_objext \
14676 conftest$ac_exeext conftest.$ac_ext
14677 CFLAGS=$ac_wine_try_cflags_saved
14679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14680 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14681 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14682 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14685 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14686 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14687 $as_echo_n "(cached) " >&6
14688 else
14689 ac_wine_try_cflags_saved=$CFLAGS
14690 CFLAGS="$CFLAGS -Wignored-qualifiers"
14691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14692 /* end confdefs.h. */
14693 int main(int argc, char **argv) { return 0; }
14694 _ACEOF
14695 if ac_fn_c_try_link "$LINENO"; then :
14696 ac_cv_cflags__Wignored_qualifiers=yes
14697 else
14698 ac_cv_cflags__Wignored_qualifiers=no
14700 rm -f core conftest.err conftest.$ac_objext \
14701 conftest$ac_exeext conftest.$ac_ext
14702 CFLAGS=$ac_wine_try_cflags_saved
14704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14705 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14706 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14707 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14710 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14711 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14712 $as_echo_n "(cached) " >&6
14713 else
14714 ac_wine_try_cflags_saved=$CFLAGS
14715 CFLAGS="$CFLAGS -Wshift-overflow=2"
14716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14717 /* end confdefs.h. */
14718 int main(int argc, char **argv) { return 0; }
14719 _ACEOF
14720 if ac_fn_c_try_link "$LINENO"; then :
14721 ac_cv_cflags__Wshift_overflow_2=yes
14722 else
14723 ac_cv_cflags__Wshift_overflow_2=no
14725 rm -f core conftest.err conftest.$ac_objext \
14726 conftest$ac_exeext conftest.$ac_ext
14727 CFLAGS=$ac_wine_try_cflags_saved
14729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14730 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14731 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14732 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14735 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14736 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14737 $as_echo_n "(cached) " >&6
14738 else
14739 ac_wine_try_cflags_saved=$CFLAGS
14740 CFLAGS="$CFLAGS -Wstrict-prototypes"
14741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14742 /* end confdefs.h. */
14743 int main(int argc, char **argv) { return 0; }
14744 _ACEOF
14745 if ac_fn_c_try_link "$LINENO"; then :
14746 ac_cv_cflags__Wstrict_prototypes=yes
14747 else
14748 ac_cv_cflags__Wstrict_prototypes=no
14750 rm -f core conftest.err conftest.$ac_objext \
14751 conftest$ac_exeext conftest.$ac_ext
14752 CFLAGS=$ac_wine_try_cflags_saved
14754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14755 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14756 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14757 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14760 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14761 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14762 $as_echo_n "(cached) " >&6
14763 else
14764 ac_wine_try_cflags_saved=$CFLAGS
14765 CFLAGS="$CFLAGS -Wtype-limits"
14766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14767 /* end confdefs.h. */
14768 int main(int argc, char **argv) { return 0; }
14769 _ACEOF
14770 if ac_fn_c_try_link "$LINENO"; then :
14771 ac_cv_cflags__Wtype_limits=yes
14772 else
14773 ac_cv_cflags__Wtype_limits=no
14775 rm -f core conftest.err conftest.$ac_objext \
14776 conftest$ac_exeext conftest.$ac_ext
14777 CFLAGS=$ac_wine_try_cflags_saved
14779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14780 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14781 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14782 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14785 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14786 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14787 $as_echo_n "(cached) " >&6
14788 else
14789 ac_wine_try_cflags_saved=$CFLAGS
14790 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14792 /* end confdefs.h. */
14793 int main(int argc, char **argv) { return 0; }
14794 _ACEOF
14795 if ac_fn_c_try_link "$LINENO"; then :
14796 ac_cv_cflags__Wunused_but_set_parameter=yes
14797 else
14798 ac_cv_cflags__Wunused_but_set_parameter=no
14800 rm -f core conftest.err conftest.$ac_objext \
14801 conftest$ac_exeext conftest.$ac_ext
14802 CFLAGS=$ac_wine_try_cflags_saved
14804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14805 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14806 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14807 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14810 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14811 if ${ac_cv_cflags__Wvla+:} false; then :
14812 $as_echo_n "(cached) " >&6
14813 else
14814 ac_wine_try_cflags_saved=$CFLAGS
14815 CFLAGS="$CFLAGS -Wvla"
14816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14817 /* end confdefs.h. */
14818 int main(int argc, char **argv) { return 0; }
14819 _ACEOF
14820 if ac_fn_c_try_link "$LINENO"; then :
14821 ac_cv_cflags__Wvla=yes
14822 else
14823 ac_cv_cflags__Wvla=no
14825 rm -f core conftest.err conftest.$ac_objext \
14826 conftest$ac_exeext conftest.$ac_ext
14827 CFLAGS=$ac_wine_try_cflags_saved
14829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14830 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14831 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14832 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14835 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14836 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14837 $as_echo_n "(cached) " >&6
14838 else
14839 ac_wine_try_cflags_saved=$CFLAGS
14840 CFLAGS="$CFLAGS -Wwrite-strings"
14841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14842 /* end confdefs.h. */
14843 int main(int argc, char **argv) { return 0; }
14844 _ACEOF
14845 if ac_fn_c_try_link "$LINENO"; then :
14846 ac_cv_cflags__Wwrite_strings=yes
14847 else
14848 ac_cv_cflags__Wwrite_strings=no
14850 rm -f core conftest.err conftest.$ac_objext \
14851 conftest$ac_exeext conftest.$ac_ext
14852 CFLAGS=$ac_wine_try_cflags_saved
14854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14855 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14856 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14857 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14861 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14862 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14863 $as_echo_n "(cached) " >&6
14864 else
14865 ac_wine_try_cflags_saved=$CFLAGS
14866 CFLAGS="$CFLAGS -Wpointer-arith"
14867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14868 /* end confdefs.h. */
14869 int main(int argc, char **argv) { return 0; }
14870 _ACEOF
14871 if ac_fn_c_try_link "$LINENO"; then :
14872 ac_cv_cflags__Wpointer_arith=yes
14873 else
14874 ac_cv_cflags__Wpointer_arith=no
14876 rm -f core conftest.err conftest.$ac_objext \
14877 conftest$ac_exeext conftest.$ac_ext
14878 CFLAGS=$ac_wine_try_cflags_saved
14880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14881 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14882 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14883 saved_string_h_CFLAGS=$CFLAGS
14884 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14886 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14887 if ${ac_cv_c_string_h_warnings+:} false; then :
14888 $as_echo_n "(cached) " >&6
14889 else
14890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14891 /* end confdefs.h. */
14892 #include <string.h>
14894 main ()
14898 return 0;
14900 _ACEOF
14901 if ac_fn_c_try_compile "$LINENO"; then :
14902 ac_cv_c_string_h_warnings=no
14903 else
14904 ac_cv_c_string_h_warnings=yes
14906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14909 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14910 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14911 CFLAGS=$saved_string_h_CFLAGS
14914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14915 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14916 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14917 $as_echo_n "(cached) " >&6
14918 else
14919 ac_wine_try_cflags_saved=$CFLAGS
14920 CFLAGS="$CFLAGS -Wlogical-op"
14921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14922 /* end confdefs.h. */
14923 int main(int argc, char **argv) { return 0; }
14924 _ACEOF
14925 if ac_fn_c_try_link "$LINENO"; then :
14926 ac_cv_cflags__Wlogical_op=yes
14927 else
14928 ac_cv_cflags__Wlogical_op=no
14930 rm -f core conftest.err conftest.$ac_objext \
14931 conftest$ac_exeext conftest.$ac_ext
14932 CFLAGS=$ac_wine_try_cflags_saved
14934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14935 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14936 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14937 saved_string_h_CFLAGS=$CFLAGS
14938 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14940 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14941 if ${ac_cv_c_logicalop_noisy+:} false; then :
14942 $as_echo_n "(cached) " >&6
14943 else
14944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14945 /* end confdefs.h. */
14946 #include <string.h>
14947 char*f(const char *h,char n) {return strchr(h,n);}
14949 main ()
14953 return 0;
14955 _ACEOF
14956 if ac_fn_c_try_compile "$LINENO"; then :
14957 ac_cv_c_logicalop_noisy=no
14958 else
14959 ac_cv_c_logicalop_noisy=yes
14961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14964 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14965 CFLAGS=$saved_string_h_CFLAGS
14966 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14969 CFLAGS=$saved_CFLAGS
14971 for ac_flag in $CFLAGS; do
14972 case $ac_flag in
14973 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14974 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14975 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14976 $as_echo_n "(cached) " >&6
14977 else
14978 ac_wine_try_cflags_saved=$CFLAGS
14979 CFLAGS="$CFLAGS -gdwarf-2"
14980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14981 /* end confdefs.h. */
14982 int main(int argc, char **argv) { return 0; }
14983 _ACEOF
14984 if ac_fn_c_try_link "$LINENO"; then :
14985 ac_cv_cflags__gdwarf_2=yes
14986 else
14987 ac_cv_cflags__gdwarf_2=no
14989 rm -f core conftest.err conftest.$ac_objext \
14990 conftest$ac_exeext conftest.$ac_ext
14991 CFLAGS=$ac_wine_try_cflags_saved
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14994 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14995 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14996 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14999 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15000 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15001 $as_echo_n "(cached) " >&6
15002 else
15003 ac_wine_try_cflags_saved=$CFLAGS
15004 CFLAGS="$CFLAGS -gstrict-dwarf"
15005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15006 /* end confdefs.h. */
15007 int main(int argc, char **argv) { return 0; }
15008 _ACEOF
15009 if ac_fn_c_try_link "$LINENO"; then :
15010 ac_cv_cflags__gstrict_dwarf=yes
15011 else
15012 ac_cv_cflags__gstrict_dwarf=no
15014 rm -f core conftest.err conftest.$ac_objext \
15015 conftest$ac_exeext conftest.$ac_ext
15016 CFLAGS=$ac_wine_try_cflags_saved
15018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15019 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15020 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15021 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15022 fi ;;
15023 esac
15024 done
15026 case $host_cpu in
15027 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15028 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15029 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15030 $as_echo_n "(cached) " >&6
15031 else
15032 ac_wine_try_cflags_saved=$CFLAGS
15033 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15035 /* end confdefs.h. */
15036 int main(int argc, char **argv) { return 0; }
15037 _ACEOF
15038 if ac_fn_c_try_link "$LINENO"; then :
15039 ac_cv_cflags__fno_omit_frame_pointer=yes
15040 else
15041 ac_cv_cflags__fno_omit_frame_pointer=no
15043 rm -f core conftest.err conftest.$ac_objext \
15044 conftest$ac_exeext conftest.$ac_ext
15045 CFLAGS=$ac_wine_try_cflags_saved
15047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15048 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15049 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15050 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15051 fi ;;
15052 esac
15054 case $host in
15055 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15056 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15057 if ${ac_cv_cflags__Wno_format+:} false; then :
15058 $as_echo_n "(cached) " >&6
15059 else
15060 ac_wine_try_cflags_saved=$CFLAGS
15061 CFLAGS="$CFLAGS -Wno-format"
15062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15063 /* end confdefs.h. */
15064 int main(int argc, char **argv) { return 0; }
15065 _ACEOF
15066 if ac_fn_c_try_link "$LINENO"; then :
15067 ac_cv_cflags__Wno_format=yes
15068 else
15069 ac_cv_cflags__Wno_format=no
15071 rm -f core conftest.err conftest.$ac_objext \
15072 conftest$ac_exeext conftest.$ac_ext
15073 CFLAGS=$ac_wine_try_cflags_saved
15075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15076 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15077 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15078 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15079 fi ;;
15080 esac
15082 if test "x$enable_maintainer_mode" = "xyes"
15083 then
15084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15085 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15086 if ${ac_cv_cflags__Werror+:} false; then :
15087 $as_echo_n "(cached) " >&6
15088 else
15089 ac_wine_try_cflags_saved=$CFLAGS
15090 CFLAGS="$CFLAGS -Werror"
15091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15092 /* end confdefs.h. */
15093 int main(int argc, char **argv) { return 0; }
15094 _ACEOF
15095 if ac_fn_c_try_link "$LINENO"; then :
15096 ac_cv_cflags__Werror=yes
15097 else
15098 ac_cv_cflags__Werror=no
15100 rm -f core conftest.err conftest.$ac_objext \
15101 conftest$ac_exeext conftest.$ac_ext
15102 CFLAGS=$ac_wine_try_cflags_saved
15104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15105 $as_echo "$ac_cv_cflags__Werror" >&6; }
15106 if test "x$ac_cv_cflags__Werror" = xyes; then :
15107 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15111 saved_CFLAGS="$CFLAGS"
15112 CFLAGS="$CFLAGS -Werror"
15113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15114 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15115 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15116 $as_echo_n "(cached) " >&6
15117 else
15118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15119 /* end confdefs.h. */
15120 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15122 main ()
15126 return 0;
15128 _ACEOF
15129 if ac_fn_c_try_compile "$LINENO"; then :
15130 ac_cv_have_ms_hook_prologue="yes"
15131 else
15132 ac_cv_have_ms_hook_prologue="no"
15134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15137 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15138 CFLAGS="$saved_CFLAGS"
15139 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15140 then
15142 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15144 else
15145 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15152 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15153 if ${ac_cv_c_fortify_enabled+:} false; then :
15154 $as_echo_n "(cached) " >&6
15155 else
15156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15157 /* end confdefs.h. */
15158 #include <string.h>
15160 main ()
15162 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15163 #error Fortify enabled
15164 #endif
15166 return 0;
15168 _ACEOF
15169 if ac_fn_c_try_compile "$LINENO"; then :
15170 ac_cv_c_fortify_enabled=no
15171 else
15172 ac_cv_c_fortify_enabled=yes
15174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15177 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15178 if test "$ac_cv_c_fortify_enabled" = yes
15179 then
15180 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15185 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15186 if ${ac_cv_c_extern_prefix+:} false; then :
15187 $as_echo_n "(cached) " >&6
15188 else
15189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15190 /* end confdefs.h. */
15191 extern int ac_test;
15193 main ()
15195 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15197 return 0;
15199 _ACEOF
15200 if ac_fn_c_try_link "$LINENO"; then :
15201 ac_cv_c_extern_prefix="yes"
15202 else
15203 ac_cv_c_extern_prefix="no"
15205 rm -f core conftest.err conftest.$ac_objext \
15206 conftest$ac_exeext conftest.$ac_ext
15208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15209 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15211 case $host_cpu in
15212 *i[3456789]86*)
15213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15214 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15215 if ${ac_cv_c_stdcall_suffix+:} false; then :
15216 $as_echo_n "(cached) " >&6
15217 else
15218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15219 /* end confdefs.h. */
15220 #ifndef _MSC_VER
15221 #define __stdcall __attribute__((__stdcall__))
15222 #endif
15223 int __stdcall ac_test(int i) { return i; }
15225 main ()
15227 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15229 return 0;
15231 _ACEOF
15232 if ac_fn_c_try_link "$LINENO"; then :
15233 ac_cv_c_stdcall_suffix="yes"
15234 else
15235 ac_cv_c_stdcall_suffix="no"
15237 rm -f core conftest.err conftest.$ac_objext \
15238 conftest$ac_exeext conftest.$ac_ext
15240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15241 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15242 *) ac_cv_c_stdcall_suffix="no" ;;
15243 esac
15246 if test "$ac_cv_c_extern_prefix" = "yes"
15247 then
15248 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15250 asm_name_prefix="_"
15251 else
15252 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15254 asm_name_prefix=""
15258 if test "$ac_cv_c_stdcall_suffix" = "yes"
15259 then
15260 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15262 else
15263 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15269 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15270 if ${ac_cv_asm_func_def+:} false; then :
15271 $as_echo_n "(cached) " >&6
15272 else
15273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15274 /* end confdefs.h. */
15277 main ()
15279 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15281 return 0;
15283 _ACEOF
15284 if ac_fn_c_try_link "$LINENO"; then :
15285 ac_cv_asm_func_def=".def"
15286 else
15287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15288 /* end confdefs.h. */
15291 main ()
15293 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15295 return 0;
15297 _ACEOF
15298 if ac_fn_c_try_link "$LINENO"; then :
15299 ac_cv_asm_func_def=".type @function"
15300 else
15301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15302 /* end confdefs.h. */
15305 main ()
15307 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15309 return 0;
15311 _ACEOF
15312 if ac_fn_c_try_link "$LINENO"; then :
15313 ac_cv_asm_func_def=".type 2"
15314 else
15315 ac_cv_asm_func_def="unknown"
15317 rm -f core conftest.err conftest.$ac_objext \
15318 conftest$ac_exeext conftest.$ac_ext
15320 rm -f core conftest.err conftest.$ac_objext \
15321 conftest$ac_exeext conftest.$ac_ext
15323 rm -f core conftest.err conftest.$ac_objext \
15324 conftest$ac_exeext conftest.$ac_ext
15326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15327 $as_echo "$ac_cv_asm_func_def" >&6; }
15330 case "$ac_cv_asm_func_def" in
15331 ".def")
15332 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15334 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15335 ".type @function")
15336 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15338 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15339 ".type 2")
15340 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15342 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15344 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15346 asm_func_header="" ;;
15347 esac
15349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15350 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15351 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15352 $as_echo_n "(cached) " >&6
15353 else
15354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15355 /* end confdefs.h. */
15356 asm(".text\n\t.long 0");
15358 main ()
15362 return 0;
15364 _ACEOF
15365 if ac_fn_c_try_compile "$LINENO"; then :
15366 ac_cv_c_asm_outside_funcs="yes"
15367 else
15368 ac_cv_c_asm_outside_funcs="no"
15370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15373 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15376 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15377 if ${ac_cv_c_dot_previous+:} false; then :
15378 $as_echo_n "(cached) " >&6
15379 else
15380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15381 /* end confdefs.h. */
15384 main ()
15386 asm(".text\nac_test:\t.long 0\n\t.previous");
15388 return 0;
15390 _ACEOF
15391 if ac_fn_c_try_link "$LINENO"; then :
15392 ac_cv_c_dot_previous="yes"
15393 else
15394 ac_cv_c_dot_previous="no"
15396 rm -f core conftest.err conftest.$ac_objext \
15397 conftest$ac_exeext conftest.$ac_ext
15399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15400 $as_echo "$ac_cv_c_dot_previous" >&6; }
15402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15403 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15404 if ${ac_cv_c_cfi_support+:} false; then :
15405 $as_echo_n "(cached) " >&6
15406 else
15407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15408 /* end confdefs.h. */
15409 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15411 main ()
15415 return 0;
15417 _ACEOF
15418 if ac_fn_c_try_compile "$LINENO"; then :
15419 ac_cv_c_cfi_support="yes"
15420 else
15421 ac_cv_c_cfi_support="no"
15423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15426 $as_echo "$ac_cv_c_cfi_support" >&6; }
15428 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15429 asm_func_trailer=""
15430 if test "$ac_cv_c_dot_previous" = "yes"
15431 then
15432 asm_func_trailer="\\n\\t.previous"
15434 if test "$ac_cv_c_cfi_support" = "yes"
15435 then
15436 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15437 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15439 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15441 UNWINDFLAGS=-fasynchronous-unwind-tables
15443 else
15444 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15446 if test "x$enable_win64" = "xyes"
15447 then
15448 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15452 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15455 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15456 then
15457 cat >>confdefs.h <<_ACEOF
15458 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15459 _ACEOF
15461 else
15462 cat >>confdefs.h <<_ACEOF
15463 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15464 _ACEOF
15468 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15471 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15475 case $build_os in
15476 cygwin*|mingw32*) TOOLSEXT=".exe"
15478 esac
15480 case $host_os in
15481 linux*)
15482 case $host_cpu in
15483 *i[3456789]86*|x86_64*)
15484 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15485 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15487 esac
15489 esac
15492 ac_save_CFLAGS="$CFLAGS"
15493 CFLAGS="$CFLAGS $BUILTINFLAG"
15494 for ac_func in \
15495 __res_get_state \
15496 __res_getservers \
15497 _finite \
15498 _isnan \
15499 _pclose \
15500 _popen \
15501 _snprintf \
15502 _spawnvp \
15503 _strdup \
15504 _stricmp \
15505 _strnicmp \
15506 _strtoi64 \
15507 _strtoui64 \
15508 _vsnprintf \
15509 asctime_r \
15510 chsize \
15511 dlopen \
15512 epoll_create \
15513 ffs \
15514 finitef \
15515 fnmatch \
15516 fork \
15517 fpclass \
15518 fstatfs \
15519 fstatvfs \
15520 ftruncate \
15521 futimens \
15522 futimes \
15523 futimesat \
15524 getattrlist \
15525 getauxval \
15526 getifaddrs \
15527 getopt_long_only \
15528 getpwuid \
15529 gettimeofday \
15530 getuid \
15531 isnanf \
15532 kqueue \
15533 lstat \
15534 memmove \
15535 mmap \
15536 pclose \
15537 pipe2 \
15538 poll \
15539 popen \
15540 port_create \
15541 prctl \
15542 pread \
15543 proc_pidinfo \
15544 pwrite \
15545 readdir \
15546 readlink \
15547 sched_yield \
15548 select \
15549 setproctitle \
15550 setprogname \
15551 setrlimit \
15552 settimeofday \
15553 sigaltstack \
15554 sigprocmask \
15555 snprintf \
15556 statfs \
15557 statvfs \
15558 strcasecmp \
15559 strdup \
15560 strerror \
15561 strncasecmp \
15562 strtold \
15563 strtoll \
15564 strtoull \
15565 symlink \
15566 sysinfo \
15567 tcdrain \
15568 thr_kill2 \
15569 timegm \
15570 usleep \
15571 vsnprintf
15573 do :
15574 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15575 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15576 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15577 cat >>confdefs.h <<_ACEOF
15578 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15579 _ACEOF
15582 done
15584 CFLAGS="$ac_save_CFLAGS"
15586 if test "$ac_cv_func_dlopen" = no
15587 then
15588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15589 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15590 if ${ac_cv_lib_dl_dlopen+:} false; then :
15591 $as_echo_n "(cached) " >&6
15592 else
15593 ac_check_lib_save_LIBS=$LIBS
15594 LIBS="-ldl $LIBS"
15595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15596 /* end confdefs.h. */
15598 /* Override any GCC internal prototype to avoid an error.
15599 Use char because int might match the return type of a GCC
15600 builtin and then its argument prototype would still apply. */
15601 #ifdef __cplusplus
15602 extern "C"
15603 #endif
15604 char dlopen ();
15606 main ()
15608 return dlopen ();
15610 return 0;
15612 _ACEOF
15613 if ac_fn_c_try_link "$LINENO"; then :
15614 ac_cv_lib_dl_dlopen=yes
15615 else
15616 ac_cv_lib_dl_dlopen=no
15618 rm -f core conftest.err conftest.$ac_objext \
15619 conftest$ac_exeext conftest.$ac_ext
15620 LIBS=$ac_check_lib_save_LIBS
15622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15623 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15624 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15625 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15626 DL_LIBS="-ldl"
15631 ac_wine_check_funcs_save_LIBS="$LIBS"
15632 LIBS="$LIBS $DL_LIBS"
15633 for ac_func in dladdr
15634 do :
15635 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15636 if test "x$ac_cv_func_dladdr" = xyes; then :
15637 cat >>confdefs.h <<_ACEOF
15638 #define HAVE_DLADDR 1
15639 _ACEOF
15642 done
15644 LIBS="$ac_wine_check_funcs_save_LIBS"
15646 if test "$ac_cv_func_poll" = no
15647 then
15648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15649 $as_echo_n "checking for poll in -lpoll... " >&6; }
15650 if ${ac_cv_lib_poll_poll+:} false; then :
15651 $as_echo_n "(cached) " >&6
15652 else
15653 ac_check_lib_save_LIBS=$LIBS
15654 LIBS="-lpoll $LIBS"
15655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15656 /* end confdefs.h. */
15658 /* Override any GCC internal prototype to avoid an error.
15659 Use char because int might match the return type of a GCC
15660 builtin and then its argument prototype would still apply. */
15661 #ifdef __cplusplus
15662 extern "C"
15663 #endif
15664 char poll ();
15666 main ()
15668 return poll ();
15670 return 0;
15672 _ACEOF
15673 if ac_fn_c_try_link "$LINENO"; then :
15674 ac_cv_lib_poll_poll=yes
15675 else
15676 ac_cv_lib_poll_poll=no
15678 rm -f core conftest.err conftest.$ac_objext \
15679 conftest$ac_exeext conftest.$ac_ext
15680 LIBS=$ac_check_lib_save_LIBS
15682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15683 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15684 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15685 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15686 POLL_LIBS="-lpoll"
15692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15693 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15694 if ${ac_cv_search_gethostbyname+:} false; then :
15695 $as_echo_n "(cached) " >&6
15696 else
15697 ac_func_search_save_LIBS=$LIBS
15698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15699 /* end confdefs.h. */
15701 /* Override any GCC internal prototype to avoid an error.
15702 Use char because int might match the return type of a GCC
15703 builtin and then its argument prototype would still apply. */
15704 #ifdef __cplusplus
15705 extern "C"
15706 #endif
15707 char gethostbyname ();
15709 main ()
15711 return gethostbyname ();
15713 return 0;
15715 _ACEOF
15716 for ac_lib in '' nsl; do
15717 if test -z "$ac_lib"; then
15718 ac_res="none required"
15719 else
15720 ac_res=-l$ac_lib
15721 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15723 if ac_fn_c_try_link "$LINENO"; then :
15724 ac_cv_search_gethostbyname=$ac_res
15726 rm -f core conftest.err conftest.$ac_objext \
15727 conftest$ac_exeext
15728 if ${ac_cv_search_gethostbyname+:} false; then :
15729 break
15731 done
15732 if ${ac_cv_search_gethostbyname+:} false; then :
15734 else
15735 ac_cv_search_gethostbyname=no
15737 rm conftest.$ac_ext
15738 LIBS=$ac_func_search_save_LIBS
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15741 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15742 ac_res=$ac_cv_search_gethostbyname
15743 if test "$ac_res" != no; then :
15744 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15750 $as_echo_n "checking for library containing connect... " >&6; }
15751 if ${ac_cv_search_connect+:} false; then :
15752 $as_echo_n "(cached) " >&6
15753 else
15754 ac_func_search_save_LIBS=$LIBS
15755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15756 /* end confdefs.h. */
15758 /* Override any GCC internal prototype to avoid an error.
15759 Use char because int might match the return type of a GCC
15760 builtin and then its argument prototype would still apply. */
15761 #ifdef __cplusplus
15762 extern "C"
15763 #endif
15764 char connect ();
15766 main ()
15768 return connect ();
15770 return 0;
15772 _ACEOF
15773 for ac_lib in '' socket; do
15774 if test -z "$ac_lib"; then
15775 ac_res="none required"
15776 else
15777 ac_res=-l$ac_lib
15778 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15780 if ac_fn_c_try_link "$LINENO"; then :
15781 ac_cv_search_connect=$ac_res
15783 rm -f core conftest.err conftest.$ac_objext \
15784 conftest$ac_exeext
15785 if ${ac_cv_search_connect+:} false; then :
15786 break
15788 done
15789 if ${ac_cv_search_connect+:} false; then :
15791 else
15792 ac_cv_search_connect=no
15794 rm conftest.$ac_ext
15795 LIBS=$ac_func_search_save_LIBS
15797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15798 $as_echo "$ac_cv_search_connect" >&6; }
15799 ac_res=$ac_cv_search_connect
15800 if test "$ac_res" != no; then :
15801 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15807 $as_echo_n "checking for library containing inet_aton... " >&6; }
15808 if ${ac_cv_search_inet_aton+:} false; then :
15809 $as_echo_n "(cached) " >&6
15810 else
15811 ac_func_search_save_LIBS=$LIBS
15812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15813 /* end confdefs.h. */
15815 /* Override any GCC internal prototype to avoid an error.
15816 Use char because int might match the return type of a GCC
15817 builtin and then its argument prototype would still apply. */
15818 #ifdef __cplusplus
15819 extern "C"
15820 #endif
15821 char inet_aton ();
15823 main ()
15825 return inet_aton ();
15827 return 0;
15829 _ACEOF
15830 for ac_lib in '' resolv; do
15831 if test -z "$ac_lib"; then
15832 ac_res="none required"
15833 else
15834 ac_res=-l$ac_lib
15835 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15837 if ac_fn_c_try_link "$LINENO"; then :
15838 ac_cv_search_inet_aton=$ac_res
15840 rm -f core conftest.err conftest.$ac_objext \
15841 conftest$ac_exeext
15842 if ${ac_cv_search_inet_aton+:} false; then :
15843 break
15845 done
15846 if ${ac_cv_search_inet_aton+:} false; then :
15848 else
15849 ac_cv_search_inet_aton=no
15851 rm conftest.$ac_ext
15852 LIBS=$ac_func_search_save_LIBS
15854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15855 $as_echo "$ac_cv_search_inet_aton" >&6; }
15856 ac_res=$ac_cv_search_inet_aton
15857 if test "$ac_res" != no; then :
15858 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15863 for ac_func in \
15864 getaddrinfo \
15865 getnameinfo \
15866 getnetbyname \
15867 getprotobyname \
15868 getprotobynumber \
15869 getservbyport \
15870 inet_addr \
15871 inet_network \
15872 inet_ntop \
15873 inet_pton \
15874 sendmsg \
15875 socketpair \
15877 do :
15878 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15879 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15880 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15881 cat >>confdefs.h <<_ACEOF
15882 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15883 _ACEOF
15886 done
15889 ac_save_LIBS=$LIBS
15890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15891 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15892 if ${ac_cv_search_clock_gettime+:} false; then :
15893 $as_echo_n "(cached) " >&6
15894 else
15895 ac_func_search_save_LIBS=$LIBS
15896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15897 /* end confdefs.h. */
15899 /* Override any GCC internal prototype to avoid an error.
15900 Use char because int might match the return type of a GCC
15901 builtin and then its argument prototype would still apply. */
15902 #ifdef __cplusplus
15903 extern "C"
15904 #endif
15905 char clock_gettime ();
15907 main ()
15909 return clock_gettime ();
15911 return 0;
15913 _ACEOF
15914 for ac_lib in '' rt; do
15915 if test -z "$ac_lib"; then
15916 ac_res="none required"
15917 else
15918 ac_res=-l$ac_lib
15919 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15921 if ac_fn_c_try_link "$LINENO"; then :
15922 ac_cv_search_clock_gettime=$ac_res
15924 rm -f core conftest.err conftest.$ac_objext \
15925 conftest$ac_exeext
15926 if ${ac_cv_search_clock_gettime+:} false; then :
15927 break
15929 done
15930 if ${ac_cv_search_clock_gettime+:} false; then :
15932 else
15933 ac_cv_search_clock_gettime=no
15935 rm conftest.$ac_ext
15936 LIBS=$ac_func_search_save_LIBS
15938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15939 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15940 ac_res=$ac_cv_search_clock_gettime
15941 if test "$ac_res" != no; then :
15942 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15944 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15946 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15950 LIBS=$ac_save_LIBS
15952 if test "x$with_ldap" != "xno"
15953 then
15954 if ${LDAP_CFLAGS:+false} :; then :
15955 if ${PKG_CONFIG+:} false; then :
15956 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
15960 if ${LDAP_LIBS:+false} :; then :
15961 if ${PKG_CONFIG+:} false; then :
15962 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
15966 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
15967 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
15968 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
15969 ac_save_CPPFLAGS=$CPPFLAGS
15970 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
15971 for ac_header in ldap.h lber.h
15972 do :
15973 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15974 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15975 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15976 cat >>confdefs.h <<_ACEOF
15977 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15978 _ACEOF
15982 done
15984 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15985 then
15986 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15988 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15990 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15991 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15992 $as_echo_n "(cached) " >&6
15993 else
15994 ac_check_lib_save_LIBS=$LIBS
15995 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
15996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15997 /* end confdefs.h. */
15999 /* Override any GCC internal prototype to avoid an error.
16000 Use char because int might match the return type of a GCC
16001 builtin and then its argument prototype would still apply. */
16002 #ifdef __cplusplus
16003 extern "C"
16004 #endif
16005 char ldap_initialize ();
16007 main ()
16009 return ldap_initialize ();
16011 return 0;
16013 _ACEOF
16014 if ac_fn_c_try_link "$LINENO"; then :
16015 ac_cv_lib_ldap_r_ldap_initialize=yes
16016 else
16017 ac_cv_lib_ldap_r_ldap_initialize=no
16019 rm -f core conftest.err conftest.$ac_objext \
16020 conftest$ac_exeext conftest.$ac_ext
16021 LIBS=$ac_check_lib_save_LIBS
16023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16024 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16025 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
16026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16027 $as_echo_n "checking for ber_init in -llber... " >&6; }
16028 if ${ac_cv_lib_lber_ber_init+:} false; then :
16029 $as_echo_n "(cached) " >&6
16030 else
16031 ac_check_lib_save_LIBS=$LIBS
16032 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16034 /* end confdefs.h. */
16036 /* Override any GCC internal prototype to avoid an error.
16037 Use char because int might match the return type of a GCC
16038 builtin and then its argument prototype would still apply. */
16039 #ifdef __cplusplus
16040 extern "C"
16041 #endif
16042 char ber_init ();
16044 main ()
16046 return ber_init ();
16048 return 0;
16050 _ACEOF
16051 if ac_fn_c_try_link "$LINENO"; then :
16052 ac_cv_lib_lber_ber_init=yes
16053 else
16054 ac_cv_lib_lber_ber_init=no
16056 rm -f core conftest.err conftest.$ac_objext \
16057 conftest$ac_exeext conftest.$ac_ext
16058 LIBS=$ac_check_lib_save_LIBS
16060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16061 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16062 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16064 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16066 else
16067 LDAP_LIBS=""
16070 else
16071 LDAP_LIBS=""
16074 else
16075 LDAP_LIBS=""
16078 ac_wine_check_funcs_save_LIBS="$LIBS"
16079 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16080 for ac_func in \
16081 ldap_count_references \
16082 ldap_first_reference \
16083 ldap_next_reference \
16084 ldap_parse_reference \
16085 ldap_parse_sort_control \
16086 ldap_parse_sortresponse_control \
16087 ldap_parse_vlv_control \
16088 ldap_parse_vlvresponse_control
16089 do :
16090 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16091 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16092 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16093 cat >>confdefs.h <<_ACEOF
16094 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16095 _ACEOF
16098 done
16100 LIBS="$ac_wine_check_funcs_save_LIBS"
16101 else
16102 LDAP_LIBS=""
16104 CPPFLAGS=$ac_save_CPPFLAGS
16105 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16106 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16109 if test "x$LDAP_LIBS" = "x"; then :
16110 case "x$with_ldap" in
16111 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16112 xno) ;;
16113 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16114 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16115 esac
16119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16120 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16121 if ${wine_cv_one_arg_mkdir+:} false; then :
16122 $as_echo_n "(cached) " >&6
16123 else
16124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16125 /* end confdefs.h. */
16126 #include <sys/stat.h>
16128 main ()
16130 mkdir("foo");
16132 return 0;
16134 _ACEOF
16135 if ac_fn_c_try_compile "$LINENO"; then :
16136 wine_cv_one_arg_mkdir=yes
16137 else
16138 wine_cv_one_arg_mkdir=no
16140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16143 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16144 if test "$wine_cv_one_arg_mkdir" = "yes"
16145 then
16147 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16152 $as_echo_n "checking for sched_setaffinity... " >&6; }
16153 if ${wine_cv_have_sched_setaffinity+:} false; then :
16154 $as_echo_n "(cached) " >&6
16155 else
16156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16157 /* end confdefs.h. */
16158 #define _GNU_SOURCE
16159 #include <sched.h>
16161 main ()
16163 sched_setaffinity(0, 0, 0);
16165 return 0;
16167 _ACEOF
16168 if ac_fn_c_try_link "$LINENO"; then :
16169 wine_cv_have_sched_setaffinity=yes
16170 else
16171 wine_cv_have_sched_setaffinity=no
16173 rm -f core conftest.err conftest.$ac_objext \
16174 conftest$ac_exeext conftest.$ac_ext
16176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16177 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16178 if test "$wine_cv_have_sched_setaffinity" = "yes"
16179 then
16181 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16186 $as_echo_n "checking for fallocate... " >&6; }
16187 if ${wine_cv_have_fallocate+:} false; then :
16188 $as_echo_n "(cached) " >&6
16189 else
16190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16191 /* end confdefs.h. */
16192 #define _GNU_SOURCE
16193 #include <fcntl.h>
16195 main ()
16197 fallocate(-1, 0, 0, 0);
16199 return 0;
16201 _ACEOF
16202 if ac_fn_c_try_link "$LINENO"; then :
16203 wine_cv_have_fallocate=yes
16204 else
16205 wine_cv_have_fallocate=no
16207 rm -f core conftest.err conftest.$ac_objext \
16208 conftest$ac_exeext conftest.$ac_ext
16210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16211 $as_echo "$wine_cv_have_fallocate" >&6; }
16212 if test "$wine_cv_have_fallocate" = "yes"
16213 then
16215 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16221 $as_echo_n "checking for inline... " >&6; }
16222 if ${ac_cv_c_inline+:} false; then :
16223 $as_echo_n "(cached) " >&6
16224 else
16225 ac_cv_c_inline=no
16226 for ac_kw in inline __inline__ __inline; do
16227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16228 /* end confdefs.h. */
16229 #ifndef __cplusplus
16230 typedef int foo_t;
16231 static $ac_kw foo_t static_foo () {return 0; }
16232 $ac_kw foo_t foo () {return 0; }
16233 #endif
16235 _ACEOF
16236 if ac_fn_c_try_compile "$LINENO"; then :
16237 ac_cv_c_inline=$ac_kw
16239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16240 test "$ac_cv_c_inline" != no && break
16241 done
16244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16245 $as_echo "$ac_cv_c_inline" >&6; }
16247 case $ac_cv_c_inline in
16248 inline | yes) ;;
16250 case $ac_cv_c_inline in
16251 no) ac_val=;;
16252 *) ac_val=$ac_cv_c_inline;;
16253 esac
16254 cat >>confdefs.h <<_ACEOF
16255 #ifndef __cplusplus
16256 #define inline $ac_val
16257 #endif
16258 _ACEOF
16260 esac
16262 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16263 if test "x$ac_cv_type_mode_t" = xyes; then :
16265 cat >>confdefs.h <<_ACEOF
16266 #define HAVE_MODE_T 1
16267 _ACEOF
16271 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16272 if test "x$ac_cv_type_off_t" = xyes; then :
16274 cat >>confdefs.h <<_ACEOF
16275 #define HAVE_OFF_T 1
16276 _ACEOF
16280 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16281 if test "x$ac_cv_type_pid_t" = xyes; then :
16283 cat >>confdefs.h <<_ACEOF
16284 #define HAVE_PID_T 1
16285 _ACEOF
16289 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16290 if test "x$ac_cv_type_size_t" = xyes; then :
16292 cat >>confdefs.h <<_ACEOF
16293 #define HAVE_SIZE_T 1
16294 _ACEOF
16298 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16299 if test "x$ac_cv_type_ssize_t" = xyes; then :
16301 cat >>confdefs.h <<_ACEOF
16302 #define HAVE_SSIZE_T 1
16303 _ACEOF
16307 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16308 if test "x$ac_cv_type_long_long" = xyes; then :
16310 cat >>confdefs.h <<_ACEOF
16311 #define HAVE_LONG_LONG 1
16312 _ACEOF
16316 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16317 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16319 cat >>confdefs.h <<_ACEOF
16320 #define HAVE_FSBLKCNT_T 1
16321 _ACEOF
16325 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16326 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16328 cat >>confdefs.h <<_ACEOF
16329 #define HAVE_FSFILCNT_T 1
16330 _ACEOF
16335 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16336 #include <signal.h>
16338 if test "x$ac_cv_type_sigset_t" = xyes; then :
16340 cat >>confdefs.h <<_ACEOF
16341 #define HAVE_SIGSET_T 1
16342 _ACEOF
16347 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16349 if test "x$ac_cv_type_request_sense" = xyes; then :
16351 cat >>confdefs.h <<_ACEOF
16352 #define HAVE_REQUEST_SENSE 1
16353 _ACEOF
16359 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16360 #ifdef HAVE_SYS_SOCKET_H
16361 #include <sys/socket.h>
16362 #endif
16363 #ifdef HAVE_SYS_SOCKETVAR_H
16364 #include <sys/socketvar.h>
16365 #endif
16366 #ifdef HAVE_NET_ROUTE_H
16367 #include <net/route.h>
16368 #endif
16369 #ifdef HAVE_NETINET_IN_H
16370 #include <netinet/in.h>
16371 #endif
16372 #ifdef HAVE_NETINET_IN_SYSTM_H
16373 #include <netinet/in_systm.h>
16374 #endif
16375 #ifdef HAVE_NETINET_IP_H
16376 #include <netinet/ip.h>
16377 #endif
16378 #ifdef HAVE_NETINET_IN_PCB_H
16379 #include <netinet/in_pcb.h>
16380 #endif
16382 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16384 cat >>confdefs.h <<_ACEOF
16385 #define HAVE_STRUCT_XINPGEN 1
16386 _ACEOF
16392 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16393 #include <link.h>
16394 #endif
16395 #ifdef HAVE_SYS_LINK_H
16396 #include <sys/link.h>
16397 #endif
16399 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16401 cat >>confdefs.h <<_ACEOF
16402 #define HAVE_STRUCT_R_DEBUG 1
16403 _ACEOF
16407 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16408 #include <link.h>
16409 #endif
16410 #ifdef HAVE_SYS_LINK_H
16411 #include <sys/link.h>
16412 #endif
16414 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16416 cat >>confdefs.h <<_ACEOF
16417 #define HAVE_STRUCT_LINK_MAP 1
16418 _ACEOF
16424 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16425 #include <linux/input.h>
16426 #endif
16428 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16430 cat >>confdefs.h <<_ACEOF
16431 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16432 _ACEOF
16438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16439 $as_echo_n "checking for if_nameindex... " >&6; }
16440 if ${wine_cv_have_if_nameindex+:} false; then :
16441 $as_echo_n "(cached) " >&6
16442 else
16443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16444 /* end confdefs.h. */
16445 #ifdef HAVE_SYS_TYPES_H
16446 #include <sys/types.h>
16447 #endif
16448 #ifdef HAVE_SYS_SOCKET_H
16449 #include <sys/socket.h>
16450 #endif
16451 #ifdef HAVE_NET_IF_H
16452 # include <net/if.h>
16453 #endif
16455 main ()
16457 struct if_nameindex *p = if_nameindex(); return p->if_index;
16459 return 0;
16461 _ACEOF
16462 if ac_fn_c_try_link "$LINENO"; then :
16463 wine_cv_have_if_nameindex=yes
16464 else
16465 wine_cv_have_if_nameindex=no
16467 rm -f core conftest.err conftest.$ac_objext \
16468 conftest$ac_exeext conftest.$ac_ext
16470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16471 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16472 if test "$wine_cv_have_if_nameindex" = "yes"
16473 then
16475 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16480 $as_echo_n "checking for sigaddset... " >&6; }
16481 if ${wine_cv_have_sigaddset+:} false; then :
16482 $as_echo_n "(cached) " >&6
16483 else
16484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16485 /* end confdefs.h. */
16486 #include <signal.h>
16488 main ()
16490 sigset_t set; sigaddset(&set,SIGTERM);
16492 return 0;
16494 _ACEOF
16495 if ac_fn_c_try_link "$LINENO"; then :
16496 wine_cv_have_sigaddset=yes
16497 else
16498 wine_cv_have_sigaddset=no
16500 rm -f core conftest.err conftest.$ac_objext \
16501 conftest$ac_exeext conftest.$ac_ext
16503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16504 $as_echo "$wine_cv_have_sigaddset" >&6; }
16505 if test "$wine_cv_have_sigaddset" = "yes"
16506 then
16508 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16514 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16515 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16516 $as_echo_n "(cached) " >&6
16517 else
16518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16519 /* end confdefs.h. */
16520 #include <netdb.h>
16522 main ()
16525 char *name=0;
16526 struct hostent he;
16527 struct hostent *result;
16528 char *buf=0;
16529 int bufsize=0;
16530 int errnr;
16531 char *addr=0;
16532 int addrlen=0;
16533 int addrtype=0;
16534 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16535 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16538 return 0;
16540 _ACEOF
16541 if ac_fn_c_try_link "$LINENO"; then :
16542 wine_cv_linux_gethostbyname_r_6=yes
16543 else
16544 wine_cv_linux_gethostbyname_r_6=no
16547 rm -f core conftest.err conftest.$ac_objext \
16548 conftest$ac_exeext conftest.$ac_ext
16551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16552 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16553 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16554 then
16556 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16560 if test "$ac_cv_header_linux_joystick_h" = "yes"
16561 then
16562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16563 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16564 if ${wine_cv_linux_joystick_22_api+:} false; then :
16565 $as_echo_n "(cached) " >&6
16566 else
16567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16568 /* end confdefs.h. */
16570 #include <sys/ioctl.h>
16571 #include <sys/types.h>
16572 #include <linux/joystick.h>
16574 struct js_event blub;
16575 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16576 #error "no 2.2 header"
16577 #endif
16580 main ()
16582 /*empty*/
16584 return 0;
16586 _ACEOF
16587 if ac_fn_c_try_compile "$LINENO"; then :
16588 wine_cv_linux_joystick_22_api=yes
16589 else
16590 wine_cv_linux_joystick_22_api=no
16592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16596 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16597 if test "$wine_cv_linux_joystick_22_api" = "yes"
16598 then
16600 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16606 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16607 #ifdef HAVE_SYS_PARAM_H
16608 # include <sys/param.h>
16609 #endif
16610 #ifdef HAVE_SYS_MOUNT_H
16611 # include <sys/mount.h>
16612 #endif
16613 #ifdef HAVE_SYS_VFS_H
16614 # include <sys/vfs.h>
16615 #endif
16616 #ifdef HAVE_SYS_STATFS_H
16617 # include <sys/statfs.h>
16618 #endif
16620 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16622 cat >>confdefs.h <<_ACEOF
16623 #define HAVE_STRUCT_STATFS_F_BFREE 1
16624 _ACEOF
16628 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16629 #ifdef HAVE_SYS_PARAM_H
16630 # include <sys/param.h>
16631 #endif
16632 #ifdef HAVE_SYS_MOUNT_H
16633 # include <sys/mount.h>
16634 #endif
16635 #ifdef HAVE_SYS_VFS_H
16636 # include <sys/vfs.h>
16637 #endif
16638 #ifdef HAVE_SYS_STATFS_H
16639 # include <sys/statfs.h>
16640 #endif
16642 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16644 cat >>confdefs.h <<_ACEOF
16645 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16646 _ACEOF
16650 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16651 #ifdef HAVE_SYS_PARAM_H
16652 # include <sys/param.h>
16653 #endif
16654 #ifdef HAVE_SYS_MOUNT_H
16655 # include <sys/mount.h>
16656 #endif
16657 #ifdef HAVE_SYS_VFS_H
16658 # include <sys/vfs.h>
16659 #endif
16660 #ifdef HAVE_SYS_STATFS_H
16661 # include <sys/statfs.h>
16662 #endif
16664 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16666 cat >>confdefs.h <<_ACEOF
16667 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16668 _ACEOF
16672 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16673 #ifdef HAVE_SYS_PARAM_H
16674 # include <sys/param.h>
16675 #endif
16676 #ifdef HAVE_SYS_MOUNT_H
16677 # include <sys/mount.h>
16678 #endif
16679 #ifdef HAVE_SYS_VFS_H
16680 # include <sys/vfs.h>
16681 #endif
16682 #ifdef HAVE_SYS_STATFS_H
16683 # include <sys/statfs.h>
16684 #endif
16686 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16688 cat >>confdefs.h <<_ACEOF
16689 #define HAVE_STRUCT_STATFS_F_FFREE 1
16690 _ACEOF
16694 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16695 #ifdef HAVE_SYS_PARAM_H
16696 # include <sys/param.h>
16697 #endif
16698 #ifdef HAVE_SYS_MOUNT_H
16699 # include <sys/mount.h>
16700 #endif
16701 #ifdef HAVE_SYS_VFS_H
16702 # include <sys/vfs.h>
16703 #endif
16704 #ifdef HAVE_SYS_STATFS_H
16705 # include <sys/statfs.h>
16706 #endif
16708 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16710 cat >>confdefs.h <<_ACEOF
16711 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16712 _ACEOF
16716 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16717 #ifdef HAVE_SYS_PARAM_H
16718 # include <sys/param.h>
16719 #endif
16720 #ifdef HAVE_SYS_MOUNT_H
16721 # include <sys/mount.h>
16722 #endif
16723 #ifdef HAVE_SYS_VFS_H
16724 # include <sys/vfs.h>
16725 #endif
16726 #ifdef HAVE_SYS_STATFS_H
16727 # include <sys/statfs.h>
16728 #endif
16730 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16732 cat >>confdefs.h <<_ACEOF
16733 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16734 _ACEOF
16740 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16741 #include <sys/statvfs.h>
16742 #endif
16744 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16746 cat >>confdefs.h <<_ACEOF
16747 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16748 _ACEOF
16754 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16755 #include <dirent.h>
16756 #endif
16758 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16760 cat >>confdefs.h <<_ACEOF
16761 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16762 _ACEOF
16768 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16769 #ifdef HAVE_SYS_SOCKET_H
16770 # include <sys/socket.h>
16771 #endif
16772 #ifdef HAVE_SYS_UN_H
16773 # include <sys/un.h>
16774 #endif
16776 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16778 cat >>confdefs.h <<_ACEOF
16779 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16780 _ACEOF
16784 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16785 #ifdef HAVE_SYS_SOCKET_H
16786 # include <sys/socket.h>
16787 #endif
16788 #ifdef HAVE_SYS_UN_H
16789 # include <sys/un.h>
16790 #endif
16792 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16794 cat >>confdefs.h <<_ACEOF
16795 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16796 _ACEOF
16800 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16801 #ifdef HAVE_SYS_SOCKET_H
16802 # include <sys/socket.h>
16803 #endif
16804 #ifdef HAVE_SYS_UN_H
16805 # include <sys/un.h>
16806 #endif
16808 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16810 cat >>confdefs.h <<_ACEOF
16811 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16812 _ACEOF
16818 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16819 #ifdef HAVE_SCSI_SG_H
16820 #include <scsi/sg.h>
16821 #endif
16823 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16825 cat >>confdefs.h <<_ACEOF
16826 #define HAVE_SCSIREQ_T_CMD 1
16827 _ACEOF
16831 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>
16832 #ifdef HAVE_SCSI_SG_H
16833 #include <scsi/sg.h>
16834 #endif
16836 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16838 cat >>confdefs.h <<_ACEOF
16839 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16840 _ACEOF
16846 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16848 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16850 cat >>confdefs.h <<_ACEOF
16851 #define HAVE_SIGINFO_T_SI_FD 1
16852 _ACEOF
16858 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16859 #ifdef HAVE_SYS_MTIO_H
16860 #include <sys/mtio.h>
16861 #endif
16863 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16865 cat >>confdefs.h <<_ACEOF
16866 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16867 _ACEOF
16871 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16872 #ifdef HAVE_SYS_MTIO_H
16873 #include <sys/mtio.h>
16874 #endif
16876 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16878 cat >>confdefs.h <<_ACEOF
16879 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16880 _ACEOF
16884 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16885 #ifdef HAVE_SYS_MTIO_H
16886 #include <sys/mtio.h>
16887 #endif
16889 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16891 cat >>confdefs.h <<_ACEOF
16892 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16893 _ACEOF
16899 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16900 #include <getopt.h>
16901 #endif
16903 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16905 cat >>confdefs.h <<_ACEOF
16906 #define HAVE_STRUCT_OPTION_NAME 1
16907 _ACEOF
16913 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16914 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16916 cat >>confdefs.h <<_ACEOF
16917 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16918 _ACEOF
16922 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16923 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16925 cat >>confdefs.h <<_ACEOF
16926 #define HAVE_STRUCT_STAT_ST_MTIM 1
16927 _ACEOF
16931 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16932 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16934 cat >>confdefs.h <<_ACEOF
16935 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16936 _ACEOF
16940 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16941 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16943 cat >>confdefs.h <<_ACEOF
16944 #define HAVE_STRUCT_STAT_ST_CTIM 1
16945 _ACEOF
16949 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16950 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16952 cat >>confdefs.h <<_ACEOF
16953 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16954 _ACEOF
16958 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16959 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16961 cat >>confdefs.h <<_ACEOF
16962 #define HAVE_STRUCT_STAT_ST_ATIM 1
16963 _ACEOF
16967 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16968 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16970 cat >>confdefs.h <<_ACEOF
16971 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16972 _ACEOF
16976 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16977 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16979 cat >>confdefs.h <<_ACEOF
16980 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16981 _ACEOF
16985 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16986 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16988 cat >>confdefs.h <<_ACEOF
16989 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16990 _ACEOF
16994 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16995 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16997 cat >>confdefs.h <<_ACEOF
16998 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16999 _ACEOF
17003 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17004 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17006 cat >>confdefs.h <<_ACEOF
17007 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17008 _ACEOF
17012 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17013 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17015 cat >>confdefs.h <<_ACEOF
17016 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17017 _ACEOF
17023 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
17024 #include <sys/types.h>
17025 #endif
17026 #ifdef HAVE_NETINET_IN_H
17027 #include <netinet/in.h>
17028 #endif
17030 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17032 cat >>confdefs.h <<_ACEOF
17033 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17034 _ACEOF
17040 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17041 #include <sys/types.h>
17042 #endif
17043 #ifdef HAVE_NETINET_IN_H
17044 #include <netinet/in.h>
17045 #endif
17046 #ifdef HAVE_RESOLV_H
17047 #include <resolv.h>
17048 #endif
17050 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17052 cat >>confdefs.h <<_ACEOF
17053 #define HAVE_STRUCT___RES_STATE 1
17054 _ACEOF
17060 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
17061 #include <resolv.h>
17062 #endif
17064 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17066 cat >>confdefs.h <<_ACEOF
17067 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17068 _ACEOF
17074 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17075 #include <sys/types.h>
17076 #endif
17077 #ifdef HAVE_NETINET_IN_H
17078 # include <netinet/in.h>
17079 #endif
17080 #ifdef HAVE_ARPA_NAMESER_H
17081 # include <arpa/nameser.h>
17082 #endif
17084 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17086 cat >>confdefs.h <<_ACEOF
17087 #define HAVE_NS_MSG__MSG_PTR 1
17088 _ACEOF
17094 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17095 #include <sys/types.h>
17096 #endif
17097 #ifdef HAVE_NETINET_IN_H
17098 #include <netinet/in.h>
17099 #endif
17100 #ifdef HAVE_NETINET_IP_H
17101 #include <netinet/ip.h>
17102 #endif
17103 #ifdef HAVE_NETINET_IP_ICMP_H
17104 #include <netinet/ip_icmp.h>
17105 #endif
17106 #ifdef HAVE_NETINET_ICMP_VAR_H
17107 #include <netinet/icmp_var.h>
17108 #endif
17110 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17112 cat >>confdefs.h <<_ACEOF
17113 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17114 _ACEOF
17120 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17121 #include <sys/types.h>
17122 #endif
17123 #ifdef HAVE_ALIAS_H
17124 #include <alias.h>
17125 #endif
17126 #ifdef HAVE_SYS_SOCKET_H
17127 #include <sys/socket.h>
17128 #endif
17129 #ifdef HAVE_SYS_SOCKETVAR_H
17130 #include <sys/socketvar.h>
17131 #endif
17132 #ifdef HAVE_SYS_TIMEOUT_H
17133 #include <sys/timeout.h>
17134 #endif
17135 #ifdef HAVE_NETINET_IN_H
17136 #include <netinet/in.h>
17137 #endif
17138 #ifdef HAVE_NETINET_IN_SYSTM_H
17139 #include <netinet/in_systm.h>
17140 #endif
17141 #ifdef HAVE_NETINET_IP_H
17142 #include <netinet/ip.h>
17143 #endif
17144 #ifdef HAVE_NETINET_IP_VAR_H
17145 #include <netinet/ip_var.h>
17146 #endif
17147 #ifdef HAVE_NETINET_IP_ICMP_H
17148 #include <netinet/ip_icmp.h>
17149 #endif
17150 #ifdef HAVE_NETINET_ICMP_VAR_H
17151 #include <netinet/icmp_var.h>
17152 #endif
17154 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17156 cat >>confdefs.h <<_ACEOF
17157 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17158 _ACEOF
17164 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17165 #include <sys/types.h>
17166 #endif
17167 #ifdef HAVE_SYS_SOCKETVAR_H
17168 #include <sys/socketvar.h>
17169 #endif
17170 #ifdef HAVE_NETINET_IN_H
17171 #include <netinet/in.h>
17172 #endif
17173 #ifdef HAVE_NETINET_IP_VAR_H
17174 #include <netinet/ip_var.h>
17175 #endif
17177 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17179 cat >>confdefs.h <<_ACEOF
17180 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17181 _ACEOF
17187 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
17188 #include <netinet/ip_var.h>
17189 #endif
17191 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17193 cat >>confdefs.h <<_ACEOF
17194 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17195 _ACEOF
17201 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17202 #include <sys/types.h>
17203 #endif
17204 #ifdef HAVE_SYS_SOCKETVAR_H
17205 #include <sys/socketvar.h>
17206 #endif
17207 #ifdef HAVE_NETINET_IN_H
17208 #include <netinet/in.h>
17209 #endif
17210 #ifdef HAVE_NETINET_TCP_H
17211 #include <netinet/tcp.h>
17212 #endif
17213 #ifdef HAVE_NETINET_TCP_VAR_H
17214 #include <netinet/tcp_var.h>
17215 #endif
17217 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17219 cat >>confdefs.h <<_ACEOF
17220 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17221 _ACEOF
17227 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
17228 #include <netinet/tcp_var.h>
17229 #endif
17231 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17233 cat >>confdefs.h <<_ACEOF
17234 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17235 _ACEOF
17241 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17242 #include <sys/types.h>
17243 #endif
17244 #ifdef HAVE_NETINET_IN_H
17245 #include <netinet/in.h>
17246 #endif
17247 #ifdef HAVE_NETINET_IP_VAR_H
17248 #include <netinet/ip_var.h>
17249 #endif
17250 #ifdef HAVE_NETINET_UDP_H
17251 #include <netinet/udp.h>
17252 #endif
17253 #ifdef HAVE_NETINET_UDP_VAR_H
17254 #include <netinet/udp_var.h>
17255 #endif
17257 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17259 cat >>confdefs.h <<_ACEOF
17260 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17261 _ACEOF
17267 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17268 #include <sys/types.h>
17269 #endif
17270 #ifdef HAVE_NET_IF_H
17271 # include <net/if.h>
17272 #endif
17274 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17276 cat >>confdefs.h <<_ACEOF
17277 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17278 _ACEOF
17284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17285 $as_echo_n "checking for timezone variable... " >&6; }
17286 if ${ac_cv_have_timezone+:} false; then :
17287 $as_echo_n "(cached) " >&6
17288 else
17289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17290 /* end confdefs.h. */
17291 #include <time.h>
17293 main ()
17295 timezone = 1
17297 return 0;
17299 _ACEOF
17300 if ac_fn_c_try_link "$LINENO"; then :
17301 ac_cv_have_timezone="yes"
17302 else
17303 ac_cv_have_timezone="no"
17305 rm -f core conftest.err conftest.$ac_objext \
17306 conftest$ac_exeext conftest.$ac_ext
17308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17309 $as_echo "$ac_cv_have_timezone" >&6; }
17310 if test "$ac_cv_have_timezone" = "yes"
17311 then
17313 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17317 $as_echo_n "checking for daylight variable... " >&6; }
17318 if ${ac_cv_have_daylight+:} false; then :
17319 $as_echo_n "(cached) " >&6
17320 else
17321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17322 /* end confdefs.h. */
17323 #include <time.h>
17325 main ()
17327 daylight = 1
17329 return 0;
17331 _ACEOF
17332 if ac_fn_c_try_link "$LINENO"; then :
17333 ac_cv_have_daylight="yes"
17334 else
17335 ac_cv_have_daylight="no"
17337 rm -f core conftest.err conftest.$ac_objext \
17338 conftest$ac_exeext conftest.$ac_ext
17340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17341 $as_echo "$ac_cv_have_daylight" >&6; }
17342 if test "$ac_cv_have_daylight" = "yes"
17343 then
17345 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17349 ac_save_LIBS="$LIBS"
17350 LIBS="$LIBS -lm"
17351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17352 $as_echo_n "checking for isfinite... " >&6; }
17353 if ${ac_cv_have_isfinite+:} false; then :
17354 $as_echo_n "(cached) " >&6
17355 else
17356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17357 /* end confdefs.h. */
17358 #define _GNU_SOURCE
17359 #include <math.h>
17361 main ()
17363 float f = 0.0; return isfinite(f)
17365 return 0;
17367 _ACEOF
17368 if ac_fn_c_try_link "$LINENO"; then :
17369 ac_cv_have_isfinite="yes"
17370 else
17371 ac_cv_have_isfinite="no"
17373 rm -f core conftest.err conftest.$ac_objext \
17374 conftest$ac_exeext conftest.$ac_ext
17376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17377 $as_echo "$ac_cv_have_isfinite" >&6; }
17378 if test "$ac_cv_have_isfinite" = "yes"
17379 then
17381 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17386 $as_echo_n "checking for isinf... " >&6; }
17387 if ${ac_cv_have_isinf+:} false; then :
17388 $as_echo_n "(cached) " >&6
17389 else
17390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17391 /* end confdefs.h. */
17392 #include <math.h>
17394 main ()
17396 float f = 0.0; return isinf(f)
17398 return 0;
17400 _ACEOF
17401 if ac_fn_c_try_link "$LINENO"; then :
17402 ac_cv_have_isinf="yes"
17403 else
17404 ac_cv_have_isinf="no"
17406 rm -f core conftest.err conftest.$ac_objext \
17407 conftest$ac_exeext conftest.$ac_ext
17409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17410 $as_echo "$ac_cv_have_isinf" >&6; }
17411 if test "$ac_cv_have_isinf" = "yes"
17412 then
17414 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17419 $as_echo_n "checking for isnan... " >&6; }
17420 if ${ac_cv_have_isnan+:} false; then :
17421 $as_echo_n "(cached) " >&6
17422 else
17423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17424 /* end confdefs.h. */
17425 #include <math.h>
17427 main ()
17429 float f = 0.0; return isnan(f)
17431 return 0;
17433 _ACEOF
17434 if ac_fn_c_try_link "$LINENO"; then :
17435 ac_cv_have_isnan="yes"
17436 else
17437 ac_cv_have_isnan="no"
17439 rm -f core conftest.err conftest.$ac_objext \
17440 conftest$ac_exeext conftest.$ac_ext
17442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17443 $as_echo "$ac_cv_have_isnan" >&6; }
17444 if test "$ac_cv_have_isnan" = "yes"
17445 then
17447 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17451 for ac_func in \
17452 acosh \
17453 acoshf \
17454 asinh \
17455 asinhf \
17456 atanh \
17457 atanhf \
17458 cbrt \
17459 cbrtf \
17460 erf \
17461 erfc \
17462 erfcf \
17463 erff \
17464 exp2 \
17465 exp2f \
17466 expm1 \
17467 expm1f \
17468 lgamma \
17469 lgammaf \
17470 llrint \
17471 llrintf \
17472 llround \
17473 llroundf \
17474 log1p \
17475 log1pf \
17476 log2 \
17477 log2f \
17478 lrint \
17479 lrintf \
17480 lround \
17481 lroundf \
17482 nearbyint \
17483 nearbyintf \
17484 powl \
17485 remainder \
17486 remainderf \
17487 rint \
17488 rintf \
17489 round \
17490 roundf \
17491 trunc \
17492 truncf
17494 do :
17495 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17496 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17497 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17498 cat >>confdefs.h <<_ACEOF
17499 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17500 _ACEOF
17503 done
17505 LIBS="$ac_save_LIBS"
17507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17508 $as_echo_n "checking for __builtin_clz... " >&6; }
17509 if ${ac_cv_have___builtin_clz+:} false; then :
17510 $as_echo_n "(cached) " >&6
17511 else
17512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17513 /* end confdefs.h. */
17516 main ()
17518 return __builtin_clz(1)
17520 return 0;
17522 _ACEOF
17523 if ac_fn_c_try_link "$LINENO"; then :
17524 ac_cv_have___builtin_clz="yes"
17525 else
17526 ac_cv_have___builtin_clz="no"
17528 rm -f core conftest.err conftest.$ac_objext \
17529 conftest$ac_exeext conftest.$ac_ext
17531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17532 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17533 if test "$ac_cv_have___builtin_clz" = "yes"
17534 then
17536 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17541 $as_echo_n "checking for __builtin_popcount... " >&6; }
17542 if ${ac_cv_have___builtin_popcount+:} false; then :
17543 $as_echo_n "(cached) " >&6
17544 else
17545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17546 /* end confdefs.h. */
17549 main ()
17551 return __builtin_popcount(1)
17553 return 0;
17555 _ACEOF
17556 if ac_fn_c_try_link "$LINENO"; then :
17557 ac_cv_have___builtin_popcount="yes"
17558 else
17559 ac_cv_have___builtin_popcount="no"
17561 rm -f core conftest.err conftest.$ac_objext \
17562 conftest$ac_exeext conftest.$ac_ext
17564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17565 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17566 if test "$ac_cv_have___builtin_popcount" = "yes"
17567 then
17569 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17574 case $host_cpu in
17575 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17576 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17577 if ${ac_cv_cpp_def___i386__+:} false; then :
17578 $as_echo_n "(cached) " >&6
17579 else
17580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17581 /* end confdefs.h. */
17582 #ifndef __i386__
17584 #endif
17585 _ACEOF
17586 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17587 $EGREP "yes" >/dev/null 2>&1; then :
17588 ac_cv_cpp_def___i386__=yes
17589 else
17590 ac_cv_cpp_def___i386__=no
17592 rm -f conftest*
17595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17596 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17597 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17598 CFLAGS="$CFLAGS -D__i386__"
17599 LINTFLAGS="$LINTFLAGS -D__i386__"
17600 fi ;;
17601 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17602 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17603 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17604 $as_echo_n "(cached) " >&6
17605 else
17606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17607 /* end confdefs.h. */
17608 #ifndef __x86_64__
17610 #endif
17611 _ACEOF
17612 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17613 $EGREP "yes" >/dev/null 2>&1; then :
17614 ac_cv_cpp_def___x86_64__=yes
17615 else
17616 ac_cv_cpp_def___x86_64__=no
17618 rm -f conftest*
17621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17622 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17623 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17624 CFLAGS="$CFLAGS -D__x86_64__"
17625 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17626 fi ;;
17627 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17628 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17629 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17630 $as_echo_n "(cached) " >&6
17631 else
17632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17633 /* end confdefs.h. */
17634 #ifndef __sparc64__
17636 #endif
17637 _ACEOF
17638 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17639 $EGREP "yes" >/dev/null 2>&1; then :
17640 ac_cv_cpp_def___sparc64__=yes
17641 else
17642 ac_cv_cpp_def___sparc64__=no
17644 rm -f conftest*
17647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17648 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17649 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17650 CFLAGS="$CFLAGS -D__sparc64__"
17651 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17652 fi ;;
17653 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17654 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17655 if ${ac_cv_cpp_def___sparc__+:} false; then :
17656 $as_echo_n "(cached) " >&6
17657 else
17658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17659 /* end confdefs.h. */
17660 #ifndef __sparc__
17662 #endif
17663 _ACEOF
17664 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17665 $EGREP "yes" >/dev/null 2>&1; then :
17666 ac_cv_cpp_def___sparc__=yes
17667 else
17668 ac_cv_cpp_def___sparc__=no
17670 rm -f conftest*
17673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17674 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17675 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17676 CFLAGS="$CFLAGS -D__sparc__"
17677 LINTFLAGS="$LINTFLAGS -D__sparc__"
17678 fi ;;
17679 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17680 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17681 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17682 $as_echo_n "(cached) " >&6
17683 else
17684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17685 /* end confdefs.h. */
17686 #ifndef __powerpc64__
17688 #endif
17689 _ACEOF
17690 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17691 $EGREP "yes" >/dev/null 2>&1; then :
17692 ac_cv_cpp_def___powerpc64__=yes
17693 else
17694 ac_cv_cpp_def___powerpc64__=no
17696 rm -f conftest*
17699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17700 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17701 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17702 CFLAGS="$CFLAGS -D__powerpc64__"
17703 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17704 fi ;;
17705 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17706 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17707 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17708 $as_echo_n "(cached) " >&6
17709 else
17710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17711 /* end confdefs.h. */
17712 #ifndef __powerpc__
17714 #endif
17715 _ACEOF
17716 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17717 $EGREP "yes" >/dev/null 2>&1; then :
17718 ac_cv_cpp_def___powerpc__=yes
17719 else
17720 ac_cv_cpp_def___powerpc__=no
17722 rm -f conftest*
17725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17726 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17727 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17728 CFLAGS="$CFLAGS -D__powerpc__"
17729 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17730 fi ;;
17731 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17732 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17733 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17734 $as_echo_n "(cached) " >&6
17735 else
17736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17737 /* end confdefs.h. */
17738 #ifndef __aarch64__
17740 #endif
17741 _ACEOF
17742 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17743 $EGREP "yes" >/dev/null 2>&1; then :
17744 ac_cv_cpp_def___aarch64__=yes
17745 else
17746 ac_cv_cpp_def___aarch64__=no
17748 rm -f conftest*
17751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17752 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17753 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17754 CFLAGS="$CFLAGS -D__aarch64__"
17755 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17756 fi ;;
17757 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17758 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17759 if ${ac_cv_cpp_def___arm__+:} false; then :
17760 $as_echo_n "(cached) " >&6
17761 else
17762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17763 /* end confdefs.h. */
17764 #ifndef __arm__
17766 #endif
17767 _ACEOF
17768 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17769 $EGREP "yes" >/dev/null 2>&1; then :
17770 ac_cv_cpp_def___arm__=yes
17771 else
17772 ac_cv_cpp_def___arm__=no
17774 rm -f conftest*
17777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17778 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17779 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17780 CFLAGS="$CFLAGS -D__arm__"
17781 LINTFLAGS="$LINTFLAGS -D__arm__"
17782 fi ;;
17783 esac
17785 case $host_vendor in
17786 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17787 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17788 if ${ac_cv_cpp_def___sun__+:} false; then :
17789 $as_echo_n "(cached) " >&6
17790 else
17791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17792 /* end confdefs.h. */
17793 #ifndef __sun__
17795 #endif
17796 _ACEOF
17797 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17798 $EGREP "yes" >/dev/null 2>&1; then :
17799 ac_cv_cpp_def___sun__=yes
17800 else
17801 ac_cv_cpp_def___sun__=no
17803 rm -f conftest*
17806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17807 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17808 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17809 CFLAGS="$CFLAGS -D__sun__"
17810 LINTFLAGS="$LINTFLAGS -D__sun__"
17811 fi ;;
17812 esac
17818 ac_config_commands="$ac_config_commands include/stamp-h"
17820 $as_echo_n "creating Makefile rules..." >&6
17822 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17823 SOCKET_LIBS = $SOCKET_LIBS
17824 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17825 IOKIT_LIBS = $IOKIT_LIBS
17826 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17827 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17828 CORESERVICES_LIBS = $CORESERVICES_LIBS
17829 APPKIT_LIBS = $APPKIT_LIBS
17830 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17831 SECURITY_LIBS = $SECURITY_LIBS
17832 COREAUDIO_LIBS = $COREAUDIO_LIBS
17833 OPENAL_LIBS = $OPENAL_LIBS
17834 OPENCL_LIBS = $OPENCL_LIBS
17835 QUICKTIME_LIBS = $QUICKTIME_LIBS
17836 CARBON_LIBS = $CARBON_LIBS
17837 PTHREAD_LIBS = $PTHREAD_LIBS
17838 X_CFLAGS = $X_CFLAGS
17839 X_PRE_LIBS = $X_PRE_LIBS
17840 X_LIBS = $X_LIBS
17841 X_EXTRA_LIBS = $X_EXTRA_LIBS
17842 PCAP_LIBS = $PCAP_LIBS
17843 XML2_CFLAGS = $XML2_CFLAGS
17844 XML2_LIBS = $XML2_LIBS
17845 XSLT_CFLAGS = $XSLT_CFLAGS
17846 XSLT_LIBS = $XSLT_LIBS
17847 DBUS_CFLAGS = $DBUS_CFLAGS
17848 DBUS_LIBS = $DBUS_LIBS
17849 HAL_CFLAGS = $HAL_CFLAGS
17850 HAL_LIBS = $HAL_LIBS
17851 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17852 GNUTLS_LIBS = $GNUTLS_LIBS
17853 SANE_CFLAGS = $SANE_CFLAGS
17854 SANE_LIBS = $SANE_LIBS
17855 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17856 GPHOTO2_LIBS = $GPHOTO2_LIBS
17857 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17858 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17859 RESOLV_LIBS = $RESOLV_LIBS
17860 LCMS2_CFLAGS = $LCMS2_CFLAGS
17861 LCMS2_LIBS = $LCMS2_LIBS
17862 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17863 FREETYPE_LIBS = $FREETYPE_LIBS
17864 Z_LIBS = $Z_LIBS
17865 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17866 PULSE_CFLAGS = $PULSE_CFLAGS
17867 PULSE_LIBS = $PULSE_LIBS
17868 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17869 GSTREAMER_LIBS = $GSTREAMER_LIBS
17870 ALSA_LIBS = $ALSA_LIBS
17871 OSS4_CFLAGS = $OSS4_CFLAGS
17872 UDEV_CFLAGS = $UDEV_CFLAGS
17873 UDEV_LIBS = $UDEV_LIBS
17874 CAPI20_CFLAGS = $CAPI20_CFLAGS
17875 CAPI20_LIBS = $CAPI20_LIBS
17876 CUPS_CFLAGS = $CUPS_CFLAGS
17877 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17878 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17879 JPEG_CFLAGS = $JPEG_CFLAGS
17880 JPEG_LIBS = $JPEG_LIBS
17881 PNG_CFLAGS = $PNG_CFLAGS
17882 PNG_LIBS = $PNG_LIBS
17883 TIFF_CFLAGS = $TIFF_CFLAGS
17884 TIFF_LIBS = $TIFF_LIBS
17885 MPG123_CFLAGS = $MPG123_CFLAGS
17886 MPG123_LIBS = $MPG123_LIBS
17887 KSTAT_LIBS = $KSTAT_LIBS
17888 PROCSTAT_LIBS = $PROCSTAT_LIBS
17889 NETAPI_CFLAGS = $NETAPI_CFLAGS
17890 NETAPI_LIBS = $NETAPI_LIBS
17891 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17892 DL_LIBS = $DL_LIBS
17893 POLL_LIBS = $POLL_LIBS
17894 RT_LIBS = $RT_LIBS
17895 LDAP_CFLAGS = $LDAP_CFLAGS
17896 LDAP_LIBS = $LDAP_LIBS
17901 wine_fn_append_rule "
17902 # Rules automatically generated by configure
17904 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17906 .INIT: Makefile
17907 .MAKEFILEDEPS:
17908 all: Makefile
17909 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17910 @./config.status Make.tmp Makefile
17911 depend: \$(MAKEDEP) dummy
17912 \$(MAKEDEP)"
17914 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17915 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17917 if test "x$enable_fonts" != xno; then
17918 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17919 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17920 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17921 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17922 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17923 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17925 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17926 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17927 ac_config_links="$ac_config_links wine:tools/winewrapper"
17928 wine_fn_config_symlink wine
17929 if test "x$enable_win64" != xno; then
17930 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17931 wine_fn_config_symlink wine64
17934 wine_fn_config_dll acledit enable_acledit
17935 wine_fn_config_dll aclui enable_aclui implib
17936 wine_fn_config_dll activeds enable_activeds implib
17937 wine_fn_config_dll actxprxy enable_actxprxy clean
17938 wine_fn_config_lib adsiid
17939 wine_fn_config_dll adsldpc enable_adsldpc
17940 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17941 wine_fn_config_test dlls/advapi32/tests advapi32_test
17942 wine_fn_config_dll advpack enable_advpack implib
17943 wine_fn_config_test dlls/advpack/tests advpack_test
17944 wine_fn_config_dll amstream enable_amstream clean
17945 wine_fn_config_test dlls/amstream/tests amstream_test
17946 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
17947 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17948 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17949 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17950 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17951 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17952 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17953 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17954 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17955 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17956 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17957 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17958 wine_fn_config_dll api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
17959 wine_fn_config_dll api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
17960 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17961 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17962 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17963 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17964 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17965 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17966 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17967 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17968 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17969 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17970 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17971 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17972 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17973 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17974 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17975 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17976 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17977 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17978 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17979 wine_fn_config_dll api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
17980 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17981 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17982 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17983 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17984 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17985 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17986 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17987 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17988 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17989 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17990 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17991 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17992 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17993 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17994 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17995 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17996 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17997 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17998 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17999 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18000 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18001 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18002 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18003 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18004 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18005 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18006 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18007 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18008 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18009 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18010 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18011 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18012 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18013 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18014 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18015 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18016 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18017 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18018 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18019 wine_fn_config_dll api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18020 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18021 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18022 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18023 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18024 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18025 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18026 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18027 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18028 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18029 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18030 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18031 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18032 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18033 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18034 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18035 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18036 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18037 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18038 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18039 wine_fn_config_dll api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18040 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18041 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18042 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18043 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18044 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18045 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18046 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18047 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18048 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18049 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18050 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18051 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18052 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18053 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18054 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18055 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18056 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18057 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18058 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18059 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18060 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18061 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18062 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18063 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18064 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18065 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18066 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18067 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18068 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18069 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18070 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18071 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18072 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18073 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18074 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18075 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18076 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18077 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18078 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18079 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18080 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18081 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18082 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18083 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18084 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18085 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18086 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18087 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18088 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18089 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18090 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18091 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18092 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18093 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18094 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18095 wine_fn_config_dll api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18096 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18097 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18098 wine_fn_config_dll api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
18099 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18100 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18101 wine_fn_config_dll api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18102 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18103 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18104 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18105 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18106 wine_fn_config_dll api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18107 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18108 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18109 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18110 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18111 wine_fn_config_dll api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18112 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18113 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18114 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18115 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18116 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18117 wine_fn_config_dll api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18118 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18119 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18120 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18121 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18122 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18123 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18124 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18125 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18126 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18127 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18128 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18129 wine_fn_config_dll apphelp enable_apphelp
18130 wine_fn_config_test dlls/apphelp/tests apphelp_test
18131 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
18132 wine_fn_config_dll atl enable_atl clean,implib
18133 wine_fn_config_test dlls/atl/tests atl_test
18134 wine_fn_config_dll atl100 enable_atl100 clean,implib
18135 wine_fn_config_test dlls/atl100/tests atl100_test
18136 wine_fn_config_dll atl110 enable_atl110 clean
18137 wine_fn_config_dll atl80 enable_atl80 clean,implib
18138 wine_fn_config_test dlls/atl80/tests atl80_test
18139 wine_fn_config_dll atl90 enable_atl90 clean
18140 wine_fn_config_dll authz enable_authz
18141 wine_fn_config_dll avicap32 enable_avicap32 implib
18142 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
18143 wine_fn_config_test dlls/avifil32/tests avifil32_test
18144 wine_fn_config_dll avifile.dll16 enable_win16
18145 wine_fn_config_dll avrt enable_avrt implib
18146 wine_fn_config_dll bcrypt enable_bcrypt implib
18147 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
18148 wine_fn_config_dll bluetoothapis enable_bluetoothapis
18149 wine_fn_config_dll browseui enable_browseui clean
18150 wine_fn_config_test dlls/browseui/tests browseui_test
18151 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
18152 wine_fn_config_dll cabinet enable_cabinet implib
18153 wine_fn_config_test dlls/cabinet/tests cabinet_test
18154 wine_fn_config_dll capi2032 enable_capi2032 implib
18155 wine_fn_config_dll cards enable_cards implib
18156 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
18157 wine_fn_config_dll clusapi enable_clusapi implib
18158 wine_fn_config_dll combase enable_combase
18159 wine_fn_config_test dlls/combase/tests combase_test
18160 wine_fn_config_dll comcat enable_comcat
18161 wine_fn_config_test dlls/comcat/tests comcat_test
18162 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
18163 wine_fn_config_test dlls/comctl32/tests comctl32_test
18164 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
18165 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
18166 wine_fn_config_dll comm.drv16 enable_win16
18167 wine_fn_config_dll commdlg.dll16 enable_win16
18168 wine_fn_config_dll compobj.dll16 enable_win16
18169 wine_fn_config_dll compstui enable_compstui implib
18170 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
18171 wine_fn_config_dll concrt140 enable_concrt140
18172 wine_fn_config_dll connect enable_connect
18173 wine_fn_config_dll credui enable_credui clean,implib
18174 wine_fn_config_test dlls/credui/tests credui_test
18175 wine_fn_config_dll crtdll enable_crtdll
18176 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
18177 wine_fn_config_test dlls/crypt32/tests crypt32_test
18178 wine_fn_config_dll cryptdlg enable_cryptdlg clean
18179 wine_fn_config_dll cryptdll enable_cryptdll implib
18180 wine_fn_config_dll cryptext enable_cryptext
18181 wine_fn_config_dll cryptnet enable_cryptnet implib
18182 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
18183 wine_fn_config_dll cryptui enable_cryptui clean,implib
18184 wine_fn_config_test dlls/cryptui/tests cryptui_test
18185 wine_fn_config_dll ctapi32 enable_ctapi32
18186 wine_fn_config_dll ctl3d.dll16 enable_win16
18187 wine_fn_config_dll ctl3d32 enable_ctl3d32
18188 wine_fn_config_dll ctl3dv2.dll16 enable_win16
18189 wine_fn_config_dll d2d1 enable_d2d1 implib
18190 wine_fn_config_test dlls/d2d1/tests d2d1_test
18191 wine_fn_config_dll d3d10 enable_d3d10 implib
18192 wine_fn_config_test dlls/d3d10/tests d3d10_test
18193 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
18194 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
18195 wine_fn_config_dll d3d10core enable_d3d10core implib
18196 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
18197 wine_fn_config_dll d3d11 enable_d3d11 implib
18198 wine_fn_config_test dlls/d3d11/tests d3d11_test
18199 wine_fn_config_dll d3d8 enable_d3d8 implib
18200 wine_fn_config_test dlls/d3d8/tests d3d8_test
18201 wine_fn_config_dll d3d9 enable_d3d9 implib
18202 wine_fn_config_test dlls/d3d9/tests d3d9_test
18203 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
18204 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
18205 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
18206 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
18207 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
18208 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18209 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18210 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18211 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18212 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18213 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
18214 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
18215 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18216 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18217 wine_fn_config_dll d3dim enable_d3dim
18218 wine_fn_config_dll d3drm enable_d3drm implib
18219 wine_fn_config_test dlls/d3drm/tests d3drm_test
18220 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18221 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18222 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18223 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18224 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18225 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18226 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18227 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18228 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18229 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18230 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
18231 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
18232 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18233 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
18234 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
18235 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18236 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18237 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18238 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18239 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18240 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18241 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18242 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18243 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18244 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18245 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18246 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18247 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
18248 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
18249 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18250 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18251 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18252 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18253 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18254 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18255 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18256 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
18257 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
18258 wine_fn_config_dll davclnt enable_davclnt
18259 wine_fn_config_dll dbgeng enable_dbgeng implib
18260 wine_fn_config_dll dbghelp enable_dbghelp implib
18261 wine_fn_config_dll dciman32 enable_dciman32 implib
18262 wine_fn_config_dll ddeml.dll16 enable_win16
18263 wine_fn_config_dll ddraw enable_ddraw clean,implib
18264 wine_fn_config_test dlls/ddraw/tests ddraw_test
18265 wine_fn_config_dll ddrawex enable_ddrawex clean
18266 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
18267 wine_fn_config_dll devenum enable_devenum clean
18268 wine_fn_config_test dlls/devenum/tests devenum_test
18269 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18270 wine_fn_config_dll difxapi enable_difxapi
18271 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
18272 wine_fn_config_test dlls/dinput/tests dinput_test
18273 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
18274 wine_fn_config_test dlls/dinput8/tests dinput8_test
18275 wine_fn_config_dll dispdib.dll16 enable_win16
18276 wine_fn_config_dll dispex enable_dispex clean
18277 wine_fn_config_test dlls/dispex/tests dispex_test
18278 wine_fn_config_dll display.drv16 enable_win16
18279 wine_fn_config_dll dmband enable_dmband clean
18280 wine_fn_config_test dlls/dmband/tests dmband_test
18281 wine_fn_config_dll dmcompos enable_dmcompos clean
18282 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
18283 wine_fn_config_dll dmime enable_dmime clean
18284 wine_fn_config_test dlls/dmime/tests dmime_test
18285 wine_fn_config_dll dmloader enable_dmloader clean
18286 wine_fn_config_test dlls/dmloader/tests dmloader_test
18287 wine_fn_config_dll dmscript enable_dmscript clean
18288 wine_fn_config_test dlls/dmscript/tests dmscript_test
18289 wine_fn_config_dll dmstyle enable_dmstyle clean
18290 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
18291 wine_fn_config_dll dmsynth enable_dmsynth clean
18292 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
18293 wine_fn_config_dll dmusic enable_dmusic clean
18294 wine_fn_config_test dlls/dmusic/tests dmusic_test
18295 wine_fn_config_dll dmusic32 enable_dmusic32
18296 wine_fn_config_dll dnsapi enable_dnsapi implib
18297 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
18298 wine_fn_config_dll dplay enable_dplay
18299 wine_fn_config_dll dplayx enable_dplayx clean,implib
18300 wine_fn_config_test dlls/dplayx/tests dplayx_test
18301 wine_fn_config_dll dpnaddr enable_dpnaddr
18302 wine_fn_config_dll dpnet enable_dpnet clean,implib
18303 wine_fn_config_test dlls/dpnet/tests dpnet_test
18304 wine_fn_config_dll dpnhpast enable_dpnhpast
18305 wine_fn_config_dll dpnlobby enable_dpnlobby
18306 wine_fn_config_dll dpvoice enable_dpvoice clean
18307 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
18308 wine_fn_config_dll dpwsockx enable_dpwsockx
18309 wine_fn_config_dll drmclien enable_drmclien
18310 wine_fn_config_dll dsound enable_dsound clean,implib
18311 wine_fn_config_test dlls/dsound/tests dsound_test
18312 wine_fn_config_dll dsquery enable_dsquery clean
18313 wine_fn_config_dll dssenh enable_dssenh
18314 wine_fn_config_test dlls/dssenh/tests dssenh_test
18315 wine_fn_config_dll dswave enable_dswave clean
18316 wine_fn_config_test dlls/dswave/tests dswave_test
18317 wine_fn_config_dll dwmapi enable_dwmapi implib
18318 wine_fn_config_dll dwrite enable_dwrite implib
18319 wine_fn_config_test dlls/dwrite/tests dwrite_test
18320 wine_fn_config_dll dxdiagn enable_dxdiagn clean
18321 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
18322 wine_fn_config_lib dxerr8
18323 wine_fn_config_lib dxerr9
18324 wine_fn_config_dll dxgi enable_dxgi implib
18325 wine_fn_config_test dlls/dxgi/tests dxgi_test
18326 wine_fn_config_lib dxguid
18327 wine_fn_config_dll dxva2 enable_dxva2
18328 wine_fn_config_dll esent enable_esent
18329 wine_fn_config_dll evr enable_evr
18330 wine_fn_config_dll explorerframe enable_explorerframe clean
18331 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
18332 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18333 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18334 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18335 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18336 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18337 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18338 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18339 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18340 wine_fn_config_dll ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18341 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18342 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18343 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18344 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18345 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18346 wine_fn_config_dll ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18347 wine_fn_config_dll ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18348 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18349 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18350 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dc-access-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
18351 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18352 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18353 wine_fn_config_dll ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18354 wine_fn_config_dll ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18355 wine_fn_config_dll faultrep enable_faultrep implib
18356 wine_fn_config_test dlls/faultrep/tests faultrep_test
18357 wine_fn_config_dll fltlib enable_fltlib
18358 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18359 wine_fn_config_dll fntcache enable_fntcache
18360 wine_fn_config_dll fontsub enable_fontsub
18361 wine_fn_config_dll fusion enable_fusion
18362 wine_fn_config_test dlls/fusion/tests fusion_test
18363 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18364 wine_fn_config_dll gameux enable_gameux clean
18365 wine_fn_config_test dlls/gameux/tests gameux_test
18366 wine_fn_config_dll gdi.exe16 enable_win16
18367 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18368 wine_fn_config_test dlls/gdi32/tests gdi32_test
18369 wine_fn_config_dll gdiplus enable_gdiplus implib
18370 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18371 wine_fn_config_dll glu32 enable_glu32 implib
18372 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18373 wine_fn_config_dll gpkcsp enable_gpkcsp
18374 wine_fn_config_dll hal enable_hal
18375 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18376 wine_fn_config_dll hid enable_hid implib
18377 wine_fn_config_test dlls/hid/tests hid_test
18378 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18379 wine_fn_config_dll hlink enable_hlink clean,implib
18380 wine_fn_config_test dlls/hlink/tests hlink_test
18381 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18382 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18383 wine_fn_config_dll httpapi enable_httpapi
18384 wine_fn_config_dll iccvid enable_iccvid clean
18385 wine_fn_config_dll icmp enable_icmp
18386 wine_fn_config_dll ieframe enable_ieframe clean,implib
18387 wine_fn_config_test dlls/ieframe/tests ieframe_test
18388 wine_fn_config_dll ieproxy enable_ieproxy clean
18389 wine_fn_config_dll ifsmgr.vxd enable_win16
18390 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18391 wine_fn_config_dll imagehlp enable_imagehlp implib
18392 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18393 wine_fn_config_dll imm.dll16 enable_win16
18394 wine_fn_config_dll imm32 enable_imm32 implib
18395 wine_fn_config_test dlls/imm32/tests imm32_test
18396 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18397 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18398 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18399 wine_fn_config_dll inetmib1 enable_inetmib1
18400 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18401 wine_fn_config_dll infosoft enable_infosoft clean
18402 wine_fn_config_test dlls/infosoft/tests infosoft_test
18403 wine_fn_config_dll initpki enable_initpki
18404 wine_fn_config_dll inkobj enable_inkobj
18405 wine_fn_config_dll inseng enable_inseng clean
18406 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18407 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18408 wine_fn_config_dll iprop enable_iprop
18409 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18410 wine_fn_config_dll itircl enable_itircl
18411 wine_fn_config_dll itss enable_itss clean
18412 wine_fn_config_test dlls/itss/tests itss_test
18413 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18414 wine_fn_config_dll jscript enable_jscript clean
18415 wine_fn_config_test dlls/jscript/tests jscript_test
18416 wine_fn_config_dll jsproxy enable_jsproxy implib
18417 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18418 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18419 wine_fn_config_test dlls/kernel32/tests kernel32_test
18420 wine_fn_config_dll kernelbase enable_kernelbase
18421 wine_fn_config_dll keyboard.drv16 enable_win16
18422 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18423 wine_fn_config_dll ksuser enable_ksuser
18424 wine_fn_config_dll ktmw32 enable_ktmw32
18425 wine_fn_config_dll loadperf enable_loadperf implib
18426 wine_fn_config_dll localspl enable_localspl clean
18427 wine_fn_config_test dlls/localspl/tests localspl_test
18428 wine_fn_config_dll localui enable_localui clean
18429 wine_fn_config_test dlls/localui/tests localui_test
18430 wine_fn_config_dll lz32 enable_lz32 implib
18431 wine_fn_config_test dlls/lz32/tests lz32_test
18432 wine_fn_config_dll lzexpand.dll16 enable_win16
18433 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18434 wine_fn_config_test dlls/mapi32/tests mapi32_test
18435 wine_fn_config_dll mapistub enable_mapistub
18436 wine_fn_config_dll mciavi32 enable_mciavi32
18437 wine_fn_config_dll mcicda enable_mcicda
18438 wine_fn_config_dll mciqtz32 enable_mciqtz32
18439 wine_fn_config_dll mciseq enable_mciseq
18440 wine_fn_config_dll mciwave enable_mciwave
18441 wine_fn_config_dll mf enable_mf implib
18442 wine_fn_config_test dlls/mf/tests mf_test
18443 wine_fn_config_dll mf3216 enable_mf3216
18444 wine_fn_config_dll mfplat enable_mfplat implib
18445 wine_fn_config_test dlls/mfplat/tests mfplat_test
18446 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18447 wine_fn_config_dll mgmtapi enable_mgmtapi
18448 wine_fn_config_dll midimap enable_midimap
18449 wine_fn_config_dll mlang enable_mlang clean,implib
18450 wine_fn_config_test dlls/mlang/tests mlang_test
18451 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18452 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18453 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18454 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18455 wine_fn_config_dll mmdevldr.vxd enable_win16
18456 wine_fn_config_dll mmsystem.dll16 enable_win16
18457 wine_fn_config_dll monodebg.vxd enable_win16
18458 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18459 wine_fn_config_dll mouse.drv16 enable_win16
18460 wine_fn_config_dll mpr enable_mpr clean,implib
18461 wine_fn_config_test dlls/mpr/tests mpr_test
18462 wine_fn_config_dll mprapi enable_mprapi implib
18463 wine_fn_config_dll msacm.dll16 enable_win16
18464 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18465 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18466 wine_fn_config_test dlls/msacm32/tests msacm32_test
18467 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18468 wine_fn_config_dll msasn1 enable_msasn1 implib
18469 wine_fn_config_dll mscat32 enable_mscat32
18470 wine_fn_config_dll mscms enable_mscms implib
18471 wine_fn_config_test dlls/mscms/tests mscms_test
18472 wine_fn_config_dll mscoree enable_mscoree clean
18473 wine_fn_config_test dlls/mscoree/tests mscoree_test
18474 wine_fn_config_dll msctf enable_msctf clean
18475 wine_fn_config_test dlls/msctf/tests msctf_test
18476 wine_fn_config_dll msctfp enable_msctfp clean
18477 wine_fn_config_dll msdaps enable_msdaps clean
18478 wine_fn_config_dll msdelta enable_msdelta
18479 wine_fn_config_dll msdmo enable_msdmo implib
18480 wine_fn_config_test dlls/msdmo/tests msdmo_test
18481 wine_fn_config_dll msdrm enable_msdrm
18482 wine_fn_config_dll msftedit enable_msftedit
18483 wine_fn_config_dll msg711.acm enable_msg711_acm
18484 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18485 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18486 wine_fn_config_dll mshtml enable_mshtml clean,implib
18487 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18488 wine_fn_config_dll msi enable_msi clean,implib
18489 wine_fn_config_test dlls/msi/tests msi_test
18490 wine_fn_config_dll msident enable_msident clean
18491 wine_fn_config_dll msimg32 enable_msimg32 implib
18492 wine_fn_config_dll msimsg enable_msimsg
18493 wine_fn_config_dll msimtf enable_msimtf clean
18494 wine_fn_config_dll msisip enable_msisip
18495 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18496 wine_fn_config_dll msls31 enable_msls31
18497 wine_fn_config_dll msnet32 enable_msnet32
18498 wine_fn_config_dll mspatcha enable_mspatcha implib
18499 wine_fn_config_dll msports enable_msports
18500 wine_fn_config_dll msrle32 enable_msrle32 clean
18501 wine_fn_config_test dlls/msrle32/tests msrle32_test
18502 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18503 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18504 wine_fn_config_dll mssign32 enable_mssign32
18505 wine_fn_config_dll mssip32 enable_mssip32
18506 wine_fn_config_dll mstask enable_mstask clean
18507 wine_fn_config_test dlls/mstask/tests mstask_test
18508 wine_fn_config_dll msvcirt enable_msvcirt
18509 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18510 wine_fn_config_dll msvcm80 enable_msvcm80
18511 wine_fn_config_dll msvcm90 enable_msvcm90
18512 wine_fn_config_dll msvcp100 enable_msvcp100
18513 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18514 wine_fn_config_dll msvcp110 enable_msvcp110
18515 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18516 wine_fn_config_dll msvcp120 enable_msvcp120
18517 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18518 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18519 wine_fn_config_dll msvcp140 enable_msvcp140
18520 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18521 wine_fn_config_dll msvcp60 enable_msvcp60
18522 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18523 wine_fn_config_dll msvcp70 enable_msvcp70
18524 wine_fn_config_dll msvcp71 enable_msvcp71
18525 wine_fn_config_dll msvcp80 enable_msvcp80
18526 wine_fn_config_dll msvcp90 enable_msvcp90
18527 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18528 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18529 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18530 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18531 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18532 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18533 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18534 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18535 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18536 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18537 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18538 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18539 wine_fn_config_dll msvcrt enable_msvcrt implib
18540 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18541 wine_fn_config_dll msvcrt20 enable_msvcrt20
18542 wine_fn_config_dll msvcrt40 enable_msvcrt40
18543 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18544 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18545 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18546 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18547 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18548 wine_fn_config_dll msvideo.dll16 enable_win16
18549 wine_fn_config_dll mswsock enable_mswsock implib
18550 wine_fn_config_dll msxml enable_msxml clean
18551 wine_fn_config_dll msxml2 enable_msxml2 clean
18552 wine_fn_config_dll msxml3 enable_msxml3 clean
18553 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18554 wine_fn_config_dll msxml4 enable_msxml4 clean
18555 wine_fn_config_dll msxml6 enable_msxml6 clean
18556 wine_fn_config_dll mtxdm enable_mtxdm
18557 wine_fn_config_dll ncrypt enable_ncrypt
18558 wine_fn_config_dll nddeapi enable_nddeapi implib
18559 wine_fn_config_dll ndis.sys enable_ndis_sys
18560 wine_fn_config_dll netapi32 enable_netapi32 implib
18561 wine_fn_config_test dlls/netapi32/tests netapi32_test
18562 wine_fn_config_dll netcfgx enable_netcfgx clean
18563 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18564 wine_fn_config_dll netprofm enable_netprofm clean
18565 wine_fn_config_test dlls/netprofm/tests netprofm_test
18566 wine_fn_config_dll newdev enable_newdev implib
18567 wine_fn_config_dll normaliz enable_normaliz implib
18568 wine_fn_config_dll npmshtml enable_npmshtml
18569 wine_fn_config_dll npptools enable_npptools
18570 wine_fn_config_dll ntdll enable_ntdll implib
18571 wine_fn_config_test dlls/ntdll/tests ntdll_test
18572 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18573 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18574 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18575 wine_fn_config_dll ntprint enable_ntprint
18576 wine_fn_config_test dlls/ntprint/tests ntprint_test
18577 wine_fn_config_dll objsel enable_objsel clean
18578 wine_fn_config_dll odbc32 enable_odbc32 implib
18579 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18580 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18581 wine_fn_config_dll odbccu32 enable_odbccu32
18582 wine_fn_config_dll ole2.dll16 enable_win16
18583 wine_fn_config_dll ole2conv.dll16 enable_win16
18584 wine_fn_config_dll ole2disp.dll16 enable_win16
18585 wine_fn_config_dll ole2nls.dll16 enable_win16
18586 wine_fn_config_dll ole2prox.dll16 enable_win16
18587 wine_fn_config_dll ole2thk.dll16 enable_win16
18588 wine_fn_config_dll ole32 enable_ole32 clean,implib
18589 wine_fn_config_test dlls/ole32/tests ole32_test
18590 wine_fn_config_dll oleacc enable_oleacc clean,implib
18591 wine_fn_config_test dlls/oleacc/tests oleacc_test
18592 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18593 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18594 wine_fn_config_dll olecli.dll16 enable_win16
18595 wine_fn_config_dll olecli32 enable_olecli32 implib
18596 wine_fn_config_dll oledb32 enable_oledb32 clean
18597 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18598 wine_fn_config_dll oledlg enable_oledlg clean,implib
18599 wine_fn_config_test dlls/oledlg/tests oledlg_test
18600 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18601 wine_fn_config_dll olesvr.dll16 enable_win16
18602 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18603 wine_fn_config_dll olethk32 enable_olethk32
18604 wine_fn_config_dll openal32 enable_openal32
18605 wine_fn_config_dll opencl enable_opencl
18606 wine_fn_config_dll opengl32 enable_opengl32 implib
18607 wine_fn_config_test dlls/opengl32/tests opengl32_test
18608 wine_fn_config_dll packager enable_packager clean
18609 wine_fn_config_test dlls/packager/tests packager_test
18610 wine_fn_config_dll pdh enable_pdh implib
18611 wine_fn_config_test dlls/pdh/tests pdh_test
18612 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18613 wine_fn_config_dll pidgen enable_pidgen
18614 wine_fn_config_dll powrprof enable_powrprof implib
18615 wine_fn_config_dll printui enable_printui
18616 wine_fn_config_dll prntvpt enable_prntvpt
18617 wine_fn_config_dll propsys enable_propsys clean,implib
18618 wine_fn_config_test dlls/propsys/tests propsys_test
18619 wine_fn_config_dll psapi enable_psapi implib
18620 wine_fn_config_test dlls/psapi/tests psapi_test
18621 wine_fn_config_dll pstorec enable_pstorec clean
18622 wine_fn_config_test dlls/pstorec/tests pstorec_test
18623 wine_fn_config_dll qcap enable_qcap
18624 wine_fn_config_test dlls/qcap/tests qcap_test
18625 wine_fn_config_dll qedit enable_qedit clean
18626 wine_fn_config_test dlls/qedit/tests qedit_test
18627 wine_fn_config_dll qmgr enable_qmgr clean
18628 wine_fn_config_test dlls/qmgr/tests qmgr_test
18629 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18630 wine_fn_config_dll quartz enable_quartz clean,implib
18631 wine_fn_config_test dlls/quartz/tests quartz_test clean
18632 wine_fn_config_dll query enable_query
18633 wine_fn_config_dll rasapi16.dll16 enable_win16
18634 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18635 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18636 wine_fn_config_dll rasdlg enable_rasdlg implib
18637 wine_fn_config_dll regapi enable_regapi
18638 wine_fn_config_dll resutils enable_resutils implib
18639 wine_fn_config_dll riched20 enable_riched20 clean,implib
18640 wine_fn_config_test dlls/riched20/tests riched20_test
18641 wine_fn_config_dll riched32 enable_riched32
18642 wine_fn_config_test dlls/riched32/tests riched32_test
18643 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18644 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18645 wine_fn_config_dll rsabase enable_rsabase
18646 wine_fn_config_dll rsaenh enable_rsaenh implib
18647 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18648 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18649 wine_fn_config_dll rtutils enable_rtutils implib
18650 wine_fn_config_dll samlib enable_samlib
18651 wine_fn_config_dll sane.ds enable_sane_ds clean
18652 wine_fn_config_dll scarddlg enable_scarddlg
18653 wine_fn_config_dll sccbase enable_sccbase
18654 wine_fn_config_dll schannel enable_schannel
18655 wine_fn_config_test dlls/schannel/tests schannel_test
18656 wine_fn_config_dll schedsvc enable_schedsvc clean
18657 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18658 wine_fn_config_dll scrobj enable_scrobj clean
18659 wine_fn_config_dll scrrun enable_scrrun clean
18660 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18661 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18662 wine_fn_config_dll secur32 enable_secur32 implib
18663 wine_fn_config_test dlls/secur32/tests secur32_test
18664 wine_fn_config_dll security enable_security
18665 wine_fn_config_dll sensapi enable_sensapi implib
18666 wine_fn_config_dll serialui enable_serialui clean
18667 wine_fn_config_test dlls/serialui/tests serialui_test
18668 wine_fn_config_dll setupapi enable_setupapi clean,implib
18669 wine_fn_config_test dlls/setupapi/tests setupapi_test
18670 wine_fn_config_dll setupx.dll16 enable_win16
18671 wine_fn_config_dll sfc enable_sfc implib
18672 wine_fn_config_dll sfc_os enable_sfc_os implib
18673 wine_fn_config_dll shdoclc enable_shdoclc clean
18674 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18675 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18676 wine_fn_config_dll shell.dll16 enable_win16
18677 wine_fn_config_dll shell32 enable_shell32 clean,implib
18678 wine_fn_config_test dlls/shell32/tests shell32_test
18679 wine_fn_config_dll shfolder enable_shfolder implib
18680 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18681 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18682 wine_fn_config_dll slbcsp enable_slbcsp
18683 wine_fn_config_dll slc enable_slc implib
18684 wine_fn_config_test dlls/slc/tests slc_test
18685 wine_fn_config_dll snmpapi enable_snmpapi implib
18686 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18687 wine_fn_config_dll softpub enable_softpub
18688 wine_fn_config_dll sound.drv16 enable_win16
18689 wine_fn_config_dll spoolss enable_spoolss implib
18690 wine_fn_config_test dlls/spoolss/tests spoolss_test
18691 wine_fn_config_dll sspicli enable_sspicli
18692 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18693 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18694 wine_fn_config_dll sti enable_sti clean,implib
18695 wine_fn_config_test dlls/sti/tests sti_test
18696 wine_fn_config_dll storage.dll16 enable_win16
18697 wine_fn_config_dll stress.dll16 enable_win16
18698 wine_fn_config_lib strmbase
18699 wine_fn_config_lib strmiids
18700 wine_fn_config_dll svrapi enable_svrapi
18701 wine_fn_config_dll sxs enable_sxs implib
18702 wine_fn_config_test dlls/sxs/tests sxs_test
18703 wine_fn_config_dll system.drv16 enable_win16
18704 wine_fn_config_dll t2embed enable_t2embed implib
18705 wine_fn_config_test dlls/t2embed/tests t2embed_test
18706 wine_fn_config_dll tapi32 enable_tapi32 implib
18707 wine_fn_config_dll taskschd enable_taskschd clean
18708 wine_fn_config_test dlls/taskschd/tests taskschd_test
18709 wine_fn_config_dll tdh enable_tdh
18710 wine_fn_config_dll tdi.sys enable_tdi_sys
18711 wine_fn_config_dll toolhelp.dll16 enable_win16
18712 wine_fn_config_dll traffic enable_traffic
18713 wine_fn_config_dll twain.dll16 enable_win16
18714 wine_fn_config_dll twain_32 enable_twain_32
18715 wine_fn_config_test dlls/twain_32/tests twain_32_test
18716 wine_fn_config_dll typelib.dll16 enable_win16
18717 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18718 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18719 wine_fn_config_dll uiautomationcore enable_uiautomationcore
18720 wine_fn_config_dll uiribbon enable_uiribbon clean
18721 wine_fn_config_dll unicows enable_unicows implib
18722 wine_fn_config_dll updspapi enable_updspapi
18723 wine_fn_config_dll url enable_url implib
18724 wine_fn_config_dll urlmon enable_urlmon clean,implib
18725 wine_fn_config_test dlls/urlmon/tests urlmon_test
18726 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18727 wine_fn_config_dll user.exe16 enable_win16
18728 wine_fn_config_dll user32 enable_user32 clean,implib
18729 wine_fn_config_test dlls/user32/tests user32_test
18730 wine_fn_config_dll userenv enable_userenv implib
18731 wine_fn_config_test dlls/userenv/tests userenv_test
18732 wine_fn_config_dll usp10 enable_usp10 implib
18733 wine_fn_config_test dlls/usp10/tests usp10_test
18734 wine_fn_config_lib uuid
18735 wine_fn_config_dll uxtheme enable_uxtheme implib
18736 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18737 wine_fn_config_dll vbscript enable_vbscript clean
18738 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18739 wine_fn_config_dll vcomp enable_vcomp
18740 wine_fn_config_test dlls/vcomp/tests vcomp_test
18741 wine_fn_config_dll vcomp100 enable_vcomp100
18742 wine_fn_config_dll vcomp110 enable_vcomp110
18743 wine_fn_config_dll vcomp120 enable_vcomp120
18744 wine_fn_config_dll vcomp140 enable_vcomp140
18745 wine_fn_config_dll vcomp90 enable_vcomp90
18746 wine_fn_config_dll vcruntime140 enable_vcruntime140
18747 wine_fn_config_dll vdhcp.vxd enable_win16
18748 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18749 wine_fn_config_dll ver.dll16 enable_win16
18750 wine_fn_config_dll version enable_version implib
18751 wine_fn_config_test dlls/version/tests version_test
18752 wine_fn_config_dll virtdisk enable_virtdisk
18753 wine_fn_config_dll vmm.vxd enable_win16
18754 wine_fn_config_dll vnbt.vxd enable_win16
18755 wine_fn_config_dll vnetbios.vxd enable_win16
18756 wine_fn_config_dll vssapi enable_vssapi
18757 wine_fn_config_dll vtdapi.vxd enable_win16
18758 wine_fn_config_dll vwin32.vxd enable_win16
18759 wine_fn_config_dll w32skrnl enable_win16
18760 wine_fn_config_dll w32sys.dll16 enable_win16
18761 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18762 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18763 wine_fn_config_dll wbemprox enable_wbemprox clean
18764 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18765 wine_fn_config_dll webservices enable_webservices implib
18766 wine_fn_config_test dlls/webservices/tests webservices_test
18767 wine_fn_config_dll wer enable_wer implib
18768 wine_fn_config_test dlls/wer/tests wer_test
18769 wine_fn_config_dll wevtapi enable_wevtapi
18770 wine_fn_config_dll wiaservc enable_wiaservc clean
18771 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18772 wine_fn_config_dll wimgapi enable_wimgapi
18773 wine_fn_config_dll win32s16.dll16 enable_win16
18774 wine_fn_config_dll win87em.dll16 enable_win16
18775 wine_fn_config_dll winaspi.dll16 enable_win16
18776 wine_fn_config_dll windebug.dll16 enable_win16
18777 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18778 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18779 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18780 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18781 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18782 wine_fn_config_dll wineandroid.drv enable_wineandroid_drv clean
18783 wine_fn_config_dll winebus.sys enable_winebus_sys
18784 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18785 wine_fn_config_lib winecrt0
18786 wine_fn_config_dll wined3d enable_wined3d implib
18787 wine_fn_config_dll winegstreamer enable_winegstreamer
18788 wine_fn_config_dll winehid.sys enable_winehid_sys
18789 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18790 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18791 wine_fn_config_dll winemapi enable_winemapi
18792 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18793 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18794 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18795 wine_fn_config_dll wineps16.drv16 enable_win16
18796 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18797 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18798 wine_fn_config_dll winex11.drv enable_winex11_drv
18799 wine_fn_config_dll wing.dll16 enable_win16
18800 wine_fn_config_dll wing32 enable_wing32
18801 wine_fn_config_dll winhttp enable_winhttp clean,implib
18802 wine_fn_config_test dlls/winhttp/tests winhttp_test
18803 wine_fn_config_dll wininet enable_wininet clean,implib
18804 wine_fn_config_test dlls/wininet/tests wininet_test
18805 wine_fn_config_dll winmm enable_winmm clean,implib
18806 wine_fn_config_test dlls/winmm/tests winmm_test
18807 wine_fn_config_dll winnls.dll16 enable_win16
18808 wine_fn_config_dll winnls32 enable_winnls32 implib
18809 wine_fn_config_dll winscard enable_winscard implib
18810 wine_fn_config_dll winsock.dll16 enable_win16
18811 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18812 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18813 wine_fn_config_dll winsta enable_winsta
18814 wine_fn_config_dll wintab.dll16 enable_win16
18815 wine_fn_config_dll wintab32 enable_wintab32 implib
18816 wine_fn_config_test dlls/wintab32/tests wintab32_test
18817 wine_fn_config_dll wintrust enable_wintrust implib
18818 wine_fn_config_test dlls/wintrust/tests wintrust_test
18819 wine_fn_config_dll winusb enable_winusb
18820 wine_fn_config_dll wlanapi enable_wlanapi implib
18821 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
18822 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18823 wine_fn_config_test dlls/wldap32/tests wldap32_test
18824 wine_fn_config_dll wmasf enable_wmasf
18825 wine_fn_config_dll wmi enable_wmi
18826 wine_fn_config_dll wmiutils enable_wmiutils clean
18827 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18828 wine_fn_config_dll wmp enable_wmp clean
18829 wine_fn_config_test dlls/wmp/tests wmp_test
18830 wine_fn_config_dll wmphoto enable_wmphoto clean
18831 wine_fn_config_dll wmvcore enable_wmvcore implib
18832 wine_fn_config_test dlls/wmvcore/tests wmvcore_test
18833 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18834 wine_fn_config_dll wow32 enable_win16 implib
18835 wine_fn_config_dll wpc enable_wpc clean
18836 wine_fn_config_test dlls/wpc/tests wpc_test
18837 wine_fn_config_dll wpcap enable_wpcap
18838 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18839 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18840 wine_fn_config_dll wsdapi enable_wsdapi implib
18841 wine_fn_config_test dlls/wsdapi/tests wsdapi_test
18842 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18843 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18844 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18845 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18846 wine_fn_config_dll wsock32 enable_wsock32 implib
18847 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18848 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18849 wine_fn_config_dll wuapi enable_wuapi clean
18850 wine_fn_config_dll wuaueng enable_wuaueng
18851 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18852 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18853 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18854 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18855 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18856 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18857 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18858 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18859 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18860 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18861 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18862 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18863 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18864 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18865 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18866 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18867 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18868 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18869 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18870 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18871 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18872 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18873 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18874 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18875 wine_fn_config_dll xinput1_1 enable_xinput1_1
18876 wine_fn_config_dll xinput1_2 enable_xinput1_2
18877 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18878 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18879 wine_fn_config_dll xinput1_4 enable_xinput1_4
18880 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18881 wine_fn_config_dll xmllite enable_xmllite implib
18882 wine_fn_config_test dlls/xmllite/tests xmllite_test
18883 wine_fn_config_dll xolehlp enable_xolehlp
18884 wine_fn_config_dll xpsprint enable_xpsprint
18885 wine_fn_config_dll xpssvcs enable_xpssvcs
18886 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18887 wine_fn_config_makefile include enable_include clean,install-dev
18888 wine_fn_config_makefile libs/port enable_libs_port
18889 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18890 wine_fn_config_makefile libs/wpp enable_libs_wpp
18891 wine_fn_config_makefile loader enable_loader clean,install-lib
18892 wine_fn_config_makefile po enable_po clean
18893 wine_fn_config_program arp enable_arp install
18894 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18895 wine_fn_config_program attrib enable_attrib clean,install
18896 wine_fn_config_program cabarc enable_cabarc install
18897 wine_fn_config_program cacls enable_cacls install
18898 wine_fn_config_program clock enable_clock clean,install
18899 wine_fn_config_program cmd enable_cmd clean,install
18900 wine_fn_config_test programs/cmd/tests cmd.exe_test
18901 wine_fn_config_program conhost enable_conhost install
18902 wine_fn_config_program control enable_control install
18903 wine_fn_config_program cscript enable_cscript clean,install
18904 wine_fn_config_program dpnsvr enable_dpnsvr install
18905 wine_fn_config_program dxdiag enable_dxdiag clean,install
18906 wine_fn_config_program eject enable_eject install
18907 wine_fn_config_program expand enable_expand install
18908 wine_fn_config_program explorer enable_explorer clean,install
18909 wine_fn_config_program extrac32 enable_extrac32 install
18910 wine_fn_config_program findstr enable_findstr install
18911 wine_fn_config_program fsutil enable_fsutil install
18912 wine_fn_config_program hh enable_hh install
18913 wine_fn_config_program hostname enable_hostname clean,install
18914 wine_fn_config_program icacls enable_icacls install
18915 wine_fn_config_program icinfo enable_icinfo install
18916 wine_fn_config_program iexplore enable_iexplore install
18917 wine_fn_config_program ipconfig enable_ipconfig clean,install
18918 wine_fn_config_program lodctr enable_lodctr install
18919 wine_fn_config_program mofcomp enable_mofcomp install
18920 wine_fn_config_program mshta enable_mshta install
18921 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18922 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
18923 wine_fn_config_program net enable_net clean,install
18924 wine_fn_config_program netsh enable_netsh install
18925 wine_fn_config_program netstat enable_netstat clean,install
18926 wine_fn_config_program ngen enable_ngen install
18927 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18928 wine_fn_config_program oleview enable_oleview clean,install
18929 wine_fn_config_program ping enable_ping install
18930 wine_fn_config_program plugplay enable_plugplay install
18931 wine_fn_config_program powershell enable_powershell install
18932 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18933 wine_fn_config_program progman enable_progman clean,install
18934 wine_fn_config_program reg enable_reg clean,install
18935 wine_fn_config_test programs/reg/tests reg.exe_test
18936 wine_fn_config_program regasm enable_regasm install
18937 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18938 wine_fn_config_test programs/regedit/tests regedit.exe_test
18939 wine_fn_config_program regsvcs enable_regsvcs install
18940 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18941 wine_fn_config_program rpcss enable_rpcss clean,install
18942 wine_fn_config_program rundll.exe16 enable_win16 install
18943 wine_fn_config_program rundll32 enable_rundll32 install
18944 wine_fn_config_program sc enable_sc install
18945 wine_fn_config_program schtasks enable_schtasks install
18946 wine_fn_config_program sdbinst enable_sdbinst install
18947 wine_fn_config_program secedit enable_secedit install
18948 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18949 wine_fn_config_program services enable_services clean,install
18950 wine_fn_config_test programs/services/tests services.exe_test
18951 wine_fn_config_program shutdown enable_shutdown install
18952 wine_fn_config_program spoolsv enable_spoolsv install
18953 wine_fn_config_program start enable_start clean,install
18954 wine_fn_config_program subst enable_subst install
18955 wine_fn_config_program svchost enable_svchost install
18956 wine_fn_config_program systeminfo enable_systeminfo install
18957 wine_fn_config_program taskkill enable_taskkill clean,install
18958 wine_fn_config_program tasklist enable_tasklist install
18959 wine_fn_config_program taskmgr enable_taskmgr clean,install
18960 wine_fn_config_program termsv enable_termsv install
18961 wine_fn_config_program uninstaller enable_uninstaller clean,install
18962 wine_fn_config_program unlodctr enable_unlodctr install
18963 wine_fn_config_program view enable_view clean,install
18964 wine_fn_config_program wevtutil enable_wevtutil install
18965 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18966 wine_fn_config_program winebrowser enable_winebrowser install
18967 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18968 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18969 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18970 wine_fn_config_program winedevice enable_winedevice install
18971 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18972 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18973 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18974 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18975 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18976 wine_fn_config_program winetest enable_winetest clean
18977 wine_fn_config_program winevdm enable_win16 install
18978 wine_fn_config_program winhelp.exe16 enable_win16 install
18979 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18980 wine_fn_config_program winoldap.mod16 enable_win16 install
18981 wine_fn_config_program winver enable_winver install
18982 wine_fn_config_program wmic enable_wmic clean,install
18983 wine_fn_config_program wmplayer enable_wmplayer install
18984 wine_fn_config_program wordpad enable_wordpad clean,install
18985 wine_fn_config_program write enable_write clean,install
18986 wine_fn_config_program wscript enable_wscript clean,install
18987 wine_fn_config_test programs/wscript/tests wscript.exe_test
18988 wine_fn_config_program wusa enable_wusa install
18989 wine_fn_config_program xcopy enable_xcopy clean,install
18990 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18991 wine_fn_config_makefile server enable_server clean,install-lib
18992 wine_fn_config_tool tools clean
18993 wine_fn_config_tool tools/sfnt2fon clean
18994 wine_fn_config_tool tools/widl clean,install-dev
18995 wine_fn_config_tool tools/winebuild clean,install-dev
18996 wine_fn_config_tool tools/winedump clean,install-dev
18997 wine_fn_config_tool tools/winegcc clean,install-dev
18998 wine_fn_config_tool tools/winemaker clean,install-dev
18999 wine_fn_config_tool tools/wmc clean,install-dev
19000 wine_fn_config_tool tools/wrc clean,install-dev
19003 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19004 wine_fn_append_file CONFIGURE_TARGETS "tags"
19005 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19006 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19007 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19008 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19009 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19010 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19012 if test "x$enable_tools" != xno
19013 then
19014 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19015 ac_config_commands="$ac_config_commands tools/makedep"
19019 ac_config_commands="$ac_config_commands Makefile"
19022 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19026 if test "x$enable_maintainer_mode" = xyes
19027 then
19028 wine_fn_append_rule "configure: configure.ac aclocal.m4
19029 autoconf --warnings=all
19030 include/config.h.in: include/stamp-h.in
19031 include/stamp-h.in: configure.ac aclocal.m4
19032 autoheader --warnings=all
19033 @echo timestamp > \$@"
19036 if test "x$enable_tools" != xno
19037 then
19038 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19039 @./config.status tools/makedep
19040 Makefile: tools/makedep$ac_exeext"
19041 else
19042 wine_fn_append_rule "\$(MAKEDEP):
19043 @echo \"You need to run make in $TOOLSDIR first\" && false"
19046 if test -n "$with_wine64"
19047 then
19048 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19049 fonts server:
19050 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19051 $with_wine64/loader/wine:
19052 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19053 $with_wine64/loader/wine-preloader:
19054 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19055 clean::
19056 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19057 else
19058 WINELOADER_INSTALL="wine.inf"
19060 wine_fn_append_rule "install install-lib::
19061 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
19062 uninstall::
19063 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
19064 case $host_os in
19065 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19066 *) wine_fn_append_rule "install install-lib::
19067 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
19068 uninstall::
19069 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
19070 esac
19073 $as_echo " done" >&6
19074 cat >confcache <<\_ACEOF
19075 # This file is a shell script that caches the results of configure
19076 # tests run on this system so they can be shared between configure
19077 # scripts and configure runs, see configure's option --config-cache.
19078 # It is not useful on other systems. If it contains results you don't
19079 # want to keep, you may remove or edit it.
19081 # config.status only pays attention to the cache file if you give it
19082 # the --recheck option to rerun configure.
19084 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19085 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19086 # following values.
19088 _ACEOF
19090 # The following way of writing the cache mishandles newlines in values,
19091 # but we know of no workaround that is simple, portable, and efficient.
19092 # So, we kill variables containing newlines.
19093 # Ultrix sh set writes to stderr and can't be redirected directly,
19094 # and sets the high bit in the cache file unless we assign to the vars.
19096 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19097 eval ac_val=\$$ac_var
19098 case $ac_val in #(
19099 *${as_nl}*)
19100 case $ac_var in #(
19101 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19102 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19103 esac
19104 case $ac_var in #(
19105 _ | IFS | as_nl) ;; #(
19106 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19107 *) { eval $ac_var=; unset $ac_var;} ;;
19108 esac ;;
19109 esac
19110 done
19112 (set) 2>&1 |
19113 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19114 *${as_nl}ac_space=\ *)
19115 # `set' does not quote correctly, so add quotes: double-quote
19116 # substitution turns \\\\ into \\, and sed turns \\ into \.
19117 sed -n \
19118 "s/'/'\\\\''/g;
19119 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19120 ;; #(
19122 # `set' quotes correctly as required by POSIX, so do not add quotes.
19123 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19125 esac |
19126 sort
19128 sed '
19129 /^ac_cv_env_/b end
19130 t clear
19131 :clear
19132 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19133 t end
19134 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19135 :end' >>confcache
19136 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19137 if test -w "$cache_file"; then
19138 if test "x$cache_file" != "x/dev/null"; then
19139 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19140 $as_echo "$as_me: updating cache $cache_file" >&6;}
19141 if test ! -f "$cache_file" || test -h "$cache_file"; then
19142 cat confcache >"$cache_file"
19143 else
19144 case $cache_file in #(
19145 */* | ?:*)
19146 mv -f confcache "$cache_file"$$ &&
19147 mv -f "$cache_file"$$ "$cache_file" ;; #(
19149 mv -f confcache "$cache_file" ;;
19150 esac
19153 else
19154 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19155 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19158 rm -f confcache
19160 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19161 # Let make expand exec_prefix.
19162 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19164 DEFS=-DHAVE_CONFIG_H
19166 ac_libobjs=
19167 ac_ltlibobjs=
19169 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19170 # 1. Remove the extension, and $U if already installed.
19171 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19172 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19173 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19174 # will be set to the directory where LIBOBJS objects are built.
19175 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19176 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19177 done
19178 LIBOBJS=$ac_libobjs
19180 LTLIBOBJS=$ac_ltlibobjs
19184 : "${CONFIG_STATUS=./config.status}"
19185 ac_write_fail=0
19186 ac_clean_files_save=$ac_clean_files
19187 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19188 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19189 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19190 as_write_fail=0
19191 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19192 #! $SHELL
19193 # Generated by $as_me.
19194 # Run this file to recreate the current configuration.
19195 # Compiler output produced by configure, useful for debugging
19196 # configure, is in config.log if it exists.
19198 debug=false
19199 ac_cs_recheck=false
19200 ac_cs_silent=false
19202 SHELL=\${CONFIG_SHELL-$SHELL}
19203 export SHELL
19204 _ASEOF
19205 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19206 ## -------------------- ##
19207 ## M4sh Initialization. ##
19208 ## -------------------- ##
19210 # Be more Bourne compatible
19211 DUALCASE=1; export DUALCASE # for MKS sh
19212 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19213 emulate sh
19214 NULLCMD=:
19215 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19216 # is contrary to our usage. Disable this feature.
19217 alias -g '${1+"$@"}'='"$@"'
19218 setopt NO_GLOB_SUBST
19219 else
19220 case `(set -o) 2>/dev/null` in #(
19221 *posix*) :
19222 set -o posix ;; #(
19223 *) :
19225 esac
19229 as_nl='
19231 export as_nl
19232 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19233 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19234 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19235 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19236 # Prefer a ksh shell builtin over an external printf program on Solaris,
19237 # but without wasting forks for bash or zsh.
19238 if test -z "$BASH_VERSION$ZSH_VERSION" \
19239 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19240 as_echo='print -r --'
19241 as_echo_n='print -rn --'
19242 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19243 as_echo='printf %s\n'
19244 as_echo_n='printf %s'
19245 else
19246 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19247 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19248 as_echo_n='/usr/ucb/echo -n'
19249 else
19250 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19251 as_echo_n_body='eval
19252 arg=$1;
19253 case $arg in #(
19254 *"$as_nl"*)
19255 expr "X$arg" : "X\\(.*\\)$as_nl";
19256 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19257 esac;
19258 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19260 export as_echo_n_body
19261 as_echo_n='sh -c $as_echo_n_body as_echo'
19263 export as_echo_body
19264 as_echo='sh -c $as_echo_body as_echo'
19267 # The user is always right.
19268 if test "${PATH_SEPARATOR+set}" != set; then
19269 PATH_SEPARATOR=:
19270 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19271 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19272 PATH_SEPARATOR=';'
19277 # IFS
19278 # We need space, tab and new line, in precisely that order. Quoting is
19279 # there to prevent editors from complaining about space-tab.
19280 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19281 # splitting by setting IFS to empty value.)
19282 IFS=" "" $as_nl"
19284 # Find who we are. Look in the path if we contain no directory separator.
19285 as_myself=
19286 case $0 in #((
19287 *[\\/]* ) as_myself=$0 ;;
19288 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19289 for as_dir in $PATH
19291 IFS=$as_save_IFS
19292 test -z "$as_dir" && as_dir=.
19293 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19294 done
19295 IFS=$as_save_IFS
19298 esac
19299 # We did not find ourselves, most probably we were run as `sh COMMAND'
19300 # in which case we are not to be found in the path.
19301 if test "x$as_myself" = x; then
19302 as_myself=$0
19304 if test ! -f "$as_myself"; then
19305 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19306 exit 1
19309 # Unset variables that we do not need and which cause bugs (e.g. in
19310 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19311 # suppresses any "Segmentation fault" message there. '((' could
19312 # trigger a bug in pdksh 5.2.14.
19313 for as_var in BASH_ENV ENV MAIL MAILPATH
19314 do eval test x\${$as_var+set} = xset \
19315 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19316 done
19317 PS1='$ '
19318 PS2='> '
19319 PS4='+ '
19321 # NLS nuisances.
19322 LC_ALL=C
19323 export LC_ALL
19324 LANGUAGE=C
19325 export LANGUAGE
19327 # CDPATH.
19328 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19331 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19332 # ----------------------------------------
19333 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19334 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19335 # script with STATUS, using 1 if that was 0.
19336 as_fn_error ()
19338 as_status=$1; test $as_status -eq 0 && as_status=1
19339 if test "$4"; then
19340 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19341 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19343 $as_echo "$as_me: error: $2" >&2
19344 as_fn_exit $as_status
19345 } # as_fn_error
19348 # as_fn_set_status STATUS
19349 # -----------------------
19350 # Set $? to STATUS, without forking.
19351 as_fn_set_status ()
19353 return $1
19354 } # as_fn_set_status
19356 # as_fn_exit STATUS
19357 # -----------------
19358 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19359 as_fn_exit ()
19361 set +e
19362 as_fn_set_status $1
19363 exit $1
19364 } # as_fn_exit
19366 # as_fn_unset VAR
19367 # ---------------
19368 # Portably unset VAR.
19369 as_fn_unset ()
19371 { eval $1=; unset $1;}
19373 as_unset=as_fn_unset
19374 # as_fn_append VAR VALUE
19375 # ----------------------
19376 # Append the text in VALUE to the end of the definition contained in VAR. Take
19377 # advantage of any shell optimizations that allow amortized linear growth over
19378 # repeated appends, instead of the typical quadratic growth present in naive
19379 # implementations.
19380 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19381 eval 'as_fn_append ()
19383 eval $1+=\$2
19385 else
19386 as_fn_append ()
19388 eval $1=\$$1\$2
19390 fi # as_fn_append
19392 # as_fn_arith ARG...
19393 # ------------------
19394 # Perform arithmetic evaluation on the ARGs, and store the result in the
19395 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19396 # must be portable across $(()) and expr.
19397 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19398 eval 'as_fn_arith ()
19400 as_val=$(( $* ))
19402 else
19403 as_fn_arith ()
19405 as_val=`expr "$@" || test $? -eq 1`
19407 fi # as_fn_arith
19410 if expr a : '\(a\)' >/dev/null 2>&1 &&
19411 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19412 as_expr=expr
19413 else
19414 as_expr=false
19417 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19418 as_basename=basename
19419 else
19420 as_basename=false
19423 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19424 as_dirname=dirname
19425 else
19426 as_dirname=false
19429 as_me=`$as_basename -- "$0" ||
19430 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19431 X"$0" : 'X\(//\)$' \| \
19432 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19433 $as_echo X/"$0" |
19434 sed '/^.*\/\([^/][^/]*\)\/*$/{
19435 s//\1/
19438 /^X\/\(\/\/\)$/{
19439 s//\1/
19442 /^X\/\(\/\).*/{
19443 s//\1/
19446 s/.*/./; q'`
19448 # Avoid depending upon Character Ranges.
19449 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19450 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19451 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19452 as_cr_digits='0123456789'
19453 as_cr_alnum=$as_cr_Letters$as_cr_digits
19455 ECHO_C= ECHO_N= ECHO_T=
19456 case `echo -n x` in #(((((
19457 -n*)
19458 case `echo 'xy\c'` in
19459 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19460 xy) ECHO_C='\c';;
19461 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19462 ECHO_T=' ';;
19463 esac;;
19465 ECHO_N='-n';;
19466 esac
19468 rm -f conf$$ conf$$.exe conf$$.file
19469 if test -d conf$$.dir; then
19470 rm -f conf$$.dir/conf$$.file
19471 else
19472 rm -f conf$$.dir
19473 mkdir conf$$.dir 2>/dev/null
19475 if (echo >conf$$.file) 2>/dev/null; then
19476 if ln -s conf$$.file conf$$ 2>/dev/null; then
19477 as_ln_s='ln -s'
19478 # ... but there are two gotchas:
19479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19481 # In both cases, we have to default to `cp -pR'.
19482 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19483 as_ln_s='cp -pR'
19484 elif ln conf$$.file conf$$ 2>/dev/null; then
19485 as_ln_s=ln
19486 else
19487 as_ln_s='cp -pR'
19489 else
19490 as_ln_s='cp -pR'
19492 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19493 rmdir conf$$.dir 2>/dev/null
19496 # as_fn_mkdir_p
19497 # -------------
19498 # Create "$as_dir" as a directory, including parents if necessary.
19499 as_fn_mkdir_p ()
19502 case $as_dir in #(
19503 -*) as_dir=./$as_dir;;
19504 esac
19505 test -d "$as_dir" || eval $as_mkdir_p || {
19506 as_dirs=
19507 while :; do
19508 case $as_dir in #(
19509 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19510 *) as_qdir=$as_dir;;
19511 esac
19512 as_dirs="'$as_qdir' $as_dirs"
19513 as_dir=`$as_dirname -- "$as_dir" ||
19514 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19515 X"$as_dir" : 'X\(//\)[^/]' \| \
19516 X"$as_dir" : 'X\(//\)$' \| \
19517 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19518 $as_echo X"$as_dir" |
19519 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19520 s//\1/
19523 /^X\(\/\/\)[^/].*/{
19524 s//\1/
19527 /^X\(\/\/\)$/{
19528 s//\1/
19531 /^X\(\/\).*/{
19532 s//\1/
19535 s/.*/./; q'`
19536 test -d "$as_dir" && break
19537 done
19538 test -z "$as_dirs" || eval "mkdir $as_dirs"
19539 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19542 } # as_fn_mkdir_p
19543 if mkdir -p . 2>/dev/null; then
19544 as_mkdir_p='mkdir -p "$as_dir"'
19545 else
19546 test -d ./-p && rmdir ./-p
19547 as_mkdir_p=false
19551 # as_fn_executable_p FILE
19552 # -----------------------
19553 # Test if FILE is an executable regular file.
19554 as_fn_executable_p ()
19556 test -f "$1" && test -x "$1"
19557 } # as_fn_executable_p
19558 as_test_x='test -x'
19559 as_executable_p=as_fn_executable_p
19561 # Sed expression to map a string onto a valid CPP name.
19562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19564 # Sed expression to map a string onto a valid variable name.
19565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19568 exec 6>&1
19569 ## ----------------------------------- ##
19570 ## Main body of $CONFIG_STATUS script. ##
19571 ## ----------------------------------- ##
19572 _ASEOF
19573 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19575 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19576 # Save the log message, to keep $0 and so on meaningful, and to
19577 # report actual input values of CONFIG_FILES etc. instead of their
19578 # values after options handling.
19579 ac_log="
19580 This file was extended by Wine $as_me 2.17, which was
19581 generated by GNU Autoconf 2.69. Invocation command line was
19583 CONFIG_FILES = $CONFIG_FILES
19584 CONFIG_HEADERS = $CONFIG_HEADERS
19585 CONFIG_LINKS = $CONFIG_LINKS
19586 CONFIG_COMMANDS = $CONFIG_COMMANDS
19587 $ $0 $@
19589 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19592 _ACEOF
19594 case $ac_config_files in *"
19595 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19596 esac
19598 case $ac_config_headers in *"
19599 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19600 esac
19603 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19604 # Files that config.status was made for.
19605 config_files="$ac_config_files"
19606 config_headers="$ac_config_headers"
19607 config_links="$ac_config_links"
19608 config_commands="$ac_config_commands"
19610 _ACEOF
19612 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19613 ac_cs_usage="\
19614 \`$as_me' instantiates files and other configuration actions
19615 from templates according to the current configuration. Unless the files
19616 and actions are specified as TAGs, all are instantiated by default.
19618 Usage: $0 [OPTION]... [TAG]...
19620 -h, --help print this help, then exit
19621 -V, --version print version number and configuration settings, then exit
19622 --config print configuration, then exit
19623 -q, --quiet, --silent
19624 do not print progress messages
19625 -d, --debug don't remove temporary files
19626 --recheck update $as_me by reconfiguring in the same conditions
19627 --file=FILE[:TEMPLATE]
19628 instantiate the configuration file FILE
19629 --header=FILE[:TEMPLATE]
19630 instantiate the configuration header FILE
19632 Configuration files:
19633 $config_files
19635 Configuration headers:
19636 $config_headers
19638 Configuration links:
19639 $config_links
19641 Configuration commands:
19642 $config_commands
19644 Report bugs to <wine-devel@winehq.org>.
19645 Wine home page: <http://www.winehq.org>."
19647 _ACEOF
19648 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19649 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19650 ac_cs_version="\\
19651 Wine config.status 2.17
19652 configured by $0, generated by GNU Autoconf 2.69,
19653 with options \\"\$ac_cs_config\\"
19655 Copyright (C) 2012 Free Software Foundation, Inc.
19656 This config.status script is free software; the Free Software Foundation
19657 gives unlimited permission to copy, distribute and modify it."
19659 ac_pwd='$ac_pwd'
19660 srcdir='$srcdir'
19661 test -n "\$AWK" || AWK=awk
19662 _ACEOF
19664 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19665 # The default lists apply if the user does not specify any file.
19666 ac_need_defaults=:
19667 while test $# != 0
19669 case $1 in
19670 --*=?*)
19671 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19672 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19673 ac_shift=:
19675 --*=)
19676 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19677 ac_optarg=
19678 ac_shift=:
19681 ac_option=$1
19682 ac_optarg=$2
19683 ac_shift=shift
19685 esac
19687 case $ac_option in
19688 # Handling of the options.
19689 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19690 ac_cs_recheck=: ;;
19691 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19692 $as_echo "$ac_cs_version"; exit ;;
19693 --config | --confi | --conf | --con | --co | --c )
19694 $as_echo "$ac_cs_config"; exit ;;
19695 --debug | --debu | --deb | --de | --d | -d )
19696 debug=: ;;
19697 --file | --fil | --fi | --f )
19698 $ac_shift
19699 case $ac_optarg in
19700 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19701 '') as_fn_error $? "missing file argument" ;;
19702 esac
19703 as_fn_append CONFIG_FILES " '$ac_optarg'"
19704 ac_need_defaults=false;;
19705 --header | --heade | --head | --hea )
19706 $ac_shift
19707 case $ac_optarg in
19708 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19709 esac
19710 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19711 ac_need_defaults=false;;
19712 --he | --h)
19713 # Conflict between --help and --header
19714 as_fn_error $? "ambiguous option: \`$1'
19715 Try \`$0 --help' for more information.";;
19716 --help | --hel | -h )
19717 $as_echo "$ac_cs_usage"; exit ;;
19718 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19719 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19720 ac_cs_silent=: ;;
19722 # This is an error.
19723 -*) as_fn_error $? "unrecognized option: \`$1'
19724 Try \`$0 --help' for more information." ;;
19726 *) as_fn_append ac_config_targets " $1"
19727 ac_need_defaults=false ;;
19729 esac
19730 shift
19731 done
19733 ac_configure_extra_args=
19735 if $ac_cs_silent; then
19736 exec 6>/dev/null
19737 ac_configure_extra_args="$ac_configure_extra_args --silent"
19740 _ACEOF
19741 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19742 if \$ac_cs_recheck; then
19743 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19744 shift
19745 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19746 CONFIG_SHELL='$SHELL'
19747 export CONFIG_SHELL
19748 exec "\$@"
19751 _ACEOF
19752 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19753 exec 5>>config.log
19755 echo
19756 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19757 ## Running $as_me. ##
19758 _ASBOX
19759 $as_echo "$ac_log"
19760 } >&5
19762 _ACEOF
19763 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19765 # INIT-COMMANDS
19767 wine_fn_output_makedep ()
19769 as_dir=tools; as_fn_mkdir_p
19770 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19772 wine_fn_output_makefile ()
19774 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19775 `cat $wine_rules_file`
19776 _WINE_EOF
19777 as_fn_error $? "could not create Makefile" "$LINENO" 5
19780 _ACEOF
19782 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19784 # Handling of arguments.
19785 for ac_config_target in $ac_config_targets
19787 case $ac_config_target in
19788 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19789 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19790 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19791 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19792 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19793 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19794 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19795 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19796 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19797 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19798 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19799 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19800 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19802 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19803 esac
19804 done
19807 # If the user did not use the arguments to specify the items to instantiate,
19808 # then the envvar interface is used. Set only those that are not.
19809 # We use the long form for the default assignment because of an extremely
19810 # bizarre bug on SunOS 4.1.3.
19811 if $ac_need_defaults; then
19812 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19813 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19814 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19815 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19818 # Have a temporary directory for convenience. Make it in the build tree
19819 # simply because there is no reason against having it here, and in addition,
19820 # creating and moving files from /tmp can sometimes cause problems.
19821 # Hook for its removal unless debugging.
19822 # Note that there is a small window in which the directory will not be cleaned:
19823 # after its creation but before its name has been assigned to `$tmp'.
19824 $debug ||
19826 tmp= ac_tmp=
19827 trap 'exit_status=$?
19828 : "${ac_tmp:=$tmp}"
19829 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19831 trap 'as_fn_exit 1' 1 2 13 15
19833 # Create a (secure) tmp directory for tmp files.
19836 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19837 test -d "$tmp"
19838 } ||
19840 tmp=./conf$$-$RANDOM
19841 (umask 077 && mkdir "$tmp")
19842 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19843 ac_tmp=$tmp
19845 # Set up the scripts for CONFIG_FILES section.
19846 # No need to generate them if there are no CONFIG_FILES.
19847 # This happens for instance with `./config.status config.h'.
19848 if test -n "$CONFIG_FILES"; then
19851 ac_cr=`echo X | tr X '\015'`
19852 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19853 # But we know of no other shell where ac_cr would be empty at this
19854 # point, so we can use a bashism as a fallback.
19855 if test "x$ac_cr" = x; then
19856 eval ac_cr=\$\'\\r\'
19858 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19859 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19860 ac_cs_awk_cr='\\r'
19861 else
19862 ac_cs_awk_cr=$ac_cr
19865 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19866 _ACEOF
19870 echo "cat >conf$$subs.awk <<_ACEOF" &&
19871 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19872 echo "_ACEOF"
19873 } >conf$$subs.sh ||
19874 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19875 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19876 ac_delim='%!_!# '
19877 for ac_last_try in false false false false false :; do
19878 . ./conf$$subs.sh ||
19879 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19881 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19882 if test $ac_delim_n = $ac_delim_num; then
19883 break
19884 elif $ac_last_try; then
19885 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19886 else
19887 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19889 done
19890 rm -f conf$$subs.sh
19892 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19893 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19894 _ACEOF
19895 sed -n '
19897 s/^/S["/; s/!.*/"]=/
19900 s/^[^!]*!//
19901 :repl
19902 t repl
19903 s/'"$ac_delim"'$//
19904 t delim
19907 s/\(.\{148\}\)..*/\1/
19908 t more1
19909 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19912 b repl
19913 :more1
19914 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19917 s/.\{148\}//
19918 t nl
19919 :delim
19921 s/\(.\{148\}\)..*/\1/
19922 t more2
19923 s/["\\]/\\&/g; s/^/"/; s/$/"/
19926 :more2
19927 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19930 s/.\{148\}//
19931 t delim
19932 ' <conf$$subs.awk | sed '
19933 /^[^""]/{
19935 s/\n//
19937 ' >>$CONFIG_STATUS || ac_write_fail=1
19938 rm -f conf$$subs.awk
19939 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19940 _ACAWK
19941 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19942 for (key in S) S_is_set[key] = 1
19943 FS = "\a"
19947 line = $ 0
19948 nfields = split(line, field, "@")
19949 substed = 0
19950 len = length(field[1])
19951 for (i = 2; i < nfields; i++) {
19952 key = field[i]
19953 keylen = length(key)
19954 if (S_is_set[key]) {
19955 value = S[key]
19956 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19957 len += length(value) + length(field[++i])
19958 substed = 1
19959 } else
19960 len += 1 + keylen
19963 print line
19966 _ACAWK
19967 _ACEOF
19968 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19969 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19970 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19971 else
19973 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19974 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19975 _ACEOF
19977 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19978 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19979 # trailing colons and then remove the whole line if VPATH becomes empty
19980 # (actually we leave an empty line to preserve line numbers).
19981 if test "x$srcdir" = x.; then
19982 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19984 s///
19985 s/^/:/
19986 s/[ ]*$/:/
19987 s/:\$(srcdir):/:/g
19988 s/:\${srcdir}:/:/g
19989 s/:@srcdir@:/:/g
19990 s/^:*//
19991 s/:*$//
19993 s/\(=[ ]*\).*/\1/
19995 s/\n//
19996 s/^[^=]*=[ ]*$//
20000 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20001 fi # test -n "$CONFIG_FILES"
20003 # Set up the scripts for CONFIG_HEADERS section.
20004 # No need to generate them if there are no CONFIG_HEADERS.
20005 # This happens for instance with `./config.status Makefile'.
20006 if test -n "$CONFIG_HEADERS"; then
20007 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20008 BEGIN {
20009 _ACEOF
20011 # Transform confdefs.h into an awk script `defines.awk', embedded as
20012 # here-document in config.status, that substitutes the proper values into
20013 # config.h.in to produce config.h.
20015 # Create a delimiter string that does not exist in confdefs.h, to ease
20016 # handling of long lines.
20017 ac_delim='%!_!# '
20018 for ac_last_try in false false :; do
20019 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20020 if test -z "$ac_tt"; then
20021 break
20022 elif $ac_last_try; then
20023 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20024 else
20025 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20027 done
20029 # For the awk script, D is an array of macro values keyed by name,
20030 # likewise P contains macro parameters if any. Preserve backslash
20031 # newline sequences.
20033 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20034 sed -n '
20035 s/.\{148\}/&'"$ac_delim"'/g
20036 t rset
20037 :rset
20038 s/^[ ]*#[ ]*define[ ][ ]*/ /
20039 t def
20041 :def
20042 s/\\$//
20043 t bsnl
20044 s/["\\]/\\&/g
20045 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20046 D["\1"]=" \3"/p
20047 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20049 :bsnl
20050 s/["\\]/\\&/g
20051 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20052 D["\1"]=" \3\\\\\\n"\\/p
20053 t cont
20054 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20055 t cont
20057 :cont
20059 s/.\{148\}/&'"$ac_delim"'/g
20060 t clear
20061 :clear
20062 s/\\$//
20063 t bsnlc
20064 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20066 :bsnlc
20067 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20068 b cont
20069 ' <confdefs.h | sed '
20070 s/'"$ac_delim"'/"\\\
20071 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20073 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20074 for (key in D) D_is_set[key] = 1
20075 FS = "\a"
20077 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20078 line = \$ 0
20079 split(line, arg, " ")
20080 if (arg[1] == "#") {
20081 defundef = arg[2]
20082 mac1 = arg[3]
20083 } else {
20084 defundef = substr(arg[1], 2)
20085 mac1 = arg[2]
20087 split(mac1, mac2, "(") #)
20088 macro = mac2[1]
20089 prefix = substr(line, 1, index(line, defundef) - 1)
20090 if (D_is_set[macro]) {
20091 # Preserve the white space surrounding the "#".
20092 print prefix "define", macro P[macro] D[macro]
20093 next
20094 } else {
20095 # Replace #undef with comments. This is necessary, for example,
20096 # in the case of _POSIX_SOURCE, which is predefined and required
20097 # on some systems where configure will not decide to define it.
20098 if (defundef == "undef") {
20099 print "/*", prefix defundef, macro, "*/"
20100 next
20104 { print }
20105 _ACAWK
20106 _ACEOF
20107 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20108 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20109 fi # test -n "$CONFIG_HEADERS"
20112 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20113 shift
20114 for ac_tag
20116 case $ac_tag in
20117 :[FHLC]) ac_mode=$ac_tag; continue;;
20118 esac
20119 case $ac_mode$ac_tag in
20120 :[FHL]*:*);;
20121 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20122 :[FH]-) ac_tag=-:-;;
20123 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20124 esac
20125 ac_save_IFS=$IFS
20126 IFS=:
20127 set x $ac_tag
20128 IFS=$ac_save_IFS
20129 shift
20130 ac_file=$1
20131 shift
20133 case $ac_mode in
20134 :L) ac_source=$1;;
20135 :[FH])
20136 ac_file_inputs=
20137 for ac_f
20139 case $ac_f in
20140 -) ac_f="$ac_tmp/stdin";;
20141 *) # Look for the file first in the build tree, then in the source tree
20142 # (if the path is not absolute). The absolute path cannot be DOS-style,
20143 # because $ac_f cannot contain `:'.
20144 test -f "$ac_f" ||
20145 case $ac_f in
20146 [\\/$]*) false;;
20147 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20148 esac ||
20149 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20150 esac
20151 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20152 as_fn_append ac_file_inputs " '$ac_f'"
20153 done
20155 # Let's still pretend it is `configure' which instantiates (i.e., don't
20156 # use $as_me), people would be surprised to read:
20157 # /* config.h. Generated by config.status. */
20158 configure_input='Generated from '`
20159 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20160 `' by configure.'
20161 if test x"$ac_file" != x-; then
20162 configure_input="$ac_file. $configure_input"
20163 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20164 $as_echo "$as_me: creating $ac_file" >&6;}
20166 # Neutralize special characters interpreted by sed in replacement strings.
20167 case $configure_input in #(
20168 *\&* | *\|* | *\\* )
20169 ac_sed_conf_input=`$as_echo "$configure_input" |
20170 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20171 *) ac_sed_conf_input=$configure_input;;
20172 esac
20174 case $ac_tag in
20175 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20176 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20177 esac
20179 esac
20181 ac_dir=`$as_dirname -- "$ac_file" ||
20182 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20183 X"$ac_file" : 'X\(//\)[^/]' \| \
20184 X"$ac_file" : 'X\(//\)$' \| \
20185 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20186 $as_echo X"$ac_file" |
20187 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20188 s//\1/
20191 /^X\(\/\/\)[^/].*/{
20192 s//\1/
20195 /^X\(\/\/\)$/{
20196 s//\1/
20199 /^X\(\/\).*/{
20200 s//\1/
20203 s/.*/./; q'`
20204 as_dir="$ac_dir"; as_fn_mkdir_p
20205 ac_builddir=.
20207 case "$ac_dir" in
20208 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20210 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20211 # A ".." for each directory in $ac_dir_suffix.
20212 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20213 case $ac_top_builddir_sub in
20214 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20215 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20216 esac ;;
20217 esac
20218 ac_abs_top_builddir=$ac_pwd
20219 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20220 # for backward compatibility:
20221 ac_top_builddir=$ac_top_build_prefix
20223 case $srcdir in
20224 .) # We are building in place.
20225 ac_srcdir=.
20226 ac_top_srcdir=$ac_top_builddir_sub
20227 ac_abs_top_srcdir=$ac_pwd ;;
20228 [\\/]* | ?:[\\/]* ) # Absolute name.
20229 ac_srcdir=$srcdir$ac_dir_suffix;
20230 ac_top_srcdir=$srcdir
20231 ac_abs_top_srcdir=$srcdir ;;
20232 *) # Relative name.
20233 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20234 ac_top_srcdir=$ac_top_build_prefix$srcdir
20235 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20236 esac
20237 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20240 case $ac_mode in
20243 # CONFIG_FILE
20246 _ACEOF
20248 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20249 # If the template does not know about datarootdir, expand it.
20250 # FIXME: This hack should be removed a few years after 2.60.
20251 ac_datarootdir_hack=; ac_datarootdir_seen=
20252 ac_sed_dataroot='
20253 /datarootdir/ {
20257 /@datadir@/p
20258 /@docdir@/p
20259 /@infodir@/p
20260 /@localedir@/p
20261 /@mandir@/p'
20262 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20263 *datarootdir*) ac_datarootdir_seen=yes;;
20264 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20266 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20267 _ACEOF
20268 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20269 ac_datarootdir_hack='
20270 s&@datadir@&$datadir&g
20271 s&@docdir@&$docdir&g
20272 s&@infodir@&$infodir&g
20273 s&@localedir@&$localedir&g
20274 s&@mandir@&$mandir&g
20275 s&\\\${datarootdir}&$datarootdir&g' ;;
20276 esac
20277 _ACEOF
20279 # Neutralize VPATH when `$srcdir' = `.'.
20280 # Shell code in configure.ac might set extrasub.
20281 # FIXME: do we really want to maintain this feature?
20282 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20283 ac_sed_extra="$ac_vpsub
20284 $extrasub
20285 _ACEOF
20286 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20288 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20289 s|@configure_input@|$ac_sed_conf_input|;t t
20290 s&@top_builddir@&$ac_top_builddir_sub&;t t
20291 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20292 s&@srcdir@&$ac_srcdir&;t t
20293 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20294 s&@top_srcdir@&$ac_top_srcdir&;t t
20295 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20296 s&@builddir@&$ac_builddir&;t t
20297 s&@abs_builddir@&$ac_abs_builddir&;t t
20298 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20299 $ac_datarootdir_hack
20301 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20302 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20304 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20305 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20306 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20307 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20309 which seems to be undefined. Please make sure it is defined" >&5
20310 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20311 which seems to be undefined. Please make sure it is defined" >&2;}
20313 rm -f "$ac_tmp/stdin"
20314 case $ac_file in
20315 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20316 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20317 esac \
20318 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20322 # CONFIG_HEADER
20324 if test x"$ac_file" != x-; then
20326 $as_echo "/* $configure_input */" \
20327 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20328 } >"$ac_tmp/config.h" \
20329 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20330 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20331 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20332 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20333 else
20334 rm -f "$ac_file"
20335 mv "$ac_tmp/config.h" "$ac_file" \
20336 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20338 else
20339 $as_echo "/* $configure_input */" \
20340 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20341 || as_fn_error $? "could not create -" "$LINENO" 5
20346 # CONFIG_LINK
20349 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20351 else
20352 # Prefer the file from the source tree if names are identical.
20353 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20354 ac_source=$srcdir/$ac_source
20357 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20358 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20360 if test ! -r "$ac_source"; then
20361 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20363 rm -f "$ac_file"
20365 # Try a relative symlink, then a hard link, then a copy.
20366 case $ac_source in
20367 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20368 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20369 esac
20370 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20371 ln "$ac_source" "$ac_file" 2>/dev/null ||
20372 cp -p "$ac_source" "$ac_file" ||
20373 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20376 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20377 $as_echo "$as_me: executing $ac_file commands" >&6;}
20379 esac
20382 case $ac_file$ac_mode in
20383 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20384 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20385 "Makefile":C) wine_fn_output_makefile Makefile ;;
20387 esac
20388 done # for ac_tag
20391 as_fn_exit 0
20392 _ACEOF
20393 ac_clean_files=$ac_clean_files_save
20395 test $ac_write_fail = 0 ||
20396 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20399 # configure is writing to config.log, and then calls config.status.
20400 # config.status does its own redirection, appending to config.log.
20401 # Unfortunately, on DOS this fails, as config.log is still kept open
20402 # by configure, so config.status won't be able to write to it; its
20403 # output is simply discarded. So we exec the FD to /dev/null,
20404 # effectively closing config.log, so it can be properly (re)opened and
20405 # appended to by config.status. When coming back to configure, we
20406 # need to make the FD available again.
20407 if test "$no_create" != yes; then
20408 ac_cs_success=:
20409 ac_config_status_args=
20410 test "$silent" = yes &&
20411 ac_config_status_args="$ac_config_status_args --quiet"
20412 exec 5>/dev/null
20413 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20414 exec 5>>config.log
20415 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20416 # would make configure fail if this is the last instruction.
20417 $ac_cs_success || as_fn_exit 1
20419 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20421 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20425 if test "$no_create" = "yes"
20426 then
20427 exit 0
20430 ac_save_IFS="$IFS"
20431 if test "x$wine_notices" != x; then
20432 echo >&6
20433 IFS="|"
20434 for msg in $wine_notices; do
20435 IFS="$ac_save_IFS"
20436 if ${msg:+false} :; then :
20438 else
20439 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20440 $as_echo "$as_me: $msg" >&6;}
20442 done
20444 IFS="|"
20445 for msg in $wine_warnings; do
20446 IFS="$ac_save_IFS"
20447 if ${msg:+false} :; then :
20449 else
20450 echo >&2
20451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20452 $as_echo "$as_me: WARNING: $msg" >&2;}
20454 done
20455 IFS="$ac_save_IFS"
20457 $as_echo "
20458 $as_me: Finished. Do '${ac_make}' to compile Wine.
20459 " >&6